1 /*
2  * This file generated automatically from xf86vidmode.xml by d_client.py.
3  * Edit at your peril.
4  */
5 
6 /**
7  * @defgroup XCB_XF86VidMode_API XCB XF86VidMode API
8  * @brief XF86VidMode XCB Protocol Implementation.
9  * @{
10  **/
11 
12 module xcb.xf86vidmode;
13 
14 import xcb.xcb;
15 
16 extern (C):
17 
18 enum int XCB_XF86VIDMODE_MAJOR_VERSION = 2;
19 enum int XCB_XF86VIDMODE_MINOR_VERSION = 2;
20 
21 extern (C) __gshared extern xcb_extension_t xcb_xf86vidmode_id;
22 
23 alias xcb_xf86vidmode_syncrange_t = uint;
24 
25 /**
26  * @brief xcb_xf86vidmode_syncrange_iterator_t
27  **/
28 struct xcb_xf86vidmode_syncrange_iterator_t {
29 	xcb_xf86vidmode_syncrange_t* data; /**<  */
30 	int rem; /**<  */
31 	int index; /**<  */
32 }
33 
34 alias xcb_xf86vidmode_dotclock_t = uint;
35 
36 /**
37  * @brief xcb_xf86vidmode_dotclock_iterator_t
38  **/
39 struct xcb_xf86vidmode_dotclock_iterator_t {
40 	xcb_xf86vidmode_dotclock_t* data; /**<  */
41 	int rem; /**<  */
42 	int index; /**<  */
43 }
44 
45 enum xcb_xf86vidmode_mode_flag_t {
46 	XCB_XF86VIDMODE_MODE_FLAG_POSITIVE_H_SYNC = 1,
47 	XCB_XF86VIDMODE_MODE_FLAG_NEGATIVE_H_SYNC = 2,
48 	XCB_XF86VIDMODE_MODE_FLAG_POSITIVE_V_SYNC = 4,
49 	XCB_XF86VIDMODE_MODE_FLAG_NEGATIVE_V_SYNC = 8,
50 	XCB_XF86VIDMODE_MODE_FLAG_INTERLACE = 16,
51 	XCB_XF86VIDMODE_MODE_FLAG_COMPOSITE_SYNC = 32,
52 	XCB_XF86VIDMODE_MODE_FLAG_POSITIVE_C_SYNC = 64,
53 	XCB_XF86VIDMODE_MODE_FLAG_NEGATIVE_C_SYNC = 128,
54 	XCB_XF86VIDMODE_MODE_FLAG_H_SKEW = 256,
55 	XCB_XF86VIDMODE_MODE_FLAG_BROADCAST = 512,
56 	XCB_XF86VIDMODE_MODE_FLAG_PIXMUX = 1024,
57 	XCB_XF86VIDMODE_MODE_FLAG_DOUBLE_CLOCK = 2048,
58 	XCB_XF86VIDMODE_MODE_FLAG_HALF_CLOCK = 4096
59 }
60 
61 alias XCB_XF86VIDMODE_MODE_FLAG_POSITIVE_H_SYNC = xcb_xf86vidmode_mode_flag_t.XCB_XF86VIDMODE_MODE_FLAG_POSITIVE_H_SYNC;
62 alias XCB_XF86VIDMODE_MODE_FLAG_NEGATIVE_H_SYNC = xcb_xf86vidmode_mode_flag_t.XCB_XF86VIDMODE_MODE_FLAG_NEGATIVE_H_SYNC;
63 alias XCB_XF86VIDMODE_MODE_FLAG_POSITIVE_V_SYNC = xcb_xf86vidmode_mode_flag_t.XCB_XF86VIDMODE_MODE_FLAG_POSITIVE_V_SYNC;
64 alias XCB_XF86VIDMODE_MODE_FLAG_NEGATIVE_V_SYNC = xcb_xf86vidmode_mode_flag_t.XCB_XF86VIDMODE_MODE_FLAG_NEGATIVE_V_SYNC;
65 alias XCB_XF86VIDMODE_MODE_FLAG_INTERLACE = xcb_xf86vidmode_mode_flag_t.XCB_XF86VIDMODE_MODE_FLAG_INTERLACE;
66 alias XCB_XF86VIDMODE_MODE_FLAG_COMPOSITE_SYNC = xcb_xf86vidmode_mode_flag_t.XCB_XF86VIDMODE_MODE_FLAG_COMPOSITE_SYNC;
67 alias XCB_XF86VIDMODE_MODE_FLAG_POSITIVE_C_SYNC = xcb_xf86vidmode_mode_flag_t.XCB_XF86VIDMODE_MODE_FLAG_POSITIVE_C_SYNC;
68 alias XCB_XF86VIDMODE_MODE_FLAG_NEGATIVE_C_SYNC = xcb_xf86vidmode_mode_flag_t.XCB_XF86VIDMODE_MODE_FLAG_NEGATIVE_C_SYNC;
69 alias XCB_XF86VIDMODE_MODE_FLAG_H_SKEW = xcb_xf86vidmode_mode_flag_t.XCB_XF86VIDMODE_MODE_FLAG_H_SKEW;
70 alias XCB_XF86VIDMODE_MODE_FLAG_BROADCAST = xcb_xf86vidmode_mode_flag_t.XCB_XF86VIDMODE_MODE_FLAG_BROADCAST;
71 alias XCB_XF86VIDMODE_MODE_FLAG_PIXMUX = xcb_xf86vidmode_mode_flag_t.XCB_XF86VIDMODE_MODE_FLAG_PIXMUX;
72 alias XCB_XF86VIDMODE_MODE_FLAG_DOUBLE_CLOCK = xcb_xf86vidmode_mode_flag_t.XCB_XF86VIDMODE_MODE_FLAG_DOUBLE_CLOCK;
73 alias XCB_XF86VIDMODE_MODE_FLAG_HALF_CLOCK = xcb_xf86vidmode_mode_flag_t.XCB_XF86VIDMODE_MODE_FLAG_HALF_CLOCK;
74 
75 enum xcb_xf86vidmode_clock_flag_t {
76 	XCB_XF86VIDMODE_CLOCK_FLAG_PROGRAMABLE = 1
77 }
78 
79 alias XCB_XF86VIDMODE_CLOCK_FLAG_PROGRAMABLE = xcb_xf86vidmode_clock_flag_t.XCB_XF86VIDMODE_CLOCK_FLAG_PROGRAMABLE;
80 
81 enum xcb_xf86vidmode_permission_t {
82 	XCB_XF86VIDMODE_PERMISSION_READ = 1,
83 	XCB_XF86VIDMODE_PERMISSION_WRITE = 2
84 }
85 
86 alias XCB_XF86VIDMODE_PERMISSION_READ = xcb_xf86vidmode_permission_t.XCB_XF86VIDMODE_PERMISSION_READ;
87 alias XCB_XF86VIDMODE_PERMISSION_WRITE = xcb_xf86vidmode_permission_t.XCB_XF86VIDMODE_PERMISSION_WRITE;
88 
89 /**
90  * @brief xcb_xf86vidmode_mode_info_t
91  **/
92 struct xcb_xf86vidmode_mode_info_t {
93 	xcb_xf86vidmode_dotclock_t dotclock; /**<  */
94 	ushort hdisplay; /**<  */
95 	ushort hsyncstart; /**<  */
96 	ushort hsyncend; /**<  */
97 	ushort htotal; /**<  */
98 	uint hskew; /**<  */
99 	ushort vdisplay; /**<  */
100 	ushort vsyncstart; /**<  */
101 	ushort vsyncend; /**<  */
102 	ushort vtotal; /**<  */
103 	ubyte[4] pad0; /**<  */
104 	uint flags; /**<  */
105 	ubyte[12] pad1; /**<  */
106 	uint privsize; /**<  */
107 }
108 
109 /**
110  * @brief xcb_xf86vidmode_mode_info_iterator_t
111  **/
112 struct xcb_xf86vidmode_mode_info_iterator_t {
113 	xcb_xf86vidmode_mode_info_t* data; /**<  */
114 	int rem; /**<  */
115 	int index; /**<  */
116 }
117 
118 /**
119  * @brief xcb_xf86vidmode_query_version_cookie_t
120  **/
121 struct xcb_xf86vidmode_query_version_cookie_t {
122 	uint sequence; /**<  */
123 }
124 
125 /** Opcode for xcb_xf86vidmode_query_version. */
126 enum XCB_XF86VIDMODE_QUERY_VERSION = 0;
127 
128 /**
129  * @brief xcb_xf86vidmode_query_version_request_t
130  **/
131 struct xcb_xf86vidmode_query_version_request_t {
132 	ubyte major_opcode; /**<  */
133 	ubyte minor_opcode; /**<  */
134 	ushort length; /**<  */
135 }
136 
137 /**
138  * @brief xcb_xf86vidmode_query_version_reply_t
139  **/
140 struct xcb_xf86vidmode_query_version_reply_t {
141 	ubyte response_type; /**<  */
142 	ubyte pad0; /**<  */
143 	ushort sequence; /**<  */
144 	uint length; /**<  */
145 	ushort major_version; /**<  */
146 	ushort minor_version; /**<  */
147 }
148 
149 /**
150  * @brief xcb_xf86vidmode_get_mode_line_cookie_t
151  **/
152 struct xcb_xf86vidmode_get_mode_line_cookie_t {
153 	uint sequence; /**<  */
154 }
155 
156 /** Opcode for xcb_xf86vidmode_get_mode_line. */
157 enum XCB_XF86VIDMODE_GET_MODE_LINE = 1;
158 
159 /**
160  * @brief xcb_xf86vidmode_get_mode_line_request_t
161  **/
162 struct xcb_xf86vidmode_get_mode_line_request_t {
163 	ubyte major_opcode; /**<  */
164 	ubyte minor_opcode; /**<  */
165 	ushort length; /**<  */
166 	ushort screen; /**<  */
167 	ubyte[2] pad0; /**<  */
168 }
169 
170 /**
171  * @brief xcb_xf86vidmode_get_mode_line_reply_t
172  **/
173 struct xcb_xf86vidmode_get_mode_line_reply_t {
174 	ubyte response_type; /**<  */
175 	ubyte pad0; /**<  */
176 	ushort sequence; /**<  */
177 	uint length; /**<  */
178 	xcb_xf86vidmode_dotclock_t dotclock; /**<  */
179 	ushort hdisplay; /**<  */
180 	ushort hsyncstart; /**<  */
181 	ushort hsyncend; /**<  */
182 	ushort htotal; /**<  */
183 	ushort hskew; /**<  */
184 	ushort vdisplay; /**<  */
185 	ushort vsyncstart; /**<  */
186 	ushort vsyncend; /**<  */
187 	ushort vtotal; /**<  */
188 	ubyte[2] pad1; /**<  */
189 	uint flags; /**<  */
190 	ubyte[12] pad2; /**<  */
191 	uint privsize; /**<  */
192 }
193 
194 /** Opcode for xcb_xf86vidmode_mod_mode_line. */
195 enum XCB_XF86VIDMODE_MOD_MODE_LINE = 2;
196 
197 /**
198  * @brief xcb_xf86vidmode_mod_mode_line_request_t
199  **/
200 struct xcb_xf86vidmode_mod_mode_line_request_t {
201 	ubyte major_opcode; /**<  */
202 	ubyte minor_opcode; /**<  */
203 	ushort length; /**<  */
204 	uint screen; /**<  */
205 	ushort hdisplay; /**<  */
206 	ushort hsyncstart; /**<  */
207 	ushort hsyncend; /**<  */
208 	ushort htotal; /**<  */
209 	ushort hskew; /**<  */
210 	ushort vdisplay; /**<  */
211 	ushort vsyncstart; /**<  */
212 	ushort vsyncend; /**<  */
213 	ushort vtotal; /**<  */
214 	ubyte[2] pad0; /**<  */
215 	uint flags; /**<  */
216 	ubyte[12] pad1; /**<  */
217 	uint privsize; /**<  */
218 }
219 
220 /** Opcode for xcb_xf86vidmode_switch_mode. */
221 enum XCB_XF86VIDMODE_SWITCH_MODE = 3;
222 
223 /**
224  * @brief xcb_xf86vidmode_switch_mode_request_t
225  **/
226 struct xcb_xf86vidmode_switch_mode_request_t {
227 	ubyte major_opcode; /**<  */
228 	ubyte minor_opcode; /**<  */
229 	ushort length; /**<  */
230 	ushort screen; /**<  */
231 	ushort zoom; /**<  */
232 }
233 
234 /**
235  * @brief xcb_xf86vidmode_get_monitor_cookie_t
236  **/
237 struct xcb_xf86vidmode_get_monitor_cookie_t {
238 	uint sequence; /**<  */
239 }
240 
241 /** Opcode for xcb_xf86vidmode_get_monitor. */
242 enum XCB_XF86VIDMODE_GET_MONITOR = 4;
243 
244 /**
245  * @brief xcb_xf86vidmode_get_monitor_request_t
246  **/
247 struct xcb_xf86vidmode_get_monitor_request_t {
248 	ubyte major_opcode; /**<  */
249 	ubyte minor_opcode; /**<  */
250 	ushort length; /**<  */
251 	ushort screen; /**<  */
252 	ubyte[2] pad0; /**<  */
253 }
254 
255 /**
256  * @brief xcb_xf86vidmode_get_monitor_reply_t
257  **/
258 struct xcb_xf86vidmode_get_monitor_reply_t {
259 	ubyte response_type; /**<  */
260 	ubyte pad0; /**<  */
261 	ushort sequence; /**<  */
262 	uint length; /**<  */
263 	ubyte vendor_length; /**<  */
264 	ubyte model_length; /**<  */
265 	ubyte num_hsync; /**<  */
266 	ubyte num_vsync; /**<  */
267 	ubyte[20] pad1; /**<  */
268 }
269 
270 /** Opcode for xcb_xf86vidmode_lock_mode_switch. */
271 enum XCB_XF86VIDMODE_LOCK_MODE_SWITCH = 5;
272 
273 /**
274  * @brief xcb_xf86vidmode_lock_mode_switch_request_t
275  **/
276 struct xcb_xf86vidmode_lock_mode_switch_request_t {
277 	ubyte major_opcode; /**<  */
278 	ubyte minor_opcode; /**<  */
279 	ushort length; /**<  */
280 	ushort screen; /**<  */
281 	ushort lock; /**<  */
282 }
283 
284 /**
285  * @brief xcb_xf86vidmode_get_all_mode_lines_cookie_t
286  **/
287 struct xcb_xf86vidmode_get_all_mode_lines_cookie_t {
288 	uint sequence; /**<  */
289 }
290 
291 /** Opcode for xcb_xf86vidmode_get_all_mode_lines. */
292 enum XCB_XF86VIDMODE_GET_ALL_MODE_LINES = 6;
293 
294 /**
295  * @brief xcb_xf86vidmode_get_all_mode_lines_request_t
296  **/
297 struct xcb_xf86vidmode_get_all_mode_lines_request_t {
298 	ubyte major_opcode; /**<  */
299 	ubyte minor_opcode; /**<  */
300 	ushort length; /**<  */
301 	ushort screen; /**<  */
302 	ubyte[2] pad0; /**<  */
303 }
304 
305 /**
306  * @brief xcb_xf86vidmode_get_all_mode_lines_reply_t
307  **/
308 struct xcb_xf86vidmode_get_all_mode_lines_reply_t {
309 	ubyte response_type; /**<  */
310 	ubyte pad0; /**<  */
311 	ushort sequence; /**<  */
312 	uint length; /**<  */
313 	uint modecount; /**<  */
314 	ubyte[20] pad1; /**<  */
315 }
316 
317 /** Opcode for xcb_xf86vidmode_add_mode_line. */
318 enum XCB_XF86VIDMODE_ADD_MODE_LINE = 7;
319 
320 /**
321  * @brief xcb_xf86vidmode_add_mode_line_request_t
322  **/
323 struct xcb_xf86vidmode_add_mode_line_request_t {
324 	ubyte major_opcode; /**<  */
325 	ubyte minor_opcode; /**<  */
326 	ushort length; /**<  */
327 	uint screen; /**<  */
328 	xcb_xf86vidmode_dotclock_t dotclock; /**<  */
329 	ushort hdisplay; /**<  */
330 	ushort hsyncstart; /**<  */
331 	ushort hsyncend; /**<  */
332 	ushort htotal; /**<  */
333 	ushort hskew; /**<  */
334 	ushort vdisplay; /**<  */
335 	ushort vsyncstart; /**<  */
336 	ushort vsyncend; /**<  */
337 	ushort vtotal; /**<  */
338 	ubyte[2] pad0; /**<  */
339 	uint flags; /**<  */
340 	ubyte[12] pad1; /**<  */
341 	uint privsize; /**<  */
342 	xcb_xf86vidmode_dotclock_t after_dotclock; /**<  */
343 	ushort after_hdisplay; /**<  */
344 	ushort after_hsyncstart; /**<  */
345 	ushort after_hsyncend; /**<  */
346 	ushort after_htotal; /**<  */
347 	ushort after_hskew; /**<  */
348 	ushort after_vdisplay; /**<  */
349 	ushort after_vsyncstart; /**<  */
350 	ushort after_vsyncend; /**<  */
351 	ushort after_vtotal; /**<  */
352 	ubyte[2] pad2; /**<  */
353 	uint after_flags; /**<  */
354 	ubyte[12] pad3; /**<  */
355 }
356 
357 /** Opcode for xcb_xf86vidmode_delete_mode_line. */
358 enum XCB_XF86VIDMODE_DELETE_MODE_LINE = 8;
359 
360 /**
361  * @brief xcb_xf86vidmode_delete_mode_line_request_t
362  **/
363 struct xcb_xf86vidmode_delete_mode_line_request_t {
364 	ubyte major_opcode; /**<  */
365 	ubyte minor_opcode; /**<  */
366 	ushort length; /**<  */
367 	uint screen; /**<  */
368 	xcb_xf86vidmode_dotclock_t dotclock; /**<  */
369 	ushort hdisplay; /**<  */
370 	ushort hsyncstart; /**<  */
371 	ushort hsyncend; /**<  */
372 	ushort htotal; /**<  */
373 	ushort hskew; /**<  */
374 	ushort vdisplay; /**<  */
375 	ushort vsyncstart; /**<  */
376 	ushort vsyncend; /**<  */
377 	ushort vtotal; /**<  */
378 	ubyte[2] pad0; /**<  */
379 	uint flags; /**<  */
380 	ubyte[12] pad1; /**<  */
381 	uint privsize; /**<  */
382 }
383 
384 /**
385  * @brief xcb_xf86vidmode_validate_mode_line_cookie_t
386  **/
387 struct xcb_xf86vidmode_validate_mode_line_cookie_t {
388 	uint sequence; /**<  */
389 }
390 
391 /** Opcode for xcb_xf86vidmode_validate_mode_line. */
392 enum XCB_XF86VIDMODE_VALIDATE_MODE_LINE = 9;
393 
394 /**
395  * @brief xcb_xf86vidmode_validate_mode_line_request_t
396  **/
397 struct xcb_xf86vidmode_validate_mode_line_request_t {
398 	ubyte major_opcode; /**<  */
399 	ubyte minor_opcode; /**<  */
400 	ushort length; /**<  */
401 	uint screen; /**<  */
402 	xcb_xf86vidmode_dotclock_t dotclock; /**<  */
403 	ushort hdisplay; /**<  */
404 	ushort hsyncstart; /**<  */
405 	ushort hsyncend; /**<  */
406 	ushort htotal; /**<  */
407 	ushort hskew; /**<  */
408 	ushort vdisplay; /**<  */
409 	ushort vsyncstart; /**<  */
410 	ushort vsyncend; /**<  */
411 	ushort vtotal; /**<  */
412 	ubyte[2] pad0; /**<  */
413 	uint flags; /**<  */
414 	ubyte[12] pad1; /**<  */
415 	uint privsize; /**<  */
416 }
417 
418 /**
419  * @brief xcb_xf86vidmode_validate_mode_line_reply_t
420  **/
421 struct xcb_xf86vidmode_validate_mode_line_reply_t {
422 	ubyte response_type; /**<  */
423 	ubyte pad0; /**<  */
424 	ushort sequence; /**<  */
425 	uint length; /**<  */
426 	uint status; /**<  */
427 	ubyte[20] pad1; /**<  */
428 }
429 
430 /** Opcode for xcb_xf86vidmode_switch_to_mode. */
431 enum XCB_XF86VIDMODE_SWITCH_TO_MODE = 10;
432 
433 /**
434  * @brief xcb_xf86vidmode_switch_to_mode_request_t
435  **/
436 struct xcb_xf86vidmode_switch_to_mode_request_t {
437 	ubyte major_opcode; /**<  */
438 	ubyte minor_opcode; /**<  */
439 	ushort length; /**<  */
440 	uint screen; /**<  */
441 	xcb_xf86vidmode_dotclock_t dotclock; /**<  */
442 	ushort hdisplay; /**<  */
443 	ushort hsyncstart; /**<  */
444 	ushort hsyncend; /**<  */
445 	ushort htotal; /**<  */
446 	ushort hskew; /**<  */
447 	ushort vdisplay; /**<  */
448 	ushort vsyncstart; /**<  */
449 	ushort vsyncend; /**<  */
450 	ushort vtotal; /**<  */
451 	ubyte[2] pad0; /**<  */
452 	uint flags; /**<  */
453 	ubyte[12] pad1; /**<  */
454 	uint privsize; /**<  */
455 }
456 
457 /**
458  * @brief xcb_xf86vidmode_get_view_port_cookie_t
459  **/
460 struct xcb_xf86vidmode_get_view_port_cookie_t {
461 	uint sequence; /**<  */
462 }
463 
464 /** Opcode for xcb_xf86vidmode_get_view_port. */
465 enum XCB_XF86VIDMODE_GET_VIEW_PORT = 11;
466 
467 /**
468  * @brief xcb_xf86vidmode_get_view_port_request_t
469  **/
470 struct xcb_xf86vidmode_get_view_port_request_t {
471 	ubyte major_opcode; /**<  */
472 	ubyte minor_opcode; /**<  */
473 	ushort length; /**<  */
474 	ushort screen; /**<  */
475 	ubyte[2] pad0; /**<  */
476 }
477 
478 /**
479  * @brief xcb_xf86vidmode_get_view_port_reply_t
480  **/
481 struct xcb_xf86vidmode_get_view_port_reply_t {
482 	ubyte response_type; /**<  */
483 	ubyte pad0; /**<  */
484 	ushort sequence; /**<  */
485 	uint length; /**<  */
486 	uint x; /**<  */
487 	uint y; /**<  */
488 	ubyte[16] pad1; /**<  */
489 }
490 
491 /** Opcode for xcb_xf86vidmode_set_view_port. */
492 enum XCB_XF86VIDMODE_SET_VIEW_PORT = 12;
493 
494 /**
495  * @brief xcb_xf86vidmode_set_view_port_request_t
496  **/
497 struct xcb_xf86vidmode_set_view_port_request_t {
498 	ubyte major_opcode; /**<  */
499 	ubyte minor_opcode; /**<  */
500 	ushort length; /**<  */
501 	ushort screen; /**<  */
502 	ubyte[2] pad0; /**<  */
503 	uint x; /**<  */
504 	uint y; /**<  */
505 }
506 
507 /**
508  * @brief xcb_xf86vidmode_get_dot_clocks_cookie_t
509  **/
510 struct xcb_xf86vidmode_get_dot_clocks_cookie_t {
511 	uint sequence; /**<  */
512 }
513 
514 /** Opcode for xcb_xf86vidmode_get_dot_clocks. */
515 enum XCB_XF86VIDMODE_GET_DOT_CLOCKS = 13;
516 
517 /**
518  * @brief xcb_xf86vidmode_get_dot_clocks_request_t
519  **/
520 struct xcb_xf86vidmode_get_dot_clocks_request_t {
521 	ubyte major_opcode; /**<  */
522 	ubyte minor_opcode; /**<  */
523 	ushort length; /**<  */
524 	ushort screen; /**<  */
525 	ubyte[2] pad0; /**<  */
526 }
527 
528 /**
529  * @brief xcb_xf86vidmode_get_dot_clocks_reply_t
530  **/
531 struct xcb_xf86vidmode_get_dot_clocks_reply_t {
532 	ubyte response_type; /**<  */
533 	ubyte pad0; /**<  */
534 	ushort sequence; /**<  */
535 	uint length; /**<  */
536 	uint flags; /**<  */
537 	uint clocks; /**<  */
538 	uint maxclocks; /**<  */
539 	ubyte[12] pad1; /**<  */
540 }
541 
542 /** Opcode for xcb_xf86vidmode_set_client_version. */
543 enum XCB_XF86VIDMODE_SET_CLIENT_VERSION = 14;
544 
545 /**
546  * @brief xcb_xf86vidmode_set_client_version_request_t
547  **/
548 struct xcb_xf86vidmode_set_client_version_request_t {
549 	ubyte major_opcode; /**<  */
550 	ubyte minor_opcode; /**<  */
551 	ushort length; /**<  */
552 	ushort major; /**<  */
553 	ushort minor; /**<  */
554 }
555 
556 /** Opcode for xcb_xf86vidmode_set_gamma. */
557 enum XCB_XF86VIDMODE_SET_GAMMA = 15;
558 
559 /**
560  * @brief xcb_xf86vidmode_set_gamma_request_t
561  **/
562 struct xcb_xf86vidmode_set_gamma_request_t {
563 	ubyte major_opcode; /**<  */
564 	ubyte minor_opcode; /**<  */
565 	ushort length; /**<  */
566 	ushort screen; /**<  */
567 	ubyte[2] pad0; /**<  */
568 	uint red; /**<  */
569 	uint green; /**<  */
570 	uint blue; /**<  */
571 	ubyte[12] pad1; /**<  */
572 }
573 
574 /**
575  * @brief xcb_xf86vidmode_get_gamma_cookie_t
576  **/
577 struct xcb_xf86vidmode_get_gamma_cookie_t {
578 	uint sequence; /**<  */
579 }
580 
581 /** Opcode for xcb_xf86vidmode_get_gamma. */
582 enum XCB_XF86VIDMODE_GET_GAMMA = 16;
583 
584 /**
585  * @brief xcb_xf86vidmode_get_gamma_request_t
586  **/
587 struct xcb_xf86vidmode_get_gamma_request_t {
588 	ubyte major_opcode; /**<  */
589 	ubyte minor_opcode; /**<  */
590 	ushort length; /**<  */
591 	ushort screen; /**<  */
592 	ubyte[26] pad0; /**<  */
593 }
594 
595 /**
596  * @brief xcb_xf86vidmode_get_gamma_reply_t
597  **/
598 struct xcb_xf86vidmode_get_gamma_reply_t {
599 	ubyte response_type; /**<  */
600 	ubyte pad0; /**<  */
601 	ushort sequence; /**<  */
602 	uint length; /**<  */
603 	uint red; /**<  */
604 	uint green; /**<  */
605 	uint blue; /**<  */
606 	ubyte[12] pad1; /**<  */
607 }
608 
609 /**
610  * @brief xcb_xf86vidmode_get_gamma_ramp_cookie_t
611  **/
612 struct xcb_xf86vidmode_get_gamma_ramp_cookie_t {
613 	uint sequence; /**<  */
614 }
615 
616 /** Opcode for xcb_xf86vidmode_get_gamma_ramp. */
617 enum XCB_XF86VIDMODE_GET_GAMMA_RAMP = 17;
618 
619 /**
620  * @brief xcb_xf86vidmode_get_gamma_ramp_request_t
621  **/
622 struct xcb_xf86vidmode_get_gamma_ramp_request_t {
623 	ubyte major_opcode; /**<  */
624 	ubyte minor_opcode; /**<  */
625 	ushort length; /**<  */
626 	ushort screen; /**<  */
627 	ushort size; /**<  */
628 }
629 
630 /**
631  * @brief xcb_xf86vidmode_get_gamma_ramp_reply_t
632  **/
633 struct xcb_xf86vidmode_get_gamma_ramp_reply_t {
634 	ubyte response_type; /**<  */
635 	ubyte pad0; /**<  */
636 	ushort sequence; /**<  */
637 	uint length; /**<  */
638 	ushort size; /**<  */
639 	ubyte[22] pad1; /**<  */
640 }
641 
642 /** Opcode for xcb_xf86vidmode_set_gamma_ramp. */
643 enum XCB_XF86VIDMODE_SET_GAMMA_RAMP = 18;
644 
645 /**
646  * @brief xcb_xf86vidmode_set_gamma_ramp_request_t
647  **/
648 struct xcb_xf86vidmode_set_gamma_ramp_request_t {
649 	ubyte major_opcode; /**<  */
650 	ubyte minor_opcode; /**<  */
651 	ushort length; /**<  */
652 	ushort screen; /**<  */
653 	ushort size; /**<  */
654 }
655 
656 /**
657  * @brief xcb_xf86vidmode_get_gamma_ramp_size_cookie_t
658  **/
659 struct xcb_xf86vidmode_get_gamma_ramp_size_cookie_t {
660 	uint sequence; /**<  */
661 }
662 
663 /** Opcode for xcb_xf86vidmode_get_gamma_ramp_size. */
664 enum XCB_XF86VIDMODE_GET_GAMMA_RAMP_SIZE = 19;
665 
666 /**
667  * @brief xcb_xf86vidmode_get_gamma_ramp_size_request_t
668  **/
669 struct xcb_xf86vidmode_get_gamma_ramp_size_request_t {
670 	ubyte major_opcode; /**<  */
671 	ubyte minor_opcode; /**<  */
672 	ushort length; /**<  */
673 	ushort screen; /**<  */
674 	ubyte[2] pad0; /**<  */
675 }
676 
677 /**
678  * @brief xcb_xf86vidmode_get_gamma_ramp_size_reply_t
679  **/
680 struct xcb_xf86vidmode_get_gamma_ramp_size_reply_t {
681 	ubyte response_type; /**<  */
682 	ubyte pad0; /**<  */
683 	ushort sequence; /**<  */
684 	uint length; /**<  */
685 	ushort size; /**<  */
686 	ubyte[22] pad1; /**<  */
687 }
688 
689 /**
690  * @brief xcb_xf86vidmode_get_permissions_cookie_t
691  **/
692 struct xcb_xf86vidmode_get_permissions_cookie_t {
693 	uint sequence; /**<  */
694 }
695 
696 /** Opcode for xcb_xf86vidmode_get_permissions. */
697 enum XCB_XF86VIDMODE_GET_PERMISSIONS = 20;
698 
699 /**
700  * @brief xcb_xf86vidmode_get_permissions_request_t
701  **/
702 struct xcb_xf86vidmode_get_permissions_request_t {
703 	ubyte major_opcode; /**<  */
704 	ubyte minor_opcode; /**<  */
705 	ushort length; /**<  */
706 	ushort screen; /**<  */
707 	ubyte[2] pad0; /**<  */
708 }
709 
710 /**
711  * @brief xcb_xf86vidmode_get_permissions_reply_t
712  **/
713 struct xcb_xf86vidmode_get_permissions_reply_t {
714 	ubyte response_type; /**<  */
715 	ubyte pad0; /**<  */
716 	ushort sequence; /**<  */
717 	uint length; /**<  */
718 	uint permissions; /**<  */
719 	ubyte[20] pad1; /**<  */
720 }
721 
722 /** Opcode for xcb_xf86vidmode_bad_clock. */
723 enum XCB_XF86VIDMODE_BAD_CLOCK = 0;
724 
725 /**
726  * @brief xcb_xf86vidmode_bad_clock_error_t
727  **/
728 struct xcb_xf86vidmode_bad_clock_error_t {
729 	ubyte response_type; /**<  */
730 	ubyte error_code; /**<  */
731 	ushort sequence; /**<  */
732 }
733 
734 /** Opcode for xcb_xf86vidmode_bad_h_timings. */
735 enum XCB_XF86VIDMODE_BAD_H_TIMINGS = 1;
736 
737 /**
738  * @brief xcb_xf86vidmode_bad_h_timings_error_t
739  **/
740 struct xcb_xf86vidmode_bad_h_timings_error_t {
741 	ubyte response_type; /**<  */
742 	ubyte error_code; /**<  */
743 	ushort sequence; /**<  */
744 }
745 
746 /** Opcode for xcb_xf86vidmode_bad_v_timings. */
747 enum XCB_XF86VIDMODE_BAD_V_TIMINGS = 2;
748 
749 /**
750  * @brief xcb_xf86vidmode_bad_v_timings_error_t
751  **/
752 struct xcb_xf86vidmode_bad_v_timings_error_t {
753 	ubyte response_type; /**<  */
754 	ubyte error_code; /**<  */
755 	ushort sequence; /**<  */
756 }
757 
758 /** Opcode for xcb_xf86vidmode_mode_unsuitable. */
759 enum XCB_XF86VIDMODE_MODE_UNSUITABLE = 3;
760 
761 /**
762  * @brief xcb_xf86vidmode_mode_unsuitable_error_t
763  **/
764 struct xcb_xf86vidmode_mode_unsuitable_error_t {
765 	ubyte response_type; /**<  */
766 	ubyte error_code; /**<  */
767 	ushort sequence; /**<  */
768 }
769 
770 /** Opcode for xcb_xf86vidmode_extension_disabled. */
771 enum XCB_XF86VIDMODE_EXTENSION_DISABLED = 4;
772 
773 /**
774  * @brief xcb_xf86vidmode_extension_disabled_error_t
775  **/
776 struct xcb_xf86vidmode_extension_disabled_error_t {
777 	ubyte response_type; /**<  */
778 	ubyte error_code; /**<  */
779 	ushort sequence; /**<  */
780 }
781 
782 /** Opcode for xcb_xf86vidmode_client_not_local. */
783 enum XCB_XF86VIDMODE_CLIENT_NOT_LOCAL = 5;
784 
785 /**
786  * @brief xcb_xf86vidmode_client_not_local_error_t
787  **/
788 struct xcb_xf86vidmode_client_not_local_error_t {
789 	ubyte response_type; /**<  */
790 	ubyte error_code; /**<  */
791 	ushort sequence; /**<  */
792 }
793 
794 /** Opcode for xcb_xf86vidmode_zoom_locked. */
795 enum XCB_XF86VIDMODE_ZOOM_LOCKED = 6;
796 
797 /**
798  * @brief xcb_xf86vidmode_zoom_locked_error_t
799  **/
800 struct xcb_xf86vidmode_zoom_locked_error_t {
801 	ubyte response_type; /**<  */
802 	ubyte error_code; /**<  */
803 	ushort sequence; /**<  */
804 }
805 
806 /**
807  * Get the next element of the iterator
808  * @param i Pointer to a xcb_xf86vidmode_syncrange_iterator_t
809  *
810  * Get the next element in the iterator. The member rem is
811  * decreased by one. The member data points to the next
812  * element. The member index is increased by sizeof(xcb_xf86vidmode_syncrange_t)
813  */
814 void xcb_xf86vidmode_syncrange_next(xcb_xf86vidmode_syncrange_iterator_t* i /**< */ );
815 
816 /**
817  * Return the iterator pointing to the last element
818  * @param i An xcb_xf86vidmode_syncrange_iterator_t
819  * @return  The iterator pointing to the last element
820  *
821  * Set the current element in the iterator to the last element.
822  * The member rem is set to 0. The member data points to the
823  * last element.
824  */
825 xcb_generic_iterator_t xcb_xf86vidmode_syncrange_end(xcb_xf86vidmode_syncrange_iterator_t i /**< */ );
826 
827 /**
828  * Get the next element of the iterator
829  * @param i Pointer to a xcb_xf86vidmode_dotclock_iterator_t
830  *
831  * Get the next element in the iterator. The member rem is
832  * decreased by one. The member data points to the next
833  * element. The member index is increased by sizeof(xcb_xf86vidmode_dotclock_t)
834  */
835 void xcb_xf86vidmode_dotclock_next(xcb_xf86vidmode_dotclock_iterator_t* i /**< */ );
836 
837 /**
838  * Return the iterator pointing to the last element
839  * @param i An xcb_xf86vidmode_dotclock_iterator_t
840  * @return  The iterator pointing to the last element
841  *
842  * Set the current element in the iterator to the last element.
843  * The member rem is set to 0. The member data points to the
844  * last element.
845  */
846 xcb_generic_iterator_t xcb_xf86vidmode_dotclock_end(xcb_xf86vidmode_dotclock_iterator_t i /**< */ );
847 
848 /**
849  * Get the next element of the iterator
850  * @param i Pointer to a xcb_xf86vidmode_mode_info_iterator_t
851  *
852  * Get the next element in the iterator. The member rem is
853  * decreased by one. The member data points to the next
854  * element. The member index is increased by sizeof(xcb_xf86vidmode_mode_info_t)
855  */
856 void xcb_xf86vidmode_mode_info_next(xcb_xf86vidmode_mode_info_iterator_t* i /**< */ );
857 
858 /**
859  * Return the iterator pointing to the last element
860  * @param i An xcb_xf86vidmode_mode_info_iterator_t
861  * @return  The iterator pointing to the last element
862  *
863  * Set the current element in the iterator to the last element.
864  * The member rem is set to 0. The member data points to the
865  * last element.
866  */
867 xcb_generic_iterator_t xcb_xf86vidmode_mode_info_end(xcb_xf86vidmode_mode_info_iterator_t i /**< */ );
868 
869 /**
870  *
871  * @param c The connection
872  * @return A cookie
873  *
874  * Delivers a request to the X server.
875  *
876  */
877 xcb_xf86vidmode_query_version_cookie_t xcb_xf86vidmode_query_version(xcb_connection_t* c /**< */ );
878 
879 /**
880  *
881  * @param c The connection
882  * @return A cookie
883  *
884  * Delivers a request to the X server.
885  *
886  * This form can be used only if the request will cause
887  * a reply to be generated. Any returned error will be
888  * placed in the event queue.
889  */
890 xcb_xf86vidmode_query_version_cookie_t xcb_xf86vidmode_query_version_unchecked(xcb_connection_t* c /**< */ );
891 
892 /**
893  * Return the reply
894  * @param c      The connection
895  * @param cookie The cookie
896  * @param e      The xcb_generic_error_t supplied
897  *
898  * Returns the reply of the request asked by
899  *
900  * The parameter @p e supplied to this function must be NULL if
901  * xcb_xf86vidmode_query_version_unchecked(). is used.
902  * Otherwise, it stores the error if any.
903  *
904  * The returned value must be freed by the caller using free().
905  */
906 xcb_xf86vidmode_query_version_reply_t* xcb_xf86vidmode_query_version_reply(xcb_connection_t* c /**< */ ,
907 	xcb_xf86vidmode_query_version_cookie_t cookie /**< */ , xcb_generic_error_t** e /**< */ );
908 
909 int xcb_xf86vidmode_get_mode_line_sizeof(const void* _buffer /**< */ );
910 
911 /**
912  *
913  * @param c The connection
914  * @return A cookie
915  *
916  * Delivers a request to the X server.
917  *
918  */
919 xcb_xf86vidmode_get_mode_line_cookie_t xcb_xf86vidmode_get_mode_line(xcb_connection_t* c /**< */ , ushort screen /**< */ );
920 
921 /**
922  *
923  * @param c The connection
924  * @return A cookie
925  *
926  * Delivers a request to the X server.
927  *
928  * This form can be used only if the request will cause
929  * a reply to be generated. Any returned error will be
930  * placed in the event queue.
931  */
932 xcb_xf86vidmode_get_mode_line_cookie_t xcb_xf86vidmode_get_mode_line_unchecked(xcb_connection_t* c /**< */ , ushort screen /**< */ );
933 
934 ubyte* xcb_xf86vidmode_get_mode_line_private(const xcb_xf86vidmode_get_mode_line_reply_t* R /**< */ );
935 
936 int xcb_xf86vidmode_get_mode_line_private_length(const xcb_xf86vidmode_get_mode_line_reply_t* R /**< */ );
937 
938 xcb_generic_iterator_t xcb_xf86vidmode_get_mode_line_private_end(const xcb_xf86vidmode_get_mode_line_reply_t* R /**< */ );
939 
940 /**
941  * Return the reply
942  * @param c      The connection
943  * @param cookie The cookie
944  * @param e      The xcb_generic_error_t supplied
945  *
946  * Returns the reply of the request asked by
947  *
948  * The parameter @p e supplied to this function must be NULL if
949  * xcb_xf86vidmode_get_mode_line_unchecked(). is used.
950  * Otherwise, it stores the error if any.
951  *
952  * The returned value must be freed by the caller using free().
953  */
954 xcb_xf86vidmode_get_mode_line_reply_t* xcb_xf86vidmode_get_mode_line_reply(xcb_connection_t* c /**< */ ,
955 	xcb_xf86vidmode_get_mode_line_cookie_t cookie /**< */ , xcb_generic_error_t** e /**< */ );
956 
957 int xcb_xf86vidmode_mod_mode_line_sizeof(const void* _buffer /**< */ );
958 
959 /**
960  *
961  * @param c The connection
962  * @return A cookie
963  *
964  * Delivers a request to the X server.
965  *
966  * This form can be used only if the request will not cause
967  * a reply to be generated. Any returned error will be
968  * saved for handling by xcb_request_check().
969  */
970 xcb_void_cookie_t xcb_xf86vidmode_mod_mode_line_checked(xcb_connection_t* c /**< */ , uint screen /**< */ , ushort hdisplay /**< */ , ushort hsyncstart /**< */ ,
971 	ushort hsyncend /**< */ , ushort htotal /**< */ , ushort hskew /**< */ , ushort vdisplay /**< */ , ushort vsyncstart /**< */ , ushort vsyncend /**< */ ,
972 	ushort vtotal /**< */ , uint flags /**< */ , uint privsize /**< */ , const ubyte* private_ /**< */ );
973 
974 /**
975  *
976  * @param c The connection
977  * @return A cookie
978  *
979  * Delivers a request to the X server.
980  *
981  */
982 xcb_void_cookie_t xcb_xf86vidmode_mod_mode_line(xcb_connection_t* c /**< */ , uint screen /**< */ , ushort hdisplay /**< */ , ushort hsyncstart /**< */ ,
983 	ushort hsyncend /**< */ , ushort htotal /**< */ , ushort hskew /**< */ , ushort vdisplay /**< */ , ushort vsyncstart /**< */ , ushort vsyncend /**< */ ,
984 	ushort vtotal /**< */ , uint flags /**< */ , uint privsize /**< */ , const ubyte* private_ /**< */ );
985 
986 /**
987  *
988  * @param c The connection
989  * @return A cookie
990  *
991  * Delivers a request to the X server.
992  *
993  * This form can be used only if the request will not cause
994  * a reply to be generated. Any returned error will be
995  * saved for handling by xcb_request_check().
996  */
997 xcb_void_cookie_t xcb_xf86vidmode_switch_mode_checked(xcb_connection_t* c /**< */ , ushort screen /**< */ , ushort zoom /**< */ );
998 
999 /**
1000  *
1001  * @param c The connection
1002  * @return A cookie
1003  *
1004  * Delivers a request to the X server.
1005  *
1006  */
1007 xcb_void_cookie_t xcb_xf86vidmode_switch_mode(xcb_connection_t* c /**< */ , ushort screen /**< */ , ushort zoom /**< */ );
1008 
1009 int xcb_xf86vidmode_get_monitor_sizeof(const void* _buffer /**< */ );
1010 
1011 /**
1012  *
1013  * @param c The connection
1014  * @return A cookie
1015  *
1016  * Delivers a request to the X server.
1017  *
1018  */
1019 xcb_xf86vidmode_get_monitor_cookie_t xcb_xf86vidmode_get_monitor(xcb_connection_t* c /**< */ , ushort screen /**< */ );
1020 
1021 /**
1022  *
1023  * @param c The connection
1024  * @return A cookie
1025  *
1026  * Delivers a request to the X server.
1027  *
1028  * This form can be used only if the request will cause
1029  * a reply to be generated. Any returned error will be
1030  * placed in the event queue.
1031  */
1032 xcb_xf86vidmode_get_monitor_cookie_t xcb_xf86vidmode_get_monitor_unchecked(xcb_connection_t* c /**< */ , ushort screen /**< */ );
1033 
1034 xcb_xf86vidmode_syncrange_t* xcb_xf86vidmode_get_monitor_hsync(const xcb_xf86vidmode_get_monitor_reply_t* R /**< */ );
1035 
1036 int xcb_xf86vidmode_get_monitor_hsync_length(const xcb_xf86vidmode_get_monitor_reply_t* R /**< */ );
1037 
1038 xcb_generic_iterator_t xcb_xf86vidmode_get_monitor_hsync_end(const xcb_xf86vidmode_get_monitor_reply_t* R /**< */ );
1039 
1040 xcb_xf86vidmode_syncrange_t* xcb_xf86vidmode_get_monitor_vsync(const xcb_xf86vidmode_get_monitor_reply_t* R /**< */ );
1041 
1042 int xcb_xf86vidmode_get_monitor_vsync_length(const xcb_xf86vidmode_get_monitor_reply_t* R /**< */ );
1043 
1044 xcb_generic_iterator_t xcb_xf86vidmode_get_monitor_vsync_end(const xcb_xf86vidmode_get_monitor_reply_t* R /**< */ );
1045 
1046 char* xcb_xf86vidmode_get_monitor_vendor(const xcb_xf86vidmode_get_monitor_reply_t* R /**< */ );
1047 
1048 int xcb_xf86vidmode_get_monitor_vendor_length(const xcb_xf86vidmode_get_monitor_reply_t* R /**< */ );
1049 
1050 xcb_generic_iterator_t xcb_xf86vidmode_get_monitor_vendor_end(const xcb_xf86vidmode_get_monitor_reply_t* R /**< */ );
1051 
1052 void* xcb_xf86vidmode_get_monitor_alignment_pad(const xcb_xf86vidmode_get_monitor_reply_t* R /**< */ );
1053 
1054 int xcb_xf86vidmode_get_monitor_alignment_pad_length(const xcb_xf86vidmode_get_monitor_reply_t* R /**< */ );
1055 
1056 xcb_generic_iterator_t xcb_xf86vidmode_get_monitor_alignment_pad_end(const xcb_xf86vidmode_get_monitor_reply_t* R /**< */ );
1057 
1058 char* xcb_xf86vidmode_get_monitor_model(const xcb_xf86vidmode_get_monitor_reply_t* R /**< */ );
1059 
1060 int xcb_xf86vidmode_get_monitor_model_length(const xcb_xf86vidmode_get_monitor_reply_t* R /**< */ );
1061 
1062 xcb_generic_iterator_t xcb_xf86vidmode_get_monitor_model_end(const xcb_xf86vidmode_get_monitor_reply_t* R /**< */ );
1063 
1064 /**
1065  * Return the reply
1066  * @param c      The connection
1067  * @param cookie The cookie
1068  * @param e      The xcb_generic_error_t supplied
1069  *
1070  * Returns the reply of the request asked by
1071  *
1072  * The parameter @p e supplied to this function must be NULL if
1073  * xcb_xf86vidmode_get_monitor_unchecked(). is used.
1074  * Otherwise, it stores the error if any.
1075  *
1076  * The returned value must be freed by the caller using free().
1077  */
1078 xcb_xf86vidmode_get_monitor_reply_t* xcb_xf86vidmode_get_monitor_reply(xcb_connection_t* c /**< */ ,
1079 	xcb_xf86vidmode_get_monitor_cookie_t cookie /**< */ , xcb_generic_error_t** e /**< */ );
1080 
1081 /**
1082  *
1083  * @param c The connection
1084  * @return A cookie
1085  *
1086  * Delivers a request to the X server.
1087  *
1088  * This form can be used only if the request will not cause
1089  * a reply to be generated. Any returned error will be
1090  * saved for handling by xcb_request_check().
1091  */
1092 xcb_void_cookie_t xcb_xf86vidmode_lock_mode_switch_checked(xcb_connection_t* c /**< */ , ushort screen /**< */ , ushort lock /**< */ );
1093 
1094 /**
1095  *
1096  * @param c The connection
1097  * @return A cookie
1098  *
1099  * Delivers a request to the X server.
1100  *
1101  */
1102 xcb_void_cookie_t xcb_xf86vidmode_lock_mode_switch(xcb_connection_t* c /**< */ , ushort screen /**< */ , ushort lock /**< */ );
1103 
1104 int xcb_xf86vidmode_get_all_mode_lines_sizeof(const void* _buffer /**< */ );
1105 
1106 /**
1107  *
1108  * @param c The connection
1109  * @return A cookie
1110  *
1111  * Delivers a request to the X server.
1112  *
1113  */
1114 xcb_xf86vidmode_get_all_mode_lines_cookie_t xcb_xf86vidmode_get_all_mode_lines(xcb_connection_t* c /**< */ , ushort screen /**< */ );
1115 
1116 /**
1117  *
1118  * @param c The connection
1119  * @return A cookie
1120  *
1121  * Delivers a request to the X server.
1122  *
1123  * This form can be used only if the request will cause
1124  * a reply to be generated. Any returned error will be
1125  * placed in the event queue.
1126  */
1127 xcb_xf86vidmode_get_all_mode_lines_cookie_t xcb_xf86vidmode_get_all_mode_lines_unchecked(xcb_connection_t* c /**< */ , ushort screen /**< */ );
1128 
1129 xcb_xf86vidmode_mode_info_t* xcb_xf86vidmode_get_all_mode_lines_modeinfo(const xcb_xf86vidmode_get_all_mode_lines_reply_t* R /**< */ );
1130 
1131 int xcb_xf86vidmode_get_all_mode_lines_modeinfo_length(const xcb_xf86vidmode_get_all_mode_lines_reply_t* R /**< */ );
1132 
1133 xcb_xf86vidmode_mode_info_iterator_t xcb_xf86vidmode_get_all_mode_lines_modeinfo_iterator(const xcb_xf86vidmode_get_all_mode_lines_reply_t* R /**< */ );
1134 
1135 /**
1136  * Return the reply
1137  * @param c      The connection
1138  * @param cookie The cookie
1139  * @param e      The xcb_generic_error_t supplied
1140  *
1141  * Returns the reply of the request asked by
1142  *
1143  * The parameter @p e supplied to this function must be NULL if
1144  * xcb_xf86vidmode_get_all_mode_lines_unchecked(). is used.
1145  * Otherwise, it stores the error if any.
1146  *
1147  * The returned value must be freed by the caller using free().
1148  */
1149 xcb_xf86vidmode_get_all_mode_lines_reply_t* xcb_xf86vidmode_get_all_mode_lines_reply(xcb_connection_t* c /**< */ ,
1150 	xcb_xf86vidmode_get_all_mode_lines_cookie_t cookie /**< */ , xcb_generic_error_t** e /**< */ );
1151 
1152 int xcb_xf86vidmode_add_mode_line_sizeof(const void* _buffer /**< */ );
1153 
1154 /**
1155  *
1156  * @param c The connection
1157  * @return A cookie
1158  *
1159  * Delivers a request to the X server.
1160  *
1161  * This form can be used only if the request will not cause
1162  * a reply to be generated. Any returned error will be
1163  * saved for handling by xcb_request_check().
1164  */
1165 xcb_void_cookie_t xcb_xf86vidmode_add_mode_line_checked(xcb_connection_t* c /**< */ , uint screen /**< */ ,
1166 	xcb_xf86vidmode_dotclock_t dotclock /**< */ , ushort hdisplay /**< */ , ushort hsyncstart /**< */ , ushort hsyncend /**< */ , ushort htotal /**< */ ,
1167 	ushort hskew /**< */ , ushort vdisplay /**< */ , ushort vsyncstart /**< */ , ushort vsyncend /**< */ , ushort vtotal /**< */ , uint flags /**< */ , uint privsize /**< */ ,
1168 	xcb_xf86vidmode_dotclock_t after_dotclock /**< */ , ushort after_hdisplay /**< */ , ushort after_hsyncstart /**< */ ,
1169 	ushort after_hsyncend /**< */ , ushort after_htotal /**< */ , ushort after_hskew /**< */ , ushort after_vdisplay /**< */ , ushort after_vsyncstart /**< */ ,
1170 	ushort after_vsyncend /**< */ , ushort after_vtotal /**< */ , uint after_flags /**< */ , const ubyte* private_ /**< */ );
1171 
1172 /**
1173  *
1174  * @param c The connection
1175  * @return A cookie
1176  *
1177  * Delivers a request to the X server.
1178  *
1179  */
1180 xcb_void_cookie_t xcb_xf86vidmode_add_mode_line(xcb_connection_t* c /**< */ , uint screen /**< */ , xcb_xf86vidmode_dotclock_t dotclock /**< */ ,
1181 	ushort hdisplay /**< */ , ushort hsyncstart /**< */ , ushort hsyncend /**< */ , ushort htotal /**< */ , ushort hskew /**< */ , ushort vdisplay /**< */ , ushort vsyncstart /**< */ ,
1182 	ushort vsyncend /**< */ , ushort vtotal /**< */ , uint flags /**< */ , uint privsize /**< */ , xcb_xf86vidmode_dotclock_t after_dotclock /**< */ ,
1183 	ushort after_hdisplay /**< */ , ushort after_hsyncstart /**< */ , ushort after_hsyncend /**< */ , ushort after_htotal /**< */ , ushort after_hskew /**< */ ,
1184 	ushort after_vdisplay /**< */ , ushort after_vsyncstart /**< */ , ushort after_vsyncend /**< */ , ushort after_vtotal /**< */ ,
1185 	uint after_flags /**< */ , const ubyte* private_ /**< */ );
1186 
1187 int xcb_xf86vidmode_delete_mode_line_sizeof(const void* _buffer /**< */ );
1188 
1189 /**
1190  *
1191  * @param c The connection
1192  * @return A cookie
1193  *
1194  * Delivers a request to the X server.
1195  *
1196  * This form can be used only if the request will not cause
1197  * a reply to be generated. Any returned error will be
1198  * saved for handling by xcb_request_check().
1199  */
1200 xcb_void_cookie_t xcb_xf86vidmode_delete_mode_line_checked(xcb_connection_t* c /**< */ , uint screen /**< */ ,
1201 	xcb_xf86vidmode_dotclock_t dotclock /**< */ , ushort hdisplay /**< */ , ushort hsyncstart /**< */ , ushort hsyncend /**< */ , ushort htotal /**< */ ,
1202 	ushort hskew /**< */ , ushort vdisplay /**< */ , ushort vsyncstart /**< */ , ushort vsyncend /**< */ , ushort vtotal /**< */ , uint flags /**< */ ,
1203 	uint privsize /**< */ , const ubyte* private_ /**< */ );
1204 
1205 /**
1206  *
1207  * @param c The connection
1208  * @return A cookie
1209  *
1210  * Delivers a request to the X server.
1211  *
1212  */
1213 xcb_void_cookie_t xcb_xf86vidmode_delete_mode_line(xcb_connection_t* c /**< */ , uint screen /**< */ , xcb_xf86vidmode_dotclock_t dotclock /**< */ ,
1214 	ushort hdisplay /**< */ , ushort hsyncstart /**< */ , ushort hsyncend /**< */ , ushort htotal /**< */ , ushort hskew /**< */ , ushort vdisplay /**< */ , ushort vsyncstart /**< */ ,
1215 	ushort vsyncend /**< */ , ushort vtotal /**< */ , uint flags /**< */ , uint privsize /**< */ , const ubyte* private_ /**< */ );
1216 
1217 int xcb_xf86vidmode_validate_mode_line_sizeof(const void* _buffer /**< */ );
1218 
1219 /**
1220  *
1221  * @param c The connection
1222  * @return A cookie
1223  *
1224  * Delivers a request to the X server.
1225  *
1226  */
1227 xcb_xf86vidmode_validate_mode_line_cookie_t xcb_xf86vidmode_validate_mode_line(xcb_connection_t* c /**< */ , uint screen /**< */ ,
1228 	xcb_xf86vidmode_dotclock_t dotclock /**< */ , ushort hdisplay /**< */ , ushort hsyncstart /**< */ , ushort hsyncend /**< */ , ushort htotal /**< */ ,
1229 	ushort hskew /**< */ , ushort vdisplay /**< */ , ushort vsyncstart /**< */ , ushort vsyncend /**< */ , ushort vtotal /**< */ , uint flags /**< */ ,
1230 	uint privsize /**< */ , const ubyte* private_ /**< */ );
1231 
1232 /**
1233  *
1234  * @param c The connection
1235  * @return A cookie
1236  *
1237  * Delivers a request to the X server.
1238  *
1239  * This form can be used only if the request will cause
1240  * a reply to be generated. Any returned error will be
1241  * placed in the event queue.
1242  */
1243 xcb_xf86vidmode_validate_mode_line_cookie_t xcb_xf86vidmode_validate_mode_line_unchecked(xcb_connection_t* c /**< */ , uint screen /**< */ ,
1244 	xcb_xf86vidmode_dotclock_t dotclock /**< */ , ushort hdisplay /**< */ , ushort hsyncstart /**< */ , ushort hsyncend /**< */ , ushort htotal /**< */ ,
1245 	ushort hskew /**< */ , ushort vdisplay /**< */ , ushort vsyncstart /**< */ , ushort vsyncend /**< */ , ushort vtotal /**< */ , uint flags /**< */ ,
1246 	uint privsize /**< */ , const ubyte* private_ /**< */ );
1247 
1248 /**
1249  * Return the reply
1250  * @param c      The connection
1251  * @param cookie The cookie
1252  * @param e      The xcb_generic_error_t supplied
1253  *
1254  * Returns the reply of the request asked by
1255  *
1256  * The parameter @p e supplied to this function must be NULL if
1257  * xcb_xf86vidmode_validate_mode_line_unchecked(). is used.
1258  * Otherwise, it stores the error if any.
1259  *
1260  * The returned value must be freed by the caller using free().
1261  */
1262 xcb_xf86vidmode_validate_mode_line_reply_t* xcb_xf86vidmode_validate_mode_line_reply(xcb_connection_t* c /**< */ ,
1263 	xcb_xf86vidmode_validate_mode_line_cookie_t cookie /**< */ , xcb_generic_error_t** e /**< */ );
1264 
1265 int xcb_xf86vidmode_switch_to_mode_sizeof(const void* _buffer /**< */ );
1266 
1267 /**
1268  *
1269  * @param c The connection
1270  * @return A cookie
1271  *
1272  * Delivers a request to the X server.
1273  *
1274  * This form can be used only if the request will not cause
1275  * a reply to be generated. Any returned error will be
1276  * saved for handling by xcb_request_check().
1277  */
1278 xcb_void_cookie_t xcb_xf86vidmode_switch_to_mode_checked(xcb_connection_t* c /**< */ , uint screen /**< */ ,
1279 	xcb_xf86vidmode_dotclock_t dotclock /**< */ , ushort hdisplay /**< */ , ushort hsyncstart /**< */ , ushort hsyncend /**< */ , ushort htotal /**< */ ,
1280 	ushort hskew /**< */ , ushort vdisplay /**< */ , ushort vsyncstart /**< */ , ushort vsyncend /**< */ , ushort vtotal /**< */ , uint flags /**< */ ,
1281 	uint privsize /**< */ , const ubyte* private_ /**< */ );
1282 
1283 /**
1284  *
1285  * @param c The connection
1286  * @return A cookie
1287  *
1288  * Delivers a request to the X server.
1289  *
1290  */
1291 xcb_void_cookie_t xcb_xf86vidmode_switch_to_mode(xcb_connection_t* c /**< */ , uint screen /**< */ , xcb_xf86vidmode_dotclock_t dotclock /**< */ ,
1292 	ushort hdisplay /**< */ , ushort hsyncstart /**< */ , ushort hsyncend /**< */ , ushort htotal /**< */ , ushort hskew /**< */ , ushort vdisplay /**< */ , ushort vsyncstart /**< */ ,
1293 	ushort vsyncend /**< */ , ushort vtotal /**< */ , uint flags /**< */ , uint privsize /**< */ , const ubyte* private_ /**< */ );
1294 
1295 /**
1296  *
1297  * @param c The connection
1298  * @return A cookie
1299  *
1300  * Delivers a request to the X server.
1301  *
1302  */
1303 xcb_xf86vidmode_get_view_port_cookie_t xcb_xf86vidmode_get_view_port(xcb_connection_t* c /**< */ , ushort screen /**< */ );
1304 
1305 /**
1306  *
1307  * @param c The connection
1308  * @return A cookie
1309  *
1310  * Delivers a request to the X server.
1311  *
1312  * This form can be used only if the request will cause
1313  * a reply to be generated. Any returned error will be
1314  * placed in the event queue.
1315  */
1316 xcb_xf86vidmode_get_view_port_cookie_t xcb_xf86vidmode_get_view_port_unchecked(xcb_connection_t* c /**< */ , ushort screen /**< */ );
1317 
1318 /**
1319  * Return the reply
1320  * @param c      The connection
1321  * @param cookie The cookie
1322  * @param e      The xcb_generic_error_t supplied
1323  *
1324  * Returns the reply of the request asked by
1325  *
1326  * The parameter @p e supplied to this function must be NULL if
1327  * xcb_xf86vidmode_get_view_port_unchecked(). is used.
1328  * Otherwise, it stores the error if any.
1329  *
1330  * The returned value must be freed by the caller using free().
1331  */
1332 xcb_xf86vidmode_get_view_port_reply_t* xcb_xf86vidmode_get_view_port_reply(xcb_connection_t* c /**< */ ,
1333 	xcb_xf86vidmode_get_view_port_cookie_t cookie /**< */ , xcb_generic_error_t** e /**< */ );
1334 
1335 /**
1336  *
1337  * @param c The connection
1338  * @return A cookie
1339  *
1340  * Delivers a request to the X server.
1341  *
1342  * This form can be used only if the request will not cause
1343  * a reply to be generated. Any returned error will be
1344  * saved for handling by xcb_request_check().
1345  */
1346 xcb_void_cookie_t xcb_xf86vidmode_set_view_port_checked(xcb_connection_t* c /**< */ , ushort screen /**< */ , uint x /**< */ ,
1347 	uint y /**< */ );
1348 
1349 /**
1350  *
1351  * @param c The connection
1352  * @return A cookie
1353  *
1354  * Delivers a request to the X server.
1355  *
1356  */
1357 xcb_void_cookie_t xcb_xf86vidmode_set_view_port(xcb_connection_t* c /**< */ , ushort screen /**< */ , uint x /**< */ , uint y /**< */ );
1358 
1359 int xcb_xf86vidmode_get_dot_clocks_sizeof(const void* _buffer /**< */ );
1360 
1361 /**
1362  *
1363  * @param c The connection
1364  * @return A cookie
1365  *
1366  * Delivers a request to the X server.
1367  *
1368  */
1369 xcb_xf86vidmode_get_dot_clocks_cookie_t xcb_xf86vidmode_get_dot_clocks(xcb_connection_t* c /**< */ , ushort screen /**< */ );
1370 
1371 /**
1372  *
1373  * @param c The connection
1374  * @return A cookie
1375  *
1376  * Delivers a request to the X server.
1377  *
1378  * This form can be used only if the request will cause
1379  * a reply to be generated. Any returned error will be
1380  * placed in the event queue.
1381  */
1382 xcb_xf86vidmode_get_dot_clocks_cookie_t xcb_xf86vidmode_get_dot_clocks_unchecked(xcb_connection_t* c /**< */ , ushort screen /**< */ );
1383 
1384 uint* xcb_xf86vidmode_get_dot_clocks_clock(const xcb_xf86vidmode_get_dot_clocks_reply_t* R /**< */ );
1385 
1386 int xcb_xf86vidmode_get_dot_clocks_clock_length(const xcb_xf86vidmode_get_dot_clocks_reply_t* R /**< */ );
1387 
1388 xcb_generic_iterator_t xcb_xf86vidmode_get_dot_clocks_clock_end(const xcb_xf86vidmode_get_dot_clocks_reply_t* R /**< */ );
1389 
1390 /**
1391  * Return the reply
1392  * @param c      The connection
1393  * @param cookie The cookie
1394  * @param e      The xcb_generic_error_t supplied
1395  *
1396  * Returns the reply of the request asked by
1397  *
1398  * The parameter @p e supplied to this function must be NULL if
1399  * xcb_xf86vidmode_get_dot_clocks_unchecked(). is used.
1400  * Otherwise, it stores the error if any.
1401  *
1402  * The returned value must be freed by the caller using free().
1403  */
1404 xcb_xf86vidmode_get_dot_clocks_reply_t* xcb_xf86vidmode_get_dot_clocks_reply(xcb_connection_t* c /**< */ ,
1405 	xcb_xf86vidmode_get_dot_clocks_cookie_t cookie /**< */ , xcb_generic_error_t** e /**< */ );
1406 
1407 /**
1408  *
1409  * @param c The connection
1410  * @return A cookie
1411  *
1412  * Delivers a request to the X server.
1413  *
1414  * This form can be used only if the request will not cause
1415  * a reply to be generated. Any returned error will be
1416  * saved for handling by xcb_request_check().
1417  */
1418 xcb_void_cookie_t xcb_xf86vidmode_set_client_version_checked(xcb_connection_t* c /**< */ , ushort major /**< */ , ushort minor /**< */ );
1419 
1420 /**
1421  *
1422  * @param c The connection
1423  * @return A cookie
1424  *
1425  * Delivers a request to the X server.
1426  *
1427  */
1428 xcb_void_cookie_t xcb_xf86vidmode_set_client_version(xcb_connection_t* c /**< */ , ushort major /**< */ , ushort minor /**< */ );
1429 
1430 /**
1431  *
1432  * @param c The connection
1433  * @return A cookie
1434  *
1435  * Delivers a request to the X server.
1436  *
1437  * This form can be used only if the request will not cause
1438  * a reply to be generated. Any returned error will be
1439  * saved for handling by xcb_request_check().
1440  */
1441 xcb_void_cookie_t xcb_xf86vidmode_set_gamma_checked(xcb_connection_t* c /**< */ , ushort screen /**< */ , uint red /**< */ ,
1442 	uint green /**< */ , uint blue /**< */ );
1443 
1444 /**
1445  *
1446  * @param c The connection
1447  * @return A cookie
1448  *
1449  * Delivers a request to the X server.
1450  *
1451  */
1452 xcb_void_cookie_t xcb_xf86vidmode_set_gamma(xcb_connection_t* c /**< */ , ushort screen /**< */ , uint red /**< */ , uint green /**< */ ,
1453 	uint blue /**< */ );
1454 
1455 /**
1456  *
1457  * @param c The connection
1458  * @return A cookie
1459  *
1460  * Delivers a request to the X server.
1461  *
1462  */
1463 xcb_xf86vidmode_get_gamma_cookie_t xcb_xf86vidmode_get_gamma(xcb_connection_t* c /**< */ , ushort screen /**< */ );
1464 
1465 /**
1466  *
1467  * @param c The connection
1468  * @return A cookie
1469  *
1470  * Delivers a request to the X server.
1471  *
1472  * This form can be used only if the request will cause
1473  * a reply to be generated. Any returned error will be
1474  * placed in the event queue.
1475  */
1476 xcb_xf86vidmode_get_gamma_cookie_t xcb_xf86vidmode_get_gamma_unchecked(xcb_connection_t* c /**< */ , ushort screen /**< */ );
1477 
1478 /**
1479  * Return the reply
1480  * @param c      The connection
1481  * @param cookie The cookie
1482  * @param e      The xcb_generic_error_t supplied
1483  *
1484  * Returns the reply of the request asked by
1485  *
1486  * The parameter @p e supplied to this function must be NULL if
1487  * xcb_xf86vidmode_get_gamma_unchecked(). is used.
1488  * Otherwise, it stores the error if any.
1489  *
1490  * The returned value must be freed by the caller using free().
1491  */
1492 xcb_xf86vidmode_get_gamma_reply_t* xcb_xf86vidmode_get_gamma_reply(xcb_connection_t* c /**< */ ,
1493 	xcb_xf86vidmode_get_gamma_cookie_t cookie /**< */ , xcb_generic_error_t** e /**< */ );
1494 
1495 int xcb_xf86vidmode_get_gamma_ramp_sizeof(const void* _buffer /**< */ );
1496 
1497 /**
1498  *
1499  * @param c The connection
1500  * @return A cookie
1501  *
1502  * Delivers a request to the X server.
1503  *
1504  */
1505 xcb_xf86vidmode_get_gamma_ramp_cookie_t xcb_xf86vidmode_get_gamma_ramp(xcb_connection_t* c /**< */ , ushort screen /**< */ ,
1506 	ushort size /**< */ );
1507 
1508 /**
1509  *
1510  * @param c The connection
1511  * @return A cookie
1512  *
1513  * Delivers a request to the X server.
1514  *
1515  * This form can be used only if the request will cause
1516  * a reply to be generated. Any returned error will be
1517  * placed in the event queue.
1518  */
1519 xcb_xf86vidmode_get_gamma_ramp_cookie_t xcb_xf86vidmode_get_gamma_ramp_unchecked(xcb_connection_t* c /**< */ , ushort screen /**< */ ,
1520 	ushort size /**< */ );
1521 
1522 ushort* xcb_xf86vidmode_get_gamma_ramp_red(const xcb_xf86vidmode_get_gamma_ramp_reply_t* R /**< */ );
1523 
1524 int xcb_xf86vidmode_get_gamma_ramp_red_length(const xcb_xf86vidmode_get_gamma_ramp_reply_t* R /**< */ );
1525 
1526 xcb_generic_iterator_t xcb_xf86vidmode_get_gamma_ramp_red_end(const xcb_xf86vidmode_get_gamma_ramp_reply_t* R /**< */ );
1527 
1528 ushort* xcb_xf86vidmode_get_gamma_ramp_green(const xcb_xf86vidmode_get_gamma_ramp_reply_t* R /**< */ );
1529 
1530 int xcb_xf86vidmode_get_gamma_ramp_green_length(const xcb_xf86vidmode_get_gamma_ramp_reply_t* R /**< */ );
1531 
1532 xcb_generic_iterator_t xcb_xf86vidmode_get_gamma_ramp_green_end(const xcb_xf86vidmode_get_gamma_ramp_reply_t* R /**< */ );
1533 
1534 ushort* xcb_xf86vidmode_get_gamma_ramp_blue(const xcb_xf86vidmode_get_gamma_ramp_reply_t* R /**< */ );
1535 
1536 int xcb_xf86vidmode_get_gamma_ramp_blue_length(const xcb_xf86vidmode_get_gamma_ramp_reply_t* R /**< */ );
1537 
1538 xcb_generic_iterator_t xcb_xf86vidmode_get_gamma_ramp_blue_end(const xcb_xf86vidmode_get_gamma_ramp_reply_t* R /**< */ );
1539 
1540 /**
1541  * Return the reply
1542  * @param c      The connection
1543  * @param cookie The cookie
1544  * @param e      The xcb_generic_error_t supplied
1545  *
1546  * Returns the reply of the request asked by
1547  *
1548  * The parameter @p e supplied to this function must be NULL if
1549  * xcb_xf86vidmode_get_gamma_ramp_unchecked(). is used.
1550  * Otherwise, it stores the error if any.
1551  *
1552  * The returned value must be freed by the caller using free().
1553  */
1554 xcb_xf86vidmode_get_gamma_ramp_reply_t* xcb_xf86vidmode_get_gamma_ramp_reply(xcb_connection_t* c /**< */ ,
1555 	xcb_xf86vidmode_get_gamma_ramp_cookie_t cookie /**< */ , xcb_generic_error_t** e /**< */ );
1556 
1557 int xcb_xf86vidmode_set_gamma_ramp_sizeof(const void* _buffer /**< */ );
1558 
1559 /**
1560  *
1561  * @param c The connection
1562  * @return A cookie
1563  *
1564  * Delivers a request to the X server.
1565  *
1566  * This form can be used only if the request will not cause
1567  * a reply to be generated. Any returned error will be
1568  * saved for handling by xcb_request_check().
1569  */
1570 xcb_void_cookie_t xcb_xf86vidmode_set_gamma_ramp_checked(xcb_connection_t* c /**< */ , ushort screen /**< */ , ushort size /**< */ , const ushort* red /**< */ ,
1571 	const ushort* green /**< */ , const ushort* blue /**< */ );
1572 
1573 /**
1574  *
1575  * @param c The connection
1576  * @return A cookie
1577  *
1578  * Delivers a request to the X server.
1579  *
1580  */
1581 xcb_void_cookie_t xcb_xf86vidmode_set_gamma_ramp(xcb_connection_t* c /**< */ , ushort screen /**< */ , ushort size /**< */ , const ushort* red /**< */ ,
1582 	const ushort* green /**< */ , const ushort* blue /**< */ );
1583 
1584 /**
1585  *
1586  * @param c The connection
1587  * @return A cookie
1588  *
1589  * Delivers a request to the X server.
1590  *
1591  */
1592 xcb_xf86vidmode_get_gamma_ramp_size_cookie_t xcb_xf86vidmode_get_gamma_ramp_size(xcb_connection_t* c /**< */ , ushort screen /**< */ );
1593 
1594 /**
1595  *
1596  * @param c The connection
1597  * @return A cookie
1598  *
1599  * Delivers a request to the X server.
1600  *
1601  * This form can be used only if the request will cause
1602  * a reply to be generated. Any returned error will be
1603  * placed in the event queue.
1604  */
1605 xcb_xf86vidmode_get_gamma_ramp_size_cookie_t xcb_xf86vidmode_get_gamma_ramp_size_unchecked(xcb_connection_t* c /**< */ , ushort screen /**< */ );
1606 
1607 /**
1608  * Return the reply
1609  * @param c      The connection
1610  * @param cookie The cookie
1611  * @param e      The xcb_generic_error_t supplied
1612  *
1613  * Returns the reply of the request asked by
1614  *
1615  * The parameter @p e supplied to this function must be NULL if
1616  * xcb_xf86vidmode_get_gamma_ramp_size_unchecked(). is used.
1617  * Otherwise, it stores the error if any.
1618  *
1619  * The returned value must be freed by the caller using free().
1620  */
1621 xcb_xf86vidmode_get_gamma_ramp_size_reply_t* xcb_xf86vidmode_get_gamma_ramp_size_reply(xcb_connection_t* c /**< */ ,
1622 	xcb_xf86vidmode_get_gamma_ramp_size_cookie_t cookie /**< */ , xcb_generic_error_t** e /**< */ );
1623 
1624 /**
1625  *
1626  * @param c The connection
1627  * @return A cookie
1628  *
1629  * Delivers a request to the X server.
1630  *
1631  */
1632 xcb_xf86vidmode_get_permissions_cookie_t xcb_xf86vidmode_get_permissions(xcb_connection_t* c /**< */ , ushort screen /**< */ );
1633 
1634 /**
1635  *
1636  * @param c The connection
1637  * @return A cookie
1638  *
1639  * Delivers a request to the X server.
1640  *
1641  * This form can be used only if the request will cause
1642  * a reply to be generated. Any returned error will be
1643  * placed in the event queue.
1644  */
1645 xcb_xf86vidmode_get_permissions_cookie_t xcb_xf86vidmode_get_permissions_unchecked(xcb_connection_t* c /**< */ , ushort screen /**< */ );
1646 
1647 /**
1648  * Return the reply
1649  * @param c      The connection
1650  * @param cookie The cookie
1651  * @param e      The xcb_generic_error_t supplied
1652  *
1653  * Returns the reply of the request asked by
1654  *
1655  * The parameter @p e supplied to this function must be NULL if
1656  * xcb_xf86vidmode_get_permissions_unchecked(). is used.
1657  * Otherwise, it stores the error if any.
1658  *
1659  * The returned value must be freed by the caller using free().
1660  */
1661 xcb_xf86vidmode_get_permissions_reply_t* xcb_xf86vidmode_get_permissions_reply(xcb_connection_t* c /**< */ ,
1662 	xcb_xf86vidmode_get_permissions_cookie_t cookie /**< */ , xcb_generic_error_t** e /**< */ );
1663 
1664 /**
1665  * @}
1666  */