Netscape DIRECTORY SERVER 6.1 - PLUG-IN Manual page 453

Table of Contents

Advertisement

Table 15-25 DN Routines (Continued)
Function
slapi_sdn_set_dn_passin()
slapi_sdn_set_ndn_byref()
slapi_sdn_set_ndn_byval()
slapi_sdn_set_parent()
slapi_sdn_set_rdn()
slapi_moddn_get_newdn()
Builds the new DN of an entry.
Syntax
#include "slapi-plugin.h"
char * slapi_moddn_get_newdn(Slapi_DN *dn_olddn,
char *newrdn, char *newsuperiordn);
Parameters
This function takes the following parameters:
dn_olddn
newrdn
newsuperordn
Returns
This function returns the new DN for the entry whose previous DN was
Description
This function is used for
and the DN of the new parent.
The new DN is worked out by adding the new RDN in
parent will be the value in
otherwise be taken from
entry will still be the same as the new DN).
Description
Sets a DN value in a Slapi_DN structure.
Sets a a normalized DN in a Slapi_DN structure.
Sets a normalized DN in a Slapi_DN structure.
Sets a new parent in an entry.
Sets a new RDN for an entry.
The old DN value.
The new RDN value.
If not NULL, will be the DN of the future superior entry of the
new DN, which will be worked out by adding the value in
newrdn in front of the content of this parameter.
operations and builds a new DN out of a new RDN
moddn
newsuperiordn
by removing the old RDN (the parent of the
dn_olddn
Functions for Managing DNs
to a parent DN. The
newrdn
, if different from
NULL
Chapter 15
.
dn_olddn
, and will
Function Reference
453

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.1

Table of Contents