summaryrefslogtreecommitdiffstats
path: root/server/reds-private.h
diff options
context:
space:
mode:
Diffstat (limited to 'server/reds-private.h')
-rw-r--r--server/reds-private.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/server/reds-private.h b/server/reds-private.h
index 7f927594..a2841d23 100644
--- a/server/reds-private.h
+++ b/server/reds-private.h
@@ -25,7 +25,10 @@ typedef struct MonitorMode {
uint32_t y_res;
} MonitorMode;
+typedef struct VDIPortState VDIPortState;
+
typedef struct VDIReadBuf {
+ VDIPortState *state;
RingItem link;
uint32_t refs;
@@ -39,7 +42,7 @@ enum {
VDI_PORT_READ_STATE_READ_DATA,
};
-typedef struct VDIPortState {
+struct VDIPortState {
SpiceCharDeviceState *base;
uint32_t plug_generation;
int client_agent_started;
@@ -62,7 +65,7 @@ typedef struct VDIPortState {
SpiceMigrateDataMain *mig_data; /* storing it when migration data arrives
before agent is attached */
-} VDIPortState;
+};
/* messages that are addressed to the agent and are created in the server */
typedef struct __attribute__ ((__packed__)) VDInternalBuf {