summaryrefslogtreecommitdiff
path: root/client/client.h
AgeCommit message (Collapse)Author
2013-04-23Restructures birdc and birdcl to merge duplicated code.Ondrej Zajicek
The BIRD client code is restructured that most of the code (including main function) is shared in client.c, while birdc.c and birdcl.c contain just I/O-specific callbacks. This removes all duplicated code from variant-specific files.
2013-04-19Removes unnecessary client subdirectories and updates buildsystem.Ondrej Zajicek
Renames some files: birdc/client.c -> birdc.c birdcl/client.c -> birdcl.c client_common.c -> common.c
2013-03-19Add lightweight client - birdclTomas Hlavacek
Restructure client/ subdir. Add two different flavors of client. The full featured birdc client code is in client/birdc/. The new light client birtcl is in client/birdcl/. Common sources of both clients are directly in client/. Rework on-line auto-completion in client/command.c to conditionally turn off ncurses-specific code. Add lightweight client without libreadline and ncurses dependencies - birdcl. The birdcl lacks support of history, on-line auto-completion and there are different implementations of "more" functionality and help on '?' press. New client operates in canonical terminal mode (apart from "more" display) and therefore all commands have to be executed by a return key including help commands (called by '?' character in the end of the line). Apart from these limitations the interaction style should be the same as for the full client - birdc. Build of birdcl is always on (independent on --enable-client parameter).
2013-03-19Pull out independent routines from client_full.cTomas Hlavacek
Pull out routines for interacting with the server and interpreting internal commands which are not dependent on libreadline and ncurses libraries. This is a preparation step for a new lightweight birdc client.
2000-02-27Support expansion of command abbreviations.Martin Mares
Client considered finished (modulo bugs).
2000-02-17Completion works. Unfortunately, we have to access a couple of internalMartin Mares
symbols of libreadline :-(
2000-02-17Client: Online help works (Cisco style: just press `?' at the end of a line).Martin Mares
2000-02-15First usable version of the client. No command completion and similar niftyMartin Mares
features yet, but it works.
2000-01-19Put client on a stony ground. The whole client is going to be system-specificMartin Mares
(the current version UNIX-specific) anyway, so it's useless to try splitting it to sysdep and generic part. Instead of this, configure script decides (based on system type and user's wish) what (if any) client should be built and what autoconfiguration it requires. Also, the client provides its own die/bug/... functions.
1999-10-29Added skeleton of the client. Does nothing, but at least compiles.Martin Mares