Netscape DIRECTORY SERVER 6.2 - PLUG-IN Manual page 460

Table of Contents

Advertisement

Functions for Managing DNs
Returns
This function returns the length of the normalized DN.
Description
This function contains the length of the normalized DN and normalizes
not already been normalized.
slapi_sdn_get_parent()
Gets the parent DN of a given
Syntax
#include "slapi-plugin.h"
void slapi_sdn_get_parent(const Slapi_DN *sdn,
Slapi_DN *sdn_parent);
Parameters
This function takes the following parameters:
sdn
sdn_parent
Description
This function returns a
kept in the structure pointed to by
See Also
slapi_sdn_get_backend_parent()
slapi_sdn_get_rdn()
Gets the RDN from a DN.
Syntax
#include "slapi-plugin.h"
void slapi_sdn_get_rdn(const Slapi_DN *sdn,
Slapi_RDN *rdn);
460
Netscape Directory Server Plug-In Programmer's Guide • December 2003
structure.
Slapi_DN
Pointer to the Slapi_DN structure containing the DN whose
parent is searched.
Pointer to the Slapi_DN structure where the parent DN is
returned.
structure containing the parent DN of the DN
Slapi_DN
.
sdn
if it has
sdn

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.2

Table of Contents