Inserts a Slapi_Mod into a Slapi_Mods structure before the current iterator position.
#include "slapi-plugin.h" void slapi_mods_insert_smod_before(Slapi_Mods *smods, Slapi_Mod *smod);
This function takes the following parameters:
Pointer to an initialized Slapi_Mods with a valid iterator position.
Pointer to the Slapi_Mod to be inserted.
Inserts a Slapi_Mod into a Slapi_Mods immediately before the current position of the Slapi_Mods iterator. The iterator position is unchanged.
The responsibility for the Slapi_Mod is transferred to the Slapi_Mods.
This function must not be used on a Slapi_Mods initialized with slapi_mods_init_byref().