diff options
| author | Carson Fleming <[email protected]> | 2026-02-14 02:53:37 -0500 |
|---|---|---|
| committer | Carson Fleming <[email protected]> | 2026-02-14 02:53:37 -0500 |
| commit | 9ef0abf7ab5266f6b58c0e55bbe9dd9038bc7f6e (patch) | |
| tree | 54abfa548d7aae56c1ace1a72bce8581570b5fd2 /hash.h | |
| parent | 1a08245d480b8a18fcbc80efd8602cdb90d6ed5e (diff) | |
| download | safec-9ef0abf7ab5266f6b58c0e55bbe9dd9038bc7f6e.tar.gz | |
more like dangerousc.org atp
Diffstat (limited to 'hash.h')
| -rw-r--r-- | hash.h | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -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 |
