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