HP-UX Directory Server 8.1 plug-in reference

Table Of Contents
20.15 slapi_be_private()
Description Verifies if the back end is private.
Syntax
#include "slapi-plugin.h"
int slapi_be_private( Slapi_Back end *be );
Parameters This function takes the following parameter:
Pointer to the structure containing the back end configuration.
be
Returns This function returns one of the following values:
0 if the back end is not hidden from the user.
1 if the back end is hidden from the user (for internal use only).
20.16 slapi_be_select()
Description Finds the back end that should be used to service the entry with the specified DN.
Syntax
#include "slapi-plugin.h"
Slapi_Back end *slapi_be_select( const Slapi_DN * sdn );
Parameters This function takes the following parameter:
Pointer to the DN of which you wish to get the back end.
sdn
Returns This function returns one of the following values:
A pointer to the default back end if no back end with the appropriate suffix is configured.
A pointer to the back end structure.
Memory concerns You should not free the returned pointer.
See also “slapi_be_select_by_instance_name()”
20.17 slapi_be_select_by_instance_name()
Description This function finds the back end that should be used to service the database named
as the parameter.
Syntax
#include "slapi-plugin.h"
Slapi_Back end *slapi_be_select_by_instance_name( const char *name );
Parameters This function takes the following parameter:
Pointer to the name of the back end of which you wish to get the structure.
name
Returns This function returns one of the following values:
NULL if no back end with the appropriate name is configured.
A pointer to the back end structure.
Memory concerns You should not free the returned pointer.
See also “slapi_be_select()”
20.18 slapi_be_set_flag()
Description Sets the specified flag in the back end.
188 Functions for managing back end operations