X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;ds=sidebyside;f=src%2Fprototypes.h;h=6dc0ca6a1ee78f1883844d47b37604807cdfcb74;hb=ab4d1b2e4c884114ecd4cba652ebcc97ef4c1a0d;hp=cdb31119a01f650ac651860bd00b09a9f2297cad;hpb=48b2a7fa2c0dc01a99a1a2e5bd7c7533d0c7f974;p=sympathy.git diff --git a/src/prototypes.h b/src/prototypes.h index cdb3111..6dc0ca6 100644 --- a/src/prototypes.h +++ b/src/prototypes.h @@ -1,26 +1,6 @@ /* ansi.c */ -extern void ansi_move(ANSI *a, CRT_Pos p); -extern void ansi_showhide_cursor(ANSI *a, int hide); -extern void ansi_force_attr_normal(ANSI *a); -extern void ansi_set_color(ANSI *a, int color); -extern void ansi_set_attr(ANSI *a, int attr); -extern void ansi_render(ANSI *a, CRT_CA ca); -extern void ansi_cls(ANSI *a); -extern void ansi_draw_line(ANSI *a, CRT_CA *cap, int y); -extern void ansi_resize_check(ANSI *a); -extern void ansi_history(ANSI *a, History *h); -extern void ansi_draw(ANSI *a, CRT *c); -extern void ansi_reset(ANSI *a, CRT *c); -extern void ansi_terminal_reset(ANSI *a); -extern void ansi_flush_escape(ANSI *a, Context *c); -extern void ansi_parse_deckey(ANSI *a, Context *c); -extern void ansi_parse_ansikey(ANSI *a, Context *c); -extern void ansi_parse_escape(ANSI *a, Context *c); -extern void ansi_check_escape(ANSI *a, Context *c); -extern void ansi_parse_char(ANSI *a, Context *c, int ch); -extern void ansi_parse(ANSI *a, Context *c, char *buf, int len); extern int ansi_dispatch(ANSI *a, Context *c); -extern void ansi_update(ANSI *a, Context *c); +extern ANSI *ansi_new_from_terminal(ANSI *a, TTY *t); /* crt.c */ extern void crt_erase(CRT *c, CRT_Pos s, CRT_Pos e, int ea); extern void crt_cls(CRT *c);