Netscape DIRECTORY SERVER 6.01 - PLUG-IN Manual page 421

Table of Contents

Advertisement

slapi_sdn_new_ndn_byval()
Creates a new
Syntax
#include "slapi-plugin.h"
Slapi_DN *slapi_sdn_new_ndn_byval(const char *ndn);
Parameters
This function takes the following parameter:
ndn
Returns
This function returns a pointer to the new
DN value set to the content of
Description
This function creates a new
with the value of
of the string pointed to by
parameter by value). The
incremented.
Memory Concerns
The memory is allocated by the function itself.
See Also
slapi_sdn_new_ndn_byref()
slapi_sdn_scope_test()
Checks whether an entry, given its DN, is in the scope of a certain base DN.
Syntax
#include "slapi-plugin.h"
int slapi_sdn_scope_test( const Slapi_DN *dn,
const Slapi_DN *base, int scope );
structure and sets a normalized DN value.
Slapi_DN
The normalized DN value to be set in the new Slapi_DN
structure.
.
ndn
Slapi_DN
. The normalized DN of the new structure will point to a copy
ndn
(the normalized DN value is passed into the
ndn
FLAG_DND
structure with a normalized
Slapi_DN
structure and initializes its normalized DN
flag is set and the internal counter is
Chapter 14
Functions for Managing DNs
Function Reference
421

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

This manual is also suitable for:

Directory server 6.01

Table of Contents