24#ifndef SURICATA_HASHLIST_H
25#define SURICATA_HASHLIST_H
43 char (*
Compare)(
void *, uint16_t,
void *, uint16_t);
55#define HashListTableGetListNext(hb) (hb)->listnext
56#define HashListTableGetListData(hb) (hb)->data
struct HashListTableBucket_ * listnext
struct HashListTableBucket_ * listprev
struct HashListTableBucket_ * bucknext
HashListTableBucket * listhead
HashListTableBucket * listtail
HashListTableBucket ** array
uint32_t(* Hash)(struct HashListTable_ *, void *, uint16_t)
char(* Compare)(void *, uint16_t, void *, uint16_t)
HashListTableBucket * HashListTableGetListHead(HashListTable *)
char HashListTableDefaultCompare(void *, uint16_t, void *, uint16_t)
void HashListTableRegisterTests(void)
void * HashListTableLookup(HashListTable *, void *, uint16_t)
void HashListTableFree(HashListTable *)
struct HashListTableBucket_ HashListTableBucket
uint32_t HashListTableGenericHash(HashListTable *, void *, uint16_t)
struct HashListTable_ HashListTable
int HashListTableAdd(HashListTable *, void *, uint16_t)
HashListTable * HashListTableInit(uint32_t, uint32_t(*Hash)(struct HashListTable_ *, void *, uint16_t), char(*Compare)(void *, uint16_t, void *, uint16_t), void(*Free)(void *))
int HashListTableRemove(HashListTable *, void *, uint16_t)