![Netscape NETSCAPE DIRECTORY SERVER 6.2 - GATEWAY CUSTOMIZATION Manual Download Page 332](http://html1.mh-extra.com/html/netscape/netscape-directory-server-6-2-gateway-customization/netscape-directory-server-6-2-gateway-customization_manual_1674642332.webp)
Functions for Managing Entries
332
Netscape Directory Server Plug-In Programmer’s Guide • December 2003
Syntax
#include “slapi-plugin.h”
char *slapi_entry_get_dn( Slapi_Entry *e );
Parameters
This function takes the following parameter:
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
slapi_entry_set_dn()
.
Memory Concerns
Use
slapi_ch_free()
if you are replacing the DN with
slapi_entry_set_dn()
.
See Also
slapi_ch_free()
slapi_entry_set_dn()
slapi_entry_get_dn_const()
Returns as a
const
the
DN
value of the entry that you specify.
Syntax
#include “slapi-plugin.h”
const char *slapi_entry_get_dn_const(
const Slapi_Entry *e );
Parameters
This function takes the following parameter:
Returns
This function returns one of the following values:
e
Entry from which you want to get the DN.
e
Entry from which you want to get the
DN
as a constant.
Summary of Contents for NETSCAPE DIRECTORY SERVER 6.2 - GATEWAY CUSTOMIZATION
Page 1: ...Plug In Programmer s Guide Netscape Directory Server Version6 2 December 2003...
Page 18: ...18 Netscape Directory Server Plug In Programmer s Guide December 2003...
Page 56: ...56 Netscape Directory Server Plug In Programmer s Guide December 2003...
Page 112: ...112 Netscape Directory Server Plug In Programmer s Guide December 2003...
Page 168: ...Plug In API Reference 168 Netscape Directory Server Plug In Programmer s Guide December 2003...
Page 170: ...170 Netscape Directory Server Plug In Programmer s Guide December 2003...
Page 600: ...600 Netscape Directory Server Plug In Programmer s Guide December 2003...
Page 612: ...612 Netscape Directory Server Plug In Programmer s Guide December 2003...