summaryrefslogtreecommitdiffstats
path: root/src/backend.h
diff options
context:
space:
mode:
authorNoriko Hosoi <nhosoi@redhat.com>2012-08-31 14:42:05 -0700
committerNalin Dahyabhai <nalin@redhat.com>2012-10-16 16:18:34 -0400
commitc5bfff6c6e6ae5e255b2432be1ed8790a6c07e82 (patch)
tree1595673b93e151bdb2782717a62e2dcdf790679d /src/backend.h
parent375c82e0cfc3d7494ddf63610353da30a77b4491 (diff)
downloadslapi-nis-c5bfff6c6e6ae5e255b2432be1ed8790a6c07e82.tar.gz
slapi-nis-c5bfff6c6e6ae5e255b2432be1ed8790a6c07e82.tar.xz
slapi-nis-c5bfff6c6e6ae5e255b2432be1ed8790a6c07e82.zip
make NIS Plugin and Schema Compatibility Plugin betxn aware
When NIS Plugin and Schema Compatibility Plugin config entries include nsslapd-pluginbetxn: on (the value could be yes, true or 1, too), the plugins' update callbacks (add, delete, modify, and modrdn) are called at the betxn pre/postop timing. By default, the value of nsslapd-pluginbetxn is off. (See also https://fedorahosted.org/389/ticket/351)
Diffstat (limited to 'src/backend.h')
-rw-r--r--src/backend.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/backend.h b/src/backend.h
index 7f52915..6dff74f 100644
--- a/src/backend.h
+++ b/src/backend.h
@@ -52,6 +52,7 @@ struct backend_shr_set_data {
/* Startup/initialization functions called through the map. */
void backend_startup(struct slapi_pblock *pb, struct plugin_state *state);
int backend_init_preop(struct slapi_pblock *pb, struct plugin_state *state);
+int backend_init_betxnpreop(struct slapi_pblock *pb, struct plugin_state *state);
int backend_init_postop(struct slapi_pblock *pb, struct plugin_state *state);
int backend_init_internal_postop(struct slapi_pblock *pb,
struct plugin_state *state);