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

Observable outcome of one cache lookup. More...

#include <mdl_cache.h>

Data Fields

int64_t age_seconds
 Age before this operation, or -1 if unknown.
uint16_t observed_status
 Network or retained status.
bool body_reused
 Returned bytes came from verified storage.
bool revalidated
 A network request was issued.
bool index_rebuilt
 A corrupt index was discarded first.

Detailed Description

Observable outcome of one cache lookup.

Since
0.1.0

Definition at line 105 of file mdl_cache.h.

Field Documentation

◆ age_seconds

int64_t mdl_cache_result_t::age_seconds

Age before this operation, or -1 if unknown.

Definition at line 106 of file mdl_cache.h.

Referenced by internal_cache_prepare(), and priv_mdl_app_report_cache().

◆ body_reused

bool mdl_cache_result_t::body_reused

Returned bytes came from verified storage.

Definition at line 108 of file mdl_cache.h.

Referenced by internal_cache_finish_304(), internal_cover_cached(), mdl_cache_get_buf(), and priv_mdl_app_report_cache().

◆ index_rebuilt

bool mdl_cache_result_t::index_rebuilt

A corrupt index was discarded first.

Definition at line 110 of file mdl_cache.h.

Referenced by internal_cache_prepare(), and priv_mdl_app_report_cache().

◆ observed_status

uint16_t mdl_cache_result_t::observed_status

Network or retained status.

Definition at line 107 of file mdl_cache.h.

Referenced by internal_cache_finish_304(), internal_cache_prepare(), internal_cache_publish(), and priv_mdl_app_report_cache().

◆ revalidated

bool mdl_cache_result_t::revalidated

A network request was issued.

Definition at line 109 of file mdl_cache.h.

Referenced by internal_cache_network().


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