mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice-common
synced 2026-01-04 00:06:22 +00:00
Check the previous fix for "zero" attribute works correctly
(commit bc9df58162, "marshal: Fix a bug
with zero attribute").
Signed-off-by: Frediano Ziglio <fziglio@redhat.com>
Acked-by: Christophe Fergeau <cfergeau@redhat.com>
21 lines
326 B
C
21 lines
326 B
C
#include <stdint.h>
|
|
|
|
#ifndef _H_TEST_MARSHALLERS
|
|
|
|
typedef struct {
|
|
uint32_t data_size;
|
|
uint8_t dummy_byte;
|
|
uint64_t *data;
|
|
} SpiceMsgMainShortDataSubMarshall;
|
|
|
|
typedef struct {
|
|
int8_t *name;
|
|
} SpiceMsgMainArrayMessage;
|
|
|
|
typedef struct {
|
|
uint16_t n;
|
|
} SpiceMsgMainZeroes;
|
|
|
|
#endif /* _H_TEST_MARSHALLERS */
|
|
|