Netscape DIRECTORY SERVER 6.2 - PLUG-IN Manual page 353

Table of Contents

Advertisement

Memory Concerns
The attribute type is returned in type and should not be freed after calling this
function. It will be freed at the same time as the
slapi_filter_free()
See Also
slapi_filter_get_choice()
slapi_filter_get_ava()
slapi_filter_get_type()
slapi_filter_free()
slapi_filter_get_ava()
(Applies only to filters of the types
LDAP_FILTER_LE
from the filter.
Syntax
#include "slapi-plugin.h"
int slapi_filter_get_ava( Slapi_Filter *f, char **type,
struct berval **bval );
Parameters
This function takes the following parameters:
f
type
bval
Returns
This function returns one of the following values:
0 if successful.
-1 if the filter is not one of the types listed above.
is called.
LDAP_FILTER_EQUALITY
,
LDAP_FILTER_APPROX
Filter that you want to get the attribute and value from.
Pointer to the attribute type of the filter.
Pointer to the address of the berval structure containing the
value of the filter.
Functions for Dealing with Filters
Slapi_Filter
,
LDAP_FILTER_GE
) Gets the attribute type and the value
Chapter 15
structure when
,
Function Reference
353

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.2

Table of Contents