chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
journald: allow restarting journald without losing stream connections
[elogind.git]
/
src
/
shared
/
ptyfwd.h
diff --git
a/src/shared/ptyfwd.h
b/src/shared/ptyfwd.h
index 5a612fd5975cf8bfcce679ea5cc3d0d42a6378b3..d7b658e181831a35cb30a1a0a51b53d59a2ef65d 100644
(file)
--- a/
src/shared/ptyfwd.h
+++ b/
src/shared/ptyfwd.h
@@
-28,7
+28,9
@@
typedef struct PTYForward PTYForward;
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);
PTYForward *pty_forward_free(PTYForward *f);
+int pty_forward_last_char(PTYForward *f, char *ch);
+
DEFINE_TRIVIAL_CLEANUP_FUNC(PTYForward*, pty_forward_free);
DEFINE_TRIVIAL_CLEANUP_FUNC(PTYForward*, pty_forward_free);