diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2023-09-04 09:27:09 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2023-09-04 09:27:09 +0000 |
commit | 1b3eac6c9237c6c12222e450d1c1a57b694cd513 (patch) | |
tree | 60b31928c005874cc41b95d242aa3b9e8400171a /src/hashtbl.h | |
parent | Releasing debian version 2.1.3-2. (diff) | |
download | dnscap-1b3eac6c9237c6c12222e450d1c1a57b694cd513.tar.xz dnscap-1b3eac6c9237c6c12222e450d1c1a57b694cd513.zip |
Merging upstream version 2.2.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/hashtbl.h')
-rw-r--r-- | src/hashtbl.h | 9 |
1 files changed, 9 insertions, 0 deletions
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 <stddef.h> +#include <stdint.h> +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 |