diff options
Diffstat (limited to 'include/lem-parsers.h')
-rw-r--r-- | include/lem-parsers.h | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/include/lem-parsers.h b/include/lem-parsers.h index b65becd..52ab696 100644 --- a/include/lem-parsers.h +++ b/include/lem-parsers.h @@ -21,23 +21,16 @@ #include <lem.h> +#define LEM_INPUTBUF_PSIZE (4*sizeof(size_t)) #define LEM_INPUTBUF_SIZE 4096 struct lem_inputbuf { unsigned int start; unsigned int end; - union { - void *p; - unsigned long u; - }; - int parts; + char pstate[LEM_INPUTBUF_PSIZE]; char buf[LEM_INPUTBUF_SIZE]; }; -enum lem_presult { - LEM_PMORE = 0, -}; - enum lem_preason { LEM_PCLOSED, LEM_PERROR, |