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

Caller-owned state for one retryable streamed fetch. More...

#include <mdl_fetch_body_internal.h>

Collaboration diagram for mdl_fetch_body_t:

Data Fields

mdl_storage_tstorage
 Exclusive storage binding.
const char * target_abs
 Requested absolute destination.
const char * target_rel
 Requested relative path or NULL.
mdl_fetch_body_mode_t mode
 Exact or magic-typed publication.
mdl_storage_txn_t writer
 Single private output stage.
uint8_t prefix [k_mdl_fetch_magic_bytes]
 Deferred signature bytes.
uint8_t prefix_bytes
 Bytes retained in prefix.
uint64_t received
 Network bytes accepted.
char actual_abs [PATH_MAX]
 Magic-derived final path.
char actual_rel [k_mdl_relpath_max]
 Magic-derived relative path.

Detailed Description

Caller-owned state for one retryable streamed fetch.

Invariant
An active writer owns the bound storage transaction workspace.
Since
0.1.0

Definition at line 38 of file mdl_fetch_body_internal.h.

Field Documentation

◆ actual_abs

char mdl_fetch_body_t::actual_abs[PATH_MAX]

◆ actual_rel

char mdl_fetch_body_t::actual_rel[k_mdl_relpath_max]

Magic-derived relative path.

Definition at line 48 of file mdl_fetch_body_internal.h.

Referenced by internal_body_paths(), internal_body_reset(), internal_cover_finish(), and internal_mdl_fetch_publish_page().

◆ mode

mdl_fetch_body_mode_t mdl_fetch_body_t::mode

Exact or magic-typed publication.

Definition at line 42 of file mdl_fetch_body_internal.h.

Referenced by internal_body_begin(), and internal_body_write().

◆ prefix

uint8_t mdl_fetch_body_t::prefix[k_mdl_fetch_magic_bytes]

Deferred signature bytes.

Definition at line 44 of file mdl_fetch_body_internal.h.

Referenced by internal_body_begin(), internal_body_buffer_prefix(), and internal_body_flush_prefix().

◆ prefix_bytes

uint8_t mdl_fetch_body_t::prefix_bytes

◆ received

uint64_t mdl_fetch_body_t::received

◆ storage

mdl_storage_t* mdl_fetch_body_t::storage

Exclusive storage binding.

Definition at line 39 of file mdl_fetch_body_internal.h.

Referenced by internal_body_begin(), and priv_mdl_fetch_body_prepare().

◆ target_abs

const char* mdl_fetch_body_t::target_abs

Requested absolute destination.

Definition at line 40 of file mdl_fetch_body_internal.h.

Referenced by internal_body_begin(), and internal_body_paths().

◆ target_rel

const char* mdl_fetch_body_t::target_rel

Requested relative path or NULL.

Definition at line 41 of file mdl_fetch_body_internal.h.

Referenced by internal_body_paths().

◆ writer


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