Increments the Slapi_Mods iterator and returns the next mod wrapped in a Slapi_Mods.
#include "slapi-plugin.h" Slapi_Mod *slapi_mods_get_next_smod(Slapi_Mods *smods, Slapi_Mod *smod);
This function takes the following parameters:
A pointer to a an initialized Slapi_Mods.
Pointer to a Slapi_Mod that used to hold the mod.
This function returns a pointer to the Slapi_Mod, wrapping the next mod, or NULL if there are no more mods.
Use this function in conjunction with slapi_mods_get_first_smod() to iterate through the mods in a Slapi_Mods using a Slapi_Mods wrapper.
Only one thread may be iterating through a particular Slapi_Mods at any given time.