[Spice-devel] [PATCH] move pipe header defines from reds.c to spice-protocol
Alon Levy
alevy at redhat.com
Mon Aug 30 04:47:55 PDT 2010
This one is for spice-protocol
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;
More information about the Spice-devel
mailing list