Initializes a Slapi_Mods iterator and returns the first LDAPMod.
#include "slapi-plugin.h" LDAPMod *slapi_mods_get_first_mod(Slapi_Mods *smods);
This function takes the following parameter:
Pointer to an initialized Slapi_Mods.
This function returns a pointer to the first LDAPMod in the Slapi_Mods, or NULL if there are no mods.