Netscape DIRECTORY SERVER 6.02 - PLUG-IN Manual page 309

Table of Contents

Advertisement

slapi_filter_free()
Frees the specified filter and (optionally) the set of filters that comprise it (for
example, the set of filters in an
Syntax
#include "slapi-plugin.h"
void slapi_filter_free( Slapi_Filter *f, int recurse );
Parameters
This function takes the following parameters:
f
recurse
Description
This function frees the filter in parameter
Memory Concerns
Filters created using
Filters extracted from a pblock using
pb,SLAPI_SEARCH_FILTER, &filter )
See Also
slapi_str2filter()
slapi_pblock_get()
slapi_filter_get_attribute_type()
Gets the attribute type for all simple filter choices.
Syntax
#include "slapi-plugin.h"
int slapi_filter_get_attribute_type( Slapi_Filter *f, char **type );
LDAP_FILTER_AND
Filter that you want to free.
If 1, recursively frees all filters that comprise this filter. If 0, only
frees the filter specified by f.
slapi_str2filter()
slapi_pblock_get(
must not be freed.
Functions for Dealing with Filters
type filter).
.
f
must be freed after using this function.
Chapter 14
Function Reference
309

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.02

Table of Contents