2020-06-07 12:00:43 -07:00
|
|
|
#ifndef __FILESYSTEMS_H__
|
|
|
|
#define __FILESYSTEMS_H__
|
|
|
|
|
2020-06-08 02:39:43 -07:00
|
|
|
#include <Eina.h>
|
|
|
|
|
2020-06-07 12:00:43 -07:00
|
|
|
typedef struct {
|
|
|
|
unsigned long long total;
|
|
|
|
unsigned long long used;
|
|
|
|
} _Usage;
|
|
|
|
|
2020-06-17 15:04:52 -07:00
|
|
|
typedef struct _File_System {
|
2020-06-07 12:00:43 -07:00
|
|
|
char *path;
|
|
|
|
char *mount;
|
2020-06-08 03:07:07 -07:00
|
|
|
char *type_name;
|
2020-06-07 12:00:43 -07:00
|
|
|
unsigned int type;
|
|
|
|
_Usage usage;
|
2020-06-17 15:04:52 -07:00
|
|
|
} File_System;
|
2020-06-07 12:00:43 -07:00
|
|
|
|
2020-12-01 02:14:08 -08:00
|
|
|
Eina_List *
|
|
|
|
file_system_info_all_get(void);
|
|
|
|
|
2020-06-07 12:00:43 -07:00
|
|
|
void
|
2020-06-17 15:04:52 -07:00
|
|
|
file_system_info_free(File_System *fs);
|
2020-06-07 12:00:43 -07:00
|
|
|
|
2020-06-08 02:39:43 -07:00
|
|
|
Eina_Bool
|
2020-06-17 15:04:52 -07:00
|
|
|
file_system_in_use(const char *name);
|
2020-06-08 02:39:43 -07:00
|
|
|
|
2020-06-07 12:00:43 -07:00
|
|
|
#endif
|