From 0893af788fb5b4ed05adb8efee0697eb6c63f866 Mon Sep 17 00:00:00 2001 From: Ondrej Čerman Date: Sat, 12 Dec 2020 14:23:23 +0100 Subject: devices/storage: added intepreted s.m.a.r.t. value --- includes/udisks2_util.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'includes') diff --git a/includes/udisks2_util.h b/includes/udisks2_util.h index 8f97f740..a64ca3e2 100644 --- a/includes/udisks2_util.h +++ b/includes/udisks2_util.h @@ -10,12 +10,23 @@ typedef struct udiskp { struct udiskp* next; } udiskp; +enum{ + UDSK_INTPVAL_SKIP = 0, + UDSK_INTPVAL_DIMENSIONLESS = 1, + UDSK_INTPVAL_MILISECONDS = 2, + UDSK_INTPVAL_HOURS = 3, + UDSK_INTPVAL_SECTORS = 4, + UDSK_INTPVAL_CELSIUS = 5, +}; + typedef struct udisksa { guint8 id; gchar *identifier; gint value; gint worst; gint threshold; + gint64 interpreted; + guint8 interpreted_unit; // enum struct udisksa* next; } udisksa; -- cgit v1.2.3