Netscape DIRECTORY SERVER 6.2 - PLUG-IN Manual page 351

Table of Contents

Advertisement

Syntax
#include "slapi-plugin.h"
Slapi_Filter *slapi_filter_dup(Slapi_Filter *f);
Parameters
This function takes the following parameter:
f
Returns
This function returns a pointer to the duplicated filter, if successful; otherwise, it
returns NULL.
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 )
Filter to duplicate.
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.
f
slapi_str2filter()
slapi_pblock_get(
must not be freed.
Functions for Dealing with Filters
type filter).
.
must be freed after using this function.
Chapter 15
Function Reference
351

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.2

Table of Contents