ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
Loading...
Searching...
No Matches
epub_fs.h
Go to the documentation of this file.
1
26
27#pragma once
28
29#ifdef __cplusplus
30extern "C" {
31#endif
32
33#include <stddef.h>
34
35#include "epub.h"
36#include "ra8_err.h"
37#include "ra8_fs.h"
38
58
91 const char* path,
93 epub_book_t* out_book);
94
118
119#ifdef __cplusplus
120}
121#endif
EPUB (.epub) reader and chapter iterator for ra8-firmware.
ra8_err_t epub_open_streamed_fs(ra8_fs_mount_t *mount, const char *path, epub_stream_fs_ctx_t *io, epub_book_t *out_book)
Stream-open an EPUB directly off a mounted ra8_fs volume, no residency (#151).
ra8_err_t epub_close_streamed_fs(epub_stream_fs_ctx_t *io, epub_book_t *book)
Close a book opened by epub_open_streamed_fs() and its source file.
Error Code Definitions for ra8-firmware.
ra8_err_codes_t ra8_err_t
Canonical error-return type used by every ra8-firmware API.
Definition ra8_err.h:546
Minimal FAT12/FAT16/FAT32 filesystem adapter (read + write).
Opened EPUB book.
Definition epub.h:286
Backing state for a streamed ra8_fs EPUB open (#151).
Definition epub_fs.h:55
ra8_fs_file_t * file
Open source .epub; owned until close.
Definition epub_fs.h:56
Open-file state.
Cached parse of one mounted FAT volume.