Modify a Slapi_MatchingRuleEntry member.
#include "slapi-plugin.h" int slapi_matchingrule_set(Slapi_MatchingRuleEntry *mr, int arg, void *value);
This function takes the following parameters:
Matching rule registration object
Identifier for the Slapi_MatchingRuleEntry member:
SLAPI_MATCHINGRULE_DESC, a string describing the matching rule
SLAPI_MATCHINGRULE_NAME, a string identifying the matching rule
SLAPI_MATCHINGRULE_OID, a string representing the matching rule object identifier
SLAPI_MATCHINGRULE_SYNTAX, the matching rule syntax OID string 1.3.6.1.4.1.1466.115.121.1.15
SLAPI_MATCHINGRULE_OBSOLETE, an int identifying whether the rule is obsolete
Value to affect to the member
This function modifies a Slapi_MatchingRuleEntry member based on the identifier in arg.
This function returns 0 if successful. Otherwise, it returns -1.