Gets the first value of an attribute.
#include "slapi-plugin.h" int slapi_attr_first_value_const( const Slapi_Attr *a, const Slapi_Value **v );
This function takes the following parameters:
Attribute containing the desired value.
Holds the first value of the attribute.
This function returns one of the following values:
0, which is the index of the first value.
-1 if NULL.
Use this function to get the first value of an attribute. This is part of a set of functions to enumerate over an Slapi_Attr structure.
Do not free the value held in v.