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

slapi_mod_get_next_value()

Increments the Slapi_Mod iterator and returns the next attribute value.

Syntax

#include "slapi-plugin.h"
 struct berval *slapi_mod_get_next_value(Slapi_Mod *smod);

Parameters

This function takes the following parameter:

smod

Pointer to an initialized Slapi_Mod.

Returns

This function returns a pointer to the next attribute value in the Slapi_Mod, or NULL if there are no more.

Description

Use this function with slapi_mod_get_first_value() to iterate through the attribute values in a Slapi_Mod.

See Also

slapi_mod_get_first_value()