Netscape DIRECTORY SERVER 6.1 - PLUG-IN Manual page 469

Table of Contents

Advertisement

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 );
Parameters
This function takes the following parameters:
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 is set and the internal counter is
FLAG_DND
structure with a normalized
Slapi_DN
structure and initializes its normalized DN
Chapter 15
Functions for Managing DNs
Function Reference
469

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.1

Table of Contents