2018-06-09 03:30:07 -07:00
|
|
|
#ifndef __DISKS_H__
|
|
|
|
#define __DISKS_H__
|
|
|
|
|
|
|
|
#include <Eina.h>
|
|
|
|
#include <Ecore.h>
|
|
|
|
|
2020-06-07 04:17:03 -07:00
|
|
|
typedef struct _Disk_Usage {
|
2020-06-07 06:39:13 -07:00
|
|
|
unsigned long long total;
|
|
|
|
unsigned long long used;
|
2020-06-07 04:17:03 -07:00
|
|
|
} Disk_Usage;
|
|
|
|
|
|
|
|
typedef struct _File_System {
|
|
|
|
char *path;
|
|
|
|
char *mount;
|
|
|
|
unsigned int type;
|
|
|
|
Disk_Usage usage;
|
|
|
|
} File_System;
|
|
|
|
|
2020-06-07 04:57:27 -07:00
|
|
|
Eina_Bool
|
|
|
|
disk_zfs_mounted_get(void);
|
|
|
|
|
2020-06-07 04:17:03 -07:00
|
|
|
File_System *
|
|
|
|
disk_mount_file_system_get(const char *path);
|
|
|
|
|
|
|
|
void
|
|
|
|
disk_mount_file_system_free(File_System *fs);
|
2018-06-09 03:30:07 -07:00
|
|
|
|
|
|
|
char *
|
2020-05-13 13:13:01 -07:00
|
|
|
disk_mount_point_get(const char *path);
|
2018-06-09 03:30:07 -07:00
|
|
|
|
|
|
|
Eina_List *
|
2020-05-13 13:13:01 -07:00
|
|
|
disks_get(void);
|
2018-06-09 03:30:07 -07:00
|
|
|
|
|
|
|
#endif
|