Creates a Slapi_Entry from an array of LDAPMod.
#include "slapi-plugin.h" int slapi_mods2entry(Slapi_Entry **e, const char *dn, LDAPMod **attrs);
This function takes the following parameters:
Address of a pointer that will be set on return to the created entry.
The LDAP DN of the entry.
An array of LDAPMod of type LDAP_MOD_ADD representing the entry attributes.
This function returns LDAP_SUCCESS if successful, or an LDAP return code if not successful.
This function creates a Slapi_Entry from a copy of an array of LDAPMod of type LDAP_MODD_ADD .