Ticket #4536: skins: add root variant of julia256 skin.
[midnight-commander.git] / src / filemanager / mountlist.h
blobf5064881f502ce5218999c9df03be342666ab1da
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 #include <stdint.h> /* uintmax_t */
14 /*** typedefs(not structures) and defined constants **********************************************/
16 /*** enums ***************************************************************************************/
18 /*** structures declarations (and typedefs of structures)*****************************************/
20 /* Filesystem status */
21 struct my_statfs
23 int type;
24 char *typename;
25 const char *mpoint;
26 const char *mroot;
27 const char *device;
28 uintmax_t avail; /* in kB */
29 uintmax_t total; /* in kB */
30 uintmax_t nfree;
31 uintmax_t nodes;
34 /*** global variables defined in .c file *********************************************************/
36 /*** declarations of public functions ************************************************************/
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 /*** inline functions ****************************************************************************/
44 #endif /* MC__MOUNTLIST_H */