Appends an LDAPMod to a Slapi_Mods structure.
#include "slapi-plugin.h" void slapi_mods_add_ldapmod(Slapi_Mods *smods, LDAPMod *mod);
This function takes the following parameters:
Pointer to an initialized Slapi_Mods.
Pointer to a the LDAPMod to be appended.
Appends an LDAPMod to a Slapi_Mods.
Responsibility for the LDAPMod is transferred to the Slapi_Mods.
This function must not be used on a Slapi_Mods initialized with slapi_mods_init_byref().