mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice-protocol
synced 2025-12-28 16:29:54 +00:00
clipboard agent message added
This commit is contained in:
parent
a9bbc090a5
commit
a94a5b171a
@ -44,11 +44,13 @@ typedef struct SPICE_ATTR_PACKED VDAgentMessage {
|
||||
} VDAgentMessage;
|
||||
|
||||
#define VD_AGENT_PROTOCOL 1
|
||||
#define VD_AGENT_MAX_DATA_SIZE 2048
|
||||
|
||||
enum {
|
||||
VD_AGENT_MOUSE_STATE = 1,
|
||||
VD_AGENT_MONITORS_CONFIG,
|
||||
VD_AGENT_REPLY,
|
||||
VD_AGENT_CLIPBOARD,
|
||||
};
|
||||
|
||||
typedef struct SPICE_ATTR_PACKED VDAgentMonConfig {
|
||||
@ -92,6 +94,17 @@ enum {
|
||||
VD_AGENT_ERROR,
|
||||
};
|
||||
|
||||
//FIXME: size required?
|
||||
typedef struct SPICE_ATTR_PACKED VDAgentClipboard {
|
||||
uint32_t type;
|
||||
uint8_t data[0];
|
||||
} VDAgentClipboard;
|
||||
|
||||
enum {
|
||||
VD_AGENT_CLIPBOARD_UTF8_TEXT = 1,
|
||||
};
|
||||
|
||||
|
||||
#include <spice/end-packed.h>
|
||||
|
||||
#endif /* _H_VD_AGENT */
|
||||
|
||||
Loading…
Reference in New Issue
Block a user