Go to the documentation of this file.
24 #ifndef SURICATA_UTIL_ROHASH_H
25 #define SURICATA_UTIL_ROHASH_H
ROHashTable * ROHashInit(uint8_t hash_bits, uint16_t item_size)
initialize a new rohash
int ROHashInitQueueValue(ROHashTable *table, void *value, uint16_t size)
Add a new value to the hash.
uint32_t ROHashMemorySize(ROHashTable *table)
TAILQ_HEAD(, ROHashTableItem_) head
void * ROHashLookup(ROHashTable *table, void *data, uint16_t size)
struct ROHashTable_ ROHashTable
void ROHashFree(ROHashTable *table)
int ROHashInitFinalize(ROHashTable *table)
create final hash data structure