Netscape DIRECTORY SERVER 6.1 - PLUG-IN Manual page 364

Table of Contents

Advertisement

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 • August 2002
Entry that you wish to test.
Filter to match the entry against.
e
matches filter
.
f

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.1

Table of Contents