Slapi_Entry_Get_Dn(); Slapi_Entry_Get_Dn_Const() - Netscape DIRECTORY SERVER 7.0 - PLUG-IN Manual

For plug-in
Table of Contents

Advertisement

Functions for Managing Entries
See Also
slapi_entry_alloc()
slapi_entry_dup()

slapi_entry_get_dn()

Gets the distinguished name (DN) of the specified entry.
Syntax
#include "slapi-plugin.h"
char *slapi_entry_get_dn( Slapi_Entry *e );
Parameters
This function takes the following parameter:
e
Returns
This function returns the DN of the entry. This returns a pointer to the actual DN
in the entry, not a copy of the DN. You should not free the DN unless you plan to
replace it by calling
Memory Concerns
Use
slapi_ch_free()
See Also
slapi_ch_free()
slapi_entry_set_dn()

slapi_entry_get_dn_const()

Returns as a
Syntax
#include "slapi-plugin.h"
const char *slapi_entry_get_dn_const(
const Slapi_Entry *e );
342
Netscape Directory Server Plug-in Programmer's Guide • October 2004
Entry from which you want to get the DN.
slapi_entry_set_dn()
if you are replacing the DN with
the
value of the entry that you specify.
const
DN
.
slapi_entry_set_dn()
.

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