summaryrefslogtreecommitdiffstats
path: root/server/red_parse_qxl.h
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2010-06-24 17:38:35 +0200
committerGerd Hoffmann <kraxel@redhat.com>2010-06-30 22:34:47 +0200
commit905c6283d5f6c50ffe637f4dcb315c1345c0a0b2 (patch)
tree7dfd5fe41e409b297be091ebdadd510f24e5ec93 /server/red_parse_qxl.h
parent7627fba05d150257a3e933d6a9243eeb2cb12aeb (diff)
downloadspice-905c6283d5f6c50ffe637f4dcb315c1345c0a0b2.tar.gz
spice-905c6283d5f6c50ffe637f4dcb315c1345c0a0b2.tar.xz
spice-905c6283d5f6c50ffe637f4dcb315c1345c0a0b2.zip
add qxl chunk parser
Diffstat (limited to 'server/red_parse_qxl.h')
-rw-r--r--server/red_parse_qxl.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/server/red_parse_qxl.h b/server/red_parse_qxl.h
index aece6a9e..079cf065 100644
--- a/server/red_parse_qxl.h
+++ b/server/red_parse_qxl.h
@@ -67,6 +67,14 @@ typedef struct SPICE_ATTR_PACKED RedMessage {
uint8_t *data;
} RedMessage;
+typedef struct SPICE_ATTR_PACKED RedDataChunk RedDataChunk;
+struct SPICE_ATTR_PACKED RedDataChunk {
+ uint32_t data_size;
+ RedDataChunk *prev_chunk;
+ RedDataChunk *next_chunk;
+ uint8_t *data;
+};
+
typedef struct SPICE_ATTR_PACKED RedSurfaceCreate {
uint32_t format;
uint32_t width;