Go to the documentation of this file.
22 #ifndef SURICATA_THREAD_STORAGE_H
23 #define SURICATA_THREAD_STORAGE_H
void SCThreadFreeStorageById(ThreadVars *tv, SCThreadStorageId id)
void SCThreadFreeStorage(ThreadVars *tv)
int SCThreadSetStorageById(ThreadVars *tv, SCThreadStorageId id, void *ptr)
Per thread variable structure.
struct SCThreadStorageId SCThreadStorageId
void * SCThreadGetStorageById(const ThreadVars *tv, SCThreadStorageId id)
void SCRegisterThreadStorageTests(void)
unsigned int SCThreadStorageSize(void)
SCThreadStorageId SCThreadStorageRegister(const char *name, void(*Free)(void *))