Netscape DIRECTORY SERVER 6.2 - PLUG-IN Manual page 352

Table of Contents

Advertisement

Functions for Dealing with Filters
See Also
slapi_str2filter()
slapi_pblock_get()
slapi_filter_get_attribute_type()
Gets the attribute type for all simple filter choices.
Syntax
#include "slapi-plugin.h"
int slapi_filter_get_attribute_type( Slapi_Filter *f, char **type );
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 (
352
Netscape Directory Server Plug-In Programmer's Guide • December 2003
Filter from which you wish to get the substring values.
Pointer to the attribute type of the filter.
), will return the type
mail-foo
.
mail

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the NETSCAPE DIRECTORY SERVER 6.2 - PLUG-IN and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Directory server 6.2

Table of Contents