Amit Pundir | d477f82 | 2020-02-07 22:26:08 +0530 | [diff] [blame^] | 1 | #ifndef _HASH_H_ |
2 | #define _HASH_H_ | ||||
3 | |||||
4 | #include <stdint.h> | ||||
5 | |||||
6 | unsigned int hash_mem(const void *data, unsigned int len); | ||||
7 | unsigned int hash_string(const char *value); | ||||
8 | unsigned int hash_u32(uint32_t value); | ||||
9 | unsigned int hash_u64(uint64_t value); | ||||
10 | unsigned int hash_pointer(void *value); | ||||
11 | |||||
12 | #endif |