blob: db6753b73995bdbddb078f9bd76e53ae183c936d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
typedef struct udiskd {
gchar *model;
gchar *vendor;
gchar *revision;
gchar *block_dev;
gchar *serial;
gchar *connection_bus;
gboolean ejectable;
gboolean removable;
gint32 rotation_rate;
gint64 size;
gchar *media;
gchar *media_compatibility;
gboolean smart_enabled;
gboolean smart_failing;
guint64 smart_poweron;
gint64 smart_bad_sectors;
gint32 smart_temperature;
} udiskd;
typedef struct udiskt {
gchar *drive;
gint32 temperature;
} udiskt;
void udisks2_init();
void udisks2_shutdown();
GSList *get_udisks2_temps();
GSList *get_udisks2_all_drives_info();
|