char-pipe.c (ef0f272f38e1e534dd05a5a611aa0eb15dc60cc1) | char-pipe.c (8228e353d8906bf43399ca0ef28446c5c48bb686) |
---|---|
1/* 2 * QEMU System Emulator 3 * 4 * Copyright (c) 2003-2008 Fabrice Bellard 5 * 6 * Permission is hereby granted, free of charge, to any person obtaining a copy 7 * of this software and associated documentation files (the "Software"), to deal 8 * in the Software without restriction, including without limitation the rights --- 9 unchanged lines hidden (view full) --- 18 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 19 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 22 * THE SOFTWARE. 23 */ 24#include "qemu/osdep.h" 25#include "qapi/error.h" | 1/* 2 * QEMU System Emulator 3 * 4 * Copyright (c) 2003-2008 Fabrice Bellard 5 * 6 * Permission is hereby granted, free of charge, to any person obtaining a copy 7 * of this software and associated documentation files (the "Software"), to deal 8 * in the Software without restriction, including without limitation the rights --- 9 unchanged lines hidden (view full) --- 18 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 19 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 22 * THE SOFTWARE. 23 */ 24#include "qemu/osdep.h" 25#include "qapi/error.h" |
26#include "sysemu/char.h" | 26#include "chardev/char.h" |
27 28#ifdef _WIN32 | 27 28#ifdef _WIN32 |
29#include "char-win.h" | 29#include "chardev/char-win.h" |
30#else | 30#else |
31#include "char-fd.h" | 31#include "chardev/char-fd.h" |
32#endif 33 34#ifdef _WIN32 35#define MAXCONNECT 1 36#define NTIMEOUT 5000 37 38static int win_chr_pipe_init(Chardev *chr, const char *filename, 39 Error **errp) --- 152 unchanged lines hidden --- | 32#endif 33 34#ifdef _WIN32 35#define MAXCONNECT 1 36#define NTIMEOUT 5000 37 38static int win_chr_pipe_init(Chardev *chr, const char *filename, 39 Error **errp) --- 152 unchanged lines hidden --- |