HP-UX Directory Server 8.1 plug-in reference

Table Of Contents
Syntax
#include "slapi-plugin.h"
void slapi_be_set_flag(Slapi_Back end * be, int flag);
Parameters This function takes the following parameters:
Pointer to the structure containing the back end configuration.
be
Flag (bitmap) to set in the configuration.
flag
20.19 slapi_be_set_instance_info()
Description Sets the instance information of the specified back end with given data.
Syntax
#include "slapi-plugin.h"
void slapi_be_set_instance_info(Slapi_Back end * be, void * data);
Parameters This function takes the following parameters:
Pointer to the structure containing the back end configuration.
be
Data for setting the instance information.
data
20.20 slapi_be_set_readonly()
Description Sets a flag to denote that the back end is meant tobe read-only.
Syntax
#include "slapi-plugin.h"
void slapi_be_set_readonly(Slapi_Back end *be, int readonly);
Parameters This function takes the following parameters:
Pointer to the structure containing the back end configuration.
be
Flag to specify the read-only status.
readonly
20.21 slapi_be_setentrypoint()
Description Sets the entry point in the back end to the specified function.
Syntax
#include "slapi-plugin.h"
int slapi_be_setentrypoint(Slapi_Back end *be, int entrypoint,
void *ret_fnptr, Slapi_PBlock *pb);
Parameters This function takes the following parameters:
Pointer to the structure containing the back end configuration.
be
Entry point in the back end.
entrypoint
Opaque pointer to store function address.
ret_fnptr
Pointer to the parameter block.
pb
Returns This function returns 0 if successful, -1 otherwise.
20.19 slapi_be_set_instance_info() 189