Slapi_Rdn_Add() - Netscape DIRECTORY SERVER 7.0 - PLUG-IN Manual

For plug-in
Table of Contents

Advertisement

Functions for Managing RDN
Table 15-23 RDN Routines (Continued)
Function
slapi_rdn_isempty()
slapi_rdn_new()
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
440
Netscape Directory Server Plug-in Programmer's Guide • October 2004
Description
Checks if an RDN value is stored in a Slapi_RDN structure.
Allocates a new Slapi_RDN structure.
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
Need help?

Need help?

Do you have a question about the NETSCAPE DIRECTORY SERVER 7.0 - PLUG-IN and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Netscape directory server 7.0

Table of Contents