Netscape DIRECTORY SERVER 6.02 - PLUG-IN Manual page 317

Table of Contents

Advertisement

Syntax
#include "slapi-plugin.h"
Slapi_Filter *slapi_filter_list_first( Slapi_Filter *f );
Parameters
This function takes the following parameters:
f
Returns
This function returns the first filter that makes up the specified filter
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 first filter in this list is:
(ou=Accounting)
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_next()
slapi_filter_list_next()
(Applies only to filters of the types
LDAP_FILTER_LE
makes up the specified filter
Filter that you want to get the first component of.
slapi_filter_list_next()
LDAP_FILTER_AND
slapi_filter_list_first()
,
LDAP_FILTER_APPROX
f
,
LDAP_FILTER_OR
function to get the first filter in the list.
LDAP_FILTER_EQUALITY
) Gets the next filter (following
.
Functions for Dealing with Filters
.
f
function.
, and
LDAP_FILTER_NOT
,
LDAP_FILTER_GE
fprev
Chapter 14
Function Reference
,
) that
317

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.02

Table of Contents