Functions for Managing Backend Operations
Syntax
#include "slapi-plugin.h"
void slapi_be_set_readonly(Slapi_Backend *be, int readonly);
Parameters
This function takes the following parameters:
be
readonly
slapi_be_setentrypoint()
Sets the entry point in the backend to the specified function.
Syntax
#include "slapi-plugin.h"
int slapi_be_setentrypoint(Slapi_Backend *be, int entrypoint,
void *ret_fnptr, Slapi_PBlock *pb);
Parameters
This function takes the following parameters:
be
entrypoint
ret_fnptr
pb
Returns
This function returns 0 if successful, -1 otherwise.
slapi_get_first_backend()
Returns a pointer of the backend structure of the first backend.
274
Netscape Directory Server Plug-In Programmer's Guide • August 2002
Pointer to the structure containing the backend configuration.
Flag to specify the read-only status.
Pointer to the structure containing the backend configuration.
Entry point in the backend.
Opaque pointer to store function address.
Pointer to the parameter block.