Getting And Setting Parameters In Filter Index Functions - Netscape DIRECTORY SERVER 6.02 - PLUG-IN Manual

Table of Contents

Advertisement

Handling Extensible Match Filters
Return 0 (or the result code
3.
successfully.
Getting and Setting Parameters in Filter Index
Functions
The following table summarizes the different parameters that the filter index
function should get and set in the parameter block that is passed in:
Table 11-5
Input and Output Parameters Available to a Filter Index Function
Parameter Name
SLAPI_PLUGIN_OBJECT
SLAPI_PLUGIN_MR_QUERY_OPERATOR
140
Netscape Directory Server Plug-In Programmer's Guide • May 2002
Set the
SLAPI_PLUGIN_MR_TYPE
filter object.
Set the
SLAPI_PLUGIN_MR_VALUES
object.
Set the
SLAPI_PLUGIN_MR_QUERY_OPERATOR
operator that corresponds to this search filter. (See "Query Operators in
Matching Rules" on page 136 for possible values for this parameter.)
Set the
SLAPI_PLUGIN_OBJECT
Set the
SLAPI_PLUGIN_MR_INDEX_FN
(See "Writing the Indexer Function" on page 133.)
Data Type
void *
int
parameter to the attribute type in the
parameter to the values in the filter
parameter to the filter object.
parameter to the indexer function.
) if everything completed
LDAP_SUCCESS
Description
(Input and output parameter)
Pointer to the filter object created
by the factory function. (For
details, see "Writing a Filter
Factory Function" on page 137.)
(Output parameter) Query
operator used by the server to
determine how to compare the
keys generated from
SLAPI_PLUGIN_MR_VALUES and
SLAPI_PLUGIN_MR_INDEX_FN
against keys in the index.
For a list of possible values for this
parameter, see "Query Operators
in Matching Rules" on page 136.
parameter to the query

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.02

Table of Contents