Netscape DIRECTORY SERVER 6.02 - PLUG-IN Manual page 231

Table of Contents

Advertisement

Syntax
#include "slapi-plugin.h"
int slapi_be_private( Slapi_Backend *be );
Parameters
This function takes the following parameter:
be
Returns
This function returns one of the following values:
0 if the backend is not hidden from the user.
1 if the backend is hidden from the user (for internal use only).
slapi_be_select()
Finds the backend that should be used to service the entry with the specified DN.
Syntax
#include "slapi-plugin.h"
Slapi_Backend *slapi_be_select( const Slapi_DN * sdn );
Parameters
This function takes the following parameter:
sdn
Returns
This function returns one of the following values:
A pointer to the default backend, if no backend with the appropriate suffix is
configured.
Otherwise, it returns a pointer to the backend structure.
Memory Concerns
You should not free the returned pointer.
Pointer to the structure containing the backend configuration.
Pointer to the DN of which you wish to get the backend.
Functions for Managing Backend Operations
Chapter 14
Function Reference
231

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.02

Table of Contents