[client] spice: protocol updates for performance and agent support

Note: agent support is not complete at this point due to lack of documentation.
This commit is contained in:
Geoffrey McRae
2019-02-22 03:03:11 +11:00
parent 5bd748680f
commit 3df4bb3a54
3 changed files with 270 additions and 71 deletions

View File

@@ -132,4 +132,10 @@ typedef struct SpiceMsgcMousePress
SpiceMsgcMousePress,
SpiceMsgcMouseRelease;
// spice is missing these defines, the offical reference library incorrectly uses the VD defines
#define COMMON_CAPS_BYTES (((SPICE_COMMON_CAP_MINI_HEADER + 32) / 8) & ~3)
#define COMMON_SET_CAPABILITY(caps, index) \
{ (caps)[(index) / 32] |= (1 << ((index) % 32)); }
#pragma pack(pop)