14.14. slapi_backend_state_change_fnptr
slapi_backend_state_change_fnptr specifies the prototype for a callback function, which allows a plug-in to register for callback when a backend state changes.
#include "slapi-plugin.h" typedef void (*slapi_backend_state_change_fnptr) (void *handle, char *be_name, int old_be_state, int new_be_state);
The function has the following parameters:
| handle | Pointer or reference to the address of the specified function. |
| be_name | Name of the backend. |
| old_be_state | Old backend state. |
| new_be_state | New backend state. |
The function enables a plug-in to register for callback when the state of a backend changes. You may need to keep track of backend state changes when writing custom plug-ins.

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.