From 3ea64d3f157cabbf22a9c96d5dd356659047a093 Mon Sep 17 00:00:00 2001 From: james <> Date: Thu, 28 Feb 2008 22:00:45 +0000 Subject: *** empty log message *** --- src/prototypes.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/prototypes.h') diff --git a/src/prototypes.h b/src/prototypes.h index e96cb1b..c378764 100644 --- a/src/prototypes.h +++ b/src/prototypes.h @@ -1,4 +1,5 @@ /* ansi.c */ +extern int ansi_key(ANSI *a, Context *c, int key); extern int ansi_dispatch(ANSI *a, Context *c); extern ANSI *ansi_new_from_terminal(TTY *t, int utf8); /* crt.c */ @@ -66,6 +67,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_length(TTY *t, int l); extern void tty_winch(TTY *t, CRT_Pos size); extern void tty_parse_reset(Context *c); extern void tty_analyse(Context *c); @@ -74,7 +76,6 @@ extern void tty_parse(Context *c, uint8_t *buf, int len); /* keydis.c */ extern KeyDis *keydis_vt102_new(void); extern KeyDis *keydis_ipc_new(Socket *s); -extern int keydis_key(KeyDis *t, Context *c, int key); /* history.c */ extern History *history_new(int n); extern void history_free(History *h); @@ -143,9 +144,8 @@ extern int socket_write(Socket *s, void *buf, int len); /* serial.c */ extern TTY *serial_open(char *path, int lock_mode); /* cmd.c */ -extern int cmd_parse(Cmd *c, Context *ctx, char *buf); +extern int cmd_parse(Cmd *c, Context *ctx, ANSI *a, 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); extern void cmd_new_status(Cmd *c, Context *ctx, char *msg); extern Cmd *cmd_new(void); -- cgit v1.2.3