aboutsummaryrefslogtreecommitdiffstats
path: root/parser.h
diff options
context:
space:
mode:
authorltoetsch <>2001-03-02 10:19:07 +0000
committerltoetsch <>2001-03-02 10:19:07 +0000
commite7b60f4d16ba5efc71e23a262557165f524c55dc (patch)
treedfe885cda929c762f925459565ec3382c689e4d0 /parser.h
parent2adc4c99b0b8c52047ab08c41c782802e0ae24e7 (diff)
downloadlcd4linux-e7b60f4d16ba5efc71e23a262557165f524c55dc.tar.gz
[lcd4linux @ 2001-03-02 10:18:03 by ltoetsch]
added /proc/apm battery stat
Diffstat (limited to 'parser.h')
-rw-r--r--parser.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/parser.h b/parser.h
index 1d0e1d3..ecc4e4b 100644
--- a/parser.h
+++ b/parser.h
@@ -1,4 +1,4 @@
-/* $Id: parser.h,v 1.8 2001/02/19 00:15:46 reinelt Exp $
+/* $Id: parser.h,v 1.9 2001/03/02 10:18:03 ltoetsch Exp $
*
* row definition parser
*
@@ -20,6 +20,9 @@
*
*
* $Log: parser.h,v $
+ * Revision 1.9 2001/03/02 10:18:03 ltoetsch
+ * added /proc/apm battery stat
+ *
* Revision 1.8 2001/02/19 00:15:46 reinelt
*
* integrated mail and seti client
@@ -76,13 +79,16 @@ typedef enum {
T_PPP_RX, T_PPP_TX, T_PPP_TOTAL, T_PPP_MAX,
T_ISDN_USED, T_ISDN_IN, T_ISDN_OUT, T_ISDN_TOTAL, T_ISDN_MAX,
T_SETI_PRC, T_SETI_CPU,
+ T_BATT_PERC, T_BATT_STAT, T_BATT_DUR,
T_EXTENDED,
T_MAIL,
T_SENSOR
} TOKEN;
typedef enum {
- C_GENERIC, C_MEM, C_LOAD, C_CPU, C_DISK, C_ETH, C_PPP, C_ISDN, C_SETI, C_MAIL, C_SENSOR
+ C_GENERIC, C_MEM, C_LOAD, C_CPU, C_DISK, C_ETH, C_PPP, C_ISDN, C_SETI,
+ C_BATT,
+ C_MAIL, C_SENSOR
} CLASS;
char *parse_row (char *string, int supported_bars, int usage[]);