mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice-protocol
synced 2025-12-26 22:55:30 +00:00
vd_agent: Fix indentation
Use 4 spaces, not 3. Signed-off-by: Frediano Ziglio <fziglio@redhat.com>
This commit is contained in:
parent
dfc27e60d7
commit
0ceb92087e
@ -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 {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user