aboutsummaryrefslogtreecommitdiffstats
path: root/src/prototypes.h
diff options
context:
space:
mode:
authorjames <>2008-02-06 15:53:22 +0000
committerjames <>2008-02-06 15:53:22 +0000
commit9d9e22844f2423831c496b758c5278e9338ab56e (patch)
treec99375c6126a880dc7e850fca53dd34d156d441e /src/prototypes.h
parente18a0076cdd7336517dd9853a79335de0fb5cc22 (diff)
downloadsympathy-9d9e22844f2423831c496b758c5278e9338ab56e.tar.gz
sympathy-9d9e22844f2423831c496b758c5278e9338ab56e.tar.bz2
sympathy-9d9e22844f2423831c496b758c5278e9338ab56e.zip
*** empty log message ***
Diffstat (limited to 'src/prototypes.h')
-rw-r--r--src/prototypes.h72
1 files changed, 42 insertions, 30 deletions
diff --git a/src/prototypes.h b/src/prototypes.h
index 56af551..9477d24 100644
--- a/src/prototypes.h
+++ b/src/prototypes.h
@@ -1,39 +1,51 @@
/* 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);
+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);
+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);
+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);
+void testy(void);
/* render.c */
/* testtty.c */
-int open_fd_to_bash (void);
+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);
+int vt102_inmargins(VT102 *v, CRT_Pos p);
+void vt102_clip_cursor(VT102 *v, CRT_Pos tl, CRT_Pos br);
+void vt102_cursor_normalize(VT102 *v);
+void vt102_cursor_advance_line(VT102 *v);
+void vt102_cursor_advance(VT102 *v);
+void vt102_cursor_retard(VT102 *v);
+void vt102_reset_tabs(VT102 *v);
+void vt102_cursor_advance_tab(VT102 *v);
+int vt102_cursor_home(VT102 *v);
+int vt102_cursor_absolute(VT102 *v, int x, int y);
+int vt102_cursor_relative(VT102 *v, int x, int y);
+void vt102_delete_from_line(VT102 *v, CRT_Pos p);
+void vt102_insert_into_line(VT102 *v, CRT_Pos p);
+void vt102_change_mode(VT102 *v, int private, char *ns, int set);
+void vt102_parse_mode_string(VT102 *v, char *buf, int len);
+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);