From dcf21aafb957591a1a3c2daacd8edeff3e7850cd Mon Sep 17 00:00:00 2001 From: Frediano Ziglio Date: Thu, 26 Mar 2020 09:30:55 +0000 Subject: [PATCH] vd_agent: Add some documentation Signed-off-by: Frediano Ziglio Acked-by: Victor Toso --- spice/vd_agent.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/spice/vd_agent.h b/spice/vd_agent.h index af42562..0508f2b 100644 --- a/spice/vd_agent.h +++ b/spice/vd_agent.h @@ -47,9 +47,12 @@ typedef struct SPICE_ATTR_PACKED VDIChunkHeader { } VDIChunkHeader; typedef struct SPICE_ATTR_PACKED VDAgentMessage { + /* Should be VD_AGENT_PROTOCOL */ uint32_t protocol; + /* One of VD_AGENT_xxx in the enumeration below */ uint32_t type; uint64_t opaque; + /* Size of data following */ uint32_t size; uint8_t data[0]; } VDAgentMessage;