#include <ldap.h> void ldap_ber_free( BerElement *berptr)
|
The ldap_ber_free() routine is used to free the BerElement pointed to by berptr. The LDAP library automatically frees the BerElement when ldap_next_attribute() returns NULL. The application is responsible for freeing the BerElement if for some reason it does not invoke ldap_next_attribute() until it returns NULL.
No OS/400 authority is required. All authority checking is done by the LDAP server.
ldap_ber_free() 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_ber_free API.
ldap_memfree() -- free up storage that has been allocated by the LDAP client library.
ldap_control_free() -- free a single LDAPControl structure.
ldap_controls_free() -- free an array of LDAPControl structures.
ldap_msgfree() -- free up results allocated.
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] |