xref: /minix3/external/mit/xorg/lib/libxcb/files/xprint.h (revision 0a6a1f1d05b60e214de2f05a7310ddd1f0e590e7)
1971bb1a5SLionel Sambuc /*
2971bb1a5SLionel Sambuc  * This file generated automatically from xprint.xml by c_client.py.
3971bb1a5SLionel Sambuc  * Edit at your peril.
4971bb1a5SLionel Sambuc  */
5971bb1a5SLionel Sambuc 
6971bb1a5SLionel Sambuc /**
7971bb1a5SLionel Sambuc  * @defgroup XCB_XPrint_API XCB XPrint API
8971bb1a5SLionel Sambuc  * @brief XPrint XCB Protocol Implementation.
9971bb1a5SLionel Sambuc  * @{
10971bb1a5SLionel Sambuc  **/
11971bb1a5SLionel Sambuc 
12971bb1a5SLionel Sambuc #ifndef __XPRINT_H
13971bb1a5SLionel Sambuc #define __XPRINT_H
14971bb1a5SLionel Sambuc 
15971bb1a5SLionel Sambuc #include "xcb.h"
16971bb1a5SLionel Sambuc #include "xproto.h"
17971bb1a5SLionel Sambuc 
18971bb1a5SLionel Sambuc #ifdef __cplusplus
19971bb1a5SLionel Sambuc extern "C" {
20971bb1a5SLionel Sambuc #endif
21971bb1a5SLionel Sambuc 
22971bb1a5SLionel Sambuc #define XCB_XPRINT_MAJOR_VERSION 1
23971bb1a5SLionel Sambuc #define XCB_XPRINT_MINOR_VERSION 0
24971bb1a5SLionel Sambuc 
25971bb1a5SLionel Sambuc extern xcb_extension_t xcb_x_print_id;
26971bb1a5SLionel Sambuc 
27971bb1a5SLionel Sambuc typedef char xcb_x_print_string8_t;
28971bb1a5SLionel Sambuc 
29971bb1a5SLionel Sambuc /**
30971bb1a5SLionel Sambuc  * @brief xcb_x_print_string8_iterator_t
31971bb1a5SLionel Sambuc  **/
32971bb1a5SLionel Sambuc typedef struct xcb_x_print_string8_iterator_t {
33971bb1a5SLionel Sambuc     xcb_x_print_string8_t *data; /**<  */
34971bb1a5SLionel Sambuc     int                    rem; /**<  */
35971bb1a5SLionel Sambuc     int                    index; /**<  */
36971bb1a5SLionel Sambuc } xcb_x_print_string8_iterator_t;
37971bb1a5SLionel Sambuc 
38971bb1a5SLionel Sambuc /**
39971bb1a5SLionel Sambuc  * @brief xcb_x_print_printer_t
40971bb1a5SLionel Sambuc  **/
41971bb1a5SLionel Sambuc typedef struct xcb_x_print_printer_t {
42971bb1a5SLionel Sambuc     uint32_t nameLen; /**<  */
43971bb1a5SLionel Sambuc     uint32_t descLen; /**<  */
44971bb1a5SLionel Sambuc } xcb_x_print_printer_t;
45971bb1a5SLionel Sambuc 
46971bb1a5SLionel Sambuc /**
47971bb1a5SLionel Sambuc  * @brief xcb_x_print_printer_iterator_t
48971bb1a5SLionel Sambuc  **/
49971bb1a5SLionel Sambuc typedef struct xcb_x_print_printer_iterator_t {
50971bb1a5SLionel Sambuc     xcb_x_print_printer_t *data; /**<  */
51971bb1a5SLionel Sambuc     int                    rem; /**<  */
52971bb1a5SLionel Sambuc     int                    index; /**<  */
53971bb1a5SLionel Sambuc } xcb_x_print_printer_iterator_t;
54971bb1a5SLionel Sambuc 
55971bb1a5SLionel Sambuc typedef uint32_t xcb_x_print_pcontext_t;
56971bb1a5SLionel Sambuc 
57971bb1a5SLionel Sambuc /**
58971bb1a5SLionel Sambuc  * @brief xcb_x_print_pcontext_iterator_t
59971bb1a5SLionel Sambuc  **/
60971bb1a5SLionel Sambuc typedef struct xcb_x_print_pcontext_iterator_t {
61971bb1a5SLionel Sambuc     xcb_x_print_pcontext_t *data; /**<  */
62971bb1a5SLionel Sambuc     int                     rem; /**<  */
63971bb1a5SLionel Sambuc     int                     index; /**<  */
64971bb1a5SLionel Sambuc } xcb_x_print_pcontext_iterator_t;
65971bb1a5SLionel Sambuc 
66971bb1a5SLionel Sambuc typedef enum xcb_x_print_get_doc_t {
67971bb1a5SLionel Sambuc     XCB_X_PRINT_GET_DOC_FINISHED = 0,
68971bb1a5SLionel Sambuc     XCB_X_PRINT_GET_DOC_SECOND_CONSUMER = 1
69971bb1a5SLionel Sambuc } xcb_x_print_get_doc_t;
70971bb1a5SLionel Sambuc 
71971bb1a5SLionel Sambuc typedef enum xcb_x_print_ev_mask_t {
72971bb1a5SLionel Sambuc     XCB_X_PRINT_EV_MASK_NO_EVENT_MASK = 0,
73971bb1a5SLionel Sambuc     XCB_X_PRINT_EV_MASK_PRINT_MASK = 1,
74971bb1a5SLionel Sambuc     XCB_X_PRINT_EV_MASK_ATTRIBUTE_MASK = 2
75971bb1a5SLionel Sambuc } xcb_x_print_ev_mask_t;
76971bb1a5SLionel Sambuc 
77971bb1a5SLionel Sambuc typedef enum xcb_x_print_detail_t {
78971bb1a5SLionel Sambuc     XCB_X_PRINT_DETAIL_START_JOB_NOTIFY = 1,
79971bb1a5SLionel Sambuc     XCB_X_PRINT_DETAIL_END_JOB_NOTIFY = 2,
80971bb1a5SLionel Sambuc     XCB_X_PRINT_DETAIL_START_DOC_NOTIFY = 3,
81971bb1a5SLionel Sambuc     XCB_X_PRINT_DETAIL_END_DOC_NOTIFY = 4,
82971bb1a5SLionel Sambuc     XCB_X_PRINT_DETAIL_START_PAGE_NOTIFY = 5,
83971bb1a5SLionel Sambuc     XCB_X_PRINT_DETAIL_END_PAGE_NOTIFY = 6
84971bb1a5SLionel Sambuc } xcb_x_print_detail_t;
85971bb1a5SLionel Sambuc 
86971bb1a5SLionel Sambuc typedef enum xcb_x_print_attr_t {
87971bb1a5SLionel Sambuc     XCB_X_PRINT_ATTR_JOB_ATTR = 1,
88971bb1a5SLionel Sambuc     XCB_X_PRINT_ATTR_DOC_ATTR = 2,
89971bb1a5SLionel Sambuc     XCB_X_PRINT_ATTR_PAGE_ATTR = 3,
90971bb1a5SLionel Sambuc     XCB_X_PRINT_ATTR_PRINTER_ATTR = 4,
91971bb1a5SLionel Sambuc     XCB_X_PRINT_ATTR_SERVER_ATTR = 5,
92971bb1a5SLionel Sambuc     XCB_X_PRINT_ATTR_MEDIUM_ATTR = 6,
93971bb1a5SLionel Sambuc     XCB_X_PRINT_ATTR_SPOOLER_ATTR = 7
94971bb1a5SLionel Sambuc } xcb_x_print_attr_t;
95971bb1a5SLionel Sambuc 
96971bb1a5SLionel Sambuc /**
97971bb1a5SLionel Sambuc  * @brief xcb_x_print_print_query_version_cookie_t
98971bb1a5SLionel Sambuc  **/
99971bb1a5SLionel Sambuc typedef struct xcb_x_print_print_query_version_cookie_t {
100971bb1a5SLionel Sambuc     unsigned int sequence; /**<  */
101971bb1a5SLionel Sambuc } xcb_x_print_print_query_version_cookie_t;
102971bb1a5SLionel Sambuc 
103971bb1a5SLionel Sambuc /** Opcode for xcb_x_print_print_query_version. */
104971bb1a5SLionel Sambuc #define XCB_X_PRINT_PRINT_QUERY_VERSION 0
105971bb1a5SLionel Sambuc 
106971bb1a5SLionel Sambuc /**
107971bb1a5SLionel Sambuc  * @brief xcb_x_print_print_query_version_request_t
108971bb1a5SLionel Sambuc  **/
109971bb1a5SLionel Sambuc typedef struct xcb_x_print_print_query_version_request_t {
110971bb1a5SLionel Sambuc     uint8_t  major_opcode; /**<  */
111971bb1a5SLionel Sambuc     uint8_t  minor_opcode; /**<  */
112971bb1a5SLionel Sambuc     uint16_t length; /**<  */
113971bb1a5SLionel Sambuc } xcb_x_print_print_query_version_request_t;
114971bb1a5SLionel Sambuc 
115971bb1a5SLionel Sambuc /**
116971bb1a5SLionel Sambuc  * @brief xcb_x_print_print_query_version_reply_t
117971bb1a5SLionel Sambuc  **/
118971bb1a5SLionel Sambuc typedef struct xcb_x_print_print_query_version_reply_t {
119971bb1a5SLionel Sambuc     uint8_t  response_type; /**<  */
120971bb1a5SLionel Sambuc     uint8_t  pad0; /**<  */
121971bb1a5SLionel Sambuc     uint16_t sequence; /**<  */
122971bb1a5SLionel Sambuc     uint32_t length; /**<  */
123971bb1a5SLionel Sambuc     uint16_t major_version; /**<  */
124971bb1a5SLionel Sambuc     uint16_t minor_version; /**<  */
125971bb1a5SLionel Sambuc } xcb_x_print_print_query_version_reply_t;
126971bb1a5SLionel Sambuc 
127971bb1a5SLionel Sambuc /**
128971bb1a5SLionel Sambuc  * @brief xcb_x_print_print_get_printer_list_cookie_t
129971bb1a5SLionel Sambuc  **/
130971bb1a5SLionel Sambuc typedef struct xcb_x_print_print_get_printer_list_cookie_t {
131971bb1a5SLionel Sambuc     unsigned int sequence; /**<  */
132971bb1a5SLionel Sambuc } xcb_x_print_print_get_printer_list_cookie_t;
133971bb1a5SLionel Sambuc 
134971bb1a5SLionel Sambuc /** Opcode for xcb_x_print_print_get_printer_list. */
135971bb1a5SLionel Sambuc #define XCB_X_PRINT_PRINT_GET_PRINTER_LIST 1
136971bb1a5SLionel Sambuc 
137971bb1a5SLionel Sambuc /**
138971bb1a5SLionel Sambuc  * @brief xcb_x_print_print_get_printer_list_request_t
139971bb1a5SLionel Sambuc  **/
140971bb1a5SLionel Sambuc typedef struct xcb_x_print_print_get_printer_list_request_t {
141971bb1a5SLionel Sambuc     uint8_t  major_opcode; /**<  */
142971bb1a5SLionel Sambuc     uint8_t  minor_opcode; /**<  */
143971bb1a5SLionel Sambuc     uint16_t length; /**<  */
144971bb1a5SLionel Sambuc     uint32_t printerNameLen; /**<  */
145971bb1a5SLionel Sambuc     uint32_t localeLen; /**<  */
146971bb1a5SLionel Sambuc } xcb_x_print_print_get_printer_list_request_t;
147971bb1a5SLionel Sambuc 
148971bb1a5SLionel Sambuc /**
149971bb1a5SLionel Sambuc  * @brief xcb_x_print_print_get_printer_list_reply_t
150971bb1a5SLionel Sambuc  **/
151971bb1a5SLionel Sambuc typedef struct xcb_x_print_print_get_printer_list_reply_t {
152971bb1a5SLionel Sambuc     uint8_t  response_type; /**<  */
153971bb1a5SLionel Sambuc     uint8_t  pad0; /**<  */
154971bb1a5SLionel Sambuc     uint16_t sequence; /**<  */
155971bb1a5SLionel Sambuc     uint32_t length; /**<  */
156971bb1a5SLionel Sambuc     uint32_t listCount; /**<  */
157971bb1a5SLionel Sambuc     uint8_t  pad1[20]; /**<  */
158971bb1a5SLionel Sambuc } xcb_x_print_print_get_printer_list_reply_t;
159971bb1a5SLionel Sambuc 
160971bb1a5SLionel Sambuc /** Opcode for xcb_x_print_print_rehash_printer_list. */
161971bb1a5SLionel Sambuc #define XCB_X_PRINT_PRINT_REHASH_PRINTER_LIST 20
162971bb1a5SLionel Sambuc 
163971bb1a5SLionel Sambuc /**
164971bb1a5SLionel Sambuc  * @brief xcb_x_print_print_rehash_printer_list_request_t
165971bb1a5SLionel Sambuc  **/
166971bb1a5SLionel Sambuc typedef struct xcb_x_print_print_rehash_printer_list_request_t {
167971bb1a5SLionel Sambuc     uint8_t  major_opcode; /**<  */
168971bb1a5SLionel Sambuc     uint8_t  minor_opcode; /**<  */
169971bb1a5SLionel Sambuc     uint16_t length; /**<  */
170971bb1a5SLionel Sambuc } xcb_x_print_print_rehash_printer_list_request_t;
171971bb1a5SLionel Sambuc 
172971bb1a5SLionel Sambuc /** Opcode for xcb_x_print_create_context. */
173971bb1a5SLionel Sambuc #define XCB_X_PRINT_CREATE_CONTEXT 2
174971bb1a5SLionel Sambuc 
175971bb1a5SLionel Sambuc /**
176971bb1a5SLionel Sambuc  * @brief xcb_x_print_create_context_request_t
177971bb1a5SLionel Sambuc  **/
178971bb1a5SLionel Sambuc typedef struct xcb_x_print_create_context_request_t {
179971bb1a5SLionel Sambuc     uint8_t  major_opcode; /**<  */
180971bb1a5SLionel Sambuc     uint8_t  minor_opcode; /**<  */
181971bb1a5SLionel Sambuc     uint16_t length; /**<  */
182971bb1a5SLionel Sambuc     uint32_t context_id; /**<  */
183971bb1a5SLionel Sambuc     uint32_t printerNameLen; /**<  */
184971bb1a5SLionel Sambuc     uint32_t localeLen; /**<  */
185971bb1a5SLionel Sambuc } xcb_x_print_create_context_request_t;
186971bb1a5SLionel Sambuc 
187971bb1a5SLionel Sambuc /** Opcode for xcb_x_print_print_set_context. */
188971bb1a5SLionel Sambuc #define XCB_X_PRINT_PRINT_SET_CONTEXT 3
189971bb1a5SLionel Sambuc 
190971bb1a5SLionel Sambuc /**
191971bb1a5SLionel Sambuc  * @brief xcb_x_print_print_set_context_request_t
192971bb1a5SLionel Sambuc  **/
193971bb1a5SLionel Sambuc typedef struct xcb_x_print_print_set_context_request_t {
194971bb1a5SLionel Sambuc     uint8_t  major_opcode; /**<  */
195971bb1a5SLionel Sambuc     uint8_t  minor_opcode; /**<  */
196971bb1a5SLionel Sambuc     uint16_t length; /**<  */
197971bb1a5SLionel Sambuc     uint32_t context; /**<  */
198971bb1a5SLionel Sambuc } xcb_x_print_print_set_context_request_t;
199971bb1a5SLionel Sambuc 
200971bb1a5SLionel Sambuc /**
201971bb1a5SLionel Sambuc  * @brief xcb_x_print_print_get_context_cookie_t
202971bb1a5SLionel Sambuc  **/
203971bb1a5SLionel Sambuc typedef struct xcb_x_print_print_get_context_cookie_t {
204971bb1a5SLionel Sambuc     unsigned int sequence; /**<  */
205971bb1a5SLionel Sambuc } xcb_x_print_print_get_context_cookie_t;
206971bb1a5SLionel Sambuc 
207971bb1a5SLionel Sambuc /** Opcode for xcb_x_print_print_get_context. */
208971bb1a5SLionel Sambuc #define XCB_X_PRINT_PRINT_GET_CONTEXT 4
209971bb1a5SLionel Sambuc 
210971bb1a5SLionel Sambuc /**
211971bb1a5SLionel Sambuc  * @brief xcb_x_print_print_get_context_request_t
212971bb1a5SLionel Sambuc  **/
213971bb1a5SLionel Sambuc typedef struct xcb_x_print_print_get_context_request_t {
214971bb1a5SLionel Sambuc     uint8_t  major_opcode; /**<  */
215971bb1a5SLionel Sambuc     uint8_t  minor_opcode; /**<  */
216971bb1a5SLionel Sambuc     uint16_t length; /**<  */
217971bb1a5SLionel Sambuc } xcb_x_print_print_get_context_request_t;
218971bb1a5SLionel Sambuc 
219971bb1a5SLionel Sambuc /**
220971bb1a5SLionel Sambuc  * @brief xcb_x_print_print_get_context_reply_t
221971bb1a5SLionel Sambuc  **/
222971bb1a5SLionel Sambuc typedef struct xcb_x_print_print_get_context_reply_t {
223971bb1a5SLionel Sambuc     uint8_t  response_type; /**<  */
224971bb1a5SLionel Sambuc     uint8_t  pad0; /**<  */
225971bb1a5SLionel Sambuc     uint16_t sequence; /**<  */
226971bb1a5SLionel Sambuc     uint32_t length; /**<  */
227971bb1a5SLionel Sambuc     uint32_t context; /**<  */
228971bb1a5SLionel Sambuc } xcb_x_print_print_get_context_reply_t;
229971bb1a5SLionel Sambuc 
230971bb1a5SLionel Sambuc /** Opcode for xcb_x_print_print_destroy_context. */
231971bb1a5SLionel Sambuc #define XCB_X_PRINT_PRINT_DESTROY_CONTEXT 5
232971bb1a5SLionel Sambuc 
233971bb1a5SLionel Sambuc /**
234971bb1a5SLionel Sambuc  * @brief xcb_x_print_print_destroy_context_request_t
235971bb1a5SLionel Sambuc  **/
236971bb1a5SLionel Sambuc typedef struct xcb_x_print_print_destroy_context_request_t {
237971bb1a5SLionel Sambuc     uint8_t  major_opcode; /**<  */
238971bb1a5SLionel Sambuc     uint8_t  minor_opcode; /**<  */
239971bb1a5SLionel Sambuc     uint16_t length; /**<  */
240971bb1a5SLionel Sambuc     uint32_t context; /**<  */
241971bb1a5SLionel Sambuc } xcb_x_print_print_destroy_context_request_t;
242971bb1a5SLionel Sambuc 
243971bb1a5SLionel Sambuc /**
244971bb1a5SLionel Sambuc  * @brief xcb_x_print_print_get_screen_of_context_cookie_t
245971bb1a5SLionel Sambuc  **/
246971bb1a5SLionel Sambuc typedef struct xcb_x_print_print_get_screen_of_context_cookie_t {
247971bb1a5SLionel Sambuc     unsigned int sequence; /**<  */
248971bb1a5SLionel Sambuc } xcb_x_print_print_get_screen_of_context_cookie_t;
249971bb1a5SLionel Sambuc 
250971bb1a5SLionel Sambuc /** Opcode for xcb_x_print_print_get_screen_of_context. */
251971bb1a5SLionel Sambuc #define XCB_X_PRINT_PRINT_GET_SCREEN_OF_CONTEXT 6
252971bb1a5SLionel Sambuc 
253971bb1a5SLionel Sambuc /**
254971bb1a5SLionel Sambuc  * @brief xcb_x_print_print_get_screen_of_context_request_t
255971bb1a5SLionel Sambuc  **/
256971bb1a5SLionel Sambuc typedef struct xcb_x_print_print_get_screen_of_context_request_t {
257971bb1a5SLionel Sambuc     uint8_t  major_opcode; /**<  */
258971bb1a5SLionel Sambuc     uint8_t  minor_opcode; /**<  */
259971bb1a5SLionel Sambuc     uint16_t length; /**<  */
260971bb1a5SLionel Sambuc } xcb_x_print_print_get_screen_of_context_request_t;
261971bb1a5SLionel Sambuc 
262971bb1a5SLionel Sambuc /**
263971bb1a5SLionel Sambuc  * @brief xcb_x_print_print_get_screen_of_context_reply_t
264971bb1a5SLionel Sambuc  **/
265971bb1a5SLionel Sambuc typedef struct xcb_x_print_print_get_screen_of_context_reply_t {
266971bb1a5SLionel Sambuc     uint8_t      response_type; /**<  */
267971bb1a5SLionel Sambuc     uint8_t      pad0; /**<  */
268971bb1a5SLionel Sambuc     uint16_t     sequence; /**<  */
269971bb1a5SLionel Sambuc     uint32_t     length; /**<  */
270971bb1a5SLionel Sambuc     xcb_window_t root; /**<  */
271971bb1a5SLionel Sambuc } xcb_x_print_print_get_screen_of_context_reply_t;
272971bb1a5SLionel Sambuc 
273971bb1a5SLionel Sambuc /** Opcode for xcb_x_print_print_start_job. */
274971bb1a5SLionel Sambuc #define XCB_X_PRINT_PRINT_START_JOB 7
275971bb1a5SLionel Sambuc 
276971bb1a5SLionel Sambuc /**
277971bb1a5SLionel Sambuc  * @brief xcb_x_print_print_start_job_request_t
278971bb1a5SLionel Sambuc  **/
279971bb1a5SLionel Sambuc typedef struct xcb_x_print_print_start_job_request_t {
280971bb1a5SLionel Sambuc     uint8_t  major_opcode; /**<  */
281971bb1a5SLionel Sambuc     uint8_t  minor_opcode; /**<  */
282971bb1a5SLionel Sambuc     uint16_t length; /**<  */
283971bb1a5SLionel Sambuc     uint8_t  output_mode; /**<  */
284971bb1a5SLionel Sambuc } xcb_x_print_print_start_job_request_t;
285971bb1a5SLionel Sambuc 
286971bb1a5SLionel Sambuc /** Opcode for xcb_x_print_print_end_job. */
287971bb1a5SLionel Sambuc #define XCB_X_PRINT_PRINT_END_JOB 8
288971bb1a5SLionel Sambuc 
289971bb1a5SLionel Sambuc /**
290971bb1a5SLionel Sambuc  * @brief xcb_x_print_print_end_job_request_t
291971bb1a5SLionel Sambuc  **/
292971bb1a5SLionel Sambuc typedef struct xcb_x_print_print_end_job_request_t {
293971bb1a5SLionel Sambuc     uint8_t  major_opcode; /**<  */
294971bb1a5SLionel Sambuc     uint8_t  minor_opcode; /**<  */
295971bb1a5SLionel Sambuc     uint16_t length; /**<  */
296971bb1a5SLionel Sambuc     uint8_t  cancel; /**<  */
297971bb1a5SLionel Sambuc } xcb_x_print_print_end_job_request_t;
298971bb1a5SLionel Sambuc 
299971bb1a5SLionel Sambuc /** Opcode for xcb_x_print_print_start_doc. */
300971bb1a5SLionel Sambuc #define XCB_X_PRINT_PRINT_START_DOC 9
301971bb1a5SLionel Sambuc 
302971bb1a5SLionel Sambuc /**
303971bb1a5SLionel Sambuc  * @brief xcb_x_print_print_start_doc_request_t
304971bb1a5SLionel Sambuc  **/
305971bb1a5SLionel Sambuc typedef struct xcb_x_print_print_start_doc_request_t {
306971bb1a5SLionel Sambuc     uint8_t  major_opcode; /**<  */
307971bb1a5SLionel Sambuc     uint8_t  minor_opcode; /**<  */
308971bb1a5SLionel Sambuc     uint16_t length; /**<  */
309971bb1a5SLionel Sambuc     uint8_t  driver_mode; /**<  */
310971bb1a5SLionel Sambuc } xcb_x_print_print_start_doc_request_t;
311971bb1a5SLionel Sambuc 
312971bb1a5SLionel Sambuc /** Opcode for xcb_x_print_print_end_doc. */
313971bb1a5SLionel Sambuc #define XCB_X_PRINT_PRINT_END_DOC 10
314971bb1a5SLionel Sambuc 
315971bb1a5SLionel Sambuc /**
316971bb1a5SLionel Sambuc  * @brief xcb_x_print_print_end_doc_request_t
317971bb1a5SLionel Sambuc  **/
318971bb1a5SLionel Sambuc typedef struct xcb_x_print_print_end_doc_request_t {
319971bb1a5SLionel Sambuc     uint8_t  major_opcode; /**<  */
320971bb1a5SLionel Sambuc     uint8_t  minor_opcode; /**<  */
321971bb1a5SLionel Sambuc     uint16_t length; /**<  */
322971bb1a5SLionel Sambuc     uint8_t  cancel; /**<  */
323971bb1a5SLionel Sambuc } xcb_x_print_print_end_doc_request_t;
324971bb1a5SLionel Sambuc 
325971bb1a5SLionel Sambuc /** Opcode for xcb_x_print_print_put_document_data. */
326971bb1a5SLionel Sambuc #define XCB_X_PRINT_PRINT_PUT_DOCUMENT_DATA 11
327971bb1a5SLionel Sambuc 
328971bb1a5SLionel Sambuc /**
329971bb1a5SLionel Sambuc  * @brief xcb_x_print_print_put_document_data_request_t
330971bb1a5SLionel Sambuc  **/
331971bb1a5SLionel Sambuc typedef struct xcb_x_print_print_put_document_data_request_t {
332971bb1a5SLionel Sambuc     uint8_t        major_opcode; /**<  */
333971bb1a5SLionel Sambuc     uint8_t        minor_opcode; /**<  */
334971bb1a5SLionel Sambuc     uint16_t       length; /**<  */
335971bb1a5SLionel Sambuc     xcb_drawable_t drawable; /**<  */
336971bb1a5SLionel Sambuc     uint32_t       len_data; /**<  */
337971bb1a5SLionel Sambuc     uint16_t       len_fmt; /**<  */
338971bb1a5SLionel Sambuc     uint16_t       len_options; /**<  */
339971bb1a5SLionel Sambuc } xcb_x_print_print_put_document_data_request_t;
340971bb1a5SLionel Sambuc 
341971bb1a5SLionel Sambuc /**
342971bb1a5SLionel Sambuc  * @brief xcb_x_print_print_get_document_data_cookie_t
343971bb1a5SLionel Sambuc  **/
344971bb1a5SLionel Sambuc typedef struct xcb_x_print_print_get_document_data_cookie_t {
345971bb1a5SLionel Sambuc     unsigned int sequence; /**<  */
346971bb1a5SLionel Sambuc } xcb_x_print_print_get_document_data_cookie_t;
347971bb1a5SLionel Sambuc 
348971bb1a5SLionel Sambuc /** Opcode for xcb_x_print_print_get_document_data. */
349971bb1a5SLionel Sambuc #define XCB_X_PRINT_PRINT_GET_DOCUMENT_DATA 12
350971bb1a5SLionel Sambuc 
351971bb1a5SLionel Sambuc /**
352971bb1a5SLionel Sambuc  * @brief xcb_x_print_print_get_document_data_request_t
353971bb1a5SLionel Sambuc  **/
354971bb1a5SLionel Sambuc typedef struct xcb_x_print_print_get_document_data_request_t {
355971bb1a5SLionel Sambuc     uint8_t                major_opcode; /**<  */
356971bb1a5SLionel Sambuc     uint8_t                minor_opcode; /**<  */
357971bb1a5SLionel Sambuc     uint16_t               length; /**<  */
358971bb1a5SLionel Sambuc     xcb_x_print_pcontext_t context; /**<  */
359971bb1a5SLionel Sambuc     uint32_t               max_bytes; /**<  */
360971bb1a5SLionel Sambuc } xcb_x_print_print_get_document_data_request_t;
361971bb1a5SLionel Sambuc 
362971bb1a5SLionel Sambuc /**
363971bb1a5SLionel Sambuc  * @brief xcb_x_print_print_get_document_data_reply_t
364971bb1a5SLionel Sambuc  **/
365971bb1a5SLionel Sambuc typedef struct xcb_x_print_print_get_document_data_reply_t {
366971bb1a5SLionel Sambuc     uint8_t  response_type; /**<  */
367971bb1a5SLionel Sambuc     uint8_t  pad0; /**<  */
368971bb1a5SLionel Sambuc     uint16_t sequence; /**<  */
369971bb1a5SLionel Sambuc     uint32_t length; /**<  */
370971bb1a5SLionel Sambuc     uint32_t status_code; /**<  */
371971bb1a5SLionel Sambuc     uint32_t finished_flag; /**<  */
372971bb1a5SLionel Sambuc     uint32_t dataLen; /**<  */
373971bb1a5SLionel Sambuc     uint8_t  pad1[12]; /**<  */
374971bb1a5SLionel Sambuc } xcb_x_print_print_get_document_data_reply_t;
375971bb1a5SLionel Sambuc 
376971bb1a5SLionel Sambuc /** Opcode for xcb_x_print_print_start_page. */
377971bb1a5SLionel Sambuc #define XCB_X_PRINT_PRINT_START_PAGE 13
378971bb1a5SLionel Sambuc 
379971bb1a5SLionel Sambuc /**
380971bb1a5SLionel Sambuc  * @brief xcb_x_print_print_start_page_request_t
381971bb1a5SLionel Sambuc  **/
382971bb1a5SLionel Sambuc typedef struct xcb_x_print_print_start_page_request_t {
383971bb1a5SLionel Sambuc     uint8_t      major_opcode; /**<  */
384971bb1a5SLionel Sambuc     uint8_t      minor_opcode; /**<  */
385971bb1a5SLionel Sambuc     uint16_t     length; /**<  */
386971bb1a5SLionel Sambuc     xcb_window_t window; /**<  */
387971bb1a5SLionel Sambuc } xcb_x_print_print_start_page_request_t;
388971bb1a5SLionel Sambuc 
389971bb1a5SLionel Sambuc /** Opcode for xcb_x_print_print_end_page. */
390971bb1a5SLionel Sambuc #define XCB_X_PRINT_PRINT_END_PAGE 14
391971bb1a5SLionel Sambuc 
392971bb1a5SLionel Sambuc /**
393971bb1a5SLionel Sambuc  * @brief xcb_x_print_print_end_page_request_t
394971bb1a5SLionel Sambuc  **/
395971bb1a5SLionel Sambuc typedef struct xcb_x_print_print_end_page_request_t {
396971bb1a5SLionel Sambuc     uint8_t  major_opcode; /**<  */
397971bb1a5SLionel Sambuc     uint8_t  minor_opcode; /**<  */
398971bb1a5SLionel Sambuc     uint16_t length; /**<  */
399971bb1a5SLionel Sambuc     uint8_t  cancel; /**<  */
400971bb1a5SLionel Sambuc     uint8_t  pad0[3]; /**<  */
401971bb1a5SLionel Sambuc } xcb_x_print_print_end_page_request_t;
402971bb1a5SLionel Sambuc 
403971bb1a5SLionel Sambuc /** Opcode for xcb_x_print_print_select_input. */
404971bb1a5SLionel Sambuc #define XCB_X_PRINT_PRINT_SELECT_INPUT 15
405971bb1a5SLionel Sambuc 
406971bb1a5SLionel Sambuc /**
407971bb1a5SLionel Sambuc  * @brief xcb_x_print_print_select_input_request_t
408971bb1a5SLionel Sambuc  **/
409971bb1a5SLionel Sambuc typedef struct xcb_x_print_print_select_input_request_t {
410971bb1a5SLionel Sambuc     uint8_t                major_opcode; /**<  */
411971bb1a5SLionel Sambuc     uint8_t                minor_opcode; /**<  */
412971bb1a5SLionel Sambuc     uint16_t               length; /**<  */
413971bb1a5SLionel Sambuc     xcb_x_print_pcontext_t context; /**<  */
414971bb1a5SLionel Sambuc     uint32_t               event_mask; /**<  */
415971bb1a5SLionel Sambuc } xcb_x_print_print_select_input_request_t;
416971bb1a5SLionel Sambuc 
417971bb1a5SLionel Sambuc /**
418971bb1a5SLionel Sambuc  * @brief xcb_x_print_print_input_selected_cookie_t
419971bb1a5SLionel Sambuc  **/
420971bb1a5SLionel Sambuc typedef struct xcb_x_print_print_input_selected_cookie_t {
421971bb1a5SLionel Sambuc     unsigned int sequence; /**<  */
422971bb1a5SLionel Sambuc } xcb_x_print_print_input_selected_cookie_t;
423971bb1a5SLionel Sambuc 
424971bb1a5SLionel Sambuc /** Opcode for xcb_x_print_print_input_selected. */
425971bb1a5SLionel Sambuc #define XCB_X_PRINT_PRINT_INPUT_SELECTED 16
426971bb1a5SLionel Sambuc 
427971bb1a5SLionel Sambuc /**
428971bb1a5SLionel Sambuc  * @brief xcb_x_print_print_input_selected_request_t
429971bb1a5SLionel Sambuc  **/
430971bb1a5SLionel Sambuc typedef struct xcb_x_print_print_input_selected_request_t {
431971bb1a5SLionel Sambuc     uint8_t                major_opcode; /**<  */
432971bb1a5SLionel Sambuc     uint8_t                minor_opcode; /**<  */
433971bb1a5SLionel Sambuc     uint16_t               length; /**<  */
434971bb1a5SLionel Sambuc     xcb_x_print_pcontext_t context; /**<  */
435971bb1a5SLionel Sambuc } xcb_x_print_print_input_selected_request_t;
436971bb1a5SLionel Sambuc 
437971bb1a5SLionel Sambuc /**
438971bb1a5SLionel Sambuc  * @brief xcb_x_print_print_input_selected_reply_t
439971bb1a5SLionel Sambuc  **/
440971bb1a5SLionel Sambuc typedef struct xcb_x_print_print_input_selected_reply_t {
441971bb1a5SLionel Sambuc     uint8_t  response_type; /**<  */
442971bb1a5SLionel Sambuc     uint8_t  pad0; /**<  */
443971bb1a5SLionel Sambuc     uint16_t sequence; /**<  */
444971bb1a5SLionel Sambuc     uint32_t length; /**<  */
445971bb1a5SLionel Sambuc     uint32_t event_mask; /**<  */
446971bb1a5SLionel Sambuc     uint32_t all_events_mask; /**<  */
447971bb1a5SLionel Sambuc } xcb_x_print_print_input_selected_reply_t;
448971bb1a5SLionel Sambuc 
449971bb1a5SLionel Sambuc /**
450971bb1a5SLionel Sambuc  * @brief xcb_x_print_print_get_attributes_cookie_t
451971bb1a5SLionel Sambuc  **/
452971bb1a5SLionel Sambuc typedef struct xcb_x_print_print_get_attributes_cookie_t {
453971bb1a5SLionel Sambuc     unsigned int sequence; /**<  */
454971bb1a5SLionel Sambuc } xcb_x_print_print_get_attributes_cookie_t;
455971bb1a5SLionel Sambuc 
456971bb1a5SLionel Sambuc /** Opcode for xcb_x_print_print_get_attributes. */
457971bb1a5SLionel Sambuc #define XCB_X_PRINT_PRINT_GET_ATTRIBUTES 17
458971bb1a5SLionel Sambuc 
459971bb1a5SLionel Sambuc /**
460971bb1a5SLionel Sambuc  * @brief xcb_x_print_print_get_attributes_request_t
461971bb1a5SLionel Sambuc  **/
462971bb1a5SLionel Sambuc typedef struct xcb_x_print_print_get_attributes_request_t {
463971bb1a5SLionel Sambuc     uint8_t                major_opcode; /**<  */
464971bb1a5SLionel Sambuc     uint8_t                minor_opcode; /**<  */
465971bb1a5SLionel Sambuc     uint16_t               length; /**<  */
466971bb1a5SLionel Sambuc     xcb_x_print_pcontext_t context; /**<  */
467971bb1a5SLionel Sambuc     uint8_t                pool; /**<  */
468971bb1a5SLionel Sambuc     uint8_t                pad0[3]; /**<  */
469971bb1a5SLionel Sambuc } xcb_x_print_print_get_attributes_request_t;
470971bb1a5SLionel Sambuc 
471971bb1a5SLionel Sambuc /**
472971bb1a5SLionel Sambuc  * @brief xcb_x_print_print_get_attributes_reply_t
473971bb1a5SLionel Sambuc  **/
474971bb1a5SLionel Sambuc typedef struct xcb_x_print_print_get_attributes_reply_t {
475971bb1a5SLionel Sambuc     uint8_t  response_type; /**<  */
476971bb1a5SLionel Sambuc     uint8_t  pad0; /**<  */
477971bb1a5SLionel Sambuc     uint16_t sequence; /**<  */
478971bb1a5SLionel Sambuc     uint32_t length; /**<  */
479971bb1a5SLionel Sambuc     uint32_t stringLen; /**<  */
480971bb1a5SLionel Sambuc     uint8_t  pad1[20]; /**<  */
481971bb1a5SLionel Sambuc } xcb_x_print_print_get_attributes_reply_t;
482971bb1a5SLionel Sambuc 
483971bb1a5SLionel Sambuc /**
484971bb1a5SLionel Sambuc  * @brief xcb_x_print_print_get_one_attributes_cookie_t
485971bb1a5SLionel Sambuc  **/
486971bb1a5SLionel Sambuc typedef struct xcb_x_print_print_get_one_attributes_cookie_t {
487971bb1a5SLionel Sambuc     unsigned int sequence; /**<  */
488971bb1a5SLionel Sambuc } xcb_x_print_print_get_one_attributes_cookie_t;
489971bb1a5SLionel Sambuc 
490971bb1a5SLionel Sambuc /** Opcode for xcb_x_print_print_get_one_attributes. */
491971bb1a5SLionel Sambuc #define XCB_X_PRINT_PRINT_GET_ONE_ATTRIBUTES 19
492971bb1a5SLionel Sambuc 
493971bb1a5SLionel Sambuc /**
494971bb1a5SLionel Sambuc  * @brief xcb_x_print_print_get_one_attributes_request_t
495971bb1a5SLionel Sambuc  **/
496971bb1a5SLionel Sambuc typedef struct xcb_x_print_print_get_one_attributes_request_t {
497971bb1a5SLionel Sambuc     uint8_t                major_opcode; /**<  */
498971bb1a5SLionel Sambuc     uint8_t                minor_opcode; /**<  */
499971bb1a5SLionel Sambuc     uint16_t               length; /**<  */
500971bb1a5SLionel Sambuc     xcb_x_print_pcontext_t context; /**<  */
501971bb1a5SLionel Sambuc     uint32_t               nameLen; /**<  */
502971bb1a5SLionel Sambuc     uint8_t                pool; /**<  */
503971bb1a5SLionel Sambuc     uint8_t                pad0[3]; /**<  */
504971bb1a5SLionel Sambuc } xcb_x_print_print_get_one_attributes_request_t;
505971bb1a5SLionel Sambuc 
506971bb1a5SLionel Sambuc /**
507971bb1a5SLionel Sambuc  * @brief xcb_x_print_print_get_one_attributes_reply_t
508971bb1a5SLionel Sambuc  **/
509971bb1a5SLionel Sambuc typedef struct xcb_x_print_print_get_one_attributes_reply_t {
510971bb1a5SLionel Sambuc     uint8_t  response_type; /**<  */
511971bb1a5SLionel Sambuc     uint8_t  pad0; /**<  */
512971bb1a5SLionel Sambuc     uint16_t sequence; /**<  */
513971bb1a5SLionel Sambuc     uint32_t length; /**<  */
514971bb1a5SLionel Sambuc     uint32_t valueLen; /**<  */
515971bb1a5SLionel Sambuc     uint8_t  pad1[20]; /**<  */
516971bb1a5SLionel Sambuc } xcb_x_print_print_get_one_attributes_reply_t;
517971bb1a5SLionel Sambuc 
518971bb1a5SLionel Sambuc /** Opcode for xcb_x_print_print_set_attributes. */
519971bb1a5SLionel Sambuc #define XCB_X_PRINT_PRINT_SET_ATTRIBUTES 18
520971bb1a5SLionel Sambuc 
521971bb1a5SLionel Sambuc /**
522971bb1a5SLionel Sambuc  * @brief xcb_x_print_print_set_attributes_request_t
523971bb1a5SLionel Sambuc  **/
524971bb1a5SLionel Sambuc typedef struct xcb_x_print_print_set_attributes_request_t {
525971bb1a5SLionel Sambuc     uint8_t                major_opcode; /**<  */
526971bb1a5SLionel Sambuc     uint8_t                minor_opcode; /**<  */
527971bb1a5SLionel Sambuc     uint16_t               length; /**<  */
528971bb1a5SLionel Sambuc     xcb_x_print_pcontext_t context; /**<  */
529971bb1a5SLionel Sambuc     uint32_t               stringLen; /**<  */
530971bb1a5SLionel Sambuc     uint8_t                pool; /**<  */
531971bb1a5SLionel Sambuc     uint8_t                rule; /**<  */
532971bb1a5SLionel Sambuc     uint8_t                pad0[2]; /**<  */
533971bb1a5SLionel Sambuc } xcb_x_print_print_set_attributes_request_t;
534971bb1a5SLionel Sambuc 
535971bb1a5SLionel Sambuc /**
536971bb1a5SLionel Sambuc  * @brief xcb_x_print_print_get_page_dimensions_cookie_t
537971bb1a5SLionel Sambuc  **/
538971bb1a5SLionel Sambuc typedef struct xcb_x_print_print_get_page_dimensions_cookie_t {
539971bb1a5SLionel Sambuc     unsigned int sequence; /**<  */
540971bb1a5SLionel Sambuc } xcb_x_print_print_get_page_dimensions_cookie_t;
541971bb1a5SLionel Sambuc 
542971bb1a5SLionel Sambuc /** Opcode for xcb_x_print_print_get_page_dimensions. */
543971bb1a5SLionel Sambuc #define XCB_X_PRINT_PRINT_GET_PAGE_DIMENSIONS 21
544971bb1a5SLionel Sambuc 
545971bb1a5SLionel Sambuc /**
546971bb1a5SLionel Sambuc  * @brief xcb_x_print_print_get_page_dimensions_request_t
547971bb1a5SLionel Sambuc  **/
548971bb1a5SLionel Sambuc typedef struct xcb_x_print_print_get_page_dimensions_request_t {
549971bb1a5SLionel Sambuc     uint8_t                major_opcode; /**<  */
550971bb1a5SLionel Sambuc     uint8_t                minor_opcode; /**<  */
551971bb1a5SLionel Sambuc     uint16_t               length; /**<  */
552971bb1a5SLionel Sambuc     xcb_x_print_pcontext_t context; /**<  */
553971bb1a5SLionel Sambuc } xcb_x_print_print_get_page_dimensions_request_t;
554971bb1a5SLionel Sambuc 
555971bb1a5SLionel Sambuc /**
556971bb1a5SLionel Sambuc  * @brief xcb_x_print_print_get_page_dimensions_reply_t
557971bb1a5SLionel Sambuc  **/
558971bb1a5SLionel Sambuc typedef struct xcb_x_print_print_get_page_dimensions_reply_t {
559971bb1a5SLionel Sambuc     uint8_t  response_type; /**<  */
560971bb1a5SLionel Sambuc     uint8_t  pad0; /**<  */
561971bb1a5SLionel Sambuc     uint16_t sequence; /**<  */
562971bb1a5SLionel Sambuc     uint32_t length; /**<  */
563971bb1a5SLionel Sambuc     uint16_t width; /**<  */
564971bb1a5SLionel Sambuc     uint16_t height; /**<  */
565971bb1a5SLionel Sambuc     uint16_t offset_x; /**<  */
566971bb1a5SLionel Sambuc     uint16_t offset_y; /**<  */
567971bb1a5SLionel Sambuc     uint16_t reproducible_width; /**<  */
568971bb1a5SLionel Sambuc     uint16_t reproducible_height; /**<  */
569971bb1a5SLionel Sambuc } xcb_x_print_print_get_page_dimensions_reply_t;
570971bb1a5SLionel Sambuc 
571971bb1a5SLionel Sambuc /**
572971bb1a5SLionel Sambuc  * @brief xcb_x_print_print_query_screens_cookie_t
573971bb1a5SLionel Sambuc  **/
574971bb1a5SLionel Sambuc typedef struct xcb_x_print_print_query_screens_cookie_t {
575971bb1a5SLionel Sambuc     unsigned int sequence; /**<  */
576971bb1a5SLionel Sambuc } xcb_x_print_print_query_screens_cookie_t;
577971bb1a5SLionel Sambuc 
578971bb1a5SLionel Sambuc /** Opcode for xcb_x_print_print_query_screens. */
579971bb1a5SLionel Sambuc #define XCB_X_PRINT_PRINT_QUERY_SCREENS 22
580971bb1a5SLionel Sambuc 
581971bb1a5SLionel Sambuc /**
582971bb1a5SLionel Sambuc  * @brief xcb_x_print_print_query_screens_request_t
583971bb1a5SLionel Sambuc  **/
584971bb1a5SLionel Sambuc typedef struct xcb_x_print_print_query_screens_request_t {
585971bb1a5SLionel Sambuc     uint8_t  major_opcode; /**<  */
586971bb1a5SLionel Sambuc     uint8_t  minor_opcode; /**<  */
587971bb1a5SLionel Sambuc     uint16_t length; /**<  */
588971bb1a5SLionel Sambuc } xcb_x_print_print_query_screens_request_t;
589971bb1a5SLionel Sambuc 
590971bb1a5SLionel Sambuc /**
591971bb1a5SLionel Sambuc  * @brief xcb_x_print_print_query_screens_reply_t
592971bb1a5SLionel Sambuc  **/
593971bb1a5SLionel Sambuc typedef struct xcb_x_print_print_query_screens_reply_t {
594971bb1a5SLionel Sambuc     uint8_t  response_type; /**<  */
595971bb1a5SLionel Sambuc     uint8_t  pad0; /**<  */
596971bb1a5SLionel Sambuc     uint16_t sequence; /**<  */
597971bb1a5SLionel Sambuc     uint32_t length; /**<  */
598971bb1a5SLionel Sambuc     uint32_t listCount; /**<  */
599971bb1a5SLionel Sambuc     uint8_t  pad1[20]; /**<  */
600971bb1a5SLionel Sambuc } xcb_x_print_print_query_screens_reply_t;
601971bb1a5SLionel Sambuc 
602971bb1a5SLionel Sambuc /**
603971bb1a5SLionel Sambuc  * @brief xcb_x_print_print_set_image_resolution_cookie_t
604971bb1a5SLionel Sambuc  **/
605971bb1a5SLionel Sambuc typedef struct xcb_x_print_print_set_image_resolution_cookie_t {
606971bb1a5SLionel Sambuc     unsigned int sequence; /**<  */
607971bb1a5SLionel Sambuc } xcb_x_print_print_set_image_resolution_cookie_t;
608971bb1a5SLionel Sambuc 
609971bb1a5SLionel Sambuc /** Opcode for xcb_x_print_print_set_image_resolution. */
610971bb1a5SLionel Sambuc #define XCB_X_PRINT_PRINT_SET_IMAGE_RESOLUTION 23
611971bb1a5SLionel Sambuc 
612971bb1a5SLionel Sambuc /**
613971bb1a5SLionel Sambuc  * @brief xcb_x_print_print_set_image_resolution_request_t
614971bb1a5SLionel Sambuc  **/
615971bb1a5SLionel Sambuc typedef struct xcb_x_print_print_set_image_resolution_request_t {
616971bb1a5SLionel Sambuc     uint8_t                major_opcode; /**<  */
617971bb1a5SLionel Sambuc     uint8_t                minor_opcode; /**<  */
618971bb1a5SLionel Sambuc     uint16_t               length; /**<  */
619971bb1a5SLionel Sambuc     xcb_x_print_pcontext_t context; /**<  */
620971bb1a5SLionel Sambuc     uint16_t               image_resolution; /**<  */
621971bb1a5SLionel Sambuc } xcb_x_print_print_set_image_resolution_request_t;
622971bb1a5SLionel Sambuc 
623971bb1a5SLionel Sambuc /**
624971bb1a5SLionel Sambuc  * @brief xcb_x_print_print_set_image_resolution_reply_t
625971bb1a5SLionel Sambuc  **/
626971bb1a5SLionel Sambuc typedef struct xcb_x_print_print_set_image_resolution_reply_t {
627971bb1a5SLionel Sambuc     uint8_t  response_type; /**<  */
628971bb1a5SLionel Sambuc     uint8_t  status; /**<  */
629971bb1a5SLionel Sambuc     uint16_t sequence; /**<  */
630971bb1a5SLionel Sambuc     uint32_t length; /**<  */
631971bb1a5SLionel Sambuc     uint16_t previous_resolutions; /**<  */
632971bb1a5SLionel Sambuc } xcb_x_print_print_set_image_resolution_reply_t;
633971bb1a5SLionel Sambuc 
634971bb1a5SLionel Sambuc /**
635971bb1a5SLionel Sambuc  * @brief xcb_x_print_print_get_image_resolution_cookie_t
636971bb1a5SLionel Sambuc  **/
637971bb1a5SLionel Sambuc typedef struct xcb_x_print_print_get_image_resolution_cookie_t {
638971bb1a5SLionel Sambuc     unsigned int sequence; /**<  */
639971bb1a5SLionel Sambuc } xcb_x_print_print_get_image_resolution_cookie_t;
640971bb1a5SLionel Sambuc 
641971bb1a5SLionel Sambuc /** Opcode for xcb_x_print_print_get_image_resolution. */
642971bb1a5SLionel Sambuc #define XCB_X_PRINT_PRINT_GET_IMAGE_RESOLUTION 24
643971bb1a5SLionel Sambuc 
644971bb1a5SLionel Sambuc /**
645971bb1a5SLionel Sambuc  * @brief xcb_x_print_print_get_image_resolution_request_t
646971bb1a5SLionel Sambuc  **/
647971bb1a5SLionel Sambuc typedef struct xcb_x_print_print_get_image_resolution_request_t {
648971bb1a5SLionel Sambuc     uint8_t                major_opcode; /**<  */
649971bb1a5SLionel Sambuc     uint8_t                minor_opcode; /**<  */
650971bb1a5SLionel Sambuc     uint16_t               length; /**<  */
651971bb1a5SLionel Sambuc     xcb_x_print_pcontext_t context; /**<  */
652971bb1a5SLionel Sambuc } xcb_x_print_print_get_image_resolution_request_t;
653971bb1a5SLionel Sambuc 
654971bb1a5SLionel Sambuc /**
655971bb1a5SLionel Sambuc  * @brief xcb_x_print_print_get_image_resolution_reply_t
656971bb1a5SLionel Sambuc  **/
657971bb1a5SLionel Sambuc typedef struct xcb_x_print_print_get_image_resolution_reply_t {
658971bb1a5SLionel Sambuc     uint8_t  response_type; /**<  */
659971bb1a5SLionel Sambuc     uint8_t  pad0; /**<  */
660971bb1a5SLionel Sambuc     uint16_t sequence; /**<  */
661971bb1a5SLionel Sambuc     uint32_t length; /**<  */
662971bb1a5SLionel Sambuc     uint16_t image_resolution; /**<  */
663971bb1a5SLionel Sambuc } xcb_x_print_print_get_image_resolution_reply_t;
664971bb1a5SLionel Sambuc 
665971bb1a5SLionel Sambuc /** Opcode for xcb_x_print_notify. */
666971bb1a5SLionel Sambuc #define XCB_X_PRINT_NOTIFY 0
667971bb1a5SLionel Sambuc 
668971bb1a5SLionel Sambuc /**
669971bb1a5SLionel Sambuc  * @brief xcb_x_print_notify_event_t
670971bb1a5SLionel Sambuc  **/
671971bb1a5SLionel Sambuc typedef struct xcb_x_print_notify_event_t {
672971bb1a5SLionel Sambuc     uint8_t                response_type; /**<  */
673971bb1a5SLionel Sambuc     uint8_t                detail; /**<  */
674971bb1a5SLionel Sambuc     uint16_t               sequence; /**<  */
675971bb1a5SLionel Sambuc     xcb_x_print_pcontext_t context; /**<  */
676971bb1a5SLionel Sambuc     uint8_t                cancel; /**<  */
677971bb1a5SLionel Sambuc } xcb_x_print_notify_event_t;
678971bb1a5SLionel Sambuc 
679971bb1a5SLionel Sambuc /** Opcode for xcb_x_print_attribut_notify. */
680971bb1a5SLionel Sambuc #define XCB_X_PRINT_ATTRIBUT_NOTIFY 1
681971bb1a5SLionel Sambuc 
682971bb1a5SLionel Sambuc /**
683971bb1a5SLionel Sambuc  * @brief xcb_x_print_attribut_notify_event_t
684971bb1a5SLionel Sambuc  **/
685971bb1a5SLionel Sambuc typedef struct xcb_x_print_attribut_notify_event_t {
686971bb1a5SLionel Sambuc     uint8_t                response_type; /**<  */
687971bb1a5SLionel Sambuc     uint8_t                detail; /**<  */
688971bb1a5SLionel Sambuc     uint16_t               sequence; /**<  */
689971bb1a5SLionel Sambuc     xcb_x_print_pcontext_t context; /**<  */
690971bb1a5SLionel Sambuc } xcb_x_print_attribut_notify_event_t;
691971bb1a5SLionel Sambuc 
692971bb1a5SLionel Sambuc /** Opcode for xcb_x_print_bad_context. */
693971bb1a5SLionel Sambuc #define XCB_X_PRINT_BAD_CONTEXT 0
694971bb1a5SLionel Sambuc 
695971bb1a5SLionel Sambuc /**
696971bb1a5SLionel Sambuc  * @brief xcb_x_print_bad_context_error_t
697971bb1a5SLionel Sambuc  **/
698971bb1a5SLionel Sambuc typedef struct xcb_x_print_bad_context_error_t {
699971bb1a5SLionel Sambuc     uint8_t  response_type; /**<  */
700971bb1a5SLionel Sambuc     uint8_t  error_code; /**<  */
701971bb1a5SLionel Sambuc     uint16_t sequence; /**<  */
702971bb1a5SLionel Sambuc } xcb_x_print_bad_context_error_t;
703971bb1a5SLionel Sambuc 
704971bb1a5SLionel Sambuc /** Opcode for xcb_x_print_bad_sequence. */
705971bb1a5SLionel Sambuc #define XCB_X_PRINT_BAD_SEQUENCE 1
706971bb1a5SLionel Sambuc 
707971bb1a5SLionel Sambuc /**
708971bb1a5SLionel Sambuc  * @brief xcb_x_print_bad_sequence_error_t
709971bb1a5SLionel Sambuc  **/
710971bb1a5SLionel Sambuc typedef struct xcb_x_print_bad_sequence_error_t {
711971bb1a5SLionel Sambuc     uint8_t  response_type; /**<  */
712971bb1a5SLionel Sambuc     uint8_t  error_code; /**<  */
713971bb1a5SLionel Sambuc     uint16_t sequence; /**<  */
714971bb1a5SLionel Sambuc } xcb_x_print_bad_sequence_error_t;
715971bb1a5SLionel Sambuc 
716971bb1a5SLionel Sambuc /**
717971bb1a5SLionel Sambuc  * Get the next element of the iterator
718971bb1a5SLionel Sambuc  * @param i Pointer to a xcb_x_print_string8_iterator_t
719971bb1a5SLionel Sambuc  *
720971bb1a5SLionel Sambuc  * Get the next element in the iterator. The member rem is
721971bb1a5SLionel Sambuc  * decreased by one. The member data points to the next
722971bb1a5SLionel Sambuc  * element. The member index is increased by sizeof(xcb_x_print_string8_t)
723971bb1a5SLionel Sambuc  */
724971bb1a5SLionel Sambuc void
725971bb1a5SLionel Sambuc xcb_x_print_string8_next (xcb_x_print_string8_iterator_t *i  /**< */);
726971bb1a5SLionel Sambuc 
727971bb1a5SLionel Sambuc /**
728971bb1a5SLionel Sambuc  * Return the iterator pointing to the last element
729971bb1a5SLionel Sambuc  * @param i An xcb_x_print_string8_iterator_t
730971bb1a5SLionel Sambuc  * @return  The iterator pointing to the last element
731971bb1a5SLionel Sambuc  *
732971bb1a5SLionel Sambuc  * Set the current element in the iterator to the last element.
733971bb1a5SLionel Sambuc  * The member rem is set to 0. The member data points to the
734971bb1a5SLionel Sambuc  * last element.
735971bb1a5SLionel Sambuc  */
736971bb1a5SLionel Sambuc xcb_generic_iterator_t
737971bb1a5SLionel Sambuc xcb_x_print_string8_end (xcb_x_print_string8_iterator_t i  /**< */);
738971bb1a5SLionel Sambuc 
739971bb1a5SLionel Sambuc int
740971bb1a5SLionel Sambuc xcb_x_print_printer_serialize (void                        **_buffer  /**< */,
741971bb1a5SLionel Sambuc                                const xcb_x_print_printer_t  *_aux  /**< */,
742971bb1a5SLionel Sambuc                                const xcb_x_print_string8_t  *name  /**< */,
743971bb1a5SLionel Sambuc                                const xcb_x_print_string8_t  *description  /**< */);
744971bb1a5SLionel Sambuc 
745971bb1a5SLionel Sambuc int
746971bb1a5SLionel Sambuc xcb_x_print_printer_unserialize (const void              *_buffer  /**< */,
747971bb1a5SLionel Sambuc                                  xcb_x_print_printer_t  **_aux  /**< */);
748971bb1a5SLionel Sambuc 
749971bb1a5SLionel Sambuc int
750971bb1a5SLionel Sambuc xcb_x_print_printer_sizeof (const void  *_buffer  /**< */);
751971bb1a5SLionel Sambuc 
752971bb1a5SLionel Sambuc xcb_x_print_string8_t *
753971bb1a5SLionel Sambuc xcb_x_print_printer_name (const xcb_x_print_printer_t *R  /**< */);
754971bb1a5SLionel Sambuc 
755971bb1a5SLionel Sambuc int
756971bb1a5SLionel Sambuc xcb_x_print_printer_name_length (const xcb_x_print_printer_t *R  /**< */);
757971bb1a5SLionel Sambuc 
758971bb1a5SLionel Sambuc xcb_generic_iterator_t
759971bb1a5SLionel Sambuc xcb_x_print_printer_name_end (const xcb_x_print_printer_t *R  /**< */);
760971bb1a5SLionel Sambuc 
761971bb1a5SLionel Sambuc xcb_x_print_string8_t *
762971bb1a5SLionel Sambuc xcb_x_print_printer_description (const xcb_x_print_printer_t *R  /**< */);
763971bb1a5SLionel Sambuc 
764971bb1a5SLionel Sambuc int
765971bb1a5SLionel Sambuc xcb_x_print_printer_description_length (const xcb_x_print_printer_t *R  /**< */);
766971bb1a5SLionel Sambuc 
767971bb1a5SLionel Sambuc xcb_generic_iterator_t
768971bb1a5SLionel Sambuc xcb_x_print_printer_description_end (const xcb_x_print_printer_t *R  /**< */);
769971bb1a5SLionel Sambuc 
770971bb1a5SLionel Sambuc /**
771971bb1a5SLionel Sambuc  * Get the next element of the iterator
772971bb1a5SLionel Sambuc  * @param i Pointer to a xcb_x_print_printer_iterator_t
773971bb1a5SLionel Sambuc  *
774971bb1a5SLionel Sambuc  * Get the next element in the iterator. The member rem is
775971bb1a5SLionel Sambuc  * decreased by one. The member data points to the next
776971bb1a5SLionel Sambuc  * element. The member index is increased by sizeof(xcb_x_print_printer_t)
777971bb1a5SLionel Sambuc  */
778971bb1a5SLionel Sambuc void
779971bb1a5SLionel Sambuc xcb_x_print_printer_next (xcb_x_print_printer_iterator_t *i  /**< */);
780971bb1a5SLionel Sambuc 
781971bb1a5SLionel Sambuc /**
782971bb1a5SLionel Sambuc  * Return the iterator pointing to the last element
783971bb1a5SLionel Sambuc  * @param i An xcb_x_print_printer_iterator_t
784971bb1a5SLionel Sambuc  * @return  The iterator pointing to the last element
785971bb1a5SLionel Sambuc  *
786971bb1a5SLionel Sambuc  * Set the current element in the iterator to the last element.
787971bb1a5SLionel Sambuc  * The member rem is set to 0. The member data points to the
788971bb1a5SLionel Sambuc  * last element.
789971bb1a5SLionel Sambuc  */
790971bb1a5SLionel Sambuc xcb_generic_iterator_t
791971bb1a5SLionel Sambuc xcb_x_print_printer_end (xcb_x_print_printer_iterator_t i  /**< */);
792971bb1a5SLionel Sambuc 
793971bb1a5SLionel Sambuc /**
794971bb1a5SLionel Sambuc  * Get the next element of the iterator
795971bb1a5SLionel Sambuc  * @param i Pointer to a xcb_x_print_pcontext_iterator_t
796971bb1a5SLionel Sambuc  *
797971bb1a5SLionel Sambuc  * Get the next element in the iterator. The member rem is
798971bb1a5SLionel Sambuc  * decreased by one. The member data points to the next
799971bb1a5SLionel Sambuc  * element. The member index is increased by sizeof(xcb_x_print_pcontext_t)
800971bb1a5SLionel Sambuc  */
801971bb1a5SLionel Sambuc void
802971bb1a5SLionel Sambuc xcb_x_print_pcontext_next (xcb_x_print_pcontext_iterator_t *i  /**< */);
803971bb1a5SLionel Sambuc 
804971bb1a5SLionel Sambuc /**
805971bb1a5SLionel Sambuc  * Return the iterator pointing to the last element
806971bb1a5SLionel Sambuc  * @param i An xcb_x_print_pcontext_iterator_t
807971bb1a5SLionel Sambuc  * @return  The iterator pointing to the last element
808971bb1a5SLionel Sambuc  *
809971bb1a5SLionel Sambuc  * Set the current element in the iterator to the last element.
810971bb1a5SLionel Sambuc  * The member rem is set to 0. The member data points to the
811971bb1a5SLionel Sambuc  * last element.
812971bb1a5SLionel Sambuc  */
813971bb1a5SLionel Sambuc xcb_generic_iterator_t
814971bb1a5SLionel Sambuc xcb_x_print_pcontext_end (xcb_x_print_pcontext_iterator_t i  /**< */);
815971bb1a5SLionel Sambuc 
816971bb1a5SLionel Sambuc /**
817971bb1a5SLionel Sambuc  *
818971bb1a5SLionel Sambuc  * @param c The connection
819971bb1a5SLionel Sambuc  * @return A cookie
820971bb1a5SLionel Sambuc  *
821971bb1a5SLionel Sambuc  * Delivers a request to the X server.
822971bb1a5SLionel Sambuc  *
823971bb1a5SLionel Sambuc  */
824971bb1a5SLionel Sambuc xcb_x_print_print_query_version_cookie_t
825971bb1a5SLionel Sambuc xcb_x_print_print_query_version (xcb_connection_t *c  /**< */);
826971bb1a5SLionel Sambuc 
827971bb1a5SLionel Sambuc /**
828971bb1a5SLionel Sambuc  *
829971bb1a5SLionel Sambuc  * @param c The connection
830971bb1a5SLionel Sambuc  * @return A cookie
831971bb1a5SLionel Sambuc  *
832971bb1a5SLionel Sambuc  * Delivers a request to the X server.
833971bb1a5SLionel Sambuc  *
834971bb1a5SLionel Sambuc  * This form can be used only if the request will cause
835971bb1a5SLionel Sambuc  * a reply to be generated. Any returned error will be
836971bb1a5SLionel Sambuc  * placed in the event queue.
837971bb1a5SLionel Sambuc  */
838971bb1a5SLionel Sambuc xcb_x_print_print_query_version_cookie_t
839971bb1a5SLionel Sambuc xcb_x_print_print_query_version_unchecked (xcb_connection_t *c  /**< */);
840971bb1a5SLionel Sambuc 
841971bb1a5SLionel Sambuc /**
842971bb1a5SLionel Sambuc  * Return the reply
843971bb1a5SLionel Sambuc  * @param c      The connection
844971bb1a5SLionel Sambuc  * @param cookie The cookie
845971bb1a5SLionel Sambuc  * @param e      The xcb_generic_error_t supplied
846971bb1a5SLionel Sambuc  *
847971bb1a5SLionel Sambuc  * Returns the reply of the request asked by
848971bb1a5SLionel Sambuc  *
849971bb1a5SLionel Sambuc  * The parameter @p e supplied to this function must be NULL if
850971bb1a5SLionel Sambuc  * xcb_x_print_print_query_version_unchecked(). is used.
851971bb1a5SLionel Sambuc  * Otherwise, it stores the error if any.
852971bb1a5SLionel Sambuc  *
853971bb1a5SLionel Sambuc  * The returned value must be freed by the caller using free().
854971bb1a5SLionel Sambuc  */
855971bb1a5SLionel Sambuc xcb_x_print_print_query_version_reply_t *
856971bb1a5SLionel Sambuc xcb_x_print_print_query_version_reply (xcb_connection_t                          *c  /**< */,
857971bb1a5SLionel Sambuc                                        xcb_x_print_print_query_version_cookie_t   cookie  /**< */,
858971bb1a5SLionel Sambuc                                        xcb_generic_error_t                      **e  /**< */);
859971bb1a5SLionel Sambuc 
860971bb1a5SLionel Sambuc int
861971bb1a5SLionel Sambuc xcb_x_print_print_get_printer_list_sizeof (const void  *_buffer  /**< */);
862971bb1a5SLionel Sambuc 
863971bb1a5SLionel Sambuc /**
864971bb1a5SLionel Sambuc  *
865971bb1a5SLionel Sambuc  * @param c The connection
866971bb1a5SLionel Sambuc  * @return A cookie
867971bb1a5SLionel Sambuc  *
868971bb1a5SLionel Sambuc  * Delivers a request to the X server.
869971bb1a5SLionel Sambuc  *
870971bb1a5SLionel Sambuc  */
871971bb1a5SLionel Sambuc xcb_x_print_print_get_printer_list_cookie_t
872971bb1a5SLionel Sambuc xcb_x_print_print_get_printer_list (xcb_connection_t            *c  /**< */,
873971bb1a5SLionel Sambuc                                     uint32_t                     printerNameLen  /**< */,
874971bb1a5SLionel Sambuc                                     uint32_t                     localeLen  /**< */,
875971bb1a5SLionel Sambuc                                     const xcb_x_print_string8_t *printer_name  /**< */,
876971bb1a5SLionel Sambuc                                     const xcb_x_print_string8_t *locale  /**< */);
877971bb1a5SLionel Sambuc 
878971bb1a5SLionel Sambuc /**
879971bb1a5SLionel Sambuc  *
880971bb1a5SLionel Sambuc  * @param c The connection
881971bb1a5SLionel Sambuc  * @return A cookie
882971bb1a5SLionel Sambuc  *
883971bb1a5SLionel Sambuc  * Delivers a request to the X server.
884971bb1a5SLionel Sambuc  *
885971bb1a5SLionel Sambuc  * This form can be used only if the request will cause
886971bb1a5SLionel Sambuc  * a reply to be generated. Any returned error will be
887971bb1a5SLionel Sambuc  * placed in the event queue.
888971bb1a5SLionel Sambuc  */
889971bb1a5SLionel Sambuc xcb_x_print_print_get_printer_list_cookie_t
890971bb1a5SLionel Sambuc xcb_x_print_print_get_printer_list_unchecked (xcb_connection_t            *c  /**< */,
891971bb1a5SLionel Sambuc                                               uint32_t                     printerNameLen  /**< */,
892971bb1a5SLionel Sambuc                                               uint32_t                     localeLen  /**< */,
893971bb1a5SLionel Sambuc                                               const xcb_x_print_string8_t *printer_name  /**< */,
894971bb1a5SLionel Sambuc                                               const xcb_x_print_string8_t *locale  /**< */);
895971bb1a5SLionel Sambuc 
896971bb1a5SLionel Sambuc int
897971bb1a5SLionel Sambuc xcb_x_print_print_get_printer_list_printers_length (const xcb_x_print_print_get_printer_list_reply_t *R  /**< */);
898971bb1a5SLionel Sambuc 
899971bb1a5SLionel Sambuc xcb_x_print_printer_iterator_t
900971bb1a5SLionel Sambuc xcb_x_print_print_get_printer_list_printers_iterator (const xcb_x_print_print_get_printer_list_reply_t *R  /**< */);
901971bb1a5SLionel Sambuc 
902971bb1a5SLionel Sambuc /**
903971bb1a5SLionel Sambuc  * Return the reply
904971bb1a5SLionel Sambuc  * @param c      The connection
905971bb1a5SLionel Sambuc  * @param cookie The cookie
906971bb1a5SLionel Sambuc  * @param e      The xcb_generic_error_t supplied
907971bb1a5SLionel Sambuc  *
908971bb1a5SLionel Sambuc  * Returns the reply of the request asked by
909971bb1a5SLionel Sambuc  *
910971bb1a5SLionel Sambuc  * The parameter @p e supplied to this function must be NULL if
911971bb1a5SLionel Sambuc  * xcb_x_print_print_get_printer_list_unchecked(). is used.
912971bb1a5SLionel Sambuc  * Otherwise, it stores the error if any.
913971bb1a5SLionel Sambuc  *
914971bb1a5SLionel Sambuc  * The returned value must be freed by the caller using free().
915971bb1a5SLionel Sambuc  */
916971bb1a5SLionel Sambuc xcb_x_print_print_get_printer_list_reply_t *
917971bb1a5SLionel Sambuc xcb_x_print_print_get_printer_list_reply (xcb_connection_t                             *c  /**< */,
918971bb1a5SLionel Sambuc                                           xcb_x_print_print_get_printer_list_cookie_t   cookie  /**< */,
919971bb1a5SLionel Sambuc                                           xcb_generic_error_t                         **e  /**< */);
920971bb1a5SLionel Sambuc 
921971bb1a5SLionel Sambuc /**
922971bb1a5SLionel Sambuc  *
923971bb1a5SLionel Sambuc  * @param c The connection
924971bb1a5SLionel Sambuc  * @return A cookie
925971bb1a5SLionel Sambuc  *
926971bb1a5SLionel Sambuc  * Delivers a request to the X server.
927971bb1a5SLionel Sambuc  *
928971bb1a5SLionel Sambuc  * This form can be used only if the request will not cause
929971bb1a5SLionel Sambuc  * a reply to be generated. Any returned error will be
930971bb1a5SLionel Sambuc  * saved for handling by xcb_request_check().
931971bb1a5SLionel Sambuc  */
932971bb1a5SLionel Sambuc xcb_void_cookie_t
933971bb1a5SLionel Sambuc xcb_x_print_print_rehash_printer_list_checked (xcb_connection_t *c  /**< */);
934971bb1a5SLionel Sambuc 
935971bb1a5SLionel Sambuc /**
936971bb1a5SLionel Sambuc  *
937971bb1a5SLionel Sambuc  * @param c The connection
938971bb1a5SLionel Sambuc  * @return A cookie
939971bb1a5SLionel Sambuc  *
940971bb1a5SLionel Sambuc  * Delivers a request to the X server.
941971bb1a5SLionel Sambuc  *
942971bb1a5SLionel Sambuc  */
943971bb1a5SLionel Sambuc xcb_void_cookie_t
944971bb1a5SLionel Sambuc xcb_x_print_print_rehash_printer_list (xcb_connection_t *c  /**< */);
945971bb1a5SLionel Sambuc 
946971bb1a5SLionel Sambuc int
947971bb1a5SLionel Sambuc xcb_x_print_create_context_sizeof (const void  *_buffer  /**< */);
948971bb1a5SLionel Sambuc 
949971bb1a5SLionel Sambuc /**
950971bb1a5SLionel Sambuc  *
951971bb1a5SLionel Sambuc  * @param c The connection
952971bb1a5SLionel Sambuc  * @return A cookie
953971bb1a5SLionel Sambuc  *
954971bb1a5SLionel Sambuc  * Delivers a request to the X server.
955971bb1a5SLionel Sambuc  *
956971bb1a5SLionel Sambuc  * This form can be used only if the request will not cause
957971bb1a5SLionel Sambuc  * a reply to be generated. Any returned error will be
958971bb1a5SLionel Sambuc  * saved for handling by xcb_request_check().
959971bb1a5SLionel Sambuc  */
960971bb1a5SLionel Sambuc xcb_void_cookie_t
961971bb1a5SLionel Sambuc xcb_x_print_create_context_checked (xcb_connection_t            *c  /**< */,
962971bb1a5SLionel Sambuc                                     uint32_t                     context_id  /**< */,
963971bb1a5SLionel Sambuc                                     uint32_t                     printerNameLen  /**< */,
964971bb1a5SLionel Sambuc                                     uint32_t                     localeLen  /**< */,
965971bb1a5SLionel Sambuc                                     const xcb_x_print_string8_t *printerName  /**< */,
966971bb1a5SLionel Sambuc                                     const xcb_x_print_string8_t *locale  /**< */);
967971bb1a5SLionel Sambuc 
968971bb1a5SLionel Sambuc /**
969971bb1a5SLionel Sambuc  *
970971bb1a5SLionel Sambuc  * @param c The connection
971971bb1a5SLionel Sambuc  * @return A cookie
972971bb1a5SLionel Sambuc  *
973971bb1a5SLionel Sambuc  * Delivers a request to the X server.
974971bb1a5SLionel Sambuc  *
975971bb1a5SLionel Sambuc  */
976971bb1a5SLionel Sambuc xcb_void_cookie_t
977971bb1a5SLionel Sambuc xcb_x_print_create_context (xcb_connection_t            *c  /**< */,
978971bb1a5SLionel Sambuc                             uint32_t                     context_id  /**< */,
979971bb1a5SLionel Sambuc                             uint32_t                     printerNameLen  /**< */,
980971bb1a5SLionel Sambuc                             uint32_t                     localeLen  /**< */,
981971bb1a5SLionel Sambuc                             const xcb_x_print_string8_t *printerName  /**< */,
982971bb1a5SLionel Sambuc                             const xcb_x_print_string8_t *locale  /**< */);
983971bb1a5SLionel Sambuc 
984971bb1a5SLionel Sambuc /**
985971bb1a5SLionel Sambuc  *
986971bb1a5SLionel Sambuc  * @param c The connection
987971bb1a5SLionel Sambuc  * @return A cookie
988971bb1a5SLionel Sambuc  *
989971bb1a5SLionel Sambuc  * Delivers a request to the X server.
990971bb1a5SLionel Sambuc  *
991971bb1a5SLionel Sambuc  * This form can be used only if the request will not cause
992971bb1a5SLionel Sambuc  * a reply to be generated. Any returned error will be
993971bb1a5SLionel Sambuc  * saved for handling by xcb_request_check().
994971bb1a5SLionel Sambuc  */
995971bb1a5SLionel Sambuc xcb_void_cookie_t
996971bb1a5SLionel Sambuc xcb_x_print_print_set_context_checked (xcb_connection_t *c  /**< */,
997971bb1a5SLionel Sambuc                                        uint32_t          context  /**< */);
998971bb1a5SLionel Sambuc 
999971bb1a5SLionel Sambuc /**
1000971bb1a5SLionel Sambuc  *
1001971bb1a5SLionel Sambuc  * @param c The connection
1002971bb1a5SLionel Sambuc  * @return A cookie
1003971bb1a5SLionel Sambuc  *
1004971bb1a5SLionel Sambuc  * Delivers a request to the X server.
1005971bb1a5SLionel Sambuc  *
1006971bb1a5SLionel Sambuc  */
1007971bb1a5SLionel Sambuc xcb_void_cookie_t
1008971bb1a5SLionel Sambuc xcb_x_print_print_set_context (xcb_connection_t *c  /**< */,
1009971bb1a5SLionel Sambuc                                uint32_t          context  /**< */);
1010971bb1a5SLionel Sambuc 
1011971bb1a5SLionel Sambuc /**
1012971bb1a5SLionel Sambuc  *
1013971bb1a5SLionel Sambuc  * @param c The connection
1014971bb1a5SLionel Sambuc  * @return A cookie
1015971bb1a5SLionel Sambuc  *
1016971bb1a5SLionel Sambuc  * Delivers a request to the X server.
1017971bb1a5SLionel Sambuc  *
1018971bb1a5SLionel Sambuc  */
1019971bb1a5SLionel Sambuc xcb_x_print_print_get_context_cookie_t
1020971bb1a5SLionel Sambuc xcb_x_print_print_get_context (xcb_connection_t *c  /**< */);
1021971bb1a5SLionel Sambuc 
1022971bb1a5SLionel Sambuc /**
1023971bb1a5SLionel Sambuc  *
1024971bb1a5SLionel Sambuc  * @param c The connection
1025971bb1a5SLionel Sambuc  * @return A cookie
1026971bb1a5SLionel Sambuc  *
1027971bb1a5SLionel Sambuc  * Delivers a request to the X server.
1028971bb1a5SLionel Sambuc  *
1029971bb1a5SLionel Sambuc  * This form can be used only if the request will cause
1030971bb1a5SLionel Sambuc  * a reply to be generated. Any returned error will be
1031971bb1a5SLionel Sambuc  * placed in the event queue.
1032971bb1a5SLionel Sambuc  */
1033971bb1a5SLionel Sambuc xcb_x_print_print_get_context_cookie_t
1034971bb1a5SLionel Sambuc xcb_x_print_print_get_context_unchecked (xcb_connection_t *c  /**< */);
1035971bb1a5SLionel Sambuc 
1036971bb1a5SLionel Sambuc /**
1037971bb1a5SLionel Sambuc  * Return the reply
1038971bb1a5SLionel Sambuc  * @param c      The connection
1039971bb1a5SLionel Sambuc  * @param cookie The cookie
1040971bb1a5SLionel Sambuc  * @param e      The xcb_generic_error_t supplied
1041971bb1a5SLionel Sambuc  *
1042971bb1a5SLionel Sambuc  * Returns the reply of the request asked by
1043971bb1a5SLionel Sambuc  *
1044971bb1a5SLionel Sambuc  * The parameter @p e supplied to this function must be NULL if
1045971bb1a5SLionel Sambuc  * xcb_x_print_print_get_context_unchecked(). is used.
1046971bb1a5SLionel Sambuc  * Otherwise, it stores the error if any.
1047971bb1a5SLionel Sambuc  *
1048971bb1a5SLionel Sambuc  * The returned value must be freed by the caller using free().
1049971bb1a5SLionel Sambuc  */
1050971bb1a5SLionel Sambuc xcb_x_print_print_get_context_reply_t *
1051971bb1a5SLionel Sambuc xcb_x_print_print_get_context_reply (xcb_connection_t                        *c  /**< */,
1052971bb1a5SLionel Sambuc                                      xcb_x_print_print_get_context_cookie_t   cookie  /**< */,
1053971bb1a5SLionel Sambuc                                      xcb_generic_error_t                    **e  /**< */);
1054971bb1a5SLionel Sambuc 
1055971bb1a5SLionel Sambuc /**
1056971bb1a5SLionel Sambuc  *
1057971bb1a5SLionel Sambuc  * @param c The connection
1058971bb1a5SLionel Sambuc  * @return A cookie
1059971bb1a5SLionel Sambuc  *
1060971bb1a5SLionel Sambuc  * Delivers a request to the X server.
1061971bb1a5SLionel Sambuc  *
1062971bb1a5SLionel Sambuc  * This form can be used only if the request will not cause
1063971bb1a5SLionel Sambuc  * a reply to be generated. Any returned error will be
1064971bb1a5SLionel Sambuc  * saved for handling by xcb_request_check().
1065971bb1a5SLionel Sambuc  */
1066971bb1a5SLionel Sambuc xcb_void_cookie_t
1067971bb1a5SLionel Sambuc xcb_x_print_print_destroy_context_checked (xcb_connection_t *c  /**< */,
1068971bb1a5SLionel Sambuc                                            uint32_t          context  /**< */);
1069971bb1a5SLionel Sambuc 
1070971bb1a5SLionel Sambuc /**
1071971bb1a5SLionel Sambuc  *
1072971bb1a5SLionel Sambuc  * @param c The connection
1073971bb1a5SLionel Sambuc  * @return A cookie
1074971bb1a5SLionel Sambuc  *
1075971bb1a5SLionel Sambuc  * Delivers a request to the X server.
1076971bb1a5SLionel Sambuc  *
1077971bb1a5SLionel Sambuc  */
1078971bb1a5SLionel Sambuc xcb_void_cookie_t
1079971bb1a5SLionel Sambuc xcb_x_print_print_destroy_context (xcb_connection_t *c  /**< */,
1080971bb1a5SLionel Sambuc                                    uint32_t          context  /**< */);
1081971bb1a5SLionel Sambuc 
1082971bb1a5SLionel Sambuc /**
1083971bb1a5SLionel Sambuc  *
1084971bb1a5SLionel Sambuc  * @param c The connection
1085971bb1a5SLionel Sambuc  * @return A cookie
1086971bb1a5SLionel Sambuc  *
1087971bb1a5SLionel Sambuc  * Delivers a request to the X server.
1088971bb1a5SLionel Sambuc  *
1089971bb1a5SLionel Sambuc  */
1090971bb1a5SLionel Sambuc xcb_x_print_print_get_screen_of_context_cookie_t
1091971bb1a5SLionel Sambuc xcb_x_print_print_get_screen_of_context (xcb_connection_t *c  /**< */);
1092971bb1a5SLionel Sambuc 
1093971bb1a5SLionel Sambuc /**
1094971bb1a5SLionel Sambuc  *
1095971bb1a5SLionel Sambuc  * @param c The connection
1096971bb1a5SLionel Sambuc  * @return A cookie
1097971bb1a5SLionel Sambuc  *
1098971bb1a5SLionel Sambuc  * Delivers a request to the X server.
1099971bb1a5SLionel Sambuc  *
1100971bb1a5SLionel Sambuc  * This form can be used only if the request will cause
1101971bb1a5SLionel Sambuc  * a reply to be generated. Any returned error will be
1102971bb1a5SLionel Sambuc  * placed in the event queue.
1103971bb1a5SLionel Sambuc  */
1104971bb1a5SLionel Sambuc xcb_x_print_print_get_screen_of_context_cookie_t
1105971bb1a5SLionel Sambuc xcb_x_print_print_get_screen_of_context_unchecked (xcb_connection_t *c  /**< */);
1106971bb1a5SLionel Sambuc 
1107971bb1a5SLionel Sambuc /**
1108971bb1a5SLionel Sambuc  * Return the reply
1109971bb1a5SLionel Sambuc  * @param c      The connection
1110971bb1a5SLionel Sambuc  * @param cookie The cookie
1111971bb1a5SLionel Sambuc  * @param e      The xcb_generic_error_t supplied
1112971bb1a5SLionel Sambuc  *
1113971bb1a5SLionel Sambuc  * Returns the reply of the request asked by
1114971bb1a5SLionel Sambuc  *
1115971bb1a5SLionel Sambuc  * The parameter @p e supplied to this function must be NULL if
1116971bb1a5SLionel Sambuc  * xcb_x_print_print_get_screen_of_context_unchecked(). is used.
1117971bb1a5SLionel Sambuc  * Otherwise, it stores the error if any.
1118971bb1a5SLionel Sambuc  *
1119971bb1a5SLionel Sambuc  * The returned value must be freed by the caller using free().
1120971bb1a5SLionel Sambuc  */
1121971bb1a5SLionel Sambuc xcb_x_print_print_get_screen_of_context_reply_t *
1122971bb1a5SLionel Sambuc xcb_x_print_print_get_screen_of_context_reply (xcb_connection_t                                  *c  /**< */,
1123971bb1a5SLionel Sambuc                                                xcb_x_print_print_get_screen_of_context_cookie_t   cookie  /**< */,
1124971bb1a5SLionel Sambuc                                                xcb_generic_error_t                              **e  /**< */);
1125971bb1a5SLionel Sambuc 
1126971bb1a5SLionel Sambuc /**
1127971bb1a5SLionel Sambuc  *
1128971bb1a5SLionel Sambuc  * @param c The connection
1129971bb1a5SLionel Sambuc  * @return A cookie
1130971bb1a5SLionel Sambuc  *
1131971bb1a5SLionel Sambuc  * Delivers a request to the X server.
1132971bb1a5SLionel Sambuc  *
1133971bb1a5SLionel Sambuc  * This form can be used only if the request will not cause
1134971bb1a5SLionel Sambuc  * a reply to be generated. Any returned error will be
1135971bb1a5SLionel Sambuc  * saved for handling by xcb_request_check().
1136971bb1a5SLionel Sambuc  */
1137971bb1a5SLionel Sambuc xcb_void_cookie_t
1138971bb1a5SLionel Sambuc xcb_x_print_print_start_job_checked (xcb_connection_t *c  /**< */,
1139971bb1a5SLionel Sambuc                                      uint8_t           output_mode  /**< */);
1140971bb1a5SLionel Sambuc 
1141971bb1a5SLionel Sambuc /**
1142971bb1a5SLionel Sambuc  *
1143971bb1a5SLionel Sambuc  * @param c The connection
1144971bb1a5SLionel Sambuc  * @return A cookie
1145971bb1a5SLionel Sambuc  *
1146971bb1a5SLionel Sambuc  * Delivers a request to the X server.
1147971bb1a5SLionel Sambuc  *
1148971bb1a5SLionel Sambuc  */
1149971bb1a5SLionel Sambuc xcb_void_cookie_t
1150971bb1a5SLionel Sambuc xcb_x_print_print_start_job (xcb_connection_t *c  /**< */,
1151971bb1a5SLionel Sambuc                              uint8_t           output_mode  /**< */);
1152971bb1a5SLionel Sambuc 
1153971bb1a5SLionel Sambuc /**
1154971bb1a5SLionel Sambuc  *
1155971bb1a5SLionel Sambuc  * @param c The connection
1156971bb1a5SLionel Sambuc  * @return A cookie
1157971bb1a5SLionel Sambuc  *
1158971bb1a5SLionel Sambuc  * Delivers a request to the X server.
1159971bb1a5SLionel Sambuc  *
1160971bb1a5SLionel Sambuc  * This form can be used only if the request will not cause
1161971bb1a5SLionel Sambuc  * a reply to be generated. Any returned error will be
1162971bb1a5SLionel Sambuc  * saved for handling by xcb_request_check().
1163971bb1a5SLionel Sambuc  */
1164971bb1a5SLionel Sambuc xcb_void_cookie_t
1165971bb1a5SLionel Sambuc xcb_x_print_print_end_job_checked (xcb_connection_t *c  /**< */,
1166971bb1a5SLionel Sambuc                                    uint8_t           cancel  /**< */);
1167971bb1a5SLionel Sambuc 
1168971bb1a5SLionel Sambuc /**
1169971bb1a5SLionel Sambuc  *
1170971bb1a5SLionel Sambuc  * @param c The connection
1171971bb1a5SLionel Sambuc  * @return A cookie
1172971bb1a5SLionel Sambuc  *
1173971bb1a5SLionel Sambuc  * Delivers a request to the X server.
1174971bb1a5SLionel Sambuc  *
1175971bb1a5SLionel Sambuc  */
1176971bb1a5SLionel Sambuc xcb_void_cookie_t
1177971bb1a5SLionel Sambuc xcb_x_print_print_end_job (xcb_connection_t *c  /**< */,
1178971bb1a5SLionel Sambuc                            uint8_t           cancel  /**< */);
1179971bb1a5SLionel Sambuc 
1180971bb1a5SLionel Sambuc /**
1181971bb1a5SLionel Sambuc  *
1182971bb1a5SLionel Sambuc  * @param c The connection
1183971bb1a5SLionel Sambuc  * @return A cookie
1184971bb1a5SLionel Sambuc  *
1185971bb1a5SLionel Sambuc  * Delivers a request to the X server.
1186971bb1a5SLionel Sambuc  *
1187971bb1a5SLionel Sambuc  * This form can be used only if the request will not cause
1188971bb1a5SLionel Sambuc  * a reply to be generated. Any returned error will be
1189971bb1a5SLionel Sambuc  * saved for handling by xcb_request_check().
1190971bb1a5SLionel Sambuc  */
1191971bb1a5SLionel Sambuc xcb_void_cookie_t
1192971bb1a5SLionel Sambuc xcb_x_print_print_start_doc_checked (xcb_connection_t *c  /**< */,
1193971bb1a5SLionel Sambuc                                      uint8_t           driver_mode  /**< */);
1194971bb1a5SLionel Sambuc 
1195971bb1a5SLionel Sambuc /**
1196971bb1a5SLionel Sambuc  *
1197971bb1a5SLionel Sambuc  * @param c The connection
1198971bb1a5SLionel Sambuc  * @return A cookie
1199971bb1a5SLionel Sambuc  *
1200971bb1a5SLionel Sambuc  * Delivers a request to the X server.
1201971bb1a5SLionel Sambuc  *
1202971bb1a5SLionel Sambuc  */
1203971bb1a5SLionel Sambuc xcb_void_cookie_t
1204971bb1a5SLionel Sambuc xcb_x_print_print_start_doc (xcb_connection_t *c  /**< */,
1205971bb1a5SLionel Sambuc                              uint8_t           driver_mode  /**< */);
1206971bb1a5SLionel Sambuc 
1207971bb1a5SLionel Sambuc /**
1208971bb1a5SLionel Sambuc  *
1209971bb1a5SLionel Sambuc  * @param c The connection
1210971bb1a5SLionel Sambuc  * @return A cookie
1211971bb1a5SLionel Sambuc  *
1212971bb1a5SLionel Sambuc  * Delivers a request to the X server.
1213971bb1a5SLionel Sambuc  *
1214971bb1a5SLionel Sambuc  * This form can be used only if the request will not cause
1215971bb1a5SLionel Sambuc  * a reply to be generated. Any returned error will be
1216971bb1a5SLionel Sambuc  * saved for handling by xcb_request_check().
1217971bb1a5SLionel Sambuc  */
1218971bb1a5SLionel Sambuc xcb_void_cookie_t
1219971bb1a5SLionel Sambuc xcb_x_print_print_end_doc_checked (xcb_connection_t *c  /**< */,
1220971bb1a5SLionel Sambuc                                    uint8_t           cancel  /**< */);
1221971bb1a5SLionel Sambuc 
1222971bb1a5SLionel Sambuc /**
1223971bb1a5SLionel Sambuc  *
1224971bb1a5SLionel Sambuc  * @param c The connection
1225971bb1a5SLionel Sambuc  * @return A cookie
1226971bb1a5SLionel Sambuc  *
1227971bb1a5SLionel Sambuc  * Delivers a request to the X server.
1228971bb1a5SLionel Sambuc  *
1229971bb1a5SLionel Sambuc  */
1230971bb1a5SLionel Sambuc xcb_void_cookie_t
1231971bb1a5SLionel Sambuc xcb_x_print_print_end_doc (xcb_connection_t *c  /**< */,
1232971bb1a5SLionel Sambuc                            uint8_t           cancel  /**< */);
1233971bb1a5SLionel Sambuc 
1234971bb1a5SLionel Sambuc int
1235971bb1a5SLionel Sambuc xcb_x_print_print_put_document_data_sizeof (const void  *_buffer  /**< */,
1236971bb1a5SLionel Sambuc                                             uint32_t     doc_format_len  /**< */,
1237971bb1a5SLionel Sambuc                                             uint32_t     options_len  /**< */);
1238971bb1a5SLionel Sambuc 
1239971bb1a5SLionel Sambuc /**
1240971bb1a5SLionel Sambuc  *
1241971bb1a5SLionel Sambuc  * @param c The connection
1242971bb1a5SLionel Sambuc  * @return A cookie
1243971bb1a5SLionel Sambuc  *
1244971bb1a5SLionel Sambuc  * Delivers a request to the X server.
1245971bb1a5SLionel Sambuc  *
1246971bb1a5SLionel Sambuc  * This form can be used only if the request will not cause
1247971bb1a5SLionel Sambuc  * a reply to be generated. Any returned error will be
1248971bb1a5SLionel Sambuc  * saved for handling by xcb_request_check().
1249971bb1a5SLionel Sambuc  */
1250971bb1a5SLionel Sambuc xcb_void_cookie_t
1251971bb1a5SLionel Sambuc xcb_x_print_print_put_document_data_checked (xcb_connection_t            *c  /**< */,
1252971bb1a5SLionel Sambuc                                              xcb_drawable_t               drawable  /**< */,
1253971bb1a5SLionel Sambuc                                              uint32_t                     len_data  /**< */,
1254971bb1a5SLionel Sambuc                                              uint16_t                     len_fmt  /**< */,
1255971bb1a5SLionel Sambuc                                              uint16_t                     len_options  /**< */,
1256971bb1a5SLionel Sambuc                                              const uint8_t               *data  /**< */,
1257971bb1a5SLionel Sambuc                                              uint32_t                     doc_format_len  /**< */,
1258971bb1a5SLionel Sambuc                                              const xcb_x_print_string8_t *doc_format  /**< */,
1259971bb1a5SLionel Sambuc                                              uint32_t                     options_len  /**< */,
1260971bb1a5SLionel Sambuc                                              const xcb_x_print_string8_t *options  /**< */);
1261971bb1a5SLionel Sambuc 
1262971bb1a5SLionel Sambuc /**
1263971bb1a5SLionel Sambuc  *
1264971bb1a5SLionel Sambuc  * @param c The connection
1265971bb1a5SLionel Sambuc  * @return A cookie
1266971bb1a5SLionel Sambuc  *
1267971bb1a5SLionel Sambuc  * Delivers a request to the X server.
1268971bb1a5SLionel Sambuc  *
1269971bb1a5SLionel Sambuc  */
1270971bb1a5SLionel Sambuc xcb_void_cookie_t
1271971bb1a5SLionel Sambuc xcb_x_print_print_put_document_data (xcb_connection_t            *c  /**< */,
1272971bb1a5SLionel Sambuc                                      xcb_drawable_t               drawable  /**< */,
1273971bb1a5SLionel Sambuc                                      uint32_t                     len_data  /**< */,
1274971bb1a5SLionel Sambuc                                      uint16_t                     len_fmt  /**< */,
1275971bb1a5SLionel Sambuc                                      uint16_t                     len_options  /**< */,
1276971bb1a5SLionel Sambuc                                      const uint8_t               *data  /**< */,
1277971bb1a5SLionel Sambuc                                      uint32_t                     doc_format_len  /**< */,
1278971bb1a5SLionel Sambuc                                      const xcb_x_print_string8_t *doc_format  /**< */,
1279971bb1a5SLionel Sambuc                                      uint32_t                     options_len  /**< */,
1280971bb1a5SLionel Sambuc                                      const xcb_x_print_string8_t *options  /**< */);
1281971bb1a5SLionel Sambuc 
1282971bb1a5SLionel Sambuc int
1283971bb1a5SLionel Sambuc xcb_x_print_print_get_document_data_sizeof (const void  *_buffer  /**< */);
1284971bb1a5SLionel Sambuc 
1285971bb1a5SLionel Sambuc /**
1286971bb1a5SLionel Sambuc  *
1287971bb1a5SLionel Sambuc  * @param c The connection
1288971bb1a5SLionel Sambuc  * @return A cookie
1289971bb1a5SLionel Sambuc  *
1290971bb1a5SLionel Sambuc  * Delivers a request to the X server.
1291971bb1a5SLionel Sambuc  *
1292971bb1a5SLionel Sambuc  */
1293971bb1a5SLionel Sambuc xcb_x_print_print_get_document_data_cookie_t
1294971bb1a5SLionel Sambuc xcb_x_print_print_get_document_data (xcb_connection_t       *c  /**< */,
1295971bb1a5SLionel Sambuc                                      xcb_x_print_pcontext_t  context  /**< */,
1296971bb1a5SLionel Sambuc                                      uint32_t                max_bytes  /**< */);
1297971bb1a5SLionel Sambuc 
1298971bb1a5SLionel Sambuc /**
1299971bb1a5SLionel Sambuc  *
1300971bb1a5SLionel Sambuc  * @param c The connection
1301971bb1a5SLionel Sambuc  * @return A cookie
1302971bb1a5SLionel Sambuc  *
1303971bb1a5SLionel Sambuc  * Delivers a request to the X server.
1304971bb1a5SLionel Sambuc  *
1305971bb1a5SLionel Sambuc  * This form can be used only if the request will cause
1306971bb1a5SLionel Sambuc  * a reply to be generated. Any returned error will be
1307971bb1a5SLionel Sambuc  * placed in the event queue.
1308971bb1a5SLionel Sambuc  */
1309971bb1a5SLionel Sambuc xcb_x_print_print_get_document_data_cookie_t
1310971bb1a5SLionel Sambuc xcb_x_print_print_get_document_data_unchecked (xcb_connection_t       *c  /**< */,
1311971bb1a5SLionel Sambuc                                                xcb_x_print_pcontext_t  context  /**< */,
1312971bb1a5SLionel Sambuc                                                uint32_t                max_bytes  /**< */);
1313971bb1a5SLionel Sambuc 
1314971bb1a5SLionel Sambuc uint8_t *
1315971bb1a5SLionel Sambuc xcb_x_print_print_get_document_data_data (const xcb_x_print_print_get_document_data_reply_t *R  /**< */);
1316971bb1a5SLionel Sambuc 
1317971bb1a5SLionel Sambuc int
1318971bb1a5SLionel Sambuc xcb_x_print_print_get_document_data_data_length (const xcb_x_print_print_get_document_data_reply_t *R  /**< */);
1319971bb1a5SLionel Sambuc 
1320971bb1a5SLionel Sambuc xcb_generic_iterator_t
1321971bb1a5SLionel Sambuc xcb_x_print_print_get_document_data_data_end (const xcb_x_print_print_get_document_data_reply_t *R  /**< */);
1322971bb1a5SLionel Sambuc 
1323971bb1a5SLionel Sambuc /**
1324971bb1a5SLionel Sambuc  * Return the reply
1325971bb1a5SLionel Sambuc  * @param c      The connection
1326971bb1a5SLionel Sambuc  * @param cookie The cookie
1327971bb1a5SLionel Sambuc  * @param e      The xcb_generic_error_t supplied
1328971bb1a5SLionel Sambuc  *
1329971bb1a5SLionel Sambuc  * Returns the reply of the request asked by
1330971bb1a5SLionel Sambuc  *
1331971bb1a5SLionel Sambuc  * The parameter @p e supplied to this function must be NULL if
1332971bb1a5SLionel Sambuc  * xcb_x_print_print_get_document_data_unchecked(). is used.
1333971bb1a5SLionel Sambuc  * Otherwise, it stores the error if any.
1334971bb1a5SLionel Sambuc  *
1335971bb1a5SLionel Sambuc  * The returned value must be freed by the caller using free().
1336971bb1a5SLionel Sambuc  */
1337971bb1a5SLionel Sambuc xcb_x_print_print_get_document_data_reply_t *
1338971bb1a5SLionel Sambuc xcb_x_print_print_get_document_data_reply (xcb_connection_t                              *c  /**< */,
1339971bb1a5SLionel Sambuc                                            xcb_x_print_print_get_document_data_cookie_t   cookie  /**< */,
1340971bb1a5SLionel Sambuc                                            xcb_generic_error_t                          **e  /**< */);
1341971bb1a5SLionel Sambuc 
1342971bb1a5SLionel Sambuc /**
1343971bb1a5SLionel Sambuc  *
1344971bb1a5SLionel Sambuc  * @param c The connection
1345971bb1a5SLionel Sambuc  * @return A cookie
1346971bb1a5SLionel Sambuc  *
1347971bb1a5SLionel Sambuc  * Delivers a request to the X server.
1348971bb1a5SLionel Sambuc  *
1349971bb1a5SLionel Sambuc  * This form can be used only if the request will not cause
1350971bb1a5SLionel Sambuc  * a reply to be generated. Any returned error will be
1351971bb1a5SLionel Sambuc  * saved for handling by xcb_request_check().
1352971bb1a5SLionel Sambuc  */
1353971bb1a5SLionel Sambuc xcb_void_cookie_t
1354971bb1a5SLionel Sambuc xcb_x_print_print_start_page_checked (xcb_connection_t *c  /**< */,
1355971bb1a5SLionel Sambuc                                       xcb_window_t      window  /**< */);
1356971bb1a5SLionel Sambuc 
1357971bb1a5SLionel Sambuc /**
1358971bb1a5SLionel Sambuc  *
1359971bb1a5SLionel Sambuc  * @param c The connection
1360971bb1a5SLionel Sambuc  * @return A cookie
1361971bb1a5SLionel Sambuc  *
1362971bb1a5SLionel Sambuc  * Delivers a request to the X server.
1363971bb1a5SLionel Sambuc  *
1364971bb1a5SLionel Sambuc  */
1365971bb1a5SLionel Sambuc xcb_void_cookie_t
1366971bb1a5SLionel Sambuc xcb_x_print_print_start_page (xcb_connection_t *c  /**< */,
1367971bb1a5SLionel Sambuc                               xcb_window_t      window  /**< */);
1368971bb1a5SLionel Sambuc 
1369971bb1a5SLionel Sambuc /**
1370971bb1a5SLionel Sambuc  *
1371971bb1a5SLionel Sambuc  * @param c The connection
1372971bb1a5SLionel Sambuc  * @return A cookie
1373971bb1a5SLionel Sambuc  *
1374971bb1a5SLionel Sambuc  * Delivers a request to the X server.
1375971bb1a5SLionel Sambuc  *
1376971bb1a5SLionel Sambuc  * This form can be used only if the request will not cause
1377971bb1a5SLionel Sambuc  * a reply to be generated. Any returned error will be
1378971bb1a5SLionel Sambuc  * saved for handling by xcb_request_check().
1379971bb1a5SLionel Sambuc  */
1380971bb1a5SLionel Sambuc xcb_void_cookie_t
1381971bb1a5SLionel Sambuc xcb_x_print_print_end_page_checked (xcb_connection_t *c  /**< */,
1382971bb1a5SLionel Sambuc                                     uint8_t           cancel  /**< */);
1383971bb1a5SLionel Sambuc 
1384971bb1a5SLionel Sambuc /**
1385971bb1a5SLionel Sambuc  *
1386971bb1a5SLionel Sambuc  * @param c The connection
1387971bb1a5SLionel Sambuc  * @return A cookie
1388971bb1a5SLionel Sambuc  *
1389971bb1a5SLionel Sambuc  * Delivers a request to the X server.
1390971bb1a5SLionel Sambuc  *
1391971bb1a5SLionel Sambuc  */
1392971bb1a5SLionel Sambuc xcb_void_cookie_t
1393971bb1a5SLionel Sambuc xcb_x_print_print_end_page (xcb_connection_t *c  /**< */,
1394971bb1a5SLionel Sambuc                             uint8_t           cancel  /**< */);
1395971bb1a5SLionel Sambuc 
1396971bb1a5SLionel Sambuc int
1397971bb1a5SLionel Sambuc xcb_x_print_print_select_input_sizeof (const void  *_buffer  /**< */);
1398971bb1a5SLionel Sambuc 
1399971bb1a5SLionel Sambuc /**
1400971bb1a5SLionel Sambuc  *
1401971bb1a5SLionel Sambuc  * @param c The connection
1402971bb1a5SLionel Sambuc  * @return A cookie
1403971bb1a5SLionel Sambuc  *
1404971bb1a5SLionel Sambuc  * Delivers a request to the X server.
1405971bb1a5SLionel Sambuc  *
1406971bb1a5SLionel Sambuc  * This form can be used only if the request will not cause
1407971bb1a5SLionel Sambuc  * a reply to be generated. Any returned error will be
1408971bb1a5SLionel Sambuc  * saved for handling by xcb_request_check().
1409971bb1a5SLionel Sambuc  */
1410971bb1a5SLionel Sambuc xcb_void_cookie_t
1411971bb1a5SLionel Sambuc xcb_x_print_print_select_input_checked (xcb_connection_t       *c  /**< */,
1412971bb1a5SLionel Sambuc                                         xcb_x_print_pcontext_t  context  /**< */,
1413971bb1a5SLionel Sambuc                                         uint32_t                event_mask  /**< */,
1414971bb1a5SLionel Sambuc                                         const uint32_t         *event_list  /**< */);
1415971bb1a5SLionel Sambuc 
1416971bb1a5SLionel Sambuc /**
1417971bb1a5SLionel Sambuc  *
1418971bb1a5SLionel Sambuc  * @param c The connection
1419971bb1a5SLionel Sambuc  * @return A cookie
1420971bb1a5SLionel Sambuc  *
1421971bb1a5SLionel Sambuc  * Delivers a request to the X server.
1422971bb1a5SLionel Sambuc  *
1423971bb1a5SLionel Sambuc  */
1424971bb1a5SLionel Sambuc xcb_void_cookie_t
1425971bb1a5SLionel Sambuc xcb_x_print_print_select_input (xcb_connection_t       *c  /**< */,
1426971bb1a5SLionel Sambuc                                 xcb_x_print_pcontext_t  context  /**< */,
1427971bb1a5SLionel Sambuc                                 uint32_t                event_mask  /**< */,
1428971bb1a5SLionel Sambuc                                 const uint32_t         *event_list  /**< */);
1429971bb1a5SLionel Sambuc 
1430971bb1a5SLionel Sambuc int
1431971bb1a5SLionel Sambuc xcb_x_print_print_input_selected_serialize (void                                           **_buffer  /**< */,
1432971bb1a5SLionel Sambuc                                             const xcb_x_print_print_input_selected_reply_t  *_aux  /**< */,
1433971bb1a5SLionel Sambuc                                             const uint32_t                                  *event_list  /**< */,
1434971bb1a5SLionel Sambuc                                             const uint32_t                                  *all_events_list  /**< */);
1435971bb1a5SLionel Sambuc 
1436971bb1a5SLionel Sambuc int
1437971bb1a5SLionel Sambuc xcb_x_print_print_input_selected_unserialize (const void                                 *_buffer  /**< */,
1438971bb1a5SLionel Sambuc                                               xcb_x_print_print_input_selected_reply_t  **_aux  /**< */);
1439971bb1a5SLionel Sambuc 
1440971bb1a5SLionel Sambuc int
1441971bb1a5SLionel Sambuc xcb_x_print_print_input_selected_sizeof (const void  *_buffer  /**< */);
1442971bb1a5SLionel Sambuc 
1443971bb1a5SLionel Sambuc /**
1444971bb1a5SLionel Sambuc  *
1445971bb1a5SLionel Sambuc  * @param c The connection
1446971bb1a5SLionel Sambuc  * @return A cookie
1447971bb1a5SLionel Sambuc  *
1448971bb1a5SLionel Sambuc  * Delivers a request to the X server.
1449971bb1a5SLionel Sambuc  *
1450971bb1a5SLionel Sambuc  */
1451971bb1a5SLionel Sambuc xcb_x_print_print_input_selected_cookie_t
1452971bb1a5SLionel Sambuc xcb_x_print_print_input_selected (xcb_connection_t       *c  /**< */,
1453971bb1a5SLionel Sambuc                                   xcb_x_print_pcontext_t  context  /**< */);
1454971bb1a5SLionel Sambuc 
1455971bb1a5SLionel Sambuc /**
1456971bb1a5SLionel Sambuc  *
1457971bb1a5SLionel Sambuc  * @param c The connection
1458971bb1a5SLionel Sambuc  * @return A cookie
1459971bb1a5SLionel Sambuc  *
1460971bb1a5SLionel Sambuc  * Delivers a request to the X server.
1461971bb1a5SLionel Sambuc  *
1462971bb1a5SLionel Sambuc  * This form can be used only if the request will cause
1463971bb1a5SLionel Sambuc  * a reply to be generated. Any returned error will be
1464971bb1a5SLionel Sambuc  * placed in the event queue.
1465971bb1a5SLionel Sambuc  */
1466971bb1a5SLionel Sambuc xcb_x_print_print_input_selected_cookie_t
1467971bb1a5SLionel Sambuc xcb_x_print_print_input_selected_unchecked (xcb_connection_t       *c  /**< */,
1468971bb1a5SLionel Sambuc                                             xcb_x_print_pcontext_t  context  /**< */);
1469971bb1a5SLionel Sambuc 
1470971bb1a5SLionel Sambuc uint32_t *
1471971bb1a5SLionel Sambuc xcb_x_print_print_input_selected_event_list (const xcb_x_print_print_input_selected_reply_t *R  /**< */);
1472971bb1a5SLionel Sambuc 
1473971bb1a5SLionel Sambuc int
1474971bb1a5SLionel Sambuc xcb_x_print_print_input_selected_event_list_length (const xcb_x_print_print_input_selected_reply_t *R  /**< */);
1475971bb1a5SLionel Sambuc 
1476971bb1a5SLionel Sambuc xcb_generic_iterator_t
1477971bb1a5SLionel Sambuc xcb_x_print_print_input_selected_event_list_end (const xcb_x_print_print_input_selected_reply_t *R  /**< */);
1478971bb1a5SLionel Sambuc 
1479971bb1a5SLionel Sambuc uint32_t *
1480971bb1a5SLionel Sambuc xcb_x_print_print_input_selected_all_events_list (const xcb_x_print_print_input_selected_reply_t *R  /**< */);
1481971bb1a5SLionel Sambuc 
1482971bb1a5SLionel Sambuc int
1483971bb1a5SLionel Sambuc xcb_x_print_print_input_selected_all_events_list_length (const xcb_x_print_print_input_selected_reply_t *R  /**< */);
1484971bb1a5SLionel Sambuc 
1485971bb1a5SLionel Sambuc xcb_generic_iterator_t
1486971bb1a5SLionel Sambuc xcb_x_print_print_input_selected_all_events_list_end (const xcb_x_print_print_input_selected_reply_t *R  /**< */);
1487971bb1a5SLionel Sambuc 
1488971bb1a5SLionel Sambuc /**
1489971bb1a5SLionel Sambuc  * Return the reply
1490971bb1a5SLionel Sambuc  * @param c      The connection
1491971bb1a5SLionel Sambuc  * @param cookie The cookie
1492971bb1a5SLionel Sambuc  * @param e      The xcb_generic_error_t supplied
1493971bb1a5SLionel Sambuc  *
1494971bb1a5SLionel Sambuc  * Returns the reply of the request asked by
1495971bb1a5SLionel Sambuc  *
1496971bb1a5SLionel Sambuc  * The parameter @p e supplied to this function must be NULL if
1497971bb1a5SLionel Sambuc  * xcb_x_print_print_input_selected_unchecked(). is used.
1498971bb1a5SLionel Sambuc  * Otherwise, it stores the error if any.
1499971bb1a5SLionel Sambuc  *
1500971bb1a5SLionel Sambuc  * The returned value must be freed by the caller using free().
1501971bb1a5SLionel Sambuc  */
1502971bb1a5SLionel Sambuc xcb_x_print_print_input_selected_reply_t *
1503971bb1a5SLionel Sambuc xcb_x_print_print_input_selected_reply (xcb_connection_t                           *c  /**< */,
1504971bb1a5SLionel Sambuc                                         xcb_x_print_print_input_selected_cookie_t   cookie  /**< */,
1505971bb1a5SLionel Sambuc                                         xcb_generic_error_t                       **e  /**< */);
1506971bb1a5SLionel Sambuc 
1507*0a6a1f1dSLionel Sambuc int
1508*0a6a1f1dSLionel Sambuc xcb_x_print_print_get_attributes_sizeof (const void  *_buffer  /**< */);
1509*0a6a1f1dSLionel Sambuc 
1510971bb1a5SLionel Sambuc /**
1511971bb1a5SLionel Sambuc  *
1512971bb1a5SLionel Sambuc  * @param c The connection
1513971bb1a5SLionel Sambuc  * @return A cookie
1514971bb1a5SLionel Sambuc  *
1515971bb1a5SLionel Sambuc  * Delivers a request to the X server.
1516971bb1a5SLionel Sambuc  *
1517971bb1a5SLionel Sambuc  */
1518971bb1a5SLionel Sambuc xcb_x_print_print_get_attributes_cookie_t
1519971bb1a5SLionel Sambuc xcb_x_print_print_get_attributes (xcb_connection_t       *c  /**< */,
1520971bb1a5SLionel Sambuc                                   xcb_x_print_pcontext_t  context  /**< */,
1521971bb1a5SLionel Sambuc                                   uint8_t                 pool  /**< */);
1522971bb1a5SLionel Sambuc 
1523971bb1a5SLionel Sambuc /**
1524971bb1a5SLionel Sambuc  *
1525971bb1a5SLionel Sambuc  * @param c The connection
1526971bb1a5SLionel Sambuc  * @return A cookie
1527971bb1a5SLionel Sambuc  *
1528971bb1a5SLionel Sambuc  * Delivers a request to the X server.
1529971bb1a5SLionel Sambuc  *
1530971bb1a5SLionel Sambuc  * This form can be used only if the request will cause
1531971bb1a5SLionel Sambuc  * a reply to be generated. Any returned error will be
1532971bb1a5SLionel Sambuc  * placed in the event queue.
1533971bb1a5SLionel Sambuc  */
1534971bb1a5SLionel Sambuc xcb_x_print_print_get_attributes_cookie_t
1535971bb1a5SLionel Sambuc xcb_x_print_print_get_attributes_unchecked (xcb_connection_t       *c  /**< */,
1536971bb1a5SLionel Sambuc                                             xcb_x_print_pcontext_t  context  /**< */,
1537971bb1a5SLionel Sambuc                                             uint8_t                 pool  /**< */);
1538971bb1a5SLionel Sambuc 
1539*0a6a1f1dSLionel Sambuc xcb_x_print_string8_t *
1540*0a6a1f1dSLionel Sambuc xcb_x_print_print_get_attributes_attributes (const xcb_x_print_print_get_attributes_reply_t *R  /**< */);
1541*0a6a1f1dSLionel Sambuc 
1542*0a6a1f1dSLionel Sambuc int
1543*0a6a1f1dSLionel Sambuc xcb_x_print_print_get_attributes_attributes_length (const xcb_x_print_print_get_attributes_reply_t *R  /**< */);
1544*0a6a1f1dSLionel Sambuc 
1545*0a6a1f1dSLionel Sambuc xcb_generic_iterator_t
1546*0a6a1f1dSLionel Sambuc xcb_x_print_print_get_attributes_attributes_end (const xcb_x_print_print_get_attributes_reply_t *R  /**< */);
1547*0a6a1f1dSLionel Sambuc 
1548971bb1a5SLionel Sambuc /**
1549971bb1a5SLionel Sambuc  * Return the reply
1550971bb1a5SLionel Sambuc  * @param c      The connection
1551971bb1a5SLionel Sambuc  * @param cookie The cookie
1552971bb1a5SLionel Sambuc  * @param e      The xcb_generic_error_t supplied
1553971bb1a5SLionel Sambuc  *
1554971bb1a5SLionel Sambuc  * Returns the reply of the request asked by
1555971bb1a5SLionel Sambuc  *
1556971bb1a5SLionel Sambuc  * The parameter @p e supplied to this function must be NULL if
1557971bb1a5SLionel Sambuc  * xcb_x_print_print_get_attributes_unchecked(). is used.
1558971bb1a5SLionel Sambuc  * Otherwise, it stores the error if any.
1559971bb1a5SLionel Sambuc  *
1560971bb1a5SLionel Sambuc  * The returned value must be freed by the caller using free().
1561971bb1a5SLionel Sambuc  */
1562971bb1a5SLionel Sambuc xcb_x_print_print_get_attributes_reply_t *
1563971bb1a5SLionel Sambuc xcb_x_print_print_get_attributes_reply (xcb_connection_t                           *c  /**< */,
1564971bb1a5SLionel Sambuc                                         xcb_x_print_print_get_attributes_cookie_t   cookie  /**< */,
1565971bb1a5SLionel Sambuc                                         xcb_generic_error_t                       **e  /**< */);
1566971bb1a5SLionel Sambuc 
1567971bb1a5SLionel Sambuc int
1568971bb1a5SLionel Sambuc xcb_x_print_print_get_one_attributes_sizeof (const void  *_buffer  /**< */);
1569971bb1a5SLionel Sambuc 
1570971bb1a5SLionel Sambuc /**
1571971bb1a5SLionel Sambuc  *
1572971bb1a5SLionel Sambuc  * @param c The connection
1573971bb1a5SLionel Sambuc  * @return A cookie
1574971bb1a5SLionel Sambuc  *
1575971bb1a5SLionel Sambuc  * Delivers a request to the X server.
1576971bb1a5SLionel Sambuc  *
1577971bb1a5SLionel Sambuc  */
1578971bb1a5SLionel Sambuc xcb_x_print_print_get_one_attributes_cookie_t
1579971bb1a5SLionel Sambuc xcb_x_print_print_get_one_attributes (xcb_connection_t            *c  /**< */,
1580971bb1a5SLionel Sambuc                                       xcb_x_print_pcontext_t       context  /**< */,
1581971bb1a5SLionel Sambuc                                       uint32_t                     nameLen  /**< */,
1582971bb1a5SLionel Sambuc                                       uint8_t                      pool  /**< */,
1583971bb1a5SLionel Sambuc                                       const xcb_x_print_string8_t *name  /**< */);
1584971bb1a5SLionel Sambuc 
1585971bb1a5SLionel Sambuc /**
1586971bb1a5SLionel Sambuc  *
1587971bb1a5SLionel Sambuc  * @param c The connection
1588971bb1a5SLionel Sambuc  * @return A cookie
1589971bb1a5SLionel Sambuc  *
1590971bb1a5SLionel Sambuc  * Delivers a request to the X server.
1591971bb1a5SLionel Sambuc  *
1592971bb1a5SLionel Sambuc  * This form can be used only if the request will cause
1593971bb1a5SLionel Sambuc  * a reply to be generated. Any returned error will be
1594971bb1a5SLionel Sambuc  * placed in the event queue.
1595971bb1a5SLionel Sambuc  */
1596971bb1a5SLionel Sambuc xcb_x_print_print_get_one_attributes_cookie_t
1597971bb1a5SLionel Sambuc xcb_x_print_print_get_one_attributes_unchecked (xcb_connection_t            *c  /**< */,
1598971bb1a5SLionel Sambuc                                                 xcb_x_print_pcontext_t       context  /**< */,
1599971bb1a5SLionel Sambuc                                                 uint32_t                     nameLen  /**< */,
1600971bb1a5SLionel Sambuc                                                 uint8_t                      pool  /**< */,
1601971bb1a5SLionel Sambuc                                                 const xcb_x_print_string8_t *name  /**< */);
1602971bb1a5SLionel Sambuc 
1603971bb1a5SLionel Sambuc xcb_x_print_string8_t *
1604971bb1a5SLionel Sambuc xcb_x_print_print_get_one_attributes_value (const xcb_x_print_print_get_one_attributes_reply_t *R  /**< */);
1605971bb1a5SLionel Sambuc 
1606971bb1a5SLionel Sambuc int
1607971bb1a5SLionel Sambuc xcb_x_print_print_get_one_attributes_value_length (const xcb_x_print_print_get_one_attributes_reply_t *R  /**< */);
1608971bb1a5SLionel Sambuc 
1609971bb1a5SLionel Sambuc xcb_generic_iterator_t
1610971bb1a5SLionel Sambuc xcb_x_print_print_get_one_attributes_value_end (const xcb_x_print_print_get_one_attributes_reply_t *R  /**< */);
1611971bb1a5SLionel Sambuc 
1612971bb1a5SLionel Sambuc /**
1613971bb1a5SLionel Sambuc  * Return the reply
1614971bb1a5SLionel Sambuc  * @param c      The connection
1615971bb1a5SLionel Sambuc  * @param cookie The cookie
1616971bb1a5SLionel Sambuc  * @param e      The xcb_generic_error_t supplied
1617971bb1a5SLionel Sambuc  *
1618971bb1a5SLionel Sambuc  * Returns the reply of the request asked by
1619971bb1a5SLionel Sambuc  *
1620971bb1a5SLionel Sambuc  * The parameter @p e supplied to this function must be NULL if
1621971bb1a5SLionel Sambuc  * xcb_x_print_print_get_one_attributes_unchecked(). is used.
1622971bb1a5SLionel Sambuc  * Otherwise, it stores the error if any.
1623971bb1a5SLionel Sambuc  *
1624971bb1a5SLionel Sambuc  * The returned value must be freed by the caller using free().
1625971bb1a5SLionel Sambuc  */
1626971bb1a5SLionel Sambuc xcb_x_print_print_get_one_attributes_reply_t *
1627971bb1a5SLionel Sambuc xcb_x_print_print_get_one_attributes_reply (xcb_connection_t                               *c  /**< */,
1628971bb1a5SLionel Sambuc                                             xcb_x_print_print_get_one_attributes_cookie_t   cookie  /**< */,
1629971bb1a5SLionel Sambuc                                             xcb_generic_error_t                           **e  /**< */);
1630971bb1a5SLionel Sambuc 
1631971bb1a5SLionel Sambuc int
1632971bb1a5SLionel Sambuc xcb_x_print_print_set_attributes_sizeof (const void  *_buffer  /**< */,
1633971bb1a5SLionel Sambuc                                          uint32_t     attributes_len  /**< */);
1634971bb1a5SLionel Sambuc 
1635971bb1a5SLionel Sambuc /**
1636971bb1a5SLionel Sambuc  *
1637971bb1a5SLionel Sambuc  * @param c The connection
1638971bb1a5SLionel Sambuc  * @return A cookie
1639971bb1a5SLionel Sambuc  *
1640971bb1a5SLionel Sambuc  * Delivers a request to the X server.
1641971bb1a5SLionel Sambuc  *
1642971bb1a5SLionel Sambuc  * This form can be used only if the request will not cause
1643971bb1a5SLionel Sambuc  * a reply to be generated. Any returned error will be
1644971bb1a5SLionel Sambuc  * saved for handling by xcb_request_check().
1645971bb1a5SLionel Sambuc  */
1646971bb1a5SLionel Sambuc xcb_void_cookie_t
1647971bb1a5SLionel Sambuc xcb_x_print_print_set_attributes_checked (xcb_connection_t            *c  /**< */,
1648971bb1a5SLionel Sambuc                                           xcb_x_print_pcontext_t       context  /**< */,
1649971bb1a5SLionel Sambuc                                           uint32_t                     stringLen  /**< */,
1650971bb1a5SLionel Sambuc                                           uint8_t                      pool  /**< */,
1651971bb1a5SLionel Sambuc                                           uint8_t                      rule  /**< */,
1652971bb1a5SLionel Sambuc                                           uint32_t                     attributes_len  /**< */,
1653971bb1a5SLionel Sambuc                                           const xcb_x_print_string8_t *attributes  /**< */);
1654971bb1a5SLionel Sambuc 
1655971bb1a5SLionel Sambuc /**
1656971bb1a5SLionel Sambuc  *
1657971bb1a5SLionel Sambuc  * @param c The connection
1658971bb1a5SLionel Sambuc  * @return A cookie
1659971bb1a5SLionel Sambuc  *
1660971bb1a5SLionel Sambuc  * Delivers a request to the X server.
1661971bb1a5SLionel Sambuc  *
1662971bb1a5SLionel Sambuc  */
1663971bb1a5SLionel Sambuc xcb_void_cookie_t
1664971bb1a5SLionel Sambuc xcb_x_print_print_set_attributes (xcb_connection_t            *c  /**< */,
1665971bb1a5SLionel Sambuc                                   xcb_x_print_pcontext_t       context  /**< */,
1666971bb1a5SLionel Sambuc                                   uint32_t                     stringLen  /**< */,
1667971bb1a5SLionel Sambuc                                   uint8_t                      pool  /**< */,
1668971bb1a5SLionel Sambuc                                   uint8_t                      rule  /**< */,
1669971bb1a5SLionel Sambuc                                   uint32_t                     attributes_len  /**< */,
1670971bb1a5SLionel Sambuc                                   const xcb_x_print_string8_t *attributes  /**< */);
1671971bb1a5SLionel Sambuc 
1672971bb1a5SLionel Sambuc /**
1673971bb1a5SLionel Sambuc  *
1674971bb1a5SLionel Sambuc  * @param c The connection
1675971bb1a5SLionel Sambuc  * @return A cookie
1676971bb1a5SLionel Sambuc  *
1677971bb1a5SLionel Sambuc  * Delivers a request to the X server.
1678971bb1a5SLionel Sambuc  *
1679971bb1a5SLionel Sambuc  */
1680971bb1a5SLionel Sambuc xcb_x_print_print_get_page_dimensions_cookie_t
1681971bb1a5SLionel Sambuc xcb_x_print_print_get_page_dimensions (xcb_connection_t       *c  /**< */,
1682971bb1a5SLionel Sambuc                                        xcb_x_print_pcontext_t  context  /**< */);
1683971bb1a5SLionel Sambuc 
1684971bb1a5SLionel Sambuc /**
1685971bb1a5SLionel Sambuc  *
1686971bb1a5SLionel Sambuc  * @param c The connection
1687971bb1a5SLionel Sambuc  * @return A cookie
1688971bb1a5SLionel Sambuc  *
1689971bb1a5SLionel Sambuc  * Delivers a request to the X server.
1690971bb1a5SLionel Sambuc  *
1691971bb1a5SLionel Sambuc  * This form can be used only if the request will cause
1692971bb1a5SLionel Sambuc  * a reply to be generated. Any returned error will be
1693971bb1a5SLionel Sambuc  * placed in the event queue.
1694971bb1a5SLionel Sambuc  */
1695971bb1a5SLionel Sambuc xcb_x_print_print_get_page_dimensions_cookie_t
1696971bb1a5SLionel Sambuc xcb_x_print_print_get_page_dimensions_unchecked (xcb_connection_t       *c  /**< */,
1697971bb1a5SLionel Sambuc                                                  xcb_x_print_pcontext_t  context  /**< */);
1698971bb1a5SLionel Sambuc 
1699971bb1a5SLionel Sambuc /**
1700971bb1a5SLionel Sambuc  * Return the reply
1701971bb1a5SLionel Sambuc  * @param c      The connection
1702971bb1a5SLionel Sambuc  * @param cookie The cookie
1703971bb1a5SLionel Sambuc  * @param e      The xcb_generic_error_t supplied
1704971bb1a5SLionel Sambuc  *
1705971bb1a5SLionel Sambuc  * Returns the reply of the request asked by
1706971bb1a5SLionel Sambuc  *
1707971bb1a5SLionel Sambuc  * The parameter @p e supplied to this function must be NULL if
1708971bb1a5SLionel Sambuc  * xcb_x_print_print_get_page_dimensions_unchecked(). is used.
1709971bb1a5SLionel Sambuc  * Otherwise, it stores the error if any.
1710971bb1a5SLionel Sambuc  *
1711971bb1a5SLionel Sambuc  * The returned value must be freed by the caller using free().
1712971bb1a5SLionel Sambuc  */
1713971bb1a5SLionel Sambuc xcb_x_print_print_get_page_dimensions_reply_t *
1714971bb1a5SLionel Sambuc xcb_x_print_print_get_page_dimensions_reply (xcb_connection_t                                *c  /**< */,
1715971bb1a5SLionel Sambuc                                              xcb_x_print_print_get_page_dimensions_cookie_t   cookie  /**< */,
1716971bb1a5SLionel Sambuc                                              xcb_generic_error_t                            **e  /**< */);
1717971bb1a5SLionel Sambuc 
1718971bb1a5SLionel Sambuc int
1719971bb1a5SLionel Sambuc xcb_x_print_print_query_screens_sizeof (const void  *_buffer  /**< */);
1720971bb1a5SLionel Sambuc 
1721971bb1a5SLionel Sambuc /**
1722971bb1a5SLionel Sambuc  *
1723971bb1a5SLionel Sambuc  * @param c The connection
1724971bb1a5SLionel Sambuc  * @return A cookie
1725971bb1a5SLionel Sambuc  *
1726971bb1a5SLionel Sambuc  * Delivers a request to the X server.
1727971bb1a5SLionel Sambuc  *
1728971bb1a5SLionel Sambuc  */
1729971bb1a5SLionel Sambuc xcb_x_print_print_query_screens_cookie_t
1730971bb1a5SLionel Sambuc xcb_x_print_print_query_screens (xcb_connection_t *c  /**< */);
1731971bb1a5SLionel Sambuc 
1732971bb1a5SLionel Sambuc /**
1733971bb1a5SLionel Sambuc  *
1734971bb1a5SLionel Sambuc  * @param c The connection
1735971bb1a5SLionel Sambuc  * @return A cookie
1736971bb1a5SLionel Sambuc  *
1737971bb1a5SLionel Sambuc  * Delivers a request to the X server.
1738971bb1a5SLionel Sambuc  *
1739971bb1a5SLionel Sambuc  * This form can be used only if the request will cause
1740971bb1a5SLionel Sambuc  * a reply to be generated. Any returned error will be
1741971bb1a5SLionel Sambuc  * placed in the event queue.
1742971bb1a5SLionel Sambuc  */
1743971bb1a5SLionel Sambuc xcb_x_print_print_query_screens_cookie_t
1744971bb1a5SLionel Sambuc xcb_x_print_print_query_screens_unchecked (xcb_connection_t *c  /**< */);
1745971bb1a5SLionel Sambuc 
1746971bb1a5SLionel Sambuc xcb_window_t *
1747971bb1a5SLionel Sambuc xcb_x_print_print_query_screens_roots (const xcb_x_print_print_query_screens_reply_t *R  /**< */);
1748971bb1a5SLionel Sambuc 
1749971bb1a5SLionel Sambuc int
1750971bb1a5SLionel Sambuc xcb_x_print_print_query_screens_roots_length (const xcb_x_print_print_query_screens_reply_t *R  /**< */);
1751971bb1a5SLionel Sambuc 
1752971bb1a5SLionel Sambuc xcb_generic_iterator_t
1753971bb1a5SLionel Sambuc xcb_x_print_print_query_screens_roots_end (const xcb_x_print_print_query_screens_reply_t *R  /**< */);
1754971bb1a5SLionel Sambuc 
1755971bb1a5SLionel Sambuc /**
1756971bb1a5SLionel Sambuc  * Return the reply
1757971bb1a5SLionel Sambuc  * @param c      The connection
1758971bb1a5SLionel Sambuc  * @param cookie The cookie
1759971bb1a5SLionel Sambuc  * @param e      The xcb_generic_error_t supplied
1760971bb1a5SLionel Sambuc  *
1761971bb1a5SLionel Sambuc  * Returns the reply of the request asked by
1762971bb1a5SLionel Sambuc  *
1763971bb1a5SLionel Sambuc  * The parameter @p e supplied to this function must be NULL if
1764971bb1a5SLionel Sambuc  * xcb_x_print_print_query_screens_unchecked(). is used.
1765971bb1a5SLionel Sambuc  * Otherwise, it stores the error if any.
1766971bb1a5SLionel Sambuc  *
1767971bb1a5SLionel Sambuc  * The returned value must be freed by the caller using free().
1768971bb1a5SLionel Sambuc  */
1769971bb1a5SLionel Sambuc xcb_x_print_print_query_screens_reply_t *
1770971bb1a5SLionel Sambuc xcb_x_print_print_query_screens_reply (xcb_connection_t                          *c  /**< */,
1771971bb1a5SLionel Sambuc                                        xcb_x_print_print_query_screens_cookie_t   cookie  /**< */,
1772971bb1a5SLionel Sambuc                                        xcb_generic_error_t                      **e  /**< */);
1773971bb1a5SLionel Sambuc 
1774971bb1a5SLionel Sambuc /**
1775971bb1a5SLionel Sambuc  *
1776971bb1a5SLionel Sambuc  * @param c The connection
1777971bb1a5SLionel Sambuc  * @return A cookie
1778971bb1a5SLionel Sambuc  *
1779971bb1a5SLionel Sambuc  * Delivers a request to the X server.
1780971bb1a5SLionel Sambuc  *
1781971bb1a5SLionel Sambuc  */
1782971bb1a5SLionel Sambuc xcb_x_print_print_set_image_resolution_cookie_t
1783971bb1a5SLionel Sambuc xcb_x_print_print_set_image_resolution (xcb_connection_t       *c  /**< */,
1784971bb1a5SLionel Sambuc                                         xcb_x_print_pcontext_t  context  /**< */,
1785971bb1a5SLionel Sambuc                                         uint16_t                image_resolution  /**< */);
1786971bb1a5SLionel Sambuc 
1787971bb1a5SLionel Sambuc /**
1788971bb1a5SLionel Sambuc  *
1789971bb1a5SLionel Sambuc  * @param c The connection
1790971bb1a5SLionel Sambuc  * @return A cookie
1791971bb1a5SLionel Sambuc  *
1792971bb1a5SLionel Sambuc  * Delivers a request to the X server.
1793971bb1a5SLionel Sambuc  *
1794971bb1a5SLionel Sambuc  * This form can be used only if the request will cause
1795971bb1a5SLionel Sambuc  * a reply to be generated. Any returned error will be
1796971bb1a5SLionel Sambuc  * placed in the event queue.
1797971bb1a5SLionel Sambuc  */
1798971bb1a5SLionel Sambuc xcb_x_print_print_set_image_resolution_cookie_t
1799971bb1a5SLionel Sambuc xcb_x_print_print_set_image_resolution_unchecked (xcb_connection_t       *c  /**< */,
1800971bb1a5SLionel Sambuc                                                   xcb_x_print_pcontext_t  context  /**< */,
1801971bb1a5SLionel Sambuc                                                   uint16_t                image_resolution  /**< */);
1802971bb1a5SLionel Sambuc 
1803971bb1a5SLionel Sambuc /**
1804971bb1a5SLionel Sambuc  * Return the reply
1805971bb1a5SLionel Sambuc  * @param c      The connection
1806971bb1a5SLionel Sambuc  * @param cookie The cookie
1807971bb1a5SLionel Sambuc  * @param e      The xcb_generic_error_t supplied
1808971bb1a5SLionel Sambuc  *
1809971bb1a5SLionel Sambuc  * Returns the reply of the request asked by
1810971bb1a5SLionel Sambuc  *
1811971bb1a5SLionel Sambuc  * The parameter @p e supplied to this function must be NULL if
1812971bb1a5SLionel Sambuc  * xcb_x_print_print_set_image_resolution_unchecked(). is used.
1813971bb1a5SLionel Sambuc  * Otherwise, it stores the error if any.
1814971bb1a5SLionel Sambuc  *
1815971bb1a5SLionel Sambuc  * The returned value must be freed by the caller using free().
1816971bb1a5SLionel Sambuc  */
1817971bb1a5SLionel Sambuc xcb_x_print_print_set_image_resolution_reply_t *
1818971bb1a5SLionel Sambuc xcb_x_print_print_set_image_resolution_reply (xcb_connection_t                                 *c  /**< */,
1819971bb1a5SLionel Sambuc                                               xcb_x_print_print_set_image_resolution_cookie_t   cookie  /**< */,
1820971bb1a5SLionel Sambuc                                               xcb_generic_error_t                             **e  /**< */);
1821971bb1a5SLionel Sambuc 
1822971bb1a5SLionel Sambuc /**
1823971bb1a5SLionel Sambuc  *
1824971bb1a5SLionel Sambuc  * @param c The connection
1825971bb1a5SLionel Sambuc  * @return A cookie
1826971bb1a5SLionel Sambuc  *
1827971bb1a5SLionel Sambuc  * Delivers a request to the X server.
1828971bb1a5SLionel Sambuc  *
1829971bb1a5SLionel Sambuc  */
1830971bb1a5SLionel Sambuc xcb_x_print_print_get_image_resolution_cookie_t
1831971bb1a5SLionel Sambuc xcb_x_print_print_get_image_resolution (xcb_connection_t       *c  /**< */,
1832971bb1a5SLionel Sambuc                                         xcb_x_print_pcontext_t  context  /**< */);
1833971bb1a5SLionel Sambuc 
1834971bb1a5SLionel Sambuc /**
1835971bb1a5SLionel Sambuc  *
1836971bb1a5SLionel Sambuc  * @param c The connection
1837971bb1a5SLionel Sambuc  * @return A cookie
1838971bb1a5SLionel Sambuc  *
1839971bb1a5SLionel Sambuc  * Delivers a request to the X server.
1840971bb1a5SLionel Sambuc  *
1841971bb1a5SLionel Sambuc  * This form can be used only if the request will cause
1842971bb1a5SLionel Sambuc  * a reply to be generated. Any returned error will be
1843971bb1a5SLionel Sambuc  * placed in the event queue.
1844971bb1a5SLionel Sambuc  */
1845971bb1a5SLionel Sambuc xcb_x_print_print_get_image_resolution_cookie_t
1846971bb1a5SLionel Sambuc xcb_x_print_print_get_image_resolution_unchecked (xcb_connection_t       *c  /**< */,
1847971bb1a5SLionel Sambuc                                                   xcb_x_print_pcontext_t  context  /**< */);
1848971bb1a5SLionel Sambuc 
1849971bb1a5SLionel Sambuc /**
1850971bb1a5SLionel Sambuc  * Return the reply
1851971bb1a5SLionel Sambuc  * @param c      The connection
1852971bb1a5SLionel Sambuc  * @param cookie The cookie
1853971bb1a5SLionel Sambuc  * @param e      The xcb_generic_error_t supplied
1854971bb1a5SLionel Sambuc  *
1855971bb1a5SLionel Sambuc  * Returns the reply of the request asked by
1856971bb1a5SLionel Sambuc  *
1857971bb1a5SLionel Sambuc  * The parameter @p e supplied to this function must be NULL if
1858971bb1a5SLionel Sambuc  * xcb_x_print_print_get_image_resolution_unchecked(). is used.
1859971bb1a5SLionel Sambuc  * Otherwise, it stores the error if any.
1860971bb1a5SLionel Sambuc  *
1861971bb1a5SLionel Sambuc  * The returned value must be freed by the caller using free().
1862971bb1a5SLionel Sambuc  */
1863971bb1a5SLionel Sambuc xcb_x_print_print_get_image_resolution_reply_t *
1864971bb1a5SLionel Sambuc xcb_x_print_print_get_image_resolution_reply (xcb_connection_t                                 *c  /**< */,
1865971bb1a5SLionel Sambuc                                               xcb_x_print_print_get_image_resolution_cookie_t   cookie  /**< */,
1866971bb1a5SLionel Sambuc                                               xcb_generic_error_t                             **e  /**< */);
1867971bb1a5SLionel Sambuc 
1868971bb1a5SLionel Sambuc 
1869971bb1a5SLionel Sambuc #ifdef __cplusplus
1870971bb1a5SLionel Sambuc }
1871971bb1a5SLionel Sambuc #endif
1872971bb1a5SLionel Sambuc 
1873971bb1a5SLionel Sambuc #endif
1874971bb1a5SLionel Sambuc 
1875971bb1a5SLionel Sambuc /**
1876971bb1a5SLionel Sambuc  * @}
1877971bb1a5SLionel Sambuc  */
1878