26.19. slapi_vattr_filter_test()
This function supports the case where the filter specifies virtual attributes. Performance for a real-attribute-only filter is the same as that for slapi_filter_test().
#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:
|
pb
| Parameter block containing information about the filter. |
|
e
| Entry against which the filter is to be tested. |
|
f
| Filter against which the entry is to be tested. |
|
verify_access
| Access control:
|
This function returns one of the following values:
- 0 if the filter matched.
- -1 if the filter did not match.
- An LDAP error code (an integer greater than zero) if an error occurs.

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.