Functions for Dealing with Filters
slapi_filter_test_simple()
Determines if an entry matches a filter.
Syntax
#include "slapi-plugin.h"
int slapi_filter_test_simple( Slapi_Entry *e, Slapi_Filter *f);
Parameters
This function takes the following parameters:
e
f
Returns
This function returns one of the following values:
•
0 if the entry matched the filter, or if the specified filter is NULL.
•
-1 if the filter type is unknown, or if the entry does not match the filter.
•
A positive value (an LDAP error code) if an error occurred.
Description
This function allows you to check if entry
See Also
slapi_filter_test()
slapi_filter_test_ext()
slapi_find_matching_paren()
Finds the matching right parentheses in a string (corresponding to the left
parenthesis to which the string currently points).
Syntax
#include "slapi-plugin.h"
char *slapi_find_matching_paren( const char *str )
Parameters
This function takes the following parameters:
364
Netscape Directory Server Plug-In Programmer's Guide • December 2003
Entry that you wish to test.
Filter to match the entry against.
e
matches filter
.
f
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