Puts the count of values of an attribute into a provided integer.
#include "slapi-plugin.h" int slapi_attr_get_numvalues( const Slapi_Attr *a, int *numValues);
This function takes the following parameters:
Attribute containing the values to be counted.
Integer to hold the counted values.
This function always returns 0.
This function counts the number of values in an attribute and places that count in an integer.