Slapi_Matchingruleentry - Netscape DIRECTORY SERVER 7.0 - PLUG-IN Manual

For plug-in
Table of Contents

Advertisement

To ...
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).
Free a filter from memory.

Slapi_MatchingRuleEntry

Represents a matching rule.
Syntax
#include "slapi-plugin.h"
typedef struct slapi_matchingRuleEntry Slapi_MatchingRuleEntry;
Description
Slapi_MatchingRuleEntry
represents a matching rule.
The following table summarizes the front-end API functions that you can call to
work with matching rules.
... 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()
slapi_filter_free()
is the data type for an opaque structure that
Chapter 14
Summary of Data Types and Structures
Data Type and Structure Reference
209

Advertisement

Table of Contents
loading

This manual is also suitable for:

Netscape directory server 7.0

Table of Contents