diff options
author | Jesse Luehrs <doy@tozt.net> | 2014-04-20 22:57:28 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2014-04-20 22:58:22 -0400 |
commit | d6f244f7d9f52462bafb608f23494707eeb24751 (patch) | |
tree | 8b2cab0559f4fce36b20896b24b38b54b6267400 /src/pty-unix.h | |
parent | 29f45358ccc638f7c2ce951e03d91bbd02d6a109 (diff) | |
download | runes-d6f244f7d9f52462bafb608f23494707eeb24751.tar.gz runes-d6f244f7d9f52462bafb608f23494707eeb24751.zip |
clean up the directory structure a bit
Diffstat (limited to 'src/pty-unix.h')
-rw-r--r-- | src/pty-unix.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/pty-unix.h b/src/pty-unix.h new file mode 100644 index 0000000..0d96aa9 --- /dev/null +++ b/src/pty-unix.h @@ -0,0 +1,17 @@ +#ifndef _RUNES_PTY_H +#define _RUNES_PTY_H + +struct runes_pty { + int master; + int slave; + pid_t child_pid; +}; + +void runes_pty_backend_spawn_subprocess(RunesTerm *t); +void runes_pty_backend_start_loop(RunesTerm *t); +void runes_pty_backend_set_window_size(RunesTerm *t); +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); + +#endif |