18#ifndef SURICATA_FLOW_CALLBACKS_H
19#define SURICATA_FLOW_CALLBACKS_H
void(* SCFlowFinishCallbackFn)(ThreadVars *tv, Flow *f, void *user)
Function type for flow finish callbacks.
void SCFlowRunUpdateCallbacks(ThreadVars *tv, Flow *f, Packet *p)
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.
void SCFlowRunInitCallbacks(ThreadVars *tv, Flow *f, const Packet *p)
bool SCFlowRegisterInitCallback(SCFlowInitCallbackFn fn, void *user)
Register a flow init callback.
void(* SCFlowInitCallbackFn)(ThreadVars *tv, Flow *f, const Packet *p, void *user)
Function type for flow initialization callbacks.
bool SCFlowRegisterUpdateCallback(SCFlowUpdateCallbackFn fn, void *user)
Register a flow update callback.
void SCFlowRunFinishCallbacks(ThreadVars *tv, Flow *f)
Per thread variable structure.