aboutsummaryrefslogtreecommitdiff
path: root/resolv/netdb.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-04-24 23:45:17 +0000
committerUlrich Drepper <drepper@redhat.com>2003-04-24 23:45:17 +0000
commit925c3c5c71596c02f7e58a0ffcdcaae44eb065c1 (patch)
tree1ac5199106016db86039f88269b97bdb1435ce24 /resolv/netdb.h
parentff479b9b9a6d8524214e4e86df8a20663c4b95ff (diff)
downloadglibc-925c3c5c71596c02f7e58a0ffcdcaae44eb065c1.tar
glibc-925c3c5c71596c02f7e58a0ffcdcaae44eb065c1.tar.gz
glibc-925c3c5c71596c02f7e58a0ffcdcaae44eb065c1.tar.bz2
glibc-925c3c5c71596c02f7e58a0ffcdcaae44eb065c1.zip
Update.
2003-04-24 Ulrich Drepper <drepper@redhat.com> * include/ifaddrs.h: New file. * include/netdb.h: Move definitions of AI_V4MAPPED, AI_ALL, and AI_ADDRCONFIG... * resolv/netdb.h: ...here. * sysdeps/gnu/ifaddrs.c. Use libc_hidden_def where appropriate. * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise. * sysdeps/posix/getaddrinfo.c: Implement AI_V4MAPPED, AI_ALL, and AI_ADDRCONFIG.
Diffstat (limited to 'resolv/netdb.h')
-rw-r--r--resolv/netdb.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/resolv/netdb.h b/resolv/netdb.h
index 69c2f8a11c..cca9ffc830 100644
--- a/resolv/netdb.h
+++ b/resolv/netdb.h
@@ -569,6 +569,10 @@ struct gaicb
# define AI_PASSIVE 0x0001 /* Socket address is intended for `bind'. */
# define AI_CANONNAME 0x0002 /* Request for canonical name. */
# define AI_NUMERICHOST 0x0004 /* Don't use name resolution. */
+# define AI_V4MAPPED 0x0008 /* IPv4 mapped addresses are acceptable. */
+# define AI_ALL 0x0010 /* Return IPv4 mapped and IPv6 addresses. */
+# define AI_ADDRCONFIG 0x0020 /* Use configuration of this host to choose
+ returned address type.. */
/* Error values for `getaddrinfo' function. */
# define EAI_BADFLAGS -1 /* Invalid value for `ai_flags' field. */