aboutsummaryrefslogtreecommitdiffstats
path: root/src/prototypes.h
diff options
context:
space:
mode:
authorjames <>2008-02-07 11:27:02 +0000
committerjames <>2008-02-07 11:27:02 +0000
commit23aa36778606858a01c4662aaad683d4ea93ac0f (patch)
treec978ec9256e5d2c30592bc321860270b34565cd2 /src/prototypes.h
parenta0799281f0f7d0f8cd3e69a861515f4efa40a453 (diff)
downloadsympathy-23aa36778606858a01c4662aaad683d4ea93ac0f.tar.gz
sympathy-23aa36778606858a01c4662aaad683d4ea93ac0f.tar.bz2
sympathy-23aa36778606858a01c4662aaad683d4ea93ac0f.zip
*** empty log message ***
Diffstat (limited to 'src/prototypes.h')
-rw-r--r--src/prototypes.h27
1 files changed, 14 insertions, 13 deletions
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);