Netscape DIRECTORY SERVER 6.1 - PLUG-IN Manual page 279

Table of Contents

Advertisement

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

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.1

Table of Contents