LDAPMessage is a type of structure representing the results of an LDAP operation, a chain of search results, an entry in the search results, or a search reference in the search results. LDAPMessage is not completely defined in ldap.h because the fields within the structure are not intended to be directly accessible to clients.
Calling the ldap_search_ext_s() or ldap_search_ext() followed by ldap_result() function creates an LDAPMessage structure to represent the chain of results of a search. Calling the ldap_first_entry() or ldap_next_entry() function creates an LDAPMessage structure to represent an entry in the search results. Calling the ldap_first_reference() or ldap_next_reference() function creates an LDAPMessage structure to represent a search reference in the search results.
To free the LDAPMessage structure, call the ldap_msgfree() routine.
Last Updated: 10/01/98 17:05:28