summaryrefslogtreecommitdiffstats
path: root/spice/vd_agent.h
diff options
context:
space:
mode:
Diffstat (limited to 'spice/vd_agent.h')
-rw-r--r--spice/vd_agent.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/spice/vd_agent.h b/spice/vd_agent.h
index 8e1e6ca..1fcda88 100644
--- a/spice/vd_agent.h
+++ b/spice/vd_agent.h
@@ -35,6 +35,16 @@
#include <spice/start-packed.h>
+enum {
+ VDP_CLIENT_PORT = 1,
+ VDP_SERVER_PORT,
+};
+
+typedef struct SPICE_ATTR_PACKED VDIChunkHeader {
+ uint32_t port;
+ uint32_t size;
+} VDIChunkHeader;
+
typedef struct SPICE_ATTR_PACKED VDAgentMessage {
uint32_t protocol;
uint32_t type;