19.15. slapi_attr_next_value()
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.
#include "slapi-plugin.h" int slapi_attr_next_value( Slapi_Attr *a, int hint, Slapi_Value **v );
This function takes the following parameters:
| a | Attribute contained the desired value. |
| hint | Index of the value to be returned. |
| v | Holds the value of the attribute. |
This function returns one of the following values:
hintplus1if the value is found.- -1 if null or if a value at
hintis not found.

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.