Added ldap_pvt_get_hname. Use instead of ldap_pvt_gethostbyaddr_a when

all you want is the hostname.
This commit is contained in:
Howard Chu 2003-03-05 01:34:31 +00:00
parent ac04ec0ca4
commit e87f588f00

View file

@ -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 */