From 9ef4282e9e32e857f4d0cac9df6d58f2cba159f4 Mon Sep 17 00:00:00 2001 From: reinelt Date: Wed, 3 Mar 2004 03:47:04 +0000 Subject: [lcd4linux @ 2004-03-03 03:47:04 by reinelt] big patch from Martin Hejl: - use qprintf() where appropriate - save CPU cycles on gettimeofday() - add quit() functions to free allocated memory - fixed lots of memory leaks git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@384 3ae390bd-cb1e-0410-b409-cd5a39f66f1f --- hash.h | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'hash.h') diff --git a/hash.h b/hash.h index cefdc50..1130661 100644 --- a/hash.h +++ b/hash.h @@ -1,4 +1,4 @@ -/* $Id: hash.h,v 1.8 2004/02/27 06:07:55 reinelt Exp $ +/* $Id: hash.h,v 1.9 2004/03/03 03:47:04 reinelt Exp $ * * hashes (associative arrays) * @@ -23,6 +23,13 @@ * * * $Log: hash.h,v $ + * Revision 1.9 2004/03/03 03:47:04 reinelt + * big patch from Martin Hejl: + * - use qprintf() where appropriate + * - save CPU cycles on gettimeofday() + * - add quit() functions to free allocated memory + * - fixed lots of memory leaks + * * Revision 1.8 2004/02/27 06:07:55 reinelt * hash improvements from Martin * @@ -95,4 +102,8 @@ 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); + +int gettimeofday_ex(struct timeval *tv, struct timezone *tz); +void gettimeofday_update(); + #endif -- cgit v1.2.3