[Spice-commits] spice/vd_agent.h
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Mon Mar 23 11:02:42 UTC 2020
spice/vd_agent.h | 36 ++++++++++++++++++------------------
1 file changed, 18 insertions(+), 18 deletions(-)
New commits:
commit 0ceb92087e9bfa347cecb9c5c0f200b44c35e392
Author: Frediano Ziglio <fziglio at redhat.com>
Date: Fri Mar 20 08:55:13 2020 +0000
vd_agent: Fix indentation
Use 4 spaces, not 3.
Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
diff --git a/spice/vd_agent.h b/spice/vd_agent.h
index 5a2eb81..3c4b89a 100644
--- a/spice/vd_agent.h
+++ b/spice/vd_agent.h
@@ -120,19 +120,19 @@ enum {
};
typedef struct SPICE_ATTR_PACKED VDAgentFileXferStatusMessage {
- uint32_t id;
- uint32_t result;
- /* Used to send additional data for detailed error messages
- * to clients with VD_AGENT_CAP_FILE_XFER_DETAILED_ERRORS capability.
- * Type of data varies with the result:
- * result : data type (NULL if no data)
- * VD_AGENT_FILE_XFER_STATUS_ERROR : VDAgentFileXferStatusError
- * VD_AGENT_FILE_XFER_STATUS_NOT_ENOUGH_SPACE : VDAgentFileXferStatusNotEnoughSpace
- * VD_AGENT_FILE_XFER_STATUS_SESSION_LOCKED : NULL
- * VD_AGENT_FILE_XFER_STATUS_VDAGENT_NOT_CONNECTED : NULL
- * VD_AGENT_FILE_XFER_STATUS_DISABLED : NULL
- */
- uint8_t data[0];
+ uint32_t id;
+ uint32_t result;
+ /* Used to send additional data for detailed error messages
+ * to clients with VD_AGENT_CAP_FILE_XFER_DETAILED_ERRORS capability.
+ * Type of data varies with the result:
+ * result : data type (NULL if no data)
+ * VD_AGENT_FILE_XFER_STATUS_ERROR : VDAgentFileXferStatusError
+ * VD_AGENT_FILE_XFER_STATUS_NOT_ENOUGH_SPACE : VDAgentFileXferStatusNotEnoughSpace
+ * VD_AGENT_FILE_XFER_STATUS_SESSION_LOCKED : NULL
+ * VD_AGENT_FILE_XFER_STATUS_VDAGENT_NOT_CONNECTED : NULL
+ * VD_AGENT_FILE_XFER_STATUS_DISABLED : NULL
+ */
+ uint8_t data[0];
} VDAgentFileXferStatusMessage;
/* Detailed error for VD_AGENT_FILE_XFER_STATUS_NOT_ENOUGH_SPACE.
@@ -166,14 +166,14 @@ typedef struct SPICE_ATTR_PACKED VDAgentFileXferStatusError {
} VDAgentFileXferStatusError;
typedef struct SPICE_ATTR_PACKED VDAgentFileXferStartMessage {
- uint32_t id;
- uint8_t data[0];
+ uint32_t id;
+ uint8_t data[0];
} VDAgentFileXferStartMessage;
typedef struct SPICE_ATTR_PACKED VDAgentFileXferDataMessage {
- uint32_t id;
- uint64_t size;
- uint8_t data[0];
+ uint32_t id;
+ uint64_t size;
+ uint8_t data[0];
} VDAgentFileXferDataMessage;
typedef struct SPICE_ATTR_PACKED VDAgentMonConfig {
More information about the Spice-commits
mailing list