diff options
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 |
