1 #ifndef pktloc_HEADER_H 2 #define pktloc_HEADER_H 1 3 #define pktloc_IN_HEADER 1 5 #line 6 "lib/route/pktloc_grammar.h" 7 #line 8 "lib/route/pktloc_grammar.h" 9 #define YY_INT_ALIGNED short int 14 #define YY_FLEX_MAJOR_VERSION 2 15 #define YY_FLEX_MINOR_VERSION 6 16 #define YY_FLEX_SUBMINOR_VERSION 0 17 #if YY_FLEX_SUBMINOR_VERSION > 0 38 #if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L 43 #ifndef __STDC_LIMIT_MACROS 44 #define __STDC_LIMIT_MACROS 1 48 typedef int8_t flex_int8_t;
49 typedef uint8_t flex_uint8_t;
50 typedef int16_t flex_int16_t;
51 typedef uint16_t flex_uint16_t;
52 typedef int32_t flex_int32_t;
53 typedef uint32_t flex_uint32_t;
55 typedef signed char flex_int8_t;
56 typedef short int flex_int16_t;
57 typedef int flex_int32_t;
58 typedef unsigned char flex_uint8_t;
59 typedef unsigned short int flex_uint16_t;
60 typedef unsigned int flex_uint32_t;
64 #define INT8_MIN (-128) 67 #define INT16_MIN (-32767-1) 70 #define INT32_MIN (-2147483647-1) 73 #define INT8_MAX (127) 76 #define INT16_MAX (32767) 79 #define INT32_MAX (2147483647) 82 #define UINT8_MAX (255U) 85 #define UINT16_MAX (65535U) 88 #define UINT32_MAX (4294967295U) 103 #if defined (__STDC__) 111 #define yyconst const 117 #ifndef YY_TYPEDEF_YY_SCANNER_T 118 #define YY_TYPEDEF_YY_SCANNER_T 119 typedef void* yyscan_t;
124 #define yyin yyg->yyin_r 125 #define yyout yyg->yyout_r 126 #define yyextra yyg->yyextra_r 127 #define yyleng yyg->yyleng_r 128 #define yytext yyg->yytext_r 129 #define yylineno (YY_CURRENT_BUFFER_LVALUE->yy_bs_lineno) 130 #define yycolumn (YY_CURRENT_BUFFER_LVALUE->yy_bs_column) 131 #define yy_flex_debug yyg->yy_flex_debug_r 140 #define YY_BUF_SIZE 32768 142 #define YY_BUF_SIZE 16384 146 #ifndef YY_TYPEDEF_YY_BUFFER_STATE 147 #define YY_TYPEDEF_YY_BUFFER_STATE 151 #ifndef YY_TYPEDEF_YY_SIZE_T 152 #define YY_TYPEDEF_YY_SIZE_T 153 typedef size_t yy_size_t;
156 #ifndef YY_STRUCT_YY_BUFFER_STATE 157 #define YY_STRUCT_YY_BUFFER_STATE 168 yy_size_t yy_buf_size;
173 yy_size_t yy_n_chars;
179 int yy_is_our_buffer;
186 int yy_is_interactive;
202 int yy_buffer_status;
207 void pktloc_restart (FILE *input_file ,yyscan_t yyscanner );
208 void pktloc__switch_to_buffer (YY_BUFFER_STATE new_buffer ,yyscan_t yyscanner );
209 YY_BUFFER_STATE pktloc__create_buffer (FILE *file,
int size ,yyscan_t yyscanner );
210 void pktloc__delete_buffer (YY_BUFFER_STATE b ,yyscan_t yyscanner );
211 void pktloc__flush_buffer (YY_BUFFER_STATE b ,yyscan_t yyscanner );
212 void pktloc_push_buffer_state (YY_BUFFER_STATE new_buffer ,yyscan_t yyscanner );
213 void pktloc_pop_buffer_state (yyscan_t yyscanner );
215 YY_BUFFER_STATE pktloc__scan_buffer (
char *base,yy_size_t size ,yyscan_t yyscanner );
216 YY_BUFFER_STATE pktloc__scan_string (yyconst
char *yy_str ,yyscan_t yyscanner );
217 YY_BUFFER_STATE pktloc__scan_bytes (yyconst
char *bytes,yy_size_t len ,yyscan_t yyscanner );
219 void *pktloc_alloc (yy_size_t ,yyscan_t yyscanner );
220 void *pktloc_realloc (
void *,yy_size_t ,yyscan_t yyscanner );
221 void pktloc_free (
void * ,yyscan_t yyscanner );
223 #define pktloc_wrap(yyscanner) (1) 224 #define YY_SKIP_YYWRAP 226 #define yytext_ptr yytext_r 228 #ifdef YY_HEADER_EXPORT_START_CONDITIONS 233 #ifndef YY_NO_UNISTD_H 241 #ifndef YY_EXTRA_TYPE 242 #define YY_EXTRA_TYPE void * 245 int pktloc_lex_init (yyscan_t* scanner);
247 int pktloc_lex_init_extra (YY_EXTRA_TYPE user_defined,yyscan_t* scanner);
252 int pktloc_lex_destroy (yyscan_t yyscanner );
254 int pktloc_get_debug (yyscan_t yyscanner );
256 void pktloc_set_debug (
int debug_flag ,yyscan_t yyscanner );
258 YY_EXTRA_TYPE pktloc_get_extra (yyscan_t yyscanner );
260 void pktloc_set_extra (YY_EXTRA_TYPE user_defined ,yyscan_t yyscanner );
262 FILE *pktloc_get_in (yyscan_t yyscanner );
264 void pktloc_set_in (FILE * _in_str ,yyscan_t yyscanner );
266 FILE *pktloc_get_out (yyscan_t yyscanner );
268 void pktloc_set_out (FILE * _out_str ,yyscan_t yyscanner );
270 yy_size_t pktloc_get_leng (yyscan_t yyscanner );
272 char *pktloc_get_text (yyscan_t yyscanner );
274 int pktloc_get_lineno (yyscan_t yyscanner );
276 void pktloc_set_lineno (
int _line_number ,yyscan_t yyscanner );
278 int pktloc_get_column (yyscan_t yyscanner );
280 void pktloc_set_column (
int _column_no ,yyscan_t yyscanner );
282 YYSTYPE * pktloc_get_lval (yyscan_t yyscanner );
284 void pktloc_set_lval (
YYSTYPE * yylval_param ,yyscan_t yyscanner );
286 YYLTYPE *pktloc_get_lloc (yyscan_t yyscanner );
288 void pktloc_set_lloc (
YYLTYPE * yylloc_param ,yyscan_t yyscanner );
294 #ifndef YY_SKIP_YYWRAP 296 extern "C" int pktloc_wrap (yyscan_t yyscanner );
298 extern int pktloc_wrap (yyscan_t yyscanner );
303 static void yy_flex_strncpy (
char *,yyconst
char *,
int ,yyscan_t yyscanner);
306 #ifdef YY_NEED_STRLEN 307 static int yy_flex_strlen (yyconst
char * ,yyscan_t yyscanner);
315 #ifndef YY_READ_BUF_SIZE 318 #define YY_READ_BUF_SIZE 16384 320 #define YY_READ_BUF_SIZE 8192 325 #ifndef YY_START_STACK_INCR 326 #define YY_START_STACK_INCR 25 333 #define YY_DECL_IS_OURS 1 335 extern int pktloc_lex \
336 (
YYSTYPE * yylval_param,
YYLTYPE * yylloc_param ,yyscan_t yyscanner);
338 #define YY_DECL int pktloc_lex \ 339 (YYSTYPE * yylval_param, YYLTYPE * yylloc_param , yyscan_t yyscanner) 345 #undef YY_FLUSH_BUFFER 348 #undef yy_set_interactive 349 #undef YY_DO_BEFORE_ACTION 351 #ifdef YY_DECL_IS_OURS 352 #undef YY_DECL_IS_OURS 356 #line 56 "lib/route/pktloc_grammar.l" 358 #line 359 "lib/route/pktloc_grammar.h" 359 #undef pktloc_IN_HEADER int yy_bs_lineno
The line count.
int yy_bs_column
The column count.