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
slapi_get_first_backend()
Returns a pointer of the backend structure of the first backend.
284
Netscape Directory Server Plug-in Programmer's Guide • October 2004
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.
if successful,
otherwise.
0
-1
Need help?
Do you have a question about the NETSCAPE DIRECTORY SERVER 7.0 - PLUG-IN and is the answer not in the manual?
Questions and answers