mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-08-11 04:30:44 +02:00
commit bash-20070329 snapshot
This commit is contained in:
@@ -66,6 +66,16 @@ extern int errno;
|
||||
extern int inet_aton __P((const char *, struct in_addr *));
|
||||
#endif
|
||||
|
||||
#ifndef HAVE_GETADDRINFO
|
||||
static int _getaddr __P((char *, struct in_addr *));
|
||||
static int _getserv __P((char *, int, unsigned short *));
|
||||
static int _netopen4 __P((char *, char *, int));
|
||||
#else /* HAVE_GETADDRINFO */
|
||||
static int _netopen6 __P((char *, char *, int));
|
||||
#endif
|
||||
|
||||
static int _netopen __P((char *, char *, int));
|
||||
|
||||
#ifndef HAVE_GETADDRINFO
|
||||
/* Stuff the internet address corresponding to HOST into AP, in network
|
||||
byte order. Return 1 on success, 0 on failure. */
|
||||
|
||||
Reference in New Issue
Block a user