From 81fa0bc63909a67cdd6d321617a2e5648a6a94a2 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 4 Sep 2023 11:27:04 +0200 Subject: Adding upstream version 2.2.0. Signed-off-by: Daniel Baumann --- src/hashtbl.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/hashtbl.h') diff --git a/src/hashtbl.h b/src/hashtbl.h index 6243b09..d049ca5 100644 --- a/src/hashtbl.h +++ b/src/hashtbl.h @@ -67,4 +67,13 @@ void hash_remove(const void* key, hashtbl* tbl); void hash_free(hashtbl* tbl); void hash_destroy(hashtbl* tbl); +/* + * found in lookup3.c + */ +#include +#include +extern uint32_t hashlittle(const void* key, size_t length, uint32_t initval); +extern uint32_t hashbig(const void* key, size_t length, uint32_t initval); +extern uint32_t hashword(const uint32_t* k, size_t length, uint32_t initval); + #endif // __dnscap_hashtbl_h -- cgit v1.2.3