Document what the messages are meant to do. Signed-off-by: Frediano Ziglio <fziglio@xxxxxxxxxx> --- spice/vd_agent.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/spice/vd_agent.h b/spice/vd_agent.h index c49f596..b95f924 100644 --- a/spice/vd_agent.h +++ b/spice/vd_agent.h @@ -66,10 +66,23 @@ enum { VD_AGENT_MOUSE_STATE = 1, VD_AGENT_MONITORS_CONFIG, VD_AGENT_REPLY, + /* Set clipboard data (both directions). + * Message came with type and data. + * See VDAgentClipboard structure. + */ VD_AGENT_CLIPBOARD, VD_AGENT_DISPLAY_CONFIG, VD_AGENT_ANNOUNCE_CAPABILITIES, + /* Asks to listen for clipboard changes (both directions). + * Remote will empty clipboard and wait for one + * of the types passed. + * See VDAgentClipboardGrab structure. + */ VD_AGENT_CLIPBOARD_GRAB, + /* Asks for clipboard data (both directions). + * Request came with a specific type. + * See VDAgentClipboardRequest structure. + */ VD_AGENT_CLIPBOARD_REQUEST, VD_AGENT_CLIPBOARD_RELEASE, VD_AGENT_FILE_XFER_START, -- 2.7.4 _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/spice-devel