Syntax
#include "slapi-plugin.h" int slapi_filter_get_choice( Slapi_Filter *f );
Parameters
The function has the following parameters:
Returns
One of the following values:
LDAP_FILTER_AND (AND filter) For example: (&(ou=Accounting)(l=Sunnyvale))
For example: (&(ou=Accounting)(l=Sunnyvale))
LDAP_FILTER_OR (OR filter) For example: (|(ou=Accounting)(l=Sunnyvale))
For example: (|(ou=Accounting)(l=Sunnyvale))
LDAP_FILTER_NOT (NOT filter) For example: (!(l=Sunnyvale))
For example: (!(l=Sunnyvale))
LDAP_FILTER_EQUALITY (equals filter) For example: (ou=Accounting)
For example: (ou=Accounting)
LDAP_FILTER_SUBSTRINGS (substring filter) For example: (ou=Account*Department)
For example: (ou=Account*Department)
LDAP_FILTER_GE ("greater than or equal to" filter) For example: (supportedLDAPVersion>=3)
For example: (supportedLDAPVersion>=3)
LDAP_FILTER_LE ("less than or equal to" filter) For example: (supportedLDAPVersion<=2)
For example: (supportedLDAPVersion<=2)
LDAP_FILTER_PRESENT (presence filter) For example: (mail=*)
For example: (mail=*)
LDAP_FILTER_APPROX (approximation filter) For example: (ou~=Sales)
For example: (ou~=Sales)
LDAP_FILTER_EXTENDED (extensible filter) For example: (o:dn:=Airius)
For example: (o:dn:=Airius)
[To be added]
See Also