evisum/src/bin/system/disks.h

35 lines
553 B
C
Raw Normal View History

2018-06-09 03:30:07 -07:00
#ifndef __DISKS_H__
#define __DISKS_H__
#include <Eina.h>
#include <Ecore.h>
typedef struct _Disk_Usage {
2020-06-07 06:39:13 -07:00
unsigned long long total;
unsigned long long used;
} Disk_Usage;
typedef struct _File_System {
char *path;
char *mount;
unsigned int type;
Disk_Usage usage;
} File_System;
Eina_Bool
disk_zfs_mounted_get(void);
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