Netscape DIRECTORY SERVER 6.1 - PLUG-IN Manual page 433

Table of Contents

Advertisement

rdn
type
value
Returns
This function returns one of the following values:
1
0
Description
This function looks for an RDN inside the
the type given in the parameters. This function makes a call to
slapi_rdn_get_index_attr()
-1. If successful, it also returns the corresponding attribute value.
See Also
slapi_rdn_get_index_attr()
slapi_rdn_contains()
slapi_rdn_done()
Clears an instance of a
Syntax
#include "slapi-plugin.h"
void slapi_rdn_done(Slapi_RDN *rdn);
Parameters
This function takes the following parameter:
rdn
The Slapi_RDN structure containing the RDN value(s).
Type (cn, o, ou, etc.) of the RDN searched.
Repository that will hold the value of the first RDN whose type
matches the content of the parameter type. If this parameter is
NULL at the return of the function, no RDN with the desired type
exists within rdn.
if
contains a RDN that matches the given type.
rdn
if there is no match.
Slapi_RDN
Pointer to the structure to be cleared.
Slapi_RDN
and verifies that the returned value is anything but
structure.
Chapter 15
Functions for Managing RDN
structure
that matches
rdn
Function Reference
433

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.1

Table of Contents