Returns
This function returns one of the following values:
•
1
•
0
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);
if the DN is
suffixsdn
if the DN in
suffixsdn
structure and initializes it to
Slapi_DN
structure and sets a DN value.
Slapi_DN
is the suffix of
.
sdn
is not a suffix of
sdn
structure by allocating the necessary
Slapi_DN
Functions for Managing DNs
.
.
NULL
Slapi_DN
.
NULL
Chapter 15
Function Reference
475
Need help?
Do you have a question about the NETSCAPE DIRECTORY SERVER 7.0 - PLUG-IN and is the answer not in the manual?
Questions and answers