aboutsummaryrefslogtreecommitdiff
path: root/include
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 /include
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 'include')
-rw-r--r--include/netdb.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/include/netdb.h b/include/netdb.h
index 7b446058a1..e8f28e8c67 100644
--- a/include/netdb.h
+++ b/include/netdb.h
@@ -181,13 +181,9 @@ extern int ruserpass (const char *host, const char **aname,
libc_hidden_proto (ruserpass)
-/* The following declarations and definitions have been removed from
- the public header since we don't want people to use them. */
+/* The following definition has been removed from the public header
+ since we don't want people to use them. */
-#define AI_V4MAPPED 0x0008 /* IPv4-mapped addresses are acceptable. */
-#define AI_ALL 0x0010 /* Return both IPv4 and IPv6 addresses. */
-#define AI_ADDRCONFIG 0x0020 /* Use configuration of this host to choose
- returned address type. */
#define AI_DEFAULT (AI_V4MAPPED | AI_ADDRCONFIG)
#include <inet/netgroup.h>