39 typedef UINT_PTR uintptr_t;
45 #ifdef HAVE_LIBDMALLOC
114 assoc = hash_table[ind];
119 if (key != assoc->
key) {
124 while (assoc->
next) {
126 if (key != assoc->
key) {
133 assoc->
value = value;
141 assoc->
next = new_assoc;
151 hash_table[ind]->
array = &(hash_table[ind]);
173 assoc = hash_table[ind];
178 if (assoc->
key == key) {
182 while (assoc->
next) {
184 if (assoc->
key == key) {
237 *(assoc->
array) = NULL;
static ptr_assoc * new_ptr_assoc(void *key, void *value)
static int hashptr(void *ptr)
void * find_assoc_value(ptr_assoc **hash_table, void *key)
static shared_string * hash_table[TABLESIZE]
void add_ptr_assoc(ptr_assoc **hash_table, void *key, void *value)
struct _ptr_assoc * previous
void init_ptr_assoc_table(ptr_assoc **hash_table)
static ptr_assoc * find_ptr_assoc(ptr_assoc **hash_table, void *key)
struct _ptr_assoc ** array
#define PTR_ASSOC_TABLESIZE
void free_ptr_assoc(ptr_assoc **hash_table, void *key)