aboutsummaryrefslogtreecommitdiffstats
path: root/hash.h
diff options
context:
space:
mode:
authorreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2004-02-27 06:07:55 +0000
committerreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2004-02-27 06:07:55 +0000
commitaf9193af58b39bf31ee8beabfac620b274da8b1c (patch)
treed595b8312401d29ba7d6ea213408226cfff8ccf0 /hash.h
parent3037be8a1e09d27d6150027b28e48738dbac0db1 (diff)
downloadlcd4linux-af9193af58b39bf31ee8beabfac620b274da8b1c.tar.gz
[lcd4linux @ 2004-02-27 06:07:55 by reinelt]
hash improvements from Martin git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@378 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to 'hash.h')
-rw-r--r--hash.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/hash.h b/hash.h
index 6ae658f..cefdc50 100644
--- a/hash.h
+++ b/hash.h
@@ -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