summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlon Levy <alevy@redhat.com>2010-11-03 01:03:44 +0200
committerAlon Levy <alevy@redhat.com>2010-12-07 21:32:33 +0200
commit5e13eea73c4bcb620020592cfde16ad6d0c8f895 (patch)
tree43cc1c340cd3cd2e2f1dc5da9922aed5825a733a
parente662e6a59f21fb4ad2a9703a08ba79605ab0fa6c (diff)
downloadspice-5e13eea73c4bcb620020592cfde16ad6d0c8f895.tar.gz
spice-5e13eea73c4bcb620020592cfde16ad6d0c8f895.tar.xz
spice-5e13eea73c4bcb620020592cfde16ad6d0c8f895.zip
server: reds/inputs_channel: move some structs to inputs_channel
-rw-r--r--server/inputs_channel.c12
-rw-r--r--server/reds.h12
2 files changed, 12 insertions, 12 deletions
diff --git a/server/inputs_channel.c b/server/inputs_channel.c
index bcd1a86f..54b2e2d7 100644
--- a/server/inputs_channel.c
+++ b/server/inputs_channel.c
@@ -44,6 +44,18 @@
#define RECEIVE_BUF_SIZE \
(4096 + (REDS_AGENT_WINDOW_SIZE + REDS_NUM_INTERNAL_AGENT_MESSAGES) * SPICE_AGENT_MAX_DATA_SIZE)
+struct SpiceKbdState {
+ int dummy;
+};
+
+struct SpiceMouseState {
+ int dummy;
+};
+
+struct SpiceTabletState {
+ int dummy;
+};
+
typedef struct InputsChannel {
RedChannel base;
uint8_t recv_buf[RECEIVE_BUF_SIZE];
diff --git a/server/reds.h b/server/reds.h
index 7f656e3b..e4408047 100644
--- a/server/reds.h
+++ b/server/reds.h
@@ -61,18 +61,6 @@ typedef struct Channel {
void *data;
} Channel;
-struct SpiceKbdState {
- int dummy;
-};
-
-struct SpiceMouseState {
- int dummy;
-};
-
-struct SpiceTabletState {
- int dummy;
-};
-
struct QXLState {
QXLInterface *qif;
struct RedDispatcher *dispatcher;