32.6. slapi_matchingrule_register()
This function registers the specified matching rule with the server. To create the matching rule and set its values, call the slapi_matchingrule_new() function and the slapi_matchingrule_set() function.
#include "slapi-plugin.h" int slapi_matchingrule_register(Slapi_MatchingRuleEntry *mrEntry);
This function takes the following parameter:
|
mrEntry
| Slapi_MatchingRuleEntry structure representing the matching rule that you want to register. |
This function returns one of the following values:
- 0 if the matching rule was successfully registered.
- -1 if an error occurred.

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.