Searched refs:PTYForward (Results 1 – 5 of 5) sorted by relevance
/systemd-251/src/shared/ |
D | ptyfwd.h | 10 typedef struct PTYForward PTYForward; typedef 22 typedef int (*PTYForwardHandler)(PTYForward *f, int rcode, void *userdata); 24 int pty_forward_new(sd_event *event, int master, PTYForwardFlags flags, PTYForward **f); 25 PTYForward *pty_forward_free(PTYForward *f); 27 int pty_forward_get_last_char(PTYForward *f, char *ch); 29 int pty_forward_set_ignore_vhangup(PTYForward *f, bool ignore_vhangup); 30 bool pty_forward_get_ignore_vhangup(PTYForward *f); 32 bool pty_forward_is_done(PTYForward *f); 34 void pty_forward_set_handler(PTYForward *f, PTYForwardHandler handler, void *userdata); 36 bool pty_forward_drain(PTYForward *f); [all …]
|
D | ptyfwd.c | 28 struct PTYForward { struct 80 static void pty_forward_disconnect(PTYForward *f) { in pty_forward_disconnect() argument 114 static int pty_forward_done(PTYForward *f, int rcode) { in pty_forward_done() 132 static bool look_for_escape(PTYForward *f, const char *buffer, size_t n) { in look_for_escape() 163 static bool ignore_vhangup(PTYForward *f) { in ignore_vhangup() 175 static bool drained(PTYForward *f) { in drained() 199 static int shovel(PTYForward *f) { in shovel() 341 PTYForward *f = userdata; in on_master_event() 359 PTYForward *f = userdata; in on_stdin_event() 374 PTYForward *f = userdata; in on_stdout_event() [all …]
|
/systemd-251/src/machine/ |
D | machinectl.c | 1180 PTYForward ** forward = (PTYForward**) userdata; in on_machine_removed() 1203 static int process_forward(sd_event *event, PTYForward **forward, int master, PTYForwardFlags flags… in process_forward() 1293 _cleanup_(pty_forward_freep) PTYForward *forward = NULL; in login_machine() 1347 _cleanup_(pty_forward_freep) PTYForward *forward = NULL; in shell_machine()
|
/systemd-251/src/run/ |
D | run.c | 982 PTYForward *forward; 1092 static int pty_forward_handler(PTYForward *f, int rcode, void *userdata) { in pty_forward_handler()
|
/systemd-251/src/nspawn/ |
D | nspawn.c | 4748 _cleanup_(pty_forward_freep) PTYForward *forward = NULL; in run_container()
|