diff options
Diffstat (limited to 'plugin/plugin.h')
-rw-r--r-- | plugin/plugin.h | 29 |
1 files changed, 8 insertions, 21 deletions
diff --git a/plugin/plugin.h b/plugin/plugin.h index 400dc6f..cdd15ad 100644 --- a/plugin/plugin.h +++ b/plugin/plugin.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2008, Stefan Walter + * Copyright (c) 2009, Stefan Walter * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -43,7 +43,7 @@ #include "include/slapi-plugin.h" #endif -#define PLUGIN_NAME "slapi-dnsnotify" +#define PLUGIN_NAME "slapi-suffix" /* --------------------------------------------------------------------- * LOGGING @@ -80,26 +80,13 @@ char* trim (char *data); void lowercase (char *data); /* ---------------------------------------------------------------------- - * AUTO SERIAL + * SUFFIX */ -int autoserial_init (void); -void autoserial_destroy (void); -int autoserial_config (const char *name, const char *value); -void autoserial_post_add (const char *dn); -void autoserial_post_modify (const char *dn, LDAPMod **mods); -void autoserial_post_modrdn (const char *odn, const char *ndn); -void autoserial_post_delete (const char *dn); - -/* ---------------------------------------------------------------------- - * DNS NOTIFY - */ - -int dnsnotify_init (void); -void dnsnotify_destroy (void); -int dnsnotify_config (const char *name, const char *value); -void dnsnotify_post_add (const char *dn); -void dnsnotify_post_modify (const char *dn, LDAPMod **mods); - +int suffix_init (void); +void suffix_destroy (void); +int suffix_config (const char *name, const char *value); +void suffix_pre_add (const char *dn); +void suffix_pre_modify (const char *dn, LDAPMod **mods); #endif /*PLUGIN_H_*/ |