Netscape DIRECTORY SERVER 6.02 - PLUG-IN Manual page 289

Table of Contents

Advertisement

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
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.
Functions for Managing Entries
function.
slapi_ch_free()
Chapter 14
Function Reference
, or
289

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.02

Table of Contents