⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 sf_attribute_table_parser.c

📁 著名的入侵检测系统snort的最新版本的源码
💻 C
📖 第 1 页 / 共 5 页
字号:
	 * When we actually see the EOF, we change the status to "new"	 * (via sfatrestart()), so that the user can continue scanning by	 * just pointing sfatin at a new input file.	 */#define YY_BUFFER_EOF_PENDING 2	};#endif /* !YY_STRUCT_YY_BUFFER_STATE *//* Stack of input buffers. */static size_t yy_buffer_stack_top = 0; /**< index of top of stack. */static size_t yy_buffer_stack_max = 0; /**< capacity of stack. */static YY_BUFFER_STATE * yy_buffer_stack = 0; /**< Stack as an array. *//* We provide macros for accessing buffer states in case in the * future we want to put the buffer states in a more general * "scanner state". * * Returns the top of the stack, or NULL. */#define YY_CURRENT_BUFFER ( (yy_buffer_stack) \                          ? (yy_buffer_stack)[(yy_buffer_stack_top)] \                          : NULL)/* Same as previous macro, but useful when we know that the buffer stack is not * NULL or when we need an lvalue. For internal use only. */#define YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)]/* yy_hold_char holds the character lost when sfattext is formed. */static char yy_hold_char;static int yy_n_chars;		/* number of characters read into yy_ch_buf */int sfatleng;/* Points to current character in buffer. */static char *yy_c_buf_p = (char *) 0;static int yy_init = 0;		/* whether we need to initialize */static int yy_start = 0;	/* start state number *//* Flag which is used to allow sfatwrap()'s to do buffer switches * instead of setting up a fresh sfatin.  A bit of a hack ... */static int yy_did_buffer_switch_on_eof;void sfatrestart (FILE *input_file  );void sfat_switch_to_buffer (YY_BUFFER_STATE new_buffer  );YY_BUFFER_STATE sfat_create_buffer (FILE *file,int size  );void sfat_delete_buffer (YY_BUFFER_STATE b  );void sfat_flush_buffer (YY_BUFFER_STATE b  );void sfatpush_buffer_state (YY_BUFFER_STATE new_buffer  );void sfatpop_buffer_state (void );static void sfatensure_buffer_stack (void );static void sfat_load_buffer_state (void );static void sfat_init_buffer (YY_BUFFER_STATE b,FILE *file  );#define YY_FLUSH_BUFFER sfat_flush_buffer(YY_CURRENT_BUFFER )YY_BUFFER_STATE sfat_scan_buffer (char *base,yy_size_t size  );YY_BUFFER_STATE sfat_scan_string (yyconst char *yy_str  );YY_BUFFER_STATE sfat_scan_bytes (yyconst char *bytes,int len  );void *sfatalloc (yy_size_t  );void *sfatrealloc (void *,yy_size_t  );void sfatfree (void *  );#define yy_new_buffer sfat_create_buffer#define yy_set_interactive(is_interactive) \	{ \	if ( ! YY_CURRENT_BUFFER ){ \        sfatensure_buffer_stack (); \		YY_CURRENT_BUFFER_LVALUE =    \            sfat_create_buffer(sfatin,YY_BUF_SIZE ); \	} \	YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \	}#define yy_set_bol(at_bol) \	{ \	if ( ! YY_CURRENT_BUFFER ){\        sfatensure_buffer_stack (); \		YY_CURRENT_BUFFER_LVALUE =    \            sfat_create_buffer(sfatin,YY_BUF_SIZE ); \	} \	YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \	}#define YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol)/* Begin user sect3 */#define sfatwrap(n) 1#define YY_SKIP_YYWRAPtypedef unsigned char YY_CHAR;FILE *sfatin = (FILE *) 0, *sfatout = (FILE *) 0;typedef int yy_state_type;extern int sfatlineno;int sfatlineno = 1;extern char *sfattext;#define yytext_ptr sfattextstatic yy_state_type yy_get_previous_state (void );static yy_state_type yy_try_NUL_trans (yy_state_type current_state  );static int yy_get_next_buffer (void );static void yy_fatal_error (yyconst char msg[]  );/* Done after the current pattern has been matched and before the * corresponding action - sets up sfattext. */#define YY_DO_BEFORE_ACTION \	(yytext_ptr) = yy_bp; \	sfatleng = (size_t) (yy_cp - yy_bp); \	(yy_hold_char) = *yy_cp; \	*yy_cp = '\0'; \	(yy_c_buf_p) = yy_cp;#define YY_NUM_RULES 57#define YY_END_OF_BUFFER 58/* This struct is not used in this scanner,   but its presence is necessary. */struct yy_trans_info	{	flex_int32_t yy_verify;	flex_int32_t yy_nxt;	};static yyconst flex_int16_t yy_accept[8632] =    {   0,        1,    1,    0,    0,    0,    0,   58,   56,    1,   54,       56,   53,   56,   53,   52,   56,   57,    1,   53,   54,       52,   52,   52,    0,    0,    0,    0,    0,    0,    0,        0,    0,    0,    0,    0,    0,    1,   53,   52,   52,       52,    0,   55,    0,    0,    0,    0,    0,    0,    0,        0,    0,    0,    0,    0,    0,    0,    0,    0,    0,        0,    0,    0,    0,    0,    0,    0,    0,    0,    0,        0,    0,    1,   53,   52,   52,   52,    0,    0,    0,        0,    0,    0,    0,    0,    0,    0,    0,    0,    0,        0,    0,    0,    0,    0,    0,    0,    0,    0,    0,        0,    0,    8,   16,    0,    0,    0,    0,    0,    0,        0,    0,    0,    0,    0,    1,   53,   52,   52,   52,        0,    0,    0,    0,    0,    0,    0,    9,   17,    0,        0,    0,    0,    0,    0,    0,    0,    0,    0,    0,        0,    0,    0,    0,    0,    0,    0,    0,    0,    0,        0,    0,    0,    0,    0,    0,    0,    0,    1,   53,       52,   52,   52,    0,    0,    0,    0,    0,    0,    0,        0,    0,    0,    0,    0,    0,    0,    0,    0,    0,        0,    0,    0,    0,    0,    0,    0,   14,    0,   26,        0,   48,    0,    0,    0,    0,    0,    0,    0,    1,       53,   52,   52,   52,    0,    0,    0,    0,    0,    0,       15,    0,   27,    0,   49,    0,    0,    0,    0,    0,        0,    0,    0,    0,    0,    0,    6,    0,    0,    0,        0,    0,    0,    0,   10,    0,    0,    1,   53,   52,       52,   52,    0,    0,    0,    0,    7,    0,    0,    0,        0,    0,    0,    0,   11,    0,    0,    0,    0,   42,        0,    0,    0,    0,    0,    0,    0,    0,    0,   28,        0,    1,   53,   52,   52,   52,    0,    0,   43,    0,        0,    0,    0,    0,    0,    0,    0,    0,   29,    0,        0,    0,   40,    0,    0,   44,    0,    0,   38,    0,        0,    0,   30,    1,   53,   52,   52,   52,    0,    0,       41,    0,    0,   45,    0,    0,   39,    0,    0,    0,       31,    0,    0,    0,    0,    0,   46,   36,    0,    0,        1,   53,   52,   52,   52,    0,    0,    0,    0,    0,       47,   37,    0,    0,    0,    0,    0,    0,    0,    0,        0,    1,   53,   52,   52,   52,    0,    0,    0,    0,        0,    0,    0,    0,    0,    0,    0,    0,   24,    0,        0,    0,    0,    1,   53,   52,   52,   52,    0,    0,        0,    0,    0,   25,    0,    0,    0,    0,   50,    0,        0,    0,    0,   32,    0,    0,    0,    1,   53,   52,       52,   52,   51,    0,    0,    0,    0,   33,    0,    0,        0,   22,    0,    0,    0,    0,    0,    0,    1,   53,       52,   52,   52,   23,    0,    0,    0,    0,    0,    0,        4,    0,    0,    0,    0,   34,    1,   53,   52,   52,       52,    5,    0,    0,    0,    0,   35,    0,    0,    0,        0,    1,   53,   52,   52,    0,    0,    0,    0,   12,       20,    0,    0,    1,   53,   13,   21,    0,    0,   18,        2,    1,   53,   19,    3,    1,   53,    1,   53,    1,       53,    1,   53,    1,   53,    1,   53,    1,   53,    1,       53,    1,   53,    1,   53,    1,   53,    1,   53,    1,       53,    1,   53,    1,   53,    1,   53,    1,   53,    1,       53,    1,   53,    1,   53,    1,   53,    1,   53,    1,       53,    1,   53,    1,   53,    1,   53,    1,   53,    1,       53,    1,   53,    1,   53,    1,   53,    1,   53,    1,       53,    1,   53,    1,   53,    1,   53,    1,   53,    1,       53,    1,   53,    1,   53,    1,   53,    1,   53,    1,       53,    1,   53,    1,   53,    1,   53,    1,   53,    1,       53,    1,   53,    1,   53,    1,   53,    1,   53,    1,       53,    1,   53,    1,   53,    1,   53,    1,   53,    1,       53,    1,   53,    1,   53,    1,   53,    1,   53,    1,       53,    1,   53,    1,   53,    1,   53,    1,   53,    1,       53,    1,   53,    1,   53,    1,   53,    1,   53,    1,       53,    1,   53,    1,   53,    1,   53,    1,   53,    1,       53,    1,   53,    1,   53,    1,   53,    1,   53,    1,       53,    1,   53,    1,   53,    1,   53,    1,   53,    1,       53,    1,   53,    1,   53,    1,   53,    1,   53,    1,       53,    1,   53,    1,   53,    1,   53,    1,   53,    1,       53,    1,   53,    1,   53,    1,   53,    1,   53,    1,       53,    1,   53,    1,   53,    1,   53,    1,   53,    1,       53,    1,   53,    1,   53,    1,   53,    1,   53,    1,       53,    1,   53,    1,   53,    1,   53,    1,   53,    1,       53,    1,   53,    1,   53,    1,   53,    1,   53,    1,       53,    1,   53,    1,   53,    1,   53,    1,   53,    1,       53,    1,   53,    1,   53,    1,   53,    1,   53,    1,       53,    1,   53,    1,   53,    1,   53,    1,   53,    1,       53,    1,   53,    1,   53,    1,   53,    1,   53,    1,       53,    1,   53,    1,   53,    1,   53,    1,   53,    1,       53,    1,   53,    1,   53,    1,   53,    1,   53,    1,       53,    1,   53,    1,   53,    1,   53,    1,   53,    1,       53,    1,   53,    1,   53,    1,   53,    1,   53,    1,       53,    1,   53,    1,   53,    1,   53,    1,   53,    1,       53,    1,   53,    1,   53,    1,   53,    1,   53,    1,       53,    1,   53,    1,   53,    1,   53,    1,   53,    1,       53,    1,   53,    1,   53,    1,   53,    1,   53,    1,       53,    1,   53,    1,   53,    1,   53,    1,   53,    1,       53,    1,   53,    1,   53,    1,   53,    1,   53,    1,       53,    1,   53,    1,   53,    1,   53,    1,   53,    1,       53,    1,   53,    1,   53,    1,   53,    1,   53,    1,       53,    1,   53,    1,   53,    1,   53,    1,   53,    1,       53,    1,   53,    1,   53,    1,   53,    1,   53,    1,       53,    1,   53,    1,   53,    1,   53,    1,   53,    1,       53,    1,   53,    1,   53,    1,   53,    1,   53,    1,       53,    1,   53,    1,   53,    1,   53,    1,   53,    1,       53,    1,   53,    1,   53,    1,   53,    1,   53,    1,       53,    1,   53,    1,   53,    1,   53,    1,   53,    1,       53,    1,   53,    1,   53,    1,   53,    1,   53,    1,       53,    1,   53,    1,   53,    1,   53,    1,   53,    1,       53,    1,   53,    1,   53,    1,   53,    1,   53,    1,       53,    1,   53,    1,   53,    1,   53,    1,   53,    1,       53,    1,   53,    1,   53,    1,   53,    1,   53,    1,       53,    1,   53,    1,   53,    1,   53,    1,   53,    1,       53,    1,   53,    1,   53,    1,   53,    1,   53,    1,       53,    1,   53,    1,   53,    1,   53,    1,   53,    1,       53,    1,   53,    1,   53,    1,   53,    1,   53,    1,       53,    1,   53,    1,   53,    1,   53,    1,   53,    1,       53,    1,   53,    1,   53,    1,   53,    1,   53,    1,       53,    1,   53,    1,   53,    1,   53,    1,   53,    1,       53,    1,   53,    1,   53,    1,   53,    1,   53,    1,       53,    1,   53,    1,   53,    1,   53,    1,   53,    1,       53,    1,   53,    1,   53,    1,   53,    1,   53,    1,       53,    1,   53,    1,   53,    1,   53,    1,   53,    1,       53,    1,   53,    1,   53,    1,   53,    1,   53,    1,       53,    1,   53,    1,   53,    1,   53,    1,   53,    1,       53,    1,   53,    1,   53,    1,   53,    1,   53,    1,       53,    1,   53,    1,   53,    1,   53,    1,   53,    1,       53,    1,   53,    1,   53,    1,   53,    1,   53,    1,       53,    1,   53,    1,   53,    1,   53,    1,   53,    1,       53,    1,   53,    1,   53,    1,   53,    1,   53,    1,       53,    1,   53,    1,   53,    1,   53,    1,   53,    1,       53,    1,   53,    1,   53,    1,   53,    1,   53,    1,

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -