serial_passthrough: Allow configuration of named pipe parameter

This commit is contained in:
Cacodemon345
2023-02-16 00:00:31 +06:00
parent e6156022cf
commit 3050dae395
5 changed files with 90 additions and 1 deletions

View File

@@ -50,6 +50,7 @@ typedef struct serial_passthrough_s {
intptr_t master_fd; /* file desc for master pseudo terminal or
* socket or alike */
char host_serial_path[1024]; /* Path to TTY/host serial port on the host */
char named_pipe[1024]; /* (Windows only) Name of the pipe. */
void *backend_priv; /* Private platform backend data */
} serial_passthrough_t;