Netscape DIRECTORY SERVER 6.1 - PLUG-IN Manual page 350

Table of Contents

Advertisement

Functions for Dealing with Filters
SLAPI_FILTER_SCAN_STOP
SLAPI_FILTER_SCAN_CONTINUE
SLAPI_FILTER_SCAN_ERROR
scan is aborted. In this case
currently, the only error is
slapi_filter_compare()
Determines if two filters are identical.
Syntax
#include "slapi-plugin.h"
int slapi_filter_compare(struct slapi_filter *f1,
struct slapi_filter *f2);
Parameters
This function takes the following parameters:
f1
f2
Returns
This function returns one of the following values:
0 if the two filters are identical.
A value other than 0 if the two filters are not identical.
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.
350
Netscape Directory Server Plug-In Programmer's Guide • August 2002
(Indicates premature abort)
(Indicates continue scanning)
(Indicates an occurred during the traverse and the
error_code
SLAPI_FILTER_UNKNOWN_FILTER_TYPE
First filter to compare.
Second filter to compare.
can be checked for more details;
.)

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.1

Table of Contents