#include <ldap.h> void ldap_memfree( char *mem)
|
The ldap_memfree() function is used to free storage that is allocated by an LDAP API. Use this routine as directed when using ldap_get_errno(), ldap_get_option(), and ldap_first_attribute().
For those LDAP APIs that allocate an LDAPControl structure, the ldap_control_free() API can be used.
For those LDAP APIs that allocate an array of LDAPControl structures, the ldap_controls_free() API can be used.
No OS/400 authority is required. All authority checking is done by the LDAP server.
ldap_memfree() API does not return an error code.
The following message may be set from this function.
CPF3CF2 E Error(s) occurred during running of ldap_memfree API.
ldap_control_free() -- free a single LDAPControl structure.
ldap_controls_free() -- free an array of LDAPControl structures.
ldap_ber_free() -- free up the BerElement structure.
ldap_msgfree() -- free up the LDAPMessage structure.
ldap_mods_free() -- free up an array of pointers to mod structures.
|
Top
| LDAP APIs List APIs by category |
| [Information Center Home Page | Feedback ] | [Legal | AS/400 Glossary] |