diff options
author | james <> | 2008-02-28 22:00:45 +0000 |
---|---|---|
committer | james <> | 2008-02-28 22:00:45 +0000 |
commit | 3ea64d3f157cabbf22a9c96d5dd356659047a093 (patch) | |
tree | 79c5f3c8f6d4efe32abe9abf7c23b0f338487c03 /src/prototypes.h | |
parent | 68f1170ace397c32f9c80a6b7cb89388d88743f2 (diff) | |
download | sympathy-3ea64d3f157cabbf22a9c96d5dd356659047a093.tar.gz sympathy-3ea64d3f157cabbf22a9c96d5dd356659047a093.tar.bz2 sympathy-3ea64d3f157cabbf22a9c96d5dd356659047a093.zip |
*** empty log message ***
Diffstat (limited to 'src/prototypes.h')
-rw-r--r-- | src/prototypes.h | 6 |
1 files changed, 3 insertions, 3 deletions
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); |