ldap_lburp_parse_operation_response

Parses LBURP operation response data when the result code is LDAP_RES_EXTENDED.

LDAP Version:v3
Library:*ldapx.*
NDS Version:8.5
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 <ldapx.h>int ldap_parse_lburp_operation_response(        LDAP *ld,        LDAPMessage *lburpMessage,        int *resultCode,        char    **errorMsg,        int *failedOperationCount,        LBURPUpdateResult **failedOperations,        int freeIt);
  

Parameters

ld

(IN) Points to the handle for the LDAP session.

lburpOperationMessage

(IN) Pointer to the LDAPMessage returned by ldap_result.

resultCode

(OUT) Returns the responseCode from the server.

errorMessage

(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.

failedOperationCount

(OUT) Returns the number of failed operations from the server, may be NULL if no data is requested. This memory must be freed using ldapx_memfree.

failedOperations

(OUT) a pointer to a pointer to a structure containing the data returned by this particular LBURP operation.

The structure is allocated by this function. If the LUBRP operation is success, does not have associated data the pointer will be set to NULL. When the application no longer needs the data it should free the data by calling the ldapx_memfree function.

failedOperations

(IN) If non-zero, the function will free the memory referenced by the lburpMessage parameter.