Go to the documentation of this file.
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
int HashListTableAdd(HashListTable *, void *, uint16_t)
uint32_t HashListTableGenericHash(HashListTable *, void *, uint16_t)
HashListTableBucket * HashListTableGetListHead(HashListTable *)
struct HashListTableBucket_ HashListTableBucket
struct HashListTableBucket_ * listprev
HashListTable * HashListTableInit(uint32_t, uint32_t(*Hash)(struct HashListTable_ *, void *, uint16_t), char(*Compare)(void *, uint16_t, void *, uint16_t), void(*Free)(void *))
char(* Compare)(void *, uint16_t, void *, uint16_t)
uint32_t(* Hash)(struct HashListTable_ *, void *, uint16_t)
void HashListTableRegisterTests(void)
HashListTableBucket * listtail
HashListTableBucket * listhead
struct HashListTable_ HashListTable
void HashListTableFree(HashListTable *)
HashListTableBucket ** array
struct HashListTableBucket_ * listnext
void * HashListTableLookup(HashListTable *, void *, uint16_t)
int HashListTableRemove(HashListTable *, void *, uint16_t)
struct HashListTableBucket_ * bucknext
char HashListTableDefaultCompare(void *, uint16_t, void *, uint16_t)