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