Functions for Dealing with Filters
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.
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.
308
Netscape Directory Server Plug-In Programmer's Guide • May 2002
First filter to compare.
Second filter to compare.
Filter to duplicate.
Need help?
Do you have a question about the NETSCAPE DIRECTORY SERVER 6.02 - PLUG-IN and is the answer not in the manual?
Questions and answers