Functions for Dealing with Filters
This filter finds entries that have a value assigned to the
Call this function to get the attribute type from this filter. In the case of the
example above, calling this function gets the attribute type
Memory Concerns
The string returned in the parameter type must not be freed after calling this
function. It will be freed when the structure
slapi_filter_free()
See Also
slapi_filter_get_attribute_type()
slapi_filter_get_ava()
slapi_filter_get_choice()
slapi_filter_join()
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( int ftype,
Slapi_Filter *f1, Slapi_Filter *f2 );
Parameters
This function takes the following parameters:
ftype
f1
f2
Returns
This function returns the new filter constructed from the other two filters.
368
Netscape Directory Server Plug-in Programmer's Guide • October 2004
.
,
LDAP_FILTER_OR
, the second filter should be
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.
mail
Slapi_Filter
, or
LDAP_FILTER_NOT
NULL
attribute.
.
mail
is freed by calling
. When specifying the
.
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