Netscape DIRECTORY SERVER 6.1 - PLUG-IN Manual page 198

Table of Contents

Advertisement

Summary of Data Types and Structures
See Also
Slapi_Attr
Slapi_Filter
Represents a search filter.
Syntax
#include slapi-plugin.h
typedef struct slapi_filter Slapi_Filter;
Description
Slapi_Filter
filter. (For more information on search filters, see "Working with Search Filters.")
The following table summarizes the front-end API functions that you can call to
work with filters.
To do this...
Determine if an entry matches a filter's criteria
Get the filter type
Get the attribute type and value used for
comparison in a filter (only applicable to
LDAP_FILTER_EQUALITY,
LDAP_FILTER_GE, LDAP_FILTER_LE, and
LDAP_FILTER_APPROX searches)
Get the type of attribute that the filter is
searching for (only applicable to
LDAP_FILTER_PRESENT searches)
Get the substring pattern used for the filter
(applicable only to
LDAP_FILTER_SUBSTRING searches)
Convert a string representation of a filter to a
filter of the data type Slapi_Filter
Construct a new LDAP_FILTER_AND,
LDAP_FILTER_OR, or LDAP_FILTER_NOT
filter from other filters
Get the components of a filter (only applicable
to LDAP_FILTER_AND, LDAP_FILTER_OR,
and LDAP_FILTER_NOT searches)
198
Netscape Directory Server Plug-In Programmer's Guide • August 2002
is the data type for an opaque structure that represents an search
Call this function
slapi_filter_test_ext()
slapi_filter_get_choice()
slapi_filter_get_ava()
slapi_filter_get_type()
slapi_filter_get_subfilt()
slapi_str2filter())
slapi_filter_join()
slapi_filter_list_first()
slapi_filter_list_next()

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.1

Table of Contents