blob: 8ca736eba08cf9dd3cb9c8019f5cdcba19cacc4f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
#ifndef H_SPICE_COMMON_TEST_MARSHALLERS
#define H_SPICE_COMMON_TEST_MARSHALLERS
#include <stdint.h>
typedef struct {
uint32_t data_size;
uint8_t dummy_byte;
uint64_t *data;
} SpiceMsgMainShortDataSubMarshall;
typedef struct {
int8_t name[0];
} SpiceMsgMainArrayMessage;
typedef struct {
uint16_t n;
} SpiceMsgMainZeroes;
typedef struct SpiceMsgChannels {
uint32_t num_of_channels;
uint16_t channels[0];
} SpiceMsgChannels;
typedef struct {
uint32_t dummy[2];
uint8_t data[0];
} SpiceMsgMainLenMessage;
#endif /* H_SPICE_COMMON_TEST_MARSHALLERS */
|