mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-20 22:59:34 -05:00
Added ldap_pvt_get_hname. Use instead of ldap_pvt_gethostbyaddr_a when
all you want is the hostname.
This commit is contained in:
parent
ac04ec0ca4
commit
e87f588f00
1 changed files with 8 additions and 0 deletions
|
|
@ -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 */
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue