59 const char* directory,
60 const char* destination,
146 uint8_t* destination,
EPUB (.epub) reader and chapter iterator for ra8-firmware.
Module-private contracts shared by chapter export writers.
Private portable byte-stream contracts for media exporters.
ra8_err_t priv_mdl_rabook_temp_begin(mdl_export_output_t *output, mdl_storage_t *storage, const char *directory, const char *destination, char *path, size_t capacity)
Reserve one collision-free temporary EPUB publication path.
ra8_err_t priv_mdl_rabook_flat_read(void *opaque, uint32_t offset, uint8_t *destination, uint32_t requested, uint32_t *out_read)
Serve one exact flat-blob read to the RBKC writer.
size_t priv_mdl_rabook_epub_read(void *opaque, uint64_t offset, void *destination, size_t length)
Serve one exact random EPUB read to the streamed reader.
ra8_err_t priv_mdl_rabook_epub_close(mdl_rabook_epub_source_t *source)
Close one temporary EPUB stream.
ra8_err_t priv_mdl_rabook_epub_open(mdl_rabook_epub_source_t *source, mdl_storage_t *storage, const char *path)
Open one validated temporary EPUB as a portable random-read stream.
#define RA8_PRIV
Module-private helper: shared across TUs but only inside one library.
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 validated staged publication, including random ZIP backfill.
Open portable EPUB stream retained during one compile.
uint32_t calls
Bounded random-read call tally.
uint64_t size_bytes
Immutable complete EPUB extent.
fw_fs_file_t file
Borrowed portable file handle.
ra8_err_t error
First read/seek protocol failure.
Resident flat RABOOK1 source for the chunked container writer.
const uint8_t * bytes
Immutable flat blob bytes.
uint32_t size_bytes
Complete flat blob extent.
One non-reentrant downloader filesystem dependency bundle.