00001 #ifndef ematch_HEADER_H
00002 #define ematch_HEADER_H 1
00003 #define ematch_IN_HEADER 1
00004
00005 #line 6 "route/cls/ematch_grammar.h"
00006
00007 #line 8 "route/cls/ematch_grammar.h"
00008
00009 #define YY_INT_ALIGNED short int
00010
00011
00012
00013 #define FLEX_SCANNER
00014 #define YY_FLEX_MAJOR_VERSION 2
00015 #define YY_FLEX_MINOR_VERSION 5
00016 #define YY_FLEX_SUBMINOR_VERSION 35
00017 #if YY_FLEX_SUBMINOR_VERSION > 0
00018 #define FLEX_BETA
00019 #endif
00020
00021
00022
00023
00024 #include <stdio.h>
00025 #include <string.h>
00026 #include <errno.h>
00027 #include <stdlib.h>
00028
00029
00030
00031
00032
00033 #ifndef FLEXINT_H
00034 #define FLEXINT_H
00035
00036
00037
00038 #if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
00039
00040
00041
00042
00043 #ifndef __STDC_LIMIT_MACROS
00044 #define __STDC_LIMIT_MACROS 1
00045 #endif
00046
00047 #include <inttypes.h>
00048 typedef int8_t flex_int8_t;
00049 typedef uint8_t flex_uint8_t;
00050 typedef int16_t flex_int16_t;
00051 typedef uint16_t flex_uint16_t;
00052 typedef int32_t flex_int32_t;
00053 typedef uint32_t flex_uint32_t;
00054 #else
00055 typedef signed char flex_int8_t;
00056 typedef short int flex_int16_t;
00057 typedef int flex_int32_t;
00058 typedef unsigned char flex_uint8_t;
00059 typedef unsigned short int flex_uint16_t;
00060 typedef unsigned int flex_uint32_t;
00061
00062
00063 #ifndef INT8_MIN
00064 #define INT8_MIN (-128)
00065 #endif
00066 #ifndef INT16_MIN
00067 #define INT16_MIN (-32767-1)
00068 #endif
00069 #ifndef INT32_MIN
00070 #define INT32_MIN (-2147483647-1)
00071 #endif
00072 #ifndef INT8_MAX
00073 #define INT8_MAX (127)
00074 #endif
00075 #ifndef INT16_MAX
00076 #define INT16_MAX (32767)
00077 #endif
00078 #ifndef INT32_MAX
00079 #define INT32_MAX (2147483647)
00080 #endif
00081 #ifndef UINT8_MAX
00082 #define UINT8_MAX (255U)
00083 #endif
00084 #ifndef UINT16_MAX
00085 #define UINT16_MAX (65535U)
00086 #endif
00087 #ifndef UINT32_MAX
00088 #define UINT32_MAX (4294967295U)
00089 #endif
00090
00091 #endif
00092
00093 #endif
00094
00095 #ifdef __cplusplus
00096
00097
00098 #define YY_USE_CONST
00099
00100 #else
00101
00102
00103 #if defined (__STDC__)
00104
00105 #define YY_USE_CONST
00106
00107 #endif
00108 #endif
00109
00110 #ifdef YY_USE_CONST
00111 #define yyconst const
00112 #else
00113 #define yyconst
00114 #endif
00115
00116
00117 #ifndef YY_TYPEDEF_YY_SCANNER_T
00118 #define YY_TYPEDEF_YY_SCANNER_T
00119 typedef void* yyscan_t;
00120 #endif
00121
00122
00123
00124 #define yyin yyg->yyin_r
00125 #define yyout yyg->yyout_r
00126 #define yyextra yyg->yyextra_r
00127 #define yyleng yyg->yyleng_r
00128 #define yytext yyg->yytext_r
00129 #define yylineno (YY_CURRENT_BUFFER_LVALUE->yy_bs_lineno)
00130 #define yycolumn (YY_CURRENT_BUFFER_LVALUE->yy_bs_column)
00131 #define yy_flex_debug yyg->yy_flex_debug_r
00132
00133
00134 #ifndef YY_BUF_SIZE
00135 #ifdef __ia64__
00136
00137
00138
00139
00140 #define YY_BUF_SIZE 32768
00141 #else
00142 #define YY_BUF_SIZE 16384
00143 #endif
00144 #endif
00145
00146 #ifndef YY_TYPEDEF_YY_BUFFER_STATE
00147 #define YY_TYPEDEF_YY_BUFFER_STATE
00148 typedef struct yy_buffer_state *YY_BUFFER_STATE;
00149 #endif
00150
00151 #ifndef YY_TYPEDEF_YY_SIZE_T
00152 #define YY_TYPEDEF_YY_SIZE_T
00153 typedef size_t yy_size_t;
00154 #endif
00155
00156 #ifndef YY_STRUCT_YY_BUFFER_STATE
00157 #define YY_STRUCT_YY_BUFFER_STATE
00158 struct yy_buffer_state
00159 {
00160 FILE *yy_input_file;
00161
00162 char *yy_ch_buf;
00163 char *yy_buf_pos;
00164
00165
00166
00167
00168 yy_size_t yy_buf_size;
00169
00170
00171
00172
00173 int yy_n_chars;
00174
00175
00176
00177
00178
00179 int yy_is_our_buffer;
00180
00181
00182
00183
00184
00185
00186 int yy_is_interactive;
00187
00188
00189
00190
00191
00192 int yy_at_bol;
00193
00194 int yy_bs_lineno;
00195 int yy_bs_column;
00196
00197
00198
00199
00200 int yy_fill_buffer;
00201
00202 int yy_buffer_status;
00203
00204 };
00205 #endif
00206
00207 void ematch_restart (FILE *input_file ,yyscan_t yyscanner );
00208 void ematch__switch_to_buffer (YY_BUFFER_STATE new_buffer ,yyscan_t yyscanner );
00209 YY_BUFFER_STATE ematch__create_buffer (FILE *file,int size ,yyscan_t yyscanner );
00210 void ematch__delete_buffer (YY_BUFFER_STATE b ,yyscan_t yyscanner );
00211 void ematch__flush_buffer (YY_BUFFER_STATE b ,yyscan_t yyscanner );
00212 void ematch_push_buffer_state (YY_BUFFER_STATE new_buffer ,yyscan_t yyscanner );
00213 void ematch_pop_buffer_state (yyscan_t yyscanner );
00214
00215 YY_BUFFER_STATE ematch__scan_buffer (char *base,yy_size_t size ,yyscan_t yyscanner );
00216 YY_BUFFER_STATE ematch__scan_string (yyconst char *yy_str ,yyscan_t yyscanner );
00217 YY_BUFFER_STATE ematch__scan_bytes (yyconst char *bytes,int len ,yyscan_t yyscanner );
00218
00219 void *ematch_alloc (yy_size_t ,yyscan_t yyscanner );
00220 void *ematch_realloc (void *,yy_size_t ,yyscan_t yyscanner );
00221 void ematch_free (void * ,yyscan_t yyscanner );
00222
00223 #define ematch_wrap(n) 1
00224 #define YY_SKIP_YYWRAP
00225
00226 #define yytext_ptr yytext_r
00227
00228 #ifdef YY_HEADER_EXPORT_START_CONDITIONS
00229 #define INITIAL 0
00230 #define QUOTE 1
00231
00232 #endif
00233
00234 #ifndef YY_NO_UNISTD_H
00235
00236
00237
00238
00239 #include <unistd.h>
00240 #endif
00241
00242 #ifndef YY_EXTRA_TYPE
00243 #define YY_EXTRA_TYPE void *
00244 #endif
00245
00246 int ematch_lex_init (yyscan_t* scanner);
00247
00248 int ematch_lex_init_extra (YY_EXTRA_TYPE user_defined,yyscan_t* scanner);
00249
00250
00251
00252
00253 int ematch_lex_destroy (yyscan_t yyscanner );
00254
00255 int ematch_get_debug (yyscan_t yyscanner );
00256
00257 void ematch_set_debug (int debug_flag ,yyscan_t yyscanner );
00258
00259 YY_EXTRA_TYPE ematch_get_extra (yyscan_t yyscanner );
00260
00261 void ematch_set_extra (YY_EXTRA_TYPE user_defined ,yyscan_t yyscanner );
00262
00263 FILE *ematch_get_in (yyscan_t yyscanner );
00264
00265 void ematch_set_in (FILE * in_str ,yyscan_t yyscanner );
00266
00267 FILE *ematch_get_out (yyscan_t yyscanner );
00268
00269 void ematch_set_out (FILE * out_str ,yyscan_t yyscanner );
00270
00271 int ematch_get_leng (yyscan_t yyscanner );
00272
00273 char *ematch_get_text (yyscan_t yyscanner );
00274
00275 int ematch_get_lineno (yyscan_t yyscanner );
00276
00277 void ematch_set_lineno (int line_number ,yyscan_t yyscanner );
00278
00279 YYSTYPE * ematch_get_lval (yyscan_t yyscanner );
00280
00281 void ematch_set_lval (YYSTYPE * yylval_param ,yyscan_t yyscanner );
00282
00283
00284
00285
00286
00287 #ifndef YY_SKIP_YYWRAP
00288 #ifdef __cplusplus
00289 extern "C" int ematch_wrap (yyscan_t yyscanner );
00290 #else
00291 extern int ematch_wrap (yyscan_t yyscanner );
00292 #endif
00293 #endif
00294
00295 #ifndef yytext_ptr
00296 static void yy_flex_strncpy (char *,yyconst char *,int ,yyscan_t yyscanner);
00297 #endif
00298
00299 #ifdef YY_NEED_STRLEN
00300 static int yy_flex_strlen (yyconst char * ,yyscan_t yyscanner);
00301 #endif
00302
00303 #ifndef YY_NO_INPUT
00304
00305 #endif
00306
00307
00308 #ifndef YY_READ_BUF_SIZE
00309 #ifdef __ia64__
00310
00311 #define YY_READ_BUF_SIZE 16384
00312 #else
00313 #define YY_READ_BUF_SIZE 8192
00314 #endif
00315 #endif
00316
00317
00318 #ifndef YY_START_STACK_INCR
00319 #define YY_START_STACK_INCR 25
00320 #endif
00321
00322
00323
00324
00325 #ifndef YY_DECL
00326 #define YY_DECL_IS_OURS 1
00327
00328 extern int ematch_lex \
00329 (YYSTYPE * yylval_param ,yyscan_t yyscanner);
00330
00331 #define YY_DECL int ematch_lex \
00332 (YYSTYPE * yylval_param , yyscan_t yyscanner)
00333 #endif
00334
00335
00336
00337 #undef YY_NEW_FILE
00338 #undef YY_FLUSH_BUFFER
00339 #undef yy_set_bol
00340 #undef yy_new_buffer
00341 #undef yy_set_interactive
00342 #undef YY_DO_BEFORE_ACTION
00343
00344 #ifdef YY_DECL_IS_OURS
00345 #undef YY_DECL_IS_OURS
00346 #undef YY_DECL
00347 #endif
00348
00349 #line 163 "/root/build/iw/libnl3/libnl3-3.0/./lib/route/cls/ematch_grammar.l"
00350
00351 #line 352 "route/cls/ematch_grammar.h"
00352 #undef ematch_IN_HEADER
00353 #endif