|
ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
|
Per-book bounded storage for strict OPF/container/TOC parsing. More...
#include <epub.h>
Data Fields | |
| xml_workspace_t | reader |
| 4096-byte open-element stack. | |
| xml_span_t | references [k_epub_max_chapters] |
| Spine idref spans retained between OPF passes. | |
| xml_span_t | legacy_cover_id |
| EPUB 2 cover manifest id. | |
| uint16_t | reference_count |
Valid entries in references. | |
Per-book bounded storage for strict OPF/container/TOC parsing.
The reader stack is reused between sequential passes. Reference spans point into the currently parsed immutable OPF and never outlive it.
| xml_span_t epub_xml_workspace_t::legacy_cover_id |
EPUB 2 cover manifest id.
Definition at line 109 of file epub.h.
Referenced by internal_opf_metadata_child(), and internal_opf_resolve_refs().
| xml_workspace_t epub_xml_workspace_t::reader |
4096-byte open-element stack.
Definition at line 106 of file epub.h.
Referenced by priv_epub_xml_parse_container(), priv_epub_xml_parse_nav(), priv_epub_xml_parse_ncx(), priv_epub_xml_parse_opf(), and priv_epub_xml_reader().
| uint16_t epub_xml_workspace_t::reference_count |
Valid entries in references.
Definition at line 110 of file epub.h.
Referenced by internal_collect_spine(), and internal_opf_resolve_refs().
| xml_span_t epub_xml_workspace_t::references[k_epub_max_chapters] |
Spine idref spans retained between OPF passes.
Definition at line 108 of file epub.h.
Referenced by internal_collect_spine(), and internal_opf_resolve_refs().