Gets a reference to the LDAPMod in a Slapi_Mod structure.
#include "slapi-plugin.h" const LDAPMod *slapi_mod_get_ldapmod_byref(const Slapi_Mod *smod);
This function takes the following parameter:
Pointer to an initialized Slapi_Mod.
This function returns a pointer to a read-only LDAPMod owned by the Slapi_Mod.
Use this function to get direct access to the LDAPMod contained in a Slapi_Mod.
Responsibility for the LDAPMod remains with the Slapi_Mod.