Functions for Managing Backend Operations
Description
This function returns the
function is still present for compatibility purposes with previous versions of the
Directory Server Plug-in API. Directory Server 6.x does not support backends
containing multiple suffixes, so if
Memory Concerns
You should not free the returned pointer.
slapi_be_gettype()
Returns the type of the backend.
Syntax
#include "slapi-plugin.h"
const char * slapi_be_gettype(Slapi_Backend *be);;
Parameters
This function takes the following parameter:
be
Returns
This function returns the type of the backend.
Memory Concerns
You should not free the returned pointer.
slapi_be_is_flag_set()
Checks if a flag is set in the backend configuration.
Syntax
#include "slapi-plugin.h"
int slapi_be_is_flag_set(Slapi_Backend * be, int flag);
Parameters
This function takes the following parameters:
268
Netscape Directory Server Plug-In Programmer's Guide • December 2003
suffix associated with the specified backend. This
n+1
is not 0, NULL will be returned.
n
Pointer to the structure containing the backend configuration.
Need help?
Do you have a question about the NETSCAPE DIRECTORY SERVER 6.2 - PLUG-IN and is the answer not in the manual?
Questions and answers