HP-UX Directory Server 8.1 plug-in reference

Table Of Contents
Description Slapi_Back end is the data type for an opaque structure that represents a back
end operation. The following table summarizes the front end API functions that you can call to
work with the back end operations.
Call this function:To:
“slapi_be_addsuffix()”Add the specified suffix to the given back end and
increment the back end's suffix count.
“slapi_be_delete_onexit()”Set the flag to denote that the back end will be deleted on
exiting.
“slapi_be_exist()”Check if the back end that contains the specified DN
exists.
“slapi_be_free()”Free memory and linked resources from the back end
structure.
“slapi_be_get_instance_info()”Get the instance information of the specified back end.
“slapi_be_get_name()”Return the name of the specified back end.
“slapi_be_get_readonly()”Indicate if the database associated with the back end is in
read-only mode.
“slapi_be_getentrypoint()”Get pointer to a callback function that corresponds to the
specified entry point into a given back end.
“slapi_be_getsuffix()”Return the n+1 suffix associated with the specified back
end.
“slapi_be_gettype()”Return the type of the back end.
“slapi_be_is_flag_set()”Check if a flag is set in the back end configuration.
slapi_be_issuffix()Verify that the specified suffix matches a registered back
end suffix.
“slapi_be_logchanges()”Indicate if the changes applied to the back end should be
logged in the changelog.
“slapi_be_new()”Create a new back end structure, allocate memory for it,
and initialize values for relevant parameters.
“slapi_be_private()”Verify if the back end is private.
“slapi_be_select()”Find the back end that should be used to service the entry
with the specified DN.
“slapi_be_select_by_instance_name()”Find the back end that matches by the name of the back
end. Back ends can be identified by name and type.
“slapi_be_set_flag()”Set the specified flag in the back end.
“slapi_be_set_instance_info()”Set the instance information of the specified back end
with given data.
“slapi_be_set_readonly()”Set a flag to denote that the back end is meant to be
read-only.
“slapi_be_setentrypoint()”Set the entry point in the back end to the specified
function.
“slapi_get_first_back end()”Return a pointer to the back end structure of the first back
end.
“slapi_get_next_back end()”Return a pointer to the next back end, selected by index.
“slapi_get_first_suffix()”Return the first root suffix of the DIT.
126 Data type and structure reference