Functions for Managing Backend Operations
Parameters
This function takes the following parameter:
be
Returns
This function returns the name associated to the specified backend.
Memory Concerns
You should not free the returned pointer.
slapi_be_get_readonly()
Indicates if the database associated with the backend is in read-only mode.
Syntax
#include "slapi-plugin.h"
int slapi_be_get_readonly(Slapi_Backend *be);
Parameters
This function takes the following parameter:
be
Returns
This function returns one of the following values:
•
0
•
1
slapi_be_getentrypoint()
Sets pointer to a callback function that corresponds to the specified entry point into
a given backend.
266
Netscape Directory Server Plug-In Programmer's Guide • August 2002
Pointer to the structure containing the backend configuration.
Pointer to the structure containing the backend configuration.
if the database is not in read-only mode.
if the database is in read-only mode.