|
ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
|
One exact URL-keyed cached document observation. More...
#include <mdl_cache.h>
Data Fields | |
| char | url [k_mdl_url_max] |
| Exact canonical request URL. | |
| char | relative_path [k_mdl_relpath_max] |
| Body leaf beneath the host dir. | |
| char | etag [k_mdl_etag_max] |
| Last response ETag, or empty. | |
| char | last_modified [k_mdl_last_mod_max] |
| Last-Modified, or empty. | |
| uint64_t | url_hash |
| FNV identity accelerator. | |
| uint64_t | content_hash |
| Exact persisted body identity. | |
| int64_t | fetched_at |
| Completion epoch seconds. | |
| uint16_t | response_status |
| Last observed HTTP status. | |
One exact URL-keyed cached document observation.
The URL is retained in full so a non-cryptographic hash collision cannot select another document.
Definition at line 37 of file mdl_cache.h.
| uint64_t mdl_cache_record_t::content_hash |
Exact persisted body identity.
Definition at line 43 of file mdl_cache.h.
Referenced by internal_cache_encode_record(), and priv_mdl_cache_read_body().
| char mdl_cache_record_t::etag[k_mdl_etag_max] |
Last response ETag, or empty.
Definition at line 40 of file mdl_cache.h.
Referenced by internal_cache_encode_record(), internal_cache_fetch(), internal_cache_payload_identity(), internal_cache_read_record(), internal_cache_record_response(), internal_cache_record_valid(), internal_cache_write_records(), and mdl_cache_get_buf().
| int64_t mdl_cache_record_t::fetched_at |
Completion epoch seconds.
Definition at line 44 of file mdl_cache.h.
Referenced by internal_cache_encode_record(), internal_cache_finish_304(), internal_cache_prepare(), internal_cache_record_valid(), and internal_cache_slot().
| char mdl_cache_record_t::last_modified[k_mdl_last_mod_max] |
Last-Modified, or empty.
Definition at line 41 of file mdl_cache.h.
Referenced by internal_cache_encode_record(), internal_cache_fetch(), internal_cache_payload_identity(), internal_cache_read_record(), internal_cache_record_response(), internal_cache_record_valid(), internal_cache_write_records(), and mdl_cache_get_buf().
| char mdl_cache_record_t::relative_path[k_mdl_relpath_max] |
Body leaf beneath the host dir.
Definition at line 39 of file mdl_cache.h.
Referenced by internal_cache_encode_record(), internal_cache_payload_identity(), internal_cache_read_record(), internal_cache_record_response(), internal_cache_record_valid(), internal_cache_write_records(), and priv_mdl_cache_read_body().
| uint16_t mdl_cache_record_t::response_status |
Last observed HTTP status.
Definition at line 45 of file mdl_cache.h.
Referenced by internal_cache_encode_record(), internal_cache_finish_304(), internal_cache_prepare(), and internal_cache_record_valid().
| char mdl_cache_record_t::url[k_mdl_url_max] |
Exact canonical request URL.
Definition at line 38 of file mdl_cache.h.
Referenced by internal_cache_encode_record(), internal_cache_find(), internal_cache_payload_identity(), internal_cache_read_record(), internal_cache_record_response(), internal_cache_record_valid(), and internal_cache_write_records().
| uint64_t mdl_cache_record_t::url_hash |
FNV identity accelerator.
Definition at line 42 of file mdl_cache.h.
Referenced by internal_cache_encode_record(), internal_cache_find(), and internal_cache_record_valid().