Functions for Dealing with Filters
Parameters
This function takes the following parameters:
f
type
Returns
This function returns the attribute type of the filter.
Description
This function gets the attribute type for all simple filter choices:
•
LDAP_FILTER_GE
•
LDAP_FILTER_LE
•
LDAP_FILTER_APPROX
•
LDAP_FILTER_EQUALITY
•
LDAP_FILTER_SUBSTRINGS
•
LDAP_FILTER_PRESENT
•
LDAP_FILTER_EXTENDED
•
LDAP_FILTER_AND
•
LDAP_FILTER_OR
•
LDAP_FILTER_NOT
A filter such as (
Memory Concerns
The attribute type is returned in type and should not be freed after calling this
function. It will be freed at the same time as the
slapi_filter_free()
See Also
slapi_filter_get_choice()
slapi_filter_get_ava()
slapi_filter_get_type()
slapi_filter_free()
310
Netscape Directory Server Plug-In Programmer's Guide • May 2002
Filter from which you wish to get the substring values.
Pointer to the attribute type of the filter.
), will return the type
mail-foo
is called.
.
mail
structure when
Slapi_Filter