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

Backing state for a streamed ra8_fs EPUB open (#151). More...

#include <epub_fs.h>

Collaboration diagram for epub_stream_fs_ctx_t:

Data Fields

ra8_fs_file_tfile
 Open source .epub; owned until close.

Detailed Description

Backing state for a streamed ra8_fs EPUB open (#151).

Holds the open source-file handle for a book opened via epub_open_streamed_fs(). The streamed path keeps the file open for the book's whole lifetime and seeks+reads each ZIP entry on demand – so this context, and the file it owns, must out-live the book. Release both with epub_close_streamed_fs().

Invariant
file != NULL between a successful open and the matching close.
See also
epub_open_streamed_fs()
epub_close_streamed_fs()
Since
0.1.0

Definition at line 55 of file epub_fs.h.

Field Documentation

◆ file

ra8_fs_file_t* epub_stream_fs_ctx_t::file

Open source .epub; owned until close.

Definition at line 56 of file epub_fs.h.


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