Functions for Managing DNs
Parameters
This function takes the following parameters:
sdn
ndn
Returns
This function returns a pointer to the
normalized DN value.
Description
This function sets a normalized DN value in a
normalized DN of the new structure will point to a copy of the string pointed to
by
ndn
FLAG_DN
See Also
slapi_sdn_set_ndn_byref()
slapi_sdn_set_dn_passin()
slapi_sdn_set_parent()
Sets a new parent for a given entry.
Syntax
#include "slapi-plugin.h"
Slapi_DN *slapi_sdn_set_parent(Slapi_DN *sdn,
const Slapi_DN *parentdn);
Parameters
This function takes the following parameters:
sdn
parentdn
484
Netscape Directory Server Plug-in Programmer's Guide • October 2004
The target Slapi_DN structure.
The normalized DN value to be set in sdn.
; the normalized DN value is passed into the parameter by value. The
flag is set, and the internal counters are incremented.
The Slapi_DN structure containing the DN of the entry.
The new parent DN.
structure containing the new
Slapi_DN
structure. The
Slapi_DN
Need help?
Do you have a question about the NETSCAPE DIRECTORY SERVER 7.0 - PLUG-IN and is the answer not in the manual?