diff options
author | reinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2000-03-07 11:01:34 +0000 |
---|---|---|
committer | reinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2000-03-07 11:01:34 +0000 |
commit | 0dd0127bbf12dc797ce47adcf1a1080f17b34468 (patch) | |
tree | e4d7d99b60178ccf86c11253ae75759745fbf35a /system.h | |
parent | 164a0b9f9a7efe4c717b38b7b2c13b2e83b6bf66 (diff) | |
download | lcd4linux-0dd0127bbf12dc797ce47adcf1a1080f17b34468.tar.gz |
[lcd4linux @ 2000-03-07 11:01:34 by reinelt]
system.c cleanup
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@5 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to '')
-rw-r--r-- | system.h | 18 |
1 files changed, 12 insertions, 6 deletions
@@ -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 |