Slapi_Entry_Free() - Netscape DIRECTORY SERVER 7.0 - PLUG-IN Manual

For plug-in
Table of Contents

Advertisement

Parameters
This function takes the following parameters:
e
attr
Returns
Returns
Memory Concerns
Do not free the returned
structure. If you need a copy, use
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:
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 instead of using
free()
Entry from which you want to get the attribute.
Pointer to the first attribute in the entry.
when successful; any other value returned signals failure.
0
attr
Entry that you want to free. If NULL, no action occurs.
function or the
.
. This is a pointer into the internal entry data
slapi_attr_dup()
slapi_entry_dup()
Functions for Managing Entries
.
function.
slapi_ch_free()
Chapter 15
Function Reference
or
341

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

This manual is also suitable for:

Netscape directory server 7.0

Table of Contents