Functions for Managing Backend Operations
be
Returns
This function returns one of the following values:
•
0 if the changes applied to the specific backend should not be logged in the
changelog.
•
1 if the changes should be logged in the changelog.
slapi_be_new()
Creates a new backend structure, allocates memory for it, and initializes values for
relevant parameters.
Syntax
#include "slapi-plugin.h"
Slapi_Backend *slapi_be_new( const char *type, const char *name,
int isprivate, int logchanges );
Parameters
This function takes the following parameters:
type
name
isprivate
logchanges
Returns
This function returns a pointer to the newly-created backend.
slapi_be_private()
Verifies if the backend is private.
230
Netscape Directory Server Plug-In Programmer's Guide • May 2002
Pointer to the structure containing the backend configuration.
Database type.
Database name.
Flag to denote whether the database is private.
Flag for indicating whether changes are to be logged.
Need help?
Do you have a question about the NETSCAPE DIRECTORY SERVER 6.02 - PLUG-IN and is the answer not in the manual?
Questions and answers