1 |
/* A Bison parser, made by GNU Bison 3.0.2. */ |
2 |
|
3 |
/* Bison interface for Yacc-like parsers in C |
4 |
|
5 |
Copyright (C) 1984, 1989-1990, 2000-2013 Free Software Foundation, Inc. |
6 |
|
7 |
This program is free software: you can redistribute it and/or modify |
8 |
it under the terms of the GNU General Public License as published by |
9 |
the Free Software Foundation, either version 3 of the License, or |
10 |
(at your option) any later version. |
11 |
|
12 |
This program is distributed in the hope that it will be useful, |
13 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
14 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
15 |
GNU General Public License for more details. |
16 |
|
17 |
You should have received a copy of the GNU General Public License |
18 |
along with this program. If not, see <http://www.gnu.org/licenses/>. */ |
19 |
|
20 |
/* As a special exception, you may create a larger work that contains |
21 |
part or all of the Bison parser skeleton and distribute that work |
22 |
under terms of your choice, so long as that work isn't itself a |
23 |
parser generator using the skeleton or a modified version thereof |
24 |
as a parser skeleton. Alternatively, if you modify or redistribute |
25 |
the parser skeleton itself, you may (at your option) remove this |
26 |
special exception, which will cause the skeleton and the resulting |
27 |
Bison output files to be licensed under the GNU General Public |
28 |
License without this special exception. |
29 |
|
30 |
This special exception was added by the Free Software Foundation in |
31 |
version 2.2 of Bison. */ |
32 |
|
33 |
#ifndef YY_YY_CONFIG_PARSER_H_INCLUDED |
34 |
# define YY_YY_CONFIG_PARSER_H_INCLUDED |
35 |
/* Debug traces. */ |
36 |
#ifndef YYDEBUG |
37 |
# define YYDEBUG 0 |
38 |
#endif |
39 |
#if YYDEBUG |
40 |
extern int yydebug; |
41 |
#endif |
42 |
|
43 |
/* Token type. */ |
44 |
#ifndef YYTOKENTYPE |
45 |
# define YYTOKENTYPE |
46 |
enum yytokentype |
47 |
{ |
48 |
AWAY = 258, |
49 |
BAN_UNKNOWN = 259, |
50 |
BLACKLIST = 260, |
51 |
BYTES = 261, |
52 |
KBYTES = 262, |
53 |
MBYTES = 263, |
54 |
CHANNEL = 264, |
55 |
CONNREGEX = 265, |
56 |
DNS_FDLIMIT = 266, |
57 |
DNSBL_FROM = 267, |
58 |
DNSBL_TO = 268, |
59 |
EXEMPT = 269, |
60 |
FD = 270, |
61 |
INVITE = 271, |
62 |
IRC = 272, |
63 |
KLINE = 273, |
64 |
KEY = 274, |
65 |
MASK = 275, |
66 |
MAX_READ = 276, |
67 |
MODE = 277, |
68 |
NAME = 278, |
69 |
NEGCACHE = 279, |
70 |
NICK = 280, |
71 |
NICKSERV = 281, |
72 |
OPER = 282, |
73 |
OPM = 283, |
74 |
OPTIONS = 284, |
75 |
PASSWORD = 285, |
76 |
PERFORM = 286, |
77 |
PIDFILE = 287, |
78 |
PORT = 288, |
79 |
PROTOCOL = 289, |
80 |
REALNAME = 290, |
81 |
REPLY = 291, |
82 |
SCANLOG = 292, |
83 |
SCANNER = 293, |
84 |
SECONDS = 294, |
85 |
MINUTES = 295, |
86 |
HOURS = 296, |
87 |
DAYS = 297, |
88 |
WEEKS = 298, |
89 |
MONTHS = 299, |
90 |
YEARS = 300, |
91 |
SENDMAIL = 301, |
92 |
SERVER = 302, |
93 |
TARGET_IP = 303, |
94 |
TARGET_PORT = 304, |
95 |
TARGET_STRING = 305, |
96 |
TIMEOUT = 306, |
97 |
TYPE = 307, |
98 |
USERNAME = 308, |
99 |
USER = 309, |
100 |
VHOST = 310, |
101 |
NUMBER = 311, |
102 |
STRING = 312, |
103 |
PROTOCOLTYPE = 313 |
104 |
}; |
105 |
#endif |
106 |
/* Tokens. */ |
107 |
#define AWAY 258 |
108 |
#define BAN_UNKNOWN 259 |
109 |
#define BLACKLIST 260 |
110 |
#define BYTES 261 |
111 |
#define KBYTES 262 |
112 |
#define MBYTES 263 |
113 |
#define CHANNEL 264 |
114 |
#define CONNREGEX 265 |
115 |
#define DNS_FDLIMIT 266 |
116 |
#define DNSBL_FROM 267 |
117 |
#define DNSBL_TO 268 |
118 |
#define EXEMPT 269 |
119 |
#define FD 270 |
120 |
#define INVITE 271 |
121 |
#define IRC 272 |
122 |
#define KLINE 273 |
123 |
#define KEY 274 |
124 |
#define MASK 275 |
125 |
#define MAX_READ 276 |
126 |
#define MODE 277 |
127 |
#define NAME 278 |
128 |
#define NEGCACHE 279 |
129 |
#define NICK 280 |
130 |
#define NICKSERV 281 |
131 |
#define OPER 282 |
132 |
#define OPM 283 |
133 |
#define OPTIONS 284 |
134 |
#define PASSWORD 285 |
135 |
#define PERFORM 286 |
136 |
#define PIDFILE 287 |
137 |
#define PORT 288 |
138 |
#define PROTOCOL 289 |
139 |
#define REALNAME 290 |
140 |
#define REPLY 291 |
141 |
#define SCANLOG 292 |
142 |
#define SCANNER 293 |
143 |
#define SECONDS 294 |
144 |
#define MINUTES 295 |
145 |
#define HOURS 296 |
146 |
#define DAYS 297 |
147 |
#define WEEKS 298 |
148 |
#define MONTHS 299 |
149 |
#define YEARS 300 |
150 |
#define SENDMAIL 301 |
151 |
#define SERVER 302 |
152 |
#define TARGET_IP 303 |
153 |
#define TARGET_PORT 304 |
154 |
#define TARGET_STRING 305 |
155 |
#define TIMEOUT 306 |
156 |
#define TYPE 307 |
157 |
#define USERNAME 308 |
158 |
#define USER 309 |
159 |
#define VHOST 310 |
160 |
#define NUMBER 311 |
161 |
#define STRING 312 |
162 |
#define PROTOCOLTYPE 313 |
163 |
|
164 |
/* Value type. */ |
165 |
#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED |
166 |
typedef union YYSTYPE YYSTYPE; |
167 |
union YYSTYPE |
168 |
{ |
169 |
#line 85 "config-parser.y" /* yacc.c:1909 */ |
170 |
|
171 |
int number; |
172 |
char *string; |
173 |
|
174 |
#line 175 "config-parser.h" /* yacc.c:1909 */ |
175 |
}; |
176 |
# define YYSTYPE_IS_TRIVIAL 1 |
177 |
# define YYSTYPE_IS_DECLARED 1 |
178 |
#endif |
179 |
|
180 |
|
181 |
extern YYSTYPE yylval; |
182 |
|
183 |
int yyparse (void); |
184 |
|
185 |
#endif /* !YY_YY_CONFIG_PARSER_H_INCLUDED */ |