66 #define HUGE_SIZE 200000 77 debug(
"",0,
"Dict populate phase.");
104 debug(
"",0,
"Dict lookup phase.");
108 if ((oval1 =
dict_get(dict1, key)) != NULL) {
109 if ((oval2 =
dict_get(dict2, oval1)) != NULL) {
111 error(0,
"Dict cross-key check inconsistent:");
Dict * dict_create(long size_hint, void(*destroy_value)(void *))
void error(int err, const char *fmt,...)
void info(int err, const char *fmt,...)
void dict_put(Dict *dict, Octstr *key, void *value)
void uuid_unparse(const uuid_t uu, char *out)
void uuid_generate(uuid_t out)
#define octstr_get_cstr(ostr)
void * gwlist_extract_first(List *list)
void * dict_get(Dict *dict, Octstr *key)
long dict_key_count(Dict *dict)
void octstr_destroy(Octstr *ostr)
#define octstr_create(cstr)
void octstr_destroy_item(void *os)
void dict_destroy(Dict *dict)
void debug(const char *place, int err, const char *fmt,...)
void gwlib_shutdown(void)
List * dict_keys(Dict *dict)
int octstr_compare(const Octstr *ostr1, const Octstr *ostr2)
void gwlist_destroy(List *list, gwlist_item_destructor_t *destructor)