From b76eaf187a313c99fe008b069b8123b299752589 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20G=C3=B6ttsche?= Date: Tue, 1 Dec 2020 13:59:19 +0100 Subject: Dynamically load libsensors at runtime --- linux/LibSensors.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 linux/LibSensors.h (limited to 'linux/LibSensors.h') diff --git a/linux/LibSensors.h b/linux/LibSensors.h new file mode 100644 index 00000000..ed9be7b0 --- /dev/null +++ b/linux/LibSensors.h @@ -0,0 +1,16 @@ +#ifndef HEADER_LibSensors +#define HEADER_LibSensors + +#include "config.h" // IWYU pragma: keep + +#include + +#include "LinuxProcessList.h" + + +int LibSensors_init(FILE* input); +void LibSensors_cleanup(void); + +int LibSensors_getCPUTemperatures(CPUData* cpus, int cpuCount); + +#endif /* HEADER_LibSensors */ -- cgit v1.2.3