From 925c3c5c71596c02f7e58a0ffcdcaae44eb065c1 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Thu, 24 Apr 2003 23:45:17 +0000 Subject: Update. 2003-04-24 Ulrich Drepper * 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. --- include/netdb.h | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'include/netdb.h') diff --git a/include/netdb.h b/include/netdb.h index 7b44605..e8f28e8 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 -- cgit v1.1