Netscape DIRECTORY SERVER 6.1 - PLUG-IN Manual page 437

Table of Contents

Advertisement

Parameters
This function takes the following parameters:
rdn
type
value
Returns
This function returns one of the following values:
The real position of the first RDN within RDN that matches the content of
type
-1
Description
This function searches for an RDN inside of the
matches the type given in the parameters. If successful, the position of the
matching RDN, as well as the corresponding attribute value, is returned.
See Also
slapi_rdn_get_index()
slapi_rdn_get_next()
Gets a certain RDN type/value pair from within the RDNs stored in a
structure.
Syntax
#include "slapi-plugin.h"
int slapi_rdn_get_next(Slapi_RDN *rdn, int index,
char **type, char **value);
Parameters
This function takes the following parameters:
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 exists within rdn.
.
if there is no RDN that matches the content
The Slapi_RDN structure containing the RDN value(s).
Functions for Managing RDN
.
type
structure
Slapi_RDN
Chapter 15
Function Reference
that
rdn
Slapi_RDN
437

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.1

Table of Contents