chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ARM: detect-virt: detect QEMU/KVM
[elogind.git]
/
src
/
shared
/
ptyfwd.h
diff --git
a/src/shared/ptyfwd.h
b/src/shared/ptyfwd.h
index d65b66a3d081786b7ff14a9ab022df0c71ccf18d..6f84e4036a7e67881f8a88d11650a736aa7099bc 100644
(file)
--- a/
src/shared/ptyfwd.h
+++ b/
src/shared/ptyfwd.h
@@
-21,14
+21,13
@@
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
-#include <sys/types.h>
-#include <signal.h>
+#include <stdbool.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);