]> git.ipfire.org Git - thirdparty/bird.git/blame - client/client.h
Removes unnecessary client subdirectories and updates buildsystem.
[thirdparty/bird.git] / client / client.h
CommitLineData
ed608150
MM
1/*
2 * BIRD Client
3 *
9fac310d 4 * (c) 1999--2000 Martin Mares <mj@ucw.cz>
ed608150
MM
5 *
6 * Can be freely distributed and used under the terms of the GNU GPL.
7 */
c51f132d 8
8322ecde 9/* client.c callbacks */
c51f132d
MM
10
11void cleanup(void);
fae0396e
MM
12void input_start_list(void);
13void input_stop_list(void);
8322ecde 14void server_got_reply(char *x);
0223d4ff
MM
15
16/* commands.c */
17
18void cmd_build_tree(void);
19void cmd_help(char *cmd, int len);
fae0396e 20int cmd_complete(char *cmd, int len, char *buf, int again);
e69e4ed9 21char *cmd_expand(char *cmd);
e4549161 22
d2c392d4 23/* common.c */
e4549161
TH
24
25#define STATE_PROMPT 0
26#define STATE_CMD_SERVER 1
27#define STATE_CMD_USER 2
28
29#define SERVER_READ_BUF_LEN 4096
30
31int handle_internal_command(char *cmd);
32void submit_server_command(char *cmd);
33void server_connect(void);
34void server_read(void);
35void server_send(char *cmd);