HP-UX Directory Server 8.1 plug-in reference

Table Of Contents
20 Functions for managing back end operations
This chapter contains reference information on routines that help you deal with back ends.
Table 20-1 Back end routines
DescriptionFunction
Adds the specified suffix to the given back end and increments the back end's
suffix count.
“slapi_be_addsuffix()”
Sets the flag to denote that the back end will be deleted on exiting.“slapi_be_delete_onexit()”
Checks if the back end that contains the specified DN exists.“slapi_be_exist()”
Frees memory and linked resources from the back end structure.“slapi_be_free()”
Gets the instance information of the specified back end.“slapi_be_get_instance_info()”
Returns the name of the specified back end.“slapi_be_get_name()”
Indicates if the database associated with the back end is in read-only mode.“slapi_be_get_readonly()”
Sets pointer to a callback function that corresponds to the specified entry point
into a given back end.
“slapi_be_getentrypoint()”
Returns the n+1 suffix associated with the specified back end.“slapi_be_getsuffix()”
Returns the type of the back end.“slapi_be_gettype()”
Checks if a flag is set in the back end configuration.“slapi_be_is_flag_set()”
Verifies that the specified suffix matches a registered back end suffix.slapi_be_issuffix()
Indicates if the changes applied to the back end should be logged in the
changelog.
“slapi_be_logchanges()”
Creates a new back end structure, allocates memory for it, and initializes
values for relevant parameters.
“slapi_be_new()”
Verifies if the back end is private.“slapi_be_private()”
Finds the back end that should be used to service the entry with the specified
DN.
“slapi_be_select()”
Find the back end used to service the database.“slapi_be_select_by_instance_name()”
Sets the specified flag in the back end.“slapi_be_set_flag()”
Sets the instance information of the specified back end with given data.“slapi_be_set_instance_info()”
Sets a flag to denote that the back end is meant to be read-only.“slapi_be_set_readonly()”
Sets the entry point in the back end to the specified function.“slapi_be_setentrypoint()”
Returns a pointer of the back end structure of the first back end.“slapi_get_first_back end()”
Returns the first root suffix of the DIT.“slapi_get_first_suffix()”
Returns a pointer to the next back end.“slapi_get_next_back end()”
Returns the DN of the next root suffix of the DIT.“slapi_get_next_suffix()”
Checks if a suffix is a root suffix of the DIT.“slapi_is_root_suffix()”
Registers for callbacks when a back end changes state.“slapi_register_back
end_state_change()”
Unregisters back end-state-change callbacks.“slapi_unregister_back
end_state_change()”
183