Netscape DIRECTORY SERVER 6.02 - PLUG-IN Manual page 408

Table of Contents

Advertisement

Functions for Managing DNs
Parameters
This function takes the following parameters:
sdn
rdn
Returns
This function returns the
the RDN value in rdn to the DN value in
See Also
slapi_sdn_set_rdn()
slapi_sdn_compare()
Compares two DNs.
Syntax
#include "slapi-plugin.h"
int slapi_sdn_compare( const Slapi_DN *sdn1,
const Slapi_DN *sdn2 );
Parameters
This function takes the following parameters:
sdn1
sdn2
Returns
This function returns one of the following values:
0 if
-1 if
1 if
408
Netscape Directory Server Plug-In Programmer's Guide • May 2002
Slapi_DN structure containging the value to which a new RDN
is to be added.
Slapi_RDN structure containing the RDN value that is to be
added to the DN value.
Slapi_DN
DN to compare with the value in sdn2.
DN to compare with the value in sdn1.
is equal to
sdn1
sdn2
is
.
sdn1
NULL
is
and
sdn2
NULL
sdn1
structure with the new DN formed by adding
.
dn
.
is not
.
NULL

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.02

Table of Contents