24 #define ENABLE_CURLX_PRINTF
int Curl_hash_init(struct curl_hash *h, int slots, hash_function hfunc, comp_function comparator, curl_hash_dtor dtor)
abort_unless(value!=NULL,"Out of memory")
UNITTEST_START char * ptr
static struct curl_hash hash_static
void Curl_hash_destroy(struct curl_hash *h)
void Curl_hash_clean(struct curl_hash *h)
static void unit_stop(void)
size_t Curl_str_key_compare(void *k1, size_t key1_len, void *k2, size_t key2_len)
static CURLcode unit_setup(void)
static void mydtor(void *p)
UNITTEST_START int * value
size_t Curl_hash_str(void *key, size_t key_length, size_t slots_num)
void * Curl_hash_add(struct curl_hash *h, void *key, size_t key_len, void *p)