Imported Upstream version 0.8.0.4
[psensor-pkg-debian.git] / src / lib / hdd.h
index 6c31800..41b63ee 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2010-2012 jeanfi@gmail.com
+ * Copyright (C) 2010-2013 jeanfi@gmail.com
  *
  * This program is free software; you can redistribute it and/or
  * modify it under the terms of the GNU General Public License as
 #ifndef _PSENSOR_HDD_H_
 #define _PSENSOR_HDD_H_
 
+#include "config.h"
 #include "psensor.h"
 
+#ifdef HAVE_ATASMART
 struct psensor **hdd_psensor_list_add(struct psensor **sensors,
                                      int values_max_length);
 
 void hdd_psensor_list_update(struct psensor **sensors);
+#endif
+
+struct psensor **hddtemp_psensor_list_add(struct psensor **sensors,
+                                     int values_max_length);
+
+void hddtemp_psensor_list_update(struct psensor **sensors);
 
 #endif