summaryrefslogtreecommitdiff
path: root/multiload/src/linux-proc.h
diff options
context:
space:
mode:
authorrbuj <[email protected]>2020-12-02 09:54:00 +0100
committerraveit65 <[email protected]>2020-12-13 15:45:33 +0100
commit61e25238728dd5cb9922932a5b7279eb6cdb15da (patch)
tree07c73bb9d083054c0d71d0a19e019d6f5ab5c710 /multiload/src/linux-proc.h
parent3cf85cb5229c3e87fed2f926004fed724e94e8cb (diff)
downloadmate-applets-61e25238728dd5cb9922932a5b7279eb6cdb15da.tar.bz2
mate-applets-61e25238728dd5cb9922932a5b7279eb6cdb15da.tar.xz
multiload: Use common subdirs - src, data
Diffstat (limited to 'multiload/src/linux-proc.h')
-rw-r--r--multiload/src/linux-proc.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/multiload/src/linux-proc.h b/multiload/src/linux-proc.h
new file mode 100644
index 00000000..0aba1a0e
--- /dev/null
+++ b/multiload/src/linux-proc.h
@@ -0,0 +1,13 @@
+#ifndef LINUX_PROC_H__
+#define LINUX_PROC_H__
+
+#include <load-graph.h>
+
+G_GNUC_INTERNAL void GetLoad (int Maximum, int data [cpuload_n], LoadGraph *g);
+G_GNUC_INTERNAL void GetDiskLoad (int Maximum, int data [diskload_n], LoadGraph *g);
+G_GNUC_INTERNAL void GetMemory (int Maximum, int data [memload_n], LoadGraph *g);
+G_GNUC_INTERNAL void GetSwap (int Maximum, int data [swapload_n], LoadGraph *g);
+G_GNUC_INTERNAL void GetLoadAvg (int Maximum, int data [2], LoadGraph *g);
+G_GNUC_INTERNAL void GetNet (int Maximum, int data [4], LoadGraph *g);
+
+#endif