]>
Commit | Line | Data |
---|---|---|
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 | |
c51f132d | 9 | |
a5e9f3d2 OZ |
10 | extern int init, busy, interactive; |
11 | extern int term_lns, term_cls; | |
12 | ||
13 | /* birdc.c / birdcl.c */ | |
14 | ||
fae0396e MM |
15 | void input_start_list(void); |
16 | void input_stop_list(void); | |
a5e9f3d2 OZ |
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); | |
0223d4ff MM |
26 | |
27 | /* commands.c */ | |
28 | ||
29 | void cmd_build_tree(void); | |
30 | void cmd_help(char *cmd, int len); | |
fae0396e | 31 | int cmd_complete(char *cmd, int len, char *buf, int again); |
e69e4ed9 | 32 | char *cmd_expand(char *cmd); |
e4549161 | 33 | |
a5e9f3d2 | 34 | /* client.c */ |
e4549161 | 35 | |
a5e9f3d2 | 36 | void submit_command(char *cmd_raw); |
3f2c7600 OZ |
37 | |
38 | /* die() with system error messages */ | |
39 | #define DIE(x, y...) die(x ": %s", ##y, strerror(errno)) |