Call a matching rule filter index function.
#include "slapi-plugin.h" int slapi_mr_filter_index(Slapi_Filter* f, Slapi_PBlock* pb);
This function takes the following parameters:
Filter containing the matching rule OID
Parameter block to pass to the filter index function
This function enables plug-ins to call matching rule filter index functions.
This function returns 0 if successful. It returns LDAP_UNAVAILABLE_CRITICAL_EXTENSION if no filter index function is available for the rule in the filter. It returns -1 if something goes horribly wrong setting the parameter block arguments.