summaryrefslogtreecommitdiff
path: root/src/shared/ptyfwd.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-01-07 14:46:45 +0100
committerLennart Poettering <lennart@poettering.net>2015-01-07 14:47:10 +0100
commitda054c3782f25b3b18243f6c76dcfcf90ba70274 (patch)
treebdd7ff0dd86926246034081ec78071d88ad44d4d /src/shared/ptyfwd.h
parent5743a5852d2ab6ad7f589c255afcfdf523d60ba8 (diff)
ptyfwd: simplify how we handle vhangups a bit
Diffstat (limited to 'src/shared/ptyfwd.h')
-rw-r--r--src/shared/ptyfwd.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/shared/ptyfwd.h b/src/shared/ptyfwd.h
index d557dee9db..d65b66a3d0 100644
--- a/src/shared/ptyfwd.h
+++ b/src/shared/ptyfwd.h
@@ -28,12 +28,12 @@
typedef struct PTYForward PTYForward;
-int pty_forward_new(sd_event *event, int master, bool repeat, PTYForward **f);
+int pty_forward_new(sd_event *event, int master, bool ignore_vhangup, PTYForward **f);
PTYForward *pty_forward_free(PTYForward *f);
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);
+int pty_forward_set_ignore_vhangup(PTYForward *f, bool ignore_vhangup);
+int pty_forward_get_ignore_vhangup(PTYForward *f);
DEFINE_TRIVIAL_CLEANUP_FUNC(PTYForward*, pty_forward_free);