Go to the documentation of this file.
24 #ifndef SURICATA_HASH_H
25 #define SURICATA_HASH_H
42 char (*
Compare)(
void *, uint16_t,
void *, uint16_t);
46 #define HASH_NO_SIZE 0
uint32_t HashTableGenericHash(HashTable *, void *, uint16_t)
int HashTableAdd(HashTable *, void *, uint16_t)
char HashTableDefaultCompare(void *, uint16_t, void *, uint16_t)
void * HashTableLookup(HashTable *, void *, uint16_t)
char(* Compare)(void *, uint16_t, void *, uint16_t)
struct HashTableBucket_ HashTableBucket
int HashTableRemove(HashTable *, void *, uint16_t)
struct HashTableBucket_ * next
struct HashTable_ HashTable
HashTable * HashTableInit(uint32_t, uint32_t(*Hash)(struct HashTable_ *, void *, uint16_t), char(*Compare)(void *, uint16_t, void *, uint16_t), void(*Free)(void *))
void HashTableRegisterTests(void)
void HashTableFree(HashTable *)
uint32_t(* Hash)(struct HashTable_ *, void *, uint16_t)