From 9787a002edbb78fc07b19f2c613afc8f90a26ba3 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 14 Apr 2009 05:13:13 +0200 Subject: add new API sk_disk_smart_get_power_cycle() --- atasmart.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'atasmart.h') 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); -- cgit