1 /* A Bison parser, made by GNU Bison 2.7. */ 2 3 /* Bison interface for Yacc-like parsers in C 4 5 Copyright (C) 1984, 1989-1990, 2000-2012 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_CONFIG_LIBMEMCACHED_CSL_PARSER_H_INCLUDED 34 # define YY_CONFIG_LIBMEMCACHED_CSL_PARSER_H_INCLUDED 35 /* Enabling traces. */ 36 #ifndef YYDEBUG 37 # define YYDEBUG 1 38 #endif 39 #if YYDEBUG 40 extern int config_debug; 41 #endif 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 COMMENT = 258, 50 END = 259, 51 CSL_ERROR = 260, 52 RESET = 261, 53 PARSER_DEBUG = 262, 54 INCLUDE = 263, 55 CONFIGURE_FILE = 264, 56 EMPTY_LINE = 265, 57 SERVER = 266, 58 CSL_SOCKET = 267, 59 SERVERS = 268, 60 SERVERS_OPTION = 269, 61 UNKNOWN_OPTION = 270, 62 UNKNOWN = 271, 63 BINARY_PROTOCOL = 272, 64 BUFFER_REQUESTS = 273, 65 CONNECT_TIMEOUT = 274, 66 DISTRIBUTION = 275, 67 HASH = 276, 68 HASH_WITH_NAMESPACE = 277, 69 IO_BYTES_WATERMARK = 278, 70 IO_KEY_PREFETCH = 279, 71 IO_MSG_WATERMARK = 280, 72 KETAMA_HASH = 281, 73 KETAMA_WEIGHTED = 282, 74 NOREPLY = 283, 75 NUMBER_OF_REPLICAS = 284, 76 POLL_TIMEOUT = 285, 77 RANDOMIZE_REPLICA_READ = 286, 78 RCV_TIMEOUT = 287, 79 REMOVE_FAILED_SERVERS = 288, 80 RETRY_TIMEOUT = 289, 81 SND_TIMEOUT = 290, 82 SOCKET_RECV_SIZE = 291, 83 SOCKET_SEND_SIZE = 292, 84 SORT_HOSTS = 293, 85 SUPPORT_CAS = 294, 86 USER_DATA = 295, 87 USE_UDP = 296, 88 VERIFY_KEY = 297, 89 _TCP_KEEPALIVE = 298, 90 _TCP_KEEPIDLE = 299, 91 _TCP_NODELAY = 300, 92 FETCH_VERSION = 301, 93 NAMESPACE = 302, 94 POOL_MIN = 303, 95 POOL_MAX = 304, 96 MD5 = 305, 97 CRC = 306, 98 FNV1_64 = 307, 99 FNV1A_64 = 308, 100 FNV1_32 = 309, 101 FNV1A_32 = 310, 102 HSIEH = 311, 103 MURMUR = 312, 104 JENKINS = 313, 105 CONSISTENT = 314, 106 MODULA = 315, 107 RANDOM = 316, 108 CSL_TRUE = 317, 109 CSL_FALSE = 318, 110 CSL_FLOAT = 319, 111 NUMBER = 320, 112 PORT = 321, 113 WEIGHT_START = 322, 114 IPADDRESS = 323, 115 HOSTNAME = 324, 116 STRING = 325, 117 QUOTED_STRING = 326, 118 FILE_PATH = 327 119 }; 120 #endif 121 122 123 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED 124 125 # define yystype YYSTYPE /* obsolescent; will be withdrawn */ 126 # define YYSTYPE_IS_DECLARED 1 127 #endif 128 129 130 #ifdef YYPARSE_PARAM 131 #if defined __STDC__ || defined __cplusplus 132 int config_parse (void *YYPARSE_PARAM); 133 #else 134 int config_parse (); 135 #endif 136 #else /* ! YYPARSE_PARAM */ 137 #if defined __STDC__ || defined __cplusplus 138 int config_parse (class Context *context, yyscan_t *scanner); 139 #else 140 int config_parse (); 141 #endif 142 #endif /* ! YYPARSE_PARAM */ 143 144 #endif /* !YY_CONFIG_LIBMEMCACHED_CSL_PARSER_H_INCLUDED */ 145