Netscape DIRECTORY SERVER 6.2 - PLUG-IN Manual page 247

Table of Contents

Advertisement

Returns
This function returns one of the following values:
0, which is the index of the first value.
-1 if NULL, or if the value
Description
Use this function to get the first value of an attribute. This is part of a set of
functions to enumerate over an
See Also
slapi_attr_next_value()
slapi_attr_get_numvalues()
slapi_attr_flag_is_set()
Determines if certain flags are set for a particular attribute. These flags can identify
an attribute as a single-valued attribute, an operational attribute, or as a read-only
attribute.
Syntax
#include "slapi-plugin.h"
int slapi_attr_flag_is_set( Slapi_Attr *attr, unsigned long flag );
Parameters
This function takes the following parameters:
attr
flag
The value of the
SLAPI_ATTR_FLAG_SINGLE
SLAPI_ATTR_FLAG_OPATTR
SLAPI_ATTR_FLAG_READONLY
is not found.
hint
Slapi_Attr
Attribute that you want to check.
Flag that you want to check in the attribute.
argument can be one of the following:
flag
Flag that determines if the attribute is single-valued.
Flag that determines if the attribute is an operational
attribute.
Flag that determines if the attribute is read-only.
Functions for Handling Attributes
structure.
Chapter 15
Function Reference
247

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.2

Table of Contents