Netscape DIRECTORY SERVER 6.2 - PLUG-IN Manual page 380

Table of Contents

Advertisement

Functions for Handling Matching Rules
The
arg
ID
SLAPI_MATCHINGRULE_NAME
SLAPI_MATCHINGRULE_OID
SLAPI_MATCHINGRULE_DESC
SLAPI_MATCHINGRULE_SYNTAX
SLAPI_MATCHINGRULE_OBSOLETE
Returns
This function returns one of the following values:
0 if the information was successfully set.
-1 if an error occurred (for example, if an invalid argument was specified).
Description
This function sets information in an
information from this structure, call the
slapi_matchingrule_unregister()
Placeholder for future function. (Currently, this function does nothing.)
Syntax
#include "slapi-plugin.h"
int slapi_matchingrule_unregister(char *oid);
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);
380
Netscape Directory Server Plug-In Programmer's Guide • December 2003
argument can have one of the following values:
Data Type
Description
of the value
Argument
Name of the matching rule.
char *
OID of the matching rule.
char *
Description of the matching rule.
char *
Syntax supported by the matching
char *
rule.
If 1, the matching rule is obsolete.
int
Slapi_MatchingRuleEntry
slapi_matchingrule_get()
structure. To get
function.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.2

Table of Contents