Netscape DIRECTORY SERVER 6.1 - PLUG-IN Manual page 455

Table of Contents

Advertisement

Returns
This function returns one of the following values:
0 if
-1 if
1 if
Description
This function compares two DNs,
slapi_sdn_copy()
Makes a copy of a DN.
Syntax
#include "slapi-plugin.h"
void slapi_sdn_copy(const Slapi_DN *from, Slapi_DN *to);
Parameters
This function takes the following parameters:
from
to
Description
This function copies the DN in from to the structure pointed by
Memory Concerns
must be allocated in advance of calling this function.
to
See Also
slapi_sdn_dup()
slapi_sdn_done()
Clears an instance of a
is equal to
sdn1
sdn2
is
.
sdn1
NULL
is
and
sdn2
NULL
sdn1
The original DN.
Destination of the copied DN, containing the copy of the DN in
from.
Slapi_DN
.
is not
.
NULL
and
. The comparison is case sensitive.
sdn1
sdn2
structure.
Functions for Managing DNs
.
to
Chapter 15
Function Reference
455

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.1

Table of Contents