spice-common/tests/test-marshallers.h
Frediano Ziglio 2b5cadcd8a test-marshallers: Check for "zero" attribute
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>
2018-07-03 12:25:31 +01:00

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 */