jpayne@69
|
1 /*
|
jpayne@69
|
2 * This file generated automatically from xprint.xml by c_client.py.
|
jpayne@69
|
3 * Edit at your peril.
|
jpayne@69
|
4 */
|
jpayne@69
|
5
|
jpayne@69
|
6 /**
|
jpayne@69
|
7 * @defgroup XCB_XPrint_API XCB XPrint API
|
jpayne@69
|
8 * @brief XPrint XCB Protocol Implementation.
|
jpayne@69
|
9 * @{
|
jpayne@69
|
10 **/
|
jpayne@69
|
11
|
jpayne@69
|
12 #ifndef __XPRINT_H
|
jpayne@69
|
13 #define __XPRINT_H
|
jpayne@69
|
14
|
jpayne@69
|
15 #include "xcb.h"
|
jpayne@69
|
16 #include "xproto.h"
|
jpayne@69
|
17
|
jpayne@69
|
18 #ifdef __cplusplus
|
jpayne@69
|
19 extern "C" {
|
jpayne@69
|
20 #endif
|
jpayne@69
|
21
|
jpayne@69
|
22 #define XCB_XPRINT_MAJOR_VERSION 1
|
jpayne@69
|
23 #define XCB_XPRINT_MINOR_VERSION 0
|
jpayne@69
|
24
|
jpayne@69
|
25 extern xcb_extension_t xcb_x_print_id;
|
jpayne@69
|
26
|
jpayne@69
|
27 typedef char xcb_x_print_string8_t;
|
jpayne@69
|
28
|
jpayne@69
|
29 /**
|
jpayne@69
|
30 * @brief xcb_x_print_string8_iterator_t
|
jpayne@69
|
31 **/
|
jpayne@69
|
32 typedef struct xcb_x_print_string8_iterator_t {
|
jpayne@69
|
33 xcb_x_print_string8_t *data;
|
jpayne@69
|
34 int rem;
|
jpayne@69
|
35 int index;
|
jpayne@69
|
36 } xcb_x_print_string8_iterator_t;
|
jpayne@69
|
37
|
jpayne@69
|
38 /**
|
jpayne@69
|
39 * @brief xcb_x_print_printer_t
|
jpayne@69
|
40 **/
|
jpayne@69
|
41 typedef struct xcb_x_print_printer_t {
|
jpayne@69
|
42 uint32_t nameLen;
|
jpayne@69
|
43 uint32_t descLen;
|
jpayne@69
|
44 } xcb_x_print_printer_t;
|
jpayne@69
|
45
|
jpayne@69
|
46 /**
|
jpayne@69
|
47 * @brief xcb_x_print_printer_iterator_t
|
jpayne@69
|
48 **/
|
jpayne@69
|
49 typedef struct xcb_x_print_printer_iterator_t {
|
jpayne@69
|
50 xcb_x_print_printer_t *data;
|
jpayne@69
|
51 int rem;
|
jpayne@69
|
52 int index;
|
jpayne@69
|
53 } xcb_x_print_printer_iterator_t;
|
jpayne@69
|
54
|
jpayne@69
|
55 typedef uint32_t xcb_x_print_pcontext_t;
|
jpayne@69
|
56
|
jpayne@69
|
57 /**
|
jpayne@69
|
58 * @brief xcb_x_print_pcontext_iterator_t
|
jpayne@69
|
59 **/
|
jpayne@69
|
60 typedef struct xcb_x_print_pcontext_iterator_t {
|
jpayne@69
|
61 xcb_x_print_pcontext_t *data;
|
jpayne@69
|
62 int rem;
|
jpayne@69
|
63 int index;
|
jpayne@69
|
64 } xcb_x_print_pcontext_iterator_t;
|
jpayne@69
|
65
|
jpayne@69
|
66 typedef enum xcb_x_print_get_doc_t {
|
jpayne@69
|
67 XCB_X_PRINT_GET_DOC_FINISHED = 0,
|
jpayne@69
|
68 XCB_X_PRINT_GET_DOC_SECOND_CONSUMER = 1
|
jpayne@69
|
69 } xcb_x_print_get_doc_t;
|
jpayne@69
|
70
|
jpayne@69
|
71 typedef enum xcb_x_print_ev_mask_t {
|
jpayne@69
|
72 XCB_X_PRINT_EV_MASK_NO_EVENT_MASK = 0,
|
jpayne@69
|
73 XCB_X_PRINT_EV_MASK_PRINT_MASK = 1,
|
jpayne@69
|
74 XCB_X_PRINT_EV_MASK_ATTRIBUTE_MASK = 2
|
jpayne@69
|
75 } xcb_x_print_ev_mask_t;
|
jpayne@69
|
76
|
jpayne@69
|
77 typedef enum xcb_x_print_detail_t {
|
jpayne@69
|
78 XCB_X_PRINT_DETAIL_START_JOB_NOTIFY = 1,
|
jpayne@69
|
79 XCB_X_PRINT_DETAIL_END_JOB_NOTIFY = 2,
|
jpayne@69
|
80 XCB_X_PRINT_DETAIL_START_DOC_NOTIFY = 3,
|
jpayne@69
|
81 XCB_X_PRINT_DETAIL_END_DOC_NOTIFY = 4,
|
jpayne@69
|
82 XCB_X_PRINT_DETAIL_START_PAGE_NOTIFY = 5,
|
jpayne@69
|
83 XCB_X_PRINT_DETAIL_END_PAGE_NOTIFY = 6
|
jpayne@69
|
84 } xcb_x_print_detail_t;
|
jpayne@69
|
85
|
jpayne@69
|
86 typedef enum xcb_x_print_attr_t {
|
jpayne@69
|
87 XCB_X_PRINT_ATTR_JOB_ATTR = 1,
|
jpayne@69
|
88 XCB_X_PRINT_ATTR_DOC_ATTR = 2,
|
jpayne@69
|
89 XCB_X_PRINT_ATTR_PAGE_ATTR = 3,
|
jpayne@69
|
90 XCB_X_PRINT_ATTR_PRINTER_ATTR = 4,
|
jpayne@69
|
91 XCB_X_PRINT_ATTR_SERVER_ATTR = 5,
|
jpayne@69
|
92 XCB_X_PRINT_ATTR_MEDIUM_ATTR = 6,
|
jpayne@69
|
93 XCB_X_PRINT_ATTR_SPOOLER_ATTR = 7
|
jpayne@69
|
94 } xcb_x_print_attr_t;
|
jpayne@69
|
95
|
jpayne@69
|
96 /**
|
jpayne@69
|
97 * @brief xcb_x_print_print_query_version_cookie_t
|
jpayne@69
|
98 **/
|
jpayne@69
|
99 typedef struct xcb_x_print_print_query_version_cookie_t {
|
jpayne@69
|
100 unsigned int sequence;
|
jpayne@69
|
101 } xcb_x_print_print_query_version_cookie_t;
|
jpayne@69
|
102
|
jpayne@69
|
103 /** Opcode for xcb_x_print_print_query_version. */
|
jpayne@69
|
104 #define XCB_X_PRINT_PRINT_QUERY_VERSION 0
|
jpayne@69
|
105
|
jpayne@69
|
106 /**
|
jpayne@69
|
107 * @brief xcb_x_print_print_query_version_request_t
|
jpayne@69
|
108 **/
|
jpayne@69
|
109 typedef struct xcb_x_print_print_query_version_request_t {
|
jpayne@69
|
110 uint8_t major_opcode;
|
jpayne@69
|
111 uint8_t minor_opcode;
|
jpayne@69
|
112 uint16_t length;
|
jpayne@69
|
113 } xcb_x_print_print_query_version_request_t;
|
jpayne@69
|
114
|
jpayne@69
|
115 /**
|
jpayne@69
|
116 * @brief xcb_x_print_print_query_version_reply_t
|
jpayne@69
|
117 **/
|
jpayne@69
|
118 typedef struct xcb_x_print_print_query_version_reply_t {
|
jpayne@69
|
119 uint8_t response_type;
|
jpayne@69
|
120 uint8_t pad0;
|
jpayne@69
|
121 uint16_t sequence;
|
jpayne@69
|
122 uint32_t length;
|
jpayne@69
|
123 uint16_t major_version;
|
jpayne@69
|
124 uint16_t minor_version;
|
jpayne@69
|
125 } xcb_x_print_print_query_version_reply_t;
|
jpayne@69
|
126
|
jpayne@69
|
127 /**
|
jpayne@69
|
128 * @brief xcb_x_print_print_get_printer_list_cookie_t
|
jpayne@69
|
129 **/
|
jpayne@69
|
130 typedef struct xcb_x_print_print_get_printer_list_cookie_t {
|
jpayne@69
|
131 unsigned int sequence;
|
jpayne@69
|
132 } xcb_x_print_print_get_printer_list_cookie_t;
|
jpayne@69
|
133
|
jpayne@69
|
134 /** Opcode for xcb_x_print_print_get_printer_list. */
|
jpayne@69
|
135 #define XCB_X_PRINT_PRINT_GET_PRINTER_LIST 1
|
jpayne@69
|
136
|
jpayne@69
|
137 /**
|
jpayne@69
|
138 * @brief xcb_x_print_print_get_printer_list_request_t
|
jpayne@69
|
139 **/
|
jpayne@69
|
140 typedef struct xcb_x_print_print_get_printer_list_request_t {
|
jpayne@69
|
141 uint8_t major_opcode;
|
jpayne@69
|
142 uint8_t minor_opcode;
|
jpayne@69
|
143 uint16_t length;
|
jpayne@69
|
144 uint32_t printerNameLen;
|
jpayne@69
|
145 uint32_t localeLen;
|
jpayne@69
|
146 } xcb_x_print_print_get_printer_list_request_t;
|
jpayne@69
|
147
|
jpayne@69
|
148 /**
|
jpayne@69
|
149 * @brief xcb_x_print_print_get_printer_list_reply_t
|
jpayne@69
|
150 **/
|
jpayne@69
|
151 typedef struct xcb_x_print_print_get_printer_list_reply_t {
|
jpayne@69
|
152 uint8_t response_type;
|
jpayne@69
|
153 uint8_t pad0;
|
jpayne@69
|
154 uint16_t sequence;
|
jpayne@69
|
155 uint32_t length;
|
jpayne@69
|
156 uint32_t listCount;
|
jpayne@69
|
157 uint8_t pad1[20];
|
jpayne@69
|
158 } xcb_x_print_print_get_printer_list_reply_t;
|
jpayne@69
|
159
|
jpayne@69
|
160 /** Opcode for xcb_x_print_print_rehash_printer_list. */
|
jpayne@69
|
161 #define XCB_X_PRINT_PRINT_REHASH_PRINTER_LIST 20
|
jpayne@69
|
162
|
jpayne@69
|
163 /**
|
jpayne@69
|
164 * @brief xcb_x_print_print_rehash_printer_list_request_t
|
jpayne@69
|
165 **/
|
jpayne@69
|
166 typedef struct xcb_x_print_print_rehash_printer_list_request_t {
|
jpayne@69
|
167 uint8_t major_opcode;
|
jpayne@69
|
168 uint8_t minor_opcode;
|
jpayne@69
|
169 uint16_t length;
|
jpayne@69
|
170 } xcb_x_print_print_rehash_printer_list_request_t;
|
jpayne@69
|
171
|
jpayne@69
|
172 /** Opcode for xcb_x_print_create_context. */
|
jpayne@69
|
173 #define XCB_X_PRINT_CREATE_CONTEXT 2
|
jpayne@69
|
174
|
jpayne@69
|
175 /**
|
jpayne@69
|
176 * @brief xcb_x_print_create_context_request_t
|
jpayne@69
|
177 **/
|
jpayne@69
|
178 typedef struct xcb_x_print_create_context_request_t {
|
jpayne@69
|
179 uint8_t major_opcode;
|
jpayne@69
|
180 uint8_t minor_opcode;
|
jpayne@69
|
181 uint16_t length;
|
jpayne@69
|
182 uint32_t context_id;
|
jpayne@69
|
183 uint32_t printerNameLen;
|
jpayne@69
|
184 uint32_t localeLen;
|
jpayne@69
|
185 } xcb_x_print_create_context_request_t;
|
jpayne@69
|
186
|
jpayne@69
|
187 /** Opcode for xcb_x_print_print_set_context. */
|
jpayne@69
|
188 #define XCB_X_PRINT_PRINT_SET_CONTEXT 3
|
jpayne@69
|
189
|
jpayne@69
|
190 /**
|
jpayne@69
|
191 * @brief xcb_x_print_print_set_context_request_t
|
jpayne@69
|
192 **/
|
jpayne@69
|
193 typedef struct xcb_x_print_print_set_context_request_t {
|
jpayne@69
|
194 uint8_t major_opcode;
|
jpayne@69
|
195 uint8_t minor_opcode;
|
jpayne@69
|
196 uint16_t length;
|
jpayne@69
|
197 uint32_t context;
|
jpayne@69
|
198 } xcb_x_print_print_set_context_request_t;
|
jpayne@69
|
199
|
jpayne@69
|
200 /**
|
jpayne@69
|
201 * @brief xcb_x_print_print_get_context_cookie_t
|
jpayne@69
|
202 **/
|
jpayne@69
|
203 typedef struct xcb_x_print_print_get_context_cookie_t {
|
jpayne@69
|
204 unsigned int sequence;
|
jpayne@69
|
205 } xcb_x_print_print_get_context_cookie_t;
|
jpayne@69
|
206
|
jpayne@69
|
207 /** Opcode for xcb_x_print_print_get_context. */
|
jpayne@69
|
208 #define XCB_X_PRINT_PRINT_GET_CONTEXT 4
|
jpayne@69
|
209
|
jpayne@69
|
210 /**
|
jpayne@69
|
211 * @brief xcb_x_print_print_get_context_request_t
|
jpayne@69
|
212 **/
|
jpayne@69
|
213 typedef struct xcb_x_print_print_get_context_request_t {
|
jpayne@69
|
214 uint8_t major_opcode;
|
jpayne@69
|
215 uint8_t minor_opcode;
|
jpayne@69
|
216 uint16_t length;
|
jpayne@69
|
217 } xcb_x_print_print_get_context_request_t;
|
jpayne@69
|
218
|
jpayne@69
|
219 /**
|
jpayne@69
|
220 * @brief xcb_x_print_print_get_context_reply_t
|
jpayne@69
|
221 **/
|
jpayne@69
|
222 typedef struct xcb_x_print_print_get_context_reply_t {
|
jpayne@69
|
223 uint8_t response_type;
|
jpayne@69
|
224 uint8_t pad0;
|
jpayne@69
|
225 uint16_t sequence;
|
jpayne@69
|
226 uint32_t length;
|
jpayne@69
|
227 uint32_t context;
|
jpayne@69
|
228 } xcb_x_print_print_get_context_reply_t;
|
jpayne@69
|
229
|
jpayne@69
|
230 /** Opcode for xcb_x_print_print_destroy_context. */
|
jpayne@69
|
231 #define XCB_X_PRINT_PRINT_DESTROY_CONTEXT 5
|
jpayne@69
|
232
|
jpayne@69
|
233 /**
|
jpayne@69
|
234 * @brief xcb_x_print_print_destroy_context_request_t
|
jpayne@69
|
235 **/
|
jpayne@69
|
236 typedef struct xcb_x_print_print_destroy_context_request_t {
|
jpayne@69
|
237 uint8_t major_opcode;
|
jpayne@69
|
238 uint8_t minor_opcode;
|
jpayne@69
|
239 uint16_t length;
|
jpayne@69
|
240 uint32_t context;
|
jpayne@69
|
241 } xcb_x_print_print_destroy_context_request_t;
|
jpayne@69
|
242
|
jpayne@69
|
243 /**
|
jpayne@69
|
244 * @brief xcb_x_print_print_get_screen_of_context_cookie_t
|
jpayne@69
|
245 **/
|
jpayne@69
|
246 typedef struct xcb_x_print_print_get_screen_of_context_cookie_t {
|
jpayne@69
|
247 unsigned int sequence;
|
jpayne@69
|
248 } xcb_x_print_print_get_screen_of_context_cookie_t;
|
jpayne@69
|
249
|
jpayne@69
|
250 /** Opcode for xcb_x_print_print_get_screen_of_context. */
|
jpayne@69
|
251 #define XCB_X_PRINT_PRINT_GET_SCREEN_OF_CONTEXT 6
|
jpayne@69
|
252
|
jpayne@69
|
253 /**
|
jpayne@69
|
254 * @brief xcb_x_print_print_get_screen_of_context_request_t
|
jpayne@69
|
255 **/
|
jpayne@69
|
256 typedef struct xcb_x_print_print_get_screen_of_context_request_t {
|
jpayne@69
|
257 uint8_t major_opcode;
|
jpayne@69
|
258 uint8_t minor_opcode;
|
jpayne@69
|
259 uint16_t length;
|
jpayne@69
|
260 } xcb_x_print_print_get_screen_of_context_request_t;
|
jpayne@69
|
261
|
jpayne@69
|
262 /**
|
jpayne@69
|
263 * @brief xcb_x_print_print_get_screen_of_context_reply_t
|
jpayne@69
|
264 **/
|
jpayne@69
|
265 typedef struct xcb_x_print_print_get_screen_of_context_reply_t {
|
jpayne@69
|
266 uint8_t response_type;
|
jpayne@69
|
267 uint8_t pad0;
|
jpayne@69
|
268 uint16_t sequence;
|
jpayne@69
|
269 uint32_t length;
|
jpayne@69
|
270 xcb_window_t root;
|
jpayne@69
|
271 } xcb_x_print_print_get_screen_of_context_reply_t;
|
jpayne@69
|
272
|
jpayne@69
|
273 /** Opcode for xcb_x_print_print_start_job. */
|
jpayne@69
|
274 #define XCB_X_PRINT_PRINT_START_JOB 7
|
jpayne@69
|
275
|
jpayne@69
|
276 /**
|
jpayne@69
|
277 * @brief xcb_x_print_print_start_job_request_t
|
jpayne@69
|
278 **/
|
jpayne@69
|
279 typedef struct xcb_x_print_print_start_job_request_t {
|
jpayne@69
|
280 uint8_t major_opcode;
|
jpayne@69
|
281 uint8_t minor_opcode;
|
jpayne@69
|
282 uint16_t length;
|
jpayne@69
|
283 uint8_t output_mode;
|
jpayne@69
|
284 } xcb_x_print_print_start_job_request_t;
|
jpayne@69
|
285
|
jpayne@69
|
286 /** Opcode for xcb_x_print_print_end_job. */
|
jpayne@69
|
287 #define XCB_X_PRINT_PRINT_END_JOB 8
|
jpayne@69
|
288
|
jpayne@69
|
289 /**
|
jpayne@69
|
290 * @brief xcb_x_print_print_end_job_request_t
|
jpayne@69
|
291 **/
|
jpayne@69
|
292 typedef struct xcb_x_print_print_end_job_request_t {
|
jpayne@69
|
293 uint8_t major_opcode;
|
jpayne@69
|
294 uint8_t minor_opcode;
|
jpayne@69
|
295 uint16_t length;
|
jpayne@69
|
296 uint8_t cancel;
|
jpayne@69
|
297 } xcb_x_print_print_end_job_request_t;
|
jpayne@69
|
298
|
jpayne@69
|
299 /** Opcode for xcb_x_print_print_start_doc. */
|
jpayne@69
|
300 #define XCB_X_PRINT_PRINT_START_DOC 9
|
jpayne@69
|
301
|
jpayne@69
|
302 /**
|
jpayne@69
|
303 * @brief xcb_x_print_print_start_doc_request_t
|
jpayne@69
|
304 **/
|
jpayne@69
|
305 typedef struct xcb_x_print_print_start_doc_request_t {
|
jpayne@69
|
306 uint8_t major_opcode;
|
jpayne@69
|
307 uint8_t minor_opcode;
|
jpayne@69
|
308 uint16_t length;
|
jpayne@69
|
309 uint8_t driver_mode;
|
jpayne@69
|
310 } xcb_x_print_print_start_doc_request_t;
|
jpayne@69
|
311
|
jpayne@69
|
312 /** Opcode for xcb_x_print_print_end_doc. */
|
jpayne@69
|
313 #define XCB_X_PRINT_PRINT_END_DOC 10
|
jpayne@69
|
314
|
jpayne@69
|
315 /**
|
jpayne@69
|
316 * @brief xcb_x_print_print_end_doc_request_t
|
jpayne@69
|
317 **/
|
jpayne@69
|
318 typedef struct xcb_x_print_print_end_doc_request_t {
|
jpayne@69
|
319 uint8_t major_opcode;
|
jpayne@69
|
320 uint8_t minor_opcode;
|
jpayne@69
|
321 uint16_t length;
|
jpayne@69
|
322 uint8_t cancel;
|
jpayne@69
|
323 } xcb_x_print_print_end_doc_request_t;
|
jpayne@69
|
324
|
jpayne@69
|
325 /** Opcode for xcb_x_print_print_put_document_data. */
|
jpayne@69
|
326 #define XCB_X_PRINT_PRINT_PUT_DOCUMENT_DATA 11
|
jpayne@69
|
327
|
jpayne@69
|
328 /**
|
jpayne@69
|
329 * @brief xcb_x_print_print_put_document_data_request_t
|
jpayne@69
|
330 **/
|
jpayne@69
|
331 typedef struct xcb_x_print_print_put_document_data_request_t {
|
jpayne@69
|
332 uint8_t major_opcode;
|
jpayne@69
|
333 uint8_t minor_opcode;
|
jpayne@69
|
334 uint16_t length;
|
jpayne@69
|
335 xcb_drawable_t drawable;
|
jpayne@69
|
336 uint32_t len_data;
|
jpayne@69
|
337 uint16_t len_fmt;
|
jpayne@69
|
338 uint16_t len_options;
|
jpayne@69
|
339 } xcb_x_print_print_put_document_data_request_t;
|
jpayne@69
|
340
|
jpayne@69
|
341 /**
|
jpayne@69
|
342 * @brief xcb_x_print_print_get_document_data_cookie_t
|
jpayne@69
|
343 **/
|
jpayne@69
|
344 typedef struct xcb_x_print_print_get_document_data_cookie_t {
|
jpayne@69
|
345 unsigned int sequence;
|
jpayne@69
|
346 } xcb_x_print_print_get_document_data_cookie_t;
|
jpayne@69
|
347
|
jpayne@69
|
348 /** Opcode for xcb_x_print_print_get_document_data. */
|
jpayne@69
|
349 #define XCB_X_PRINT_PRINT_GET_DOCUMENT_DATA 12
|
jpayne@69
|
350
|
jpayne@69
|
351 /**
|
jpayne@69
|
352 * @brief xcb_x_print_print_get_document_data_request_t
|
jpayne@69
|
353 **/
|
jpayne@69
|
354 typedef struct xcb_x_print_print_get_document_data_request_t {
|
jpayne@69
|
355 uint8_t major_opcode;
|
jpayne@69
|
356 uint8_t minor_opcode;
|
jpayne@69
|
357 uint16_t length;
|
jpayne@69
|
358 xcb_x_print_pcontext_t context;
|
jpayne@69
|
359 uint32_t max_bytes;
|
jpayne@69
|
360 } xcb_x_print_print_get_document_data_request_t;
|
jpayne@69
|
361
|
jpayne@69
|
362 /**
|
jpayne@69
|
363 * @brief xcb_x_print_print_get_document_data_reply_t
|
jpayne@69
|
364 **/
|
jpayne@69
|
365 typedef struct xcb_x_print_print_get_document_data_reply_t {
|
jpayne@69
|
366 uint8_t response_type;
|
jpayne@69
|
367 uint8_t pad0;
|
jpayne@69
|
368 uint16_t sequence;
|
jpayne@69
|
369 uint32_t length;
|
jpayne@69
|
370 uint32_t status_code;
|
jpayne@69
|
371 uint32_t finished_flag;
|
jpayne@69
|
372 uint32_t dataLen;
|
jpayne@69
|
373 uint8_t pad1[12];
|
jpayne@69
|
374 } xcb_x_print_print_get_document_data_reply_t;
|
jpayne@69
|
375
|
jpayne@69
|
376 /** Opcode for xcb_x_print_print_start_page. */
|
jpayne@69
|
377 #define XCB_X_PRINT_PRINT_START_PAGE 13
|
jpayne@69
|
378
|
jpayne@69
|
379 /**
|
jpayne@69
|
380 * @brief xcb_x_print_print_start_page_request_t
|
jpayne@69
|
381 **/
|
jpayne@69
|
382 typedef struct xcb_x_print_print_start_page_request_t {
|
jpayne@69
|
383 uint8_t major_opcode;
|
jpayne@69
|
384 uint8_t minor_opcode;
|
jpayne@69
|
385 uint16_t length;
|
jpayne@69
|
386 xcb_window_t window;
|
jpayne@69
|
387 } xcb_x_print_print_start_page_request_t;
|
jpayne@69
|
388
|
jpayne@69
|
389 /** Opcode for xcb_x_print_print_end_page. */
|
jpayne@69
|
390 #define XCB_X_PRINT_PRINT_END_PAGE 14
|
jpayne@69
|
391
|
jpayne@69
|
392 /**
|
jpayne@69
|
393 * @brief xcb_x_print_print_end_page_request_t
|
jpayne@69
|
394 **/
|
jpayne@69
|
395 typedef struct xcb_x_print_print_end_page_request_t {
|
jpayne@69
|
396 uint8_t major_opcode;
|
jpayne@69
|
397 uint8_t minor_opcode;
|
jpayne@69
|
398 uint16_t length;
|
jpayne@69
|
399 uint8_t cancel;
|
jpayne@69
|
400 uint8_t pad0[3];
|
jpayne@69
|
401 } xcb_x_print_print_end_page_request_t;
|
jpayne@69
|
402
|
jpayne@69
|
403 /** Opcode for xcb_x_print_print_select_input. */
|
jpayne@69
|
404 #define XCB_X_PRINT_PRINT_SELECT_INPUT 15
|
jpayne@69
|
405
|
jpayne@69
|
406 /**
|
jpayne@69
|
407 * @brief xcb_x_print_print_select_input_request_t
|
jpayne@69
|
408 **/
|
jpayne@69
|
409 typedef struct xcb_x_print_print_select_input_request_t {
|
jpayne@69
|
410 uint8_t major_opcode;
|
jpayne@69
|
411 uint8_t minor_opcode;
|
jpayne@69
|
412 uint16_t length;
|
jpayne@69
|
413 xcb_x_print_pcontext_t context;
|
jpayne@69
|
414 uint32_t event_mask;
|
jpayne@69
|
415 } xcb_x_print_print_select_input_request_t;
|
jpayne@69
|
416
|
jpayne@69
|
417 /**
|
jpayne@69
|
418 * @brief xcb_x_print_print_input_selected_cookie_t
|
jpayne@69
|
419 **/
|
jpayne@69
|
420 typedef struct xcb_x_print_print_input_selected_cookie_t {
|
jpayne@69
|
421 unsigned int sequence;
|
jpayne@69
|
422 } xcb_x_print_print_input_selected_cookie_t;
|
jpayne@69
|
423
|
jpayne@69
|
424 /** Opcode for xcb_x_print_print_input_selected. */
|
jpayne@69
|
425 #define XCB_X_PRINT_PRINT_INPUT_SELECTED 16
|
jpayne@69
|
426
|
jpayne@69
|
427 /**
|
jpayne@69
|
428 * @brief xcb_x_print_print_input_selected_request_t
|
jpayne@69
|
429 **/
|
jpayne@69
|
430 typedef struct xcb_x_print_print_input_selected_request_t {
|
jpayne@69
|
431 uint8_t major_opcode;
|
jpayne@69
|
432 uint8_t minor_opcode;
|
jpayne@69
|
433 uint16_t length;
|
jpayne@69
|
434 xcb_x_print_pcontext_t context;
|
jpayne@69
|
435 } xcb_x_print_print_input_selected_request_t;
|
jpayne@69
|
436
|
jpayne@69
|
437 /**
|
jpayne@69
|
438 * @brief xcb_x_print_print_input_selected_reply_t
|
jpayne@69
|
439 **/
|
jpayne@69
|
440 typedef struct xcb_x_print_print_input_selected_reply_t {
|
jpayne@69
|
441 uint8_t response_type;
|
jpayne@69
|
442 uint8_t pad0;
|
jpayne@69
|
443 uint16_t sequence;
|
jpayne@69
|
444 uint32_t length;
|
jpayne@69
|
445 uint32_t event_mask;
|
jpayne@69
|
446 uint32_t all_events_mask;
|
jpayne@69
|
447 } xcb_x_print_print_input_selected_reply_t;
|
jpayne@69
|
448
|
jpayne@69
|
449 /**
|
jpayne@69
|
450 * @brief xcb_x_print_print_get_attributes_cookie_t
|
jpayne@69
|
451 **/
|
jpayne@69
|
452 typedef struct xcb_x_print_print_get_attributes_cookie_t {
|
jpayne@69
|
453 unsigned int sequence;
|
jpayne@69
|
454 } xcb_x_print_print_get_attributes_cookie_t;
|
jpayne@69
|
455
|
jpayne@69
|
456 /** Opcode for xcb_x_print_print_get_attributes. */
|
jpayne@69
|
457 #define XCB_X_PRINT_PRINT_GET_ATTRIBUTES 17
|
jpayne@69
|
458
|
jpayne@69
|
459 /**
|
jpayne@69
|
460 * @brief xcb_x_print_print_get_attributes_request_t
|
jpayne@69
|
461 **/
|
jpayne@69
|
462 typedef struct xcb_x_print_print_get_attributes_request_t {
|
jpayne@69
|
463 uint8_t major_opcode;
|
jpayne@69
|
464 uint8_t minor_opcode;
|
jpayne@69
|
465 uint16_t length;
|
jpayne@69
|
466 xcb_x_print_pcontext_t context;
|
jpayne@69
|
467 uint8_t pool;
|
jpayne@69
|
468 uint8_t pad0[3];
|
jpayne@69
|
469 } xcb_x_print_print_get_attributes_request_t;
|
jpayne@69
|
470
|
jpayne@69
|
471 /**
|
jpayne@69
|
472 * @brief xcb_x_print_print_get_attributes_reply_t
|
jpayne@69
|
473 **/
|
jpayne@69
|
474 typedef struct xcb_x_print_print_get_attributes_reply_t {
|
jpayne@69
|
475 uint8_t response_type;
|
jpayne@69
|
476 uint8_t pad0;
|
jpayne@69
|
477 uint16_t sequence;
|
jpayne@69
|
478 uint32_t length;
|
jpayne@69
|
479 uint32_t stringLen;
|
jpayne@69
|
480 uint8_t pad1[20];
|
jpayne@69
|
481 } xcb_x_print_print_get_attributes_reply_t;
|
jpayne@69
|
482
|
jpayne@69
|
483 /**
|
jpayne@69
|
484 * @brief xcb_x_print_print_get_one_attributes_cookie_t
|
jpayne@69
|
485 **/
|
jpayne@69
|
486 typedef struct xcb_x_print_print_get_one_attributes_cookie_t {
|
jpayne@69
|
487 unsigned int sequence;
|
jpayne@69
|
488 } xcb_x_print_print_get_one_attributes_cookie_t;
|
jpayne@69
|
489
|
jpayne@69
|
490 /** Opcode for xcb_x_print_print_get_one_attributes. */
|
jpayne@69
|
491 #define XCB_X_PRINT_PRINT_GET_ONE_ATTRIBUTES 19
|
jpayne@69
|
492
|
jpayne@69
|
493 /**
|
jpayne@69
|
494 * @brief xcb_x_print_print_get_one_attributes_request_t
|
jpayne@69
|
495 **/
|
jpayne@69
|
496 typedef struct xcb_x_print_print_get_one_attributes_request_t {
|
jpayne@69
|
497 uint8_t major_opcode;
|
jpayne@69
|
498 uint8_t minor_opcode;
|
jpayne@69
|
499 uint16_t length;
|
jpayne@69
|
500 xcb_x_print_pcontext_t context;
|
jpayne@69
|
501 uint32_t nameLen;
|
jpayne@69
|
502 uint8_t pool;
|
jpayne@69
|
503 uint8_t pad0[3];
|
jpayne@69
|
504 } xcb_x_print_print_get_one_attributes_request_t;
|
jpayne@69
|
505
|
jpayne@69
|
506 /**
|
jpayne@69
|
507 * @brief xcb_x_print_print_get_one_attributes_reply_t
|
jpayne@69
|
508 **/
|
jpayne@69
|
509 typedef struct xcb_x_print_print_get_one_attributes_reply_t {
|
jpayne@69
|
510 uint8_t response_type;
|
jpayne@69
|
511 uint8_t pad0;
|
jpayne@69
|
512 uint16_t sequence;
|
jpayne@69
|
513 uint32_t length;
|
jpayne@69
|
514 uint32_t valueLen;
|
jpayne@69
|
515 uint8_t pad1[20];
|
jpayne@69
|
516 } xcb_x_print_print_get_one_attributes_reply_t;
|
jpayne@69
|
517
|
jpayne@69
|
518 /** Opcode for xcb_x_print_print_set_attributes. */
|
jpayne@69
|
519 #define XCB_X_PRINT_PRINT_SET_ATTRIBUTES 18
|
jpayne@69
|
520
|
jpayne@69
|
521 /**
|
jpayne@69
|
522 * @brief xcb_x_print_print_set_attributes_request_t
|
jpayne@69
|
523 **/
|
jpayne@69
|
524 typedef struct xcb_x_print_print_set_attributes_request_t {
|
jpayne@69
|
525 uint8_t major_opcode;
|
jpayne@69
|
526 uint8_t minor_opcode;
|
jpayne@69
|
527 uint16_t length;
|
jpayne@69
|
528 xcb_x_print_pcontext_t context;
|
jpayne@69
|
529 uint32_t stringLen;
|
jpayne@69
|
530 uint8_t pool;
|
jpayne@69
|
531 uint8_t rule;
|
jpayne@69
|
532 uint8_t pad0[2];
|
jpayne@69
|
533 } xcb_x_print_print_set_attributes_request_t;
|
jpayne@69
|
534
|
jpayne@69
|
535 /**
|
jpayne@69
|
536 * @brief xcb_x_print_print_get_page_dimensions_cookie_t
|
jpayne@69
|
537 **/
|
jpayne@69
|
538 typedef struct xcb_x_print_print_get_page_dimensions_cookie_t {
|
jpayne@69
|
539 unsigned int sequence;
|
jpayne@69
|
540 } xcb_x_print_print_get_page_dimensions_cookie_t;
|
jpayne@69
|
541
|
jpayne@69
|
542 /** Opcode for xcb_x_print_print_get_page_dimensions. */
|
jpayne@69
|
543 #define XCB_X_PRINT_PRINT_GET_PAGE_DIMENSIONS 21
|
jpayne@69
|
544
|
jpayne@69
|
545 /**
|
jpayne@69
|
546 * @brief xcb_x_print_print_get_page_dimensions_request_t
|
jpayne@69
|
547 **/
|
jpayne@69
|
548 typedef struct xcb_x_print_print_get_page_dimensions_request_t {
|
jpayne@69
|
549 uint8_t major_opcode;
|
jpayne@69
|
550 uint8_t minor_opcode;
|
jpayne@69
|
551 uint16_t length;
|
jpayne@69
|
552 xcb_x_print_pcontext_t context;
|
jpayne@69
|
553 } xcb_x_print_print_get_page_dimensions_request_t;
|
jpayne@69
|
554
|
jpayne@69
|
555 /**
|
jpayne@69
|
556 * @brief xcb_x_print_print_get_page_dimensions_reply_t
|
jpayne@69
|
557 **/
|
jpayne@69
|
558 typedef struct xcb_x_print_print_get_page_dimensions_reply_t {
|
jpayne@69
|
559 uint8_t response_type;
|
jpayne@69
|
560 uint8_t pad0;
|
jpayne@69
|
561 uint16_t sequence;
|
jpayne@69
|
562 uint32_t length;
|
jpayne@69
|
563 uint16_t width;
|
jpayne@69
|
564 uint16_t height;
|
jpayne@69
|
565 uint16_t offset_x;
|
jpayne@69
|
566 uint16_t offset_y;
|
jpayne@69
|
567 uint16_t reproducible_width;
|
jpayne@69
|
568 uint16_t reproducible_height;
|
jpayne@69
|
569 } xcb_x_print_print_get_page_dimensions_reply_t;
|
jpayne@69
|
570
|
jpayne@69
|
571 /**
|
jpayne@69
|
572 * @brief xcb_x_print_print_query_screens_cookie_t
|
jpayne@69
|
573 **/
|
jpayne@69
|
574 typedef struct xcb_x_print_print_query_screens_cookie_t {
|
jpayne@69
|
575 unsigned int sequence;
|
jpayne@69
|
576 } xcb_x_print_print_query_screens_cookie_t;
|
jpayne@69
|
577
|
jpayne@69
|
578 /** Opcode for xcb_x_print_print_query_screens. */
|
jpayne@69
|
579 #define XCB_X_PRINT_PRINT_QUERY_SCREENS 22
|
jpayne@69
|
580
|
jpayne@69
|
581 /**
|
jpayne@69
|
582 * @brief xcb_x_print_print_query_screens_request_t
|
jpayne@69
|
583 **/
|
jpayne@69
|
584 typedef struct xcb_x_print_print_query_screens_request_t {
|
jpayne@69
|
585 uint8_t major_opcode;
|
jpayne@69
|
586 uint8_t minor_opcode;
|
jpayne@69
|
587 uint16_t length;
|
jpayne@69
|
588 } xcb_x_print_print_query_screens_request_t;
|
jpayne@69
|
589
|
jpayne@69
|
590 /**
|
jpayne@69
|
591 * @brief xcb_x_print_print_query_screens_reply_t
|
jpayne@69
|
592 **/
|
jpayne@69
|
593 typedef struct xcb_x_print_print_query_screens_reply_t {
|
jpayne@69
|
594 uint8_t response_type;
|
jpayne@69
|
595 uint8_t pad0;
|
jpayne@69
|
596 uint16_t sequence;
|
jpayne@69
|
597 uint32_t length;
|
jpayne@69
|
598 uint32_t listCount;
|
jpayne@69
|
599 uint8_t pad1[20];
|
jpayne@69
|
600 } xcb_x_print_print_query_screens_reply_t;
|
jpayne@69
|
601
|
jpayne@69
|
602 /**
|
jpayne@69
|
603 * @brief xcb_x_print_print_set_image_resolution_cookie_t
|
jpayne@69
|
604 **/
|
jpayne@69
|
605 typedef struct xcb_x_print_print_set_image_resolution_cookie_t {
|
jpayne@69
|
606 unsigned int sequence;
|
jpayne@69
|
607 } xcb_x_print_print_set_image_resolution_cookie_t;
|
jpayne@69
|
608
|
jpayne@69
|
609 /** Opcode for xcb_x_print_print_set_image_resolution. */
|
jpayne@69
|
610 #define XCB_X_PRINT_PRINT_SET_IMAGE_RESOLUTION 23
|
jpayne@69
|
611
|
jpayne@69
|
612 /**
|
jpayne@69
|
613 * @brief xcb_x_print_print_set_image_resolution_request_t
|
jpayne@69
|
614 **/
|
jpayne@69
|
615 typedef struct xcb_x_print_print_set_image_resolution_request_t {
|
jpayne@69
|
616 uint8_t major_opcode;
|
jpayne@69
|
617 uint8_t minor_opcode;
|
jpayne@69
|
618 uint16_t length;
|
jpayne@69
|
619 xcb_x_print_pcontext_t context;
|
jpayne@69
|
620 uint16_t image_resolution;
|
jpayne@69
|
621 } xcb_x_print_print_set_image_resolution_request_t;
|
jpayne@69
|
622
|
jpayne@69
|
623 /**
|
jpayne@69
|
624 * @brief xcb_x_print_print_set_image_resolution_reply_t
|
jpayne@69
|
625 **/
|
jpayne@69
|
626 typedef struct xcb_x_print_print_set_image_resolution_reply_t {
|
jpayne@69
|
627 uint8_t response_type;
|
jpayne@69
|
628 uint8_t status;
|
jpayne@69
|
629 uint16_t sequence;
|
jpayne@69
|
630 uint32_t length;
|
jpayne@69
|
631 uint16_t previous_resolutions;
|
jpayne@69
|
632 } xcb_x_print_print_set_image_resolution_reply_t;
|
jpayne@69
|
633
|
jpayne@69
|
634 /**
|
jpayne@69
|
635 * @brief xcb_x_print_print_get_image_resolution_cookie_t
|
jpayne@69
|
636 **/
|
jpayne@69
|
637 typedef struct xcb_x_print_print_get_image_resolution_cookie_t {
|
jpayne@69
|
638 unsigned int sequence;
|
jpayne@69
|
639 } xcb_x_print_print_get_image_resolution_cookie_t;
|
jpayne@69
|
640
|
jpayne@69
|
641 /** Opcode for xcb_x_print_print_get_image_resolution. */
|
jpayne@69
|
642 #define XCB_X_PRINT_PRINT_GET_IMAGE_RESOLUTION 24
|
jpayne@69
|
643
|
jpayne@69
|
644 /**
|
jpayne@69
|
645 * @brief xcb_x_print_print_get_image_resolution_request_t
|
jpayne@69
|
646 **/
|
jpayne@69
|
647 typedef struct xcb_x_print_print_get_image_resolution_request_t {
|
jpayne@69
|
648 uint8_t major_opcode;
|
jpayne@69
|
649 uint8_t minor_opcode;
|
jpayne@69
|
650 uint16_t length;
|
jpayne@69
|
651 xcb_x_print_pcontext_t context;
|
jpayne@69
|
652 } xcb_x_print_print_get_image_resolution_request_t;
|
jpayne@69
|
653
|
jpayne@69
|
654 /**
|
jpayne@69
|
655 * @brief xcb_x_print_print_get_image_resolution_reply_t
|
jpayne@69
|
656 **/
|
jpayne@69
|
657 typedef struct xcb_x_print_print_get_image_resolution_reply_t {
|
jpayne@69
|
658 uint8_t response_type;
|
jpayne@69
|
659 uint8_t pad0;
|
jpayne@69
|
660 uint16_t sequence;
|
jpayne@69
|
661 uint32_t length;
|
jpayne@69
|
662 uint16_t image_resolution;
|
jpayne@69
|
663 } xcb_x_print_print_get_image_resolution_reply_t;
|
jpayne@69
|
664
|
jpayne@69
|
665 /** Opcode for xcb_x_print_notify. */
|
jpayne@69
|
666 #define XCB_X_PRINT_NOTIFY 0
|
jpayne@69
|
667
|
jpayne@69
|
668 /**
|
jpayne@69
|
669 * @brief xcb_x_print_notify_event_t
|
jpayne@69
|
670 **/
|
jpayne@69
|
671 typedef struct xcb_x_print_notify_event_t {
|
jpayne@69
|
672 uint8_t response_type;
|
jpayne@69
|
673 uint8_t detail;
|
jpayne@69
|
674 uint16_t sequence;
|
jpayne@69
|
675 xcb_x_print_pcontext_t context;
|
jpayne@69
|
676 uint8_t cancel;
|
jpayne@69
|
677 } xcb_x_print_notify_event_t;
|
jpayne@69
|
678
|
jpayne@69
|
679 /** Opcode for xcb_x_print_attribut_notify. */
|
jpayne@69
|
680 #define XCB_X_PRINT_ATTRIBUT_NOTIFY 1
|
jpayne@69
|
681
|
jpayne@69
|
682 /**
|
jpayne@69
|
683 * @brief xcb_x_print_attribut_notify_event_t
|
jpayne@69
|
684 **/
|
jpayne@69
|
685 typedef struct xcb_x_print_attribut_notify_event_t {
|
jpayne@69
|
686 uint8_t response_type;
|
jpayne@69
|
687 uint8_t detail;
|
jpayne@69
|
688 uint16_t sequence;
|
jpayne@69
|
689 xcb_x_print_pcontext_t context;
|
jpayne@69
|
690 } xcb_x_print_attribut_notify_event_t;
|
jpayne@69
|
691
|
jpayne@69
|
692 /** Opcode for xcb_x_print_bad_context. */
|
jpayne@69
|
693 #define XCB_X_PRINT_BAD_CONTEXT 0
|
jpayne@69
|
694
|
jpayne@69
|
695 /**
|
jpayne@69
|
696 * @brief xcb_x_print_bad_context_error_t
|
jpayne@69
|
697 **/
|
jpayne@69
|
698 typedef struct xcb_x_print_bad_context_error_t {
|
jpayne@69
|
699 uint8_t response_type;
|
jpayne@69
|
700 uint8_t error_code;
|
jpayne@69
|
701 uint16_t sequence;
|
jpayne@69
|
702 uint32_t bad_value;
|
jpayne@69
|
703 uint16_t minor_opcode;
|
jpayne@69
|
704 uint8_t major_opcode;
|
jpayne@69
|
705 } xcb_x_print_bad_context_error_t;
|
jpayne@69
|
706
|
jpayne@69
|
707 /** Opcode for xcb_x_print_bad_sequence. */
|
jpayne@69
|
708 #define XCB_X_PRINT_BAD_SEQUENCE 1
|
jpayne@69
|
709
|
jpayne@69
|
710 /**
|
jpayne@69
|
711 * @brief xcb_x_print_bad_sequence_error_t
|
jpayne@69
|
712 **/
|
jpayne@69
|
713 typedef struct xcb_x_print_bad_sequence_error_t {
|
jpayne@69
|
714 uint8_t response_type;
|
jpayne@69
|
715 uint8_t error_code;
|
jpayne@69
|
716 uint16_t sequence;
|
jpayne@69
|
717 uint32_t bad_value;
|
jpayne@69
|
718 uint16_t minor_opcode;
|
jpayne@69
|
719 uint8_t major_opcode;
|
jpayne@69
|
720 } xcb_x_print_bad_sequence_error_t;
|
jpayne@69
|
721
|
jpayne@69
|
722 /**
|
jpayne@69
|
723 * Get the next element of the iterator
|
jpayne@69
|
724 * @param i Pointer to a xcb_x_print_string8_iterator_t
|
jpayne@69
|
725 *
|
jpayne@69
|
726 * Get the next element in the iterator. The member rem is
|
jpayne@69
|
727 * decreased by one. The member data points to the next
|
jpayne@69
|
728 * element. The member index is increased by sizeof(xcb_x_print_string8_t)
|
jpayne@69
|
729 */
|
jpayne@69
|
730 void
|
jpayne@69
|
731 xcb_x_print_string8_next (xcb_x_print_string8_iterator_t *i);
|
jpayne@69
|
732
|
jpayne@69
|
733 /**
|
jpayne@69
|
734 * Return the iterator pointing to the last element
|
jpayne@69
|
735 * @param i An xcb_x_print_string8_iterator_t
|
jpayne@69
|
736 * @return The iterator pointing to the last element
|
jpayne@69
|
737 *
|
jpayne@69
|
738 * Set the current element in the iterator to the last element.
|
jpayne@69
|
739 * The member rem is set to 0. The member data points to the
|
jpayne@69
|
740 * last element.
|
jpayne@69
|
741 */
|
jpayne@69
|
742 xcb_generic_iterator_t
|
jpayne@69
|
743 xcb_x_print_string8_end (xcb_x_print_string8_iterator_t i);
|
jpayne@69
|
744
|
jpayne@69
|
745 int
|
jpayne@69
|
746 xcb_x_print_printer_serialize (void **_buffer,
|
jpayne@69
|
747 const xcb_x_print_printer_t *_aux,
|
jpayne@69
|
748 const xcb_x_print_string8_t *name,
|
jpayne@69
|
749 const xcb_x_print_string8_t *description);
|
jpayne@69
|
750
|
jpayne@69
|
751 int
|
jpayne@69
|
752 xcb_x_print_printer_unserialize (const void *_buffer,
|
jpayne@69
|
753 xcb_x_print_printer_t **_aux);
|
jpayne@69
|
754
|
jpayne@69
|
755 int
|
jpayne@69
|
756 xcb_x_print_printer_sizeof (const void *_buffer);
|
jpayne@69
|
757
|
jpayne@69
|
758 xcb_x_print_string8_t *
|
jpayne@69
|
759 xcb_x_print_printer_name (const xcb_x_print_printer_t *R);
|
jpayne@69
|
760
|
jpayne@69
|
761 int
|
jpayne@69
|
762 xcb_x_print_printer_name_length (const xcb_x_print_printer_t *R);
|
jpayne@69
|
763
|
jpayne@69
|
764 xcb_generic_iterator_t
|
jpayne@69
|
765 xcb_x_print_printer_name_end (const xcb_x_print_printer_t *R);
|
jpayne@69
|
766
|
jpayne@69
|
767 xcb_x_print_string8_t *
|
jpayne@69
|
768 xcb_x_print_printer_description (const xcb_x_print_printer_t *R);
|
jpayne@69
|
769
|
jpayne@69
|
770 int
|
jpayne@69
|
771 xcb_x_print_printer_description_length (const xcb_x_print_printer_t *R);
|
jpayne@69
|
772
|
jpayne@69
|
773 xcb_generic_iterator_t
|
jpayne@69
|
774 xcb_x_print_printer_description_end (const xcb_x_print_printer_t *R);
|
jpayne@69
|
775
|
jpayne@69
|
776 /**
|
jpayne@69
|
777 * Get the next element of the iterator
|
jpayne@69
|
778 * @param i Pointer to a xcb_x_print_printer_iterator_t
|
jpayne@69
|
779 *
|
jpayne@69
|
780 * Get the next element in the iterator. The member rem is
|
jpayne@69
|
781 * decreased by one. The member data points to the next
|
jpayne@69
|
782 * element. The member index is increased by sizeof(xcb_x_print_printer_t)
|
jpayne@69
|
783 */
|
jpayne@69
|
784 void
|
jpayne@69
|
785 xcb_x_print_printer_next (xcb_x_print_printer_iterator_t *i);
|
jpayne@69
|
786
|
jpayne@69
|
787 /**
|
jpayne@69
|
788 * Return the iterator pointing to the last element
|
jpayne@69
|
789 * @param i An xcb_x_print_printer_iterator_t
|
jpayne@69
|
790 * @return The iterator pointing to the last element
|
jpayne@69
|
791 *
|
jpayne@69
|
792 * Set the current element in the iterator to the last element.
|
jpayne@69
|
793 * The member rem is set to 0. The member data points to the
|
jpayne@69
|
794 * last element.
|
jpayne@69
|
795 */
|
jpayne@69
|
796 xcb_generic_iterator_t
|
jpayne@69
|
797 xcb_x_print_printer_end (xcb_x_print_printer_iterator_t i);
|
jpayne@69
|
798
|
jpayne@69
|
799 /**
|
jpayne@69
|
800 * Get the next element of the iterator
|
jpayne@69
|
801 * @param i Pointer to a xcb_x_print_pcontext_iterator_t
|
jpayne@69
|
802 *
|
jpayne@69
|
803 * Get the next element in the iterator. The member rem is
|
jpayne@69
|
804 * decreased by one. The member data points to the next
|
jpayne@69
|
805 * element. The member index is increased by sizeof(xcb_x_print_pcontext_t)
|
jpayne@69
|
806 */
|
jpayne@69
|
807 void
|
jpayne@69
|
808 xcb_x_print_pcontext_next (xcb_x_print_pcontext_iterator_t *i);
|
jpayne@69
|
809
|
jpayne@69
|
810 /**
|
jpayne@69
|
811 * Return the iterator pointing to the last element
|
jpayne@69
|
812 * @param i An xcb_x_print_pcontext_iterator_t
|
jpayne@69
|
813 * @return The iterator pointing to the last element
|
jpayne@69
|
814 *
|
jpayne@69
|
815 * Set the current element in the iterator to the last element.
|
jpayne@69
|
816 * The member rem is set to 0. The member data points to the
|
jpayne@69
|
817 * last element.
|
jpayne@69
|
818 */
|
jpayne@69
|
819 xcb_generic_iterator_t
|
jpayne@69
|
820 xcb_x_print_pcontext_end (xcb_x_print_pcontext_iterator_t i);
|
jpayne@69
|
821
|
jpayne@69
|
822 /**
|
jpayne@69
|
823 *
|
jpayne@69
|
824 * @param c The connection
|
jpayne@69
|
825 * @return A cookie
|
jpayne@69
|
826 *
|
jpayne@69
|
827 * Delivers a request to the X server.
|
jpayne@69
|
828 *
|
jpayne@69
|
829 */
|
jpayne@69
|
830 xcb_x_print_print_query_version_cookie_t
|
jpayne@69
|
831 xcb_x_print_print_query_version (xcb_connection_t *c);
|
jpayne@69
|
832
|
jpayne@69
|
833 /**
|
jpayne@69
|
834 *
|
jpayne@69
|
835 * @param c The connection
|
jpayne@69
|
836 * @return A cookie
|
jpayne@69
|
837 *
|
jpayne@69
|
838 * Delivers a request to the X server.
|
jpayne@69
|
839 *
|
jpayne@69
|
840 * This form can be used only if the request will cause
|
jpayne@69
|
841 * a reply to be generated. Any returned error will be
|
jpayne@69
|
842 * placed in the event queue.
|
jpayne@69
|
843 */
|
jpayne@69
|
844 xcb_x_print_print_query_version_cookie_t
|
jpayne@69
|
845 xcb_x_print_print_query_version_unchecked (xcb_connection_t *c);
|
jpayne@69
|
846
|
jpayne@69
|
847 /**
|
jpayne@69
|
848 * Return the reply
|
jpayne@69
|
849 * @param c The connection
|
jpayne@69
|
850 * @param cookie The cookie
|
jpayne@69
|
851 * @param e The xcb_generic_error_t supplied
|
jpayne@69
|
852 *
|
jpayne@69
|
853 * Returns the reply of the request asked by
|
jpayne@69
|
854 *
|
jpayne@69
|
855 * The parameter @p e supplied to this function must be NULL if
|
jpayne@69
|
856 * xcb_x_print_print_query_version_unchecked(). is used.
|
jpayne@69
|
857 * Otherwise, it stores the error if any.
|
jpayne@69
|
858 *
|
jpayne@69
|
859 * The returned value must be freed by the caller using free().
|
jpayne@69
|
860 */
|
jpayne@69
|
861 xcb_x_print_print_query_version_reply_t *
|
jpayne@69
|
862 xcb_x_print_print_query_version_reply (xcb_connection_t *c,
|
jpayne@69
|
863 xcb_x_print_print_query_version_cookie_t cookie /**< */,
|
jpayne@69
|
864 xcb_generic_error_t **e);
|
jpayne@69
|
865
|
jpayne@69
|
866 int
|
jpayne@69
|
867 xcb_x_print_print_get_printer_list_sizeof (const void *_buffer);
|
jpayne@69
|
868
|
jpayne@69
|
869 /**
|
jpayne@69
|
870 *
|
jpayne@69
|
871 * @param c The connection
|
jpayne@69
|
872 * @return A cookie
|
jpayne@69
|
873 *
|
jpayne@69
|
874 * Delivers a request to the X server.
|
jpayne@69
|
875 *
|
jpayne@69
|
876 */
|
jpayne@69
|
877 xcb_x_print_print_get_printer_list_cookie_t
|
jpayne@69
|
878 xcb_x_print_print_get_printer_list (xcb_connection_t *c,
|
jpayne@69
|
879 uint32_t printerNameLen,
|
jpayne@69
|
880 uint32_t localeLen,
|
jpayne@69
|
881 const xcb_x_print_string8_t *printer_name,
|
jpayne@69
|
882 const xcb_x_print_string8_t *locale);
|
jpayne@69
|
883
|
jpayne@69
|
884 /**
|
jpayne@69
|
885 *
|
jpayne@69
|
886 * @param c The connection
|
jpayne@69
|
887 * @return A cookie
|
jpayne@69
|
888 *
|
jpayne@69
|
889 * Delivers a request to the X server.
|
jpayne@69
|
890 *
|
jpayne@69
|
891 * This form can be used only if the request will cause
|
jpayne@69
|
892 * a reply to be generated. Any returned error will be
|
jpayne@69
|
893 * placed in the event queue.
|
jpayne@69
|
894 */
|
jpayne@69
|
895 xcb_x_print_print_get_printer_list_cookie_t
|
jpayne@69
|
896 xcb_x_print_print_get_printer_list_unchecked (xcb_connection_t *c,
|
jpayne@69
|
897 uint32_t printerNameLen,
|
jpayne@69
|
898 uint32_t localeLen,
|
jpayne@69
|
899 const xcb_x_print_string8_t *printer_name,
|
jpayne@69
|
900 const xcb_x_print_string8_t *locale);
|
jpayne@69
|
901
|
jpayne@69
|
902 int
|
jpayne@69
|
903 xcb_x_print_print_get_printer_list_printers_length (const xcb_x_print_print_get_printer_list_reply_t *R);
|
jpayne@69
|
904
|
jpayne@69
|
905 xcb_x_print_printer_iterator_t
|
jpayne@69
|
906 xcb_x_print_print_get_printer_list_printers_iterator (const xcb_x_print_print_get_printer_list_reply_t *R);
|
jpayne@69
|
907
|
jpayne@69
|
908 /**
|
jpayne@69
|
909 * Return the reply
|
jpayne@69
|
910 * @param c The connection
|
jpayne@69
|
911 * @param cookie The cookie
|
jpayne@69
|
912 * @param e The xcb_generic_error_t supplied
|
jpayne@69
|
913 *
|
jpayne@69
|
914 * Returns the reply of the request asked by
|
jpayne@69
|
915 *
|
jpayne@69
|
916 * The parameter @p e supplied to this function must be NULL if
|
jpayne@69
|
917 * xcb_x_print_print_get_printer_list_unchecked(). is used.
|
jpayne@69
|
918 * Otherwise, it stores the error if any.
|
jpayne@69
|
919 *
|
jpayne@69
|
920 * The returned value must be freed by the caller using free().
|
jpayne@69
|
921 */
|
jpayne@69
|
922 xcb_x_print_print_get_printer_list_reply_t *
|
jpayne@69
|
923 xcb_x_print_print_get_printer_list_reply (xcb_connection_t *c,
|
jpayne@69
|
924 xcb_x_print_print_get_printer_list_cookie_t cookie /**< */,
|
jpayne@69
|
925 xcb_generic_error_t **e);
|
jpayne@69
|
926
|
jpayne@69
|
927 /**
|
jpayne@69
|
928 *
|
jpayne@69
|
929 * @param c The connection
|
jpayne@69
|
930 * @return A cookie
|
jpayne@69
|
931 *
|
jpayne@69
|
932 * Delivers a request to the X server.
|
jpayne@69
|
933 *
|
jpayne@69
|
934 * This form can be used only if the request will not cause
|
jpayne@69
|
935 * a reply to be generated. Any returned error will be
|
jpayne@69
|
936 * saved for handling by xcb_request_check().
|
jpayne@69
|
937 */
|
jpayne@69
|
938 xcb_void_cookie_t
|
jpayne@69
|
939 xcb_x_print_print_rehash_printer_list_checked (xcb_connection_t *c);
|
jpayne@69
|
940
|
jpayne@69
|
941 /**
|
jpayne@69
|
942 *
|
jpayne@69
|
943 * @param c The connection
|
jpayne@69
|
944 * @return A cookie
|
jpayne@69
|
945 *
|
jpayne@69
|
946 * Delivers a request to the X server.
|
jpayne@69
|
947 *
|
jpayne@69
|
948 */
|
jpayne@69
|
949 xcb_void_cookie_t
|
jpayne@69
|
950 xcb_x_print_print_rehash_printer_list (xcb_connection_t *c);
|
jpayne@69
|
951
|
jpayne@69
|
952 int
|
jpayne@69
|
953 xcb_x_print_create_context_sizeof (const void *_buffer);
|
jpayne@69
|
954
|
jpayne@69
|
955 /**
|
jpayne@69
|
956 *
|
jpayne@69
|
957 * @param c The connection
|
jpayne@69
|
958 * @return A cookie
|
jpayne@69
|
959 *
|
jpayne@69
|
960 * Delivers a request to the X server.
|
jpayne@69
|
961 *
|
jpayne@69
|
962 * This form can be used only if the request will not cause
|
jpayne@69
|
963 * a reply to be generated. Any returned error will be
|
jpayne@69
|
964 * saved for handling by xcb_request_check().
|
jpayne@69
|
965 */
|
jpayne@69
|
966 xcb_void_cookie_t
|
jpayne@69
|
967 xcb_x_print_create_context_checked (xcb_connection_t *c,
|
jpayne@69
|
968 uint32_t context_id,
|
jpayne@69
|
969 uint32_t printerNameLen,
|
jpayne@69
|
970 uint32_t localeLen,
|
jpayne@69
|
971 const xcb_x_print_string8_t *printerName,
|
jpayne@69
|
972 const xcb_x_print_string8_t *locale);
|
jpayne@69
|
973
|
jpayne@69
|
974 /**
|
jpayne@69
|
975 *
|
jpayne@69
|
976 * @param c The connection
|
jpayne@69
|
977 * @return A cookie
|
jpayne@69
|
978 *
|
jpayne@69
|
979 * Delivers a request to the X server.
|
jpayne@69
|
980 *
|
jpayne@69
|
981 */
|
jpayne@69
|
982 xcb_void_cookie_t
|
jpayne@69
|
983 xcb_x_print_create_context (xcb_connection_t *c,
|
jpayne@69
|
984 uint32_t context_id,
|
jpayne@69
|
985 uint32_t printerNameLen,
|
jpayne@69
|
986 uint32_t localeLen,
|
jpayne@69
|
987 const xcb_x_print_string8_t *printerName,
|
jpayne@69
|
988 const xcb_x_print_string8_t *locale);
|
jpayne@69
|
989
|
jpayne@69
|
990 xcb_x_print_string8_t *
|
jpayne@69
|
991 xcb_x_print_create_context_printer_name (const xcb_x_print_create_context_request_t *R);
|
jpayne@69
|
992
|
jpayne@69
|
993 int
|
jpayne@69
|
994 xcb_x_print_create_context_printer_name_length (const xcb_x_print_create_context_request_t *R);
|
jpayne@69
|
995
|
jpayne@69
|
996 xcb_generic_iterator_t
|
jpayne@69
|
997 xcb_x_print_create_context_printer_name_end (const xcb_x_print_create_context_request_t *R);
|
jpayne@69
|
998
|
jpayne@69
|
999 xcb_x_print_string8_t *
|
jpayne@69
|
1000 xcb_x_print_create_context_locale (const xcb_x_print_create_context_request_t *R);
|
jpayne@69
|
1001
|
jpayne@69
|
1002 int
|
jpayne@69
|
1003 xcb_x_print_create_context_locale_length (const xcb_x_print_create_context_request_t *R);
|
jpayne@69
|
1004
|
jpayne@69
|
1005 xcb_generic_iterator_t
|
jpayne@69
|
1006 xcb_x_print_create_context_locale_end (const xcb_x_print_create_context_request_t *R);
|
jpayne@69
|
1007
|
jpayne@69
|
1008 /**
|
jpayne@69
|
1009 *
|
jpayne@69
|
1010 * @param c The connection
|
jpayne@69
|
1011 * @return A cookie
|
jpayne@69
|
1012 *
|
jpayne@69
|
1013 * Delivers a request to the X server.
|
jpayne@69
|
1014 *
|
jpayne@69
|
1015 * This form can be used only if the request will not cause
|
jpayne@69
|
1016 * a reply to be generated. Any returned error will be
|
jpayne@69
|
1017 * saved for handling by xcb_request_check().
|
jpayne@69
|
1018 */
|
jpayne@69
|
1019 xcb_void_cookie_t
|
jpayne@69
|
1020 xcb_x_print_print_set_context_checked (xcb_connection_t *c,
|
jpayne@69
|
1021 uint32_t context);
|
jpayne@69
|
1022
|
jpayne@69
|
1023 /**
|
jpayne@69
|
1024 *
|
jpayne@69
|
1025 * @param c The connection
|
jpayne@69
|
1026 * @return A cookie
|
jpayne@69
|
1027 *
|
jpayne@69
|
1028 * Delivers a request to the X server.
|
jpayne@69
|
1029 *
|
jpayne@69
|
1030 */
|
jpayne@69
|
1031 xcb_void_cookie_t
|
jpayne@69
|
1032 xcb_x_print_print_set_context (xcb_connection_t *c,
|
jpayne@69
|
1033 uint32_t context);
|
jpayne@69
|
1034
|
jpayne@69
|
1035 /**
|
jpayne@69
|
1036 *
|
jpayne@69
|
1037 * @param c The connection
|
jpayne@69
|
1038 * @return A cookie
|
jpayne@69
|
1039 *
|
jpayne@69
|
1040 * Delivers a request to the X server.
|
jpayne@69
|
1041 *
|
jpayne@69
|
1042 */
|
jpayne@69
|
1043 xcb_x_print_print_get_context_cookie_t
|
jpayne@69
|
1044 xcb_x_print_print_get_context (xcb_connection_t *c);
|
jpayne@69
|
1045
|
jpayne@69
|
1046 /**
|
jpayne@69
|
1047 *
|
jpayne@69
|
1048 * @param c The connection
|
jpayne@69
|
1049 * @return A cookie
|
jpayne@69
|
1050 *
|
jpayne@69
|
1051 * Delivers a request to the X server.
|
jpayne@69
|
1052 *
|
jpayne@69
|
1053 * This form can be used only if the request will cause
|
jpayne@69
|
1054 * a reply to be generated. Any returned error will be
|
jpayne@69
|
1055 * placed in the event queue.
|
jpayne@69
|
1056 */
|
jpayne@69
|
1057 xcb_x_print_print_get_context_cookie_t
|
jpayne@69
|
1058 xcb_x_print_print_get_context_unchecked (xcb_connection_t *c);
|
jpayne@69
|
1059
|
jpayne@69
|
1060 /**
|
jpayne@69
|
1061 * Return the reply
|
jpayne@69
|
1062 * @param c The connection
|
jpayne@69
|
1063 * @param cookie The cookie
|
jpayne@69
|
1064 * @param e The xcb_generic_error_t supplied
|
jpayne@69
|
1065 *
|
jpayne@69
|
1066 * Returns the reply of the request asked by
|
jpayne@69
|
1067 *
|
jpayne@69
|
1068 * The parameter @p e supplied to this function must be NULL if
|
jpayne@69
|
1069 * xcb_x_print_print_get_context_unchecked(). is used.
|
jpayne@69
|
1070 * Otherwise, it stores the error if any.
|
jpayne@69
|
1071 *
|
jpayne@69
|
1072 * The returned value must be freed by the caller using free().
|
jpayne@69
|
1073 */
|
jpayne@69
|
1074 xcb_x_print_print_get_context_reply_t *
|
jpayne@69
|
1075 xcb_x_print_print_get_context_reply (xcb_connection_t *c,
|
jpayne@69
|
1076 xcb_x_print_print_get_context_cookie_t cookie /**< */,
|
jpayne@69
|
1077 xcb_generic_error_t **e);
|
jpayne@69
|
1078
|
jpayne@69
|
1079 /**
|
jpayne@69
|
1080 *
|
jpayne@69
|
1081 * @param c The connection
|
jpayne@69
|
1082 * @return A cookie
|
jpayne@69
|
1083 *
|
jpayne@69
|
1084 * Delivers a request to the X server.
|
jpayne@69
|
1085 *
|
jpayne@69
|
1086 * This form can be used only if the request will not cause
|
jpayne@69
|
1087 * a reply to be generated. Any returned error will be
|
jpayne@69
|
1088 * saved for handling by xcb_request_check().
|
jpayne@69
|
1089 */
|
jpayne@69
|
1090 xcb_void_cookie_t
|
jpayne@69
|
1091 xcb_x_print_print_destroy_context_checked (xcb_connection_t *c,
|
jpayne@69
|
1092 uint32_t context);
|
jpayne@69
|
1093
|
jpayne@69
|
1094 /**
|
jpayne@69
|
1095 *
|
jpayne@69
|
1096 * @param c The connection
|
jpayne@69
|
1097 * @return A cookie
|
jpayne@69
|
1098 *
|
jpayne@69
|
1099 * Delivers a request to the X server.
|
jpayne@69
|
1100 *
|
jpayne@69
|
1101 */
|
jpayne@69
|
1102 xcb_void_cookie_t
|
jpayne@69
|
1103 xcb_x_print_print_destroy_context (xcb_connection_t *c,
|
jpayne@69
|
1104 uint32_t context);
|
jpayne@69
|
1105
|
jpayne@69
|
1106 /**
|
jpayne@69
|
1107 *
|
jpayne@69
|
1108 * @param c The connection
|
jpayne@69
|
1109 * @return A cookie
|
jpayne@69
|
1110 *
|
jpayne@69
|
1111 * Delivers a request to the X server.
|
jpayne@69
|
1112 *
|
jpayne@69
|
1113 */
|
jpayne@69
|
1114 xcb_x_print_print_get_screen_of_context_cookie_t
|
jpayne@69
|
1115 xcb_x_print_print_get_screen_of_context (xcb_connection_t *c);
|
jpayne@69
|
1116
|
jpayne@69
|
1117 /**
|
jpayne@69
|
1118 *
|
jpayne@69
|
1119 * @param c The connection
|
jpayne@69
|
1120 * @return A cookie
|
jpayne@69
|
1121 *
|
jpayne@69
|
1122 * Delivers a request to the X server.
|
jpayne@69
|
1123 *
|
jpayne@69
|
1124 * This form can be used only if the request will cause
|
jpayne@69
|
1125 * a reply to be generated. Any returned error will be
|
jpayne@69
|
1126 * placed in the event queue.
|
jpayne@69
|
1127 */
|
jpayne@69
|
1128 xcb_x_print_print_get_screen_of_context_cookie_t
|
jpayne@69
|
1129 xcb_x_print_print_get_screen_of_context_unchecked (xcb_connection_t *c);
|
jpayne@69
|
1130
|
jpayne@69
|
1131 /**
|
jpayne@69
|
1132 * Return the reply
|
jpayne@69
|
1133 * @param c The connection
|
jpayne@69
|
1134 * @param cookie The cookie
|
jpayne@69
|
1135 * @param e The xcb_generic_error_t supplied
|
jpayne@69
|
1136 *
|
jpayne@69
|
1137 * Returns the reply of the request asked by
|
jpayne@69
|
1138 *
|
jpayne@69
|
1139 * The parameter @p e supplied to this function must be NULL if
|
jpayne@69
|
1140 * xcb_x_print_print_get_screen_of_context_unchecked(). is used.
|
jpayne@69
|
1141 * Otherwise, it stores the error if any.
|
jpayne@69
|
1142 *
|
jpayne@69
|
1143 * The returned value must be freed by the caller using free().
|
jpayne@69
|
1144 */
|
jpayne@69
|
1145 xcb_x_print_print_get_screen_of_context_reply_t *
|
jpayne@69
|
1146 xcb_x_print_print_get_screen_of_context_reply (xcb_connection_t *c,
|
jpayne@69
|
1147 xcb_x_print_print_get_screen_of_context_cookie_t cookie /**< */,
|
jpayne@69
|
1148 xcb_generic_error_t **e);
|
jpayne@69
|
1149
|
jpayne@69
|
1150 /**
|
jpayne@69
|
1151 *
|
jpayne@69
|
1152 * @param c The connection
|
jpayne@69
|
1153 * @return A cookie
|
jpayne@69
|
1154 *
|
jpayne@69
|
1155 * Delivers a request to the X server.
|
jpayne@69
|
1156 *
|
jpayne@69
|
1157 * This form can be used only if the request will not cause
|
jpayne@69
|
1158 * a reply to be generated. Any returned error will be
|
jpayne@69
|
1159 * saved for handling by xcb_request_check().
|
jpayne@69
|
1160 */
|
jpayne@69
|
1161 xcb_void_cookie_t
|
jpayne@69
|
1162 xcb_x_print_print_start_job_checked (xcb_connection_t *c,
|
jpayne@69
|
1163 uint8_t output_mode);
|
jpayne@69
|
1164
|
jpayne@69
|
1165 /**
|
jpayne@69
|
1166 *
|
jpayne@69
|
1167 * @param c The connection
|
jpayne@69
|
1168 * @return A cookie
|
jpayne@69
|
1169 *
|
jpayne@69
|
1170 * Delivers a request to the X server.
|
jpayne@69
|
1171 *
|
jpayne@69
|
1172 */
|
jpayne@69
|
1173 xcb_void_cookie_t
|
jpayne@69
|
1174 xcb_x_print_print_start_job (xcb_connection_t *c,
|
jpayne@69
|
1175 uint8_t output_mode);
|
jpayne@69
|
1176
|
jpayne@69
|
1177 /**
|
jpayne@69
|
1178 *
|
jpayne@69
|
1179 * @param c The connection
|
jpayne@69
|
1180 * @return A cookie
|
jpayne@69
|
1181 *
|
jpayne@69
|
1182 * Delivers a request to the X server.
|
jpayne@69
|
1183 *
|
jpayne@69
|
1184 * This form can be used only if the request will not cause
|
jpayne@69
|
1185 * a reply to be generated. Any returned error will be
|
jpayne@69
|
1186 * saved for handling by xcb_request_check().
|
jpayne@69
|
1187 */
|
jpayne@69
|
1188 xcb_void_cookie_t
|
jpayne@69
|
1189 xcb_x_print_print_end_job_checked (xcb_connection_t *c,
|
jpayne@69
|
1190 uint8_t cancel);
|
jpayne@69
|
1191
|
jpayne@69
|
1192 /**
|
jpayne@69
|
1193 *
|
jpayne@69
|
1194 * @param c The connection
|
jpayne@69
|
1195 * @return A cookie
|
jpayne@69
|
1196 *
|
jpayne@69
|
1197 * Delivers a request to the X server.
|
jpayne@69
|
1198 *
|
jpayne@69
|
1199 */
|
jpayne@69
|
1200 xcb_void_cookie_t
|
jpayne@69
|
1201 xcb_x_print_print_end_job (xcb_connection_t *c,
|
jpayne@69
|
1202 uint8_t cancel);
|
jpayne@69
|
1203
|
jpayne@69
|
1204 /**
|
jpayne@69
|
1205 *
|
jpayne@69
|
1206 * @param c The connection
|
jpayne@69
|
1207 * @return A cookie
|
jpayne@69
|
1208 *
|
jpayne@69
|
1209 * Delivers a request to the X server.
|
jpayne@69
|
1210 *
|
jpayne@69
|
1211 * This form can be used only if the request will not cause
|
jpayne@69
|
1212 * a reply to be generated. Any returned error will be
|
jpayne@69
|
1213 * saved for handling by xcb_request_check().
|
jpayne@69
|
1214 */
|
jpayne@69
|
1215 xcb_void_cookie_t
|
jpayne@69
|
1216 xcb_x_print_print_start_doc_checked (xcb_connection_t *c,
|
jpayne@69
|
1217 uint8_t driver_mode);
|
jpayne@69
|
1218
|
jpayne@69
|
1219 /**
|
jpayne@69
|
1220 *
|
jpayne@69
|
1221 * @param c The connection
|
jpayne@69
|
1222 * @return A cookie
|
jpayne@69
|
1223 *
|
jpayne@69
|
1224 * Delivers a request to the X server.
|
jpayne@69
|
1225 *
|
jpayne@69
|
1226 */
|
jpayne@69
|
1227 xcb_void_cookie_t
|
jpayne@69
|
1228 xcb_x_print_print_start_doc (xcb_connection_t *c,
|
jpayne@69
|
1229 uint8_t driver_mode);
|
jpayne@69
|
1230
|
jpayne@69
|
1231 /**
|
jpayne@69
|
1232 *
|
jpayne@69
|
1233 * @param c The connection
|
jpayne@69
|
1234 * @return A cookie
|
jpayne@69
|
1235 *
|
jpayne@69
|
1236 * Delivers a request to the X server.
|
jpayne@69
|
1237 *
|
jpayne@69
|
1238 * This form can be used only if the request will not cause
|
jpayne@69
|
1239 * a reply to be generated. Any returned error will be
|
jpayne@69
|
1240 * saved for handling by xcb_request_check().
|
jpayne@69
|
1241 */
|
jpayne@69
|
1242 xcb_void_cookie_t
|
jpayne@69
|
1243 xcb_x_print_print_end_doc_checked (xcb_connection_t *c,
|
jpayne@69
|
1244 uint8_t cancel);
|
jpayne@69
|
1245
|
jpayne@69
|
1246 /**
|
jpayne@69
|
1247 *
|
jpayne@69
|
1248 * @param c The connection
|
jpayne@69
|
1249 * @return A cookie
|
jpayne@69
|
1250 *
|
jpayne@69
|
1251 * Delivers a request to the X server.
|
jpayne@69
|
1252 *
|
jpayne@69
|
1253 */
|
jpayne@69
|
1254 xcb_void_cookie_t
|
jpayne@69
|
1255 xcb_x_print_print_end_doc (xcb_connection_t *c,
|
jpayne@69
|
1256 uint8_t cancel);
|
jpayne@69
|
1257
|
jpayne@69
|
1258 int
|
jpayne@69
|
1259 xcb_x_print_print_put_document_data_sizeof (const void *_buffer);
|
jpayne@69
|
1260
|
jpayne@69
|
1261 /**
|
jpayne@69
|
1262 *
|
jpayne@69
|
1263 * @param c The connection
|
jpayne@69
|
1264 * @return A cookie
|
jpayne@69
|
1265 *
|
jpayne@69
|
1266 * Delivers a request to the X server.
|
jpayne@69
|
1267 *
|
jpayne@69
|
1268 * This form can be used only if the request will not cause
|
jpayne@69
|
1269 * a reply to be generated. Any returned error will be
|
jpayne@69
|
1270 * saved for handling by xcb_request_check().
|
jpayne@69
|
1271 */
|
jpayne@69
|
1272 xcb_void_cookie_t
|
jpayne@69
|
1273 xcb_x_print_print_put_document_data_checked (xcb_connection_t *c,
|
jpayne@69
|
1274 xcb_drawable_t drawable,
|
jpayne@69
|
1275 uint32_t len_data,
|
jpayne@69
|
1276 uint16_t len_fmt,
|
jpayne@69
|
1277 uint16_t len_options,
|
jpayne@69
|
1278 const uint8_t *data,
|
jpayne@69
|
1279 const xcb_x_print_string8_t *doc_format,
|
jpayne@69
|
1280 const xcb_x_print_string8_t *options);
|
jpayne@69
|
1281
|
jpayne@69
|
1282 /**
|
jpayne@69
|
1283 *
|
jpayne@69
|
1284 * @param c The connection
|
jpayne@69
|
1285 * @return A cookie
|
jpayne@69
|
1286 *
|
jpayne@69
|
1287 * Delivers a request to the X server.
|
jpayne@69
|
1288 *
|
jpayne@69
|
1289 */
|
jpayne@69
|
1290 xcb_void_cookie_t
|
jpayne@69
|
1291 xcb_x_print_print_put_document_data (xcb_connection_t *c,
|
jpayne@69
|
1292 xcb_drawable_t drawable,
|
jpayne@69
|
1293 uint32_t len_data,
|
jpayne@69
|
1294 uint16_t len_fmt,
|
jpayne@69
|
1295 uint16_t len_options,
|
jpayne@69
|
1296 const uint8_t *data,
|
jpayne@69
|
1297 const xcb_x_print_string8_t *doc_format,
|
jpayne@69
|
1298 const xcb_x_print_string8_t *options);
|
jpayne@69
|
1299
|
jpayne@69
|
1300 uint8_t *
|
jpayne@69
|
1301 xcb_x_print_print_put_document_data_data (const xcb_x_print_print_put_document_data_request_t *R);
|
jpayne@69
|
1302
|
jpayne@69
|
1303 int
|
jpayne@69
|
1304 xcb_x_print_print_put_document_data_data_length (const xcb_x_print_print_put_document_data_request_t *R);
|
jpayne@69
|
1305
|
jpayne@69
|
1306 xcb_generic_iterator_t
|
jpayne@69
|
1307 xcb_x_print_print_put_document_data_data_end (const xcb_x_print_print_put_document_data_request_t *R);
|
jpayne@69
|
1308
|
jpayne@69
|
1309 xcb_x_print_string8_t *
|
jpayne@69
|
1310 xcb_x_print_print_put_document_data_doc_format (const xcb_x_print_print_put_document_data_request_t *R);
|
jpayne@69
|
1311
|
jpayne@69
|
1312 int
|
jpayne@69
|
1313 xcb_x_print_print_put_document_data_doc_format_length (const xcb_x_print_print_put_document_data_request_t *R);
|
jpayne@69
|
1314
|
jpayne@69
|
1315 xcb_generic_iterator_t
|
jpayne@69
|
1316 xcb_x_print_print_put_document_data_doc_format_end (const xcb_x_print_print_put_document_data_request_t *R);
|
jpayne@69
|
1317
|
jpayne@69
|
1318 xcb_x_print_string8_t *
|
jpayne@69
|
1319 xcb_x_print_print_put_document_data_options (const xcb_x_print_print_put_document_data_request_t *R);
|
jpayne@69
|
1320
|
jpayne@69
|
1321 int
|
jpayne@69
|
1322 xcb_x_print_print_put_document_data_options_length (const xcb_x_print_print_put_document_data_request_t *R);
|
jpayne@69
|
1323
|
jpayne@69
|
1324 xcb_generic_iterator_t
|
jpayne@69
|
1325 xcb_x_print_print_put_document_data_options_end (const xcb_x_print_print_put_document_data_request_t *R);
|
jpayne@69
|
1326
|
jpayne@69
|
1327 int
|
jpayne@69
|
1328 xcb_x_print_print_get_document_data_sizeof (const void *_buffer);
|
jpayne@69
|
1329
|
jpayne@69
|
1330 /**
|
jpayne@69
|
1331 *
|
jpayne@69
|
1332 * @param c The connection
|
jpayne@69
|
1333 * @return A cookie
|
jpayne@69
|
1334 *
|
jpayne@69
|
1335 * Delivers a request to the X server.
|
jpayne@69
|
1336 *
|
jpayne@69
|
1337 */
|
jpayne@69
|
1338 xcb_x_print_print_get_document_data_cookie_t
|
jpayne@69
|
1339 xcb_x_print_print_get_document_data (xcb_connection_t *c,
|
jpayne@69
|
1340 xcb_x_print_pcontext_t context,
|
jpayne@69
|
1341 uint32_t max_bytes);
|
jpayne@69
|
1342
|
jpayne@69
|
1343 /**
|
jpayne@69
|
1344 *
|
jpayne@69
|
1345 * @param c The connection
|
jpayne@69
|
1346 * @return A cookie
|
jpayne@69
|
1347 *
|
jpayne@69
|
1348 * Delivers a request to the X server.
|
jpayne@69
|
1349 *
|
jpayne@69
|
1350 * This form can be used only if the request will cause
|
jpayne@69
|
1351 * a reply to be generated. Any returned error will be
|
jpayne@69
|
1352 * placed in the event queue.
|
jpayne@69
|
1353 */
|
jpayne@69
|
1354 xcb_x_print_print_get_document_data_cookie_t
|
jpayne@69
|
1355 xcb_x_print_print_get_document_data_unchecked (xcb_connection_t *c,
|
jpayne@69
|
1356 xcb_x_print_pcontext_t context,
|
jpayne@69
|
1357 uint32_t max_bytes);
|
jpayne@69
|
1358
|
jpayne@69
|
1359 uint8_t *
|
jpayne@69
|
1360 xcb_x_print_print_get_document_data_data (const xcb_x_print_print_get_document_data_reply_t *R);
|
jpayne@69
|
1361
|
jpayne@69
|
1362 int
|
jpayne@69
|
1363 xcb_x_print_print_get_document_data_data_length (const xcb_x_print_print_get_document_data_reply_t *R);
|
jpayne@69
|
1364
|
jpayne@69
|
1365 xcb_generic_iterator_t
|
jpayne@69
|
1366 xcb_x_print_print_get_document_data_data_end (const xcb_x_print_print_get_document_data_reply_t *R);
|
jpayne@69
|
1367
|
jpayne@69
|
1368 /**
|
jpayne@69
|
1369 * Return the reply
|
jpayne@69
|
1370 * @param c The connection
|
jpayne@69
|
1371 * @param cookie The cookie
|
jpayne@69
|
1372 * @param e The xcb_generic_error_t supplied
|
jpayne@69
|
1373 *
|
jpayne@69
|
1374 * Returns the reply of the request asked by
|
jpayne@69
|
1375 *
|
jpayne@69
|
1376 * The parameter @p e supplied to this function must be NULL if
|
jpayne@69
|
1377 * xcb_x_print_print_get_document_data_unchecked(). is used.
|
jpayne@69
|
1378 * Otherwise, it stores the error if any.
|
jpayne@69
|
1379 *
|
jpayne@69
|
1380 * The returned value must be freed by the caller using free().
|
jpayne@69
|
1381 */
|
jpayne@69
|
1382 xcb_x_print_print_get_document_data_reply_t *
|
jpayne@69
|
1383 xcb_x_print_print_get_document_data_reply (xcb_connection_t *c,
|
jpayne@69
|
1384 xcb_x_print_print_get_document_data_cookie_t cookie /**< */,
|
jpayne@69
|
1385 xcb_generic_error_t **e);
|
jpayne@69
|
1386
|
jpayne@69
|
1387 /**
|
jpayne@69
|
1388 *
|
jpayne@69
|
1389 * @param c The connection
|
jpayne@69
|
1390 * @return A cookie
|
jpayne@69
|
1391 *
|
jpayne@69
|
1392 * Delivers a request to the X server.
|
jpayne@69
|
1393 *
|
jpayne@69
|
1394 * This form can be used only if the request will not cause
|
jpayne@69
|
1395 * a reply to be generated. Any returned error will be
|
jpayne@69
|
1396 * saved for handling by xcb_request_check().
|
jpayne@69
|
1397 */
|
jpayne@69
|
1398 xcb_void_cookie_t
|
jpayne@69
|
1399 xcb_x_print_print_start_page_checked (xcb_connection_t *c,
|
jpayne@69
|
1400 xcb_window_t window);
|
jpayne@69
|
1401
|
jpayne@69
|
1402 /**
|
jpayne@69
|
1403 *
|
jpayne@69
|
1404 * @param c The connection
|
jpayne@69
|
1405 * @return A cookie
|
jpayne@69
|
1406 *
|
jpayne@69
|
1407 * Delivers a request to the X server.
|
jpayne@69
|
1408 *
|
jpayne@69
|
1409 */
|
jpayne@69
|
1410 xcb_void_cookie_t
|
jpayne@69
|
1411 xcb_x_print_print_start_page (xcb_connection_t *c,
|
jpayne@69
|
1412 xcb_window_t window);
|
jpayne@69
|
1413
|
jpayne@69
|
1414 /**
|
jpayne@69
|
1415 *
|
jpayne@69
|
1416 * @param c The connection
|
jpayne@69
|
1417 * @return A cookie
|
jpayne@69
|
1418 *
|
jpayne@69
|
1419 * Delivers a request to the X server.
|
jpayne@69
|
1420 *
|
jpayne@69
|
1421 * This form can be used only if the request will not cause
|
jpayne@69
|
1422 * a reply to be generated. Any returned error will be
|
jpayne@69
|
1423 * saved for handling by xcb_request_check().
|
jpayne@69
|
1424 */
|
jpayne@69
|
1425 xcb_void_cookie_t
|
jpayne@69
|
1426 xcb_x_print_print_end_page_checked (xcb_connection_t *c,
|
jpayne@69
|
1427 uint8_t cancel);
|
jpayne@69
|
1428
|
jpayne@69
|
1429 /**
|
jpayne@69
|
1430 *
|
jpayne@69
|
1431 * @param c The connection
|
jpayne@69
|
1432 * @return A cookie
|
jpayne@69
|
1433 *
|
jpayne@69
|
1434 * Delivers a request to the X server.
|
jpayne@69
|
1435 *
|
jpayne@69
|
1436 */
|
jpayne@69
|
1437 xcb_void_cookie_t
|
jpayne@69
|
1438 xcb_x_print_print_end_page (xcb_connection_t *c,
|
jpayne@69
|
1439 uint8_t cancel);
|
jpayne@69
|
1440
|
jpayne@69
|
1441 /**
|
jpayne@69
|
1442 *
|
jpayne@69
|
1443 * @param c The connection
|
jpayne@69
|
1444 * @return A cookie
|
jpayne@69
|
1445 *
|
jpayne@69
|
1446 * Delivers a request to the X server.
|
jpayne@69
|
1447 *
|
jpayne@69
|
1448 * This form can be used only if the request will not cause
|
jpayne@69
|
1449 * a reply to be generated. Any returned error will be
|
jpayne@69
|
1450 * saved for handling by xcb_request_check().
|
jpayne@69
|
1451 */
|
jpayne@69
|
1452 xcb_void_cookie_t
|
jpayne@69
|
1453 xcb_x_print_print_select_input_checked (xcb_connection_t *c,
|
jpayne@69
|
1454 xcb_x_print_pcontext_t context,
|
jpayne@69
|
1455 uint32_t event_mask);
|
jpayne@69
|
1456
|
jpayne@69
|
1457 /**
|
jpayne@69
|
1458 *
|
jpayne@69
|
1459 * @param c The connection
|
jpayne@69
|
1460 * @return A cookie
|
jpayne@69
|
1461 *
|
jpayne@69
|
1462 * Delivers a request to the X server.
|
jpayne@69
|
1463 *
|
jpayne@69
|
1464 */
|
jpayne@69
|
1465 xcb_void_cookie_t
|
jpayne@69
|
1466 xcb_x_print_print_select_input (xcb_connection_t *c,
|
jpayne@69
|
1467 xcb_x_print_pcontext_t context,
|
jpayne@69
|
1468 uint32_t event_mask);
|
jpayne@69
|
1469
|
jpayne@69
|
1470 /**
|
jpayne@69
|
1471 *
|
jpayne@69
|
1472 * @param c The connection
|
jpayne@69
|
1473 * @return A cookie
|
jpayne@69
|
1474 *
|
jpayne@69
|
1475 * Delivers a request to the X server.
|
jpayne@69
|
1476 *
|
jpayne@69
|
1477 */
|
jpayne@69
|
1478 xcb_x_print_print_input_selected_cookie_t
|
jpayne@69
|
1479 xcb_x_print_print_input_selected (xcb_connection_t *c,
|
jpayne@69
|
1480 xcb_x_print_pcontext_t context);
|
jpayne@69
|
1481
|
jpayne@69
|
1482 /**
|
jpayne@69
|
1483 *
|
jpayne@69
|
1484 * @param c The connection
|
jpayne@69
|
1485 * @return A cookie
|
jpayne@69
|
1486 *
|
jpayne@69
|
1487 * Delivers a request to the X server.
|
jpayne@69
|
1488 *
|
jpayne@69
|
1489 * This form can be used only if the request will cause
|
jpayne@69
|
1490 * a reply to be generated. Any returned error will be
|
jpayne@69
|
1491 * placed in the event queue.
|
jpayne@69
|
1492 */
|
jpayne@69
|
1493 xcb_x_print_print_input_selected_cookie_t
|
jpayne@69
|
1494 xcb_x_print_print_input_selected_unchecked (xcb_connection_t *c,
|
jpayne@69
|
1495 xcb_x_print_pcontext_t context);
|
jpayne@69
|
1496
|
jpayne@69
|
1497 /**
|
jpayne@69
|
1498 * Return the reply
|
jpayne@69
|
1499 * @param c The connection
|
jpayne@69
|
1500 * @param cookie The cookie
|
jpayne@69
|
1501 * @param e The xcb_generic_error_t supplied
|
jpayne@69
|
1502 *
|
jpayne@69
|
1503 * Returns the reply of the request asked by
|
jpayne@69
|
1504 *
|
jpayne@69
|
1505 * The parameter @p e supplied to this function must be NULL if
|
jpayne@69
|
1506 * xcb_x_print_print_input_selected_unchecked(). is used.
|
jpayne@69
|
1507 * Otherwise, it stores the error if any.
|
jpayne@69
|
1508 *
|
jpayne@69
|
1509 * The returned value must be freed by the caller using free().
|
jpayne@69
|
1510 */
|
jpayne@69
|
1511 xcb_x_print_print_input_selected_reply_t *
|
jpayne@69
|
1512 xcb_x_print_print_input_selected_reply (xcb_connection_t *c,
|
jpayne@69
|
1513 xcb_x_print_print_input_selected_cookie_t cookie /**< */,
|
jpayne@69
|
1514 xcb_generic_error_t **e);
|
jpayne@69
|
1515
|
jpayne@69
|
1516 int
|
jpayne@69
|
1517 xcb_x_print_print_get_attributes_sizeof (const void *_buffer);
|
jpayne@69
|
1518
|
jpayne@69
|
1519 /**
|
jpayne@69
|
1520 *
|
jpayne@69
|
1521 * @param c The connection
|
jpayne@69
|
1522 * @return A cookie
|
jpayne@69
|
1523 *
|
jpayne@69
|
1524 * Delivers a request to the X server.
|
jpayne@69
|
1525 *
|
jpayne@69
|
1526 */
|
jpayne@69
|
1527 xcb_x_print_print_get_attributes_cookie_t
|
jpayne@69
|
1528 xcb_x_print_print_get_attributes (xcb_connection_t *c,
|
jpayne@69
|
1529 xcb_x_print_pcontext_t context,
|
jpayne@69
|
1530 uint8_t pool);
|
jpayne@69
|
1531
|
jpayne@69
|
1532 /**
|
jpayne@69
|
1533 *
|
jpayne@69
|
1534 * @param c The connection
|
jpayne@69
|
1535 * @return A cookie
|
jpayne@69
|
1536 *
|
jpayne@69
|
1537 * Delivers a request to the X server.
|
jpayne@69
|
1538 *
|
jpayne@69
|
1539 * This form can be used only if the request will cause
|
jpayne@69
|
1540 * a reply to be generated. Any returned error will be
|
jpayne@69
|
1541 * placed in the event queue.
|
jpayne@69
|
1542 */
|
jpayne@69
|
1543 xcb_x_print_print_get_attributes_cookie_t
|
jpayne@69
|
1544 xcb_x_print_print_get_attributes_unchecked (xcb_connection_t *c,
|
jpayne@69
|
1545 xcb_x_print_pcontext_t context,
|
jpayne@69
|
1546 uint8_t pool);
|
jpayne@69
|
1547
|
jpayne@69
|
1548 xcb_x_print_string8_t *
|
jpayne@69
|
1549 xcb_x_print_print_get_attributes_attributes (const xcb_x_print_print_get_attributes_reply_t *R);
|
jpayne@69
|
1550
|
jpayne@69
|
1551 int
|
jpayne@69
|
1552 xcb_x_print_print_get_attributes_attributes_length (const xcb_x_print_print_get_attributes_reply_t *R);
|
jpayne@69
|
1553
|
jpayne@69
|
1554 xcb_generic_iterator_t
|
jpayne@69
|
1555 xcb_x_print_print_get_attributes_attributes_end (const xcb_x_print_print_get_attributes_reply_t *R);
|
jpayne@69
|
1556
|
jpayne@69
|
1557 /**
|
jpayne@69
|
1558 * Return the reply
|
jpayne@69
|
1559 * @param c The connection
|
jpayne@69
|
1560 * @param cookie The cookie
|
jpayne@69
|
1561 * @param e The xcb_generic_error_t supplied
|
jpayne@69
|
1562 *
|
jpayne@69
|
1563 * Returns the reply of the request asked by
|
jpayne@69
|
1564 *
|
jpayne@69
|
1565 * The parameter @p e supplied to this function must be NULL if
|
jpayne@69
|
1566 * xcb_x_print_print_get_attributes_unchecked(). is used.
|
jpayne@69
|
1567 * Otherwise, it stores the error if any.
|
jpayne@69
|
1568 *
|
jpayne@69
|
1569 * The returned value must be freed by the caller using free().
|
jpayne@69
|
1570 */
|
jpayne@69
|
1571 xcb_x_print_print_get_attributes_reply_t *
|
jpayne@69
|
1572 xcb_x_print_print_get_attributes_reply (xcb_connection_t *c,
|
jpayne@69
|
1573 xcb_x_print_print_get_attributes_cookie_t cookie /**< */,
|
jpayne@69
|
1574 xcb_generic_error_t **e);
|
jpayne@69
|
1575
|
jpayne@69
|
1576 int
|
jpayne@69
|
1577 xcb_x_print_print_get_one_attributes_sizeof (const void *_buffer);
|
jpayne@69
|
1578
|
jpayne@69
|
1579 /**
|
jpayne@69
|
1580 *
|
jpayne@69
|
1581 * @param c The connection
|
jpayne@69
|
1582 * @return A cookie
|
jpayne@69
|
1583 *
|
jpayne@69
|
1584 * Delivers a request to the X server.
|
jpayne@69
|
1585 *
|
jpayne@69
|
1586 */
|
jpayne@69
|
1587 xcb_x_print_print_get_one_attributes_cookie_t
|
jpayne@69
|
1588 xcb_x_print_print_get_one_attributes (xcb_connection_t *c,
|
jpayne@69
|
1589 xcb_x_print_pcontext_t context,
|
jpayne@69
|
1590 uint32_t nameLen,
|
jpayne@69
|
1591 uint8_t pool,
|
jpayne@69
|
1592 const xcb_x_print_string8_t *name);
|
jpayne@69
|
1593
|
jpayne@69
|
1594 /**
|
jpayne@69
|
1595 *
|
jpayne@69
|
1596 * @param c The connection
|
jpayne@69
|
1597 * @return A cookie
|
jpayne@69
|
1598 *
|
jpayne@69
|
1599 * Delivers a request to the X server.
|
jpayne@69
|
1600 *
|
jpayne@69
|
1601 * This form can be used only if the request will cause
|
jpayne@69
|
1602 * a reply to be generated. Any returned error will be
|
jpayne@69
|
1603 * placed in the event queue.
|
jpayne@69
|
1604 */
|
jpayne@69
|
1605 xcb_x_print_print_get_one_attributes_cookie_t
|
jpayne@69
|
1606 xcb_x_print_print_get_one_attributes_unchecked (xcb_connection_t *c,
|
jpayne@69
|
1607 xcb_x_print_pcontext_t context,
|
jpayne@69
|
1608 uint32_t nameLen,
|
jpayne@69
|
1609 uint8_t pool,
|
jpayne@69
|
1610 const xcb_x_print_string8_t *name);
|
jpayne@69
|
1611
|
jpayne@69
|
1612 xcb_x_print_string8_t *
|
jpayne@69
|
1613 xcb_x_print_print_get_one_attributes_value (const xcb_x_print_print_get_one_attributes_reply_t *R);
|
jpayne@69
|
1614
|
jpayne@69
|
1615 int
|
jpayne@69
|
1616 xcb_x_print_print_get_one_attributes_value_length (const xcb_x_print_print_get_one_attributes_reply_t *R);
|
jpayne@69
|
1617
|
jpayne@69
|
1618 xcb_generic_iterator_t
|
jpayne@69
|
1619 xcb_x_print_print_get_one_attributes_value_end (const xcb_x_print_print_get_one_attributes_reply_t *R);
|
jpayne@69
|
1620
|
jpayne@69
|
1621 /**
|
jpayne@69
|
1622 * Return the reply
|
jpayne@69
|
1623 * @param c The connection
|
jpayne@69
|
1624 * @param cookie The cookie
|
jpayne@69
|
1625 * @param e The xcb_generic_error_t supplied
|
jpayne@69
|
1626 *
|
jpayne@69
|
1627 * Returns the reply of the request asked by
|
jpayne@69
|
1628 *
|
jpayne@69
|
1629 * The parameter @p e supplied to this function must be NULL if
|
jpayne@69
|
1630 * xcb_x_print_print_get_one_attributes_unchecked(). is used.
|
jpayne@69
|
1631 * Otherwise, it stores the error if any.
|
jpayne@69
|
1632 *
|
jpayne@69
|
1633 * The returned value must be freed by the caller using free().
|
jpayne@69
|
1634 */
|
jpayne@69
|
1635 xcb_x_print_print_get_one_attributes_reply_t *
|
jpayne@69
|
1636 xcb_x_print_print_get_one_attributes_reply (xcb_connection_t *c,
|
jpayne@69
|
1637 xcb_x_print_print_get_one_attributes_cookie_t cookie /**< */,
|
jpayne@69
|
1638 xcb_generic_error_t **e);
|
jpayne@69
|
1639
|
jpayne@69
|
1640 int
|
jpayne@69
|
1641 xcb_x_print_print_set_attributes_sizeof (const void *_buffer,
|
jpayne@69
|
1642 uint32_t attributes_len);
|
jpayne@69
|
1643
|
jpayne@69
|
1644 /**
|
jpayne@69
|
1645 *
|
jpayne@69
|
1646 * @param c The connection
|
jpayne@69
|
1647 * @return A cookie
|
jpayne@69
|
1648 *
|
jpayne@69
|
1649 * Delivers a request to the X server.
|
jpayne@69
|
1650 *
|
jpayne@69
|
1651 * This form can be used only if the request will not cause
|
jpayne@69
|
1652 * a reply to be generated. Any returned error will be
|
jpayne@69
|
1653 * saved for handling by xcb_request_check().
|
jpayne@69
|
1654 */
|
jpayne@69
|
1655 xcb_void_cookie_t
|
jpayne@69
|
1656 xcb_x_print_print_set_attributes_checked (xcb_connection_t *c,
|
jpayne@69
|
1657 xcb_x_print_pcontext_t context,
|
jpayne@69
|
1658 uint32_t stringLen,
|
jpayne@69
|
1659 uint8_t pool,
|
jpayne@69
|
1660 uint8_t rule,
|
jpayne@69
|
1661 uint32_t attributes_len,
|
jpayne@69
|
1662 const xcb_x_print_string8_t *attributes);
|
jpayne@69
|
1663
|
jpayne@69
|
1664 /**
|
jpayne@69
|
1665 *
|
jpayne@69
|
1666 * @param c The connection
|
jpayne@69
|
1667 * @return A cookie
|
jpayne@69
|
1668 *
|
jpayne@69
|
1669 * Delivers a request to the X server.
|
jpayne@69
|
1670 *
|
jpayne@69
|
1671 */
|
jpayne@69
|
1672 xcb_void_cookie_t
|
jpayne@69
|
1673 xcb_x_print_print_set_attributes (xcb_connection_t *c,
|
jpayne@69
|
1674 xcb_x_print_pcontext_t context,
|
jpayne@69
|
1675 uint32_t stringLen,
|
jpayne@69
|
1676 uint8_t pool,
|
jpayne@69
|
1677 uint8_t rule,
|
jpayne@69
|
1678 uint32_t attributes_len,
|
jpayne@69
|
1679 const xcb_x_print_string8_t *attributes);
|
jpayne@69
|
1680
|
jpayne@69
|
1681 xcb_x_print_string8_t *
|
jpayne@69
|
1682 xcb_x_print_print_set_attributes_attributes (const xcb_x_print_print_set_attributes_request_t *R);
|
jpayne@69
|
1683
|
jpayne@69
|
1684 int
|
jpayne@69
|
1685 xcb_x_print_print_set_attributes_attributes_length (const xcb_x_print_print_set_attributes_request_t *R);
|
jpayne@69
|
1686
|
jpayne@69
|
1687 xcb_generic_iterator_t
|
jpayne@69
|
1688 xcb_x_print_print_set_attributes_attributes_end (const xcb_x_print_print_set_attributes_request_t *R);
|
jpayne@69
|
1689
|
jpayne@69
|
1690 /**
|
jpayne@69
|
1691 *
|
jpayne@69
|
1692 * @param c The connection
|
jpayne@69
|
1693 * @return A cookie
|
jpayne@69
|
1694 *
|
jpayne@69
|
1695 * Delivers a request to the X server.
|
jpayne@69
|
1696 *
|
jpayne@69
|
1697 */
|
jpayne@69
|
1698 xcb_x_print_print_get_page_dimensions_cookie_t
|
jpayne@69
|
1699 xcb_x_print_print_get_page_dimensions (xcb_connection_t *c,
|
jpayne@69
|
1700 xcb_x_print_pcontext_t context);
|
jpayne@69
|
1701
|
jpayne@69
|
1702 /**
|
jpayne@69
|
1703 *
|
jpayne@69
|
1704 * @param c The connection
|
jpayne@69
|
1705 * @return A cookie
|
jpayne@69
|
1706 *
|
jpayne@69
|
1707 * Delivers a request to the X server.
|
jpayne@69
|
1708 *
|
jpayne@69
|
1709 * This form can be used only if the request will cause
|
jpayne@69
|
1710 * a reply to be generated. Any returned error will be
|
jpayne@69
|
1711 * placed in the event queue.
|
jpayne@69
|
1712 */
|
jpayne@69
|
1713 xcb_x_print_print_get_page_dimensions_cookie_t
|
jpayne@69
|
1714 xcb_x_print_print_get_page_dimensions_unchecked (xcb_connection_t *c,
|
jpayne@69
|
1715 xcb_x_print_pcontext_t context);
|
jpayne@69
|
1716
|
jpayne@69
|
1717 /**
|
jpayne@69
|
1718 * Return the reply
|
jpayne@69
|
1719 * @param c The connection
|
jpayne@69
|
1720 * @param cookie The cookie
|
jpayne@69
|
1721 * @param e The xcb_generic_error_t supplied
|
jpayne@69
|
1722 *
|
jpayne@69
|
1723 * Returns the reply of the request asked by
|
jpayne@69
|
1724 *
|
jpayne@69
|
1725 * The parameter @p e supplied to this function must be NULL if
|
jpayne@69
|
1726 * xcb_x_print_print_get_page_dimensions_unchecked(). is used.
|
jpayne@69
|
1727 * Otherwise, it stores the error if any.
|
jpayne@69
|
1728 *
|
jpayne@69
|
1729 * The returned value must be freed by the caller using free().
|
jpayne@69
|
1730 */
|
jpayne@69
|
1731 xcb_x_print_print_get_page_dimensions_reply_t *
|
jpayne@69
|
1732 xcb_x_print_print_get_page_dimensions_reply (xcb_connection_t *c,
|
jpayne@69
|
1733 xcb_x_print_print_get_page_dimensions_cookie_t cookie /**< */,
|
jpayne@69
|
1734 xcb_generic_error_t **e);
|
jpayne@69
|
1735
|
jpayne@69
|
1736 int
|
jpayne@69
|
1737 xcb_x_print_print_query_screens_sizeof (const void *_buffer);
|
jpayne@69
|
1738
|
jpayne@69
|
1739 /**
|
jpayne@69
|
1740 *
|
jpayne@69
|
1741 * @param c The connection
|
jpayne@69
|
1742 * @return A cookie
|
jpayne@69
|
1743 *
|
jpayne@69
|
1744 * Delivers a request to the X server.
|
jpayne@69
|
1745 *
|
jpayne@69
|
1746 */
|
jpayne@69
|
1747 xcb_x_print_print_query_screens_cookie_t
|
jpayne@69
|
1748 xcb_x_print_print_query_screens (xcb_connection_t *c);
|
jpayne@69
|
1749
|
jpayne@69
|
1750 /**
|
jpayne@69
|
1751 *
|
jpayne@69
|
1752 * @param c The connection
|
jpayne@69
|
1753 * @return A cookie
|
jpayne@69
|
1754 *
|
jpayne@69
|
1755 * Delivers a request to the X server.
|
jpayne@69
|
1756 *
|
jpayne@69
|
1757 * This form can be used only if the request will cause
|
jpayne@69
|
1758 * a reply to be generated. Any returned error will be
|
jpayne@69
|
1759 * placed in the event queue.
|
jpayne@69
|
1760 */
|
jpayne@69
|
1761 xcb_x_print_print_query_screens_cookie_t
|
jpayne@69
|
1762 xcb_x_print_print_query_screens_unchecked (xcb_connection_t *c);
|
jpayne@69
|
1763
|
jpayne@69
|
1764 xcb_window_t *
|
jpayne@69
|
1765 xcb_x_print_print_query_screens_roots (const xcb_x_print_print_query_screens_reply_t *R);
|
jpayne@69
|
1766
|
jpayne@69
|
1767 int
|
jpayne@69
|
1768 xcb_x_print_print_query_screens_roots_length (const xcb_x_print_print_query_screens_reply_t *R);
|
jpayne@69
|
1769
|
jpayne@69
|
1770 xcb_generic_iterator_t
|
jpayne@69
|
1771 xcb_x_print_print_query_screens_roots_end (const xcb_x_print_print_query_screens_reply_t *R);
|
jpayne@69
|
1772
|
jpayne@69
|
1773 /**
|
jpayne@69
|
1774 * Return the reply
|
jpayne@69
|
1775 * @param c The connection
|
jpayne@69
|
1776 * @param cookie The cookie
|
jpayne@69
|
1777 * @param e The xcb_generic_error_t supplied
|
jpayne@69
|
1778 *
|
jpayne@69
|
1779 * Returns the reply of the request asked by
|
jpayne@69
|
1780 *
|
jpayne@69
|
1781 * The parameter @p e supplied to this function must be NULL if
|
jpayne@69
|
1782 * xcb_x_print_print_query_screens_unchecked(). is used.
|
jpayne@69
|
1783 * Otherwise, it stores the error if any.
|
jpayne@69
|
1784 *
|
jpayne@69
|
1785 * The returned value must be freed by the caller using free().
|
jpayne@69
|
1786 */
|
jpayne@69
|
1787 xcb_x_print_print_query_screens_reply_t *
|
jpayne@69
|
1788 xcb_x_print_print_query_screens_reply (xcb_connection_t *c,
|
jpayne@69
|
1789 xcb_x_print_print_query_screens_cookie_t cookie /**< */,
|
jpayne@69
|
1790 xcb_generic_error_t **e);
|
jpayne@69
|
1791
|
jpayne@69
|
1792 /**
|
jpayne@69
|
1793 *
|
jpayne@69
|
1794 * @param c The connection
|
jpayne@69
|
1795 * @return A cookie
|
jpayne@69
|
1796 *
|
jpayne@69
|
1797 * Delivers a request to the X server.
|
jpayne@69
|
1798 *
|
jpayne@69
|
1799 */
|
jpayne@69
|
1800 xcb_x_print_print_set_image_resolution_cookie_t
|
jpayne@69
|
1801 xcb_x_print_print_set_image_resolution (xcb_connection_t *c,
|
jpayne@69
|
1802 xcb_x_print_pcontext_t context,
|
jpayne@69
|
1803 uint16_t image_resolution);
|
jpayne@69
|
1804
|
jpayne@69
|
1805 /**
|
jpayne@69
|
1806 *
|
jpayne@69
|
1807 * @param c The connection
|
jpayne@69
|
1808 * @return A cookie
|
jpayne@69
|
1809 *
|
jpayne@69
|
1810 * Delivers a request to the X server.
|
jpayne@69
|
1811 *
|
jpayne@69
|
1812 * This form can be used only if the request will cause
|
jpayne@69
|
1813 * a reply to be generated. Any returned error will be
|
jpayne@69
|
1814 * placed in the event queue.
|
jpayne@69
|
1815 */
|
jpayne@69
|
1816 xcb_x_print_print_set_image_resolution_cookie_t
|
jpayne@69
|
1817 xcb_x_print_print_set_image_resolution_unchecked (xcb_connection_t *c,
|
jpayne@69
|
1818 xcb_x_print_pcontext_t context,
|
jpayne@69
|
1819 uint16_t image_resolution);
|
jpayne@69
|
1820
|
jpayne@69
|
1821 /**
|
jpayne@69
|
1822 * Return the reply
|
jpayne@69
|
1823 * @param c The connection
|
jpayne@69
|
1824 * @param cookie The cookie
|
jpayne@69
|
1825 * @param e The xcb_generic_error_t supplied
|
jpayne@69
|
1826 *
|
jpayne@69
|
1827 * Returns the reply of the request asked by
|
jpayne@69
|
1828 *
|
jpayne@69
|
1829 * The parameter @p e supplied to this function must be NULL if
|
jpayne@69
|
1830 * xcb_x_print_print_set_image_resolution_unchecked(). is used.
|
jpayne@69
|
1831 * Otherwise, it stores the error if any.
|
jpayne@69
|
1832 *
|
jpayne@69
|
1833 * The returned value must be freed by the caller using free().
|
jpayne@69
|
1834 */
|
jpayne@69
|
1835 xcb_x_print_print_set_image_resolution_reply_t *
|
jpayne@69
|
1836 xcb_x_print_print_set_image_resolution_reply (xcb_connection_t *c,
|
jpayne@69
|
1837 xcb_x_print_print_set_image_resolution_cookie_t cookie /**< */,
|
jpayne@69
|
1838 xcb_generic_error_t **e);
|
jpayne@69
|
1839
|
jpayne@69
|
1840 /**
|
jpayne@69
|
1841 *
|
jpayne@69
|
1842 * @param c The connection
|
jpayne@69
|
1843 * @return A cookie
|
jpayne@69
|
1844 *
|
jpayne@69
|
1845 * Delivers a request to the X server.
|
jpayne@69
|
1846 *
|
jpayne@69
|
1847 */
|
jpayne@69
|
1848 xcb_x_print_print_get_image_resolution_cookie_t
|
jpayne@69
|
1849 xcb_x_print_print_get_image_resolution (xcb_connection_t *c,
|
jpayne@69
|
1850 xcb_x_print_pcontext_t context);
|
jpayne@69
|
1851
|
jpayne@69
|
1852 /**
|
jpayne@69
|
1853 *
|
jpayne@69
|
1854 * @param c The connection
|
jpayne@69
|
1855 * @return A cookie
|
jpayne@69
|
1856 *
|
jpayne@69
|
1857 * Delivers a request to the X server.
|
jpayne@69
|
1858 *
|
jpayne@69
|
1859 * This form can be used only if the request will cause
|
jpayne@69
|
1860 * a reply to be generated. Any returned error will be
|
jpayne@69
|
1861 * placed in the event queue.
|
jpayne@69
|
1862 */
|
jpayne@69
|
1863 xcb_x_print_print_get_image_resolution_cookie_t
|
jpayne@69
|
1864 xcb_x_print_print_get_image_resolution_unchecked (xcb_connection_t *c,
|
jpayne@69
|
1865 xcb_x_print_pcontext_t context);
|
jpayne@69
|
1866
|
jpayne@69
|
1867 /**
|
jpayne@69
|
1868 * Return the reply
|
jpayne@69
|
1869 * @param c The connection
|
jpayne@69
|
1870 * @param cookie The cookie
|
jpayne@69
|
1871 * @param e The xcb_generic_error_t supplied
|
jpayne@69
|
1872 *
|
jpayne@69
|
1873 * Returns the reply of the request asked by
|
jpayne@69
|
1874 *
|
jpayne@69
|
1875 * The parameter @p e supplied to this function must be NULL if
|
jpayne@69
|
1876 * xcb_x_print_print_get_image_resolution_unchecked(). is used.
|
jpayne@69
|
1877 * Otherwise, it stores the error if any.
|
jpayne@69
|
1878 *
|
jpayne@69
|
1879 * The returned value must be freed by the caller using free().
|
jpayne@69
|
1880 */
|
jpayne@69
|
1881 xcb_x_print_print_get_image_resolution_reply_t *
|
jpayne@69
|
1882 xcb_x_print_print_get_image_resolution_reply (xcb_connection_t *c,
|
jpayne@69
|
1883 xcb_x_print_print_get_image_resolution_cookie_t cookie /**< */,
|
jpayne@69
|
1884 xcb_generic_error_t **e);
|
jpayne@69
|
1885
|
jpayne@69
|
1886
|
jpayne@69
|
1887 #ifdef __cplusplus
|
jpayne@69
|
1888 }
|
jpayne@69
|
1889 #endif
|
jpayne@69
|
1890
|
jpayne@69
|
1891 #endif
|
jpayne@69
|
1892
|
jpayne@69
|
1893 /**
|
jpayne@69
|
1894 * @}
|
jpayne@69
|
1895 */
|