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