aboutsummaryrefslogtreecommitdiff
path: root/includes/udisks2_util.h
diff options
context:
space:
mode:
authorOndrej Čerman <ondrej.cerman@gmail.com>2020-12-12 14:23:23 +0100
committerLeandro A. F. Pereira <leandro@hardinfo.org>2020-12-12 11:58:05 -0800
commit0893af788fb5b4ed05adb8efee0697eb6c63f866 (patch)
tree7bb8951cbd465db604285da9a2ccf89524dc0f3a /includes/udisks2_util.h
parent74a0db7398cec5f05d703c9b52337e3ba8988c76 (diff)
devices/storage: added intepreted s.m.a.r.t. value
Diffstat (limited to 'includes/udisks2_util.h')
-rw-r--r--includes/udisks2_util.h11
1 files changed, 11 insertions, 0 deletions
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;