ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
Loading...
Searching...
No Matches
mdl_report.h
Go to the documentation of this file.
1
16#pragma once
17
18#include "mdl_fetch.h"
19
47
68
State-aware chapter/page download orchestrator for the media downloader.
ra8_err_t mdl_report_progress(void *ctx, const mdl_fetch_progress_t *ev)
Per-page progress sink: print one redirect-safe line per page.
Definition mdl_report.c:119
ra8_err_t mdl_report_progress_bar(void *ctx, const mdl_fetch_progress_t *ev)
Per-page progress bar sink: render an in-place terminal progress bar.
Definition mdl_report.c:169
ra8_err_t mdl_report_failures(ra8_io_stream_t *diagnostic, const mdl_fetch_faillog_t *log)
End-of-run summary: list every failure with its URL and reason.
Definition mdl_report.c:214
ra8_err_codes_t ra8_err_t
Canonical error-return type used by every ra8-firmware API.
Definition ra8_err.h:546
Bounded record of every failure in a run (declare at file scope).
Definition mdl_fetch.h:108
One per-page progress event the run emits through mdl_progress_fn.
Definition mdl_fetch.h:125
Caller-allocated byte-stream handle binding a sink to its context.