Initializes a Slapi_Mod iterator and returns the first attribute value.
#include "slapi-plugin.h" struct berval *slapi_mod_get_first_value(Slapi_Mod *smod);
This function takes the following parameter:
Pointer to an initialized Slapi_Mod.
This function returns a pointer to the first attribute value in the Slapi_Mod, or NULL if no values exist.
Use this function with slapi_mod_get_next_value() to iterate through the attribute values in a Slapi_Mod structure.