Sun Java System Directory Server Enterprise Edition 6.2 Developer's Guide

slapi_filter_test()

Determines if the specified entry matches a particular filter.

Syntax

#include "slapi-plugin.h"
int slapi_filter_test( Slapi_PBlock *pb, Slapi_Entry *e,
    Slapi_Filter *f, int verify_access );

Parameters

This function takes the following parameters:

pb

Parameter block.

e

Entry that you want to test.

f

Filter that you want to test the entry against.

verify_access

If 1, verifies that the current user has access rights to search the specified entry. If 0, bypasses any access control.

Returns

One of the following values:

See Also

slapi_filter_test_simple()

slapi_filter_test_ext()