Getting And Setting Parameters In Filter Factory Functions; Set The Following Parameters - Netscape DIRECTORY SERVER 6.01 - PLUG-IN Manual

Table of Contents

Advertisement

Handling Extensible Match Filters

Set the following parameters:

5.
Return 0 (or the result code
6.
successfully.
Getting and Setting Parameters in Filter Factory
Functions
The following table summarizes the different parameters that the filter factory
function should get and set in the parameter block that is passed in:
Input and Output Parameters Available to a Filter Factory Function
Table 11-4
Parameter Name
SLAPI_PLUGIN_MR_OID
SLAPI_PLUGIN_MR_TYPE
SLAPI_PLUGIN_MR_VALUE
138
Netscape Directory Server Plug-In Programmer's Guide • January 2002
Set the
SLAPI_PLUGIN_MR_OID
matching rule, if the value of that parameter is not the official OID
(optional).
Set the
SLAPI_PLUGIN_OBJECT
Set the
SLAPI_PLUGIN_MR_FILTER_INDEX_FN
function (see "Writing a Filter Index Function" on page 139), if you have
set up indexes based on this matching rule (optional).
Set the
SLAPI_PLUGIN_MR_FILTER_MATCH_FN
matching function. (See "Writing a Filter Matching Function" on page 141.)
Set the
SLAPI_PLUGIN_DESTROY_FN
for freeing the filter object, if you have defined this function (optional). See
"Writing a Destructor Function" on page 143 for details.
Data Type
char *
char *
struct berval *
parameter to the official OID of the
parameter to the filter object.
parameter to the function responsible
) if everything completed
LDAP_SUCCESS
Description
(Input parameter) Matching rule
OID (if any) specified in the
extensible match filter.
(Input parameter) Attribute type (if
any) specified in the extensible
match filter.
(Input parameter) Value specified
in the extensible match filter.
parameter to the filter index
parameter to the filter

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.01

Table of Contents