blob: 8470e382e4200dd2f1f5bdb020a759d51aedfcbe (
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
32
33
|
#ifndef H_SPICE_COMMON_TEST_MARSHALLERS
#define H_SPICE_COMMON_TEST_MARSHALLERS
#include <stdint.h>
#include "generated_test_messages.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 */
|