summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorume <ume@FreeBSD.org>2003-10-23 16:11:46 +0000
committerume <ume@FreeBSD.org>2003-10-23 16:11:46 +0000
commit7b5733448f7255d2d613bd4eb1496b92eb1c7f48 (patch)
treedffde0528984b3603fc5885bd323c3c9ae951c00 /include
parent221efc29787b2a3271e70dc41d5db7362401b7e0 (diff)
downloadFreeBSD-src-7b5733448f7255d2d613bd4eb1496b92eb1c7f48.zip
FreeBSD-src-7b5733448f7255d2d613bd4eb1496b92eb1c7f48.tar.gz
oops, I forget to diable EAI_ADDRFAMILY and EAI_NODATA.
Diffstat (limited to 'include')
-rw-r--r--include/netdb.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/netdb.h b/include/netdb.h
index cf55739..0fa4d16 100644
--- a/include/netdb.h
+++ b/include/netdb.h
@@ -149,13 +149,19 @@ struct addrinfo {
/*
* Error return codes from getaddrinfo()
*/
+#if 0
+/* obsoleted */
#define EAI_ADDRFAMILY 1 /* address family for hostname not supported */
+#endif
#define EAI_AGAIN 2 /* temporary failure in name resolution */
#define EAI_BADFLAGS 3 /* invalid value for ai_flags */
#define EAI_FAIL 4 /* non-recoverable failure in name resolution */
#define EAI_FAMILY 5 /* ai_family not supported */
#define EAI_MEMORY 6 /* memory allocation failure */
+#if 0
+/* obsoleted */
#define EAI_NODATA 7 /* no address associated with hostname */
+#endif
#define EAI_NONAME 8 /* hostname nor servname provided, or not known */
#define EAI_SERVICE 9 /* servname not supported for ai_socktype */
#define EAI_SOCKTYPE 10 /* ai_socktype not supported */
OpenPOWER on IntegriCloud