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 • December 2003
(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;
.)
Need help?
Do you have a question about the NETSCAPE DIRECTORY SERVER 6.2 - PLUG-IN and is the answer not in the manual?
Questions and answers