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:
Diffstat (limited to 'winsup/cygwin/mount.h')
-rw-r--r--winsup/cygwin/mount.h18
1 files changed, 2 insertions, 16 deletions
diff --git a/winsup/cygwin/mount.h b/winsup/cygwin/mount.h
index 1d3b7451b..606e9f595 100644
--- a/winsup/cygwin/mount.h
+++ b/winsup/cygwin/mount.h
@@ -1,7 +1,7 @@
/* mount.h: mount definitions.
Copyright 1996, 1997, 1998, 2000, 2001, 2002, 2003, 2004, 2005,
- 2006, 2007, 2008, 2009, 2010, 2011, 2012 Red Hat, Inc.
+ 2006, 2007, 2008, 2009, 2010, 2011 Red Hat, Inc.
This file is part of Cygwin.
@@ -12,24 +12,11 @@ details. */
#ifndef _MOUNT_H
#define _MOUNT_H
-enum disk_type
-{
- DT_NODISK,
- DT_CDROM,
- DT_FLOPPY,
- DT_HARDDISK,
- DT_SHARE_SMB,
- DT_SHARE_NFS
-};
-
-disk_type get_disk_type (LPCWSTR);
-
enum fs_info_type
{
none = 0,
fat,
ntfs,
- refs,
samba,
nfs,
netapp,
@@ -75,6 +62,7 @@ class fs_info
} status;
ULONG sernum; /* Volume Serial Number */
char fsn[80]; /* Windows filesystem name */
+ unsigned long got_fs () const { return status.fs_type != none; }
public:
void clear ()
@@ -99,7 +87,6 @@ class fs_info
IMPLEMENT_STATUS_FLAG (bool, has_dos_filenames_only)
IMPLEMENT_FS_FLAG (fat)
IMPLEMENT_FS_FLAG (ntfs)
- IMPLEMENT_FS_FLAG (refs)
IMPLEMENT_FS_FLAG (samba)
IMPLEMENT_FS_FLAG (nfs)
IMPLEMENT_FS_FLAG (netapp)
@@ -113,7 +100,6 @@ class fs_info
IMPLEMENT_FS_FLAG (nwfs)
IMPLEMENT_FS_FLAG (ncfsd)
fs_info_type what_fs () const { return status.fs_type; }
- bool got_fs () const { return status.fs_type != none; }
ULONG serial_number () const { return sernum; }