History | View | Annotate | Download (9.13 KB)
Small correction to va_start/va_end in cli_printf (va_end was missing).
(Andreas)
Fixes for the programmer's manual.
Fixes to the progdoc.
Spelling fixes to progdoc.
Minor changes to the progdocs.
More documentation.
Tracing of CLI connections/commands can be now controlledby `debug commands <level>' in the configuration. Level 0 meansno tracing, 1 means connections only, 2 includes all commands.
Fixed a couple of nasty CLI bugs which were triggered on long or multi-partoutputs. It took a whole evening to hunt them down, but now the CLI seemsto work fine.
Now I run three BGP connections with several thousand routes!
Include "lib/string.h" instead of <string.h>. It should give us bzero()and other non-portable functions on all systems.
Enabled short continuations.
Implemented echoing of log messages to CLI connections. Just try `echo all'.
Reset temporary parser data before parsing, not afterwards. This enablesdeferred CLI command handlers to store their temporary data in the CLIparsing pool.
Remember protocol instance in proto_config and use that for`show protocols <name>'.
Don't use continuation shortcuts until real client is written.
Command line interface now works.
Parse CLI commands. We use the same parser as for configuration files (becausewe want to allow filter and similar complex constructs to be used in commandsand we should avoid code duplication), only with CLI_MARKER token prependedbefore the whole input....
The CLI I/O functions work as desired.
First steps of the Command Line Interface: I/O routines.