Files
cws/include/utils/hash.h
2026-01-15 18:22:20 +01:00

19 lines
340 B
C

#ifndef CWS_HASH_H
#define CWS_HASH_H
#include <stdbool.h>
unsigned int my_str_hash_fn(const void *key);
bool my_str_equal_fn(const void *a, const void *b);
void my_str_free_fn(void *value);
unsigned int my_int_hash_fn(const void *key);
bool my_int_equal_fn(const void *a, const void *b);
void my_int_free_key_fn(void *key);
#endif