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_next()
slapi_filter_list_next()
(Applies only to filters of the types
LDAP_FILTER_LE
makes up the specified filter
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
,
LDAP_FILTER_APPROX
f
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()
LDAP_FILTER_EQUALITY
) Gets the next filter (following
.
) that makes up the specified filter
fprev
,
LDAP_FILTER_OR
in this list is:
function to get the filters from this list.
Functions for Dealing with Filters
,
LDAP_FILTER_GE
fprev
function.
, and
LDAP_FILTER_NOT
Chapter 15
Function Reference
,
) that
361