Slapi_Filter_Dup(); Slapi_Filter_Free() - Netscape DIRECTORY SERVER 7.0 - PLUG-IN Manual

For plug-in
Table of Contents

Advertisement

0
A value other than
Description
This function allows you to determine if two filters are identical and/or are
allowed to be in a different order.

slapi_filter_dup()

Creates a duplicate of the specified filter.
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
if the two filters are identical.
if the two filters are not identical.
0
Filter to duplicate.
Filter that you want to free.
type filter.
LDAP_FILTER_AND
Functions for Dealing with Filters
Chapter 15
Function Reference
361

Advertisement

Table of Contents
loading

This manual is also suitable for:

Netscape directory server 7.0

Table of Contents