Complete Contents
Getting Started
Chapter 1 Understanding Server Plug-Ins
Chapter 2 Writing and Compiling Plug-Ins
Chapter 3 Calling the Front-End API Functions
Chapter 4 Quick Start
Chapter 5 Writing Database Plug-Ins
Chapter 6 Writing Pre/Post-Operation Plug-Ins
Chapter 7 Defining Functions for LDAP Operations
Chapter 8 Defining Functions for Database Operations
Chapter 9 Defining Functions for Authentication
Chapter 10 Writing Entry Store/Fetch Plug-Ins
Chapter 11 Writing Extended Operation Plug-Ins
Chapter 12 Writing Matching Rule Plug-Ins
Chapter 13 Data Type and Structure Reference
Chapter 14 Function Reference
Chapter 15 Parameter Reference
Glossary
Previous Next Contents Bookshelf Function List



 slapi_mr_filter_index()
Calls the indexer function associated with an extensible match filter.

Syntax

#include "slapi-plugin.h"
int slapi_mr_filter_index (Slapi_Filter *f, Slapi_PBlock *pb);

Parameters

The function has the following parameters:
f

Pointer to a Slapi_Filter structure, representing the extensible match filter for which you want to find the indexer function.
pb

Parameter block containing information about the extensible match filter.

Returns. The result code returned by the indexer function.

Description. If the filter specified by the f argument is an extensible match filter, this function calls the indexer function associated with the filter.

Before calling this function, make sure that the parameter block pb contains the information needed by the indexer function. You can pass information to the indexer function by using the following parameters:

The indexer function should set the SLAPI_PLUGIN_MR_KEYS parameter of the parameter block pb to an array of the keys that correspond to the values in the SLAPI_PLUGIN_MR_VALUES parameter.

For more information on filter index functions and indexer functions, see Chapter  12, "Writing Matching Rule Plug-Ins".

Example

[To be added]

See Also

 

© Copyright 1998 Netscape Communications Corporation