Netscape DIRECTORY SERVER 6.02 - PLUG-IN Manual page 422

Table of Contents

Advertisement

Functions for Managing DNs
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 );
422
Netscape Directory Server Plug-In Programmer's Guide • May 2002
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

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.02

Table of Contents