Getting And Setting Parameters In Filter Factory Functions - Netscape DIRECTORY SERVER 7.0 - PLUG-IN Manual

For plug-in
Table of Contents

Advertisement

Handling Extensible Match Filters
Set the following parameters:
5.
Return
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
148
Netscape Directory Server Plug-in Programmer's Guide • October 2004
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
index function (cf. "Writing a Filter Index Function," on page 149) 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 151.
Set the
SLAPI_PLUGIN_DESTROY_FN
responsible for freeing the filter object, if you have defined this function.
Optional. See "Writing a Destructor Function," on page 153, for details.
(or the result code
0
Data Type
char *
char *
struct berval *
parameter to the official OID of the
parameter to the filter object.
parameter to the function
) 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
parameter to the filter

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the NETSCAPE DIRECTORY SERVER 7.0 - PLUG-IN and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Netscape directory server 7.0

Table of Contents