summaryrefslogtreecommitdiffstats
path: root/atasmart.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2009-04-14 05:13:13 +0200
committerLennart Poettering <lennart@poettering.net>2009-04-14 05:13:13 +0200
commit9787a002edbb78fc07b19f2c613afc8f90a26ba3 (patch)
treef848a6bf32864f12d75fd95a8aa29c8d805e099c /atasmart.h
parent22c58c34d9b19fcbead4e9b6edfdf7012166a980 (diff)
add new API sk_disk_smart_get_power_cycle()
Diffstat (limited to 'atasmart.h')
-rw-r--r--atasmart.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/atasmart.h b/atasmart.h
index 38590ff..747ef01 100644
--- a/atasmart.h
+++ b/atasmart.h
@@ -213,6 +213,9 @@ int sk_disk_smart_self_test(SkDisk *d, SkSmartSelfTest test);
/* High level API to get the power on time */
int sk_disk_smart_get_power_on(SkDisk *d, uint64_t *mseconds);
+/* High level API to get the power cycle count */
+int sk_disk_smart_get_power_cycle(SkDisk *d, uint64_t *count);
+
/* High level API to get the number of bad sectors (i.e. pending and reallocated) */
int sk_disk_smart_get_bad(SkDisk *d, uint64_t *sectors);