Gets the next value of an attribute.
#include "slapi-plugin.h" int slapi_attr_next_value_const( const Slapi_Attr *a, int index, const Slapi_Value **v );
This function takes the following parameters:
Attribute contained the desired value.
Index of the value to be returned, counting from 0.
Holds the value of the attribute.
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
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.