Description
Filters of the type
generally consist of one or more other filters. For example:
(&(ou=Accounting)(l=Sunnyvale))
(|(ou=Accounting)(l=Sunnyvale))
(!(l=Sunnyvale))
Each of these examples contain one or more
Call the
LDAP_FILTER_AND
Memory Concerns
The
f1
resulting filter will have references pointing to these two filters.
See Also
slapi_filter_join()
argument being
slapi_filter_join_ex()
Recursively joins the two specified filters using one of the following filter types:
LDAP_FILTER_AND
filter type
Syntax
#include "slapi-plugin.h"
Slapi_Filter *slapi_filter_join_ex( int ftype, Slapi_Filter *f1,
Slapi_Filter *f2, int recurse_always );
Parameters
This function takes the following parameters:
ftype
f1
f2
recurse_always
LDAP_FILTER_AND
slapi_filter_join()
,
LDAP_FILTER_OR
and
filters are neither copied nor freed during the join process, but the
f2
uses
.
1
,
LDAP_FILTER_OR
LDAP_FILTER_NOT
Type of composite filter you want to create.
First filter that you want to join.
Second filter that you want to join. If ftype is
LDAP_FILTER_NOT, specify NULL for this argument.
Recursively joins filters f1 and f2.
,
LDAP_FILTER_OR
LDAP_FILTER_EQUALITY
function to create a new filter of the type
, or
LDAP_FILTER_NOT
slapi_filter_join_ex()
, or
LDAP_FILTER_NOT
, the second filter should be
Functions for Dealing with Filters
, and
LDAP_FILTER_NOT
filters.
.
with the
recurse_always
. When specifying the
.
NULL
Chapter 15
Function Reference
369
Need help?
Do you have a question about the NETSCAPE DIRECTORY SERVER 7.0 - PLUG-IN and is the answer not in the manual?
Questions and answers