summaryrefslogtreecommitdiffstats
path: root/server/red_parse_qxl.h
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2010-06-24 11:54:36 +0200
committerGerd Hoffmann <kraxel@redhat.com>2010-06-29 12:30:20 +0200
commit5de492e930ebe7597279b7392e14fe1d0653c94c (patch)
tree99eec8f03e8b0c513b90cf6ad22be39ca31cbfaa /server/red_parse_qxl.h
parentfada35a173996ff24aa081112d37cfa7292cabe3 (diff)
downloadspice-5de492e930ebe7597279b7392e14fe1d0653c94c.tar.gz
spice-5de492e930ebe7597279b7392e14fe1d0653c94c.tar.xz
spice-5de492e930ebe7597279b7392e14fe1d0653c94c.zip
qxl abi: parse QXLMessage.
Diffstat (limited to 'server/red_parse_qxl.h')
-rw-r--r--server/red_parse_qxl.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/server/red_parse_qxl.h b/server/red_parse_qxl.h
index bc2dd4e9..b4baed86 100644
--- a/server/red_parse_qxl.h
+++ b/server/red_parse_qxl.h
@@ -60,6 +60,11 @@ typedef struct SPICE_ATTR_PACKED RedUpdateCmd {
uint32_t surface_id;
} RedUpdateCmd;
+typedef struct SPICE_ATTR_PACKED RedMessage {
+ QXLReleaseInfo *release_info;
+ uint8_t *data;
+} RedMessage;
+
void red_get_drawable(RedMemSlotInfo *slots, int group_id,
RedDrawable *red, SPICE_ADDRESS addr);
void red_get_compat_drawable(RedMemSlotInfo *slots, int group_id,
@@ -70,4 +75,8 @@ void red_get_update_cmd(RedMemSlotInfo *slots, int group_id,
RedUpdateCmd *red, SPICE_ADDRESS addr);
void red_put_update_cmd(RedUpdateCmd *red);
+void red_get_message(RedMemSlotInfo *slots, int group_id,
+ RedMessage *red, SPICE_ADDRESS addr);
+void red_put_message(RedMessage *red);
+
#endif