"Fossies" - the Fresh Open Source Software Archive 
Member "portfwd-0.29/src/yconf.h" (28 Jan 2004, 3040 Bytes) of package /linux/privat/old/portfwd-0.29.tar.gz:
As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style:
standard) with prefixed line numbers and
code folding option.
Alternatively you can here
view or
download the uninterpreted source code file.
1 /* A Bison parser, made by GNU Bison 1.875a. */
2
3 /* Skeleton parser for Yacc-like parsing with Bison,
4 Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
5
6 This program is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2, or (at your option)
9 any later version.
10
11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
15
16 You should have received a copy of the GNU General Public License
17 along with this program; if not, write to the Free Software
18 Foundation, Inc., 59 Temple Place - Suite 330,
19 Boston, MA 02111-1307, USA. */
20
21 /* As a special exception, when this file is copied by Bison into a
22 Bison output file, you may use that output file without restriction.
23 This special exception was added by the Free Software Foundation
24 in version 1.24 of Bison. */
25
26 /* Tokens. */
27 #ifndef YYTOKENTYPE
28 # define YYTOKENTYPE
29 /* Put the tokens into the symbol table, so that GDB and other debuggers
30 know about them. */
31 enum yytokentype {
32 TK_NAME = 258,
33 TK_TCP = 259,
34 TK_UDP = 260,
35 TK_COLON = 261,
36 TK_SCOLON = 262,
37 TK_COMMA = 263,
38 TK_SLASH = 264,
39 TK_RANGE = 265,
40 TK_LBRACE = 266,
41 TK_RBRACE = 267,
42 TK_ARROW = 268,
43 TK_ACTV = 269,
44 TK_PASV = 270,
45 TK_USER = 271,
46 TK_GROUP = 272,
47 TK_BIND = 273,
48 TK_LISTEN = 274,
49 TK_SOURCE = 275,
50 TK_STRING = 276,
51 TK_FRAGILE = 277,
52 TK_ILLEGAL = 278
53 };
54 #endif
55 #define TK_NAME 258
56 #define TK_TCP 259
57 #define TK_UDP 260
58 #define TK_COLON 261
59 #define TK_SCOLON 262
60 #define TK_COMMA 263
61 #define TK_SLASH 264
62 #define TK_RANGE 265
63 #define TK_LBRACE 266
64 #define TK_RBRACE 267
65 #define TK_ARROW 268
66 #define TK_ACTV 269
67 #define TK_PASV 270
68 #define TK_USER 271
69 #define TK_GROUP 272
70 #define TK_BIND 273
71 #define TK_LISTEN 274
72 #define TK_SOURCE 275
73 #define TK_STRING 276
74 #define TK_FRAGILE 277
75 #define TK_ILLEGAL 278
76
77
78
79
80 #if ! defined (YYSTYPE) && ! defined (YYSTYPE_IS_DECLARED)
81 #line 135 "conf.y"
82 typedef union YYSTYPE {
83 int int_type;
84 bool bool_type;
85 char *str_type;
86 port_pair *port_type;
87 net_portion *net_type;
88 from_addr *from_type;
89 vector<from_addr*> *from_list_type;
90 to_addr *dst_type;
91 vector<to_addr*> *dst_list_type;
92 host_map *host_map_type;
93 vector<host_map*> *host_list_type;
94 vector<int> *port_list_type;
95 proto_map *map_type;
96 vector<proto_map*> *map_list_type;
97 entry *entry_type;
98 } YYSTYPE;
99 /* Line 1240 of yacc.c. */
100 #line 101 "yconf.h"
101 # define yystype YYSTYPE /* obsolescent; will be withdrawn */
102 # define YYSTYPE_IS_DECLARED 1
103 # define YYSTYPE_IS_TRIVIAL 1
104 #endif
105
106 extern YYSTYPE yylval;
107
108
109