X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fshared%2Fptyfwd.h;h=6f84e4036a7e67881f8a88d11650a736aa7099bc;hb=012d7b4217420163db5752a63da6cab39d25edf3;hp=d557dee9db2f8be4d8c2243e61b1f945cd5d20b5;hpb=0ec5543c4c0318552a4dcdd83210793347b93081;p=elogind.git
diff --git a/src/shared/ptyfwd.h b/src/shared/ptyfwd.h
index d557dee9d..6f84e4036 100644
--- a/src/shared/ptyfwd.h
+++ b/src/shared/ptyfwd.h
@@ -21,19 +21,18 @@
along with systemd; If not, see .
***/
-#include
-#include
+#include
#include "sd-event.h"
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, bool read_only, 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);