diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2008-12-17 12:42:00 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2008-12-17 12:42:00 +0100 |
commit | 4e9cccfa0071ff51b489629bf2d69eefe6196ded (patch) | |
tree | a2bb91e838d775915c895e6928722b677d758c7e /include/hash.h | |
parent | aa36f86194a51c776810ced5c3a6dcead30243fa (diff) | |
download | conntrack-tools-4e9cccfa0071ff51b489629bf2d69eefe6196ded.tar.gz conntrack-tools-4e9cccfa0071ff51b489629bf2d69eefe6196ded.zip |
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/hash.h')
-rw-r--r-- | include/hash.h | 2 |
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, |