Slapi_Sdn_New_Ndn_Byval(); Slapi_Sdn_Scope_Test() - Netscape DIRECTORY SERVER 7.0 - PLUG-IN Manual

For plug-in
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 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
479

Advertisement

Table of Contents
loading
Need help?

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

This manual is also suitable for:

Netscape directory server 7.0

Table of Contents