summaryrefslogtreecommitdiff
path: root/include/netdb.h
diff options
context:
space:
mode:
authorcmetz <cmetz@cvs.openbsd.org>1999-06-23 21:55:30 +0000
committercmetz <cmetz@cvs.openbsd.org>1999-06-23 21:55:30 +0000
commit0d589ac230ce63eb0d3ce399a31ffa5cb3904614 (patch)
tree85b14cb3cf4e439e2115cbd059e8c27ca279bc61 /include/netdb.h
parentb325ac5573bc3c88f13368f8b4a7f1e96de3ae60 (diff)
Added some protocol independent interfaces (supposedly IPv6 support APIs, but
ones that are useful for all protocols, not just IPv6).
Diffstat (limited to 'include/netdb.h')
-rw-r--r--include/netdb.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/netdb.h b/include/netdb.h
index c28a64a4457..af69f49c84d 100644
--- a/include/netdb.h
+++ b/include/netdb.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: netdb.h,v 1.5 1999/06/05 23:47:07 deraadt Exp $ */
+/* $OpenBSD: netdb.h,v 1.6 1999/06/23 21:55:29 cmetz Exp $ */
/*
* ++Copyright++ 1980, 1983, 1988, 1993
@@ -141,6 +141,7 @@ struct protoent {
#define AI_PASSIVE 1 /* socket address is intended for bind() */
#define AI_CANONNAME 2 /* request for canonical name */
#define AI_NUMERICHOST 4 /* don't ever try nameservice */
+#define AI_EXT 8 /* enable non-portable extensions */
#define NI_NUMERICHOST 1 /* return the host address, not the name */
#define NI_NUMERICSERV 2 /* return the service address, not the name */