From 09358348c50656e7c6d508767cee3996e8a3d77f Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Sun, 29 Jun 2008 21:18:28 +0200 Subject: s/SkDevice/SkDisk --- smart.h | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'smart.h') diff --git a/smart.h b/smart.h index 93b7810..cc96efb 100644 --- a/smart.h +++ b/smart.h @@ -3,7 +3,7 @@ #include -typedef struct SkDevice SkDevice; +typedef struct SkDisk SkDisk; typedef struct SkIdentifyParsedData { gchar serial[21]; @@ -73,25 +73,25 @@ typedef struct SkSmartAttribute { * considered an ABI change. So take care when you copy it. */ } SkSmartAttribute; -typedef void (*SkSmartAttributeCallback)(SkDevice *d, const SkSmartAttribute *a, gpointer userdata); +typedef void (*SkSmartAttributeCallback)(SkDisk *d, const SkSmartAttribute *a, gpointer userdata); -int sk_disk_open(const gchar *name, SkDevice **d); +int sk_disk_open(const gchar *name, SkDisk **d); -int sk_disk_check_power_mode(SkDevice *d, gboolean *mode); +int sk_disk_check_power_mode(SkDisk *d, gboolean *mode); -int sk_disk_identify_is_available(SkDevice *d, gboolean *b); -int sk_disk_identify_parse(SkDevice *d, const SkIdentifyParsedData **data); +int sk_disk_identify_is_available(SkDisk *d, gboolean *b); +int sk_disk_identify_parse(SkDisk *d, const SkIdentifyParsedData **data); -int sk_disk_smart_is_available(SkDevice *d, gboolean *b); -int sk_disk_smart_read_data(SkDevice *d); -int sk_disk_smart_parse(SkDevice *d, const SkSmartParsedData **data); -int sk_disk_smart_parse_attributes(SkDevice *d, SkSmartAttributeCallback cb, gpointer userdata); +int sk_disk_smart_is_available(SkDisk *d, gboolean *b); +int sk_disk_smart_read_data(SkDisk *d); +int sk_disk_smart_parse(SkDisk *d, const SkSmartParsedData **data); +int sk_disk_smart_parse_attributes(SkDisk *d, SkSmartAttributeCallback cb, gpointer userdata); -int sk_disk_get_size(SkDevice *d, guint64 *bytes); +int sk_disk_get_size(SkDisk *d, guint64 *bytes); -int sk_disk_dump(SkDevice *d); +int sk_disk_dump(SkDisk *d); -void sk_disk_free(SkDevice *d); +void sk_disk_free(SkDisk *d); const char* sk_smart_offline_data_collection_status_to_string(SkSmartOfflineDataCollectionStatus status); const char* sk_smart_attribute_unit_to_string(SkSmartAttributeUnit unit); -- cgit