Netscape DIRECTORY SERVER 6.1 - PLUG-IN Manual page 255

Table of Contents

Advertisement

slapi_attr_next_value()
Gets the next value of an attribute.
Syntax
#include "slapi-plugin.h"
int slapi_attr_next_value( Slapi_Attr *a, int hint,
Slapi_Value **v );
Parameters
This function takes the following parameters:
a
hint
v
Returns
This function returns one of the following values:
hint plus 1 if the value is found
-1 if NULL, or if a value at hint is not found
Description
Use this function to get the next value of an attribute. The value of an attribute
associated with an index is placed into a value. This is part of a set of functions to
enumerate over a
See Also
slapi_attr_first_value()
slapi_attr_get_numvalues()
slapi_attr_set_valueset()
Initializes a valueset in a
structure.
Attribute contained the desired value.
Index of the value to be returned.
Holds the value of the attribute.
structure.
Slapi_Attr
structure from a specified
Slapi_Attr
Functions for Handling Attributes
Slapi_ValueSet
Chapter 15
Function Reference
255

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.1

Table of Contents