Netscape DIRECTORY SERVER 6.02 - PLUG-IN Manual page 238

Table of Contents

Advertisement

Functions for Managing Backend Operations
node
Returns
This function returns one of the following values:
The DN of the next root suffix of the DIT.
NULL
Description
This function returns the DN of the next root suffix of the DIT. If you wish to iterate
through all of the suffixes, use this function in conjunction with
slapi_get_first_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_first_suffix()
slapi_is_root_suffix()
Checks if a suffix is a root suffix of the DIT.
Syntax
#include "slapi-plugin.h"
int slapi_is_root_suffix(Slapi_DN * dn);
Parameters
This function takes the following parameter:
dn
238
Netscape Directory Server Plug-In Programmer's Guide • May 2002
Contains the returned valued, which is the DN of the next root
suffix of the DIT.
if there are more suffixes to parse.
{
...
suffix = slapi_get_next_suffix (&node, 1);
}
DN that you wish to check.
. For example:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.02

Table of Contents