Slapi_Filter_Get_Type() - Netscape DIRECTORY SERVER 7.0 - PLUG-IN Manual

For plug-in
Table of Contents

Advertisement

This filter finds entries in which the value of the
contains
Call this function to get these substring values as well as the attribute type from
this filter. In the case of the example above, calling this function gets the
substring
the attribute type
See Also
slapi_filter_get_attribute_type()
slapi_filter_get_ava()
slapi_filter_get_choice()

slapi_filter_get_type()

Applies only to filters of the type
specified in the filter.
Syntax
#include "slapi-plugin.h"
int slapi_filter_get_type( Slapi_Filter *f, char **type );
Parameters
This function takes the following parameters:
f
type
Returns
This function returns one of the following values:
0
-1
Description
Filters of the type
attribute is assigned a value. For example:
(mail=*)
, and ends with
Q
Public
, the
substring
John
any
.
cn
Filter from which you want to get the substring values.
Pointer to the attribute type of the filter.
if successful.
if the filter is not one of the types listed above.
LDAP_FILTER_PRESENT
attribute starts with
cn
.
, and the
substring
Q
final
LDAP_FILTER_PRESENT
generally determine if a specified
Chapter 15
Functions for Dealing with Filters
,
John
initial
in addition to
Public
. Gets the attribute type
Function Reference
367

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Subscribe to Our Youtube Channel

This manual is also suitable for:

Netscape directory server 7.0

Table of Contents