diff options
author | Alexander Larsson <alexl@redhat.com> | 2010-07-08 14:17:24 +0200 |
---|---|---|
committer | Alexander Larsson <alexl@redhat.com> | 2010-07-08 14:17:24 +0200 |
commit | 1d64d398447de90e12da7f6afacc05f07fa03b22 (patch) | |
tree | f800a6c9ff2fcdc9151087a3705400a3053ade9a /common/draw.h | |
parent | 0659fb78972b5e9d0dc90a0270ef1dd4b59042ec (diff) | |
download | spice-1d64d398447de90e12da7f6afacc05f07fa03b22.tar.gz spice-1d64d398447de90e12da7f6afacc05f07fa03b22.tar.xz spice-1d64d398447de90e12da7f6afacc05f07fa03b22.zip |
Move SpiceChunks to mem.h
Diffstat (limited to 'common/draw.h')
-rw-r--r-- | common/draw.h | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/common/draw.h b/common/draw.h index b8432a9b..79ca596a 100644 --- a/common/draw.h +++ b/common/draw.h @@ -33,6 +33,7 @@ #include <spice/types.h> #include <spice/enums.h> +#include <common/mem.h> #include <spice/start-packed.h> @@ -101,23 +102,6 @@ typedef struct SPICE_ATTR_PACKED SpiceImageDescriptor { uint32_t height; } SpiceImageDescriptor; -typedef struct SPICE_ATTR_PACKED SpiceChunk { - uint8_t *data; - uint32_t len; -} SpiceChunk; - -enum { - SPICE_CHUNKS_FLAGS_UNSTABLE = (1<<0), - SPICE_CHUNKS_FLAGS_FREE = (1<<1) -}; - -typedef struct SPICE_ATTR_PACKED SpiceChunks { - uint32_t data_size; - uint32_t num_chunks; - uint32_t flags; - SpiceChunk chunk[0]; -} SpiceChunks; - typedef struct SPICE_ATTR_PACKED SpiceBitmap { uint8_t format; uint8_t flags; |