slapi_is_root_suffix()
Checks if a suffix is a root suffix of the DIT.
Syntax
#include "slapi-plugin.h"
int slapi_is_root_suffix(Slapi_DN * dn);
Parameters
This function takes the following parameter:
dn
Returns
This function returns one of the following values:
•
0 if the DN is not a root suffix.
•
1 if the DN is a root suffix.
slapi_register_backend_state_change()
Registers for callback when a backend state changes.
Syntax
#include "slapi-plugin.h"
void slapi_register_backend_state_change(void * handle,
slapi_backend_state_change_fnptr funct);
Parameters
This function takes the following parameter:
handle
Description
This function enables a plug-in to register for callback when the state of a backend
changes. The function will come handy when developing custom plug-ins.
DN that you wish to check.
Pointer or reference to the address of the specified function.
Functions for Managing Backend Operations
Chapter 15
Function Reference
279
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