aboutsummaryrefslogtreecommitdiffstats
path: root/src/pty-unix.h
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2016-05-07 19:13:25 -0400
committerJesse Luehrs <doy@tozt.net>2016-05-07 19:13:25 -0400
commit031c4891b0be5abaa4ce86c9cad45388c11f9293 (patch)
treedcd317338053492c052478d6acf85997faad0e30 /src/pty-unix.h
parent1b56c9340343dac2f59d8d39cee11c70cb4c7f7c (diff)
downloadrunes-031c4891b0be5abaa4ce86c9cad45388c11f9293.tar.gz
runes-031c4891b0be5abaa4ce86c9cad45388c11f9293.zip
use pointer indirection to separate source files even more
Diffstat (limited to 'src/pty-unix.h')
-rw-r--r--src/pty-unix.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/pty-unix.h b/src/pty-unix.h
index a0c7bac..ea131ca 100644
--- a/src/pty-unix.h
+++ b/src/pty-unix.h
@@ -13,12 +13,13 @@ struct runes_pty {
int remaininglen;
};
+void runes_pty_backend_init(RunesPtyBackend *pty);
void runes_pty_backend_spawn_subprocess(RunesTerm *t);
void runes_pty_backend_init_loop(RunesTerm *t, RunesLoop *loop);
void runes_pty_backend_set_window_size(RunesTerm *t, int row, int col,
int xpixel, int ypixel);
void runes_pty_backend_write(RunesTerm *t, char *buf, size_t len);
void runes_pty_backend_request_close(RunesTerm *t);
-void runes_pty_backend_cleanup(RunesTerm *t);
+void runes_pty_backend_cleanup(RunesPtyBackend *pty);
#endif