Netscape DIRECTORY SERVER 6.1 - PLUG-IN Manual page 341

Table of Contents

Advertisement

Description
This function sets the DN pointer in the specified entry to the DN that you supply.
Memory Concerns
The
dn
A copy of
char *dn = slapi_ch_strdup(some_dn):
slapi_entry_set_dn(e, dn);
The old
Netscape Directory Server 3.x and 4.x, the
the old
See Also
slapi_entry_free()
slapi_entry_get_dn()
slapi_entry_set_sdn()
Sets the
Syntax
#include "slapi-plugin.h"
void slapi_entry_set_sdn( Slapi_Entry *e,
const Slapi_DN *sdn );
Parameters
This function takes the following parameters:
e
sdn
Description
This function sets the value for the
Memory Concerns
This function makes a copy of the
will be freed eventually when
should be passed, for example:
dn
will be freed as a result of this call. Do not pass in a
dn
.
dn
value in an entry.
Slapi_DN
Entry to which you want to set the value of the Slapi_DN.
The specified Slapi_DN value that you want to set.
slapi_entry_free()
slapi_entry_set_dn()
object in the entry you specify.
Slapi_DN
argument.
sdn
Chapter 15
Functions for Managing Entries
is called.
value. Note: In
NULL
call did not free
Function Reference
341

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.1

Table of Contents