diff options
author | Pavel Grunt <pgrunt@redhat.com> | 2016-09-08 15:42:12 +0200 |
---|---|---|
committer | Pavel Grunt <pgrunt@redhat.com> | 2016-09-08 16:14:36 +0200 |
commit | d83bf4afd0ecea88d7e7fc1641d62e8fa3e08047 (patch) | |
tree | 0ad9ddcec0b53ce5f0b89e7bc42d450fa009611a | |
parent | 642308ececaf8ded152aa834366eb7561306fe4c (diff) |
proto: Use Empty keyword for empty message
No need to generate marshallers for it
-rw-r--r-- | common/messages.h | 3 | ||||
-rw-r--r-- | spice.proto | 3 |
2 files changed, 1 insertions, 5 deletions
diff --git a/common/messages.h b/common/messages.h index 516a345..c787166 100644 --- a/common/messages.h +++ b/common/messages.h @@ -386,9 +386,6 @@ typedef struct SpiceMsgcDisplayStreamReport { uint32_t audio_delay; } SpiceMsgcDisplayStreamReport; -typedef struct SpiceMsgcDisplayGlDrawDone { -} SpiceMsgcDisplayGlDrawDone; - typedef struct SpiceMsgCursorInit { SpicePoint16 position; uint16_t trail_length; diff --git a/spice.proto b/spice.proto index 0bfc515..3742ef1 100644 --- a/spice.proto +++ b/spice.proto @@ -983,8 +983,7 @@ channel DisplayChannel : BaseChannel { image_compression image_compression; } preferred_compression; - message { - } gl_draw_done; + Empty gl_draw_done; }; flags16 keyboard_modifier_flags { |