Netscape DIRECTORY SERVER 6.2 - PLUG-IN Manual page 431

Table of Contents

Advertisement

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.
Syntax
#include "slapi-plugin.h"
int slapi_rdn_contains(Slapi_RDN *rdn, const char *type,
const char *value,size_t length);
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
and
. For
and
rdn2
rdn1
structure holds any RDN matching a given
Functions for Managing RDN
to be considered equal
rdn2
Chapter 15
Function Reference
431

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.2

Table of Contents