aboutsummaryrefslogtreecommitdiffstats
path: root/qemu-char.h
diff options
context:
space:
mode:
authorDavid 'Digit' Turner <digit@android.com>2010-05-10 18:37:10 -0700
committerDavid 'Digit' Turner <digit@android.com>2010-05-10 23:26:57 -0700
commita5d412078b8e7478d81df03710eacc7a21096ba2 (patch)
tree7b6fb338233657c9885bd94f08dee3aa2973c98f /qemu-char.h
parent20894ae3fa98f82da925fbeb72e616eef509758a (diff)
downloadexternal_qemu-a5d412078b8e7478d81df03710eacc7a21096ba2.zip
external_qemu-a5d412078b8e7478d81df03710eacc7a21096ba2.tar.gz
external_qemu-a5d412078b8e7478d81df03710eacc7a21096ba2.tar.bz2
Upstream: Replace sys-queue.h with qemu-queue.h
Change-Id: I5c51f54a7fe2ea702420429bbf0c789ed6d8c534
Diffstat (limited to 'qemu-char.h')
-rw-r--r--qemu-char.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/qemu-char.h b/qemu-char.h
index e1aa8db..6e1c779 100644
--- a/qemu-char.h
+++ b/qemu-char.h
@@ -2,15 +2,16 @@
#define QEMU_CHAR_H
#include "qemu-common.h"
-#include "sys-queue.h"
+#include "qemu-queue.h"
/* character device */
#define CHR_EVENT_BREAK 0 /* serial break char */
#define CHR_EVENT_FOCUS 1 /* focus to this terminal (modal input needed) */
-#define CHR_EVENT_RESET 2 /* new connection established */
+#define CHR_EVENT_OPENED 2 /* new connection established */
#define CHR_EVENT_MUX_IN 3 /* mux-focus was set to this terminal */
#define CHR_EVENT_MUX_OUT 4 /* mux-focus will move on */
+#define CHR_EVENT_CLOSED 5 /* connection closed */
#define CHR_IOCTL_SERIAL_SET_PARAMS 1
@@ -63,7 +64,7 @@ struct CharDriverState {
QEMUBH *bh;
char *label;
char *filename;
- TAILQ_ENTRY(CharDriverState) next;
+ QTAILQ_ENTRY(CharDriverState) next;
};
CharDriverState *qemu_chr_open(const char *label, const char *filename, void (*init)(struct CharDriverState *s));