Test a filter against an entry that may contain virtual attributes.
#include "slapi-plugin.h" int slapi_vattr_filter_test( Slapi_PBlock *pb, Slapi_Entry *e, struct slapi_filter *f, int verify_access);
This function takes the following parameters:
Parameter block containing the search request
Candidate entry
Filter to check
1 to verify access to the entry before checking, 0 otherwise
This function checks whether the candidate entry e matches the filter f. It does not support LDAP v3 extensible match filters.
This functions returns 0 if the filter matches, or if the filter is NULL. Otherwise, it returns -1.