Slapi_Filter_Apply() - Netscape DIRECTORY SERVER 7.0 - PLUG-IN Manual

For plug-in
Table of Contents

Advertisement

Table 15-13 Filter Routines (Continued)
Function
slapi_filter_get_ava()
slapi_filter_get_choice()
slapi_filter_get_subfilt()
slapi_filter_get_type()
slapi_filter_join()
slapi_filter_join_ex()
slapi_filter_list_first()
slapi_filter_list_next()
slapi_filter_test()
slapi_filter_test_ext()
slapi_filter_test_simple()
slapi_find_matching_paren()
slapi_str2filter()
slapi_vattr_filter_test()

slapi_filter_apply()

Applies a function to each simple filter component within a complex filter; a simple
filter is anything other than AND, OR, or NOT.
Syntax
#include "slapi-plugin.h"
int slapi_filter_apply( struct slapi_filter *f, FILTER_APPLY_FN fn,
void *arg, int *error_code );
Parameters
This function takes the following parameters:
f
fn
Description
Gets the attribute type and the value from the filter.
Gets the type of the specified filter.
Gets the substring values from the filter.
Gets the attribute type specified in the filter.
Joins two specified filters.
Recursively joins two specified filters.
Gets the first filter that makes up the specified filter.
Gets the next filter.
Determines if the specified entry matches a particular filter.
Determines if an entry matches a given filter.
Determines if an entry matches a filter.
Finds the matching right parentheses in a string, corresponding to the
left parenthesis to which the string currently points.
Converts a string description of a search filter into a filter of the
Slapi_Filter type.
Tests a filter against a single entry.
Filter on which the function is to be applied.
Function to apply.
Functions for Dealing with Filters
Chapter 15
Function Reference
359

Advertisement

Table of Contents
loading

This manual is also suitable for:

Netscape directory server 7.0

Table of Contents