From dc18c065b77bffbe195fed4b0f60c6a19cdb0a47 Mon Sep 17 00:00:00 2001 From: Robert James Kaes Date: Tue, 12 Sep 2000 00:12:52 +0000 Subject: These all handle reading the tinyproxy configuration file. --- src/grammar.h | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 src/grammar.h (limited to 'src/grammar.h') 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; -- cgit v1.2.3