Netscape DIRECTORY SERVER 6.1 - PLUG-IN Manual page 263

Table of Contents

Advertisement

Backend Routines (Continued)
Table 15-6
Function
slapi_be_new()
slapi_be_private()
slapi_be_select()
slapi_be_select_by_instance_name()
slapi_be_set_flag()
slapi_be_set_instance_info()
slapi_be_set_readonly()
slapi_be_setentrypoint()
slapi_get_first_backend()
slapi_get_first_suffix()
slapi_get_next_backend()
slapi_get_next_suffix()
slapi_is_root_suffix()
slapi_register_backend_state_change()
slapi_unregister_backend_state_change()
slapi_be_addsuffix()
Adds the specified suffix to the given backend and increments the backend's suffix
count.
Syntax
#include "slapi-plugin.h"
void slapi_be_addsuffix(Slapi_Backend *be,const Slapi_DN *suffix);
Parameters
This function takes the following parameters:
be
Description
Creates a new backend structure, allocates memory for it, and
initializes values for relevant parameters.
Verifies if the backend is private.
Finds the backend that should be used to service the entry
with the specified DN.
Find the backend used to service the database.
Sets the specified flag in the backend.
Sets the instance information of the specified backend with
given data.
Sets a flag to denote that the backend is meant to be read-only.
Sets the entry point in the backend to the specified function.
Returns a pointer of the backend structure of the first
backend.
Returns the first root suffix of the DIT.
Returns a pointer to the next backend.
Returns the DN of the next root suffix of the DIT.
Checks if a suffix is a root suffix of the DIT.
Registers for callbacks when a backend changes state.
Unregisters backend-state-change callbacks.
Pointer to the structure containing the backend configuration.
Functions for Managing Backend Operations
Chapter 15
Function Reference
263

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.1

Table of Contents