Netscape DIRECTORY SERVER 6.02 - PLUG-IN Manual page 228

Table of Contents

Advertisement

Functions for Managing Backend Operations
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:
be
flag
Returns
This function returns one of the following values:
0 if a flag is not set in the backend configuration.
228
Netscape Directory Server Plug-In Programmer's Guide • May 2002
Pointer to the structure containing the backend configuration.
Pointer to the structure containing the backend configuration.
Flag to check (for example, SLAPI_BE_FLAG_REMOTE_DATA).

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.02

Table of Contents