summaryrefslogtreecommitdiff
path: root/src/grammar.h
diff options
context:
space:
mode:
authorRobert James Kaes <rjkaes@users.sourceforge.net>2000-09-12 00:12:52 +0000
committerRobert James Kaes <rjkaes@users.sourceforge.net>2000-09-12 00:12:52 +0000
commitdc18c065b77bffbe195fed4b0f60c6a19cdb0a47 (patch)
treeb49a2f03aeedabbf8fc26b3e7806786953e9daf8 /src/grammar.h
parent2b5c6be1d514b64dfa34bb272a1b6d740b684ad6 (diff)
downloadtinyproxy-dc18c065b77bffbe195fed4b0f60c6a19cdb0a47.tar.gz
tinyproxy-dc18c065b77bffbe195fed4b0f60c6a19cdb0a47.zip
These all handle reading the tinyproxy configuration file.
Diffstat (limited to 'src/grammar.h')
-rw-r--r--src/grammar.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/src/grammar.h b/src/grammar.h
new file mode 100644
index 0000000..903de74
--- /dev/null
+++ b/src/grammar.h
@@ -0,0 +1,35 @@
+typedef union {
+ unsigned int num;
+ char *cptr;
+ void *ptr;
+} YYSTYPE;
+#define KW_PORT 257
+#define KW_LISTEN 258
+#define KW_LOGFILE 259
+#define KW_PIDFILE 260
+#define KW_SYSLOG 261
+#define KW_MAXCLIENTS 262
+#define KW_MAXSPARESERVERS 263
+#define KW_MINSPARESERVERS 264
+#define KW_STARTSERVERS 265
+#define KW_MAXREQUESTSPERCHILD 266
+#define KW_TIMEOUT 267
+#define KW_USER 268
+#define KW_GROUP 269
+#define KW_ANONYMOUS 270
+#define KW_FILTER 271
+#define KW_XTINYPROXY 272
+#define KW_TUNNEL 273
+#define KW_ALLOW 274
+#define KW_DENY 275
+#define KW_YES 276
+#define KW_NO 277
+#define IDENTIFIER 278
+#define NUMBER 279
+#define STRING 280
+#define NUMERIC_ADDRESS 281
+#define STRING_ADDRESS 282
+#define NETMASK_ADDRESS 283
+
+
+extern YYSTYPE yylval;