]> git.ipfire.org Git - thirdparty/bird.git/blob - client/client.h
Merge remote-tracking branch 'origin/master' into mq-filter-stack
[thirdparty/bird.git] / client / client.h
1 /*
2 * BIRD Client
3 *
4 * (c) 1999--2000 Martin Mares <mj@ucw.cz>
5 *
6 * Can be freely distributed and used under the terms of the GNU GPL.
7 */
8
9
10 extern int init, busy, interactive;
11 extern int term_lns, term_cls;
12
13 /* birdc.c / birdcl.c */
14
15 void input_start_list(void);
16 void input_stop_list(void);
17
18 void input_init(void);
19 void input_notify(int prompt);
20 void input_read(void);
21
22 void more_begin(void);
23 void more_end(void);
24
25 void cleanup(void);
26
27 /* commands.c */
28
29 void cmd_build_tree(void);
30 void cmd_help(char *cmd, int len);
31 int cmd_complete(char *cmd, int len, char *buf, int again);
32 char *cmd_expand(char *cmd);
33
34 /* client.c */
35
36 void submit_command(char *cmd_raw);
37
38 /* die() with system error messages */
39 #define DIE(x, y...) die(x ": %s", ##y, strerror(errno))