summaryrefslogtreecommitdiff
path: root/src/shared/ptyfwd.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-01-07 03:08:00 +0100
committerLennart Poettering <lennart@poettering.net>2015-01-07 03:08:00 +0100
commit0ec5543c4c0318552a4dcdd83210793347b93081 (patch)
tree9de7421842bd9d1e274ae5943cab1f11dcc7cc86 /src/shared/ptyfwd.h
parentf7ad54a301e4ae8dceab54d3ab3934e56c1134ea (diff)
machinectl: make sure that "machinectl login" exits immediately when the machine it is connected to dies
Diffstat (limited to 'src/shared/ptyfwd.h')
-rw-r--r--src/shared/ptyfwd.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/shared/ptyfwd.h b/src/shared/ptyfwd.h
index d7b658e181..d557dee9db 100644
--- a/src/shared/ptyfwd.h
+++ b/src/shared/ptyfwd.h
@@ -31,6 +31,9 @@ typedef struct PTYForward PTYForward;
int pty_forward_new(sd_event *event, int master, bool repeat, PTYForward **f);
PTYForward *pty_forward_free(PTYForward *f);
-int pty_forward_last_char(PTYForward *f, char *ch);
+int pty_forward_get_last_char(PTYForward *f, char *ch);
+
+int pty_forward_set_repeat(PTYForward *f, bool repeat);
+int pty_forward_get_repeat(PTYForward *f);
DEFINE_TRIVIAL_CLEANUP_FUNC(PTYForward*, pty_forward_free);