Skip to content
Snippets Groups Projects
Commit e87f588f authored by Howard Chu's avatar Howard Chu
Browse files

Added ldap_pvt_get_hname. Use instead of ldap_pvt_gethostbyaddr_a when

all you want is the hostname.
parent ac04ec0c
No related branches found
No related tags found
No related merge requests found
......@@ -66,6 +66,14 @@ ldap_pvt_gethostbyaddr_a LDAP_P((
struct hostent **result,
int *herrno_ptr ));
LDAP_F( int )
ldap_pvt_get_hname LDAP_P((
const struct sockaddr * sa,
int salen,
char *name,
int namelen,
char **herr ));
/* charray.c */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment