33.13. slapi_mod_init()
This function initializes a Slapi_Mod so that it is empty but initially has room for the given number of attribute values.
#include "slapi-plugin.h" void slapi_mod_init(Slapi_Mod *smod, int initCount);
This function takes the following parameters:
|
smod
| Pointer to an uninitialized Slapi_Mod. |
|
initCount
| Suggested number of attribute values for which to make room. Minimum value is 0. |
If you are unsure of the room you will need, you may use an initCountof 0. The Slapi_Mod 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.