chiark / gitweb /
*** empty log message ***
[sympathy.git] / src / prototypes.h
1 /* ansi.c */
2 void ansi_write(ANSI *a, char *buf, int n);
3 void ansi_getsize(ANSI *a);
4 void ansi_move(ANSI *a, CRT_Pos p);
5 void ansi_showhide_cursor(ANSI *a, int hide);
6 void ansi_force_attr_normal(ANSI *a);
7 void ansi_set_attr(ANSI *a, int attr);
8 void ansi_render(ANSI *a, CRT_CA ca);
9 void ansi_cls(ANSI *a);
10 void ansi_draw(ANSI *a, CRT *c);
11 void ansi_reset(ANSI *a);
12 /* crt.c */
13 void crt_erase(CRT *c, CRT_Pos s, CRT_Pos e, int ea);
14 void crt_cls(CRT *c);
15 void crt_scroll_up(CRT *c, CRT_Pos s, CRT_Pos e, int ea);
16 void crt_scroll_down(CRT *c, CRT_Pos s, CRT_Pos e, int ea);
17 void crt_reset(CRT *c);
18 void crt_insert(CRT *c, CRT_CA ca);
19 /* html.c */
20 void html_entity(FILE *f, int c);
21 void html_render(FILE *f, CRT_CA c);
22 void html_draw(FILE *f, CRT *c);
23 /* libsympathy.c */
24 struct termios old;
25 void testy(void);
26 /* render.c */
27 /* testtty.c */
28 int open_fd_to_bash(void);
29 /* version.c */
30 /* vt102.c */
31 int vt102_inmargins(VT102 *v, CRT_Pos p);
32 void vt102_clip_cursor(VT102 *v, CRT_Pos tl, CRT_Pos br);
33 void vt102_cursor_normalize(VT102 *v);
34 void vt102_cursor_advance_line(VT102 *v);
35 void vt102_cursor_advance(VT102 *v);
36 void vt102_cursor_retard(VT102 *v);
37 void vt102_reset_tabs(VT102 *v);
38 void vt102_cursor_advance_tab(VT102 *v);
39 int vt102_cursor_home(VT102 *v);
40 int vt102_cursor_absolute(VT102 *v, int x, int y);
41 int vt102_cursor_relative(VT102 *v, int x, int y);
42 void vt102_delete_from_line(VT102 *v, CRT_Pos p);
43 void vt102_insert_into_line(VT102 *v, CRT_Pos p);
44 void vt102_change_mode(VT102 *v, int private, char *ns, int set);
45 void vt102_parse_mode_string(VT102 *v, char *buf, int len);
46 void vt102_parse_esc(VT102 *v, int c);
47 void vt102_parse_csi(VT102 *v, char *buf, int len);
48 void vt102_status_line(VT102 *v, char *str);
49 void vt102_parse_char(VT102 *v, int c);
50 void vt102_parser_reset(VT102_parser *p);
51 void vt102_reset(VT102 *v);