summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-07-09 21:20:20 +0000
committerEric Andersen <andersen@codepoet.org>2001-07-09 21:20:20 +0000
commit8f6ad301913dc5ddfda7823510c17b8ce61df51c (patch)
tree5aa3f54536fdc7b42c9ae15836fb5c2a01f31cd2 /include
parent8df26e4f7bba3fb0f4c84df7c166fd5d5e09cf7b (diff)
A patch from Michal Moskal <malekith@pld.org.pl> to include
partial IPV6 support. This adds things like gethostbyname2(). Off by defaut, of course,
Diffstat (limited to 'include')
-rw-r--r--include/netdb.h1
1 files changed, 1 insertions, 0 deletions
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 *));