summaryrefslogtreecommitdiff
path: root/hash.h
blob: 6fe804c3825f1b2c380cce594036e9af9d982ab7 (plain)
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