summaryrefslogtreecommitdiff
path: root/server/red-char-device-vdi-port.h
diff options
context:
space:
mode:
Diffstat (limited to 'server/red-char-device-vdi-port.h')
-rw-r--r--server/red-char-device-vdi-port.h32
1 files changed, 4 insertions, 28 deletions
diff --git a/server/red-char-device-vdi-port.h b/server/red-char-device-vdi-port.h
index 5ae64ec2..a6a2f736 100644
--- a/server/red-char-device-vdi-port.h
+++ b/server/red-char-device-vdi-port.h
@@ -38,34 +38,6 @@ enum {
VDI_PORT_READ_STATE_READ_DATA,
};
-struct RedCharDeviceVDIPortPrivate {
- uint32_t plug_generation;
- int client_agent_started;
-
- /* write to agent */
- RedCharDeviceWriteBuffer *recv_from_client_buf;
- int recv_from_client_buf_pushed;
- AgentMsgFilter write_filter;
-
- /* read from agent */
- GList *read_bufs;
- uint32_t read_state;
- uint32_t message_receive_len;
- uint8_t *receive_pos;
- uint32_t receive_len;
- RedVDIReadBuf *current_read_buf;
- AgentMsgFilter read_filter;
-
- VDIChunkHeader vdi_chunk_header;
-
- SpiceMigrateDataMain *mig_data; /* storing it when migration data arrives
- before agent is attached */
-
- gboolean copypaste; /* Whether client/guest copy&paste is allowed */
- gboolean file_xfer; /* Whether client/guest file transfers are allowed */
- gboolean use_client_monitors_config; /* Whether to use client monitors config */
-};
-
#define RED_TYPE_CHAR_DEVICE_VDIPORT red_char_device_vdi_port_get_type()
#define RED_CHAR_DEVICE_VDIPORT(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), RED_TYPE_CHAR_DEVICE_VDIPORT, RedCharDeviceVDIPort))
@@ -81,6 +53,10 @@ struct RedCharDeviceVDIPort
{
RedCharDevice parent;
+ uint32_t plug_generation;
+ SpiceMigrateDataMain *mig_data; /* storing it when migration data arrives
+ before agent is attached */
+
RedCharDeviceVDIPortPrivate *priv;
};