summaryrefslogtreecommitdiffstats
path: root/spice.proto
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2010-06-18 17:12:07 +0200
committerAlexander Larsson <alexl@redhat.com>2010-06-18 20:27:32 +0200
commit4ce4364f84a1b458b715f4c5fa83ea20fd26f749 (patch)
tree940cebe45d71099941b049a2221f0c4f6b85f4eb /spice.proto
parent3c8cb83af5cbe85e6ab41ec1c0b41c5a29230d9e (diff)
downloadspice-4ce4364f84a1b458b715f4c5fa83ea20fd26f749.tar.gz
spice-4ce4364f84a1b458b715f4c5fa83ea20fd26f749.tar.xz
spice-4ce4364f84a1b458b715f4c5fa83ea20fd26f749.zip
Make ping data @as_ptr to avoid copying data
Diffstat (limited to 'spice.proto')
-rw-r--r--spice.proto2
1 files changed, 1 insertions, 1 deletions
diff --git a/spice.proto b/spice.proto
index 6750d2d7..bad9ed3a 100644
--- a/spice.proto
+++ b/spice.proto
@@ -111,7 +111,7 @@ channel BaseChannel {
message {
uint32 id;
uint64 timestamp;
- uint8 data[] @end @ctype(uint8_t);
+ uint8 data[] @end @ctype(uint8_t) @as_ptr(data_len);
} ping;
message {