summaryrefslogtreecommitdiffstats
path: root/src/include/krb5/kadm5_hook_plugin.h
diff options
context:
space:
mode:
authorGreg Hudson <ghudson@mit.edu>2010-09-30 17:02:29 +0000
committerGreg Hudson <ghudson@mit.edu>2010-09-30 17:02:29 +0000
commita3141561d86b73cee18fb1874aff0f662a8c378c (patch)
treeee1cde9963ed65204bf5beff85f5a7e835557518 /src/include/krb5/kadm5_hook_plugin.h
parentbd69b602c7d76c5a8a8e6fde40bd3d93d007b7d9 (diff)
downloadkrb5-a3141561d86b73cee18fb1874aff0f662a8c378c.tar.gz
krb5-a3141561d86b73cee18fb1874aff0f662a8c378c.tar.xz
krb5-a3141561d86b73cee18fb1874aff0f662a8c378c.zip
Whitespace
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@24392 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/include/krb5/kadm5_hook_plugin.h')
-rw-r--r--src/include/krb5/kadm5_hook_plugin.h35
1 files changed, 17 insertions, 18 deletions
diff --git a/src/include/krb5/kadm5_hook_plugin.h b/src/include/krb5/kadm5_hook_plugin.h
index 7e23a249d9..9e81222836 100644
--- a/src/include/krb5/kadm5_hook_plugin.h
+++ b/src/include/krb5/kadm5_hook_plugin.h
@@ -56,7 +56,7 @@
/**
* Whether the operation is being run before or after the database
- * update
+ * update.
*/
enum kadm5_hook_stage {
/** In this stage, any plugin failure prevents following plugins from
@@ -66,31 +66,31 @@ enum kadm5_hook_stage {
KADM5_HOOK_STAGE_POSTCOMMIT
};
-/** Opaque module data pointer*/
+/** Opaque module data pointer. */
typedef struct kadm5_hook_modinfo_st kadm5_hook_modinfo;
/**
- * Interface for the v1 virtual table for the kadm5_hook plugin
+ * Interface for the v1 virtual table for the kadm5_hook plugin.
* All entry points are optional. The name field must be provided.
*/
typedef struct kadm5_hook_vtable_1_st {
- /** A text string identifying the plugin for logging messages*/
+ /** A text string identifying the plugin for logging messages. */
char *name;
- /** Initialize a plugin module
+ /** Initialize a plugin module.
* @param modinfo returns newly allocated module info for future
- * calls. Cleaned up by the fini() function.
+ * calls. Cleaned up by the fini() function.
*/
kadm5_ret_t (*init)(krb5_context, kadm5_hook_modinfo **modinfo);
- /** Clean up a module and free @a modinfo*/
+ /** Clean up a module and free @a modinfo. */
void (*fini)(krb5_context, kadm5_hook_modinfo *modinfo);
/** Indicates that the password is being changed.
* @param stage is an integer from #kadm5_hook_stage enumeration
* @param keepold is true if existing keys are being kept.
- * */
+ */
kadm5_ret_t (*chpass)(krb5_context,
kadm5_hook_modinfo *modinfo,
int stage,
@@ -99,7 +99,7 @@ typedef struct kadm5_hook_vtable_1_st {
krb5_key_salt_tuple *ks_tuple,
const char *newpass);
- /** Indicate a principal is created*/
+ /** Indicate a principal is created. */
kadm5_ret_t (*create)(krb5_context,
kadm5_hook_modinfo *,
int stage,
@@ -107,20 +107,19 @@ typedef struct kadm5_hook_vtable_1_st {
int n_ks_tuple,
krb5_key_salt_tuple *ks_tuple,
const char *password);
- /** Modify a principal*/
+
+ /** Modify a principal. */
kadm5_ret_t (*modify)(krb5_context,
kadm5_hook_modinfo *,
int stage,
kadm5_principal_ent_t, long mask);
+ /** Indicate a principal is deleted. */
+ kadm5_ret_t (*remove)(krb5_context,
+ kadm5_hook_modinfo *modinfo,
+ int stage, krb5_principal);
- /** Indicate a principal is deleted*/
- kadm5_ret_t (* remove) (krb5_context,
- kadm5_hook_modinfo *modinfo,
- int stage, krb5_principal
- );
-
- /*End of minor version 1*/
-}kadm5_hook_vftable_1;
+ /* End of minor version 1. */
+} kadm5_hook_vftable_1;
#endif /*H_KRB5_KADM5_HOOK_PLUGIN*/