diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2011-12-22 16:25:10 +0400 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2011-12-22 16:25:10 +0400 |
commit | 3a24189bbae9d1b1943e17038e78bb7d65f2a848 (patch) | |
tree | 6a8935c6f5899db38525d5b9daeae79cf1c0e707 /winsup/cygwin/include | |
parent | 3a03267d6d695b678128db6a8b7028b8b5f93e1f (diff) |
* external.cc (cygwin_internal): Implement CW_ALLOC_DRIVE_MAP,
CW_MAP_DRIVE_MAP, CW_FREE_DRIVE_MAP.
* fhandler_process.cc: Include mount.h.
(get_volume_path_names_for_volume_name): Move to mount.cc.
(struct dos_drive_mappings): Ditto.
* mount.cc (get_volume_path_names_for_volume_name): Move here.
(dos_drive_mappings::dos_drive_mappings): Ditto.
(dos_drive_mappings::fixup_if_match): Ditto.
(dos_drive_mappings::~dos_drive_mappings): Ditto.
* mount.h (class dos_drive_mappings): Declare her.
* include/sys/cygwin.h (cygwin_getinfo_types): Add CW_ALLOC_DRIVE_MAP,
CW_MAP_DRIVE_MAP, CW_FREE_DRIVE_MAP.
* include/cygwin/version.h: Bump API minor number.
Diffstat (limited to 'winsup/cygwin/include')
-rw-r--r-- | winsup/cygwin/include/cygwin/version.h | 3 | ||||
-rw-r--r-- | winsup/cygwin/include/sys/cygwin.h | 5 |
2 files changed, 6 insertions, 2 deletions
diff --git a/winsup/cygwin/include/cygwin/version.h b/winsup/cygwin/include/cygwin/version.h index db9a18b4d..997578ed8 100644 --- a/winsup/cygwin/include/cygwin/version.h +++ b/winsup/cygwin/include/cygwin/version.h @@ -424,12 +424,13 @@ details. */ 253: Export TIOCSCTTY, tcgetsid. 254: Export getgrouplist. 255: Export ptsname_r. + 256: Add CW_ALLOC_DRIVE_MAP, CW_MAP_DRIVE_MAP, CW_FREE_DRIVE_MAP. */ /* Note that we forgot to bump the api for ualarm, strtoll, strtoull */ #define CYGWIN_VERSION_API_MAJOR 0 -#define CYGWIN_VERSION_API_MINOR 255 +#define CYGWIN_VERSION_API_MINOR 256 /* There is also a compatibity version number associated with the shared memory regions. It is incremented when incompatible diff --git a/winsup/cygwin/include/sys/cygwin.h b/winsup/cygwin/include/sys/cygwin.h index 85c452677..97f3e959e 100644 --- a/winsup/cygwin/include/sys/cygwin.h +++ b/winsup/cygwin/include/sys/cygwin.h @@ -137,7 +137,10 @@ typedef enum CW_CVT_MNT_OPTS, CW_LST_MNT_OPTS, CW_STRERROR, - CW_CVT_ENV_TO_WINENV + CW_CVT_ENV_TO_WINENV, + CW_ALLOC_DRIVE_MAP, + CW_MAP_DRIVE_MAP, + CW_FREE_DRIVE_MAP } cygwin_getinfo_types; #define CW_LOCK_PINFO CW_LOCK_PINFO |