| 1 |
|
/* |
| 2 |
|
* Copyright (c) 2002 Erik Fears |
| 3 |
< |
* Copyright (c) 2014-2017 ircd-hybrid development team |
| 3 |
> |
* Copyright (c) 2014-2018 ircd-hybrid development team |
| 4 |
|
* |
| 5 |
|
* This program is free software; you can redistribute it and/or modify |
| 6 |
|
* it under the terms of the GNU General Public License as published by |
| 35 |
|
#include "config-parser.h" /* autogenerated header file */ |
| 36 |
|
#include "log.h" |
| 37 |
|
|
| 38 |
+ |
/* libopm includes */ |
| 39 |
+ |
#include "libopm/src/opm_types.h" |
| 40 |
+ |
|
| 41 |
|
#undef YY_FATAL_ERROR |
| 42 |
|
#define YY_FATAL_ERROR(msg) conf_yy_fatal_error(msg) |
| 43 |
|
|
| 139 |
|
} |
| 140 |
|
} |
| 141 |
|
|
| 142 |
+ |
ADDRESS_FAMILY { return ADDRESS_FAMILY; } |
| 143 |
|
AWAY { return AWAY; } |
| 144 |
|
BAN_UNKNOWN { return BAN_UNKNOWN; } |
| 145 |
|
BLACKLIST { return BLACKLIST; } |
| 155 |
|
EXEMPT { return EXEMPT; } |
| 156 |
|
FD { return FD; } |
| 157 |
|
INVITE { return INVITE; } |
| 158 |
+ |
IPV4 { return IPV4; } |
| 159 |
+ |
IPV6 { return IPV6; } |
| 160 |
|
IRC { return IRC; } |
| 161 |
|
KLINE { return KLINE; } |
| 162 |
|
KEY { return KEY; } |
| 268 |
|
} |
| 269 |
|
|
| 270 |
|
|
| 271 |
+ |
SSH { |
| 272 |
+ |
yylval.number = OPM_TYPE_SSH; |
| 273 |
+ |
return PROTOCOLTYPE; |
| 274 |
+ |
} |
| 275 |
+ |
|
| 276 |
|
TRUE { |
| 277 |
|
yylval.number=1; |
| 278 |
|
return NUMBER; |