Code indentation.
[midnight-commander.git] / src / filemanager / mountlist.h
blob62fa9f9703626b395768ae0bcba3928eea9ec1fa
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 *device;
27 uintmax_t avail; /* in kB */
28 uintmax_t total; /* in kB */
29 uintmax_t nfree;
30 uintmax_t nodes;
33 /*** global variables defined in .c file *********************************************************/
35 /*** declarations of public 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 /*** inline functions ****************************************************************************/
43 #endif /* MC__MOUNTLIST_H */