![]() |
Kea
2.5.2
|
#include <stdio.h>
#include <string.h>
#include <errno.h>
#include <stdlib.h>
#include <cctype>
#include <cerrno>
#include <climits>
#include <cstdint>
#include <cstdlib>
#include <string>
#include <agent/parser_context.h>
#include <asiolink/io_address.h>
#include <boost/lexical_cast.hpp>
#include <exceptions/exceptions.h>
#include <cc/dhcp_config_error.h>
#include <unistd.h>
Go to the source code of this file.
Classes | |
struct | yy_buffer_state |
struct | yy_trans_info |
Macros | |
#define | agent__create_buffer_ALREADY_DEFINED |
#define | agent__delete_buffer_ALREADY_DEFINED |
#define | agent__flex_debug_ALREADY_DEFINED |
#define | agent__flush_buffer_ALREADY_DEFINED |
#define | agent__init_buffer_ALREADY_DEFINED |
#define | agent__load_buffer_state_ALREADY_DEFINED |
#define | agent__scan_buffer_ALREADY_DEFINED |
#define | agent__scan_bytes_ALREADY_DEFINED |
#define | agent__scan_string_ALREADY_DEFINED |
#define | agent__switch_to_buffer_ALREADY_DEFINED |
#define | agent_alloc_ALREADY_DEFINED |
#define | agent_ensure_buffer_stack_ALREADY_DEFINED |
#define | agent_free_ALREADY_DEFINED |
#define | agent_in_ALREADY_DEFINED |
#define | agent_leng_ALREADY_DEFINED |
#define | agent_lex_ALREADY_DEFINED |
#define | agent_lineno_ALREADY_DEFINED |
#define | agent_out_ALREADY_DEFINED |
#define | agent_pop_buffer_state_ALREADY_DEFINED |
#define | agent_push_buffer_state_ALREADY_DEFINED |
#define | agent_realloc_ALREADY_DEFINED |
#define | agent_restart_ALREADY_DEFINED |
#define | agent_text_ALREADY_DEFINED |
#define | agent_wrap() (/*CONSTCOND*/1) |
#define | agent_wrap_ALREADY_DEFINED |
#define | BEGIN (yy_start) = 1 + 2 * |
#define | COMMENT 1 |
#define | DIR_ENTER 2 |
#define | DIR_EXIT 4 |
#define | DIR_INCLUDE 3 |
#define | ECHO do { if (fwrite( yytext, (size_t) yyleng, 1, yyout )) {} } while (0) |
#define | EOB_ACT_CONTINUE_SCAN 0 |
#define | EOB_ACT_END_OF_FILE 1 |
#define | EOB_ACT_LAST_MATCH 2 |
#define | FLEX_BETA |
#define | FLEX_DEBUG |
#define | FLEX_SCANNER |
#define | FLEXINT_H |
#define | INITIAL 0 |
#define | INT16_MAX (32767) |
#define | INT16_MIN (-32767-1) |
#define | INT32_MAX (2147483647) |
#define | INT32_MIN (-2147483647-1) |
#define | INT8_MAX (127) |
#define | INT8_MIN (-128) |
#define | REJECT reject_used_but_not_detected |
#define | SIZE_MAX (~(size_t)0) |
#define | UINT16_MAX (65535U) |
#define | UINT32_MAX (4294967295U) |
#define | UINT8_MAX (255U) |
#define | unput(c) yyunput( c, (yytext_ptr) ) |
#define | YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol) |
#define | YY_BREAK /*LINTED*/break; |
#define | YY_BUF_SIZE 16384 |
#define | YY_BUFFER_EOF_PENDING 2 |
#define | YY_BUFFER_NEW 0 |
#define | YY_BUFFER_NORMAL 1 |
#define | yy_create_buffer agent__create_buffer |
#define | YY_CURRENT_BUFFER |
#define | YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)] |
#define | YY_DECL int yylex (void) |
#define | YY_DECL_IS_OURS 1 |
#define | yy_delete_buffer agent__delete_buffer |
#define | YY_DO_BEFORE_ACTION |
#define | YY_END_OF_BUFFER 72 |
#define | YY_END_OF_BUFFER_CHAR 0 |
#define | YY_EXIT_FAILURE 2 |
#define | YY_EXTRA_TYPE void * |
#define | YY_FATAL_ERROR(msg) isc::agent::ParserContext::fatal(msg) |
#define | yy_flex_debug agent__flex_debug |
#define | YY_FLEX_MAJOR_VERSION 2 |
#define | YY_FLEX_MINOR_VERSION 6 |
#define | YY_FLEX_SUBMINOR_VERSION 4 |
#define | yy_flush_buffer agent__flush_buffer |
#define | YY_FLUSH_BUFFER yy_flush_buffer( YY_CURRENT_BUFFER ) |
#define | yy_init_buffer agent__init_buffer |
#define | YY_INPUT(buf, result, max_size) |
#define | YY_INT_ALIGNED short int |
#define | YY_LESS_LINENO(n) |
#define | YY_LINENO_REWIND_TO(ptr) |
#define | yy_load_buffer_state agent__load_buffer_state |
#define | YY_MORE_ADJ 0 |
#define | yy_new_buffer yy_create_buffer |
#define | YY_NEW_FILE yyrestart( yyin ) |
#define | YY_NO_INPUT 1 |
#define | YY_NULL 0 |
#define | YY_NUM_RULES 71 |
#define | YY_READ_BUF_SIZE 8192 |
#define | YY_RESTORE_YY_MORE_OFFSET |
#define | YY_RULE_SETUP YY_USER_ACTION |
#define | YY_SC_TO_UI(c) ((YY_CHAR) (c)) |
#define | yy_scan_buffer agent__scan_buffer |
#define | yy_scan_bytes agent__scan_bytes |
#define | yy_scan_string agent__scan_string |
#define | yy_set_bol(at_bol) |
#define | yy_set_interactive(is_interactive) |
#define | YY_SKIP_YYWRAP |
#define | YY_START (((yy_start) - 1) / 2) |
#define | YY_START_STACK_INCR 25 |
#define | YY_STATE_BUF_SIZE ((YY_BUF_SIZE + 2) * sizeof(yy_state_type)) |
#define | YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1) |
#define | YY_STRUCT_YY_BUFFER_STATE |
#define | yy_switch_to_buffer agent__switch_to_buffer |
#define | YY_TYPEDEF_YY_BUFFER_STATE |
#define | YY_TYPEDEF_YY_SIZE_T |
#define | YY_USER_ACTION driver.loc_.columns(yyleng); |
#define | yyalloc agent_alloc |
#define | yyconst const |
#define | yyensure_buffer_stack agent_ensure_buffer_stack |
#define | yyfree agent_free |
#define | yyget_debug agent_get_debug |
#define | yyget_extra agent_get_extra |
#define | yyget_in(void) agent_get_in |
Get the input stream. More... | |
#define | yyget_leng(void) agent_get_leng |
Get the length of the current token. More... | |
#define | yyget_lineno(void) agent_get_lineno |
Get the current line number. More... | |
#define | yyget_out(void) agent_get_out |
Get the output stream. More... | |
#define | yyget_text(void) agent_get_text |
Get the current token. More... | |
#define | yyin agent_in |
#define | yyleng agent_leng |
#define | yyless(n) |
#define | yyless(n) |
#define | yylex agent_lex |
#define | yylex_destroy agent_lex_destroy |
#define | yylex_init agent_lex_init |
#define | yylex_init_extra agent_lex_init_extra |
#define | yylineno agent_lineno |
#define | yymore() yymore_used_but_not_detected |
#define | yynoreturn |
#define | yyout agent_out |
#define | yypop_buffer_state(void) agent_pop_buffer_state |
Removes and deletes the top of the stack, if present. More... | |
#define | yypush_buffer_state agent_push_buffer_state |
#define | yyrealloc agent_realloc |
#define | yyrestart agent_restart |
#define | yyset_debug agent_set_debug |
#define | yyset_extra agent_set_extra |
#define | yyset_in agent_set_in |
#define | yyset_lineno agent_set_lineno |
#define | yyset_out agent_set_out |
#define | YYSTATE YY_START |
#define | YYTABLES_NAME "yytables" |
#define | yyterminate() return YY_NULL |
#define | yytext agent_text |
#define | yytext_ptr yytext |
#define | yywrap agent_wrap |
#define | yywrap() 1 |
Typedefs | |
typedef short int | flex_int16_t |
typedef int | flex_int32_t |
typedef signed char | flex_int8_t |
typedef unsigned short int | flex_uint16_t |
typedef unsigned int | flex_uint32_t |
typedef unsigned char | flex_uint8_t |
typedef struct yy_buffer_state * | YY_BUFFER_STATE |
typedef flex_uint8_t | YY_CHAR |
typedef size_t | yy_size_t |
typedef int | yy_state_type |
Functions | |
if (!(yy_init)) | |
if (start_token_flag) | |
while (1) | |
YY_BUFFER_STATE | yy_create_buffer (FILE *file, int size) |
Allocate and initialize an input buffer state. More... | |
void | yy_delete_buffer (YY_BUFFER_STATE b) |
Destroy the buffer. More... | |
void | yy_flush_buffer (YY_BUFFER_STATE b) |
Discard all buffered characters. More... | |
YY_BUFFER_STATE | yy_scan_buffer (char *base, yy_size_t size) |
Setup the input buffer state to scan directly from a user-specified character buffer. More... | |
YY_BUFFER_STATE | yy_scan_bytes (const char *yybytes, yy_size_t _yybytes_len) |
Setup the input buffer state to scan the given bytes. More... | |
YY_BUFFER_STATE | yy_scan_string (const char *yystr) |
Setup the input buffer state to scan a string. More... | |
void | yy_switch_to_buffer (YY_BUFFER_STATE new_buffer) |
Switch to a different input buffer. More... | |
void * | yyalloc (yy_size_t) |
void | yyfree (void *) |
void | yypush_buffer_state (YY_BUFFER_STATE new_buffer) |
Pushes the new state onto the stack. More... | |
void * | yyrealloc (void *, yy_size_t) |
void | yyrestart (FILE *input_file) |
Immediately switch to a different input stream. More... | |
void | yyset_debug (int debug_flag) |
void | yyset_extra (YY_EXTRA_TYPE user_defined) |
void | yyset_in (FILE *_in_str) |
Set the input stream. More... | |
void | yyset_lineno (int _line_number) |
Set the current line number. More... | |
void | yyset_out (FILE *_out_str) |
Variables | |
int | yy_act |
char * | yy_bp |
char * | yy_cp |
YY_DECL | |
The main scanner function which does all the work. More... | |
int | yy_flex_debug = 1 |
FILE * | yyin = NULL |
yy_size_t | yyleng |
int | yylineno = 1 |
FILE * | yyout = NULL |
char * | yytext |
#define agent__create_buffer_ALREADY_DEFINED |
Definition at line 54 of file agent_lexer.cc.
#define agent__delete_buffer_ALREADY_DEFINED |
Definition at line 60 of file agent_lexer.cc.
#define agent__flex_debug_ALREADY_DEFINED |
Definition at line 280 of file agent_lexer.cc.
#define agent__flush_buffer_ALREADY_DEFINED |
Definition at line 90 of file agent_lexer.cc.
#define agent__init_buffer_ALREADY_DEFINED |
Definition at line 84 of file agent_lexer.cc.
#define agent__load_buffer_state_ALREADY_DEFINED |
Definition at line 96 of file agent_lexer.cc.
#define agent__scan_buffer_ALREADY_DEFINED |
Definition at line 66 of file agent_lexer.cc.
#define agent__scan_bytes_ALREADY_DEFINED |
Definition at line 78 of file agent_lexer.cc.
#define agent__scan_string_ALREADY_DEFINED |
Definition at line 72 of file agent_lexer.cc.
#define agent__switch_to_buffer_ALREADY_DEFINED |
Definition at line 102 of file agent_lexer.cc.
#define agent_alloc_ALREADY_DEFINED |
Definition at line 236 of file agent_lexer.cc.
#define agent_ensure_buffer_stack_ALREADY_DEFINED |
Definition at line 120 of file agent_lexer.cc.
#define agent_free_ALREADY_DEFINED |
Definition at line 248 of file agent_lexer.cc.
#define agent_in_ALREADY_DEFINED |
Definition at line 268 of file agent_lexer.cc.
#define agent_leng_ALREADY_DEFINED |
Definition at line 262 of file agent_lexer.cc.
#define agent_lex_ALREADY_DEFINED |
Definition at line 126 of file agent_lexer.cc.
#define agent_lineno_ALREADY_DEFINED |
Definition at line 286 of file agent_lexer.cc.
#define agent_out_ALREADY_DEFINED |
Definition at line 274 of file agent_lexer.cc.
#define agent_pop_buffer_state_ALREADY_DEFINED |
Definition at line 114 of file agent_lexer.cc.
#define agent_push_buffer_state_ALREADY_DEFINED |
Definition at line 108 of file agent_lexer.cc.
#define agent_realloc_ALREADY_DEFINED |
Definition at line 242 of file agent_lexer.cc.
#define agent_restart_ALREADY_DEFINED |
Definition at line 132 of file agent_lexer.cc.
#define agent_text_ALREADY_DEFINED |
Definition at line 256 of file agent_lexer.cc.
#define agent_wrap | ( | ) | (/*CONSTCOND*/1) |
Definition at line 653 of file agent_lexer.cc.
#define agent_wrap_ALREADY_DEFINED |
Definition at line 228 of file agent_lexer.cc.
#define BEGIN (yy_start) = 1 + 2 * |
Definition at line 415 of file agent_lexer.cc.
#define COMMENT 1 |
Definition at line 1640 of file agent_lexer.cc.
#define DIR_ENTER 2 |
Definition at line 1641 of file agent_lexer.cc.
#define DIR_EXIT 4 |
Definition at line 1643 of file agent_lexer.cc.
#define DIR_INCLUDE 3 |
Definition at line 1642 of file agent_lexer.cc.
Definition at line 1765 of file agent_lexer.cc.
#define EOB_ACT_CONTINUE_SCAN 0 |
Definition at line 465 of file agent_lexer.cc.
#define EOB_ACT_END_OF_FILE 1 |
Definition at line 466 of file agent_lexer.cc.
#define EOB_ACT_LAST_MATCH 2 |
Definition at line 467 of file agent_lexer.cc.
#define FLEX_BETA |
Definition at line 46 of file agent_lexer.cc.
#define FLEX_DEBUG |
Definition at line 656 of file agent_lexer.cc.
#define FLEX_SCANNER |
Definition at line 41 of file agent_lexer.cc.
#define FLEXINT_H |
Definition at line 311 of file agent_lexer.cc.
#define INITIAL 0 |
Definition at line 1639 of file agent_lexer.cc.
#define INT16_MAX (32767) |
Definition at line 354 of file agent_lexer.cc.
#define INT16_MIN (-32767-1) |
Definition at line 345 of file agent_lexer.cc.
#define INT32_MAX (2147483647) |
Definition at line 357 of file agent_lexer.cc.
#define INT32_MIN (-2147483647-1) |
Definition at line 348 of file agent_lexer.cc.
#define INT8_MAX (127) |
Definition at line 351 of file agent_lexer.cc.
#define INT8_MIN (-128) |
Definition at line 342 of file agent_lexer.cc.
#define REJECT reject_used_but_not_detected |
Definition at line 1559 of file agent_lexer.cc.
#define SIZE_MAX (~(size_t)0) |
Definition at line 370 of file agent_lexer.cc.
#define UINT16_MAX (65535U) |
Definition at line 363 of file agent_lexer.cc.
#define UINT32_MAX (4294967295U) |
Definition at line 366 of file agent_lexer.cc.
#define UINT8_MAX (255U) |
Definition at line 360 of file agent_lexer.cc.
#define unput | ( | c | ) | yyunput( c, (yytext_ptr) ) |
Definition at line 485 of file agent_lexer.cc.
#define YY_AT_BOL | ( | ) | (YY_CURRENT_BUFFER_LVALUE->yy_at_bol) |
Definition at line 648 of file agent_lexer.cc.
#define YY_BREAK /*LINTED*/break; |
Definition at line 1867 of file agent_lexer.cc.
#define YY_BUF_SIZE 16384 |
Definition at line 437 of file agent_lexer.cc.
#define YY_BUFFER_EOF_PENDING 2 |
Definition at line 552 of file agent_lexer.cc.
#define YY_BUFFER_NEW 0 |
Definition at line 540 of file agent_lexer.cc.
#define YY_BUFFER_NORMAL 1 |
Definition at line 541 of file agent_lexer.cc.
#define yy_create_buffer agent__create_buffer |
Definition at line 12 of file agent_lexer.cc.
#define YY_CURRENT_BUFFER |
Definition at line 576 of file agent_lexer.cc.
#define YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)] |
Definition at line 582 of file agent_lexer.cc.
#define YY_DECL int yylex (void) |
Definition at line 1852 of file agent_lexer.cc.
#define YY_DECL_IS_OURS 1 |
Definition at line 1847 of file agent_lexer.cc.
#define yy_delete_buffer agent__delete_buffer |
Definition at line 13 of file agent_lexer.cc.
#define YY_DO_BEFORE_ACTION |
Definition at line 686 of file agent_lexer.cc.
#define YY_END_OF_BUFFER 72 |
Definition at line 696 of file agent_lexer.cc.
#define YY_END_OF_BUFFER_CHAR 0 |
Definition at line 426 of file agent_lexer.cc.
#define YY_EXIT_FAILURE 2 |
Definition at line 3811 of file agent_lexer.cc.
#define YY_EXTRA_TYPE void * |
Definition at line 1658 of file agent_lexer.cc.
#define YY_FATAL_ERROR | ( | msg | ) | isc::agent::ParserContext::fatal(msg) |
Definition at line 1609 of file agent_lexer.cc.
int yy_flex_debug agent__flex_debug |
Definition at line 24 of file agent_lexer.cc.
Referenced by isc::agent::ParserContext::scanFileBegin(), isc::agent::ParserContext::scanStringBegin(), and yyset_debug().
#define YY_FLEX_MAJOR_VERSION 2 |
Definition at line 42 of file agent_lexer.cc.
#define YY_FLEX_MINOR_VERSION 6 |
Definition at line 43 of file agent_lexer.cc.
#define YY_FLEX_SUBMINOR_VERSION 4 |
Definition at line 44 of file agent_lexer.cc.
#define yy_flush_buffer agent__flush_buffer |
Definition at line 18 of file agent_lexer.cc.
#define YY_FLUSH_BUFFER yy_flush_buffer( YY_CURRENT_BUFFER ) |
Definition at line 617 of file agent_lexer.cc.
#define yy_init_buffer agent__init_buffer |
Definition at line 17 of file agent_lexer.cc.
#define YY_INPUT | ( | buf, | |
result, | |||
max_size | |||
) |
Definition at line 1775 of file agent_lexer.cc.
#define YY_INT_ALIGNED short int |
Definition at line 5 of file agent_lexer.cc.
#define YY_LESS_LINENO | ( | n | ) |
Definition at line 469 of file agent_lexer.cc.
#define YY_LINENO_REWIND_TO | ( | ptr | ) |
Definition at line 470 of file agent_lexer.cc.
static void yy_load_buffer_state | ( | void | ) | agent__load_buffer_state |
Definition at line 19 of file agent_lexer.cc.
Referenced by yy_flush_buffer(), and yyrestart().
#define YY_MORE_ADJ 0 |
Definition at line 1561 of file agent_lexer.cc.
#define yy_new_buffer yy_create_buffer |
Definition at line 629 of file agent_lexer.cc.
Definition at line 425 of file agent_lexer.cc.
#define YY_NO_INPUT 1 |
Definition at line 1625 of file agent_lexer.cc.
#define YY_NULL 0 |
Definition at line 394 of file agent_lexer.cc.
#define YY_NUM_RULES 71 |
Definition at line 695 of file agent_lexer.cc.
#define YY_READ_BUF_SIZE 8192 |
Definition at line 1755 of file agent_lexer.cc.
#define YY_RESTORE_YY_MORE_OFFSET |
Definition at line 1562 of file agent_lexer.cc.
#define YY_RULE_SETUP YY_USER_ACTION |
Definition at line 1871 of file agent_lexer.cc.
#define YY_SC_TO_UI | ( | c | ) | ((YY_CHAR) (c)) |
Definition at line 401 of file agent_lexer.cc.
#define yy_scan_buffer agent__scan_buffer |
Definition at line 14 of file agent_lexer.cc.
#define yy_scan_bytes agent__scan_bytes |
Definition at line 16 of file agent_lexer.cc.
#define yy_scan_string agent__scan_string |
Definition at line 15 of file agent_lexer.cc.
#define yy_set_bol | ( | at_bol | ) |
Definition at line 639 of file agent_lexer.cc.
#define yy_set_interactive | ( | is_interactive | ) |
Definition at line 630 of file agent_lexer.cc.
#define YY_SKIP_YYWRAP |
Definition at line 654 of file agent_lexer.cc.
#define YY_START (((yy_start) - 1) / 2) |
Definition at line 420 of file agent_lexer.cc.
#define YY_START_STACK_INCR 25 |
Definition at line 1820 of file agent_lexer.cc.
#define YY_STATE_BUF_SIZE ((YY_BUF_SIZE + 2) * sizeof(yy_state_type)) |
Definition at line 443 of file agent_lexer.cc.
#define YY_STATE_EOF | ( | state | ) | (YY_END_OF_BUFFER + state + 1) |
Definition at line 423 of file agent_lexer.cc.
#define YY_STRUCT_YY_BUFFER_STATE |
Definition at line 488 of file agent_lexer.cc.
#define yy_switch_to_buffer agent__switch_to_buffer |
Definition at line 20 of file agent_lexer.cc.
#define YY_TYPEDEF_YY_BUFFER_STATE |
Definition at line 446 of file agent_lexer.cc.
#define YY_TYPEDEF_YY_SIZE_T |
Definition at line 451 of file agent_lexer.cc.
#define YY_USER_ACTION driver.loc_.columns(yyleng); |
Definition at line 1635 of file agent_lexer.cc.
#define yyalloc agent_alloc |
Definition at line 33 of file agent_lexer.cc.
#define yyconst const |
Definition at line 384 of file agent_lexer.cc.
static void yyensure_buffer_stack | ( | void | ) | agent_ensure_buffer_stack |
Definition at line 23 of file agent_lexer.cc.
Referenced by yy_switch_to_buffer(), yypush_buffer_state(), and yyrestart().
#define yyfree agent_free |
Definition at line 35 of file agent_lexer.cc.
int yyget_debug | ( | void | ) | agent_get_debug |
Definition at line 158 of file agent_lexer.cc.
YY_EXTRA_TYPE yyget_extra agent_get_extra |
Definition at line 170 of file agent_lexer.cc.
FILE * yyget_in | ( | void | ) | agent_get_in |
Get the input stream.
Definition at line 182 of file agent_lexer.cc.
yy_size_t yyget_leng | ( | void | ) | agent_get_leng |
Get the length of the current token.
Definition at line 206 of file agent_lexer.cc.
int yyget_lineno | ( | void | ) | agent_get_lineno |
Get the current line number.
Definition at line 218 of file agent_lexer.cc.
FILE * yyget_out | ( | void | ) | agent_get_out |
Get the output stream.
Definition at line 194 of file agent_lexer.cc.
char * yyget_text | ( | void | ) | agent_get_text |
Get the current token.
Definition at line 212 of file agent_lexer.cc.
FILE * yyin agent_in |
Definition at line 25 of file agent_lexer.cc.
Referenced by yyrestart(), and yyset_in().
yy_size_t yyleng agent_leng |
Definition at line 26 of file agent_lexer.cc.
#define yyless | ( | n | ) |
Definition at line 3827 of file agent_lexer.cc.
#define yyless | ( | n | ) |
Definition at line 3827 of file agent_lexer.cc.
int yylex agent_lex |
Definition at line 27 of file agent_lexer.cc.
int yylex_destroy | ( | void | ) | agent_lex_destroy |
Definition at line 152 of file agent_lexer.cc.
#define yylex_init agent_lex_init |
Definition at line 140 of file agent_lexer.cc.
#define yylex_init_extra agent_lex_init_extra |
Definition at line 146 of file agent_lexer.cc.
int yylineno agent_lineno |
Definition at line 28 of file agent_lexer.cc.
Referenced by yyset_lineno().
#define yymore | ( | ) | yymore_used_but_not_detected |
Definition at line 1560 of file agent_lexer.cc.
#define yynoreturn |
Definition at line 389 of file agent_lexer.cc.
FILE * yyout agent_out |
Definition at line 29 of file agent_lexer.cc.
Referenced by yyset_out().
void yypop_buffer_state | ( | void | ) | agent_pop_buffer_state |
Removes and deletes the top of the stack, if present.
The next element becomes the new top.
Definition at line 22 of file agent_lexer.cc.
#define yypush_buffer_state agent_push_buffer_state |
Definition at line 21 of file agent_lexer.cc.
#define yyrealloc agent_realloc |
Definition at line 34 of file agent_lexer.cc.
#define yyrestart agent_restart |
Definition at line 30 of file agent_lexer.cc.
#define yyset_debug agent_set_debug |
Definition at line 164 of file agent_lexer.cc.
#define yyset_extra agent_set_extra |
Definition at line 176 of file agent_lexer.cc.
#define yyset_in agent_set_in |
Definition at line 188 of file agent_lexer.cc.
#define yyset_lineno agent_set_lineno |
Definition at line 224 of file agent_lexer.cc.
#define yyset_out agent_set_out |
Definition at line 200 of file agent_lexer.cc.
#define YYSTATE YY_START |
Definition at line 421 of file agent_lexer.cc.
#define YYTABLES_NAME "yytables" |
Definition at line 4041 of file agent_lexer.cc.
#define yyterminate | ( | ) | return YY_NULL |
Definition at line 1815 of file agent_lexer.cc.
char * yytext agent_text |
Definition at line 31 of file agent_lexer.cc.
#define yytext_ptr yytext |
Definition at line 670 of file agent_lexer.cc.
#define yywrap agent_wrap |
Definition at line 1594 of file agent_lexer.cc.
#define yywrap | ( | ) | 1 |
Definition at line 1594 of file agent_lexer.cc.
typedef short int flex_int16_t |
Definition at line 334 of file agent_lexer.cc.
typedef int flex_int32_t |
Definition at line 335 of file agent_lexer.cc.
typedef signed char flex_int8_t |
Definition at line 333 of file agent_lexer.cc.
typedef unsigned short int flex_uint16_t |
Definition at line 337 of file agent_lexer.cc.
typedef unsigned int flex_uint32_t |
Definition at line 338 of file agent_lexer.cc.
typedef unsigned char flex_uint8_t |
Definition at line 336 of file agent_lexer.cc.
typedef struct yy_buffer_state* YY_BUFFER_STATE |
Definition at line 447 of file agent_lexer.cc.
typedef flex_uint8_t YY_CHAR |
Definition at line 657 of file agent_lexer.cc.
typedef size_t yy_size_t |
Definition at line 452 of file agent_lexer.cc.
typedef int yy_state_type |
Definition at line 661 of file agent_lexer.cc.
if | ( | ! | yy_init | ) |
Definition at line 1883 of file agent_lexer.cc.
Referenced by isc::ha::HAService::asyncSendLeaseUpdate().
if | ( | start_token_flag | ) |
Definition at line 1937 of file agent_lexer.cc.
References isc::agent::AgentParser::make_START_AGENT(), isc::agent::AgentParser::make_START_JSON(), and isc::agent::AgentParser::make_START_SUB_AGENT().
while | ( | 1 | ) |
Definition at line 1953 of file agent_lexer.cc.
References yy_cp.
YY_BUFFER_STATE yy_create_buffer | ( | FILE * | file, |
int | size | ||
) |
Allocate and initialize an input buffer state.
file | A readable stream. |
size | The character buffer size in bytes. When in doubt, use YY_BUF_SIZE . |
Definition at line 3477 of file agent_lexer.cc.
References yy_buffer_state::yy_buf_size, yy_buffer_state::yy_ch_buf, YY_FATAL_ERROR, yy_init_buffer, yy_buffer_state::yy_is_our_buffer, and yyalloc.
void yy_delete_buffer | ( | YY_BUFFER_STATE | b | ) |
Destroy the buffer.
b | a buffer created with yy_create_buffer() |
Definition at line 3512 of file agent_lexer.cc.
References yy_buffer_state::yy_ch_buf, YY_CURRENT_BUFFER, YY_CURRENT_BUFFER_LVALUE, yy_buffer_state::yy_is_our_buffer, and yyfree.
void yy_flush_buffer | ( | YY_BUFFER_STATE | b | ) |
Discard all buffered characters.
On the next scan, YY_INPUT will be called.
b | the buffer state to be flushed, usually YY_CURRENT_BUFFER . |
Definition at line 3576 of file agent_lexer.cc.
References yy_buffer_state::yy_at_bol, yy_buffer_state::yy_buf_pos, YY_BUFFER_NEW, yy_buffer_state::yy_buffer_status, yy_buffer_state::yy_ch_buf, YY_CURRENT_BUFFER, YY_END_OF_BUFFER_CHAR, yy_load_buffer_state, and yy_buffer_state::yy_n_chars.
YY_BUFFER_STATE yy_scan_buffer | ( | char * | base, |
yy_size_t | size | ||
) |
Setup the input buffer state to scan directly from a user-specified character buffer.
base | the character buffer |
size | the size in bytes of the character buffer |
Definition at line 3725 of file agent_lexer.cc.
References yy_buffer_state::yy_at_bol, yy_buffer_state::yy_buf_pos, yy_buffer_state::yy_buf_size, YY_BUFFER_NEW, yy_buffer_state::yy_buffer_status, yy_buffer_state::yy_ch_buf, YY_END_OF_BUFFER_CHAR, YY_FATAL_ERROR, yy_buffer_state::yy_fill_buffer, yy_buffer_state::yy_input_file, yy_buffer_state::yy_is_interactive, yy_buffer_state::yy_is_our_buffer, yy_buffer_state::yy_n_chars, yy_switch_to_buffer, and yyalloc.
YY_BUFFER_STATE yy_scan_bytes | ( | const char * | yybytes, |
yy_size_t | _yybytes_len | ||
) |
Setup the input buffer state to scan the given bytes.
The next call to yylex() will scan from a copy of bytes.
yybytes | the byte buffer to scan |
_yybytes_len | the number of bytes in the buffer pointed to by bytes. |
Definition at line 3779 of file agent_lexer.cc.
References YY_END_OF_BUFFER_CHAR, YY_FATAL_ERROR, yy_buffer_state::yy_is_our_buffer, yy_scan_buffer, and yyalloc.
YY_BUFFER_STATE yy_scan_string | ( | const char * | yystr | ) |
Setup the input buffer state to scan a string.
The next call to yylex() will scan from a copy of str.
yystr | a NUL-terminated string to scan |
Definition at line 3764 of file agent_lexer.cc.
References yy_scan_bytes.
void yy_switch_to_buffer | ( | YY_BUFFER_STATE | new_buffer | ) |
Switch to a different input buffer.
new_buffer | The new input buffer. |
Definition at line 3420 of file agent_lexer.cc.
References YY_CURRENT_BUFFER, and yyensure_buffer_stack.
void * yyalloc | ( | yy_size_t | size | ) |
Definition at line 4016 of file agent_lexer.cc.
void yyfree | ( | void * | ptr | ) |
Definition at line 4034 of file agent_lexer.cc.
void yypush_buffer_state | ( | YY_BUFFER_STATE | new_buffer | ) |
Pushes the new state onto the stack.
The new state becomes the current state. This function will allocate the stack if necessary.
new_buffer | The new state. |
Definition at line 3610 of file agent_lexer.cc.
References YY_CURRENT_BUFFER, and yyensure_buffer_stack.
void * yyrealloc | ( | void * | ptr, |
yy_size_t | size | ||
) |
Definition at line 4021 of file agent_lexer.cc.
void yyrestart | ( | FILE * | input_file | ) |
Immediately switch to a different input stream.
input_file | A readable stream. |
INITIAL
. Definition at line 3396 of file agent_lexer.cc.
References YY_BUF_SIZE, yy_create_buffer, YY_CURRENT_BUFFER, YY_CURRENT_BUFFER_LVALUE, yy_init_buffer, yy_load_buffer_state, yyensure_buffer_stack, and yyin.
void yyset_debug | ( | int | debug_flag | ) |
Definition at line 3923 of file agent_lexer.cc.
References yy_flex_debug.
void yyset_extra | ( | YY_EXTRA_TYPE | user_defined | ) |
void yyset_in | ( | FILE * | _in_str | ) |
Set the input stream.
This does not discard the current input buffer.
_in_str | A readable stream. |
Definition at line 3908 of file agent_lexer.cc.
References yyin.
void yyset_lineno | ( | int | _line_number | ) |
Set the current line number.
_line_number | line number |
Definition at line 3896 of file agent_lexer.cc.
References yylineno.
void yyset_out | ( | FILE * | _out_str | ) |
Definition at line 3913 of file agent_lexer.cc.
References yyout.
int yy_act |
Definition at line 1881 of file agent_lexer.cc.
char * yy_bp |
Definition at line 1880 of file agent_lexer.cc.
char* yy_cp |
Definition at line 1880 of file agent_lexer.cc.
Referenced by while().
YY_DECL |
The main scanner function which does all the work.
Definition at line 1877 of file agent_lexer.cc.
int yy_flex_debug = 1 |
Definition at line 1543 of file agent_lexer.cc.
FILE* yyin = NULL |
Definition at line 659 of file agent_lexer.cc.
yy_size_t yyleng |
Definition at line 591 of file agent_lexer.cc.
int yylineno = 1 |
Definition at line 664 of file agent_lexer.cc.
FILE * yyout = NULL |
Definition at line 461 of file agent_lexer.cc.
char* yytext |
Definition at line 1563 of file agent_lexer.cc.