diff options
Diffstat (limited to 'ldap/servers/plugins/replication/repl_modify.c')
-rw-r--r-- | ldap/servers/plugins/replication/repl_modify.c | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/ldap/servers/plugins/replication/repl_modify.c b/ldap/servers/plugins/replication/repl_modify.c new file mode 100644 index 00000000..26753cc0 --- /dev/null +++ b/ldap/servers/plugins/replication/repl_modify.c @@ -0,0 +1,29 @@ +/** BEGIN COPYRIGHT BLOCK + * Copyright 2001 Sun Microsystems, Inc. + * Portions copyright 1999, 2001-2003 Netscape Communications Corporation. + * All rights reserved. + * END COPYRIGHT BLOCK **/ + +#include "slapi-plugin.h" +#include "repl.h" + +/* The modify operation plugin functions for the legacy replication plugin */ + +int +legacy_preop_modify( Slapi_PBlock *pb ) +{ + return legacy_preop( pb, "legacy_preop_modify", OP_MODIFY ); +} + +int +legacy_bepreop_modify( Slapi_PBlock *pb ) +{ + int rc= 0; /* OK */ + return rc; +} + +int +legacy_postop_modify( Slapi_PBlock *pb ) +{ + return legacy_postop( pb, "legacy_postop_modify", OP_MODIFY ); +} |