ossp-pkg/l2/l2_spec.h
1.2
#ifndef __L2_SPEC_H__
#define __L2_SPEC_H__
#include "l2.h"
typedef struct {
const char *inputptr; /* input buffer: current reading pointer */
const char *inputbuf; /* input buffer: begin of buffer */
size_t inputlen; /* input buffer: size of buffer */
l2_env_t *env; /* environment for channel create & error remember */
l2_channel_t *ch; /* top-level/root/result channel */
l2_channel_t *chTmp; /* temporary channel needed in the parser */
l2_result_t rv; /* return value */
void *yyscan; /* Flex scanner context */
} l2_spec_ctx_t;
#endif /* __L2_SPEC_H__ */