From 4e9cccfa0071ff51b489629bf2d69eefe6196ded Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Wed, 17 Dec 2008 12:42:00 +0100 Subject: 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 --- include/hash.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') 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, -- cgit v1.2.3