diff options
author | reinelt <> | 2004-02-27 06:07:55 +0000 |
---|---|---|
committer | reinelt <> | 2004-02-27 06:07:55 +0000 |
commit | 3a49b990ddeac3a91caa1b52d4f911bf3413fcad (patch) | |
tree | d595b8312401d29ba7d6ea213408226cfff8ccf0 /hash.h | |
parent | 1e7c895ff33ba388ba91ca8ed6a3b2d4be5c6ad1 (diff) | |
download | lcd4linux-3a49b990ddeac3a91caa1b52d4f911bf3413fcad.tar.gz |
[lcd4linux @ 2004-02-27 06:07:55 by reinelt]
hash improvements from Martin
Diffstat (limited to 'hash.h')
-rw-r--r-- | hash.h | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -1,4 +1,4 @@ -/* $Id: hash.h,v 1.7 2004/01/21 14:29:03 reinelt Exp $ +/* $Id: hash.h,v 1.8 2004/02/27 06:07:55 reinelt Exp $ * * hashes (associative arrays) * @@ -23,6 +23,9 @@ * * * $Log: hash.h,v $ + * Revision 1.8 2004/02/27 06:07:55 reinelt + * hash improvements from Martin + * * Revision 1.7 2004/01/21 14:29:03 reinelt * new helper 'hash_get_regex' which delivers the sum over regex matched items * new function 'disk()' which uses this regex matching @@ -72,6 +75,7 @@ typedef struct { char *key; char *val; timeval time; + int root; HASH_SLOT *Slot; } HASH_ITEM; @@ -91,5 +95,4 @@ char *hash_get (HASH *Hash, char *key); double hash_get_delta (HASH *Hash, char *key, int delay); double hash_get_regex (HASH *Hash, char *key, int delay); void hash_destroy (HASH *Hash); - #endif |