Netscape DIRECTORY SERVER 6.02 - PLUG-IN Manual page 385

Table of Contents

Advertisement

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.
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
Functions for Managing RDN
structure
Slapi_RDN
to be considered equal
rdn2
Chapter 14
Function Reference
385

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.02

Table of Contents