Slapi_Entry_Set_Dn(); Slapi_Entry_Set_Sdn() - Netscape DIRECTORY SERVER 7.0 - PLUG-IN Manual

For plug-in
Table of Contents

Advertisement

Memory Concerns
The
pb
SLAPI_IS_REPLACED_OPERATION
done.

slapi_entry_set_dn()

Sets the distinguished name (DN) of an entry.
Syntax
#include "slapi-plugin.h"
void slapi_entry_set_dn( Slapi_Entry *e, char *dn );
Parameters
This function takes the following parameters:
e
dn
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
See Also
slapi_entry_free()
slapi_entry_get_dn()

slapi_entry_set_sdn()

Sets the
argument can be
NULL
Entry to which you want to assign the DN.
Distinguished name you want assigned to the entry.
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
value in an entry.
Slapi_DN
. It is only used to get the
flag. If that flag is present, no schema checking is
slapi_entry_free()
Functions for Managing Entries
is called.
value.
NULL
Chapter 15
Function Reference
351

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