Returns the type of message associated with the res parameter.
#include <ldap.h> int ldap_msgtype ( LDAPMessage *res);
(IN) Points to a message chain returned by the ldap_result, ldap_search_s, ldap_search_st, or ldap_search_ext_s function.
For a list of possible types, see Section 6.9, Result Message Types.