Go to the documentation of this file.
26 #ifndef SURICATA_FLOW_STORAGE_H
27 #define SURICATA_FLOW_STORAGE_H
47 void *(*Alloc)(
unsigned int),
void (*Free)(
void *));
void * FlowGetStorageById(const Flow *h, FlowStorageId id)
void RegisterFlowStorageTests(void)
void * FlowAllocStorageById(Flow *h, FlowStorageId id)
struct FlowStorageId FlowStorageId
void FlowFreeStorage(Flow *h)
int FlowSetStorageById(Flow *h, FlowStorageId id, void *ptr)
unsigned int FlowStorageSize(void)
FlowStorageId FlowStorageRegister(const char *name, const unsigned int size, void *(*Alloc)(unsigned int), void(*Free)(void *))
void FlowFreeStorageById(Flow *h, FlowStorageId id)