ldap_msgtype()
Purpose
Return the message type
Format
#include <ldap.h>
int ldap_msgtype(
LDAPMessage * msg)
Parameters
Input
- msg
- Specifies the LDAP message.
Usage
The ldap_msgtype() routine returns the message type for an LDAP message.
Function return value
The function return value is the message type. If the message address
is NULL
or is not the address of an LDAP message, the function
return value is 0
.