mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-28 04:34:54 -04:00
int endhostent support
This commit is contained in:
parent
23693a3897
commit
f1890a6c56
2 changed files with 17 additions and 0 deletions
|
|
@ -46,8 +46,15 @@ setnetent(int stayopen) {
|
|||
}
|
||||
#endif
|
||||
|
||||
#ifdef ISC_LWRES_SETNETENTINT
|
||||
int
|
||||
endnetent() {
|
||||
return (0);
|
||||
}
|
||||
#else
|
||||
void
|
||||
endnetent() {
|
||||
/* empty */
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
|
|||
|
|
@ -46,6 +46,11 @@
|
|||
*/
|
||||
@ISC_LWRES_SETNETENTINT@
|
||||
|
||||
/*
|
||||
* Define if endhostent returns int.
|
||||
*/
|
||||
@ISC_LWRES_ENDNETENTINT@
|
||||
|
||||
/*
|
||||
* Define if gethostbyaddr takes a void * as first arguement.
|
||||
*/
|
||||
|
|
@ -61,6 +66,11 @@
|
|||
*/
|
||||
@ISC_LWRES_ENDHOSTENTINT@
|
||||
|
||||
/*
|
||||
* Define if h_errno if not defined by netdb.h.
|
||||
*/
|
||||
@ISC_LWRES_NEEDHERRNO@
|
||||
|
||||
#ifdef ISC_LWRES_NEEDADDRINFO
|
||||
struct addrinfo {
|
||||
int ai_flags; /* AI_PASSIVE, AI_CANONNAME */
|
||||
|
|
|
|||
Loading…
Reference in a new issue