Netscape DIRECTORY SERVER 6.02 - PLUG-IN Manual page 226

Table of Contents

Advertisement

Functions for Managing Backend Operations
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.
Syntax
int slapi_be_getentrypoint(Slapi_Backend *be, int entrypoint,
void **ret_fnptr, Slapi_PBlock *pb);
Parameters
This function takes the following parameters:
be
226
Netscape Directory Server Plug-In Programmer's Guide • May 2002
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.
Pointer to the structure containing the backend configuration.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.02

Table of Contents