Parses LBURP end response data when the result code is LDAP_RES_EXTENDED.
#include <ldapx.h>int ldap_parse_lburp_end_response ( LDAP *ld, LDAPMessage *lburpEndMessage, int *resultCode, char **errorMsg, int freeIt)
(IN) Points to the handle for the LDAP session.
(IN) Pointer to the LDAPMessage returned by ldap_result.
(OUT) Returns the responseCode from the server.
(OUT) Returns the error message from the server, may be NULL if no error messages are requested. This memory must be freed using ldap_memfree.
(OUT) Returns the number of bad events from the server, may be NULL if no data is requested. This memory must be freed using ldapx_memfree.
(IN) If non-zero, the function will free the memory referenced by the lburpEndMessage parameter.
0x00 |
LDAP_SUCCESS |
Non-zero |
Failure. For a complete list, see |
0x53 |
LDAP_ENCODING_ERROR |
0x5A |
LDAP_NO_MEMORY |
To obtain the results of the operation, call the ldap_result function with the returned message ID.