Allocate a Slapi_MatchingRuleEntry.
#include "slapi-plugin.h" Slapi_MatchingRuleEntry *slapi_matchingrule_new(void);
This function allocates a Slapi_MatchingRuleEntry used to register a matching rule.
This function returns a pointer to the matching rule registration object if successful. Otherwise, it returns NULL.