Netscape DIRECTORY SERVER 6.02 - PLUG-IN Manual page 315

Table of Contents

Advertisement

Parameters
This function takes the following parameters:
f
type
Returns
This function returns one of the following values:
0 if successful.
-1 if the filter is not one of the types listed above.
Description
Filters of the type
attribute is assigned a value. For example:
(mail=*)
This filter finds entries that have a value assigned to the
Call this function to get the attribute type from this filter. In the case of the example
above, calling this function gets the attribute type
Memory Concerns
The string returned in the parameter type must not be freed after calling this
function. It will be freed when the structure
slapi_filter_free()
See Also
slapi_filter_get_attribute_type()
slapi_filter_get_ava()
slapi_filter_get_choice()
slapi_filter_join()
Joins the two specified filters using one of the following filter types:
LDAP_FILTER_AND
filter type
Filter that you want to get the substring values from.
Pointer to the attribute type of the filter.
LDAP_FILTER_PRESENT
.
,
LDAP_FILTER_OR
, the second filter should be
LDAP_FILTER_NOT
generally determine if a specified
mail
.
mail
Slapi_Filter
, or
LDAP_FILTER_NOT
NULL
Chapter 14
Functions for Dealing with Filters
attribute.
is freed by calling
. (When specifying the
.)
Function Reference
315

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.02

Table of Contents