X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fshared%2Fptyfwd.h;h=6f84e4036a7e67881f8a88d11650a736aa7099bc;hb=a3b23257872fe2f8cf99aa2da008f55ada583bb3;hp=d3e229bd70fd9671db60810ffbd8459ff3b8da95;hpb=c1ff5570f4a04bb9aedea444c12dce81679224ec;p=elogind.git diff --git a/src/shared/ptyfwd.h b/src/shared/ptyfwd.h index d3e229bd7..6f84e4036 100644 --- a/src/shared/ptyfwd.h +++ b/src/shared/ptyfwd.h @@ -21,16 +21,13 @@ along with systemd; If not, see . ***/ -#include -#include #include -#include "util.h" #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);