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

slapi_mod_get_num_values()

Gets the number of values in a Slapi_Mod structure.

Syntax

#include "slapi-plugin.h"
 int slapi_mod_get_num_values(const Slapi_Mod *smod);

Parameters

This function takes the following parameter:

smod

Pointer to an initialized Slapi_Mod.

Returns

This function returns the number of attribute values in the Slapi_Mod.