33.27. slapi_mods_add_smod()
mod passed in is not copied or duplicated, but the reference is used directly.
This function appends a new smod to a Slapi_Mods. The function slapi_mods_get_num_mods() gives the number of mods in the Slapi_Mods structure.
#include "slapi-plugin.h" void slapi_mods_add_smod( Slapi_Mods *smods, Slapi_Mod *smod );
This function takes the following parameters:
|
mods
| Pointer to an initialized Slapi_Mods. |
|
smod
| Pointer to an initialized Slapi_Mod. |
This function must not be used on a Slapi_Mods initialized with slapi_mods_init_byref().

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.