Netscape DIRECTORY SERVER 6.1 - 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 • August 2002
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

This manual is also suitable for:

Directory server 6.1

Table of Contents