Gets the type of the specified filter such as LDAP_FILTER_EQUALITY, for example.
#include "slapi-plugin.h" int slapi_filter_get_choice( Slapi_Filter *f );
This function takes the following parameter:
Filter type that you wish to get.
This function returns one of the following values:
LDAP_FILTER_AND (AND filter)
For example: (&(ou=Accounting)(l=Sunnyvale))
LDAP_FILTER_OR (OR filter)
For example: (|(ou=Accounting)(l=Sunnyvale))
LDAP_FILTER_NOT (NOT filter)
For example: (!(l=Sunnyvale))
LDAP_FILTER_EQUALITY (equals filter)
For example: (ou=Accounting)
LDAP_FILTER_SUBSTRINGS (substring filter)
For example: (ou=Account*Department)
LDAP_FILTER_GE (“greater than or equal to” filter)
For example: (supportedLDAPVersion>=3)
LDAP_FILTER_LE (“less than or equal to” filter)
For example: (supportedLDAPVersion<=2)
LDAP_FILTER_PRESENT (presence filter)
For example: (mail=*)
LDAP_FILTER_APPROX (approximation filter)
For example: (ou~=Sales)
LDAP_FILTER_EXTENDED (extensible filter)
For example: (o:dn:=Example)