bird/nest
Martin Mares bc2fb68098 Parse CLI commands. We use the same parser as for configuration files (because
we want to allow filter and similar complex constructs to be used in commands
and we should avoid code duplication), only with CLI_MARKER token prepended
before the whole input.

Defined macro CF_CLI(cmd, args, help) for defining CLI commands in .Y files.
The first argument specifies the command itself, the remaining two arguments
are copied to the help file (er, will be copied after the help file starts
to exist). This macro automatically creates a skeleton rule for the command,
you only need to append arguments as in:

	CF_CLI(STEAL MONEY, <$>, [[Steal <$> US dollars or equivalent in any other currency]]): NUM {
		cli_msg(0, "%d$ stolen", $3);
	} ;

Also don't forget to reset lexer state between inputs.
1999-10-31 17:47:47 +00:00
..
bird.h Perform gracious shutdown upon receipt of SIGTERM. Finally we can 1999-02-13 20:15:36 +00:00
cli.c Parse CLI commands. We use the same parser as for configuration files (because 1999-10-31 17:47:47 +00:00
cli.h Parse CLI commands. We use the same parser as for configuration files (because 1999-10-31 17:47:47 +00:00
config.Y Parse CLI commands. We use the same parser as for configuration files (because 1999-10-31 17:47:47 +00:00
iface.c Basic support for IPv6. The system-dependent part doesn't work yet, 1999-08-03 19:36:06 +00:00
iface.h Cleaned up handling of interface patterns: 1999-08-03 19:30:49 +00:00
Makefile First steps of the Command Line Interface: I/O routines. 1999-10-29 12:10:10 +00:00
password.c Obvious bugs in authentication fixed. 1999-10-02 10:44:48 +00:00
password.h Added password_strncpy() which pads destination with zeros. 1999-05-31 19:15:52 +00:00
proto.c Events now return a value. If it's non-zero, the event is re-queued 1999-10-29 12:08:49 +00:00
protocol.h Implemented a Table-to-Table protocol a.k.a The Pipe. 1999-08-03 19:34:26 +00:00
route.h Implemented a Table-to-Table protocol a.k.a The Pipe. 1999-08-03 19:34:26 +00:00
rt-attr.c Removed TOS support. This simplifies many things a lot. 1999-04-12 18:01:07 +00:00
rt-dev.c Cleaned up handling of interface patterns: 1999-08-03 19:30:49 +00:00
rt-dev.h Implemented new configuration/reconfiguration interface and defined protocol 1999-02-05 21:37:34 +00:00
rt-fib.c Oops, previous modification for passing NULL to fib_init() did not 1998-12-22 19:20:43 +00:00
rt-table.c Events now return a value. If it's non-zero, the event is re-queued 1999-10-29 12:08:49 +00:00