Functions for Managing Backend Operations
For example, if your plug-in stores any kind of state, such as a configuration cache,
it will become invalidated or incomplete whenever the state of a backend changes.
Because the plug-in wouldn't be aware of these state changes, it would require
restarting the server whenever a backend state changes.
By registering for callback whenever the backend changes its state, your plug-in
can keep track of these changes and retain its functionality. You can use
slapi_unregister_backend_state_change()
See Also
slapi_unregister_backend_state_change()
slapi_unregister_backend_state_change()
Unregisters backend-state-change callback.
Syntax
#include "slapi-plugin.h"
int slapi_unregister_backend_state_change(void * handle);
Parameters
This function takes the following parameter:
handle
Returns
This function returns one of the following values:
•
0 if the specified callback was found and unregistered successfully.
•
1 if the specified callback wasn't unregistered successfully (for example if it
was not found).
Description
This function enables a plug-in to unregister backend-state-change callback. Use
this function to unregister the callback, which is registered using
slapi_register_backend_state_change()
See Also
slapi_register_backend_state_change()
280
Netscape Directory Server Plug-In Programmer's Guide • August 2002
Pointer or reference to the address of the specified function.
to unregister the callback.
.
Need help?
Do you have a question about the NETSCAPE DIRECTORY SERVER 6.1 - PLUG-IN and is the answer not in the manual?
Questions and answers