|
rcbench
Servo and ESC test bench: panel, IOmcu and shared C
|
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 |
Streaming row splitter: quotes, doubled quotes, and CRLF.
| char log_reader_t::buf[256] |
read-ahead buffer, bytes
| bool log_reader_t::cut |
the input ended inside a row, which was not returned
| bool log_reader_t::eof |
the input ended
| bool log_reader_t::failed |
a read reported an error; the rest of the file is lost
| size_t log_reader_t::len |
bytes in buf
| bool log_reader_t::overflow |
the last row did not fit the field store
| size_t log_reader_t::pos |
next byte of buf to read
| log_source_t* log_reader_t::src |
the input
| bool log_reader_t::started |
the byte order mark, if any, has been dealt with