summaryrefslogtreecommitdiffstats
path: root/server/red_parse_qxl.h
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2010-06-24 12:57:56 +0200
committerGerd Hoffmann <kraxel@redhat.com>2010-06-29 12:30:20 +0200
commite7ec85a08fab5be2488ae12fa5a99f96daaeb897 (patch)
tree41ae592048b66107874e3260648edab773c7b281 /server/red_parse_qxl.h
parente03e4f0fc9fc41ecfb9ea5bc3183ec9dc20eb426 (diff)
downloadspice-e7ec85a08fab5be2488ae12fa5a99f96daaeb897.tar.gz
spice-e7ec85a08fab5be2488ae12fa5a99f96daaeb897.tar.xz
spice-e7ec85a08fab5be2488ae12fa5a99f96daaeb897.zip
qxl abi: parse QXLCursorCmd.
Diffstat (limited to 'server/red_parse_qxl.h')
-rw-r--r--server/red_parse_qxl.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/server/red_parse_qxl.h b/server/red_parse_qxl.h
index 53381d6d..94a880e5 100644
--- a/server/red_parse_qxl.h
+++ b/server/red_parse_qxl.h
@@ -83,6 +83,24 @@ typedef struct SPICE_ATTR_PACKED RedSurfaceCmd {
} u;
} RedSurfaceCmd;
+typedef struct SPICE_ATTR_PACKED RedCursorCmd {
+ QXLReleaseInfo *release_info;
+ uint8_t type;
+ union {
+ struct SPICE_ATTR_PACKED {
+ SpicePoint16 position;
+ uint8_t visible;
+ SPICE_ADDRESS shape;
+ } set;
+ struct SPICE_ATTR_PACKED {
+ uint16_t length;
+ uint16_t frequency;
+ } trail;
+ SpicePoint16 position;
+ } u;
+ uint8_t *device_data;
+} RedCursorCmd;
+
void red_get_drawable(RedMemSlotInfo *slots, int group_id,
RedDrawable *red, SPICE_ADDRESS addr);
void red_get_compat_drawable(RedMemSlotInfo *slots, int group_id,
@@ -101,4 +119,8 @@ void red_get_surface_cmd(RedMemSlotInfo *slots, int group_id,
RedSurfaceCmd *red, SPICE_ADDRESS addr);
void red_put_surface_cmd(RedSurfaceCmd *red);
+void red_get_cursor_cmd(RedMemSlotInfo *slots, int group_id,
+ RedCursorCmd *red, SPICE_ADDRESS addr);
+void red_put_cursor_cmd(RedCursorCmd *red);
+
#endif