chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
shared: use SocketAddress in socket_address_matches_fd()
[elogind.git]
/
src
/
shared
/
ptyfwd.h
diff --git
a/src/shared/ptyfwd.h
b/src/shared/ptyfwd.h
index d65b66a3d081786b7ff14a9ab022df0c71ccf18d..6208a543db971ffc02a7ff2d39be5759cc222023 100644
(file)
--- a/
src/shared/ptyfwd.h
+++ b/
src/shared/ptyfwd.h
@@
-23,12
+23,14
@@
#include <sys/types.h>
#include <signal.h>
#include <sys/types.h>
#include <signal.h>
+#include <stdbool.h>
+#include "util.h"
#include "sd-event.h"
typedef struct PTYForward PTYForward;
#include "sd-event.h"
typedef struct PTYForward PTYForward;
-int pty_forward_new(sd_event *event, int master, bool ignore_vhangup, 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);
PTYForward *pty_forward_free(PTYForward *f);
int pty_forward_get_last_char(PTYForward *f, char *ch);