blob: 600356d98819368c601b43fdceb2955e5ad4de0b (
plain)
1
2
3
4
5
6
7
8
9
10
|
/* parse lib: parse mmapped text with \n terminated lines */
/* a memory buffer. */
struct state {
const char* buffirst; /* pointer to the buffer */
size_t buflen; /* length of the buffer */
size_t cur; /* already parsed bytes */
};
#include "parse_defs.h"
#include "pw_defs.h"
|