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

Immutable validation state shared by the bounded table passes. More...

#include <book_stream_internal.h>

Collaboration diagram for stream_validate_t:

Data Fields

book_stream_read_fn read
 Exact source callback.
void * read_ctx
 Callback context.
uint64_t source_size
 Exact flat-source byte size.
uint8_t * scratch
 Caller transfer buffer.
uint32_t scratch_cap
 Transfer-buffer capacity.
book_header_t hdr
 Decoded host-order header.

Detailed Description

Immutable validation state shared by the bounded table passes.

Definition at line 120 of file book_stream_internal.h.

Field Documentation

◆ hdr

◆ read

book_stream_read_fn stream_validate_t::read

Exact source callback.

Definition at line 121 of file book_stream_internal.h.

Referenced by priv_book_stream_read().

◆ read_ctx

void* stream_validate_t::read_ctx

Callback context.

Definition at line 122 of file book_stream_internal.h.

Referenced by priv_book_stream_read().

◆ scratch

uint8_t* stream_validate_t::scratch

◆ scratch_cap

uint32_t stream_validate_t::scratch_cap

Transfer-buffer capacity.

Definition at line 125 of file book_stream_internal.h.

Referenced by internal_validate_crc(), and internal_validate_header_fields().

◆ source_size

uint64_t stream_validate_t::source_size

Exact flat-source byte size.

Definition at line 123 of file book_stream_internal.h.

Referenced by internal_validate_header_fields(), and priv_book_stream_read().


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