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
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.
Chapter 15
Functions for Handling Matching Rules
function and
Function Reference
379
Need help?
Do you have a question about the NETSCAPE DIRECTORY SERVER 6.1 - PLUG-IN and is the answer not in the manual?
Questions and answers