log_err_t log_text_load(log_text_t *t, log_source_t *src, int cols)
Read src from its top into t, and count its rows.
Definition log_text.c:164
void log_text_free(log_text_t *t)
Free what t holds and empty it.
Definition log_text.c:35
bool log_text_row(log_text_t *t, int i, char *out, size_t n)
Row i of the text into out.
Definition log_text.c:219
void log_text_set_allocator(void *(*alloc_fn)(size_t), void(*free_fn)(void *))
Set the allocator the buffer comes from, for a test that refuses it.
Definition log_text.c:28
One file's text and its rows. The fields are log_text.c's.
Definition log_text.h:51