Netscape DIRECTORY SERVER 6.01 - PLUG-IN Manual page 384

Table of Contents

Advertisement

Functions for Managing RDN
Description
This function adds a new type/value pair to an existing RDN, or sets the
type/value pair as the new RDN if
FLAG_RDNS
is no longer current with the new RDN.
See Also
slapi_rdn_get_num_components()
slapi_rdn_compare()
Compares two RDNs.
Syntax
#include "slapi-plugin.h"
int slapi_rdn_compare(Slapi_RDN *rdn1, Slapi_RDN *rdn2);
Parameters
This function takes the following parameters:
rdn1
rdn2
Returns
This function returns one of the following values:
0
-1
Description
This function compares
RDNs, their components do not necessarily have to be in the same order.
slapi_rdn_contains()
Checks whether a
type/value pair.
384
Netscape Directory Server Plug-In Programmer's Guide • January 2002
flags, which means that the RDN array within the
The first RDN to compare.
The second RDN to compare.
if
and
have the same RDN components.
rdn1
rdn2
if they do not have the same components.
rdn1
Slapi_RDN
is empty. This function resets the
rdn
and
. For
and
rdn2
rdn1
structure holds any RDN matching a given
structure
Slapi_RDN
to be considered equal
rdn2

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the NETSCAPE DIRECTORY SERVER 6.01 - PLUG-IN and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Directory server 6.01

Table of Contents