| Branch: | Revision:

iof-bird-daemon / client / client.c @ 7152e5ef

History | View | Annotate | Download (8.05 KB)

# Date Author Comment
8137fe6d 11/25/2013 01:03 AM Ondrej Zajicek

Allows shorthands for birdc noninteractive commands.

4d4979c6 11/20/2013 12:25 PM Ondrej Zajicek

Fixes some potential issues with invalid term size in clients.

a5e9f3d2 04/23/2013 12:42 AM Ondrej Zajicek

Restructures birdc and birdcl to merge duplicated code.

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...

5c2c4ea8 03/19/2013 05:03 PM Tomas Hlavacek

Rename client/client.c to client_full.c

Rename client/client.c to client-full.c and change the Makefile accordingly.
This is a preparation step for introducing a new lightweight client which
should reuse as much code as possible from the old one but it should not depend...

4c2abee7 02/12/2013 12:15 PM Ondrej Filip

Allow submitting BIRD commands from UNIX shell even in restricted mode.

064e7be5 05/03/2012 10:20 PM Ondrej Zajicek

History deduplication in birdc.

154e2aed 12/13/2010 10:17 AM Ondrej Zajicek

Fixes string handling in birdc.

e81b440f 02/21/2010 01:34 PM Ondrej Zajicek

Fix configure to enable warnings and fix most of them.

e0a45fb4 02/21/2010 08:57 AM Ondrej Zajicek

Restricted read-only CLI.

Also adds support for executing commands using birdc <cmd>.

9c46ad8e 08/12/2009 08:16 AM Ondrej Zajicek

Count number of lines (and not messages) in 'more'.

f0333f44 07/14/2009 11:47 PM Ondrej Zajicek

Implements 'more' feature to birdc.

Also does some code restructuring.

cf186034 03/14/2009 11:43 AM Ondrej Zajicek

New syntax for bgp_path

80ac7dc1 02/12/2009 12:41 PM Ondrej Zajicek

Do not use ? for client-side help when in new BGP path syntax

661ec5db 11/21/2008 12:05 PM Ondrej Zajicek

I am not sure whether this is proper fix for a problem that birdc
shows only parts of larger outputs (for example 'show route all').
It seems that birdc reads (from bird) and writes (to stdout)
everything but during execution of some readline code some already...

e0011590 11/21/2008 11:59 AM Ondrej Zajicek

birdc died during terminal resize because of unhandled EINTR
in select loop.

68fa95cf 10/26/2008 10:55 PM Ondrej Zajicek

Check of socket name length

97c6fa02 08/25/2008 12:06 PM Ondrej Filip

Previous patch reverted. :-(

030e3a79 08/25/2008 11:57 AM Ondrej Filip

Buffer overflow fix.

d7390312 06/05/2004 09:26 AM Martin Mares

Unused parameters in the client.

7deffd84 05/31/2004 08:51 PM Martin Mares

Need <termios.h> for tcdrain().

5f2a6a9f 05/31/2004 05:55 PM Martin Mares

Fix handling on full pipe to client in bird. Prevent packet overflows
for even only medium sized route table output. Fix a strange garbled
output problem in the client. The latter seems to be caused by some
library doing tcflush while there is still command output pending. So...

bd62eeca 05/31/2004 01:32 PM Ondrej Filip

Small change to compile client on FreeBSD.

59b96d7b 11/13/2002 08:45 AM Martin Mares

Don't use obsolete functions which are no longer declared in the header.

01b776e1 03/06/2001 01:40 PM Martin Mares

Fixed <time.h> vs. <sys/time.h> problems.

4daf03e5 06/16/2000 11:12 PM Martin Mares

Use our own SUN_LEN if libc doesn't provide it.

0b3bf4b1 06/09/2000 07:30 AM Martin Mares

Use SUN_LEN() for length of UNIX domain addresses. This should fix problems
with connection to clients on libc5 machines.

2983460b 05/31/2000 10:39 PM Martin Mares

Both `help' command and the `unknown command' error message now tell
the user to press `?' if he wants help.

9e85a5e6 05/29/2000 10:16 PM Martin Mares

Delay user input whereever appropriate.

d69e5ff2 05/08/2000 02:29 PM Martin Mares

Use PATH_CONTROL_SOCKET instead of tacking on "bird.ctl" manually.

221135d6 03/31/2000 11:30 PM Martin Mares

Include "lib/string.h" instead of <string.h>. It should give us bzero()
and other non-portable functions on all systems.

971b2310 03/12/2000 10:55 PM Martin Mares

Commands which failed expansions are to be stored to history, too.

3eb0b586 03/07/2000 09:04 PM Martin Mares

No longer echoes commands before sending them.

54fb7701 03/04/2000 09:26 PM Martin Mares

Fixed display of short continued messages in verbose mode.

e69e4ed9 02/27/2000 10:00 PM Martin Mares

Support expansion of command abbreviations.

Client considered finished (modulo bugs).

fae0396e 02/17/2000 11:37 PM Martin Mares

Completion works. Unfortunately, we have to access a couple of internal
symbols of libreadline :-(

0223d4ff 02/17/2000 10:00 PM Martin Mares

Client: Online help works (Cisco style: just press `?' at the end of a line).

c51f132d 02/15/2000 12:18 PM Martin Mares

First usable version of the client. No command completion and similar nifty
features yet, but it works.

7211be1c 01/20/2000 01:13 PM Martin Mares

Configure, link and use the readline library.

9fac310d 01/19/2000 03:07 PM Martin Mares

Put client on a stony ground. The whole client is going to be system-specific
(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...

f50b9e48 01/19/2000 02:37 PM Martin Mares

Generate a list of all commands and their help texts for the client to use.

ed608150 10/29/1999 09:44 AM Martin Mares

Added skeleton of the client. Does nothing, but at least compiles.