26.5. slapi_filter_get_attribute_type()
This function gets the attribute type for all simple filter choices:
LDAP_FILTER_GELDAP_FILTER_LELDAP_FILTER_APPROXLDAP_FILTER_EQUALITYLDAP_FILTER_SUBSTRINGSLDAP_FILTER_PRESENTLDAP_FILTER_EXTENDEDLDAP_FILTER_ANDLDAP_FILTER_ORLDAP_FILTER_NOT
mail=foo), will return the type mail.
#include "slapi-plugin.h" int slapi_filter_get_attribute_type( Slapi_Filter *f, char **type );
This function takes the following parameters:
|
f
| Filter from which you wish to get the substring values. |
|
type
| Pointer to the attribute type of the filter. |
This function returns the attribute type of the filter.
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 structure when slapi_filter_free() is called.

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.