Netscape DIRECTORY SERVER 6.02 - PLUG-IN Manual page 318

Table of Contents

Advertisement

Functions for Dealing with Filters
Syntax
#include "slapi-plugin.h"
Slapi_Filter *slapi_filter_list_next( Slapi_Filter *f,
Slapi_Filter *fprev );
Parameters
This function takes the following parameters:
f
fprev
Returns
This function returns the next filter (after
.
f
Description
To iterate through all filters that make up a specified filter, use this function in
conjunction with the
Filters of the type
generally consist of one or more other filters. For example, if the filter is:
(&(ou=Accounting)(l=Sunnyvale))
the next filter after
(l=Sunnyvale)
Call the
Memory Concerns
No duplication of the filter is done, so this filter should not be freed independently
of the original filter.
See Also
slapi_filter_list_first()
slapi_filter_test()
Determines if the specified entry matches a particular filter.
318
Netscape Directory Server Plug-In Programmer's Guide • May 2002
Filter from which you want to get the next component (after fprev).
Filter within the specified filter f.
slapi_filter_list_first()
LDAP_FILTER_AND
(ou=Accounting)
slapi_filter_list_next()
) that makes up the specified filter
fprev
function.
,
, and
LDAP_FILTER_OR
in this list is:
function to get the filters from this list.
LDAP_FILTER_NOT

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.02

Table of Contents