summaryrefslogtreecommitdiffstats
path: root/src/back-nis.c
diff options
context:
space:
mode:
authorNalin Dahyabhai <nalin@redhat.com>2012-01-09 15:02:20 -0500
committerNalin Dahyabhai <nalin@redhat.com>2012-01-09 15:02:20 -0500
commitd4e45d47a737b3af775c62a8ed50c5e646829284 (patch)
tree8e72a8fc0fc560080b2edd58003091ea095ddf0e /src/back-nis.c
parentec00275ed1173caac8bc1f5b5a1a45d9c3bb25a5 (diff)
downloadslapi-nis-d4e45d47a737b3af775c62a8ed50c5e646829284.tar.gz
slapi-nis-d4e45d47a737b3af775c62a8ed50c5e646829284.tar.xz
slapi-nis-d4e45d47a737b3af775c62a8ed50c5e646829284.zip
- most of what's needed to hook back-end txn postoperations, except for the passing the TXN ID around, which means we deadlock if we actually do it
Diffstat (limited to 'src/back-nis.c')
-rw-r--r--src/back-nis.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/back-nis.c b/src/back-nis.c
index 1e9381c..803cf61 100644
--- a/src/back-nis.c
+++ b/src/back-nis.c
@@ -970,3 +970,13 @@ backend_init_internal_postop(Slapi_PBlock *pb, struct plugin_state *state)
"hooking up internal postoperation callbacks\n");
return backend_shr_internal_postop_init(pb, state);
}
+
+#ifdef USE_SLAPI_BE_TXNS
+int
+backend_init_be_txn_postop(Slapi_PBlock *pb, struct plugin_state *state)
+{
+ slapi_log_error(SLAPI_LOG_PLUGIN, state->plugin_desc->spd_id,
+ "hooking up be-txn postoperation callbacks\n");
+ return backend_shr_be_txn_postop_init(pb, state);
+}
+#endif