Netscape DIRECTORY SERVER 6.1 - PLUG-IN Manual page 465

Table of Contents

Advertisement

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);
Parameters
This function takes the following parameter:
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
Chapter 15
Functions for Managing DNs
.
Slapi_DN
.
NULL
Function Reference
465

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.1

Table of Contents