![]() |
TRIP Routing Daemon
TRIP (RFC 3219) Location Server Implementation
|
Command parser. More...


Go to the source code of this file.
Data Structures | |
| struct | parser_state_t |
| Parser state. More... | |
| struct | parser_t |
| Parser object. More... | |
Enumerations | |
| enum | cmd_context_t { CTX_ROOT , CTX_CONFIG , CTX_PREFIXLIST , CTX_TRIP } |
| Command context structure. More... | |
Functions | |
| char * | strip (char *s) |
| Skip white characters. | |
| parser_t * | parser_init (FILE *outf) |
| Initialize parser state and output file. | |
| int | parser_parse_cmd (parser_t *parser, char *cmd) |
| Parse single command. | |
| int | parser_parse_file (parser_t *parser, FILE *f) |
| Parse file. | |
Command parser.
| enum cmd_context_t |