#include <cfg_parser.h>
Data Fields | |
| char | buf [MAX_TOKEN_LEN] |
| int | type |
| Token type. | |
| str | val |
| Token value. | |
| struct { | |
| int line | |
| The starting/ending line of the token. | |
| int col | |
| The starting/ending column of the token. | |
| } | start |
| struct { | |
| int line | |
| The starting/ending line of the token. | |
| int col | |
| The starting/ending column of the token. | |
| } | end |
Definition at line 95 of file cfg_parser.h.
|
|
Definition at line 96 of file cfg_parser.h. Referenced by cfg_get_token(). |
|
|
The starting/ending column of the token.
Definition at line 101 of file cfg_parser.h. Referenced by cfg_eat_eol(), cfg_eat_equal(), cfg_parse(), cfg_parse_bool(), cfg_parse_enum(), cfg_parse_int(), cfg_parse_section(), cfg_parse_str(), parse_domain(), parse_field_map(), parse_hostport(), parse_ipv4(), parse_ipv6(), parse_section(), and print_token(). |
|
|
Referenced by print_token(). |
|
|
The starting/ending line of the token.
Definition at line 100 of file cfg_parser.h. Referenced by cfg_eat_eol(), cfg_eat_equal(), cfg_parse(), cfg_parse_bool(), cfg_parse_enum(), cfg_parse_int(), cfg_parse_section(), cfg_parse_str(), parse_domain(), parse_field_map(), parse_hostport(), parse_ipv4(), parse_ipv6(), parse_section(), and print_token(). |
|
|
|
Token type.
Definition at line 97 of file cfg_parser.h. Referenced by cfg_eat_eol(), cfg_eat_equal(), cfg_parse(), cfg_parse_addr_port(), cfg_parse_bool(), cfg_parse_dummy(), cfg_parse_enum(), cfg_parse_int(), cfg_parse_section(), cfg_parse_str(), parse_domain(), parse_field_map(), parse_hostport(), parse_ipv4(), parse_ipv6(), parse_section(), parse_switchboard_section(), and print_token(). |
|
|
Token value.
Definition at line 98 of file cfg_parser.h. Referenced by cfg_get_token(), cfg_parse(), cfg_parse_addr_port(), cfg_parse_bool(), cfg_parse_enum(), cfg_parse_int(), cfg_parse_str(), parse_domain(), parse_field_map(), parse_hostport(), parse_ipv4(), parse_ipv6(), parse_section(), parse_switchboard_section(), and print_token(). |
1.3.9.1