Initializes a Slapi_Mods structure from an array of LDAPMod.
#include "slapi-plugin.h" void slapi_mods_init_passin(Slapi_Mods *smods, LDAPMod **mods);
This function takes the following parameters:
Pointer to an uninitialized Slapi_Mods.
A NULL terminated array of LDAPMod.
This function initializes a Slapi_Mods by passing in an array of LDAPMod. This function converts an array of LDAPMod to a Slapi_Mods .
The responsibility for the array and its elements is transferred to the Slapi_Mods. The array and its elements are destroyed when the Slapi_Mods is destroyed.