app-layer: fix AppLayerParserGetTx (and friends) param confusion posibilities
Avoid future #5408 by passing the
AppLayerParserGetTx and similar API calls.
void *AppLayerParserGetTx(const Flow *f, AppProto alproto, void *alstate, uint64_t tx_id);
Perhaps we can also take
Flow, but this needs a good review to see how the functions are called.
alproto is often a constant, so we should probably keep it that way.
No data to display