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

Pull-reader state; initialise before each pass. More...

#include <xml.h>

Collaboration diagram for xml_reader_t:

Data Fields

const uint8_t * source
 Immutable source bytes.
size_t source_len
 Source byte count.
size_t position
 Next scan position.
xml_workspace_tworkspace
 Caller-owned stack.
uint16_t stack_size
 Open element count.
uint8_t root_count
 Completed/started roots.
uint8_t root_closed
 One after root close.
uint8_t declaration_seen
 One after XML declaration.
uint8_t doctype_seen
 One after a supported DOCTYPE.
uint8_t finished
 End validation complete.

Detailed Description

Pull-reader state; initialise before each pass.

Definition at line 93 of file xml.h.

Field Documentation

◆ declaration_seen

uint8_t xml_reader_t::declaration_seen

One after XML declaration.

Definition at line 101 of file xml.h.

Referenced by internal_declaration().

◆ doctype_seen

uint8_t xml_reader_t::doctype_seen

One after a supported DOCTYPE.

Definition at line 102 of file xml.h.

Referenced by priv_xml_doctype().

◆ finished

uint8_t xml_reader_t::finished

End validation complete.

Definition at line 103 of file xml.h.

Referenced by xml_reader_next().

◆ position

◆ root_closed

uint8_t xml_reader_t::root_closed

One after root close.

Definition at line 100 of file xml.h.

Referenced by internal_end(), internal_start(), and xml_reader_next().

◆ root_count

uint8_t xml_reader_t::root_count

Completed/started roots.

Definition at line 99 of file xml.h.

Referenced by internal_declaration(), internal_start(), priv_xml_doctype(), and xml_reader_next().

◆ source

const uint8_t* xml_reader_t::source

◆ source_len

size_t xml_reader_t::source_len

◆ stack_size

uint16_t xml_reader_t::stack_size

Open element count.

Definition at line 98 of file xml.h.

Referenced by internal_cdata(), internal_end(), internal_start(), internal_text(), and xml_reader_next().

◆ workspace


The documentation for this struct was generated from the following file:
  • apps/shared_libs/xml/inc/xml.h