Netscape DIRECTORY SERVER 6.1 - PLUG-IN Manual page 446

Table of Contents

Advertisement

Functions for Managing RDN
Memory Concerns
The memory is allocated by the function itself.
See Also
slapi_rdn_new_dn()
slapi_rdn_new_rdn()
slapi_rdn_remove()
Removes an RDN type/value pair from a
Syntax
#include "slapi-plugin.h"
int slapi_rdn_remove(Slapi_RDN *rdn, const char *type,
const char *value, size_t length);
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 removes the RDN from rdn that matches the given criteria (
value
See Also
slapi_rdn_remove_attr()
slapi_rdn_remove_index()
446
Netscape Directory Server Plug-In Programmer's Guide • August 2002
The target Slapi_RDN structure.
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 comparisons when searching for the RDN.
if the RND is removed from
if no RDN is removed.
, and
).
length
structure.
Slapi_RDN
.
rdn
,
type

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.1

Table of Contents