Netscape DIRECTORY SERVER 6.1 - PLUG-IN Manual page 430

Table of Contents

Advertisement

Functions for Managing RDN
Table 15-23 RDN Routines (Continued)
Function
slapi_rdn_remove_attr()
slapi_rdn_remove_index()
slapi_rdn_set_dn()
slapi_rdn_set_rdn()
slapi_rdn_set_sdn()
slapi_sdn_add_rdn()
slapi_rdn_add()
Adds a new RDN to an existing
Syntax
#include "slapi-plugin.h"
int slapi_rdn_add(Slapi_RDN *rdn, const char *type,
const char *value);
Parameters
This function takes the following parameters:
rdn
type
value
Returns
This function always returns 1.
Description
This function adds a new type/value pair to an existing RDN, or sets the
type/value pair as the new RDN if
FLAG_RDNS
is no longer current with the new RDN.
430
Netscape Directory Server Plug-In Programmer's Guide • August 2002
Description
Removes an RDN type/value pair from a Slapi_RDN structure.
Removes an RDN type/value pair from a Slapi_RDN structure.
Sets an RDN value in a Slapi_RDN structure.
Sets an RDN in a Slapi_RDN structure.
Sets an RDN value in a Slapi_RDN structure.
Adds an RDN to a DN.
Slapi_RDN
The target Slapi_RDN structure.
The type (cn, o, ou, etc.) of the RDN to be added. This parameter
cannot be NULL.
The value of the RDN to be added. This parameter cannot be
NULL.
flags, which means that the RDN array within the
structure.
is empty. This function resets the
rdn
structure
Slapi_RDN

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.1

Table of Contents