ldap_msgid

Returns the message ID associated with the res parameter.

Library:*ldapsdk.*
NDS Version:7.xx or higher
Platform:NLM, Windows (NT, 95, 98, 2000, XP, Vista 32-bit and 64-bit ), Linux (32-bit and 64-bit), Solaris, AIX, and HP-UX

Syntax

  #include <ldap.h>
  
  int ldap_msgid (
     LDAPMessage   *res);
  
  

Parameters

res

(IN) Points to a message chain returned by the ldap_result, ldap_search_s, ldap_search_st, or ldap_search_ext_s function.

Return Values

>0

The message ID

-1

Failure

See Also

ldap_msgfree, ldap_msgtype