Restores an object's attribute name and values that were saved by calling ldap_backup_object.
#include <ldapx.h> ldap_restore_object ( LDAP *ld, const char *dn, const char *passwd, char *objectInfo, char *chunckSize, int size);
(IN) Points to the handle for the LDAP session.
(IN) Points to the distinguished name of the object for which information is to be restored.
(IN) Points to the password for encryption and decryption, when any one of the attributes in the user object has been encrypted. If password is supplied then the connection to the servers will be over TLS.
(OUT) Points to the requested attribute names and values.
(OUT) Specifies the length of each chunk.
(OUT) Specifies the length of the information to be restored.