slapi_attr_get_values()

slapi_attr_get_values() receives the value of the specified attribute.

Syntax
#include "slapi-plugin.h"
int slapi_attr_get_values( Slapi_Attr *attr,
			struct berval ***vals );
Parameters
attr
An attribute that you want to get the flags for.
vals
When slapi_attr_get_values() is called, vals is set to a pointer that indicates a NULL-terminated array of berval structures (representing the values of the attribute). Do not free the array; the array is part of the actual data in the attribute, not a copy of the data.
Returns
If successful, 0 is returned.