From e27cb334cf70409c7e32be6f061921b4b317be17 Mon Sep 17 00:00:00 2001 From: Alon Levy Date: Mon, 30 Aug 2010 13:25:30 +0300 Subject: move pipe header defines from reds.c to spice-protocol --- spice/vd_agent.h | 10 ++++++++++ 1 file changed, 10 insertions(+) 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 +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; -- cgit