Functions for Managing Entries
Chapter
15
Function Reference
331
Returns
Returns
0
when successful; any other value returned signals failure.
Memory Concerns
Do not free the returned
attr
. This is a pointer into the internal entry data
structure. If you need a copy, use
slapi_attr_dup()
.
See Also
slapi_attr_dup()
slapi_entry_free()
Frees an entry, its DN, and its attributes from memory.
Syntax
#include “slapi-plugin.h”
void slapi_entry_free( Slapi_Entry *e );
Parameters
This function takes the following parameter:
Description
Call this function to free an entry that you have allocated by using the
slapi_entry_alloc()
function or the
slapi_entry_dup()
function.
Memory Concerns
To free entries, always use this function, as opposed to using
slapi_ch_free()
, or
free().
See Also
slapi_entry_alloc()
slapi_entry_dup()
slapi_entry_get_dn()
Gets the distinguished name (DN) of the specified entry.
e
Entry that you want to free. If
NULL
, no action occurs.
Содержание NETSCAPE DIRECTORY SERVER 6.2 - GATEWAY CUSTOMIZATION
Страница 1: ...Plug In Programmer s Guide Netscape Directory Server Version6 2 December 2003...
Страница 18: ...18 Netscape Directory Server Plug In Programmer s Guide December 2003...
Страница 26: ...Types of Directory Server Plug Ins 26 Netscape Directory Server Plug In Programmer s Guide December 2003...
Страница 38: ...Compiling a Directory Server Plug In 38 Netscape Directory Server Plug In Programmer s Guide December 2003...
Страница 54: ...An Example Pre Operation Plug In 54 Netscape Directory Server Plug In Programmer s Guide December 2003...
Страница 56: ...56 Netscape Directory Server Plug In Programmer s Guide December 2003...
Страница 90: ...Processing an LDAP Abandon Operation 90 Netscape Directory Server Plug In Programmer s Guide December 2003...
Страница 110: ...Using SASL with an LDAP Client 110 Netscape Directory Server Plug In Programmer s Guide December 2003...
Страница 112: ...112 Netscape Directory Server Plug In Programmer s Guide December 2003...
Страница 122: ...Specifying Start and Close Functions 122 Netscape Directory Server Plug In Programmer s Guide December 2003...
Страница 168: ...Plug In API Reference 168 Netscape Directory Server Plug In Programmer s Guide December 2003...
Страница 170: ...170 Netscape Directory Server Plug In Programmer s Guide December 2003...
Страница 214: ...Summary of Data Types and Structures 214 Netscape Directory Server Plug In Programmer s Guide December 2003...
Страница 554: ...Functions for Registering Additional Plug Ins 554 Netscape Directory Server Plug In Programmer s Guide December 2003...
Страница 596: ...Parameters for the Virtual Attribute Service 596 Netscape Directory Server Plug In Programmer s Guide December 2003...
Страница 600: ...600 Netscape Directory Server Plug In Programmer s Guide December 2003...
Страница 612: ...612 Netscape Directory Server Plug In Programmer s Guide December 2003...