2 Declarations for list of mounted filesystems
6 * \brief Header: list of mounted filesystems
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 */
27 uintmax_t avail
; /* in kB */
28 uintmax_t total
; /* in kB */
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 */