Moved charsets.[ch] from src to lib directory
[midnight-commander.git] / src / mountlist.h
blob1259e69c98999e765cfa4a8a784b51bfe85950f7
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 /*** typedefs(not structures) and defined constants **********************************************/
27 /*** enums ***************************************************************************************/
29 /*** structures declarations (and typedefs of structures)*****************************************/
31 /* Filesystem status */
32 struct my_statfs
34 int type;
35 char *typename;
36 const char *mpoint;
37 const char *device;
38 int avail;
39 int total;
40 int nfree;
41 int nodes;
44 /*** global variables defined in .c file *********************************************************/
46 /*** declarations of public functions ************************************************************/
48 /*** inline functions ****************************************************************************/
50 void init_my_statfs (void);
51 void my_statfs (struct my_statfs *myfs_stats, const char *path);
52 void free_my_statfs (void);
54 #endif /* MC__MOUNTLIST_H */