ldap.h declares ldap_parse_verify_credentials_result(), but the .c files define and use ldap_parse_verify_credentials().
I guess the first name is most formally correct, but rather long. I suppose you could s/credentials/creds/ in the operation name.