~ubuntu-branches/ubuntu/hardy/syslog-ng/hardy

« back to all changes in this revision

Viewing changes to src/cfg-grammar.h

  • Committer: Bazaar Package Importer
  • Author(s): SZALAY Attila
  • Date: 2006-11-17 09:37:45 UTC
  • mfrom: (1.1.7 upstream)
  • Revision ID: james.westby@ubuntu.com-20061117093745-r3o5kfk91fy735cm
Tags: 2.0.0-1
* New upstream version. I hope it's really fix it.  (Closes: #384021)
* Remove util-linux dependecy. This dependency won't needed because
  util-linux is essential. (Closes: #398640)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* A Bison parser, made by GNU Bison 2.1.  */
 
1
/* A Bison parser, made by GNU Bison 1.875d.  */
2
2
 
3
3
/* Skeleton parser for Yacc-like parsing with Bison,
4
 
   Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
 
4
   Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
5
5
 
6
6
   This program is free software; you can redistribute it and/or modify
7
7
   it under the terms of the GNU General Public License as published by
15
15
 
16
16
   You should have received a copy of the GNU General Public License
17
17
   along with this program; if not, write to the Free Software
18
 
   Foundation, Inc., 51 Franklin Street, Fifth Floor,
19
 
   Boston, MA 02110-1301, USA.  */
 
18
   Foundation, Inc., 59 Temple Place - Suite 330,
 
19
   Boston, MA 02111-1307, USA.  */
20
20
 
21
21
/* As a special exception, when this file is copied by Bison into a
22
22
   Bison output file, you may use that output file without restriction.
67
67
     KW_DNS_CACHE_SIZE = 293,
68
68
     KW_DNS_CACHE_EXPIRE = 294,
69
69
     KW_DNS_CACHE_EXPIRE_FAILED = 295,
70
 
     KW_TZ_CONVERT = 296,
71
 
     KW_TS_FORMAT = 297,
72
 
     KW_FRAC_DIGITS = 298,
73
 
     KW_LOG_FIFO_SIZE = 299,
74
 
     KW_LOG_FETCH_LIMIT = 300,
75
 
     KW_LOG_IW_SIZE = 301,
76
 
     KW_LOG_PREFIX = 302,
77
 
     KW_FLAGS = 303,
78
 
     KW_CATCHALL = 304,
79
 
     KW_FALLBACK = 305,
80
 
     KW_FINAL = 306,
81
 
     KW_FLOW_CONTROL = 307,
82
 
     KW_PAD_SIZE = 308,
83
 
     KW_TIME_ZONE = 309,
84
 
     KW_RECV_TIME_ZONE = 310,
85
 
     KW_SEND_TIME_ZONE = 311,
86
 
     KW_TIME_REOPEN = 312,
87
 
     KW_TIME_REAP = 313,
88
 
     KW_TIME_SLEEP = 314,
89
 
     KW_TMPL_ESCAPE = 315,
90
 
     KW_OPTIONAL = 316,
91
 
     KW_CREATE_DIRS = 317,
92
 
     KW_OWNER = 318,
93
 
     KW_GROUP = 319,
94
 
     KW_PERM = 320,
95
 
     KW_DIR_OWNER = 321,
96
 
     KW_DIR_GROUP = 322,
97
 
     KW_DIR_PERM = 323,
98
 
     KW_TEMPLATE = 324,
99
 
     KW_TEMPLATE_ESCAPE = 325,
100
 
     KW_FOLLOW_FREQ = 326,
101
 
     KW_KEEP_ALIVE = 327,
102
 
     KW_MAX_CONNECTIONS = 328,
103
 
     KW_LOCALIP = 329,
104
 
     KW_IP = 330,
105
 
     KW_LOCALPORT = 331,
106
 
     KW_PORT = 332,
107
 
     KW_DESTPORT = 333,
108
 
     KW_IP_TTL = 334,
109
 
     KW_SO_BROADCAST = 335,
110
 
     KW_IP_TOS = 336,
111
 
     KW_SO_SNDBUF = 337,
112
 
     KW_SO_RCVBUF = 338,
113
 
     KW_USE_TIME_RECVD = 339,
114
 
     KW_FACILITY = 340,
115
 
     KW_LEVEL = 341,
116
 
     KW_HOST = 342,
117
 
     KW_MATCH = 343,
118
 
     KW_NETMASK = 344,
119
 
     KW_YES = 345,
120
 
     KW_NO = 346,
121
 
     KW_REQUIRED = 347,
122
 
     KW_ALLOW = 348,
123
 
     KW_DENY = 349,
124
 
     KW_GC_IDLE_THRESHOLD = 350,
125
 
     KW_GC_BUSY_THRESHOLD = 351,
126
 
     KW_COMPRESS = 352,
127
 
     KW_MAC = 353,
128
 
     KW_AUTH = 354,
129
 
     KW_ENCRYPT = 355,
130
 
     DOTDOT = 356,
131
 
     IDENTIFIER = 357,
132
 
     NUMBER = 358,
133
 
     STRING = 359,
134
 
     KW_OR = 360,
135
 
     KW_AND = 361,
136
 
     KW_NOT = 362
 
70
     KW_DNS_CACHE_HOSTS = 296,
 
71
     KW_PERSIST_ONLY = 297,
 
72
     KW_TZ_CONVERT = 298,
 
73
     KW_TS_FORMAT = 299,
 
74
     KW_FRAC_DIGITS = 300,
 
75
     KW_LOG_FIFO_SIZE = 301,
 
76
     KW_LOG_FETCH_LIMIT = 302,
 
77
     KW_LOG_IW_SIZE = 303,
 
78
     KW_LOG_PREFIX = 304,
 
79
     KW_FLAGS = 305,
 
80
     KW_CATCHALL = 306,
 
81
     KW_FALLBACK = 307,
 
82
     KW_FINAL = 308,
 
83
     KW_FLOW_CONTROL = 309,
 
84
     KW_PAD_SIZE = 310,
 
85
     KW_TIME_ZONE = 311,
 
86
     KW_RECV_TIME_ZONE = 312,
 
87
     KW_SEND_TIME_ZONE = 313,
 
88
     KW_TIME_REOPEN = 314,
 
89
     KW_TIME_REAP = 315,
 
90
     KW_TIME_SLEEP = 316,
 
91
     KW_TMPL_ESCAPE = 317,
 
92
     KW_OPTIONAL = 318,
 
93
     KW_CREATE_DIRS = 319,
 
94
     KW_OWNER = 320,
 
95
     KW_GROUP = 321,
 
96
     KW_PERM = 322,
 
97
     KW_DIR_OWNER = 323,
 
98
     KW_DIR_GROUP = 324,
 
99
     KW_DIR_PERM = 325,
 
100
     KW_TEMPLATE = 326,
 
101
     KW_TEMPLATE_ESCAPE = 327,
 
102
     KW_FOLLOW_FREQ = 328,
 
103
     KW_REMOVE_IF_OLDER = 329,
 
104
     KW_KEEP_ALIVE = 330,
 
105
     KW_MAX_CONNECTIONS = 331,
 
106
     KW_LOCALIP = 332,
 
107
     KW_IP = 333,
 
108
     KW_LOCALPORT = 334,
 
109
     KW_PORT = 335,
 
110
     KW_DESTPORT = 336,
 
111
     KW_IP_TTL = 337,
 
112
     KW_SO_BROADCAST = 338,
 
113
     KW_IP_TOS = 339,
 
114
     KW_SO_SNDBUF = 340,
 
115
     KW_SO_RCVBUF = 341,
 
116
     KW_USE_TIME_RECVD = 342,
 
117
     KW_FACILITY = 343,
 
118
     KW_LEVEL = 344,
 
119
     KW_HOST = 345,
 
120
     KW_MATCH = 346,
 
121
     KW_NETMASK = 347,
 
122
     KW_YES = 348,
 
123
     KW_NO = 349,
 
124
     KW_REQUIRED = 350,
 
125
     KW_ALLOW = 351,
 
126
     KW_DENY = 352,
 
127
     KW_GC_IDLE_THRESHOLD = 353,
 
128
     KW_GC_BUSY_THRESHOLD = 354,
 
129
     KW_COMPRESS = 355,
 
130
     KW_MAC = 356,
 
131
     KW_AUTH = 357,
 
132
     KW_ENCRYPT = 358,
 
133
     DOTDOT = 359,
 
134
     IDENTIFIER = 360,
 
135
     NUMBER = 361,
 
136
     STRING = 362,
 
137
     KW_OR = 363,
 
138
     KW_AND = 364,
 
139
     KW_NOT = 365
137
140
   };
138
141
#endif
139
 
/* Tokens.  */
140
142
#define KW_SOURCE 258
141
143
#define KW_DESTINATION 259
142
144
#define KW_LOG 260
175
177
#define KW_DNS_CACHE_SIZE 293
176
178
#define KW_DNS_CACHE_EXPIRE 294
177
179
#define KW_DNS_CACHE_EXPIRE_FAILED 295
178
 
#define KW_TZ_CONVERT 296
179
 
#define KW_TS_FORMAT 297
180
 
#define KW_FRAC_DIGITS 298
181
 
#define KW_LOG_FIFO_SIZE 299
182
 
#define KW_LOG_FETCH_LIMIT 300
183
 
#define KW_LOG_IW_SIZE 301
184
 
#define KW_LOG_PREFIX 302
185
 
#define KW_FLAGS 303
186
 
#define KW_CATCHALL 304
187
 
#define KW_FALLBACK 305
188
 
#define KW_FINAL 306
189
 
#define KW_FLOW_CONTROL 307
190
 
#define KW_PAD_SIZE 308
191
 
#define KW_TIME_ZONE 309
192
 
#define KW_RECV_TIME_ZONE 310
193
 
#define KW_SEND_TIME_ZONE 311
194
 
#define KW_TIME_REOPEN 312
195
 
#define KW_TIME_REAP 313
196
 
#define KW_TIME_SLEEP 314
197
 
#define KW_TMPL_ESCAPE 315
198
 
#define KW_OPTIONAL 316
199
 
#define KW_CREATE_DIRS 317
200
 
#define KW_OWNER 318
201
 
#define KW_GROUP 319
202
 
#define KW_PERM 320
203
 
#define KW_DIR_OWNER 321
204
 
#define KW_DIR_GROUP 322
205
 
#define KW_DIR_PERM 323
206
 
#define KW_TEMPLATE 324
207
 
#define KW_TEMPLATE_ESCAPE 325
208
 
#define KW_FOLLOW_FREQ 326
209
 
#define KW_KEEP_ALIVE 327
210
 
#define KW_MAX_CONNECTIONS 328
211
 
#define KW_LOCALIP 329
212
 
#define KW_IP 330
213
 
#define KW_LOCALPORT 331
214
 
#define KW_PORT 332
215
 
#define KW_DESTPORT 333
216
 
#define KW_IP_TTL 334
217
 
#define KW_SO_BROADCAST 335
218
 
#define KW_IP_TOS 336
219
 
#define KW_SO_SNDBUF 337
220
 
#define KW_SO_RCVBUF 338
221
 
#define KW_USE_TIME_RECVD 339
222
 
#define KW_FACILITY 340
223
 
#define KW_LEVEL 341
224
 
#define KW_HOST 342
225
 
#define KW_MATCH 343
226
 
#define KW_NETMASK 344
227
 
#define KW_YES 345
228
 
#define KW_NO 346
229
 
#define KW_REQUIRED 347
230
 
#define KW_ALLOW 348
231
 
#define KW_DENY 349
232
 
#define KW_GC_IDLE_THRESHOLD 350
233
 
#define KW_GC_BUSY_THRESHOLD 351
234
 
#define KW_COMPRESS 352
235
 
#define KW_MAC 353
236
 
#define KW_AUTH 354
237
 
#define KW_ENCRYPT 355
238
 
#define DOTDOT 356
239
 
#define IDENTIFIER 357
240
 
#define NUMBER 358
241
 
#define STRING 359
242
 
#define KW_OR 360
243
 
#define KW_AND 361
244
 
#define KW_NOT 362
 
180
#define KW_DNS_CACHE_HOSTS 296
 
181
#define KW_PERSIST_ONLY 297
 
182
#define KW_TZ_CONVERT 298
 
183
#define KW_TS_FORMAT 299
 
184
#define KW_FRAC_DIGITS 300
 
185
#define KW_LOG_FIFO_SIZE 301
 
186
#define KW_LOG_FETCH_LIMIT 302
 
187
#define KW_LOG_IW_SIZE 303
 
188
#define KW_LOG_PREFIX 304
 
189
#define KW_FLAGS 305
 
190
#define KW_CATCHALL 306
 
191
#define KW_FALLBACK 307
 
192
#define KW_FINAL 308
 
193
#define KW_FLOW_CONTROL 309
 
194
#define KW_PAD_SIZE 310
 
195
#define KW_TIME_ZONE 311
 
196
#define KW_RECV_TIME_ZONE 312
 
197
#define KW_SEND_TIME_ZONE 313
 
198
#define KW_TIME_REOPEN 314
 
199
#define KW_TIME_REAP 315
 
200
#define KW_TIME_SLEEP 316
 
201
#define KW_TMPL_ESCAPE 317
 
202
#define KW_OPTIONAL 318
 
203
#define KW_CREATE_DIRS 319
 
204
#define KW_OWNER 320
 
205
#define KW_GROUP 321
 
206
#define KW_PERM 322
 
207
#define KW_DIR_OWNER 323
 
208
#define KW_DIR_GROUP 324
 
209
#define KW_DIR_PERM 325
 
210
#define KW_TEMPLATE 326
 
211
#define KW_TEMPLATE_ESCAPE 327
 
212
#define KW_FOLLOW_FREQ 328
 
213
#define KW_REMOVE_IF_OLDER 329
 
214
#define KW_KEEP_ALIVE 330
 
215
#define KW_MAX_CONNECTIONS 331
 
216
#define KW_LOCALIP 332
 
217
#define KW_IP 333
 
218
#define KW_LOCALPORT 334
 
219
#define KW_PORT 335
 
220
#define KW_DESTPORT 336
 
221
#define KW_IP_TTL 337
 
222
#define KW_SO_BROADCAST 338
 
223
#define KW_IP_TOS 339
 
224
#define KW_SO_SNDBUF 340
 
225
#define KW_SO_RCVBUF 341
 
226
#define KW_USE_TIME_RECVD 342
 
227
#define KW_FACILITY 343
 
228
#define KW_LEVEL 344
 
229
#define KW_HOST 345
 
230
#define KW_MATCH 346
 
231
#define KW_NETMASK 347
 
232
#define KW_YES 348
 
233
#define KW_NO 349
 
234
#define KW_REQUIRED 350
 
235
#define KW_ALLOW 351
 
236
#define KW_DENY 352
 
237
#define KW_GC_IDLE_THRESHOLD 353
 
238
#define KW_GC_BUSY_THRESHOLD 354
 
239
#define KW_COMPRESS 355
 
240
#define KW_MAC 356
 
241
#define KW_AUTH 357
 
242
#define KW_ENCRYPT 358
 
243
#define DOTDOT 359
 
244
#define IDENTIFIER 360
 
245
#define NUMBER 361
 
246
#define STRING 362
 
247
#define KW_OR 363
 
248
#define KW_AND 364
 
249
#define KW_NOT 365
245
250
 
246
251
 
247
252
 
248
253
 
249
254
#if ! defined (YYSTYPE) && ! defined (YYSTYPE_IS_DECLARED)
250
 
#line 43 "/home/bazsi/zwa/work/syslog-ng-2.0/syslog-ng/src/cfg-grammar.y"
 
255
#line 43 "cfg-grammar.y"
251
256
typedef union YYSTYPE {
252
257
        guint num;
253
258
        char *cptr;
254
259
        void *ptr;
255
260
        FilterExprNode *node;
256
261
} YYSTYPE;
257
 
/* Line 1447 of yacc.c.  */
258
 
#line 259 "y.tab.h"
 
262
/* Line 1285 of yacc.c.  */
 
263
#line 264 "y.tab.h"
259
264
# define yystype YYSTYPE /* obsolescent; will be withdrawn */
260
265
# define YYSTYPE_IS_DECLARED 1
261
266
# define YYSTYPE_IS_TRIVIAL 1