33.47. slapi_mods_insert_smod_before()
This function inserts an smod immediately before the current position of the Slapi_Mods iterator. The iterator position is unchanged.
#include "slapi-plugin.h" void slapi_mods_insert_smod_before(Slapi_Mods *smods, Slapi_Mod *smod);
This function takes the following parameters:
|
mods
| Pointer to an initialized Slapi_Mods. |
|
smod
| Pointer to the Slapi_Mod to be inserted. |
The Slapi_Mod argument smod is not duplicated or copied, but the reference of the Slapi_Mod(smods) is passed into the Slapi_Mods(smods) structure. The responsibility for the smod is transferred to the Slapi_Mods.

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.