Netscape DIRECTORY SERVER 6.2 - PLUG-IN Manual page 332

Table of Contents

Advertisement

Functions for Managing Entries
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. Note that 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 );
Parameters
This function takes the following parameter:
e
Returns
This function returns one of the following values:
332
Netscape Directory Server Plug-In Programmer's Guide • December 2003
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
Entry from which you want to get the DN as a constant.
.
slapi_entry_set_dn()
.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.2

Table of Contents