24#ifndef SURICATA_HASH_H
25#define SURICATA_HASH_H
42 char (*
Compare)(
void *, uint16_t,
void *, uint16_t);
struct HashTableBucket_ * next
char(* Compare)(void *, uint16_t, void *, uint16_t)
uint32_t(* Hash)(struct HashTable_ *, void *, uint16_t)
int HashTableRemove(HashTable *, void *, uint16_t)
struct HashTable_ HashTable
char HashTableDefaultCompare(void *, uint16_t, void *, uint16_t)
uint32_t HashTableGenericHash(HashTable *, void *, uint16_t)
void HashTableRegisterTests(void)
HashTable * HashTableInit(uint32_t, uint32_t(*Hash)(struct HashTable_ *, void *, uint16_t), char(*Compare)(void *, uint16_t, void *, uint16_t), void(*Free)(void *))
void HashTableIterate(HashTable *ht, void(*CallbackFn)(void *, void *), void *aux)
struct HashTableBucket_ HashTableBucket
void * HashTableLookup(HashTable *, void *, uint16_t)
int HashTableAdd(HashTable *, void *, uint16_t)
void HashTableFree(HashTable *)