diff options
author | reinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2004-01-16 07:26:25 +0000 |
---|---|---|
committer | reinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2004-01-16 07:26:25 +0000 |
commit | 193ebdb96e9608291a84af0958993da091fa3558 (patch) | |
tree | 90bdb480a89d1bfa29f2296d363b93b13e62b39f /hash.h | |
parent | 5c148f2a8e46983d905053d3e09d67ef6948ccf4 (diff) | |
download | lcd4linux-193ebdb96e9608291a84af0958993da091fa3558.tar.gz |
[lcd4linux @ 2004-01-16 07:26:25 by reinelt]
moved various /proc parsing to own functions
made some progress with /proc/stat parsing
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@315 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to 'hash.h')
-rw-r--r-- | hash.h | 16 |
1 files changed, 5 insertions, 11 deletions
@@ -1,4 +1,4 @@ -/* $Id: hash.h,v 1.2 2004/01/16 05:04:53 reinelt Exp $ +/* $Id: hash.h,v 1.3 2004/01/16 07:26:25 reinelt Exp $ * * hashes (associative arrays) * @@ -23,6 +23,10 @@ * * * $Log: hash.h,v $ + * Revision 1.3 2004/01/16 07:26:25 reinelt + * moved various /proc parsing to own functions + * made some progress with /proc/stat parsing + * * Revision 1.2 2004/01/16 05:04:53 reinelt * started plugin proc_stat which should parse /proc/stat * which again is a paint in the a** @@ -62,18 +66,8 @@ typedef struct { FILTER_SLOT *Slots; } FILTER_ITEM; -typedef struct { - int sorted; - int nItems; - FILTER_ITEM *Items; -} FILTER; - void hash_set (HASH *Hash, char *key, char *val); char *hash_get (HASH *Hash, char *key); void hash_destroy (HASH *Hash); -void filter_set (FILTER *Filter, char *key, double val); -double filter_get (FILTER *Filter, char *key); -void filter_destroy (FILTER *Filter); - #endif |