1 |
/* A Bison parser, made by GNU Bison 3.0.4. */ |
2 |
|
3 |
/* Bison interface for Yacc-like parsers in C |
4 |
|
5 |
Copyright (C) 1984, 1989-1990, 2000-2015 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 |
NEGCACHE_REBUILD = 280, |
71 |
NICK = 281, |
72 |
NICKSERV = 282, |
73 |
NOTICE = 283, |
74 |
OPER = 284, |
75 |
OPM = 285, |
76 |
OPTIONS = 286, |
77 |
PASSWORD = 287, |
78 |
PERFORM = 288, |
79 |
PIDFILE = 289, |
80 |
PORT = 290, |
81 |
PROTOCOL = 291, |
82 |
READTIMEOUT = 292, |
83 |
REALNAME = 293, |
84 |
REPLY = 294, |
85 |
SCANLOG = 295, |
86 |
SCANNER = 296, |
87 |
SECONDS = 297, |
88 |
MINUTES = 298, |
89 |
HOURS = 299, |
90 |
DAYS = 300, |
91 |
WEEKS = 301, |
92 |
MONTHS = 302, |
93 |
YEARS = 303, |
94 |
SENDMAIL = 304, |
95 |
SERVER = 305, |
96 |
TARGET_IP = 306, |
97 |
TARGET_PORT = 307, |
98 |
TARGET_STRING = 308, |
99 |
TIMEOUT = 309, |
100 |
TYPE = 310, |
101 |
USERNAME = 311, |
102 |
USER = 312, |
103 |
VHOST = 313, |
104 |
NUMBER = 314, |
105 |
STRING = 315, |
106 |
PROTOCOLTYPE = 316 |
107 |
}; |
108 |
#endif |
109 |
/* Tokens. */ |
110 |
#define AWAY 258 |
111 |
#define BAN_UNKNOWN 259 |
112 |
#define BLACKLIST 260 |
113 |
#define BYTES 261 |
114 |
#define KBYTES 262 |
115 |
#define MBYTES 263 |
116 |
#define CHANNEL 264 |
117 |
#define CONNREGEX 265 |
118 |
#define DNS_FDLIMIT 266 |
119 |
#define DNSBL_FROM 267 |
120 |
#define DNSBL_TO 268 |
121 |
#define EXEMPT 269 |
122 |
#define FD 270 |
123 |
#define INVITE 271 |
124 |
#define IRC 272 |
125 |
#define KLINE 273 |
126 |
#define KEY 274 |
127 |
#define MASK 275 |
128 |
#define MAX_READ 276 |
129 |
#define MODE 277 |
130 |
#define NAME 278 |
131 |
#define NEGCACHE 279 |
132 |
#define NEGCACHE_REBUILD 280 |
133 |
#define NICK 281 |
134 |
#define NICKSERV 282 |
135 |
#define NOTICE 283 |
136 |
#define OPER 284 |
137 |
#define OPM 285 |
138 |
#define OPTIONS 286 |
139 |
#define PASSWORD 287 |
140 |
#define PERFORM 288 |
141 |
#define PIDFILE 289 |
142 |
#define PORT 290 |
143 |
#define PROTOCOL 291 |
144 |
#define READTIMEOUT 292 |
145 |
#define REALNAME 293 |
146 |
#define REPLY 294 |
147 |
#define SCANLOG 295 |
148 |
#define SCANNER 296 |
149 |
#define SECONDS 297 |
150 |
#define MINUTES 298 |
151 |
#define HOURS 299 |
152 |
#define DAYS 300 |
153 |
#define WEEKS 301 |
154 |
#define MONTHS 302 |
155 |
#define YEARS 303 |
156 |
#define SENDMAIL 304 |
157 |
#define SERVER 305 |
158 |
#define TARGET_IP 306 |
159 |
#define TARGET_PORT 307 |
160 |
#define TARGET_STRING 308 |
161 |
#define TIMEOUT 309 |
162 |
#define TYPE 310 |
163 |
#define USERNAME 311 |
164 |
#define USER 312 |
165 |
#define VHOST 313 |
166 |
#define NUMBER 314 |
167 |
#define STRING 315 |
168 |
#define PROTOCOLTYPE 316 |
169 |
|
170 |
/* Value type. */ |
171 |
#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED |
172 |
|
173 |
union YYSTYPE |
174 |
{ |
175 |
#line 85 "config-parser.y" /* yacc.c:1909 */ |
176 |
|
177 |
int number; |
178 |
char *string; |
179 |
|
180 |
#line 181 "config-parser.h" /* yacc.c:1909 */ |
181 |
}; |
182 |
|
183 |
typedef union YYSTYPE YYSTYPE; |
184 |
# define YYSTYPE_IS_TRIVIAL 1 |
185 |
# define YYSTYPE_IS_DECLARED 1 |
186 |
#endif |
187 |
|
188 |
|
189 |
extern YYSTYPE yylval; |
190 |
|
191 |
int yyparse (void); |
192 |
|
193 |
#endif /* !YY_YY_CONFIG_PARSER_H_INCLUDED */ |