Package a downloaded chapter folder into a reader-openable container.
struct mdl_export_workspace mdl_export_workspace_t
Caller-owned bounded arena for all exporter scratch state.
Injected portable storage resources for downloader domain code.
ra8_err_t mdl_verify_open_file(mdl_storage_t *storage, mdl_format_t format, fw_fs_file_t *file, uint64_t size_bytes, mdl_export_workspace_t *workspace, mdl_verify_report_t *report)
Validate an artifact through a borrowed open filesystem handle.
ra8_err_t mdl_verify_file(mdl_storage_t *storage, mdl_format_t format, const char *path, mdl_export_workspace_t *workspace, mdl_verify_report_t *report)
Validate a completed artifact using caller-owned scratch only.
bool mdl_format_is_verifiable(mdl_format_t format)
Report whether a format has an in-process structural validator.
ra8_err_t mdl_format_from_path(const char *path, mdl_format_t *out_format)
Infer an artifact format from its complete path suffix.
Error Code Definitions for ra8-firmware.
ra8_err_codes_t ra8_err_t
Canonical error-return type used by every ra8-firmware API.
Caller-owned open file; fields are private to the facade.
One non-reentrant downloader filesystem dependency bundle.
size_t member_count
Total members reported by the container.
size_t page_count
Image members found in the artifact.
mdl_format_t format
Format selected for validation.
bool metadata_present
Required format metadata was present.