summaryrefslogtreecommitdiff
path: root/src/shared/ptyfwd.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2018-07-24 17:15:33 +0200
committerLennart Poettering <lennart@poettering.net>2018-11-29 20:21:39 +0100
commitd435a18244ff52132d873859126e7a3ece66a9ba (patch)
tree4fc6f18a880282c73d5b3d19cb4cf18eb26594f7 /src/shared/ptyfwd.h
parentde321f5228291dbd40ee07aa792f2410c16d1fca (diff)
downloadsystemd-d435a18244ff52132d873859126e7a3ece66a9ba.tar.gz
ptyfwd: optionally override terminal width/height
Diffstat (limited to 'src/shared/ptyfwd.h')
-rw-r--r--src/shared/ptyfwd.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/shared/ptyfwd.h b/src/shared/ptyfwd.h
index e4a083ac24..4ebddcd720 100644
--- a/src/shared/ptyfwd.h
+++ b/src/shared/ptyfwd.h
@@ -37,4 +37,6 @@ bool pty_forward_drain(PTYForward *f);
int pty_forward_set_priority(PTYForward *f, int64_t priority);
+int pty_forward_set_width_height(PTYForward *f, unsigned width, unsigned height);
+
DEFINE_TRIVIAL_CLEANUP_FUNC(PTYForward*, pty_forward_free);