lexer.h 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319
  1. #ifndef yyHEADER_H
  2. #define yyHEADER_H 1
  3. #define yyIN_HEADER 1
  4. #line 6 "/home/mike/folder/studium_ms/semester_5/master_thesis/scm-ssi-probe-response/attack_implementation/zmap/src/lexer.h"
  5. #line 8 "/home/mike/folder/studium_ms/semester_5/master_thesis/scm-ssi-probe-response/attack_implementation/zmap/src/lexer.h"
  6. #define YY_INT_ALIGNED short int
  7. /* A lexical scanner generated by flex */
  8. #define FLEX_SCANNER
  9. #define YY_FLEX_MAJOR_VERSION 2
  10. #define YY_FLEX_MINOR_VERSION 5
  11. #define YY_FLEX_SUBMINOR_VERSION 39
  12. #if YY_FLEX_SUBMINOR_VERSION > 0
  13. #define FLEX_BETA
  14. #endif
  15. /* First, we deal with platform-specific or compiler-specific issues. */
  16. /* begin standard C headers. */
  17. #include <stdio.h>
  18. #include <string.h>
  19. #include <errno.h>
  20. #include <stdlib.h>
  21. /* end standard C headers. */
  22. /* flex integer type definitions */
  23. #ifndef FLEXINT_H
  24. #define FLEXINT_H
  25. /* C99 systems have <inttypes.h>. Non-C99 systems may or may not. */
  26. #if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
  27. /* C99 says to define __STDC_LIMIT_MACROS before including stdint.h,
  28. * if you want the limit (max/min) macros for int types.
  29. */
  30. #ifndef __STDC_LIMIT_MACROS
  31. #define __STDC_LIMIT_MACROS 1
  32. #endif
  33. #include <inttypes.h>
  34. typedef int8_t flex_int8_t;
  35. typedef uint8_t flex_uint8_t;
  36. typedef int16_t flex_int16_t;
  37. typedef uint16_t flex_uint16_t;
  38. typedef int32_t flex_int32_t;
  39. typedef uint32_t flex_uint32_t;
  40. #else
  41. typedef signed char flex_int8_t;
  42. typedef short int flex_int16_t;
  43. typedef int flex_int32_t;
  44. typedef unsigned char flex_uint8_t;
  45. typedef unsigned short int flex_uint16_t;
  46. typedef unsigned int flex_uint32_t;
  47. /* Limits of integral types. */
  48. #ifndef INT8_MIN
  49. #define INT8_MIN (-128)
  50. #endif
  51. #ifndef INT16_MIN
  52. #define INT16_MIN (-32767-1)
  53. #endif
  54. #ifndef INT32_MIN
  55. #define INT32_MIN (-2147483647-1)
  56. #endif
  57. #ifndef INT8_MAX
  58. #define INT8_MAX (127)
  59. #endif
  60. #ifndef INT16_MAX
  61. #define INT16_MAX (32767)
  62. #endif
  63. #ifndef INT32_MAX
  64. #define INT32_MAX (2147483647)
  65. #endif
  66. #ifndef UINT8_MAX
  67. #define UINT8_MAX (255U)
  68. #endif
  69. #ifndef UINT16_MAX
  70. #define UINT16_MAX (65535U)
  71. #endif
  72. #ifndef UINT32_MAX
  73. #define UINT32_MAX (4294967295U)
  74. #endif
  75. #endif /* ! C99 */
  76. #endif /* ! FLEXINT_H */
  77. #ifdef __cplusplus
  78. /* The "const" storage-class-modifier is valid. */
  79. #define YY_USE_CONST
  80. #else /* ! __cplusplus */
  81. /* C99 requires __STDC__ to be defined as 1. */
  82. #if defined (__STDC__)
  83. #define YY_USE_CONST
  84. #endif /* defined (__STDC__) */
  85. #endif /* ! __cplusplus */
  86. #ifdef YY_USE_CONST
  87. #define yyconst const
  88. #else
  89. #define yyconst
  90. #endif
  91. /* Size of default input buffer. */
  92. #ifndef YY_BUF_SIZE
  93. #define YY_BUF_SIZE 16384
  94. #endif
  95. #ifndef YY_TYPEDEF_YY_BUFFER_STATE
  96. #define YY_TYPEDEF_YY_BUFFER_STATE
  97. typedef struct yy_buffer_state *YY_BUFFER_STATE;
  98. #endif
  99. #ifndef YY_TYPEDEF_YY_SIZE_T
  100. #define YY_TYPEDEF_YY_SIZE_T
  101. typedef size_t yy_size_t;
  102. #endif
  103. extern yy_size_t yyleng;
  104. extern FILE *yyin, *yyout;
  105. #ifndef YY_STRUCT_YY_BUFFER_STATE
  106. #define YY_STRUCT_YY_BUFFER_STATE
  107. struct yy_buffer_state
  108. {
  109. FILE *yy_input_file;
  110. char *yy_ch_buf; /* input buffer */
  111. char *yy_buf_pos; /* current position in input buffer */
  112. /* Size of input buffer in bytes, not including room for EOB
  113. * characters.
  114. */
  115. yy_size_t yy_buf_size;
  116. /* Number of characters read into yy_ch_buf, not including EOB
  117. * characters.
  118. */
  119. yy_size_t yy_n_chars;
  120. /* Whether we "own" the buffer - i.e., we know we created it,
  121. * and can realloc() it to grow it, and should free() it to
  122. * delete it.
  123. */
  124. int yy_is_our_buffer;
  125. /* Whether this is an "interactive" input source; if so, and
  126. * if we're using stdio for input, then we want to use getc()
  127. * instead of fread(), to make sure we stop fetching input after
  128. * each newline.
  129. */
  130. int yy_is_interactive;
  131. /* Whether we're considered to be at the beginning of a line.
  132. * If so, '^' rules will be active on the next match, otherwise
  133. * not.
  134. */
  135. int yy_at_bol;
  136. int yy_bs_lineno; /**< The line count. */
  137. int yy_bs_column; /**< The column count. */
  138. /* Whether to try to fill the input buffer when we reach the
  139. * end of it.
  140. */
  141. int yy_fill_buffer;
  142. int yy_buffer_status;
  143. };
  144. #endif /* !YY_STRUCT_YY_BUFFER_STATE */
  145. void yyrestart (FILE *input_file );
  146. void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer );
  147. YY_BUFFER_STATE yy_create_buffer (FILE *file,int size );
  148. void yy_delete_buffer (YY_BUFFER_STATE b );
  149. void yy_flush_buffer (YY_BUFFER_STATE b );
  150. void yypush_buffer_state (YY_BUFFER_STATE new_buffer );
  151. void yypop_buffer_state (void );
  152. YY_BUFFER_STATE yy_scan_buffer (char *base,yy_size_t size );
  153. YY_BUFFER_STATE yy_scan_string (yyconst char *yy_str );
  154. YY_BUFFER_STATE yy_scan_bytes (yyconst char *bytes,yy_size_t len );
  155. void *yyalloc (yy_size_t );
  156. void *yyrealloc (void *,yy_size_t );
  157. void yyfree (void * );
  158. /* Begin user sect3 */
  159. extern int yylineno;
  160. extern char *yytext;
  161. #define yytext_ptr yytext
  162. #ifdef YY_HEADER_EXPORT_START_CONDITIONS
  163. #define INITIAL 0
  164. #endif
  165. #ifndef YY_NO_UNISTD_H
  166. /* Special case for "unistd.h", since it is non-ANSI. We include it way
  167. * down here because we want the user's section 1 to have been scanned first.
  168. * The user has a chance to override it with an option.
  169. */
  170. #include <unistd.h>
  171. #endif
  172. #ifndef YY_EXTRA_TYPE
  173. #define YY_EXTRA_TYPE void *
  174. #endif
  175. /* Accessor methods to globals.
  176. These are made visible to non-reentrant scanners for convenience. */
  177. int yylex_destroy (void );
  178. int yyget_debug (void );
  179. void yyset_debug (int debug_flag );
  180. YY_EXTRA_TYPE yyget_extra (void );
  181. void yyset_extra (YY_EXTRA_TYPE user_defined );
  182. FILE *yyget_in (void );
  183. void yyset_in (FILE * in_str );
  184. FILE *yyget_out (void );
  185. void yyset_out (FILE * out_str );
  186. yy_size_t yyget_leng (void );
  187. char *yyget_text (void );
  188. int yyget_lineno (void );
  189. void yyset_lineno (int line_number );
  190. /* Macros after this point can all be overridden by user definitions in
  191. * section 1.
  192. */
  193. #ifndef YY_SKIP_YYWRAP
  194. #ifdef __cplusplus
  195. extern "C" int yywrap (void );
  196. #else
  197. extern int yywrap (void );
  198. #endif
  199. #endif
  200. #ifndef yytext_ptr
  201. static void yy_flex_strncpy (char *,yyconst char *,int );
  202. #endif
  203. #ifdef YY_NEED_STRLEN
  204. static int yy_flex_strlen (yyconst char * );
  205. #endif
  206. #ifndef YY_NO_INPUT
  207. #endif
  208. /* Amount of stuff to slurp up with each read. */
  209. #ifndef YY_READ_BUF_SIZE
  210. #define YY_READ_BUF_SIZE 8192
  211. #endif
  212. /* Number of entries by which start-condition stack grows. */
  213. #ifndef YY_START_STACK_INCR
  214. #define YY_START_STACK_INCR 25
  215. #endif
  216. /* Default declaration of generated scanner - a define so the user can
  217. * easily add parameters.
  218. */
  219. #ifndef YY_DECL
  220. #define YY_DECL_IS_OURS 1
  221. extern int yylex (void);
  222. #define YY_DECL int yylex (void)
  223. #endif /* !YY_DECL */
  224. /* yy_get_previous_state - get the state just before the EOB char was reached */
  225. #undef YY_NEW_FILE
  226. #undef YY_FLUSH_BUFFER
  227. #undef yy_set_bol
  228. #undef yy_new_buffer
  229. #undef yy_set_interactive
  230. #undef YY_DO_BEFORE_ACTION
  231. #ifdef YY_DECL_IS_OURS
  232. #undef YY_DECL_IS_OURS
  233. #undef YY_DECL
  234. #endif
  235. #line 36 "/home/mike/folder/studium_ms/semester_5/master_thesis/scm-ssi-probe-response/attack_implementation/zmap/src/lexer.l"
  236. #line 318 "/home/mike/folder/studium_ms/semester_5/master_thesis/scm-ssi-probe-response/attack_implementation/zmap/src/lexer.h"
  237. #undef yyIN_HEADER
  238. #endif /* yyHEADER_H */