Netscape DIRECTORY SERVER 6.2 - PLUG-IN Manual page 474

Table of Contents

Advertisement

Functions for Managing DNs
sdn
ndn
Returns
This function returns a pointer to the
normalized DN value.
Description
This function sets a normalized DN value in a
DN of the new structure will point to a copy of the string pointed to by
normalized DN value is passed into the parameter by value). The
set, and the internal counters are incremented.
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
Returns
The function returns a pointer to the
the entry after the new parent DN has been set.
474
Netscape Directory Server Plug-In Programmer's Guide • December 2003
The target Slapi_DN structure.
The normalized DN value to be set in sdn.
Slapi_DN
The Slapi_DN structure containing the DN of the entry.
The new parent DN.
Slapi_DN
structure containing the new
structure. The normalized
Slapi_DN
FLAG_DN
structure that contains the DN of
(the
ndn
flag is

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.2

Table of Contents