glibc/include/ifaddrs.h
Ulrich Drepper 1dc869d13c Update.
* inet/Makefile (aux): Add check_fd.
	* include/ifaddrs.h: Add prototype for __check_fd.
	* sysdeps/generic/check_fd.c: New file.
	* sysdeps/unix/sysv/linux/check_fd.c: New file.
	* sysdeps/unix/sysv/linux/ifaddrs.h (__no_netlink_support): Renamed
	from no_netlink_support.  Export.
	* sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call getifaddrs,
	call __check_pf.

	* sysdeps/generic/ifaddrs.h: Add libc_hidden_def.
2003-06-10 08:58:05 +00:00

11 lines
231 B
C

#ifndef _IFADDRS_H
#include <inet/ifaddrs.h>
#include <stdbool.h>
libc_hidden_proto (getifaddrs)
libc_hidden_proto (freeifaddrs)
extern void __check_pf (bool *seen_ipv4, bool *seen_ipv6) attribute_hidden;
#endif /* ifaddrs.h */