diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2007-06-21 15:57:54 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2007-06-21 15:57:54 +0000 |
commit | a71ecb55de2f98588febdef5b69d606abe2a775f (patch) | |
tree | 08ab881b256540b1f29a2d380b12ce926dc770b0 /winsup/cygwin/wincap.h | |
parent | d3c73d49994d4539fc25ad2d6c84c335283d32d6 (diff) | |
download | cygnal-a71ecb55de2f98588febdef5b69d606abe2a775f.tar.gz cygnal-a71ecb55de2f98588febdef5b69d606abe2a775f.tar.bz2 cygnal-a71ecb55de2f98588febdef5b69d606abe2a775f.zip |
* autoload.cc (WSAIoctl): Remove.
* cygwin.din: Export freeifaddrs, getifaddrs.
* fhandler_socket.cc (fhandler_socket::ioctl): Drop SOCKET parameter
from get_ifconf.
* net.cc: Include ifaddrs.h.
(in_are_prefix_equal): Match addresses in network byte order.
(ip_addr_prefix): Convert address into host byte order before
testing with IN_LOOPBACK.
(struct ifall): Define.
(get_xp_ifs): Replace get_xp_ifconf. Return struct ifall array.
(get_2k_ifs): Ditto, replace get_2k_ifconf.
(get_nt_ifs): Ditto, replace get_nt_ifconf.
(getifaddrs): New function.
(freeifaddrs): New function.
(get_ifconf): Call matching get_XX_ifs function and create
ifc content from here. Drop lo fake since it's now in get_nt_ifs.
* posix.sgml: Add freeifaddrs and getifaddrs to list of implemented
BSD functions.
* wincap.h (wincapc::has_broken_if_oper_status): New element.
* wincap.cc: Implement above element throughout.
* include/ifaddrs.h: New file.
* include/cygwin/version.h: Bump API minor number.
Diffstat (limited to 'winsup/cygwin/wincap.h')
-rw-r--r-- | winsup/cygwin/wincap.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/winsup/cygwin/wincap.h b/winsup/cygwin/wincap.h index 5d0ce7511..2215bf974 100644 --- a/winsup/cygwin/wincap.h +++ b/winsup/cygwin/wincap.h @@ -18,6 +18,7 @@ struct wincaps unsigned is_server : 1; unsigned has_security_descriptor_control : 1; unsigned has_ip_helper_lib : 1; + unsigned has_broken_if_oper_status : 1; unsigned has_physical_mem_access : 1; unsigned has_process_io_counters : 1; unsigned has_terminal_services : 1; @@ -61,6 +62,7 @@ public: bool IMPLEMENT (is_server) bool IMPLEMENT (has_security_descriptor_control) bool IMPLEMENT (has_ip_helper_lib) + bool IMPLEMENT (has_broken_if_oper_status) bool IMPLEMENT (has_physical_mem_access) bool IMPLEMENT (has_process_io_counters) bool IMPLEMENT (has_terminal_services) |