#include <ldap.h>
int ldap_parse_reference( LDAP *ld, LDAPMessage *ref,
char ***referralsp, LDAPControl ***serverctrlsp,
int freeit );
ld |
Connection handle, which is a pointer to an |
ref |
Pointer to an |
referralsp |
When done, you can free this by calling the |
serverctrlsp |
Pointer to an array of
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 the referral URLs were retrieved successfully LDAP_DECODING_ERROR if an error occurred when decoding the BER-encoded message. LDAP_PARAM_ERROR if an invalid parameter was passed to the function LDAP_NO_MEMORY if memory cannot be allocated. ldap_parse_reference() function parses the referral URLs from an LDAPMessage structure of the type LDAP_RES_SEARCH_REFERENCE.
Last Updated: 10/01/98 17:06:23