diff options
author | An-Cheng Huang <ancheng@vyatta.com> | 2010-10-25 18:24:55 -0700 |
---|---|---|
committer | An-Cheng Huang <ancheng@vyatta.com> | 2010-10-25 18:24:55 -0700 |
commit | bd88dba48665c6002b2fad86866b0ec41e86b7ab (patch) | |
tree | 6ca3f4afa767069781d52349f366e66710a31de1 /src/cparse/cparse_def.h | |
parent | 4e89616719a7d4a84540ac7ed13933f2928e6257 (diff) | |
download | vyatta-cfg-bd88dba48665c6002b2fad86866b0ec41e86b7ab.tar.gz vyatta-cfg-bd88dba48665c6002b2fad86866b0ec41e86b7ab.zip |
initial lex/yacc config file parser
Diffstat (limited to 'src/cparse/cparse_def.h')
-rw-r--r-- | src/cparse/cparse_def.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/cparse/cparse_def.h b/src/cparse/cparse_def.h new file mode 100644 index 0000000..877adb8 --- /dev/null +++ b/src/cparse/cparse_def.h @@ -0,0 +1,12 @@ +#ifndef _CPARSE_DEF_H_ +#define _CPARSE_DEF_H_ + +typedef struct { + char *str; + int deactivated; +} lex_ret_t; + +#define YYSTYPE lex_ret_t + +#endif /* _CPARSE_DEF_H_ */ + |