summaryrefslogtreecommitdiffstats
path: root/src/terminal.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/terminal.h')
-rw-r--r--src/terminal.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/terminal.h b/src/terminal.h
new file mode 100644
index 0000000..63253e9
--- /dev/null
+++ b/src/terminal.h
@@ -0,0 +1,8 @@
+#ifndef TTYD_TERMINAL_H
+#define TTYD_TERMINAL_H
+
+int pty_fork(int *pty, const char *file, char *const argv[], const char *term);
+
+int pty_resize(int pty, int cols, int rows);
+
+#endif // TTYD_TERMINAL_H