Ticket 1551: Update GPL version from 2 to 3
[midnight-commander.git] / src / filemanager / mountlist.h
blobb25d2c3a31e45ff5ab42e36176da44988a94f18c
1 /*
2 Declarations for list of mounted filesystems
3 */
5 /** \file mountlist.h
6 * \brief Header: list of mounted filesystems
7 */
9 #ifndef MC__MOUNTLIST_H
10 #define MC__MOUNTLIST_H
12 /*** typedefs(not structures) and defined constants **********************************************/
14 /*** enums ***************************************************************************************/
16 /*** structures declarations (and typedefs of structures)*****************************************/
18 /* Filesystem status */
19 struct my_statfs
21 int type;
22 char *typename;
23 const char *mpoint;
24 const char *device;
25 int avail;
26 int total;
27 int nfree;
28 int nodes;
31 /*** global variables defined in .c file *********************************************************/
33 /*** declarations of public functions ************************************************************/
35 /*** inline functions ****************************************************************************/
37 void init_my_statfs (void);
38 void my_statfs (struct my_statfs *myfs_stats, const char *path);
39 void free_my_statfs (void);
41 #endif /* MC__MOUNTLIST_H */