From 8f6ad301913dc5ddfda7823510c17b8ce61df51c Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Mon, 9 Jul 2001 21:20:20 +0000 Subject: A patch from Michal Moskal to include partial IPV6 support. This adds things like gethostbyname2(). Off by defaut, of course, --- include/netdb.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/netdb.h b/include/netdb.h index 888b87ded..96358bd85 100644 --- a/include/netdb.h +++ b/include/netdb.h @@ -153,6 +153,7 @@ void endservent __P((void)); void endrpcent __P ((void)); struct hostent *gethostbyaddr __P((__const char *, int, int)); struct hostent *gethostbyname __P((__const char *)); +struct hostent *gethostbyname2 __P((__const char *, int)); struct hostent *gethostent __P((void)); struct netent *getnetbyaddr __P((long, int)); /* u_long? */ struct netent *getnetbyname __P((__const char *)); -- cgit v1.2.3