From 10eea2ab1bae2a8ec159d81c0446fd8061b33e2b Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 15 Apr 2024 21:58:07 +0200 Subject: Adding upstream version 3.3.0. Signed-off-by: Daniel Baumann --- linux/LibSensors.h | 19 +++++++++++++++++++ 1 file changed, 19 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 0000000..6f05448 --- /dev/null +++ b/linux/LibSensors.h @@ -0,0 +1,19 @@ +#ifndef HEADER_LibSensors +#define HEADER_LibSensors +/* +htop - linux/LibSensors.h +(C) 2020-2023 htop dev team +Released under the GNU GPLv2+, see the COPYING file +in the source distribution for its full text. +*/ + +#include "linux/LinuxMachine.h" + + +int LibSensors_init(void); +void LibSensors_cleanup(void); +int LibSensors_reload(void); + +void LibSensors_getCPUTemperatures(CPUData* cpus, unsigned int existingCPUs, unsigned int activeCPUs); + +#endif /* HEADER_LibSensors */ -- cgit v1.2.3