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

slapi_valueset_count()

Returns the number of values contained in a Slapi_ValueSet structure.

Syntax

#include "slapi-plugin.h"
 int slapi_valueset_count(const Slapi_ValueSet *vs);

Parameters

This function takes the following parameter:

vs

Pointer to the Slapi_ValueSet structure of which you wish to get the count.

Returns

This function returns the number of values contained in the Slapi_ValueSet structure.