diff options
author | Alon Levy <alevy@redhat.com> | 2010-08-30 13:25:30 +0300 |
---|---|---|
committer | Alon Levy <alevy@redhat.com> | 2010-08-30 13:25:44 +0300 |
commit | e27cb334cf70409c7e32be6f061921b4b317be17 (patch) | |
tree | d2372a09f254bc1ccfd172c13ab8f08ca17015f4 /spice | |
parent | ae739ac541f6213b8f17ffccd60c9927812cac24 (diff) | |
download | spice-protocol-e27cb334cf70409c7e32be6f061921b4b317be17.tar.gz spice-protocol-e27cb334cf70409c7e32be6f061921b4b317be17.tar.xz spice-protocol-e27cb334cf70409c7e32be6f061921b4b317be17.zip |
move pipe header defines from reds.c to spice-protocol
Diffstat (limited to 'spice')
-rw-r--r-- | spice/vd_agent.h | 10 |
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; |