#include <ldap.h> void ldap_mods_free( LDAPMod **mods, int freemods)
The ldap_mods_free() function is used to free storage associated with the ldap_modify() and related LDAP APIs.
ldap_mods_free() can be used to free each element of a NULL-terminated array of modification structures. If freemods is nonzero, the mods pointer itself is freed, otherwise freeing mods is left to the caller.
No i5/OS authority is required.
The ldap_mods_free() API does not return an error code.
The following message may be sent from this function.
Message ID | Error Message Text |
---|---|
CPF3CF2 E | Error(s) occurred during running of ldap_mods_free API. |
Top | LDAP APIs | APIs by category |