Sun Java System Directory Server Enterprise Edition 6.2 Developer's Guide

slapi_attr_next_value_const()

Gets the next value of an attribute.

Syntax

#include "slapi-plugin.h"
 int slapi_attr_next_value_const( const Slapi_Attr *a, int index,
    const Slapi_Value **v );

Parameters

This function takes the following parameters:

a

Attribute contained the desired value.

index

Index of the value to be returned, counting from 0.

v

Holds the value of the attribute.

Returns

This function returns one of the following values:

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 Slapi_Attr structure.

See Also

slapi_attr_first_value_const()

slapi_attr_get_numvalues()