Returns
This function returns one of the following values:
•
0
•
-1
•
1
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
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
if
is equal to
sdn1
sdn2
if
is
.
sdn1
NULL
if
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
to the structure pointed by
from
structure.
Functions for Managing DNs
.
to
Chapter 15
Function Reference
465
Need help?
Do you have a question about the NETSCAPE DIRECTORY SERVER 7.0 - PLUG-IN and is the answer not in the manual?
Questions and answers