--- title: "_hashtable_config_t Struct Reference" layout: default permalink: /struct__hashtable__config__t.html ---
DynamoRIO
|
#include <hashtable.h>
Data Fields | |
size_t | size |
bool | resizable |
uint | resize_threshold |
void(* | free_key_func )(void *) |
Configuration parameters for a hashtable.
void(* _hashtable_config_t::free_key_func) (void *) |
Called whenever an entry is removed, with the key passed in. If "str_dup" is set to true in hashtable_init() or hashtable_init_ex(), this field is ignored.
bool _hashtable_config_t::resizable |
Whether the table should be resized
uint _hashtable_config_t::resize_threshold |
Resize the table at this % full
size_t _hashtable_config_t::size |
The size of the hashtable_config_t struct used