Syntax
#include "slapi-plugin.h"
int slapi_filter_get_choice( Slapi_Filter *f );
Parameters
This function takes the following parameters:
f
Returns
This function returns one of the following values:
•
LDAP_FILTER_AND
For example:
(&(ou=Accounting)(l=Sunnyvale))
•
LDAP_FILTER_OR
For example:
(|(ou=Accounting)(l=Sunnyvale))
•
LDAP_FILTER_NOT
For example:
(!(l=Sunnyvale))
•
LDAP_FILTER_EQUALITY
For example:
(ou=Accounting)
•
LDAP_FILTER_SUBSTRINGS
For example:
(ou=Account*Department)
•
LDAP_FILTER_GE
For example:
(supportedLDAPVersion>=3)
•
LDAP_FILTER_LE
For example:
(supportedLDAPVersion<=2)
•
LDAP_FILTER_PRESENT
For example:
(mail=*)
•
LDAP_FILTER_APPROX
For example:
(ou~=Sales)
•
LDAP_FILTER_EXTENDED
Filter of which you want to get type.
(AND filter)
(OR filter)
(NOT filter)
(equals filter)
(substring filter)
("greater than or equal to" filter)
("less than or equal to" filter)
(presence filter)
(approximation filter)
(extensible filter)
Functions for Dealing with Filters
Chapter 15
Function Reference
365
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