From 9ef0abf7ab5266f6b58c0e55bbe9dd9038bc7f6e Mon Sep 17 00:00:00 2001 From: Carson Fleming Date: Sat, 14 Feb 2026 02:53:37 -0500 Subject: more like dangerousc.org atp --- hash.h | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 hash.h (limited to 'hash.h') diff --git a/hash.h b/hash.h new file mode 100644 index 0000000..6fe804c --- /dev/null +++ b/hash.h @@ -0,0 +1,10 @@ +#ifndef __SAFEC_HASH_H +#define __SAFEC_HASH_H +#include "types.h" + +typedef size_t (*hash_func_t)(const void* key); +typedef bool (*eq_func_t)(const void* key1, const void* key2); + +size_t hash_bytes(const void* start, size_t size); + +#endif -- cgit v1.2.3