26#ifndef SURICATA_FLOW_STORAGE_H
27#define SURICATA_FLOW_STORAGE_H
47 void *(*Alloc)(
unsigned int),
void (*Free)(
void *));
void RegisterFlowStorageTests(void)
void FlowFreeStorage(Flow *h)
void FlowFreeStorageById(Flow *h, FlowStorageId id)
void * FlowGetStorageById(const Flow *h, FlowStorageId id)
FlowStorageId FlowStorageRegister(const char *name, const unsigned int size, void *(*Alloc)(unsigned int), void(*Free)(void *))
int FlowSetStorageById(Flow *h, FlowStorageId id, void *ptr)
unsigned int FlowStorageSize(void)
void * FlowAllocStorageById(Flow *h, FlowStorageId id)