Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2007-01-17 22:26:58 +0300
committerCorinna Vinschen <corinna@vinschen.de>2007-01-17 22:26:58 +0300
commit96d7dee2f0ae6f69124d2cd2f495e93135dbb741 (patch)
treed08fe91a382b48eb6fb11e3559a6466c5cd53c16 /winsup/cygwin/wincap.h
parent12ffdde350a85a5bbdfac74dad9a3732ca136088 (diff)
* Makefile.in (DLL_OFILES): Add fhandler_procnet.o.
* autoload.cc (GetAdaptersAddresses): Define. * devices.h (FH_PROCNET): Define new device. * devices.in (dev_procnet_storage): Add "/proc/net" entry. * devices.cc: Regenerate. * dir.cc (readdir_worker): Use isproc_dev macro. * dtable.cc (build_fh_pc): Add FH_PROCNET. * fhandler.h (class fhandler_procnet): New class. * fhandler_proc.cc: Add "net" subdirectory handling. * fhandler_procnet.cc: New file handling "/proc/net" directory. * path.cc (isvirtual_dev): Move to path.h. * path.h (isproc_dev): New macro to identify /proc files by device. (isvirtual_dev): Moved here. Define using isproc_dev. * syscalls.cc (unlink): Use isproc_dev macro. * wincap.h (wincapc::has_gaa_prefixes): New element. (wincapc::has_gaa_on_link_prefix): New element. * wincap.cc: Implement above elements throughout. (wincapc::init): Check XP for service pack and set has_gaa_prefixes appropriately. * include/cygwin/in6.h: Include asm/byteorder.h.
Diffstat (limited to 'winsup/cygwin/wincap.h')
-rw-r--r--winsup/cygwin/wincap.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/winsup/cygwin/wincap.h b/winsup/cygwin/wincap.h
index 896f61109..de5d9a8d4 100644
--- a/winsup/cygwin/wincap.h
+++ b/winsup/cygwin/wincap.h
@@ -1,6 +1,6 @@
/* wincap.h: Header for OS capability class.
- Copyright 2001, 2002, 2003, 2004, 2005, 2006 Red Hat, Inc.
+ Copyright 2001, 2002, 2003, 2004, 2005, 2006, 2007 Red Hat, Inc.
This file is part of Cygwin.
@@ -73,6 +73,8 @@ struct wincaps
unsigned needs_logon_sid_in_sid_list : 1;
unsigned needs_count_in_si_lpres2 : 1;
unsigned has_recycle_dot_bin : 1;
+ unsigned has_gaa_prefixes : 1;
+ unsigned has_gaa_on_link_prefix : 1;
};
class wincapc
@@ -152,6 +154,8 @@ public:
bool IMPLEMENT (needs_logon_sid_in_sid_list)
bool IMPLEMENT (needs_count_in_si_lpres2)
bool IMPLEMENT (has_recycle_dot_bin)
+ bool IMPLEMENT (has_gaa_prefixes)
+ bool IMPLEMENT (has_gaa_on_link_prefix)
#undef IMPLEMENT
};