diff options
author | Lennart Poettering <lennart@poettering.net> | 2014-12-22 19:45:32 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2014-12-23 03:26:24 +0100 |
commit | 9b15b7846d4de01bb5d9700a24077787e984e8ab (patch) | |
tree | e42326cf2ae7f03ca72b7f25e0ec738287cc1f46 /src/shared/ptyfwd.h | |
parent | 91f4347ef7bde17418b365ed3a97a752fe65bd50 (diff) |
run: add a new "-t" mode for invoking a binary on an allocated TTY
Diffstat (limited to 'src/shared/ptyfwd.h')
-rw-r--r-- | src/shared/ptyfwd.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/shared/ptyfwd.h b/src/shared/ptyfwd.h index 5a612fd597..d7b658e181 100644 --- a/src/shared/ptyfwd.h +++ b/src/shared/ptyfwd.h @@ -28,7 +28,9 @@ typedef struct PTYForward PTYForward; -int pty_forward_new(sd_event *event, int master, PTYForward **f); +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); + DEFINE_TRIVIAL_CLEANUP_FUNC(PTYForward*, pty_forward_free); |