No description
Find a file
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
client Added skeleton of the client. Does nothing, but at least compiles. 1999-10-29 09:44:44 +00:00
conf Parse CLI commands. We use the same parser as for configuration files (because 1999-10-31 17:47:47 +00:00
doc Implemented a Table-to-Table protocol a.k.a The Pipe. 1999-08-03 19:34:26 +00:00
filter switch() { } done right. 1999-10-28 21:03:36 +00:00
lib Implemented unix-domain sockets. 1999-10-29 12:09:29 +00:00
misc Variance estimation fixed. 1998-12-19 21:53:28 +00:00
nest Parse CLI commands. We use the same parser as for configuration files (because 1999-10-31 17:47:47 +00:00
proto Minor changes and bug fixes. Preparing for Exchange and higher states. 1999-10-19 16:13:06 +00:00
sysdep The CLI I/O functions work as desired. 1999-10-31 15:43:44 +00:00
tools The CLI I/O functions work as desired. 1999-10-31 15:43:44 +00:00
.cvsignore Added bird.conf to .cvsignore and created an example configuration file. 1999-01-15 17:18:41 +00:00
aclocal.m4 Cosmetic message fix. 1999-04-12 17:27:21 +00:00
bird.conf switch() { } done right. 1999-10-28 21:03:36 +00:00
configure.in Configure PATH_CONTROL_SOCKET. 1999-10-29 10:08:09 +00:00
Makefile switch() { } done right. 1999-10-28 21:03:36 +00:00
TODO Basic support for IPv6. The system-dependent part doesn't work yet, 1999-08-03 19:36:06 +00:00