diff options
Diffstat (limited to 'src/prototypes.h')
-rw-r--r-- | src/prototypes.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/prototypes.h b/src/prototypes.h index 7d90a8e..07fd0df 100644 --- a/src/prototypes.h +++ b/src/prototypes.h @@ -65,6 +65,7 @@ extern void tty_set_baud(TTY *t, int rate); extern void tty_send_break(TTY *t); extern void tty_set_flow(TTY *t, int flow); extern void tty_hangup(TTY *t); +extern void tty_winch(TTY *t, CRT_Pos size); extern void tty_parse_reset(Context *c); extern void tty_analyse(Context *c); extern TTY_Parser *tty_parser_new(void); @@ -141,7 +142,7 @@ extern int socket_write(Socket *s, void *buf, int len); /* serial.c */ extern TTY *serial_open(char *path, int lock_mode); /* cmd.c */ -extern void cmd_parse(Cmd *c, Context *ctx, char *buf); +extern int cmd_parse(Cmd *c, Context *ctx, char *buf); extern void cmd_show_status(Cmd *c, Context *ctx); extern int cmd_key(Cmd *c, Context *ctx, int key); extern int cmd_activate(Cmd *c, Context *ctx); |