|
rcbench
Servo and ESC test bench: panel, IOmcu and shared C
|
One file's text and its rows. The fields are log_text.c's. More...
#include <log_text.h>
Data Fields | |
| char * | buf |
| size_t | len |
| bool | cut |
| int | cols |
| int | rows |
| int | at_row |
| size_t | at_off |
| size_t | at_end |
| size_t | at_next |
| bool | at_held |
| uint16_t * | marks |
| size_t | walked |
One file's text and its rows. The fields are log_text.c's.
| size_t log_text_t::at_end |
... where it ends
| bool log_text_t::at_held |
the four above hold a row
| size_t log_text_t::at_next |
... and where the row after it starts
| size_t log_text_t::at_off |
... where it starts in buf,
| int log_text_t::at_row |
the last row found ...
| char* log_text_t::buf |
the text, terminated; NULL before a load
| int log_text_t::cols |
cells a row holds
| bool log_text_t::cut |
the file holds more than LOG_TEXT_MAX bytes
| size_t log_text_t::len |
bytes in buf
| uint16_t* log_text_t::marks |
where row k * LOG_TEXT_MARK starts
| int log_text_t::rows |
rows of the whole text at cols
| size_t log_text_t::walked |
bytes the row lookups have read since the load, what a frame costs