summaryrefslogtreecommitdiff
path: root/src/cparse/cparse_def.h
diff options
context:
space:
mode:
authorAn-Cheng Huang <ancheng@vyatta.com>2010-10-25 18:24:55 -0700
committerAn-Cheng Huang <ancheng@vyatta.com>2010-10-25 18:24:55 -0700
commitbd88dba48665c6002b2fad86866b0ec41e86b7ab (patch)
tree6ca3f4afa767069781d52349f366e66710a31de1 /src/cparse/cparse_def.h
parent4e89616719a7d4a84540ac7ed13933f2928e6257 (diff)
downloadvyatta-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.h12
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_ */
+