diff --git a/src/app-layer-htp.c b/src/app-layer-htp.c index cd25175de3..a7ec00d81e 100644 --- a/src/app-layer-htp.c +++ b/src/app-layer-htp.c @@ -278,7 +278,7 @@ void RegisterHTPParsers(void) } /** - * \brief Returns the main HTTP transaction + * \brief Returns the main (first) HTTP transaction * * \param htp_state HTP library state * \returns Main HTP transation diff --git a/src/app-layer-htp.h b/src/app-layer-htp.h index 8030a4d871..228150f31b 100644 --- a/src/app-layer-htp.h +++ b/src/app-layer-htp.h @@ -33,6 +33,7 @@ void RegisterHTPParsers(void); void HTPParserRegisterTests(void); void HTPAtExitPrintStats(void); void HTPFreeConfig(void); +htp_tx_t *HTPTransactionMain(const HtpState *); #endif /* __APP_LAYER_HTP_H__ */