diff options
author | Stef Walter <stef@memberwebs.com> | 2009-07-28 23:01:11 +0000 |
---|---|---|
committer | Stef Walter <stef@memberwebs.com> | 2009-07-28 23:01:11 +0000 |
commit | 07db95dcf0d3c065b79d805ab81ef2e9ed328dce (patch) | |
tree | 4292410014bbc47e0219d663804bec443df4d89a /plugin/plugin.h | |
parent | b6afde4dc66db780c4bc832d8c66bf2c2df0c823 (diff) |
Some skeleton bits for plugin code
git-svn-id: http://internal-svn-server/svn/network/slapi-suffix@1507 96c7dce7-e4ff-0310-afa0-05b99c2e9643
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_*/ |