Netscape DIRECTORY SERVER 6.02 - PLUG-IN Manual page 336

Table of Contents

Advertisement

Functions for Handling Matching Rules
Parameters
This function takes the following parameters:
mrEntry
Returns
This function returns one of the following values:
0 if the matching rule was successfully registered.
-1 if an error occurred.
Description
This function registers the specified matching rule with the server. To create the
matching rule and set its values, call the
the
slapi_matchingrule_set()
slapi_matchingrule_set()
Sets information about the matching rule.
Syntax
#include "slapi-plugin.h"
int slapi_matchingrule_set(Slapi_MatchingRuleEntry *mr,
int arg, void *value);
Parameters
This function takes the following parameters:
mr
arg
value
336
Netscape Directory Server Plug-In Programmer's Guide • May 2002
Slapi_MatchingRuleEntry structure representing the
matching rule that you want to register.
Slapi_MatchingRuleEntry structure that you want to set data in.
ID specifying the type of information you want to set.
The value that you want to set.
slapi_matchingrule_new()
function.
function and

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.02

Table of Contents