1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-29 11:41:21 +03:00
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.
This commit is contained in:
Ulrich Drepper
2003-04-24 23:45:17 +00:00
parent ff479b9b9a
commit 925c3c5c71
8 changed files with 582 additions and 105 deletions

View File

@ -796,6 +796,7 @@ getifaddrs (struct ifaddrs **ifap)
return result;
}
libc_hidden_def (getifaddrs)
#if __ASSUME_NETLINK_SUPPORT != 0
@ -804,4 +805,5 @@ freeifaddrs (struct ifaddrs *ifa)
{
free (ifa);
}
libc_hidden_def (freeifaddrs)
#endif