Sun Java System Directory Server Enterprise Edition 6.2 Developer's Guide

Syntax

#include "slapi-plugin.h"
 int slapi_attr_get_numvalues( const Slapi_Attr *a, int *numValues);