Kea 2.5.7 File Reference
#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>
+ Include dependency graph for

Go to the source code of this file.


struct  yy_buffer_state
struct  yy_trans_info


#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_END_OF_FILE   1
#define EOB_ACT_LAST_MATCH   2
#define FLEX_DEBUG
#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_NEW   0
#define YY_BUFFER_NORMAL   1
#define yy_create_buffer   agent__create_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_END_OF_BUFFER   72
#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_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_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_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_switch_to_buffer   agent__switch_to_buffer
#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.
#define yyget_leng(void)   agent_get_leng
 Get the length of the current token.
#define yyget_lineno(void)   agent_get_lineno
 Get the current line number.
#define yyget_out(void)   agent_get_out
 Get the output stream.
#define yyget_text(void)   agent_get_text
 Get the current token.
#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.
#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 YYTABLES_NAME   "yytables"
#define yyterminate()   return YY_NULL
#define yytext   agent_text
#define yytext_ptr   yytext
#define yywrap   agent_wrap
#define yywrap()   1


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_stateYY_BUFFER_STATE
typedef flex_uint8_t YY_CHAR
typedef size_t yy_size_t
typedef int yy_state_type


 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.
void yy_delete_buffer (YY_BUFFER_STATE b)
 Destroy the buffer.
void yy_flush_buffer (YY_BUFFER_STATE b)
 Discard all buffered characters.
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.
YY_BUFFER_STATE yy_scan_bytes (const char *yybytes, int _yybytes_len)
 Setup the input buffer state to scan the given bytes.
YY_BUFFER_STATE yy_scan_string (const char *yystr)
 Setup the input buffer state to scan a string.
void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer)
 Switch to a different input buffer.
void * yyalloc (yy_size_t)
void yyfree (void *)
void yypush_buffer_state (YY_BUFFER_STATE new_buffer)
 Pushes the new state onto the stack.
void * yyrealloc (void *, yy_size_t)
void yyrestart (FILE *input_file)
 Immediately switch to a different input stream.
void yyset_debug (int debug_flag)
void yyset_extra (YY_EXTRA_TYPE user_defined)
void yyset_in (FILE *_in_str)
 Set the input stream.
void yyset_lineno (int _line_number)
 Set the current line number.
void yyset_out (FILE *_out_str)


int yy_act
char * yy_bp
char * yy_cp
 The main scanner function which does all the work.
int yy_flex_debug = 1
FILE * yyin = NULL
int yyleng
int yylineno = 1
FILE * yyout = NULL
char * yytext

Macro Definition Documentation

◆ agent__create_buffer_ALREADY_DEFINED

#define agent__create_buffer_ALREADY_DEFINED

Definition at line 54 of file

◆ agent__delete_buffer_ALREADY_DEFINED

#define agent__delete_buffer_ALREADY_DEFINED

Definition at line 60 of file

◆ agent__flex_debug_ALREADY_DEFINED

#define agent__flex_debug_ALREADY_DEFINED

Definition at line 280 of file

◆ agent__flush_buffer_ALREADY_DEFINED

#define agent__flush_buffer_ALREADY_DEFINED

Definition at line 90 of file

◆ agent__init_buffer_ALREADY_DEFINED

#define agent__init_buffer_ALREADY_DEFINED

Definition at line 84 of file

◆ agent__load_buffer_state_ALREADY_DEFINED

#define agent__load_buffer_state_ALREADY_DEFINED

Definition at line 96 of file

◆ agent__scan_buffer_ALREADY_DEFINED

#define agent__scan_buffer_ALREADY_DEFINED

Definition at line 66 of file

◆ agent__scan_bytes_ALREADY_DEFINED

#define agent__scan_bytes_ALREADY_DEFINED

Definition at line 78 of file

◆ agent__scan_string_ALREADY_DEFINED

#define agent__scan_string_ALREADY_DEFINED

Definition at line 72 of file

◆ agent__switch_to_buffer_ALREADY_DEFINED

#define agent__switch_to_buffer_ALREADY_DEFINED

Definition at line 102 of file

◆ agent_alloc_ALREADY_DEFINED

#define agent_alloc_ALREADY_DEFINED

Definition at line 236 of file

◆ agent_ensure_buffer_stack_ALREADY_DEFINED

#define agent_ensure_buffer_stack_ALREADY_DEFINED

Definition at line 120 of file

◆ agent_free_ALREADY_DEFINED

#define agent_free_ALREADY_DEFINED

Definition at line 248 of file


#define agent_in_ALREADY_DEFINED

Definition at line 268 of file

◆ agent_leng_ALREADY_DEFINED

#define agent_leng_ALREADY_DEFINED

Definition at line 262 of file


#define agent_lex_ALREADY_DEFINED

Definition at line 126 of file

◆ agent_lineno_ALREADY_DEFINED

#define agent_lineno_ALREADY_DEFINED

Definition at line 286 of file


#define agent_out_ALREADY_DEFINED

Definition at line 274 of file

◆ agent_pop_buffer_state_ALREADY_DEFINED

#define agent_pop_buffer_state_ALREADY_DEFINED

Definition at line 114 of file

◆ agent_push_buffer_state_ALREADY_DEFINED

#define agent_push_buffer_state_ALREADY_DEFINED

Definition at line 108 of file

◆ agent_realloc_ALREADY_DEFINED

#define agent_realloc_ALREADY_DEFINED

Definition at line 242 of file

◆ agent_restart_ALREADY_DEFINED

#define agent_restart_ALREADY_DEFINED

Definition at line 132 of file

◆ agent_text_ALREADY_DEFINED

#define agent_text_ALREADY_DEFINED

Definition at line 256 of file

◆ agent_wrap

#define agent_wrap ( )    (/*CONSTCOND*/1)

Definition at line 652 of file

◆ agent_wrap_ALREADY_DEFINED

#define agent_wrap_ALREADY_DEFINED

Definition at line 228 of file


#define BEGIN   (yy_start) = 1 + 2 *

Definition at line 414 of file


#define COMMENT   1

Definition at line 1639 of file


#define DIR_ENTER   2

Definition at line 1640 of file


#define DIR_EXIT   4

Definition at line 1642 of file


#define DIR_INCLUDE   3

Definition at line 1641 of file


#define ECHO   do { if (fwrite( yytext, (size_t) yyleng, 1, yyout )) {} } while (0)

Definition at line 1764 of file



Definition at line 464 of file


#define EOB_ACT_END_OF_FILE   1

Definition at line 465 of file


#define EOB_ACT_LAST_MATCH   2

Definition at line 466 of file


#define FLEX_DEBUG

Definition at line 655 of file



Definition at line 41 of file


#define FLEXINT_H

Definition at line 311 of file


#define INITIAL   0

Definition at line 1638 of file


#define INT16_MAX   (32767)

Definition at line 353 of file


#define INT16_MIN   (-32767-1)

Definition at line 344 of file


#define INT32_MAX   (2147483647)

Definition at line 356 of file


#define INT32_MIN   (-2147483647-1)

Definition at line 347 of file


#define INT8_MAX   (127)

Definition at line 350 of file


#define INT8_MIN   (-128)

Definition at line 341 of file


#define REJECT   reject_used_but_not_detected

Definition at line 1558 of file


#define SIZE_MAX   (~(size_t)0)

Definition at line 369 of file


#define UINT16_MAX   (65535U)

Definition at line 362 of file


#define UINT32_MAX   (4294967295U)

Definition at line 365 of file


#define UINT8_MAX   (255U)

Definition at line 359 of file

◆ unput

#define unput (   c)    yyunput( c, (yytext_ptr) )

Definition at line 484 of file


#define YY_AT_BOL ( )    (YY_CURRENT_BUFFER_LVALUE->yy_at_bol)

Definition at line 647 of file


#define YY_BREAK   /*LINTED*/break;

Definition at line 1866 of file


#define YY_BUF_SIZE   16384

Definition at line 436 of file



Definition at line 551 of file


#define YY_BUFFER_NEW   0

Definition at line 539 of file


#define YY_BUFFER_NORMAL   1

Definition at line 540 of file

◆ yy_create_buffer

#define yy_create_buffer   agent__create_buffer

Definition at line 12 of file


( (yy_buffer_stack) \
? (yy_buffer_stack)[(yy_buffer_stack_top)] \

Definition at line 575 of file


#define YY_CURRENT_BUFFER_LVALUE   (yy_buffer_stack)[(yy_buffer_stack_top)]

Definition at line 581 of file


#define YY_DECL   int yylex (void)

Definition at line 1851 of file


#define YY_DECL_IS_OURS   1

Definition at line 1846 of file

◆ yy_delete_buffer

#define yy_delete_buffer   agent__delete_buffer

Definition at line 13 of file


/* %% [2.0] code to fiddle yytext and yyleng for yymore() goes here \ */\
yyleng = (int) (yy_cp - yy_bp); \
(yy_hold_char) = *yy_cp; \
*yy_cp = '\0'; \
/* %% [3.0] code to copy yytext_ptr to yytext[] goes here, if %array \ */\
(yy_c_buf_p) = yy_cp;
#define yyleng
char * yy_cp
#define yytext_ptr
char * yy_bp

Definition at line 685 of file


#define YY_END_OF_BUFFER   72

Definition at line 695 of file



Definition at line 425 of file


#define YY_EXIT_FAILURE   2

Definition at line 3810 of file


#define YY_EXTRA_TYPE   void *

Definition at line 1657 of file


#define YY_FATAL_ERROR (   msg)    isc::agent::ParserContext::fatal(msg)

Definition at line 1608 of file

◆ yy_flex_debug



Definition at line 42 of file



Definition at line 43 of file



Definition at line 44 of file

◆ yy_flush_buffer

#define yy_flush_buffer   agent__flush_buffer

Definition at line 18 of file


#define YY_FLUSH_BUFFER   yy_flush_buffer( YY_CURRENT_BUFFER )

Definition at line 616 of file

◆ yy_init_buffer

#define yy_init_buffer   agent__init_buffer

Definition at line 17 of file


#define YY_INPUT (   buf,

Definition at line 1774 of file


#define YY_INT_ALIGNED   short int

Definition at line 5 of file


#define YY_LESS_LINENO (   n)

Definition at line 468 of file


#define YY_LINENO_REWIND_TO (   ptr)

Definition at line 469 of file

◆ yy_load_buffer_state

static void yy_load_buffer_state (   void)    agent__load_buffer_state


#define YY_MORE_ADJ   0

Definition at line 1560 of file

◆ yy_new_buffer

#define yy_new_buffer   yy_create_buffer

Definition at line 628 of file


#define YY_NEW_FILE   yyrestart( yyin )

Definition at line 424 of file


#define YY_NO_INPUT   1

Definition at line 1624 of file


#define YY_NULL   0

Definition at line 393 of file


#define YY_NUM_RULES   71

Definition at line 694 of file


#define YY_READ_BUF_SIZE   8192

Definition at line 1754 of file



Definition at line 1561 of file



Definition at line 1870 of file


#define YY_SC_TO_UI (   c)    ((YY_CHAR) (c))

Definition at line 400 of file

◆ yy_scan_buffer

#define yy_scan_buffer   agent__scan_buffer

Definition at line 14 of file

◆ yy_scan_bytes

#define yy_scan_bytes   agent__scan_bytes

Definition at line 16 of file

◆ yy_scan_string

#define yy_scan_string   agent__scan_string

Definition at line 15 of file

◆ yy_set_bol

#define yy_set_bol (   at_bol)
{ \
yyensure_buffer_stack (); \
yy_create_buffer( yyin, YY_BUF_SIZE ); \
} \
YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \
#define yyin
#define YY_BUF_SIZE

Definition at line 638 of file

◆ yy_set_interactive

#define yy_set_interactive (   is_interactive)
{ \
yyensure_buffer_stack (); \
yy_create_buffer( yyin, YY_BUF_SIZE ); \
} \
YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \

Definition at line 629 of file



Definition at line 653 of file


#define YY_START   (((yy_start) - 1) / 2)

Definition at line 419 of file


#define YY_START_STACK_INCR   25

Definition at line 1819 of file


#define YY_STATE_BUF_SIZE   ((YY_BUF_SIZE + 2) * sizeof(yy_state_type))

Definition at line 442 of file


#define YY_STATE_EOF (   state)    (YY_END_OF_BUFFER + state + 1)

Definition at line 422 of file



Definition at line 487 of file

◆ yy_switch_to_buffer

#define yy_switch_to_buffer   agent__switch_to_buffer

Definition at line 20 of file



Definition at line 445 of file



Definition at line 450 of file


#define YY_USER_ACTION   driver.loc_.columns(yyleng);

Definition at line 1634 of file

◆ yyalloc

#define yyalloc   agent_alloc

Definition at line 33 of file

◆ yyconst

#define yyconst   const

Definition at line 383 of file

◆ yyensure_buffer_stack

static void yyensure_buffer_stack (   void)    agent_ensure_buffer_stack

Definition at line 23 of file

Referenced by if(), yy_switch_to_buffer(), yypush_buffer_state(), and yyrestart().

◆ yyfree

#define yyfree   agent_free

Definition at line 35 of file

◆ yyget_debug

int yyget_debug (   void)    agent_get_debug

Definition at line 158 of file

◆ yyget_extra

YY_EXTRA_TYPE yyget_extra   agent_get_extra

Definition at line 170 of file

◆ yyget_in

FILE * yyget_in (   void)    agent_get_in

Get the input stream.

Definition at line 182 of file

◆ yyget_leng

int yyget_leng (   void)    agent_get_leng

Get the length of the current token.

Definition at line 206 of file

◆ yyget_lineno

int yyget_lineno (   void)    agent_get_lineno

Get the current line number.

Definition at line 218 of file

◆ yyget_out

FILE * yyget_out (   void)    agent_get_out

Get the output stream.

Definition at line 194 of file

◆ yyget_text

char * yyget_text (   void)    agent_get_text

Get the current token.

Definition at line 212 of file

◆ yyin

FILE * yyin   agent_in

Definition at line 25 of file

Referenced by if(), while(), yyrestart(), and yyset_in().

◆ yyleng

int yyleng   agent_leng

Definition at line 26 of file

Referenced by while().

◆ yyless [1/2]

#define yyless (   n)
do \
{ \
/* Undo effects of setting up yytext. */ \
int yyless_macro_arg = (n); \
*yy_cp = (yy_hold_char); \
(yy_c_buf_p) = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \
YY_DO_BEFORE_ACTION; /* set up yytext again */ \
} \
while ( 0 )
#define YY_MORE_ADJ

Definition at line 3826 of file

◆ yyless [2/2]

#define yyless (   n)
do \
{ \
/* Undo effects of setting up yytext. */ \
int yyless_macro_arg = (n); \
yytext[yyleng] = (yy_hold_char); \
(yy_c_buf_p) = yytext + yyless_macro_arg; \
(yy_hold_char) = *(yy_c_buf_p); \
*(yy_c_buf_p) = '\0'; \
yyleng = yyless_macro_arg; \
} \
while ( 0 )
#define yytext

Definition at line 3826 of file

◆ yylex

◆ yylex_destroy

int yylex_destroy (   void)    agent_lex_destroy

Definition at line 152 of file

◆ yylex_init

#define yylex_init   agent_lex_init

Definition at line 140 of file

◆ yylex_init_extra

#define yylex_init_extra   agent_lex_init_extra

Definition at line 146 of file

◆ yylineno

int yylineno   agent_lineno

Definition at line 28 of file

Referenced by yyset_lineno().

◆ yymore

#define yymore ( )    yymore_used_but_not_detected

Definition at line 1559 of file

◆ yynoreturn

#define yynoreturn

Definition at line 388 of file

◆ yyout

FILE * yyout   agent_out

Definition at line 29 of file

Referenced by if(), and yyset_out().

◆ yypop_buffer_state

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

◆ yypush_buffer_state

#define yypush_buffer_state   agent_push_buffer_state

Definition at line 21 of file

◆ yyrealloc

#define yyrealloc   agent_realloc

Definition at line 34 of file

◆ yyrestart

#define yyrestart   agent_restart

Definition at line 30 of file

◆ yyset_debug

#define yyset_debug   agent_set_debug

Definition at line 164 of file

◆ yyset_extra

#define yyset_extra   agent_set_extra

Definition at line 176 of file

◆ yyset_in

#define yyset_in   agent_set_in

Definition at line 188 of file

◆ yyset_lineno

#define yyset_lineno   agent_set_lineno

Definition at line 224 of file

◆ yyset_out

#define yyset_out   agent_set_out

Definition at line 200 of file



Definition at line 420 of file


#define YYTABLES_NAME   "yytables"

Definition at line 4040 of file

◆ yyterminate

#define yyterminate ( )    return YY_NULL

Definition at line 1814 of file

◆ yytext

char * yytext   agent_text

Definition at line 31 of file

Referenced by while().

◆ yytext_ptr

#define yytext_ptr   yytext

Definition at line 669 of file

◆ yywrap [1/2]

#define yywrap   agent_wrap

Definition at line 1593 of file

◆ yywrap [2/2]

#define yywrap ( )    1

Definition at line 1593 of file

Typedef Documentation

◆ flex_int16_t

typedef short int flex_int16_t

Definition at line 333 of file

◆ flex_int32_t

typedef int flex_int32_t

Definition at line 334 of file

◆ flex_int8_t

typedef signed char flex_int8_t

Definition at line 332 of file

◆ flex_uint16_t

typedef unsigned short int flex_uint16_t

Definition at line 336 of file

◆ flex_uint32_t

typedef unsigned int flex_uint32_t

Definition at line 337 of file

◆ flex_uint8_t

typedef unsigned char flex_uint8_t

Definition at line 335 of file


Definition at line 446 of file


Definition at line 656 of file

◆ yy_size_t

typedef size_t yy_size_t

Definition at line 451 of file

◆ yy_state_type

typedef int yy_state_type

Definition at line 660 of file

Function Documentation

◆ if() [1/2]

◆ if() [2/2]

◆ while()

while ( )

Definition at line 1952 of file

References isc::agent::ParserContext::AGENT, isc::agent::ParserContext::AUTH_TYPE, isc::agent::ParserContext::AUTHENTICATION, BEGIN, isc::agent::ParserContext::CLIENTS, COMMENT, isc::agent::ParserContext::CONFIG, isc::agent::ParserContext::CONTROL_SOCKETS, DIR_ENTER, DIR_EXIT, DIR_INCLUDE, ECHO, EOB_ACT_CONTINUE_SCAN, EOB_ACT_END_OF_FILE, EOB_ACT_LAST_MATCH, isc::agent::ParserContext::HOOKS_LIBRARIES, INITIAL, isc_throw, isc::agent::ParserContext::LOGGERS, isc::agent::AgentParser::make_AUTHENTICATION(), isc::agent::AgentParser::make_BASIC(), isc::agent::AgentParser::make_BOOLEAN(), isc::agent::AgentParser::make_CERT_FILE(), isc::agent::AgentParser::make_CERT_REQUIRED(), isc::agent::AgentParser::make_CLIENTS(), isc::agent::AgentParser::make_COLON(), isc::agent::AgentParser::make_COMMA(), isc::agent::AgentParser::make_COMMENT(), isc::agent::AgentParser::make_CONTROL_AGENT(), isc::agent::AgentParser::make_CONTROL_SOCKETS(), isc::agent::AgentParser::make_D2_SERVER(), isc::agent::AgentParser::make_DEBUGLEVEL(), isc::agent::AgentParser::make_DHCP4_SERVER(), isc::agent::AgentParser::make_DHCP6_SERVER(), isc::agent::AgentParser::make_DIRECTORY(), isc::agent::AgentParser::make_END(), isc::agent::AgentParser::make_FLOAT(), isc::agent::AgentParser::make_FLUSH(), isc::agent::AgentParser::make_HOOKS_LIBRARIES(), isc::agent::AgentParser::make_HTTP_HOST(), isc::agent::AgentParser::make_HTTP_PORT(), isc::agent::AgentParser::make_INTEGER(), isc::agent::AgentParser::make_KEY_FILE(), isc::agent::AgentParser::make_LCURLY_BRACKET(), isc::agent::AgentParser::make_LIBRARY(), isc::agent::AgentParser::make_LOGGERS(), isc::agent::AgentParser::make_LSQUARE_BRACKET(), isc::agent::AgentParser::make_MAXSIZE(), isc::agent::AgentParser::make_MAXVER(), isc::agent::AgentParser::make_NAME(), isc::agent::AgentParser::make_NULL_TYPE(), isc::agent::AgentParser::make_OUTPUT(), isc::agent::AgentParser::make_OUTPUT_OPTIONS(), isc::agent::AgentParser::make_PARAMETERS(), isc::agent::AgentParser::make_PASSWORD(), isc::agent::AgentParser::make_PASSWORD_FILE(), isc::agent::AgentParser::make_PATTERN(), isc::agent::AgentParser::make_RCURLY_BRACKET(), isc::agent::AgentParser::make_REALM(), isc::agent::AgentParser::make_RSQUARE_BRACKET(), isc::agent::AgentParser::make_SEVERITY(), isc::agent::AgentParser::make_SOCKET_NAME(), isc::agent::AgentParser::make_SOCKET_TYPE(), isc::agent::AgentParser::make_STRING(), isc::agent::AgentParser::make_TRUST_ANCHOR(), isc::agent::AgentParser::make_TYPE(), isc::agent::AgentParser::make_UNIX(), isc::agent::AgentParser::make_USER(), isc::agent::AgentParser::make_USER_CONTEXT(), isc::agent::AgentParser::make_USER_FILE(), isc::agent::ParserContext::OUTPUT_OPTIONS, isc::agent::ParserContext::SERVER, isc::agent::ParserContext::SOCKET_TYPE, yy_act, yy_bp, YY_BREAK, YY_BUFFER_NEW, YY_BUFFER_NORMAL, yy_cp, YY_CURRENT_BUFFER, YY_CURRENT_BUFFER_LVALUE, YY_DO_BEFORE_ACTION, YY_END_OF_BUFFER, YY_FATAL_ERROR, yy_flex_debug, YY_MORE_ADJ, YY_NEW_FILE, YY_RESTORE_YY_MORE_OFFSET, YY_RULE_SETUP, YY_SC_TO_UI, YY_START, YY_STATE_EOF, yyin, yyleng, yytext, yytext_ptr, and yywrap.

+ Here is the call graph for this function:

◆ yy_create_buffer()

YY_BUFFER_STATE yy_create_buffer ( FILE *  file,
int  size 

Allocate and initialize an input buffer state.

fileA readable stream.
sizeThe character buffer size in bytes. When in doubt, use YY_BUF_SIZE.
the allocated buffer state.

Definition at line 3476 of file

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.

◆ yy_delete_buffer()

void yy_delete_buffer ( YY_BUFFER_STATE  b)

Destroy the buffer.

ba buffer created with yy_create_buffer()

Definition at line 3511 of file

References yy_buffer_state::yy_ch_buf, YY_CURRENT_BUFFER, YY_CURRENT_BUFFER_LVALUE, yy_buffer_state::yy_is_our_buffer, and yyfree.

◆ yy_flush_buffer()

void yy_flush_buffer ( YY_BUFFER_STATE  b)

Discard all buffered characters.

On the next scan, YY_INPUT will be called.

bthe buffer state to be flushed, usually YY_CURRENT_BUFFER.

Definition at line 3575 of file

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_scan_buffer()

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.

basethe character buffer
sizethe size in bytes of the character buffer
the newly allocated buffer state object.

Definition at line 3724 of file

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_scan_bytes()

YY_BUFFER_STATE yy_scan_bytes ( const char *  yybytes,
int  _yybytes_len 

Setup the input buffer state to scan the given bytes.

The next call to yylex() will scan from a copy of bytes.

yybytesthe byte buffer to scan
_yybytes_lenthe number of bytes in the buffer pointed to by bytes.
the newly allocated buffer state object.

Definition at line 3778 of file

References YY_END_OF_BUFFER_CHAR, YY_FATAL_ERROR, yy_buffer_state::yy_is_our_buffer, yy_scan_buffer, and yyalloc.

◆ yy_scan_string()

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.

yystra NUL-terminated string to scan
the newly allocated buffer state object.
If you want to scan bytes that may contain NUL values, then use yy_scan_bytes() instead.

Definition at line 3763 of file

References yy_scan_bytes.

◆ yy_switch_to_buffer()

void yy_switch_to_buffer ( YY_BUFFER_STATE  new_buffer)

Switch to a different input buffer.

new_bufferThe new input buffer.

Definition at line 3419 of file

References YY_CURRENT_BUFFER, YY_CURRENT_BUFFER_LVALUE, yy_load_buffer_state, and yyensure_buffer_stack.

◆ yyalloc()

void * yyalloc ( yy_size_t  size)

Definition at line 4015 of file

◆ yyfree()

void yyfree ( void *  ptr)

Definition at line 4033 of file

◆ yypush_buffer_state()

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_bufferThe new state.

Definition at line 3609 of file

References YY_CURRENT_BUFFER, YY_CURRENT_BUFFER_LVALUE, yy_load_buffer_state, and yyensure_buffer_stack.

◆ yyrealloc()

void * yyrealloc ( void *  ptr,
yy_size_t  size 

Definition at line 4020 of file

◆ yyrestart()

void yyrestart ( FILE *  input_file)

Immediately switch to a different input stream.

input_fileA readable stream.
This function does not reset the start condition to INITIAL .

Definition at line 3395 of file

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.

◆ yyset_debug()

void yyset_debug ( int  debug_flag)

Definition at line 3922 of file

References yy_flex_debug.

◆ yyset_extra()

void yyset_extra ( YY_EXTRA_TYPE  user_defined)

◆ yyset_in()

void yyset_in ( FILE *  _in_str)

Set the input stream.

This does not discard the current input buffer.

_in_strA readable stream.
See also

Definition at line 3907 of file

References yyin.

◆ yyset_lineno()

void yyset_lineno ( int  _line_number)

Set the current line number.

_line_numberline number

Definition at line 3895 of file

References yylineno.

◆ yyset_out()

void yyset_out ( FILE *  _out_str)

Definition at line 3912 of file

References yyout.

Variable Documentation

◆ yy_act

int yy_act

Definition at line 1880 of file

Referenced by while().

◆ yy_bp

char * yy_bp

Definition at line 1879 of file

Referenced by while().

◆ yy_cp

char* yy_cp

Definition at line 1879 of file

Referenced by while().


Initial value:
yy_state_type yy_current_state
int yy_state_type

The main scanner function which does all the work.

Definition at line 1876 of file

◆ yy_flex_debug

int yy_flex_debug = 1

Definition at line 1542 of file

◆ yyin

FILE* yyin = NULL

Definition at line 658 of file

◆ yyleng

int yyleng

Definition at line 590 of file

◆ yylineno

int yylineno = 1

Definition at line 663 of file

◆ yyout

FILE * yyout = NULL

Definition at line 460 of file

◆ yytext

char* yytext

Definition at line 1562 of file