ckvp_t stores the state, it must be initialized with CKVP_INIT before being fed to ckvp_parse(). More...
#include <ckvp.h>
Public Attributes | |
unsigned int | state |
Parsing status. | |
unsigned int | line |
Current line. | |
unsigned int | column |
Current column. | |
unsigned int | internal |
Internal state. | |
size_t | out_size |
Number of characters in "out". | |
char | out [(CKVP_OUT_SIZE+1)] |
Output buffer. |
ckvp_t stores the state, it must be initialized with CKVP_INIT before being fed to ckvp_parse().
When "state" reaches CKVP_OUT_FULL, "out_size" is equal to CKVP_OUT_SIZE ("out" is full), and ckvp_parse() won't process any more characters until "out_size" is reset.
unsigned int ckvp_t::column |
Current column.
unsigned int ckvp_t::internal |
Internal state.
unsigned int ckvp_t::line |
Current line.
char ckvp_t::out[(CKVP_OUT_SIZE+1)] |
Output buffer.
Be careful, this buffer not NUL-terminated.
size_t ckvp_t::out_size |
Number of characters in "out".
unsigned int ckvp_t::state |
Parsing status.