Netscape DIRECTORY SERVER 6.02 - PLUG-IN Manual page 384

Table of Contents

Advertisement

Functions for Managing RDN
Table 14-23 RDN Routines (Continued)
Function
slapi_rdn_new_dn()
slapi_rdn_new_rdn()
slapi_rdn_new_sdn()
slapi_rdn_remove()
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.
384
Netscape Directory Server Plug-In Programmer's Guide • May 2002
Description
Creates a new Slapi_RDN structure.
Creates a new Slapi_RDN structure and sets an RDN value.
Creates a new Slapi_RDN structure and sets an RDN value taken from
the DN contained in a given Slapi_RDN structure.
Removes an RDN type/value pair.
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.
structure.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.02

Table of Contents