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