Netscape DIRECTORY SERVER 6.02 - PLUG-IN Manual page 311

Table of Contents

Advertisement

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.
Description
Filters of the type
and
LDAP_FILTER_APPROX
example:
(cn=Barbara Jensen)
This filter finds entries in which the value of the
Jensen
The attribute
the parameter
,
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.
LDAP_FILTER_EQUALITY
generally compare a value against an attribute. For
.
is returned in the parameter type, and the value is returned in
type
.
bval
LDAP_FILTER_EQUALITY
) Gets the attribute type and the value
,
LDAP_FILTER_GE
attribute is equal to
cn
Chapter 14
Functions for Dealing with Filters
,
,
LDAP_FILTER_GE
,
,
LDAP_FILTER_LE
Barbara
Function Reference
311

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.02

Table of Contents