Initial Release 6

Function : LDAP
ldap_msgtype - Returns the type of the LDAP message.
----------------------------------------------------------------------------------------------------------

#include <ldap.h>

int LNPUBLIC ldap_msgtype(
LDAPMessage *lm);

Description :

This function returns the type of the LDAP message it is passed as a parameter. It can be used to distinguish between the different message types: referral messages, entry messages, and result_messages. See LDAP_RES_xxx.

Parameters :

See Also :

ldap_first_entry
----------------------------------------------------------------------------------------------------------