void (*cb_alarm_raised)(struct psensor *, void *);
void *cb_alarm_raised_data;
-#ifdef HAVE_NVIDIA
- /* Nvidia id for the nvctrl */
- int nvidia_id;
-#endif
#ifdef HAVE_LIBATIADL
/* AMD id for the aticonfig */
int amd_id;
struct psensor *psensor_list_get_by_id(struct psensor **sensors,
const char *id);
-/* Return true if there is at least one sensor of a given type, else
- * returns false */
-bool psensor_list_contains_type(struct psensor **sensors, unsigned int type);
-
int is_temp_type(unsigned int type);
double get_min_temp(struct psensor **sensors);