|
ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
|
One page's dedup/verify record in the series-wide pool. More...
#include <mdl_state.h>
Data Fields | |
| uint64_t | url_hash |
| FNV-1a 64 of the source URL. | |
| uint64_t | content_hash |
| FNV-1a 64 of the fetched bytes. | |
| char | rel_path [k_mdl_relpath_max] |
| Path under the series directory. | |
| char | etag [k_mdl_etag_max] |
| Cached ETag for conditional GET. | |
| char | last_modified [k_mdl_last_mod_max] |
| Cached Last-Modified response value. | |
| int64_t | fetched_at |
| Most recent HTTP result time (epoch s). | |
| uint16_t | response_status |
| Most recent HTTP status; zero if legacy. | |
One page's dedup/verify record in the series-wide pool.
url_hash keys a source URL so a re-fetch of the same image (a rerun, or an image shared between chapters) is found without the network; content_hash is the byte identity used to verify a page already on disk and to prove a reused copy is truly identical.
Definition at line 151 of file mdl_state.h.
| uint64_t mdl_page_rec_t::content_hash |
FNV-1a 64 of the fetched bytes.
Definition at line 153 of file mdl_state.h.
Referenced by internal_mdl_fetch_try_reuse(), internal_mdl_state_emit_pages(), internal_verify_page_rec(), and mdl_state_add_page().
| char mdl_page_rec_t::etag[k_mdl_etag_max] |
Cached ETag for conditional GET.
Definition at line 155 of file mdl_state.h.
Referenced by internal_mdl_fetch_one_page(), internal_mdl_fetch_prepare_page(), internal_mdl_fetch_publish_page(), internal_mdl_fetch_try_reuse(), internal_mdl_state_emit_pages(), mdl_state_add_page(), and priv_mdl_state_valid().
| int64_t mdl_page_rec_t::fetched_at |
Most recent HTTP result time (epoch s).
Definition at line 158 of file mdl_state.h.
Referenced by internal_mdl_fetch_try_reuse(), internal_mdl_state_emit_pages(), mdl_state_add_page(), mdl_state_note_page_response(), and priv_mdl_state_valid().
| char mdl_page_rec_t::last_modified[k_mdl_last_mod_max] |
Cached Last-Modified response value.
Definition at line 157 of file mdl_state.h.
Referenced by internal_mdl_fetch_one_page(), internal_mdl_fetch_prepare_page(), internal_mdl_fetch_publish_page(), internal_mdl_fetch_try_reuse(), internal_mdl_state_emit_pages(), mdl_state_add_page(), and priv_mdl_state_valid().
| char mdl_page_rec_t::rel_path[k_mdl_relpath_max] |
Path under the series directory.
Definition at line 154 of file mdl_state.h.
Referenced by internal_mdl_fetch_try_reuse(), internal_mdl_state_emit_pages(), internal_verify_page_rec(), mdl_state_add_page(), and priv_mdl_state_valid().
| uint16_t mdl_page_rec_t::response_status |
Most recent HTTP status; zero if legacy.
Definition at line 159 of file mdl_state.h.
Referenced by internal_mdl_fetch_try_reuse(), internal_mdl_state_emit_pages(), mdl_state_add_page(), mdl_state_note_page_response(), and priv_mdl_state_valid().
| uint64_t mdl_page_rec_t::url_hash |
FNV-1a 64 of the source URL.
Definition at line 152 of file mdl_state.h.
Referenced by internal_mdl_state_emit_pages(), mdl_state_add_page(), mdl_state_find_page(), and mdl_state_note_page_response().