Annotation of embedaddon/ipsec-tools/src/libipsec/policy_parse.h, revision 1.1.1.2

1.1.1.2 ! misho       1: /* A Bison parser, made by GNU Bison 2.6.2.  */
1.1       misho       2: 
1.1.1.2 ! misho       3: /* Bison interface for Yacc-like parsers in C
1.1       misho       4:    
1.1.1.2 ! misho       5:       Copyright (C) 1984, 1989-1990, 2000-2012 Free Software Foundation, Inc.
1.1       misho       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: 
1.1.1.2 ! misho      33: #ifndef _LIBIPSEC_POLICY_PARSE_H
        !            34: # define _LIBIPSEC_POLICY_PARSE_H
        !            35: /* Enabling traces.  */
        !            36: #ifndef YYDEBUG
        !            37: # define YYDEBUG 0
        !            38: #endif
        !            39: #if YYDEBUG
        !            40: extern int __libipsecdebug;
        !            41: #endif
1.1       misho      42: 
                     43: /* Tokens.  */
                     44: #ifndef YYTOKENTYPE
                     45: # define YYTOKENTYPE
                     46:    /* Put the tokens into the symbol table, so that GDB and other debuggers
                     47:       know about them.  */
                     48:    enum yytokentype {
                     49:      DIR = 258,
                     50:      PRIORITY = 259,
                     51:      PLUS = 260,
                     52:      PRIO_BASE = 261,
                     53:      PRIO_OFFSET = 262,
                     54:      ACTION = 263,
                     55:      PROTOCOL = 264,
                     56:      MODE = 265,
                     57:      LEVEL = 266,
                     58:      LEVEL_SPECIFY = 267,
                     59:      IPADDRESS = 268,
                     60:      PORT = 269,
                     61:      ME = 270,
                     62:      ANY = 271,
                     63:      SLASH = 272,
                     64:      HYPHEN = 273
                     65:    };
                     66: #endif
                     67: /* Tokens.  */
                     68: #define DIR 258
                     69: #define PRIORITY 259
                     70: #define PLUS 260
                     71: #define PRIO_BASE 261
                     72: #define PRIO_OFFSET 262
                     73: #define ACTION 263
                     74: #define PROTOCOL 264
                     75: #define MODE 265
                     76: #define LEVEL 266
                     77: #define LEVEL_SPECIFY 267
                     78: #define IPADDRESS 268
                     79: #define PORT 269
                     80: #define ME 270
                     81: #define ANY 271
                     82: #define SLASH 272
                     83: #define HYPHEN 273
                     84: 
                     85: 
                     86: 
                     87: #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
                     88: typedef union YYSTYPE
                     89: {
1.1.1.2 ! misho      90: /* Line 2049 of yacc.c  */
1.1       misho      91: #line 129 "policy_parse.y"
                     92: 
                     93:        u_int num;
                     94:        u_int32_t num32;
                     95:        struct _val {
                     96:                int len;
                     97:                char *buf;
                     98:        } val;
                     99: 
                    100: 
1.1.1.2 ! misho     101: /* Line 2049 of yacc.c  */
        !           102: #line 103 "policy_parse.h"
1.1       misho     103: } YYSTYPE;
                    104: # define YYSTYPE_IS_TRIVIAL 1
                    105: # define yystype YYSTYPE /* obsolescent; will be withdrawn */
                    106: # define YYSTYPE_IS_DECLARED 1
                    107: #endif
                    108: 
                    109: extern YYSTYPE __libipseclval;
                    110: 
1.1.1.2 ! misho     111: #ifdef YYPARSE_PARAM
        !           112: #if defined __STDC__ || defined __cplusplus
        !           113: int __libipsecparse (void *YYPARSE_PARAM);
        !           114: #else
        !           115: int __libipsecparse ();
        !           116: #endif
        !           117: #else /* ! YYPARSE_PARAM */
        !           118: #if defined __STDC__ || defined __cplusplus
        !           119: int __libipsecparse (void);
        !           120: #else
        !           121: int __libipsecparse ();
        !           122: #endif
        !           123: #endif /* ! YYPARSE_PARAM */
1.1       misho     124: 
1.1.1.2 ! misho     125: #endif /* !_LIBIPSEC_POLICY_PARSE_H  */

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>