update hashmap library
This commit is contained in:
@@ -33,12 +33,12 @@ void cws_utils_get_client_ip(struct sockaddr_storage *sa, char *ip);
|
||||
char *cws_strip(char *str);
|
||||
|
||||
/* Functions used for hash maps */
|
||||
int my_str_hash_fn(void *key);
|
||||
bool my_str_equal_fn(void *a, void *b);
|
||||
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);
|
||||
|
||||
int my_int_hash_fn(void *key);
|
||||
bool my_int_equal_fn(void *a, void *b);
|
||||
unsigned int my_int_hash_fn(const void *key);
|
||||
bool my_int_equal_fn(const void *a, const void *b);
|
||||
void my_int_free_fn(void *value);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user