Netscape DIRECTORY SERVER 6.1 - PLUG-IN Manual page 270

Table of Contents

Advertisement

Functions for Managing Backend Operations
slapi_be_logchanges()
Indicates whether the changes applied to the backend should be logged in the
changelog.
Syntax
#include "slapi-plugin.h"
int slapi_be_logchanges(Slapi_Backend *be);
Parameters
This function takes the following parameter:
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
270
Netscape Directory Server Plug-In Programmer's Guide • August 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.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.1

Table of Contents