HTP
0.5
|
#include <htp.h>
Data Fields | |
enum htp_file_source_t | source |
bstr * | filename |
int64_t | len |
char * | tmpname |
int | fd |
Used to represent files that are seen during the processing of HTTP traffic. Most commonly this refers to files seen in multipart/form-data payloads. In addition, PUT request bodies can be treated as files.
int htp_file_t::fd |
The file descriptor used for external storage, or -1 if unused.
bstr* htp_file_t::filename |
File name, as provided (e.g., in the Content-Disposition multipart part header.
int64_t htp_file_t::len |
File length.
enum htp_file_source_t htp_file_t::source |
Where did this file come from? Possible values: HTP_FILE_MULTIPART and HTP_FILE_PUT.
char* htp_file_t::tmpname |
The unique filename in which this file is stored on the filesystem, when applicable.