DGen/SDL
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Attributes
ckvp_t Struct Reference

ckvp_t stores the state, it must be initialized with CKVP_INIT before being fed to ckvp_parse(). More...

#include <ckvp.h>

List of all members.

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.

Detailed Description

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.


Member Data Documentation

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.


The documentation for this struct was generated from the following file: