Netscape DIRECTORY SERVER 6.1 - PLUG-IN Manual page 360

Table of Contents

Advertisement

Functions for Dealing with Filters
Memory Concerns
The
f1
resulting filter will have references pointing to these two filters.
See Also
slapi_filter_join()
argument set to 1.
slapi_filter_list_first()
(Applies only to filters of the types
LDAP_FILTER_LE
specified filter.
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
360
Netscape Directory Server Plug-In Programmer's Guide • August 2002
and
filters are neither copied nor freed during the join process, but the
f2
uses
,
LDAP_FILTER_APPROX
Filter that you want to get the first component of.
slapi_filter_list_next()
LDAP_FILTER_AND
slapi_filter_list_first()
slapi_filter_join_ex()
LDAP_FILTER_EQUALITY
) Gets the first filter that makes up the
,
LDAP_FILTER_OR
function to get the first filter in the list.
with
recurse_always
,
LDAP_FILTER_GE
.
f
function.
, and
LDAP_FILTER_NOT
,

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.1

Table of Contents