diff options
author | Nalin Dahyabhai <nalin@redhat.com> | 2012-01-09 15:02:20 -0500 |
---|---|---|
committer | Nalin Dahyabhai <nalin@redhat.com> | 2012-01-09 15:02:20 -0500 |
commit | d4e45d47a737b3af775c62a8ed50c5e646829284 (patch) | |
tree | 8e72a8fc0fc560080b2edd58003091ea095ddf0e /src/back-nis.c | |
parent | ec00275ed1173caac8bc1f5b5a1a45d9c3bb25a5 (diff) | |
download | slapi-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.c | 10 |
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 |