Go to the documentation of this file.
25 #ifndef SURICATA_APP_LAYER_HTP_FILE_H
26 #define SURICATA_APP_LAYER_HTP_FILE_H
33 uint32_t,
const htp_tx_t *,
const bstr *rawvalue,
HtpTxUserData *htud);
int HTPFileOpenWithRange(HtpState *, HtpTxUserData *, const uint8_t *, uint16_t, const uint8_t *, uint32_t, const htp_tx_t *, const bstr *rawvalue, HtpTxUserData *htud)
Sets range for a file.
int HTPFileOpen(HtpState *, HtpTxUserData *, const uint8_t *, uint16_t, const uint8_t *, uint32_t, uint8_t)
Open the file with "filename" and pass the first chunk of data if any.
int HTPFileStoreChunk(HtpTxUserData *, const uint8_t *, uint32_t, uint8_t)
Store a chunk of data in the flow.
bool HTPFileCloseHandleRange(const StreamingBufferConfig *sbcfg, FileContainer *, const uint16_t, HttpRangeContainerBlock *, const uint8_t *, uint32_t)
close range, add reassembled file if possible
int HTPFileClose(HtpTxUserData *tx, const uint8_t *data, uint32_t data_len, uint8_t flags, uint8_t direction)
Close the file in the flow.
int HTPParseContentRange(const bstr *rawvalue, HTTPContentRange *range)
void HTPFileParserRegisterTests(void)