Slapi_Moddn_Get_Newdn() - Netscape DIRECTORY SERVER 7.0 - PLUG-IN Manual

For plug-in
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
if different from
newsuperiordn
by removing the old RDN (the parent of the
dn_olddn
Functions for Managing DNs
dn_olddn
to a parent DN. The
newrdn
, and will
NULL
Chapter 15
Function Reference
.
463

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the NETSCAPE DIRECTORY SERVER 7.0 - PLUG-IN and is the answer not in the manual?

This manual is also suitable for:

Netscape directory server 7.0

Table of Contents