|
suricata
|

Go to the source code of this file.
Functions | |
| ThreadVars * | ThreadVarsAlloc (void) |
| Allocate a new ThreadVars structure. More... | |
| void | ThreadVarsFree (ThreadVars *tv) |
| Free a ThreadVars structure. More... | |
| ThreadVars* ThreadVarsAlloc | ( | void | ) |
Allocate a new ThreadVars structure.
| NULL | if allocation failed. |
| Pointer | to newly allocated ThreadVars structure. |
Definition at line 28 of file threadvars.c.
References SC_ATOMIC_INIT, SCCalloc, SCThreadStorageSize(), and tv.
Referenced by TmThreadCreate().


| void ThreadVarsFree | ( | ThreadVars * | tv | ) |
Free a ThreadVars structure.
| tv | Pointer to ThreadVars structure to be freed. |
Definition at line 42 of file threadvars.c.