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

Mutable state for one validated EPUB navigation pass. More...

#include <epub_xml_toc_internal.h>

Collaboration diagram for priv_nav_ctx_t:

Data Fields

const uint8_t * source
 Immutable navigation document.
size_t source_len
 Navigation-document byte count.
epub_book_tbook
 TOC output being populated.
xml_reader_treader
 Reader whose live frames carry markers.
xml_event_t selected
 Selected navigation element.
bool active
 Selected subtree has begun.
bool saw_ol
 Selected navigation contains its list.

Detailed Description

Mutable state for one validated EPUB navigation pass.

Definition at line 22 of file epub_xml_toc_internal.h.

Field Documentation

◆ active

bool priv_nav_ctx_t::active

Selected subtree has begun.

Definition at line 28 of file epub_xml_toc_internal.h.

Referenced by internal_nav_event().

◆ book

epub_book_t* priv_nav_ctx_t::book

TOC output being populated.

Definition at line 25 of file epub_xml_toc_internal.h.

Referenced by internal_nav_event(), and internal_nav_event_start().

◆ reader

xml_reader_t* priv_nav_ctx_t::reader

Reader whose live frames carry markers.

Definition at line 26 of file epub_xml_toc_internal.h.

Referenced by internal_nav_event(), and internal_nav_event_start().

◆ saw_ol

bool priv_nav_ctx_t::saw_ol

Selected navigation contains its list.

Definition at line 29 of file epub_xml_toc_internal.h.

Referenced by internal_nav_event_start(), and priv_epub_xml_parse_nav().

◆ selected

xml_event_t priv_nav_ctx_t::selected

Selected navigation element.

Definition at line 27 of file epub_xml_toc_internal.h.

Referenced by internal_nav_event(), and internal_nav_event_start().

◆ source

const uint8_t* priv_nav_ctx_t::source

Immutable navigation document.

Definition at line 23 of file epub_xml_toc_internal.h.

Referenced by internal_nav_event(), and internal_nav_event_start().

◆ source_len

size_t priv_nav_ctx_t::source_len

Navigation-document byte count.

Definition at line 24 of file epub_xml_toc_internal.h.

Referenced by internal_nav_event(), and internal_nav_event_start().


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