htp_multipart_part_t Struct Reference

#include <htp_multipart.h>

Data Fields

htp_mpartp_tparser
enum htp_multipart_type_t type
size_t len
bstrname
bstrvalue
bstrcontent_type
htp_table_theaders
htp_file_tfile

Detailed Description

Holds information related to a part.


Field Documentation

Part content type, from the Content-Type header. Can be NULL.

File data, available only for MULTIPART_PART_FILE parts.

Part headers (htp_header_t instances), using header name as the key.

Raw part length (i.e., headers and data).

Part name, from the Content-Disposition header. Can be NULL.

Pointer to the parser.

Part type; see the MULTIPART_PART_* constants.

Part value; the contents depends on the type of the part: 1) NULL for files; 2) contains complete part contents for preamble and epilogue parts (they have no headers), and 3) data only (headers excluded) for text and unknown parts.


The documentation for this struct was generated from the following file:

Generated on 15 Jul 2018 for HTP by  doxygen 1.6.1