rcbench
Servo and ESC test bench: panel, IOmcu and shared C
Loading...
Searching...
No Matches
log_reader_t Struct Reference

Streaming row splitter: quotes, doubled quotes, and CRLF. More...

#include <log_csv.h>

Data Fields

log_source_t * src
char buf [256]
size_t len
size_t pos
bool eof
bool started
bool failed
bool overflow
bool cut

Detailed Description

Streaming row splitter: quotes, doubled quotes, and CRLF.

Field Documentation

◆ buf

char log_reader_t::buf[256]

read-ahead buffer, bytes

◆ cut

bool log_reader_t::cut

the input ended inside a row, which was not returned

◆ eof

bool log_reader_t::eof

the input ended

◆ failed

bool log_reader_t::failed

a read reported an error; the rest of the file is lost

◆ len

size_t log_reader_t::len

bytes in buf

◆ overflow

bool log_reader_t::overflow

the last row did not fit the field store

◆ pos

size_t log_reader_t::pos

next byte of buf to read

◆ src

log_source_t* log_reader_t::src

the input

◆ started

bool log_reader_t::started

the byte order mark, if any, has been dealt with


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