do not create sensors for disabled providers
[psensor.git] / src / lib / cpu.h
index 9b66963..1df8804 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2010-2011 jeanfi@gmail.com
+ * Copyright (C) 2010-2014 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
@@ -26,9 +26,6 @@ struct psensor *create_cpu_usage_sensor(int measures_len);
 void cpu_usage_sensor_update(struct psensor *);
 void cpu_psensor_list_update(struct psensor **);
 
-struct psensor **cpu_psensor_list_add(struct psensor **,
-                                     int values_max_len);
-
-void cpu_cleanup();
+void cpu_psensor_list_append(struct psensor ***sensors, int values_max_len);
 
 #endif