[Spice-commits] spice/vd_agent.h

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Fri May 15 13:33:08 UTC 2020


 spice/vd_agent.h |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit dcf21aafb957591a1a3c2daacd8edeff3e7850cd
Author: Frediano Ziglio <fziglio at redhat.com>
Date:   Thu Mar 26 09:30:55 2020 +0000

    vd_agent: Add some documentation
    
    Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
    Acked-by: Victor Toso <victortoso at redhat.com>

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;


More information about the Spice-commits mailing list