36 if (init_callbacks == NULL) {
40 while (current->
next != NULL) {
41 current = current->
next;
SCThreadInitCallbackFn Callback
struct ThreadInitCallback_ * next
Per thread variable structure.
bool SCThreadRegisterInitCallback(SCThreadInitCallbackFn fn, void *user)
Register a thread init callback.
struct ThreadInitCallback_ ThreadInitCallback
void SCThreadRunInitCallbacks(ThreadVars *tv)
void(* SCThreadInitCallbackFn)(ThreadVars *tv, void *user)
Function type for thread intialization callbacks.