Merge branch '2123_crash_while_copy'
[midnight-commander.git] / src / mountlist.h
blobcf878f8716f767e87506ff076b7dfe1ae6b3ffd3
1 /* mountlist.h -- declarations for list of mounted filesystems
2 Copyright (C) 1991, 1992 Free Software Foundation, Inc.
4 This program is free software; you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by
6 the Free Software Foundation; either version 2, or (at your option)
7 any later version.
9 This program is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 GNU General Public License for more details.
14 You should have received a copy of the GNU General Public License
15 along with this program; if not, write to the Free Software
16 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */
18 /** \file mountlist.h
19 * \brief Header: list of mounted filesystems
22 #ifndef MC_MOUNTLIST_H
23 #define MC_MOUNTLIST_H
25 /* Filesystem status */
26 struct my_statfs
28 int type;
29 char *typename;
30 const char *mpoint;
31 const char *device;
32 int avail;
33 int total;
34 int nfree;
35 int nodes;
38 void init_my_statfs (void);
39 void my_statfs (struct my_statfs *myfs_stats, const char *path);
40 void free_my_statfs (void);
42 #endif