aboutsummaryrefslogtreecommitdiffstats
path: root/hash.h
diff options
context:
space:
mode:
authorreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2004-06-20 10:09:56 +0000
committerreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2004-06-20 10:09:56 +0000
commit7ac3e2a7d2c23ea71adeb56d8afbe1b1cbeee4df (patch)
treec9fe5fa4426d7334d8486a3a7e59c64a43d2ef9e /hash.h
parente4626159694ea6774386faa2f0d2fb517de1eb8b (diff)
downloadlcd4linux-7ac3e2a7d2c23ea71adeb56d8afbe1b1cbeee4df.tar.gz
[lcd4linux @ 2004-06-20 10:09:52 by reinelt]
'const'ified the whole source git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@476 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to 'hash.h')
-rw-r--r--hash.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/hash.h b/hash.h
index a5b8c0a..cb4d705 100644
--- a/hash.h
+++ b/hash.h
@@ -1,4 +1,4 @@
-/* $Id: hash.h,v 1.14 2004/06/17 06:23:43 reinelt Exp $
+/* $Id: hash.h,v 1.15 2004/06/20 10:09:56 reinelt Exp $
*
* hashes (associative arrays)
*
@@ -23,6 +23,10 @@
*
*
* $Log: hash.h,v $
+ * Revision 1.15 2004/06/20 10:09:56 reinelt
+ *
+ * 'const'ified the whole source
+ *
* Revision 1.14 2004/06/17 06:23:43 reinelt
*
* hash handling rewritten to solve performance issues
@@ -131,12 +135,12 @@ void hash_create (HASH *Hash);
int hash_age (HASH *Hash, const char *key);
-void hash_set_column (HASH *Hash, int number, const char *column);
+void hash_set_column (HASH *Hash, const int number, const char *column);
void hash_set_delimiter (HASH *Hash, const char *delimiter);
char *hash_get (HASH *Hash, const char *key, const char *column);
-double hash_get_delta (HASH *Hash, const char *key, const char *column, int delay);
-double hash_get_regex (HASH *Hash, const char *key, const char *column, int delay);
+double hash_get_delta (HASH *Hash, const char *key, const char *column, const int delay);
+double hash_get_regex (HASH *Hash, const char *key, const char *column, const int delay);
void hash_put (HASH *Hash, const char *key, const char *value);
void hash_put_delta (HASH *Hash, const char *key, const char *value);