From 8dc94dba6511b8db40c0e209b0ea595052650a21 Mon Sep 17 00:00:00 2001 From: reinelt Date: Tue, 1 Jun 2004 06:45:30 +0000 Subject: [lcd4linux @ 2004-06-01 06:45:28 by reinelt] some Fixme's processed documented some code git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@456 3ae390bd-cb1e-0410-b409-cd5a39f66f1f --- hash.c | 29 ++++++++++++++++++++++++++--- 1 file changed, 26 insertions(+), 3 deletions(-) (limited to 'hash.c') diff --git a/hash.c b/hash.c index 57dbe06..cceb6e7 100644 --- a/hash.c +++ b/hash.c @@ -1,4 +1,4 @@ -/* $Id: hash.c,v 1.18 2004/05/31 16:39:06 reinelt Exp $ +/* $Id: hash.c,v 1.19 2004/06/01 06:45:30 reinelt Exp $ * * hashes (associative arrays) * @@ -23,6 +23,11 @@ * * * $Log: hash.c,v $ + * Revision 1.19 2004/06/01 06:45:30 reinelt + * + * some Fixme's processed + * documented some code + * * Revision 1.18 2004/05/31 16:39:06 reinelt * * added NULL display driver (for debugging/profiling purposes) @@ -105,8 +110,26 @@ /* * exported functions: * - * hash_anything - * Fixme: document me! + * void hash_set (HASH *Hash, char *key, char *val); + * set an entry in the hash + * + * void hash_set_delta (HASH *Hash, char *key, char *val); + * set a delta entry in the hash + * + * int hash_age (HASH *Hash, char *key, char **value); + * return time of last hash_set + * + * char *hash_get (HASH *Hash, char *key); + * fetch an entry from the hash + * + * double hash_get_delta (HASH *Hash, char *key, int delay); + * fetch a delta antry from the hash + * + * double hash_get_regex (HASH *Hash, char *key, int delay); + * fetch one or more entries from the hash + * + * void hash_destroy (HASH *Hash); + * releases hash * */ -- cgit v1.2.3