diff options
author | Nalin Dahyabhai <nalin@dahyabhai.net> | 2012-01-16 14:17:28 -0500 |
---|---|---|
committer | Nalin Dahyabhai <nalin@dahyabhai.net> | 2012-01-16 14:17:28 -0500 |
commit | a4547135db29233dedc4b6bf429d3cfe89182e75 (patch) | |
tree | eea0028ee1e573e39ebfecce9b7426b87fdcea62 /src/plug-sch.c | |
parent | c0b3083e1e71e90ce83a6f33fe8bebb9c6e17722 (diff) | |
download | slapi-nis-a4547135db29233dedc4b6bf429d3cfe89182e75.tar.gz slapi-nis-a4547135db29233dedc4b6bf429d3cfe89182e75.tar.xz slapi-nis-a4547135db29233dedc4b6bf429d3cfe89182e75.zip |
- in callbacks, only use pblocks that are built from pblocks that we
already have, so that we can pass the transaction ID around; this
includes additional parameters for a number of functions and a new
callback data type for backend_set_config_entry_add_cb()
Diffstat (limited to 'src/plug-sch.c')
-rw-r--r-- | src/plug-sch.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plug-sch.c b/src/plug-sch.c index 5315acd..e39b0cf 100644 --- a/src/plug-sch.c +++ b/src/plug-sch.c @@ -105,7 +105,7 @@ plugin_startup(Slapi_PBlock *pb) state->plugin_base ? state->plugin_base : "NULL", state->plugin_base ? "\"" : ""); /* Populate the tree of fake entries. */ - backend_startup(state); + backend_startup(pb, state); /* Note that the plugin is ready to go. */ slapi_log_error(SLAPI_LOG_PLUGIN, plugin_description.spd_id, "plugin startup completed\n"); @@ -229,8 +229,8 @@ schema_compat_plugin_init(Slapi_PBlock *pb) "error registering internal postoperation plugin\n"); return -1; } -#if 0 #ifdef USE_SLAPI_BE_TXNS +#if 0 if (slapi_register_plugin("betxnpostoperation", TRUE, "schema_compat_plugin_init_be_txn_postop", schema_compat_plugin_init_be_txn_postop, |