1 #ifndef odbHEADER_H
2 #define odbHEADER_H 1
3 #define odbIN_HEADER 1
4 
5 #line 6 "odbscan.h"
6 
7 #line 8 "odbscan.h"
8 
9 #define  YY_INT_ALIGNED short int
10 
11 /* A lexical scanner generated by flex */
12 
13 /* %not-for-header */
14 
15 #define FLEX_SCANNER
16 #define YY_FLEX_MAJOR_VERSION 2
17 #define YY_FLEX_MINOR_VERSION 5
18 #define YY_FLEX_SUBMINOR_VERSION 39
19 #if YY_FLEX_SUBMINOR_VERSION > 0
20 #define FLEX_BETA
21 #endif
22 
23 /* %if-c++-only */
24 /* %endif */
25 
26 /* %if-c-only */
27 
28 /* %endif */
29 
30 /* %if-c-only */
31 
32 /* %endif */
33 
34 /* First, we deal with  platform-specific or compiler-specific issues. */
35 
36 /* begin standard C headers. */
37 /* %if-c-only */
38 #include <stdio.h>
39 #include <string.h>
40 #include <errno.h>
41 #include <stdlib.h>
42 /* %endif */
43 
44 /* %if-tables-serialization */
45 /* %endif */
46 /* end standard C headers. */
47 
48 /* %if-c-or-c++ */
49 /* flex integer type definitions */
50 
51 #ifndef FLEXINT_H
52 #define FLEXINT_H
53 
54 /* C99 systems have <inttypes.h>. Non-C99 systems may or may not. */
55 
56 #if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
57 
58 /* C99 says to define __STDC_LIMIT_MACROS before including stdint.h,
59  * if you want the limit (max/min) macros for int types.
60  */
61 #ifndef __STDC_LIMIT_MACROS
62 #define __STDC_LIMIT_MACROS 1
63 #endif
64 
65 #include <inttypes.h>
66 typedef int8_t flex_int8_t;
67 typedef uint8_t flex_uint8_t;
68 typedef int16_t flex_int16_t;
69 typedef uint16_t flex_uint16_t;
70 typedef int32_t flex_int32_t;
71 typedef uint32_t flex_uint32_t;
72 #else
73 typedef signed char flex_int8_t;
74 typedef short int flex_int16_t;
75 typedef int flex_int32_t;
76 typedef unsigned char flex_uint8_t;
77 typedef unsigned short int flex_uint16_t;
78 typedef unsigned int flex_uint32_t;
79 
80 /* Limits of integral types. */
81 #ifndef INT8_MIN
82 #define INT8_MIN               (-128)
83 #endif
84 #ifndef INT16_MIN
85 #define INT16_MIN              (-32767-1)
86 #endif
87 #ifndef INT32_MIN
88 #define INT32_MIN              (-2147483647-1)
89 #endif
90 #ifndef INT8_MAX
91 #define INT8_MAX               (127)
92 #endif
93 #ifndef INT16_MAX
94 #define INT16_MAX              (32767)
95 #endif
96 #ifndef INT32_MAX
97 #define INT32_MAX              (2147483647)
98 #endif
99 #ifndef UINT8_MAX
100 #define UINT8_MAX              (255U)
101 #endif
102 #ifndef UINT16_MAX
103 #define UINT16_MAX             (65535U)
104 #endif
105 #ifndef UINT32_MAX
106 #define UINT32_MAX             (4294967295U)
107 #endif
108 
109 #endif /* ! C99 */
110 
111 #endif /* ! FLEXINT_H */
112 
113 /* %endif */
114 
115 /* %if-c++-only */
116 /* %endif */
117 
118 #ifdef __cplusplus
119 
120 /* The "const" storage-class-modifier is valid. */
121 #define YY_USE_CONST
122 
123 #else	/* ! __cplusplus */
124 
125 /* C99 requires __STDC__ to be defined as 1. */
126 #if defined (__STDC__)
127 
128 #define YY_USE_CONST
129 
130 #endif	/* defined (__STDC__) */
131 #endif	/* ! __cplusplus */
132 
133 #ifdef YY_USE_CONST
134 #define yyconst const
135 #else
136 #define yyconst
137 #endif
138 
139 /* %not-for-header */
140 
141 /* %not-for-header */
142 
143 /* %if-reentrant */
144 
145 /* An opaque pointer. */
146 #ifndef YY_TYPEDEF_YY_SCANNER_T
147 #define YY_TYPEDEF_YY_SCANNER_T
148 typedef void* yyscan_t;
149 #endif
150 
151 /* For convenience, these vars (plus the bison vars far below)
152    are macros in the reentrant scanner. */
153 #define yyin yyg->yyin_r
154 #define yyout yyg->yyout_r
155 #define yyextra yyg->yyextra_r
156 #define yyleng yyg->yyleng_r
157 #define yytext yyg->yytext_r
158 #define yylineno (YY_CURRENT_BUFFER_LVALUE->yy_bs_lineno)
159 #define yycolumn (YY_CURRENT_BUFFER_LVALUE->yy_bs_column)
160 #define yy_flex_debug yyg->yy_flex_debug_r
161 
162 /* %endif */
163 
164 /* %if-not-reentrant */
165 /* %endif */
166 
167 /* Size of default input buffer. */
168 #ifndef YY_BUF_SIZE
169 #ifdef __ia64__
170 /* On IA-64, the buffer size is 16k, not 8k.
171  * Moreover, YY_BUF_SIZE is 2*YY_READ_BUF_SIZE in the general case.
172  * Ditto for the __ia64__ case accordingly.
173  */
174 #define YY_BUF_SIZE 32768
175 #else
176 #define YY_BUF_SIZE 16384
177 #endif /* __ia64__ */
178 #endif
179 
180 #ifndef YY_TYPEDEF_YY_BUFFER_STATE
181 #define YY_TYPEDEF_YY_BUFFER_STATE
182 typedef struct yy_buffer_state *YY_BUFFER_STATE;
183 #endif
184 
185 #ifndef YY_TYPEDEF_YY_SIZE_T
186 #define YY_TYPEDEF_YY_SIZE_T
187 typedef size_t yy_size_t;
188 #endif
189 
190 /* %if-not-reentrant */
191 /* %endif */
192 
193 /* %if-c-only */
194 /* %if-not-reentrant */
195 /* %endif */
196 /* %endif */
197 
198 #ifndef YY_STRUCT_YY_BUFFER_STATE
199 #define YY_STRUCT_YY_BUFFER_STATE
200 struct yy_buffer_state
201 	{
202 /* %if-c-only */
203 	FILE *yy_input_file;
204 /* %endif */
205 
206 /* %if-c++-only */
207 /* %endif */
208 
209 	char *yy_ch_buf;		/* input buffer */
210 	char *yy_buf_pos;		/* current position in input buffer */
211 
212 	/* Size of input buffer in bytes, not including room for EOB
213 	 * characters.
214 	 */
215 	yy_size_t yy_buf_size;
216 
217 	/* Number of characters read into yy_ch_buf, not including EOB
218 	 * characters.
219 	 */
220 	yy_size_t yy_n_chars;
221 
222 	/* Whether we "own" the buffer - i.e., we know we created it,
223 	 * and can realloc() it to grow it, and should free() it to
224 	 * delete it.
225 	 */
226 	int yy_is_our_buffer;
227 
228 	/* Whether this is an "interactive" input source; if so, and
229 	 * if we're using stdio for input, then we want to use getc()
230 	 * instead of fread(), to make sure we stop fetching input after
231 	 * each newline.
232 	 */
233 	int yy_is_interactive;
234 
235 	/* Whether we're considered to be at the beginning of a line.
236 	 * If so, '^' rules will be active on the next match, otherwise
237 	 * not.
238 	 */
239 	int yy_at_bol;
240 
241     int yy_bs_lineno; /**< The line count. */
242     int yy_bs_column; /**< The column count. */
243 
244 	/* Whether to try to fill the input buffer when we reach the
245 	 * end of it.
246 	 */
247 	int yy_fill_buffer;
248 
249 	int yy_buffer_status;
250 
251 	};
252 #endif /* !YY_STRUCT_YY_BUFFER_STATE */
253 
254 /* %if-c-only Standard (non-C++) definition */
255 /* %not-for-header */
256 
257 /* %endif */
258 
259 /* %if-c-only Standard (non-C++) definition */
260 
261 /* %if-not-reentrant */
262 /* %not-for-header */
263 
264 /* %endif */
265 
266 void odbrestart (FILE *input_file ,yyscan_t yyscanner );
267 void odb_switch_to_buffer (YY_BUFFER_STATE new_buffer ,yyscan_t yyscanner );
268 YY_BUFFER_STATE odb_create_buffer (FILE *file,int size ,yyscan_t yyscanner );
269 void odb_delete_buffer (YY_BUFFER_STATE b ,yyscan_t yyscanner );
270 void odb_flush_buffer (YY_BUFFER_STATE b ,yyscan_t yyscanner );
271 void odbpush_buffer_state (YY_BUFFER_STATE new_buffer ,yyscan_t yyscanner );
272 void odbpop_buffer_state (yyscan_t yyscanner );
273 
274 YY_BUFFER_STATE odb_scan_buffer (char *base,yy_size_t size ,yyscan_t yyscanner );
275 YY_BUFFER_STATE odb_scan_string (yyconst char *yy_str ,yyscan_t yyscanner );
276 YY_BUFFER_STATE odb_scan_bytes (yyconst char *bytes,yy_size_t len ,yyscan_t yyscanner );
277 
278 /* %endif */
279 
280 void *odballoc (yy_size_t ,yyscan_t yyscanner );
281 void *odbrealloc (void *,yy_size_t ,yyscan_t yyscanner );
282 void odbfree (void * ,yyscan_t yyscanner );
283 
284 /* %% [1.0] yytext/yyin/yyout/yy_state_type/yylineno etc. def's & init go here */
285 /* Begin user sect3 */
286 
287 #define odbwrap(yyscanner) 1
288 #define YY_SKIP_YYWRAP
289 
290 #define FLEX_DEBUG
291 
292 #define yytext_ptr yytext_r
293 
294 /* %if-c-only Standard (non-C++) definition */
295 
296 /* %endif */
297 
298 #ifdef YY_HEADER_EXPORT_START_CONDITIONS
299 #define INITIAL 0
300 #define head 1
301 #define str 2
302 
303 #endif
304 
305 #ifndef YY_NO_UNISTD_H
306 /* Special case for "unistd.h", since it is non-ANSI. We include it way
307  * down here because we want the user's section 1 to have been scanned first.
308  * The user has a chance to override it with an option.
309  */
310 /* %if-c-only */
311 #include <unistd.h>
312 /* %endif */
313 /* %if-c++-only */
314 /* %endif */
315 #endif
316 
317 #ifndef YY_EXTRA_TYPE
318 #define YY_EXTRA_TYPE void *
319 #endif
320 
321 /* %if-c-only Reentrant structure and macros (non-C++). */
322 /* %if-reentrant */
323 
324 /* %if-c-only */
325 
326 /* %endif */
327 
328 /* %if-reentrant */
329 
330 int odblex_init (yyscan_t* scanner);
331 
332 int odblex_init_extra (YY_EXTRA_TYPE user_defined,yyscan_t* scanner);
333 
334 /* %endif */
335 
336 /* %endif End reentrant structures and macros. */
337 
338 /* Accessor methods to globals.
339    These are made visible to non-reentrant scanners for convenience. */
340 
341 int odblex_destroy (yyscan_t yyscanner );
342 
343 int odbget_debug (yyscan_t yyscanner );
344 
345 void odbset_debug (int debug_flag ,yyscan_t yyscanner );
346 
347 YY_EXTRA_TYPE odbget_extra (yyscan_t yyscanner );
348 
349 void odbset_extra (YY_EXTRA_TYPE user_defined ,yyscan_t yyscanner );
350 
351 FILE *odbget_in (yyscan_t yyscanner );
352 
353 void odbset_in  (FILE * in_str ,yyscan_t yyscanner );
354 
355 FILE *odbget_out (yyscan_t yyscanner );
356 
357 void odbset_out  (FILE * out_str ,yyscan_t yyscanner );
358 
359 yy_size_t odbget_leng (yyscan_t yyscanner );
360 
361 char *odbget_text (yyscan_t yyscanner );
362 
363 int odbget_lineno (yyscan_t yyscanner );
364 
365 void odbset_lineno (int line_number ,yyscan_t yyscanner );
366 
367 int odbget_column  (yyscan_t yyscanner );
368 
369 void odbset_column (int column_no ,yyscan_t yyscanner );
370 
371 /* %if-bison-bridge */
372 
373 YYSTYPE * odbget_lval (yyscan_t yyscanner );
374 
375 void odbset_lval (YYSTYPE * yylval_param ,yyscan_t yyscanner );
376 
377 /* %endif */
378 
379 /* Macros after this point can all be overridden by user definitions in
380  * section 1.
381  */
382 
383 #ifndef YY_SKIP_YYWRAP
384 #ifdef __cplusplus
385 extern "C" int odbwrap (yyscan_t yyscanner );
386 #else
387 extern int odbwrap (yyscan_t yyscanner );
388 #endif
389 #endif
390 
391 /* %not-for-header */
392 
393 /* %endif */
394 
395 #ifndef yytext_ptr
396 static void yy_flex_strncpy (char *,yyconst char *,int ,yyscan_t yyscanner);
397 #endif
398 
399 #ifdef YY_NEED_STRLEN
400 static int yy_flex_strlen (yyconst char * ,yyscan_t yyscanner);
401 #endif
402 
403 #ifndef YY_NO_INPUT
404 /* %if-c-only Standard (non-C++) definition */
405 /* %not-for-header */
406 
407 /* %endif */
408 #endif
409 
410 /* %if-c-only */
411 
412 /* %endif */
413 
414 /* Amount of stuff to slurp up with each read. */
415 #ifndef YY_READ_BUF_SIZE
416 #ifdef __ia64__
417 /* On IA-64, the buffer size is 16k, not 8k */
418 #define YY_READ_BUF_SIZE 16384
419 #else
420 #define YY_READ_BUF_SIZE 8192
421 #endif /* __ia64__ */
422 #endif
423 
424 /* Number of entries by which start-condition stack grows. */
425 #ifndef YY_START_STACK_INCR
426 #define YY_START_STACK_INCR 25
427 #endif
428 
429 /* %if-tables-serialization structures and prototypes */
430 /* %not-for-header */
431 
432 /* %not-for-header */
433 
434 /* Default declaration of generated scanner - a define so the user can
435  * easily add parameters.
436  */
437 #ifndef YY_DECL
438 #define YY_DECL_IS_OURS 1
439 /* %if-c-only Standard (non-C++) definition */
440 
441 extern int odblex \
442                (YYSTYPE * yylval_param ,yyscan_t yyscanner);
443 
444 #define YY_DECL int odblex \
445                (YYSTYPE * yylval_param , yyscan_t yyscanner)
446 /* %endif */
447 /* %if-c++-only C++ definition */
448 /* %endif */
449 #endif /* !YY_DECL */
450 
451 /* %not-for-header */
452 
453 /* %if-c++-only */
454 /* %not-for-header */
455 
456 /* %endif */
457 
458 /* yy_get_previous_state - get the state just before the EOB char was reached */
459 
460 /* %if-c-only */
461 /* %not-for-header */
462 
463 #undef YY_NEW_FILE
464 #undef YY_FLUSH_BUFFER
465 #undef yy_set_bol
466 #undef yy_new_buffer
467 #undef yy_set_interactive
468 #undef YY_DO_BEFORE_ACTION
469 
470 #ifdef YY_DECL_IS_OURS
471 #undef YY_DECL_IS_OURS
472 #undef YY_DECL
473 #endif
474 
475 #line 86 "odbscan.l"
476 
477 
478 #line 479 "odbscan.h"
479 #undef odbIN_HEADER
480 #endif /* odbHEADER_H */
481