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