ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
Loading...
Searching...
No Matches
mdl_http_headers_t Struct Reference

Fixed-capacity storage for the four optional MDL HTTP request headers. More...

Data Fields

char user_agent [k_ra8_mdl_user_agent_max]
 User-Agent staging.
char referer [k_ra8_mdl_referer_max]
 Referer staging.
char if_none_match [k_ra8_mdl_etag_max]
 If-None-Match staging.
char if_modified_since [k_ra8_mdl_http_date_max]
 If-Modified-Since staging.

Detailed Description

Fixed-capacity storage for the four optional MDL HTTP request headers.

Each buffer is sized by its own protocol maximum and zero-initialized, so an absent header is transmitted as an empty string rather than as a dangling pointer into caller memory.

Invariant
Every member is NUL-terminated for its whole declared capacity.
See also
internal_mdl_stage_headers()
Since
0.1.0

Definition at line 532 of file ra8_c6link_mdl.c.

Field Documentation

◆ if_modified_since

char mdl_http_headers_t::if_modified_since[k_ra8_mdl_http_date_max]

If-Modified-Since staging.

Definition at line 536 of file ra8_c6link_mdl.c.

Referenced by internal_mdl_stage_headers(), and ra8_c6link_mdl_start_request().

◆ if_none_match

char mdl_http_headers_t::if_none_match[k_ra8_mdl_etag_max]

If-None-Match staging.

Definition at line 535 of file ra8_c6link_mdl.c.

Referenced by internal_mdl_stage_headers(), and ra8_c6link_mdl_start_request().

◆ referer

char mdl_http_headers_t::referer[k_ra8_mdl_referer_max]

Referer staging.

Definition at line 534 of file ra8_c6link_mdl.c.

Referenced by internal_mdl_stage_headers(), and ra8_c6link_mdl_start_request().

◆ user_agent

char mdl_http_headers_t::user_agent[k_ra8_mdl_user_agent_max]

User-Agent staging.

Definition at line 533 of file ra8_c6link_mdl.c.

Referenced by internal_mdl_stage_headers(), and ra8_c6link_mdl_start_request().


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