Netscape DIRECTORY SERVER 6.2 - PLUG-IN Manual page 435

Table of Contents

Advertisement

Parameters
This function takes the following parameters:
rdn
type
value
Returns
This function returns one of the following values:
-1
1
Description
This function gets the type/value pair corresponding to the first RDN stored in
. For example, if the RDN is
rdn
return parameter, and
See Also
slapi_rdn_get_next()
slapi_rdn_get_rdn()
slapi_rdn_get_index()
Gets the index of the RDN that follows the RDN with a given type and value.
Syntax
#include "slapi-plugin.h"
int slapi_rdn_get_index(Slapi_RDN *rdn, const char *type,
const char *value,size_t length);
The Slapi_RDN structure containing the RDN value(s).
Repository that will hold the type of the first RDN. If this
parameter is NULL at the return of the function, it means rdn is
empty.
Repository that will hold the type of the first RDN. If this
parameter is NULL at the return of the function, it means rdn is
empty.
if
is empty.
rdn
if the operation is successful.
Joey
, the function will place
cn=Joey
in value.
Functions for Managing RDN
in the type
cn
Chapter 15
Function Reference
435

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.2

Table of Contents