Finding A Plug-In For Searching - Netscape DIRECTORY SERVER 6.02 - PLUG-IN Manual

Table of Contents

Advertisement

Understanding Matching Rule Plug-Ins

Finding a Plug-In for Searching

To determine which matching rule plug-in is responsible for handling an
extensible match filter for a given matching rule (based on its OID), the server does
the following for each plug-in:
In a new
1.
parameters:
Next, the server calls the filter factory function (specified in the
2.
SLAPI_PLUGIN_MR_FILTER_CREATE_FN
The server checks the
3.
Finally, the server gets the following information from the plug-in for future
4.
use:
Information specified in the filter object is used by both the filter index function
and the filter matching function.
128
Netscape Directory Server Plug-In Programmer's Guide • May 2002
parameter block, the server sets the following
Slapi_PBlock
Sets the OID in the
SLAPI_PLUGIN_MR_OID
Sets the type (from the filter) in the
Sets the value (from the filter) in the
SLAPI_PLUGIN_MR_FILTER_MATCH_FN
If the parameter is NULL, the plug-in does not handle the matching rule
specified by that OID.
If the parameter returns a filter matching function, this plug-in handles the
matching rule specified by that OID.
The filter index function specified in the
SLAPI_PLUGIN_MR_FILTER_INDEX_FN
The value specified in the
parameter
The filter reset function specified in the
SLAPI_PLUGIN_MR_FILTER_RESET_FN
The filter object specified in the
The filter destructor function specified in the
parameter
parameter.
SLAPI_PLUGIN_MR_TYPE
SLAPI_PLUGIN_MR_VALUE
parameter) for the plug-in.
parameter
SLAPI_PLUGIN_MR_FILTER_REUSABLE
parameter
SLAPI_PLUGIN_OBJECT
SLAPI_PLUGIN_DESTROY_FN
parameter.
parameter.
parameter.
parameter

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.02

Table of Contents