From 23aa36778606858a01c4662aaad683d4ea93ac0f Mon Sep 17 00:00:00 2001 From: james <> Date: Thu, 7 Feb 2008 11:27:02 +0000 Subject: *** empty log message *** --- src/prototypes.h | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) (limited to 'src/prototypes.h') diff --git a/src/prototypes.h b/src/prototypes.h index c75ddbc..f69feb8 100644 --- a/src/prototypes.h +++ b/src/prototypes.h @@ -10,14 +10,14 @@ void ansi_render(ANSI *a, CRT_CA ca); void ansi_cls(ANSI *a); void ansi_draw(ANSI *a, CRT *c); void ansi_reset(ANSI *a); -void ansi_flush_escape(ANSI *a, VT102 *v); -void ansi_parse_deckey(ANSI *a, VT102 *v); -void ansi_parse_ansikey(ANSI *a, VT102 *v); -void ansi_parse_escape(ANSI *a, VT102 *v); -void ansi_check_escape(ANSI *a, VT102 *v); -void ansi_parse_char(ANSI *a, int c, VT102 *v); -void ansi_parse(ANSI *a, char *buf, int len, VT102 *v); -int ansi_dispatch(ANSI *a, VT102 *v); +void ansi_flush_escape(ANSI *a, VT102 *v, TTY *t); +void ansi_parse_deckey(ANSI *a, VT102 *v, TTY *t); +void ansi_parse_ansikey(ANSI *a, VT102 *v, TTY *t); +void ansi_parse_escape(ANSI *a, VT102 *v, TTY *t); +void ansi_check_escape(ANSI *a, VT102 *v, TTY *t); +void ansi_parse_char(ANSI *a, int c, VT102 *v, TTY *t); +void ansi_parse(ANSI *a, char *buf, int len, VT102 *v, TTY *t); +int ansi_dispatch(ANSI *a, VT102 *v, TTY *t); /* crt.c */ void crt_erase(CRT *c, CRT_Pos s, CRT_Pos e, int ea); void crt_cls(CRT *c); @@ -56,16 +56,17 @@ void vt102_change_attr(VT102 *v, char *na); void vt102_parse_attr_string(VT102 *v, char *buf, int len); void vt102_save_state(VT102 *v); void vt102_restore_state(VT102 *v); +void vt102_scs(VT102 *c, int g, int s); void vt102_parse_esc(VT102 *v, int c); void vt102_parse_csi(VT102 *v, char *buf, int len); void vt102_status_line(VT102 *v, char *str); -void vt102_parse_char(VT102 *v, int c); -int vt102_parse(VT102 *v, char *buf, int len); +void vt102_parse_char(VT102 *v, int c, TTY *tty); +int vt102_parse(VT102 *v, char *buf, int len, TTY *t); void vt102_parser_reset(VT102_parser *p); -void vt102_send(VT102 *v, uint8_t key); +void vt102_send(VT102 *v, uint8_t key, TTY *tty); void vt102_reset(VT102 *v); -int vt102_dispatch(VT102 *v); -VT102 *vt102_new(TTY *t); +int vt102_dispatch(VT102 *v, TTY *tty); +VT102 *vt102_new(void); void vt102_free(VT102 *v); /* tty.c */ TTY *tty_new_test(void); -- cgit v1.2.3