Go to the documentation of this file.
18 #ifndef SURICATA_FLOW_CALLBACKS_H
19 #define SURICATA_FLOW_CALLBACKS_H
void SCFlowRunFinishCallbacks(ThreadVars *tv, Flow *f)
void(* SCFlowInitCallbackFn)(ThreadVars *tv, Flow *f, const Packet *p, void *user)
Function type for flow initialization callbacks.
void SCFlowRunInitCallbacks(ThreadVars *tv, Flow *f, const Packet *p)
void(* SCFlowFinishCallbackFn)(ThreadVars *tv, Flow *f, void *user)
Function type for flow finish callbacks.
Per thread variable structure.
bool SCFlowRegisterFinishCallback(SCFlowFinishCallbackFn fn, void *user)
Register a flow init callback.
void(* SCFlowUpdateCallbackFn)(ThreadVars *tv, Flow *f, Packet *p, void *user)
Function type for flow update callbacks.
bool SCFlowRegisterUpdateCallback(SCFlowUpdateCallbackFn fn, void *user)
Register a flow update callback.
void SCFlowRunUpdateCallbacks(ThreadVars *tv, Flow *f, Packet *p)
bool SCFlowRegisterInitCallback(SCFlowInitCallbackFn fn, void *user)
Register a flow init callback.