chiark / gitweb /
*** empty log message ***
[sympathy.git] / src / prototypes.h
index f1f07421664b6528ef4f2d5e6d235c322fa336f0..635f594355e12ba2bb680eee04e2078d2e044962 100644 (file)
@@ -6,8 +6,12 @@ void ansi_set_color (ANSI * a, int color);
 void ansi_set_attr (ANSI * a, int attr);
 void ansi_render (ANSI * a, CRT_CA ca);
 void ansi_cls (ANSI * a);
+void ansi_draw_line (ANSI * a, CRT_CA * cap, int y);
+void ansi_resize_check (ANSI * a);
+void ansi_history (ANSI * a, History * h);
 void ansi_draw (ANSI * a, CRT * c);
-void ansi_reset (ANSI * a);
+void ansi_reset (ANSI * a, CRT * c);
+void ansi_terminal_reset (ANSI * a);
 void ansi_flush_escape (ANSI * a, Context * c);
 void ansi_parse_deckey (ANSI * a, Context * c);
 void ansi_parse_ansikey (ANSI * a, Context * c);
@@ -29,10 +33,12 @@ void html_render (FILE * f, CRT_CA c);
 void html_draw (FILE * f, CRT * c);
 /* libsympathy.c */
 void testy (void);
+void ring_test (void);
 /* render.c */
 /* version.c */
 /* vt102.c */
 void vt102_log_line (Context * c, int line);
+void vt102_history (Context * c, CRT_Pos t, CRT_Pos b);
 void vt102_clip_cursor (VT102 * v, CRT_Pos tl, CRT_Pos br);
 void vt102_cursor_normalize (VT102 * v);
 void vt102_cursor_carriage_return (VT102 * v);
@@ -74,6 +80,8 @@ void history_add (History * h, CRT_CA * c);
 /* ring.c */
 int ring_read (Ring * r, void *b, int n);
 int ring_write (Ring * r, void *b, int n);
+int ring_space (Ring * r);
+int ring_bytes (Ring * r);
 Ring *ring_new (int n);
 /* ptty.c */
 TTY *ptty_open (char *path, char *argv[]);
@@ -91,3 +99,17 @@ void set_nonblocking (int fd);
 void set_blocking (int fd);
 void raw_termios (struct termios *termios);
 void default_termios (struct termios *termios);
+/* log.c */
+Log *file_log_new (char *fn);
+/* ipc.c */
+Socket *socket_listen (char *path);
+Socket *socket_accept (Socket * l);
+Socket *socket_connect (char *path);
+void socket_postselect (Socket * s, fd_set * rfds, fd_set * wfds);
+void socket_preselect (Socket * s, fd_set * rfds, fd_set * wfds);
+/* slide.c */
+void slide_free (Slide * s);
+void slide_consume (Slide * s, int n);
+void slide_added (Slide * s, int n);
+Slide *slide_new (int n);
+void slide_expand (Slide * s, int n);