From 029a61812e82b58803c618ed53df42180106412f Mon Sep 17 00:00:00 2001 From: james <> Date: Fri, 22 Feb 2008 23:39:30 +0000 Subject: *** empty log message *** --- src/prototypes.h | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'src/prototypes.h') diff --git a/src/prototypes.h b/src/prototypes.h index f0aaa8a..39e03ae 100644 --- a/src/prototypes.h +++ b/src/prototypes.h @@ -42,13 +42,11 @@ extern void vt102_scs(Context *c, int g, int s); extern void vt102_parse_esc(Context *c, int ch); extern void vt102_parse_csi(Context *c, char *buf, int len); extern void vt102_status_line(VT102 *v, char *str); -extern void vt102_parse_char(Context *c, int ch); -extern int vt102_parse(Context *c, char *buf, int len); extern void vt102_parser_reset(VT102_parser *p); +extern void vt102_reset_state(VT102 *v); +extern void vt102_parse_char(Context *c, int ch); extern void vt102_send(Context *c, uint8_t key); extern void vt102_reset(VT102 *v); -extern int vt102_dispatch(Context *c); -extern int vt102_dispatch_one(Context *c); extern VT102 *vt102_new(void); extern void vt102_set_ansi(VT102 *v, int ansi); extern void vt102_free(VT102 *v); @@ -59,6 +57,8 @@ 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_stats(TTY_Parser *p, int err, int ch); +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); @@ -153,3 +153,7 @@ extern void lockfile_unlock(Filelist *fl); extern int serial_lock_check(Serial_lock *l); extern void serial_lock_free(Serial_lock *l); extern Serial_lock *serial_lock_new(char *dev, int mode); +/* utf8.c */ +extern void utf8_flush(Context *c); +extern int utf8_parse(Context *c, int ch); +extern UTF8 *utf8_new(void); -- cgit v1.2.3