GNU libmicrohttpd 1.0.2
Loading...
Searching...
No Matches
MHD_HeaderProcessing Struct Reference

#include </builddir/build/BUILD/libmicrohttpd-1.0.2-build/libmicrohttpd-1.0.2/src/microhttpd/internal.h>

Data Fields

size_t proc_pos
 
size_t ws_start
 
bool name_end_found
 
size_t name_len
 
size_t value_start
 
bool starts_with_ws
 

Detailed Description

The request header processing data

Definition at line 985 of file internal.h.

Field Documentation

◆ name_end_found

bool MHD_HeaderProcessing::name_end_found

Indicates that end of the header (field) name found. Must be false until the first colon in line is found.

Definition at line 1005 of file internal.h.

Referenced by get_req_header().

◆ name_len

size_t MHD_HeaderProcessing::name_len

The length of the header name. Must be zero until the first colon in line is found. Name always starts at zero position.

Definition at line 1012 of file internal.h.

Referenced by get_req_header().

◆ proc_pos

size_t MHD_HeaderProcessing::proc_pos

The position of the last processed character

Definition at line 990 of file internal.h.

Referenced by get_req_header().

◆ starts_with_ws

bool MHD_HeaderProcessing::starts_with_ws

Line starts with whitespace. It's meaningful only for the first line, as other lines should be handled as "folded".

Definition at line 1025 of file internal.h.

Referenced by get_req_header().

◆ value_start

size_t MHD_HeaderProcessing::value_start

The position of the first character of the header value. Zero when the first character has not been found yet.

Definition at line 1018 of file internal.h.

Referenced by get_req_header().

◆ ws_start

size_t MHD_HeaderProcessing::ws_start

The position of the first whitespace character in current contiguous whitespace block. Zero when no whitespace found or found non-whitespace character after whitespace. Must be zero, if the current character is not whitespace.

Definition at line 999 of file internal.h.

Referenced by get_req_header().


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