Netscape DIRECTORY SERVER 6.01 - PLUG-IN Manual page 288

Table of Contents

Advertisement

Functions for Managing Entries
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:
e
Description
Call this function to free an entry that you have allocated by using the
slapi_entry_alloc()
Memory Concerns
To free entries, always use this function, as opposed to using
free().
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
288
Netscape Directory Server Plug-In Programmer's Guide • January 2002
Entry that you want to free. If NULL, no action occurs.
function or the
slapi_entry_dup()
Entry from which you want to get the DN.
function.
, or
slapi_ch_free()

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the NETSCAPE DIRECTORY SERVER 6.01 - PLUG-IN and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Directory server 6.01

Table of Contents