Netscape DIRECTORY SERVER 6.1 - PLUG-IN Manual page 448

Table of Contents

Advertisement

Functions for Managing RDN
rdn
atindex
Returns
This function returns one of the following values:
1
0
the number of RDNs present.
Description
This function removes the RDN from
atindex+1
See Also
slapi_rdn_remove()
slapi_rdn_remove_attr()
slapi_rdn_set_dn()
Sets an RDN value in a
Syntax
#include "slapi-plugin.h"
void slapi_rdn_set_dn(Slapi_RDN *rdn,const char *dn);
Parameters
This function takes the following parameters:
rdn
dn
448
Netscape Directory Server Plug-In Programmer's Guide • August 2002
The target Slapi_RDN structure.
The index of the RDN type/value pair to remove.
if the RDN is removed from
if no RDN is removed because either
position).
Slapi_RDN
The target Slapi_RDN structure.
The DN value whose RDN will be set in rdn.
.
rdn
is empty or the index goes beyond
rdn
with
rdn
atindex
structure.
index (placed in the

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.1

Table of Contents