Netscape DIRECTORY SERVER 6.02 - PLUG-IN Manual page 418

Table of Contents

Advertisement

Functions for Managing DNs
Returns
This function returns one of the following values:
1 if the DN is
0 if the DN in
See Also
slapi_sdn_isparent()
slapi_sdn_new()
Allocates a new
Syntax
#include "slapi-plugin.h"
Slapi_DN *slapi_sdn_new();
Parameters
This function takes no parameters.
Returns
This function returns a pointer to the newly allocated, and still empty,
structure.
Description
This function creates a new
memory and initializing both DN and normalized DN values to
See Also
slapi_sdn_free()
slapi_sdn_copy()
slapi_sdn_done())
slapi_sdn_new_dn_byref()
Creates a new
Syntax
#include "slapi-plugin.h"
Slapi_DN *slapi_sdn_new_dn_byref(const char *dn);
418
Netscape Directory Server Plug-In Programmer's Guide • May 2002
is the suffix of
suffixsdn
is not a suffix of
suffixsdn
structure and initializes it to
Slapi_DN
Slapi_DN
structure and sets a DN value.
Slapi_DN
.
sdn
.
sdn
NULL
structure by allocating the necessary
.
Slapi_DN
.
NULL

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.02

Table of Contents