Go to the documentation of this file.
25 #ifndef SURICATA_APP_LAYER_HTP_FILE_H
26 #define SURICATA_APP_LAYER_HTP_FILE_H
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 HTPParseContentRange(bstr *rawvalue, HTTPContentRange *range)
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 HTPFileOpenWithRange(HtpState *, HtpTxUserData *, const uint8_t *, uint16_t, const uint8_t *, uint32_t, htp_tx_t *, bstr *rawvalue, HtpTxUserData *htud)
Sets range for a file.
void HTPFileParserRegisterTests(void)