Wireshark  2.9.0-477-g68ec514b
The Wireshark network protocol analyzer
mate_parser_lex.h
1 #ifndef Mate_HEADER_H
2 #define Mate_HEADER_H 1
3 #define Mate_IN_HEADER 1
4 
5 #line 6 "/home/wireshark/builders/wireshark-master/ubuntu-16.04-x64/build/cmbuild/plugins/epan/mate/mate_parser_lex.h"
6 /* Include this before everything else, for various large-file definitions */
7 #include "config.h"
8 /* Include this before everything else, as it declares functions used here. */
9 #include "mate.h"
10 
11 #line 12 "/home/wireshark/builders/wireshark-master/ubuntu-16.04-x64/build/cmbuild/plugins/epan/mate/mate_parser_lex.h"
12 
13 #define YY_INT_ALIGNED short int
14 
15 /* A lexical scanner generated by flex */
16 
17 #define FLEX_SCANNER
18 #define YY_FLEX_MAJOR_VERSION 2
19 #define YY_FLEX_MINOR_VERSION 6
20 #define YY_FLEX_SUBMINOR_VERSION 0
21 #if YY_FLEX_SUBMINOR_VERSION > 0
22 #define FLEX_BETA
23 #endif
24 
25 /* First, we deal with platform-specific or compiler-specific issues. */
26 
27 /* begin standard C headers. */
28 #include <stdio.h>
29 #include <string.h>
30 #include <errno.h>
31 #include <stdlib.h>
32 
33 /* end standard C headers. */
34 
35 /* flex integer type definitions */
36 
37 #ifndef FLEXINT_H
38 #define FLEXINT_H
39 
40 /* C99 systems have <inttypes.h>. Non-C99 systems may or may not. */
41 
42 #if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
43 
44 /* C99 says to define __STDC_LIMIT_MACROS before including stdint.h,
45  * if you want the limit (max/min) macros for int types.
46  */
47 #ifndef __STDC_LIMIT_MACROS
48 #define __STDC_LIMIT_MACROS 1
49 #endif
50 
51 #include <inttypes.h>
52 typedef int8_t flex_int8_t;
53 typedef uint8_t flex_uint8_t;
54 typedef int16_t flex_int16_t;
55 typedef uint16_t flex_uint16_t;
56 typedef int32_t flex_int32_t;
57 typedef uint32_t flex_uint32_t;
58 #else
59 typedef signed char flex_int8_t;
60 typedef short int flex_int16_t;
61 typedef int flex_int32_t;
62 typedef unsigned char flex_uint8_t;
63 typedef unsigned short int flex_uint16_t;
64 typedef unsigned int flex_uint32_t;
65 
66 /* Limits of integral types. */
67 #ifndef INT8_MIN
68 #define INT8_MIN (-128)
69 #endif
70 #ifndef INT16_MIN
71 #define INT16_MIN (-32767-1)
72 #endif
73 #ifndef INT32_MIN
74 #define INT32_MIN (-2147483647-1)
75 #endif
76 #ifndef INT8_MAX
77 #define INT8_MAX (127)
78 #endif
79 #ifndef INT16_MAX
80 #define INT16_MAX (32767)
81 #endif
82 #ifndef INT32_MAX
83 #define INT32_MAX (2147483647)
84 #endif
85 #ifndef UINT8_MAX
86 #define UINT8_MAX (255U)
87 #endif
88 #ifndef UINT16_MAX
89 #define UINT16_MAX (65535U)
90 #endif
91 #ifndef UINT32_MAX
92 #define UINT32_MAX (4294967295U)
93 #endif
94 
95 #endif /* ! C99 */
96 
97 #endif /* ! FLEXINT_H */
98 
99 #ifdef __cplusplus
100 
101 /* The "const" storage-class-modifier is valid. */
102 #define YY_USE_CONST
103 
104 #else /* ! __cplusplus */
105 
106 /* C99 requires __STDC__ to be defined as 1. */
107 #if defined (__STDC__)
108 
109 #define YY_USE_CONST
110 
111 #endif /* defined (__STDC__) */
112 #endif /* ! __cplusplus */
113 
114 #ifdef YY_USE_CONST
115 #define yyconst const
116 #else
117 #define yyconst
118 #endif
119 
120 /* An opaque pointer. */
121 #ifndef YY_TYPEDEF_YY_SCANNER_T
122 #define YY_TYPEDEF_YY_SCANNER_T
123 typedef void* yyscan_t;
124 #endif
125 
126 /* For convenience, these vars (plus the bison vars far below)
127  are macros in the reentrant scanner. */
128 #define yyin yyg->yyin_r
129 #define yyout yyg->yyout_r
130 #define yyextra yyg->yyextra_r
131 #define yyleng yyg->yyleng_r
132 #define yytext yyg->yytext_r
133 #define yylineno (YY_CURRENT_BUFFER_LVALUE->yy_bs_lineno)
134 #define yycolumn (YY_CURRENT_BUFFER_LVALUE->yy_bs_column)
135 #define yy_flex_debug yyg->yy_flex_debug_r
136 
137 /* Size of default input buffer. */
138 #ifndef YY_BUF_SIZE
139 #ifdef __ia64__
140 /* On IA-64, the buffer size is 16k, not 8k.
141  * Moreover, YY_BUF_SIZE is 2*YY_READ_BUF_SIZE in the general case.
142  * Ditto for the __ia64__ case accordingly.
143  */
144 #define YY_BUF_SIZE 32768
145 #else
146 #define YY_BUF_SIZE 16384
147 #endif /* __ia64__ */
148 #endif
149 
150 #ifndef YY_TYPEDEF_YY_BUFFER_STATE
151 #define YY_TYPEDEF_YY_BUFFER_STATE
152 typedef struct yy_buffer_state *YY_BUFFER_STATE;
153 #endif
154 
155 #ifndef YY_TYPEDEF_YY_SIZE_T
156 #define YY_TYPEDEF_YY_SIZE_T
157 typedef size_t yy_size_t;
158 #endif
159 
160 #ifndef YY_STRUCT_YY_BUFFER_STATE
161 #define YY_STRUCT_YY_BUFFER_STATE
162 struct yy_buffer_state
163  {
164  FILE *yy_input_file;
165 
166  char *yy_ch_buf; /* input buffer */
167  char *yy_buf_pos; /* current position in input buffer */
168 
169  /* Size of input buffer in bytes, not including room for EOB
170  * characters.
171  */
172  yy_size_t yy_buf_size;
173 
174  /* Number of characters read into yy_ch_buf, not including EOB
175  * characters.
176  */
177  int yy_n_chars;
178 
179  /* Whether we "own" the buffer - i.e., we know we created it,
180  * and can realloc() it to grow it, and should free() it to
181  * delete it.
182  */
183  int yy_is_our_buffer;
184 
185  /* Whether this is an "interactive" input source; if so, and
186  * if we're using stdio for input, then we want to use getc()
187  * instead of fread(), to make sure we stop fetching input after
188  * each newline.
189  */
190  int yy_is_interactive;
191 
192  /* Whether we're considered to be at the beginning of a line.
193  * If so, '^' rules will be active on the next match, otherwise
194  * not.
195  */
196  int yy_at_bol;
197 
198  int yy_bs_lineno;
199  int yy_bs_column;
201  /* Whether to try to fill the input buffer when we reach the
202  * end of it.
203  */
204  int yy_fill_buffer;
205 
206  int yy_buffer_status;
207 
208  };
209 #endif /* !YY_STRUCT_YY_BUFFER_STATE */
210 
211 void Mate_restart (FILE *input_file ,yyscan_t yyscanner );
212 void Mate__switch_to_buffer (YY_BUFFER_STATE new_buffer ,yyscan_t yyscanner );
213 YY_BUFFER_STATE Mate__create_buffer (FILE *file,int size ,yyscan_t yyscanner );
214 void Mate__delete_buffer (YY_BUFFER_STATE b ,yyscan_t yyscanner );
215 void Mate__flush_buffer (YY_BUFFER_STATE b ,yyscan_t yyscanner );
216 void Mate_push_buffer_state (YY_BUFFER_STATE new_buffer ,yyscan_t yyscanner );
217 void Mate_pop_buffer_state (yyscan_t yyscanner );
218 
219 YY_BUFFER_STATE Mate__scan_buffer (char *base,yy_size_t size ,yyscan_t yyscanner );
220 YY_BUFFER_STATE Mate__scan_string (yyconst char *yy_str ,yyscan_t yyscanner );
221 YY_BUFFER_STATE Mate__scan_bytes (yyconst char *bytes,yy_size_t len ,yyscan_t yyscanner );
222 
223 void *Mate_alloc (yy_size_t ,yyscan_t yyscanner );
224 void *Mate_realloc (void *,yy_size_t ,yyscan_t yyscanner );
225 void Mate_free (void * ,yyscan_t yyscanner );
226 
227 /* Begin user sect3 */
228 
229 #define Mate_wrap(yyscanner) (/*CONSTCOND*/1)
230 #define YY_SKIP_YYWRAP
231 
232 #define yytext_ptr yytext_r
233 
234 #ifdef YY_HEADER_EXPORT_START_CONDITIONS
235 #define INITIAL 0
236 #define OUTSIDE 1
237 #define QUOTED 2
238 #define INCLUDING 3
239 #define COMMENT 4
240 
241 #endif
242 
243 #ifndef YY_NO_UNISTD_H
244 /* Special case for "unistd.h", since it is non-ANSI. We include it way
245  * down here because we want the user's section 1 to have been scanned first.
246  * The user has a chance to override it with an option.
247  */
248 #include <unistd.h>
249 #endif
250 
251 #define YY_EXTRA_TYPE Mate_scanner_state_t *
252 
253 int Mate_lex_init (yyscan_t* scanner);
254 
255 int Mate_lex_init_extra (YY_EXTRA_TYPE user_defined,yyscan_t* scanner);
256 
257 /* Accessor methods to globals.
258  These are made visible to non-reentrant scanners for convenience. */
259 
260 int Mate_lex_destroy (yyscan_t yyscanner );
261 
262 int Mate_get_debug (yyscan_t yyscanner );
263 
264 void Mate_set_debug (int debug_flag ,yyscan_t yyscanner );
265 
266 YY_EXTRA_TYPE Mate_get_extra (yyscan_t yyscanner );
267 
268 void Mate_set_extra (YY_EXTRA_TYPE user_defined ,yyscan_t yyscanner );
269 
270 FILE *Mate_get_in (yyscan_t yyscanner );
271 
272 void Mate_set_in (FILE * _in_str ,yyscan_t yyscanner );
273 
274 FILE *Mate_get_out (yyscan_t yyscanner );
275 
276 void Mate_set_out (FILE * _out_str ,yyscan_t yyscanner );
277 
278 yy_size_t Mate_get_leng (yyscan_t yyscanner );
279 
280 char *Mate_get_text (yyscan_t yyscanner );
281 
282 int Mate_get_lineno (yyscan_t yyscanner );
283 
284 void Mate_set_lineno (int _line_number ,yyscan_t yyscanner );
285 
286 int Mate_get_column (yyscan_t yyscanner );
287 
288 void Mate_set_column (int _column_no ,yyscan_t yyscanner );
289 
290 /* Macros after this point can all be overridden by user definitions in
291  * section 1.
292  */
293 
294 #ifndef YY_SKIP_YYWRAP
295 #ifdef __cplusplus
296 extern "C" int Mate_wrap (yyscan_t yyscanner );
297 #else
298 extern int Mate_wrap (yyscan_t yyscanner );
299 #endif
300 #endif
301 
302 #ifndef yytext_ptr
303 static void yy_flex_strncpy (char *,yyconst char *,int ,yyscan_t yyscanner);
304 #endif
305 
306 #ifdef YY_NEED_STRLEN
307 static int yy_flex_strlen (yyconst char * ,yyscan_t yyscanner);
308 #endif
309 
310 #ifndef YY_NO_INPUT
311 
312 #endif
313 
314 /* Amount of stuff to slurp up with each read. */
315 #ifndef YY_READ_BUF_SIZE
316 #ifdef __ia64__
317 /* On IA-64, the buffer size is 16k, not 8k */
318 #define YY_READ_BUF_SIZE 16384
319 #else
320 #define YY_READ_BUF_SIZE 8192
321 #endif /* __ia64__ */
322 #endif
323 
324 /* Number of entries by which start-condition stack grows. */
325 #ifndef YY_START_STACK_INCR
326 #define YY_START_STACK_INCR 25
327 #endif
328 
329 /* Default declaration of generated scanner - a define so the user can
330  * easily add parameters.
331  */
332 #ifndef YY_DECL
333 #define YY_DECL_IS_OURS 1
334 
335 extern int Mate_lex (yyscan_t yyscanner);
336 
337 #define YY_DECL int Mate_lex (yyscan_t yyscanner)
338 #endif /* !YY_DECL */
339 
340 /* yy_get_previous_state - get the state just before the EOB char was reached */
341 
342 #undef YY_NEW_FILE
343 #undef YY_FLUSH_BUFFER
344 #undef yy_set_bol
345 #undef yy_new_buffer
346 #undef yy_set_interactive
347 #undef YY_DO_BEFORE_ACTION
348 
349 #ifdef YY_DECL_IS_OURS
350 #undef YY_DECL_IS_OURS
351 #undef YY_DECL
352 #endif
353 
354 #line 335 "/home/wireshark/builders/wireshark-master/ubuntu-16.04-x64/build/plugins/epan/mate/mate_parser.l"
355 
356 
357 #line 358 "/home/wireshark/builders/wireshark-master/ubuntu-16.04-x64/build/cmbuild/plugins/epan/mate/mate_parser_lex.h"
358 #undef Mate_IN_HEADER
359 #endif /* Mate_HEADER_H */
int yy_bs_lineno
Definition: scanner.c:250
int yy_bs_column
Definition: scanner.c:251
Definition: scanner.c:214