diff options
author | reinelt <> | 2000-03-07 11:01:34 +0000 |
---|---|---|
committer | reinelt <> | 2000-03-07 11:01:34 +0000 |
commit | be8523c744070a0aecd680010106b458a8e4b5c2 (patch) | |
tree | e4d7d99b60178ccf86c11253ae75759745fbf35a /system.h | |
parent | d8b69803cf31c24c72ed80a9c10863db5ae3a90a (diff) | |
download | lcd4linux-be8523c744070a0aecd680010106b458a8e4b5c2.tar.gz |
[lcd4linux @ 2000-03-07 11:01:34 by reinelt]
system.c cleanup
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 |