Netscape DIRECTORY SERVER 6.02 - PLUG-IN Manual page 236

Table of Contents

Advertisement

Functions for Managing Backend Operations
show_private
Returns
This function returns the DN of the first root suffix.
Description
This function returns the first root suffix of the DIT. If you wish to iterate through
all of the suffixes, use this function in conjunction with
slapi_get_next_suffix()
void *node = NULL;
Slapi_DN * suffix = slapi_get_first_suffix (&node, 1);
while (suffix)
Memory Concerns
You should not free the returned pointer.
See Also
slapi_get_next_suffix()
slapi_get_next_backend()
Returns a pointer to the next backend.
Syntax
#include "slapi-plugin.h"
Slapi_Backend* slapi_get_next_backend(char *cookie);
Parameters
This function takes the following parameter:
cookie
236
Netscape Directory Server Plug-In Programmer's Guide • May 2002
0 checks only for non-private suffixes.
1 checks for both private and non-private suffixes.
{
...
suffix = slapi_get_next_suffix (&node, 1);
}
Upon input, contains the index from which the search for the
next backend is done. Upon output, contains the index of the
returned backend.
. For example:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.02

Table of Contents