diff options
author | james <> | 2008-02-13 16:57:29 +0000 |
---|---|---|
committer | james <> | 2008-02-13 16:57:29 +0000 |
commit | e32ce0cfdccf5240ae29ef06a13078ae37ee521a (patch) | |
tree | f036688b6831dd6fd288df03023950597987c031 /src/prototypes.h | |
parent | 23dc931ca671e938da071d24d8e9b6052e49923a (diff) | |
download | sympathy-e32ce0cfdccf5240ae29ef06a13078ae37ee521a.tar.gz sympathy-e32ce0cfdccf5240ae29ef06a13078ae37ee521a.tar.bz2 sympathy-e32ce0cfdccf5240ae29ef06a13078ae37ee521a.zip |
*** empty log message ***
Diffstat (limited to 'src/prototypes.h')
-rw-r--r-- | src/prototypes.h | 24 |
1 files changed, 23 insertions, 1 deletions
diff --git a/src/prototypes.h b/src/prototypes.h index f1f0742..635f594 100644 --- a/src/prototypes.h +++ b/src/prototypes.h @@ -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); |