33.40. slapi_mods_init()
Initializes a Slapi_Mods so that it is empty but initially has room for the given number of mods.
#include "slapi-plugin.h" void slapi_mods_init(Slapi_Mods *smods, int initCount);
This function takes the following parameters:
|
mods
| Pointer to an initialized Slapi_Mods. |
|
initCount
parameter | Suggested number of mods for which to make room. The minimum value is 0. |
If you are unsure of how much room you will need, you may use an initCountof 0. The Slapi_Mods expands as necessary.

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.