aboutsummaryrefslogtreecommitdiffstats
path: root/src/prototypes.h
blob: 56af551b2010ddb1acf4fc03f3ef5636648d0496 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
/* ansi.c */
void ansi_write (ANSI * a, char *buf, int n);
void ansi_getsize (ANSI * a);
void ansi_move (ANSI * a, CRT_Pos p);
void ansi_showhide_cursor (ANSI * a, int hide);
void ansi_force_attr_normal (ANSI * a);
void ansi_set_attr (ANSI * a, int attr);
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);
/* crt.c */
void crt_erase (CRT * c, CRT_Pos s, CRT_Pos e, int ea);
void crt_cls (CRT * c);
void crt_scroll_up (CRT * c, CRT_Pos s, CRT_Pos e, int ea);
void crt_scroll_down (CRT * c, CRT_Pos s, CRT_Pos e, int ea);
void crt_reset (CRT * c);
void crt_insert (CRT * c, CRT_CA ca);
/* html.c */
void html_entity (FILE * f, int c);
void html_render (FILE * f, CRT_CA c);
void html_draw (FILE * f, CRT * c);
/* libsympathy.c */
struct termios old;
void testy (void);
/* render.c */
/* testtty.c */
int open_fd_to_bash (void);
/* version.c */
/* vt102.c */
void vt102_cursor_normalize (VT102 * v, int do_wrapscroll, int use_margins);
void vt102_cursor_motion (VT102 * v, int x, int y, int wrapscroll);
void vt102_delete_from_line (VT102 * v, CRT_Pos p);
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);
void vt102_parser_reset (VT102_parser * p);
void vt102_reset (VT102 * v);