aboutsummaryrefslogtreecommitdiffstats
path: root/system.h
diff options
context:
space:
mode:
authorreinelt <>2000-03-07 11:01:34 +0000
committerreinelt <>2000-03-07 11:01:34 +0000
commitbe8523c744070a0aecd680010106b458a8e4b5c2 (patch)
treee4d7d99b60178ccf86c11253ae75759745fbf35a /system.h
parentd8b69803cf31c24c72ed80a9c10863db5ae3a90a (diff)
downloadlcd4linux-be8523c744070a0aecd680010106b458a8e4b5c2.tar.gz
[lcd4linux @ 2000-03-07 11:01:34 by reinelt]
system.c cleanup
Diffstat (limited to 'system.h')
-rw-r--r--system.h18
1 files changed, 12 insertions, 6 deletions
diff --git a/system.h b/system.h
index 0726d6c..37dc77a 100644
--- a/system.h
+++ b/system.h
@@ -1,4 +1,4 @@
-/* $Id: system.h,v 1.2 2000/03/06 06:04:06 reinelt Exp $
+/* $Id: system.h,v 1.3 2000/03/07 11:01:34 reinelt Exp $
*
* system status retreivement
*
@@ -20,6 +20,10 @@
*
*
* $Log: system.h,v $
+ * Revision 1.3 2000/03/07 11:01:34 reinelt
+ *
+ * system.c cleanup
+ *
* Revision 1.2 2000/03/06 06:04:06 reinelt
*
* minor cleanups
@@ -30,14 +34,16 @@
#ifndef _SYSTEM_H_
#define _SYSTEM_H_
+#define SENSORS 16
+
char *System (void);
char *Release (void);
char *Processor (void);
int Memory (void);
-double Load (void);
-double Busy (void);
-int Disk (int *r, int *w);
-int Net (int *r, int *w);
-double Temperature (void);
+int Load (double *load1, double *load2, double *load3);
+int Busy (double *user, double *nice, double *system, double *idle);
+int Disk (int *r, int *w);
+int Net (int *rx, int *tx);
+int Sensor (int index, double *val, double *min, double *max);
#endif