summaryrefslogtreecommitdiff
path: root/map.h
diff options
context:
space:
mode:
authorCarson Fleming <[email protected]>2026-02-01 03:38:20 -0500
committerCarson Fleming <[email protected]>2026-02-01 03:38:20 -0500
commitcbcbbc4c25126fae22369286eef75b3b0973d6ec (patch)
treef361e9716481626849be64cabd2ad707ca88b4e2 /map.h
parent9500e54b874794bd1d9fb5702aa423c6f1794f27 (diff)
downloadsafec-cbcbbc4c25126fae22369286eef75b3b0973d6ec.tar.gz
include a good hash function
Diffstat (limited to 'map.h')
-rw-r--r--map.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/map.h b/map.h
index 19c8df5..bca8c1e 100644
--- a/map.h
+++ b/map.h
@@ -1,6 +1,8 @@
#ifndef __SAFEC_MAP_H
#include "types.h"
+size_t hash_bytes(const void* start, size_t size);
+
typedef size_t (*hash_func_t)(const void*);
typedef bool (*eq_func_t)(const void*, const void*);