1 2 3 4 5 6 7 8 9 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