blob: c1b8a92da45129837a5b16154257cd044e7b6512 (
plain) (
blame)
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
|
/* See LICENSE file for copyright and license details. */
#define LIBAXL_ERROR 0
struct libaxl_error_request {
#define LIBAXL_ERROR_REQUEST 1
uint8_t __zero;
uint8_t code;
uint16_t sequence_number;
uint32_t __unused1;
uint16_t minor_opcode;
uint8_t major_opcode;
uint8_t __unused[21];
};
struct libaxl_error_value {
#define LIBAXL_ERROR_VALUE 2
uint8_t __zero;
uint8_t code;
uint16_t sequence_number;
uint32_t bad_value;
uint16_t minor_opcode;
uint8_t major_opcode;
uint8_t __unused[21];
};
struct libaxl_error_window {
#define LIBAXL_ERROR_WINDOW 3
uint8_t __zero;
uint8_t code;
uint16_t sequence_number;
uint32_t bad_resource_id;
uint16_t minor_opcode;
uint8_t major_opcode;
uint8_t __unused[21];
};
struct libaxl_error_pixmap {
#define LIBAXL_ERROR_PIXMAP 4
uint8_t __zero;
uint8_t code;
uint16_t sequence_number;
uint32_t bad_resource_id;
uint16_t minor_opcode;
uint8_t major_opcode;
uint8_t __unused[21];
};
struct libaxl_error_atom {
#define LIBAXL_ERROR_ATOM 5
uint8_t __zero;
uint8_t code;
uint16_t sequence_number;
uint32_t bad_resource_id;
uint16_t minor_opcode;
uint8_t major_opcode;
uint8_t __unused[21];
};
struct libaxl_error_cursor {
#define LIBAXL_ERROR_CURSOR 6
uint8_t __zero;
uint8_t code;
uint16_t sequence_number;
uint32_t bad_resource_id;
uint16_t minor_opcode;
uint8_t major_opcode;
uint8_t __unused[21];
};
struct libaxl_error_font {
#define LIBAXL_ERROR_FONT 7
uint8_t __zero;
uint8_t code;
uint16_t sequence_number;
uint32_t bad_resource_id;
uint16_t minor_opcode;
uint8_t major_opcode;
uint8_t __unused[21];
};
struct libaxl_error_match {
#define LIBAXL_ERROR_MATCH 8
uint8_t __zero;
uint8_t code;
uint16_t sequence_number;
uint32_t __unused1;
uint16_t minor_opcode;
uint8_t major_opcode;
uint8_t __unused[21];
};
struct libaxl_error_drawable {
#define LIBAXL_ERROR_DRAWABLE 9
uint8_t __zero;
uint8_t code;
uint16_t sequence_number;
uint32_t bad_resource_id;
uint16_t minor_opcode;
uint8_t major_opcode;
uint8_t __unused[21];
};
struct libaxl_error_access {
#define LIBAXL_ERROR_ACCESS 10
uint8_t __zero;
uint8_t code;
uint16_t sequence_number;
uint32_t __unused1;
uint16_t minor_opcode;
uint8_t major_opcode;
uint8_t __unused[21];
};
struct libaxl_error_alloc {
#define LIBAXL_ERROR_ALLOC 11
uint8_t __zero;
uint8_t code;
uint16_t sequence_number;
uint32_t __unused1;
uint16_t minor_opcode;
uint8_t major_opcode;
uint8_t __unused[21];
};
struct libaxl_error_colormap {
#define LIBAXL_ERROR_COLORMAP 12
uint8_t __zero;
uint8_t code;
uint16_t sequence_number;
uint32_t bad_resource_id;
uint16_t minor_opcode;
uint8_t major_opcode;
uint8_t __unused[21];
};
struct libaxl_error_gcontext {
#define LIBAXL_ERROR_GCONTEXT 13
uint8_t __zero;
uint8_t code;
uint16_t sequence_number;
uint32_t bad_resource_id;
uint16_t minor_opcode;
uint8_t major_opcode;
uint8_t __unused[21];
};
struct libaxl_error_id_choice {
#define LIBAXL_ERROR_ID_CHOICE 14
uint8_t __zero;
uint8_t code;
uint16_t sequence_number;
uint32_t bad_resource_id;
uint16_t minor_opcode;
uint8_t major_opcode;
uint8_t __unused[21];
};
struct libaxl_error_name {
#define LIBAXL_ERROR_NAME 15
uint8_t __zero;
uint8_t code;
uint16_t sequence_number;
uint32_t __unused1;
uint16_t minor_opcode;
uint8_t major_opcode;
uint8_t __unused[21];
};
struct libaxl_error_length {
#define LIBAXL_ERROR_LENGTH 16
uint8_t __zero;
uint8_t code;
uint16_t sequence_number;
uint32_t __unused1;
uint16_t minor_opcode;
uint8_t major_opcode;
uint8_t __unused[21];
};
struct libaxl_error_implementation {
#define LIBAXL_ERROR_IMPLEMENTATION 17
uint8_t __zero;
uint8_t code;
uint16_t sequence_number;
uint32_t __unused1;
uint16_t minor_opcode;
uint8_t major_opcode;
uint8_t __unused[21];
};
union libaxl_error {
struct {
uint8_t __zero;
uint8_t code;
uint16_t sequence_number;
uint32_t __detail;
uint16_t minor_opcode;
uint8_t major_opcode;
};
#include "libaxl-errors-structs.h"
};
|