HP-UX Directory Server 8.1 plug-in reference

Table Of Contents
20.1 slapi_be_addsuffix()
Description Adds the specified suffix to the given back end and increments the back end's suffix
count.
Syntax
#include "slapi-plugin.h"
void slapi_be_addsuffix(Slapi_Back end *be,const Slapi_DN *suffix);
Parameters This function takes the following parameters:
Pointer to the structure containing the back end configuration.
be
Suffix that needs to be added to the back end.
suffix
20.2 slapi_be_delete_onexit()
Description Sets the flag to denote that the back end will be deleted on exiting.
Syntax
#include "slapi-plugin.h"
void slapi_be_delete_onexit(Slapi_Back end *be);
Parameters This function takes the following parameter:
Pointer to the structure containing the back end configuration.
be
20.3 slapi_be_exist()
Description Checks if the back end that contains the specified DN exists.
Syntax
#include "slapi-plugin.h"
int slapi_be_exist(const Slapi_DN *sdn);
Parameters This function takes the following parameter:
Pointer to the DN in the back ends for which you are looking.
sdn
Returns This function returns one of the following values:
0 If the back end does not exist.
1 If the back end containing the specified DN exists.
See also “slapi_be_select()”
20.4 slapi_be_free()
Description Frees memory and linked resources from the back end structure.
Syntax
#include "slapi-plugin.h"
void slapi_be_free(Slapi_Back end **be);
Parameters This function takes the following parameter:
Pointer to the structure containing the back end configuration.
be
20.5 slapi_be_get_instance_info()
Description Gets the instance information of the specified back end.
184 Functions for managing back end operations