summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2008-12-17 12:42:00 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2008-12-17 12:42:00 +0100
commit4e9cccfa0071ff51b489629bf2d69eefe6196ded (patch)
treea2bb91e838d775915c895e6928722b677d758c7e /include
parentaa36f86194a51c776810ced5c3a6dcead30243fa (diff)
src: cleanup, rename hashtable_test() by hashtable_find()
This patch renames the function hashtable_test() by hashtable_find() which is a better name IMO to describe this function. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include')
-rw-r--r--include/hash.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/hash.h b/include/hash.h
index caad412..d260f65 100644
--- a/include/hash.h
+++ b/include/hash.h
@@ -38,7 +38,7 @@ hashtable_create(int hashsize, int limit, int datasize,
void hashtable_destroy(struct hashtable *h);
void *hashtable_add(struct hashtable *table, void *data);
-void *hashtable_test(struct hashtable *table, const void *data);
+void *hashtable_find(struct hashtable *table, const void *data);
int hashtable_del(struct hashtable *table, void *data);
int hashtable_flush(struct hashtable *table);
int hashtable_iterate(struct hashtable *table, void *data,