#include <ldap.h>
int ldap_parse_extended_result( LDAP *ld, LDAPMessage *res,
char **retoidp, struct berval **retdatap, int freeit );
ld |
Connection handle, which is a pointer to an |
res |
Pointer to the |
retoidp |
When done, you can free this by calling the |
retdatap |
Pointer to the pointer to a
When done, you can free this by calling the |
freeit |
Specifies whether or not to free the results of the operation (the |
LDAP_SUCCESS if successful. LDAP_PARAM_ERROR if any of the arguments are invalid. LDAP_DECODING_ERROR if an error occurred when decoding the BER-encoded results from the server. LDAP_NOT_SUPPORTED if your LDAP client does not specify that it is using the LDAP v3 protocol. Make sure that you set the version of your LDAP client to version 3 before calling this function. (For details, see "Specifying the LDAP Version of Your Client" on page 54.) ldap_extended_operation() function and the ldap_result() function, you can pass the results to the ldap_parse_extended_result() function. ldap_parse_extended_result() parses the server's response to an extended operation.
This function gets the following data from the server's response:
retoidp argument. berval structure as the retdatap argument. ld structure. You can get the result code by calling the ldap_get_lderrno() function. ldap_extended_operation_s() function. ldap_extended_operation(), ldap_get_lderrno().
Last Updated: 10/01/98 17:06:23