summaryrefslogtreecommitdiffstats
path: root/src/terminal.h
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2021-02-08 13:16:47 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2021-02-08 13:16:47 +0000
commit4f5226cb7a97f86421a94fcc75c59fe6d709ae02 (patch)
tree1a2cab09cbbc1040650fe21c0a9cef15d2ccb6ee /src/terminal.h
parentInitial commit. (diff)
downloadttyd-4f5226cb7a97f86421a94fcc75c59fe6d709ae02.tar.xz
ttyd-4f5226cb7a97f86421a94fcc75c59fe6d709ae02.zip
Adding upstream version 1.6.3.upstream/1.6.3
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
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