summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Levy <alevy@redhat.com>2010-08-30 13:25:30 +0300
committerAlon Levy <alevy@redhat.com>2010-08-30 13:25:44 +0300
commite27cb334cf70409c7e32be6f061921b4b317be17 (patch)
treed2372a09f254bc1ccfd172c13ab8f08ca17015f4
parentae739ac541f6213b8f17ffccd60c9927812cac24 (diff)
move pipe header defines from reds.c to spice-protocol
-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;