chiark / gitweb /
machinectl: make sure that "machinectl login" exits immediately when the machine...
[elogind.git] / src / shared / ptyfwd.h
index d7b658e181831a35cb30a1a0a51b53d59a2ef65d..d557dee9db2f8be4d8c2243e61b1f945cd5d20b5 100644 (file)
@@ -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);