Netscape DIRECTORY SERVER 6.1 - PLUG-IN Manual page 432

Table of Contents

Advertisement

Functions for Managing RDN
Parameters
This function takes the following parameters:
rdn
type
value
length
Returns
This function returns one of the following values:
1
0
Description
This function searches for an RDN inside of the
matches both type and value as given in the parameters. This function makes a call
to
slapi_rdn_get_index()
See Also
slapi_rdn_get_index()
slapi_rdn_contains_attr()
slapi_rdn_contains_attr()
Checks whether a
and if true, gets the corresponding attribute value.
Syntax
#include "slapi-plugin.h"
int slapi_rdn_contains_attr(Slapi_RDN *rdn, const char *type,
char **value);
Parameters
This function takes the following parameters:
432
Netscape Directory Server Plug-In Programmer's Guide • August 2002
The Slapi_RDN structure containing the RDN value(s).
The type (cn, o, ou, etc.) of the RDN searched.
The value of the RDN searched.
Gives the length of value that should be taken into account for
the string operation when searching for the RDN.
if
contains an RDN that matches the type, value and length.
rdn
if no RDN matches the desired type/value.
Slapi_RDN
Slapi_RDN
and verifies that the returned value is anything but -1.
structure contains any RDN matching a given type,
structure
that
rdn

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.1

Table of Contents