diff options
author | Frediano Ziglio <fziglio@redhat.com> | 2020-03-26 09:30:55 +0000 |
---|---|---|
committer | Frediano Ziglio <freddy77@gmail.com> | 2020-05-15 14:32:40 +0100 |
commit | dcf21aafb957591a1a3c2daacd8edeff3e7850cd (patch) | |
tree | 92bb738efcb162fa767c129a9cc3ed7b0dedc395 | |
parent | 5ab1474cb5145270084bc8e8df2cacaf1ec42f4d (diff) |
vd_agent: Add some documentation
Signed-off-by: Frediano Ziglio <fziglio@redhat.com>
Acked-by: Victor Toso <victortoso@redhat.com>
-rw-r--r-- | spice/vd_agent.h | 3 |
1 files changed, 3 insertions, 0 deletions
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; |