aboutsummaryrefslogtreecommitdiffstats
path: root/linux/LibSensors.h
diff options
context:
space:
mode:
authorDaniel Lange <DLange@git.local>2021-09-21 08:35:19 +0200
committerDaniel Lange <DLange@git.local>2021-09-21 08:35:19 +0200
commit69f439eff387a6ecb52734e400b297a3c85f2285 (patch)
tree2a988b7868b749654796183ba70b4272965da1bf /linux/LibSensors.h
parentc55320e9e2a8916e911bcd39ab37b79e3a7d03b2 (diff)
downloaddebian_htop-upstream/3.1.0.tar.gz
debian_htop-upstream/3.1.0.tar.bz2
debian_htop-upstream/3.1.0.zip
New upstream version 3.1.0upstream/3.1.0
Diffstat (limited to 'linux/LibSensors.h')
-rw-r--r--linux/LibSensors.h11
1 files changed, 4 insertions, 7 deletions
diff --git a/linux/LibSensors.h b/linux/LibSensors.h
index cceeedb..aa89979 100644
--- a/linux/LibSensors.h
+++ b/linux/LibSensors.h
@@ -1,16 +1,13 @@
#ifndef HEADER_LibSensors
#define HEADER_LibSensors
-#include "config.h" // IWYU pragma: keep
+#include "linux/LinuxProcessList.h"
-#include <stdio.h>
-#include "LinuxProcessList.h"
-
-
-int LibSensors_init(FILE* input);
+int LibSensors_init(void);
void LibSensors_cleanup(void);
+int LibSensors_reload(void);
-void LibSensors_getCPUTemperatures(CPUData* cpus, unsigned int cpuCount);
+void LibSensors_getCPUTemperatures(CPUData* cpus, unsigned int existingCPUs, unsigned int activeCPUs);
#endif /* HEADER_LibSensors */

© 2014-2024 Faster IT GmbH | imprint | privacy policy