1 /*
2  * This file generated automatically from xselinux.xml by d_client.py.
3  * Edit at your peril.
4  */
5 
6 /**
7  * @defgroup XCB_SELinux_API XCB SELinux API
8  * @brief SELinux XCB Protocol Implementation.
9  * @{
10  **/
11 
12 module xcb.xselinux;
13 
14 import xcb.xcb;
15 import xcb.xproto;
16 
17 extern (C):
18 
19 enum int XCB_SELINUX_MAJOR_VERSION = 1;
20 enum int XCB_SELINUX_MINOR_VERSION = 0;
21 
22 extern (C) __gshared extern xcb_extension_t xcb_selinux_id;
23 
24 /**
25  * @brief xcb_selinux_query_version_cookie_t
26  **/
27 struct xcb_selinux_query_version_cookie_t {
28 	uint sequence; /**<  */
29 }
30 
31 /** Opcode for xcb_selinux_query_version. */
32 enum XCB_SELINUX_QUERY_VERSION = 0;
33 
34 /**
35  * @brief xcb_selinux_query_version_request_t
36  **/
37 struct xcb_selinux_query_version_request_t {
38 	ubyte major_opcode; /**<  */
39 	ubyte minor_opcode; /**<  */
40 	ushort length; /**<  */
41 	ubyte client_major; /**<  */
42 	ubyte client_minor; /**<  */
43 }
44 
45 /**
46  * @brief xcb_selinux_query_version_reply_t
47  **/
48 struct xcb_selinux_query_version_reply_t {
49 	ubyte response_type; /**<  */
50 	ubyte pad0; /**<  */
51 	ushort sequence; /**<  */
52 	uint length; /**<  */
53 	ushort server_major; /**<  */
54 	ushort server_minor; /**<  */
55 }
56 
57 /** Opcode for xcb_selinux_set_device_create_context. */
58 enum XCB_SELINUX_SET_DEVICE_CREATE_CONTEXT = 1;
59 
60 /**
61  * @brief xcb_selinux_set_device_create_context_request_t
62  **/
63 struct xcb_selinux_set_device_create_context_request_t {
64 	ubyte major_opcode; /**<  */
65 	ubyte minor_opcode; /**<  */
66 	ushort length; /**<  */
67 	uint context_len; /**<  */
68 }
69 
70 /**
71  * @brief xcb_selinux_get_device_create_context_cookie_t
72  **/
73 struct xcb_selinux_get_device_create_context_cookie_t {
74 	uint sequence; /**<  */
75 }
76 
77 /** Opcode for xcb_selinux_get_device_create_context. */
78 enum XCB_SELINUX_GET_DEVICE_CREATE_CONTEXT = 2;
79 
80 /**
81  * @brief xcb_selinux_get_device_create_context_request_t
82  **/
83 struct xcb_selinux_get_device_create_context_request_t {
84 	ubyte major_opcode; /**<  */
85 	ubyte minor_opcode; /**<  */
86 	ushort length; /**<  */
87 }
88 
89 /**
90  * @brief xcb_selinux_get_device_create_context_reply_t
91  **/
92 struct xcb_selinux_get_device_create_context_reply_t {
93 	ubyte response_type; /**<  */
94 	ubyte pad0; /**<  */
95 	ushort sequence; /**<  */
96 	uint length; /**<  */
97 	uint context_len; /**<  */
98 	ubyte[20] pad1; /**<  */
99 }
100 
101 /** Opcode for xcb_selinux_set_device_context. */
102 enum XCB_SELINUX_SET_DEVICE_CONTEXT = 3;
103 
104 /**
105  * @brief xcb_selinux_set_device_context_request_t
106  **/
107 struct xcb_selinux_set_device_context_request_t {
108 	ubyte major_opcode; /**<  */
109 	ubyte minor_opcode; /**<  */
110 	ushort length; /**<  */
111 	uint device; /**<  */
112 	uint context_len; /**<  */
113 }
114 
115 /**
116  * @brief xcb_selinux_get_device_context_cookie_t
117  **/
118 struct xcb_selinux_get_device_context_cookie_t {
119 	uint sequence; /**<  */
120 }
121 
122 /** Opcode for xcb_selinux_get_device_context. */
123 enum XCB_SELINUX_GET_DEVICE_CONTEXT = 4;
124 
125 /**
126  * @brief xcb_selinux_get_device_context_request_t
127  **/
128 struct xcb_selinux_get_device_context_request_t {
129 	ubyte major_opcode; /**<  */
130 	ubyte minor_opcode; /**<  */
131 	ushort length; /**<  */
132 	uint device; /**<  */
133 }
134 
135 /**
136  * @brief xcb_selinux_get_device_context_reply_t
137  **/
138 struct xcb_selinux_get_device_context_reply_t {
139 	ubyte response_type; /**<  */
140 	ubyte pad0; /**<  */
141 	ushort sequence; /**<  */
142 	uint length; /**<  */
143 	uint context_len; /**<  */
144 	ubyte[20] pad1; /**<  */
145 }
146 
147 /** Opcode for xcb_selinux_set_window_create_context. */
148 enum XCB_SELINUX_SET_WINDOW_CREATE_CONTEXT = 5;
149 
150 /**
151  * @brief xcb_selinux_set_window_create_context_request_t
152  **/
153 struct xcb_selinux_set_window_create_context_request_t {
154 	ubyte major_opcode; /**<  */
155 	ubyte minor_opcode; /**<  */
156 	ushort length; /**<  */
157 	uint context_len; /**<  */
158 }
159 
160 /**
161  * @brief xcb_selinux_get_window_create_context_cookie_t
162  **/
163 struct xcb_selinux_get_window_create_context_cookie_t {
164 	uint sequence; /**<  */
165 }
166 
167 /** Opcode for xcb_selinux_get_window_create_context. */
168 enum XCB_SELINUX_GET_WINDOW_CREATE_CONTEXT = 6;
169 
170 /**
171  * @brief xcb_selinux_get_window_create_context_request_t
172  **/
173 struct xcb_selinux_get_window_create_context_request_t {
174 	ubyte major_opcode; /**<  */
175 	ubyte minor_opcode; /**<  */
176 	ushort length; /**<  */
177 }
178 
179 /**
180  * @brief xcb_selinux_get_window_create_context_reply_t
181  **/
182 struct xcb_selinux_get_window_create_context_reply_t {
183 	ubyte response_type; /**<  */
184 	ubyte pad0; /**<  */
185 	ushort sequence; /**<  */
186 	uint length; /**<  */
187 	uint context_len; /**<  */
188 	ubyte[20] pad1; /**<  */
189 }
190 
191 /**
192  * @brief xcb_selinux_get_window_context_cookie_t
193  **/
194 struct xcb_selinux_get_window_context_cookie_t {
195 	uint sequence; /**<  */
196 }
197 
198 /** Opcode for xcb_selinux_get_window_context. */
199 enum XCB_SELINUX_GET_WINDOW_CONTEXT = 7;
200 
201 /**
202  * @brief xcb_selinux_get_window_context_request_t
203  **/
204 struct xcb_selinux_get_window_context_request_t {
205 	ubyte major_opcode; /**<  */
206 	ubyte minor_opcode; /**<  */
207 	ushort length; /**<  */
208 	xcb_window_t window; /**<  */
209 }
210 
211 /**
212  * @brief xcb_selinux_get_window_context_reply_t
213  **/
214 struct xcb_selinux_get_window_context_reply_t {
215 	ubyte response_type; /**<  */
216 	ubyte pad0; /**<  */
217 	ushort sequence; /**<  */
218 	uint length; /**<  */
219 	uint context_len; /**<  */
220 	ubyte[20] pad1; /**<  */
221 }
222 
223 /**
224  * @brief xcb_selinux_list_item_t
225  **/
226 struct xcb_selinux_list_item_t {
227 	xcb_atom_t name; /**<  */
228 	uint object_context_len; /**<  */
229 	uint data_context_len; /**<  */
230 }
231 
232 /**
233  * @brief xcb_selinux_list_item_iterator_t
234  **/
235 struct xcb_selinux_list_item_iterator_t {
236 	xcb_selinux_list_item_t* data; /**<  */
237 	int rem; /**<  */
238 	int index; /**<  */
239 }
240 
241 /** Opcode for xcb_selinux_set_property_create_context. */
242 enum XCB_SELINUX_SET_PROPERTY_CREATE_CONTEXT = 8;
243 
244 /**
245  * @brief xcb_selinux_set_property_create_context_request_t
246  **/
247 struct xcb_selinux_set_property_create_context_request_t {
248 	ubyte major_opcode; /**<  */
249 	ubyte minor_opcode; /**<  */
250 	ushort length; /**<  */
251 	uint context_len; /**<  */
252 }
253 
254 /**
255  * @brief xcb_selinux_get_property_create_context_cookie_t
256  **/
257 struct xcb_selinux_get_property_create_context_cookie_t {
258 	uint sequence; /**<  */
259 }
260 
261 /** Opcode for xcb_selinux_get_property_create_context. */
262 enum XCB_SELINUX_GET_PROPERTY_CREATE_CONTEXT = 9;
263 
264 /**
265  * @brief xcb_selinux_get_property_create_context_request_t
266  **/
267 struct xcb_selinux_get_property_create_context_request_t {
268 	ubyte major_opcode; /**<  */
269 	ubyte minor_opcode; /**<  */
270 	ushort length; /**<  */
271 }
272 
273 /**
274  * @brief xcb_selinux_get_property_create_context_reply_t
275  **/
276 struct xcb_selinux_get_property_create_context_reply_t {
277 	ubyte response_type; /**<  */
278 	ubyte pad0; /**<  */
279 	ushort sequence; /**<  */
280 	uint length; /**<  */
281 	uint context_len; /**<  */
282 	ubyte[20] pad1; /**<  */
283 }
284 
285 /** Opcode for xcb_selinux_set_property_use_context. */
286 enum XCB_SELINUX_SET_PROPERTY_USE_CONTEXT = 10;
287 
288 /**
289  * @brief xcb_selinux_set_property_use_context_request_t
290  **/
291 struct xcb_selinux_set_property_use_context_request_t {
292 	ubyte major_opcode; /**<  */
293 	ubyte minor_opcode; /**<  */
294 	ushort length; /**<  */
295 	uint context_len; /**<  */
296 }
297 
298 /**
299  * @brief xcb_selinux_get_property_use_context_cookie_t
300  **/
301 struct xcb_selinux_get_property_use_context_cookie_t {
302 	uint sequence; /**<  */
303 }
304 
305 /** Opcode for xcb_selinux_get_property_use_context. */
306 enum XCB_SELINUX_GET_PROPERTY_USE_CONTEXT = 11;
307 
308 /**
309  * @brief xcb_selinux_get_property_use_context_request_t
310  **/
311 struct xcb_selinux_get_property_use_context_request_t {
312 	ubyte major_opcode; /**<  */
313 	ubyte minor_opcode; /**<  */
314 	ushort length; /**<  */
315 }
316 
317 /**
318  * @brief xcb_selinux_get_property_use_context_reply_t
319  **/
320 struct xcb_selinux_get_property_use_context_reply_t {
321 	ubyte response_type; /**<  */
322 	ubyte pad0; /**<  */
323 	ushort sequence; /**<  */
324 	uint length; /**<  */
325 	uint context_len; /**<  */
326 	ubyte[20] pad1; /**<  */
327 }
328 
329 /**
330  * @brief xcb_selinux_get_property_context_cookie_t
331  **/
332 struct xcb_selinux_get_property_context_cookie_t {
333 	uint sequence; /**<  */
334 }
335 
336 /** Opcode for xcb_selinux_get_property_context. */
337 enum XCB_SELINUX_GET_PROPERTY_CONTEXT = 12;
338 
339 /**
340  * @brief xcb_selinux_get_property_context_request_t
341  **/
342 struct xcb_selinux_get_property_context_request_t {
343 	ubyte major_opcode; /**<  */
344 	ubyte minor_opcode; /**<  */
345 	ushort length; /**<  */
346 	xcb_window_t window; /**<  */
347 	xcb_atom_t property; /**<  */
348 }
349 
350 /**
351  * @brief xcb_selinux_get_property_context_reply_t
352  **/
353 struct xcb_selinux_get_property_context_reply_t {
354 	ubyte response_type; /**<  */
355 	ubyte pad0; /**<  */
356 	ushort sequence; /**<  */
357 	uint length; /**<  */
358 	uint context_len; /**<  */
359 	ubyte[20] pad1; /**<  */
360 }
361 
362 /**
363  * @brief xcb_selinux_get_property_data_context_cookie_t
364  **/
365 struct xcb_selinux_get_property_data_context_cookie_t {
366 	uint sequence; /**<  */
367 }
368 
369 /** Opcode for xcb_selinux_get_property_data_context. */
370 enum XCB_SELINUX_GET_PROPERTY_DATA_CONTEXT = 13;
371 
372 /**
373  * @brief xcb_selinux_get_property_data_context_request_t
374  **/
375 struct xcb_selinux_get_property_data_context_request_t {
376 	ubyte major_opcode; /**<  */
377 	ubyte minor_opcode; /**<  */
378 	ushort length; /**<  */
379 	xcb_window_t window; /**<  */
380 	xcb_atom_t property; /**<  */
381 }
382 
383 /**
384  * @brief xcb_selinux_get_property_data_context_reply_t
385  **/
386 struct xcb_selinux_get_property_data_context_reply_t {
387 	ubyte response_type; /**<  */
388 	ubyte pad0; /**<  */
389 	ushort sequence; /**<  */
390 	uint length; /**<  */
391 	uint context_len; /**<  */
392 	ubyte[20] pad1; /**<  */
393 }
394 
395 /**
396  * @brief xcb_selinux_list_properties_cookie_t
397  **/
398 struct xcb_selinux_list_properties_cookie_t {
399 	uint sequence; /**<  */
400 }
401 
402 /** Opcode for xcb_selinux_list_properties. */
403 enum XCB_SELINUX_LIST_PROPERTIES = 14;
404 
405 /**
406  * @brief xcb_selinux_list_properties_request_t
407  **/
408 struct xcb_selinux_list_properties_request_t {
409 	ubyte major_opcode; /**<  */
410 	ubyte minor_opcode; /**<  */
411 	ushort length; /**<  */
412 	xcb_window_t window; /**<  */
413 }
414 
415 /**
416  * @brief xcb_selinux_list_properties_reply_t
417  **/
418 struct xcb_selinux_list_properties_reply_t {
419 	ubyte response_type; /**<  */
420 	ubyte pad0; /**<  */
421 	ushort sequence; /**<  */
422 	uint length; /**<  */
423 	uint properties_len; /**<  */
424 	ubyte[20] pad1; /**<  */
425 }
426 
427 /** Opcode for xcb_selinux_set_selection_create_context. */
428 enum XCB_SELINUX_SET_SELECTION_CREATE_CONTEXT = 15;
429 
430 /**
431  * @brief xcb_selinux_set_selection_create_context_request_t
432  **/
433 struct xcb_selinux_set_selection_create_context_request_t {
434 	ubyte major_opcode; /**<  */
435 	ubyte minor_opcode; /**<  */
436 	ushort length; /**<  */
437 	uint context_len; /**<  */
438 }
439 
440 /**
441  * @brief xcb_selinux_get_selection_create_context_cookie_t
442  **/
443 struct xcb_selinux_get_selection_create_context_cookie_t {
444 	uint sequence; /**<  */
445 }
446 
447 /** Opcode for xcb_selinux_get_selection_create_context. */
448 enum XCB_SELINUX_GET_SELECTION_CREATE_CONTEXT = 16;
449 
450 /**
451  * @brief xcb_selinux_get_selection_create_context_request_t
452  **/
453 struct xcb_selinux_get_selection_create_context_request_t {
454 	ubyte major_opcode; /**<  */
455 	ubyte minor_opcode; /**<  */
456 	ushort length; /**<  */
457 }
458 
459 /**
460  * @brief xcb_selinux_get_selection_create_context_reply_t
461  **/
462 struct xcb_selinux_get_selection_create_context_reply_t {
463 	ubyte response_type; /**<  */
464 	ubyte pad0; /**<  */
465 	ushort sequence; /**<  */
466 	uint length; /**<  */
467 	uint context_len; /**<  */
468 	ubyte[20] pad1; /**<  */
469 }
470 
471 /** Opcode for xcb_selinux_set_selection_use_context. */
472 enum XCB_SELINUX_SET_SELECTION_USE_CONTEXT = 17;
473 
474 /**
475  * @brief xcb_selinux_set_selection_use_context_request_t
476  **/
477 struct xcb_selinux_set_selection_use_context_request_t {
478 	ubyte major_opcode; /**<  */
479 	ubyte minor_opcode; /**<  */
480 	ushort length; /**<  */
481 	uint context_len; /**<  */
482 }
483 
484 /**
485  * @brief xcb_selinux_get_selection_use_context_cookie_t
486  **/
487 struct xcb_selinux_get_selection_use_context_cookie_t {
488 	uint sequence; /**<  */
489 }
490 
491 /** Opcode for xcb_selinux_get_selection_use_context. */
492 enum XCB_SELINUX_GET_SELECTION_USE_CONTEXT = 18;
493 
494 /**
495  * @brief xcb_selinux_get_selection_use_context_request_t
496  **/
497 struct xcb_selinux_get_selection_use_context_request_t {
498 	ubyte major_opcode; /**<  */
499 	ubyte minor_opcode; /**<  */
500 	ushort length; /**<  */
501 }
502 
503 /**
504  * @brief xcb_selinux_get_selection_use_context_reply_t
505  **/
506 struct xcb_selinux_get_selection_use_context_reply_t {
507 	ubyte response_type; /**<  */
508 	ubyte pad0; /**<  */
509 	ushort sequence; /**<  */
510 	uint length; /**<  */
511 	uint context_len; /**<  */
512 	ubyte[20] pad1; /**<  */
513 }
514 
515 /**
516  * @brief xcb_selinux_get_selection_context_cookie_t
517  **/
518 struct xcb_selinux_get_selection_context_cookie_t {
519 	uint sequence; /**<  */
520 }
521 
522 /** Opcode for xcb_selinux_get_selection_context. */
523 enum XCB_SELINUX_GET_SELECTION_CONTEXT = 19;
524 
525 /**
526  * @brief xcb_selinux_get_selection_context_request_t
527  **/
528 struct xcb_selinux_get_selection_context_request_t {
529 	ubyte major_opcode; /**<  */
530 	ubyte minor_opcode; /**<  */
531 	ushort length; /**<  */
532 	xcb_atom_t selection; /**<  */
533 }
534 
535 /**
536  * @brief xcb_selinux_get_selection_context_reply_t
537  **/
538 struct xcb_selinux_get_selection_context_reply_t {
539 	ubyte response_type; /**<  */
540 	ubyte pad0; /**<  */
541 	ushort sequence; /**<  */
542 	uint length; /**<  */
543 	uint context_len; /**<  */
544 	ubyte[20] pad1; /**<  */
545 }
546 
547 /**
548  * @brief xcb_selinux_get_selection_data_context_cookie_t
549  **/
550 struct xcb_selinux_get_selection_data_context_cookie_t {
551 	uint sequence; /**<  */
552 }
553 
554 /** Opcode for xcb_selinux_get_selection_data_context. */
555 enum XCB_SELINUX_GET_SELECTION_DATA_CONTEXT = 20;
556 
557 /**
558  * @brief xcb_selinux_get_selection_data_context_request_t
559  **/
560 struct xcb_selinux_get_selection_data_context_request_t {
561 	ubyte major_opcode; /**<  */
562 	ubyte minor_opcode; /**<  */
563 	ushort length; /**<  */
564 	xcb_atom_t selection; /**<  */
565 }
566 
567 /**
568  * @brief xcb_selinux_get_selection_data_context_reply_t
569  **/
570 struct xcb_selinux_get_selection_data_context_reply_t {
571 	ubyte response_type; /**<  */
572 	ubyte pad0; /**<  */
573 	ushort sequence; /**<  */
574 	uint length; /**<  */
575 	uint context_len; /**<  */
576 	ubyte[20] pad1; /**<  */
577 }
578 
579 /**
580  * @brief xcb_selinux_list_selections_cookie_t
581  **/
582 struct xcb_selinux_list_selections_cookie_t {
583 	uint sequence; /**<  */
584 }
585 
586 /** Opcode for xcb_selinux_list_selections. */
587 enum XCB_SELINUX_LIST_SELECTIONS = 21;
588 
589 /**
590  * @brief xcb_selinux_list_selections_request_t
591  **/
592 struct xcb_selinux_list_selections_request_t {
593 	ubyte major_opcode; /**<  */
594 	ubyte minor_opcode; /**<  */
595 	ushort length; /**<  */
596 }
597 
598 /**
599  * @brief xcb_selinux_list_selections_reply_t
600  **/
601 struct xcb_selinux_list_selections_reply_t {
602 	ubyte response_type; /**<  */
603 	ubyte pad0; /**<  */
604 	ushort sequence; /**<  */
605 	uint length; /**<  */
606 	uint selections_len; /**<  */
607 	ubyte[20] pad1; /**<  */
608 }
609 
610 /**
611  * @brief xcb_selinux_get_client_context_cookie_t
612  **/
613 struct xcb_selinux_get_client_context_cookie_t {
614 	uint sequence; /**<  */
615 }
616 
617 /** Opcode for xcb_selinux_get_client_context. */
618 enum XCB_SELINUX_GET_CLIENT_CONTEXT = 22;
619 
620 /**
621  * @brief xcb_selinux_get_client_context_request_t
622  **/
623 struct xcb_selinux_get_client_context_request_t {
624 	ubyte major_opcode; /**<  */
625 	ubyte minor_opcode; /**<  */
626 	ushort length; /**<  */
627 	uint resource; /**<  */
628 }
629 
630 /**
631  * @brief xcb_selinux_get_client_context_reply_t
632  **/
633 struct xcb_selinux_get_client_context_reply_t {
634 	ubyte response_type; /**<  */
635 	ubyte pad0; /**<  */
636 	ushort sequence; /**<  */
637 	uint length; /**<  */
638 	uint context_len; /**<  */
639 	ubyte[20] pad1; /**<  */
640 }
641 
642 /**
643  *
644  * @param c The connection
645  * @return A cookie
646  *
647  * Delivers a request to the X server.
648  *
649  */
650 xcb_selinux_query_version_cookie_t xcb_selinux_query_version(xcb_connection_t* c /**< */ , ubyte client_major /**< */ , ubyte client_minor /**< */ );
651 
652 /**
653  *
654  * @param c The connection
655  * @return A cookie
656  *
657  * Delivers a request to the X server.
658  *
659  * This form can be used only if the request will cause
660  * a reply to be generated. Any returned error will be
661  * placed in the event queue.
662  */
663 xcb_selinux_query_version_cookie_t xcb_selinux_query_version_unchecked(xcb_connection_t* c /**< */ , ubyte client_major /**< */ ,
664 	ubyte client_minor /**< */ );
665 
666 /**
667  * Return the reply
668  * @param c      The connection
669  * @param cookie The cookie
670  * @param e      The xcb_generic_error_t supplied
671  *
672  * Returns the reply of the request asked by
673  *
674  * The parameter @p e supplied to this function must be NULL if
675  * xcb_selinux_query_version_unchecked(). is used.
676  * Otherwise, it stores the error if any.
677  *
678  * The returned value must be freed by the caller using free().
679  */
680 xcb_selinux_query_version_reply_t* xcb_selinux_query_version_reply(xcb_connection_t* c /**< */ ,
681 	xcb_selinux_query_version_cookie_t cookie /**< */ , xcb_generic_error_t** e /**< */ );
682 
683 int xcb_selinux_set_device_create_context_sizeof(const void* _buffer /**< */ );
684 
685 /**
686  *
687  * @param c The connection
688  * @return A cookie
689  *
690  * Delivers a request to the X server.
691  *
692  * This form can be used only if the request will not cause
693  * a reply to be generated. Any returned error will be
694  * saved for handling by xcb_request_check().
695  */
696 xcb_void_cookie_t xcb_selinux_set_device_create_context_checked(xcb_connection_t* c /**< */ , uint context_len /**< */ , const char* context /**< */ );
697 
698 /**
699  *
700  * @param c The connection
701  * @return A cookie
702  *
703  * Delivers a request to the X server.
704  *
705  */
706 xcb_void_cookie_t xcb_selinux_set_device_create_context(xcb_connection_t* c /**< */ , uint context_len /**< */ , const char* context /**< */ );
707 
708 int xcb_selinux_get_device_create_context_sizeof(const void* _buffer /**< */ );
709 
710 /**
711  *
712  * @param c The connection
713  * @return A cookie
714  *
715  * Delivers a request to the X server.
716  *
717  */
718 xcb_selinux_get_device_create_context_cookie_t xcb_selinux_get_device_create_context(xcb_connection_t* c /**< */ );
719 
720 /**
721  *
722  * @param c The connection
723  * @return A cookie
724  *
725  * Delivers a request to the X server.
726  *
727  * This form can be used only if the request will cause
728  * a reply to be generated. Any returned error will be
729  * placed in the event queue.
730  */
731 xcb_selinux_get_device_create_context_cookie_t xcb_selinux_get_device_create_context_unchecked(xcb_connection_t* c /**< */ );
732 
733 char* xcb_selinux_get_device_create_context_context(const xcb_selinux_get_device_create_context_reply_t* R /**< */ );
734 
735 int xcb_selinux_get_device_create_context_context_length(const xcb_selinux_get_device_create_context_reply_t* R /**< */ );
736 
737 xcb_generic_iterator_t xcb_selinux_get_device_create_context_context_end(const xcb_selinux_get_device_create_context_reply_t* R /**< */ );
738 
739 /**
740  * Return the reply
741  * @param c      The connection
742  * @param cookie The cookie
743  * @param e      The xcb_generic_error_t supplied
744  *
745  * Returns the reply of the request asked by
746  *
747  * The parameter @p e supplied to this function must be NULL if
748  * xcb_selinux_get_device_create_context_unchecked(). is used.
749  * Otherwise, it stores the error if any.
750  *
751  * The returned value must be freed by the caller using free().
752  */
753 xcb_selinux_get_device_create_context_reply_t* xcb_selinux_get_device_create_context_reply(xcb_connection_t* c /**< */ ,
754 	xcb_selinux_get_device_create_context_cookie_t cookie /**< */ , xcb_generic_error_t** e /**< */ );
755 
756 int xcb_selinux_set_device_context_sizeof(const void* _buffer /**< */ );
757 
758 /**
759  *
760  * @param c The connection
761  * @return A cookie
762  *
763  * Delivers a request to the X server.
764  *
765  * This form can be used only if the request will not cause
766  * a reply to be generated. Any returned error will be
767  * saved for handling by xcb_request_check().
768  */
769 xcb_void_cookie_t xcb_selinux_set_device_context_checked(xcb_connection_t* c /**< */ , uint device /**< */ ,
770 	uint context_len /**< */ , const char* context /**< */ );
771 
772 /**
773  *
774  * @param c The connection
775  * @return A cookie
776  *
777  * Delivers a request to the X server.
778  *
779  */
780 xcb_void_cookie_t xcb_selinux_set_device_context(xcb_connection_t* c /**< */ , uint device /**< */ , uint context_len /**< */ ,
781 	const char* context /**< */ );
782 
783 int xcb_selinux_get_device_context_sizeof(const void* _buffer /**< */ );
784 
785 /**
786  *
787  * @param c The connection
788  * @return A cookie
789  *
790  * Delivers a request to the X server.
791  *
792  */
793 xcb_selinux_get_device_context_cookie_t xcb_selinux_get_device_context(xcb_connection_t* c /**< */ , uint device /**< */ );
794 
795 /**
796  *
797  * @param c The connection
798  * @return A cookie
799  *
800  * Delivers a request to the X server.
801  *
802  * This form can be used only if the request will cause
803  * a reply to be generated. Any returned error will be
804  * placed in the event queue.
805  */
806 xcb_selinux_get_device_context_cookie_t xcb_selinux_get_device_context_unchecked(xcb_connection_t* c /**< */ , uint device /**< */ );
807 
808 char* xcb_selinux_get_device_context_context(const xcb_selinux_get_device_context_reply_t* R /**< */ );
809 
810 int xcb_selinux_get_device_context_context_length(const xcb_selinux_get_device_context_reply_t* R /**< */ );
811 
812 xcb_generic_iterator_t xcb_selinux_get_device_context_context_end(const xcb_selinux_get_device_context_reply_t* R /**< */ );
813 
814 /**
815  * Return the reply
816  * @param c      The connection
817  * @param cookie The cookie
818  * @param e      The xcb_generic_error_t supplied
819  *
820  * Returns the reply of the request asked by
821  *
822  * The parameter @p e supplied to this function must be NULL if
823  * xcb_selinux_get_device_context_unchecked(). is used.
824  * Otherwise, it stores the error if any.
825  *
826  * The returned value must be freed by the caller using free().
827  */
828 xcb_selinux_get_device_context_reply_t* xcb_selinux_get_device_context_reply(xcb_connection_t* c /**< */ ,
829 	xcb_selinux_get_device_context_cookie_t cookie /**< */ , xcb_generic_error_t** e /**< */ );
830 
831 int xcb_selinux_set_window_create_context_sizeof(const void* _buffer /**< */ );
832 
833 /**
834  *
835  * @param c The connection
836  * @return A cookie
837  *
838  * Delivers a request to the X server.
839  *
840  * This form can be used only if the request will not cause
841  * a reply to be generated. Any returned error will be
842  * saved for handling by xcb_request_check().
843  */
844 xcb_void_cookie_t xcb_selinux_set_window_create_context_checked(xcb_connection_t* c /**< */ , uint context_len /**< */ , const char* context /**< */ );
845 
846 /**
847  *
848  * @param c The connection
849  * @return A cookie
850  *
851  * Delivers a request to the X server.
852  *
853  */
854 xcb_void_cookie_t xcb_selinux_set_window_create_context(xcb_connection_t* c /**< */ , uint context_len /**< */ , const char* context /**< */ );
855 
856 int xcb_selinux_get_window_create_context_sizeof(const void* _buffer /**< */ );
857 
858 /**
859  *
860  * @param c The connection
861  * @return A cookie
862  *
863  * Delivers a request to the X server.
864  *
865  */
866 xcb_selinux_get_window_create_context_cookie_t xcb_selinux_get_window_create_context(xcb_connection_t* c /**< */ );
867 
868 /**
869  *
870  * @param c The connection
871  * @return A cookie
872  *
873  * Delivers a request to the X server.
874  *
875  * This form can be used only if the request will cause
876  * a reply to be generated. Any returned error will be
877  * placed in the event queue.
878  */
879 xcb_selinux_get_window_create_context_cookie_t xcb_selinux_get_window_create_context_unchecked(xcb_connection_t* c /**< */ );
880 
881 char* xcb_selinux_get_window_create_context_context(const xcb_selinux_get_window_create_context_reply_t* R /**< */ );
882 
883 int xcb_selinux_get_window_create_context_context_length(const xcb_selinux_get_window_create_context_reply_t* R /**< */ );
884 
885 xcb_generic_iterator_t xcb_selinux_get_window_create_context_context_end(const xcb_selinux_get_window_create_context_reply_t* R /**< */ );
886 
887 /**
888  * Return the reply
889  * @param c      The connection
890  * @param cookie The cookie
891  * @param e      The xcb_generic_error_t supplied
892  *
893  * Returns the reply of the request asked by
894  *
895  * The parameter @p e supplied to this function must be NULL if
896  * xcb_selinux_get_window_create_context_unchecked(). is used.
897  * Otherwise, it stores the error if any.
898  *
899  * The returned value must be freed by the caller using free().
900  */
901 xcb_selinux_get_window_create_context_reply_t* xcb_selinux_get_window_create_context_reply(xcb_connection_t* c /**< */ ,
902 	xcb_selinux_get_window_create_context_cookie_t cookie /**< */ , xcb_generic_error_t** e /**< */ );
903 
904 int xcb_selinux_get_window_context_sizeof(const void* _buffer /**< */ );
905 
906 /**
907  *
908  * @param c The connection
909  * @return A cookie
910  *
911  * Delivers a request to the X server.
912  *
913  */
914 xcb_selinux_get_window_context_cookie_t xcb_selinux_get_window_context(xcb_connection_t* c /**< */ , xcb_window_t window /**< */ );
915 
916 /**
917  *
918  * @param c The connection
919  * @return A cookie
920  *
921  * Delivers a request to the X server.
922  *
923  * This form can be used only if the request will cause
924  * a reply to be generated. Any returned error will be
925  * placed in the event queue.
926  */
927 xcb_selinux_get_window_context_cookie_t xcb_selinux_get_window_context_unchecked(xcb_connection_t* c /**< */ , xcb_window_t window /**< */ );
928 
929 char* xcb_selinux_get_window_context_context(const xcb_selinux_get_window_context_reply_t* R /**< */ );
930 
931 int xcb_selinux_get_window_context_context_length(const xcb_selinux_get_window_context_reply_t* R /**< */ );
932 
933 xcb_generic_iterator_t xcb_selinux_get_window_context_context_end(const xcb_selinux_get_window_context_reply_t* R /**< */ );
934 
935 /**
936  * Return the reply
937  * @param c      The connection
938  * @param cookie The cookie
939  * @param e      The xcb_generic_error_t supplied
940  *
941  * Returns the reply of the request asked by
942  *
943  * The parameter @p e supplied to this function must be NULL if
944  * xcb_selinux_get_window_context_unchecked(). is used.
945  * Otherwise, it stores the error if any.
946  *
947  * The returned value must be freed by the caller using free().
948  */
949 xcb_selinux_get_window_context_reply_t* xcb_selinux_get_window_context_reply(xcb_connection_t* c /**< */ ,
950 	xcb_selinux_get_window_context_cookie_t cookie /**< */ , xcb_generic_error_t** e /**< */ );
951 
952 int xcb_selinux_list_item_sizeof(const void* _buffer /**< */ );
953 
954 char* xcb_selinux_list_item_object_context(const xcb_selinux_list_item_t* R /**< */ );
955 
956 int xcb_selinux_list_item_object_context_length(const xcb_selinux_list_item_t* R /**< */ );
957 
958 xcb_generic_iterator_t xcb_selinux_list_item_object_context_end(const xcb_selinux_list_item_t* R /**< */ );
959 
960 char* xcb_selinux_list_item_data_context(const xcb_selinux_list_item_t* R /**< */ );
961 
962 int xcb_selinux_list_item_data_context_length(const xcb_selinux_list_item_t* R /**< */ );
963 
964 xcb_generic_iterator_t xcb_selinux_list_item_data_context_end(const xcb_selinux_list_item_t* R /**< */ );
965 
966 /**
967  * Get the next element of the iterator
968  * @param i Pointer to a xcb_selinux_list_item_iterator_t
969  *
970  * Get the next element in the iterator. The member rem is
971  * decreased by one. The member data points to the next
972  * element. The member index is increased by sizeof(xcb_selinux_list_item_t)
973  */
974 void xcb_selinux_list_item_next(xcb_selinux_list_item_iterator_t* i /**< */ );
975 
976 /**
977  * Return the iterator pointing to the last element
978  * @param i An xcb_selinux_list_item_iterator_t
979  * @return  The iterator pointing to the last element
980  *
981  * Set the current element in the iterator to the last element.
982  * The member rem is set to 0. The member data points to the
983  * last element.
984  */
985 xcb_generic_iterator_t xcb_selinux_list_item_end(xcb_selinux_list_item_iterator_t i /**< */ );
986 
987 int xcb_selinux_set_property_create_context_sizeof(const void* _buffer /**< */ );
988 
989 /**
990  *
991  * @param c The connection
992  * @return A cookie
993  *
994  * Delivers a request to the X server.
995  *
996  * This form can be used only if the request will not cause
997  * a reply to be generated. Any returned error will be
998  * saved for handling by xcb_request_check().
999  */
1000 xcb_void_cookie_t xcb_selinux_set_property_create_context_checked(xcb_connection_t* c /**< */ , uint context_len /**< */ ,
1001 	const char* context /**< */ );
1002 
1003 /**
1004  *
1005  * @param c The connection
1006  * @return A cookie
1007  *
1008  * Delivers a request to the X server.
1009  *
1010  */
1011 xcb_void_cookie_t xcb_selinux_set_property_create_context(xcb_connection_t* c /**< */ , uint context_len /**< */ , const char* context /**< */ );
1012 
1013 int xcb_selinux_get_property_create_context_sizeof(const void* _buffer /**< */ );
1014 
1015 /**
1016  *
1017  * @param c The connection
1018  * @return A cookie
1019  *
1020  * Delivers a request to the X server.
1021  *
1022  */
1023 xcb_selinux_get_property_create_context_cookie_t xcb_selinux_get_property_create_context(xcb_connection_t* c /**< */ );
1024 
1025 /**
1026  *
1027  * @param c The connection
1028  * @return A cookie
1029  *
1030  * Delivers a request to the X server.
1031  *
1032  * This form can be used only if the request will cause
1033  * a reply to be generated. Any returned error will be
1034  * placed in the event queue.
1035  */
1036 xcb_selinux_get_property_create_context_cookie_t xcb_selinux_get_property_create_context_unchecked(xcb_connection_t* c /**< */ );
1037 
1038 char* xcb_selinux_get_property_create_context_context(const xcb_selinux_get_property_create_context_reply_t* R /**< */ );
1039 
1040 int xcb_selinux_get_property_create_context_context_length(const xcb_selinux_get_property_create_context_reply_t* R /**< */ );
1041 
1042 xcb_generic_iterator_t xcb_selinux_get_property_create_context_context_end(const xcb_selinux_get_property_create_context_reply_t* R /**< */ );
1043 
1044 /**
1045  * Return the reply
1046  * @param c      The connection
1047  * @param cookie The cookie
1048  * @param e      The xcb_generic_error_t supplied
1049  *
1050  * Returns the reply of the request asked by
1051  *
1052  * The parameter @p e supplied to this function must be NULL if
1053  * xcb_selinux_get_property_create_context_unchecked(). is used.
1054  * Otherwise, it stores the error if any.
1055  *
1056  * The returned value must be freed by the caller using free().
1057  */
1058 xcb_selinux_get_property_create_context_reply_t* xcb_selinux_get_property_create_context_reply(xcb_connection_t* c /**< */ ,
1059 	xcb_selinux_get_property_create_context_cookie_t cookie /**< */ , xcb_generic_error_t** e /**< */ );
1060 
1061 int xcb_selinux_set_property_use_context_sizeof(const void* _buffer /**< */ );
1062 
1063 /**
1064  *
1065  * @param c The connection
1066  * @return A cookie
1067  *
1068  * Delivers a request to the X server.
1069  *
1070  * This form can be used only if the request will not cause
1071  * a reply to be generated. Any returned error will be
1072  * saved for handling by xcb_request_check().
1073  */
1074 xcb_void_cookie_t xcb_selinux_set_property_use_context_checked(xcb_connection_t* c /**< */ , uint context_len /**< */ , const char* context /**< */ );
1075 
1076 /**
1077  *
1078  * @param c The connection
1079  * @return A cookie
1080  *
1081  * Delivers a request to the X server.
1082  *
1083  */
1084 xcb_void_cookie_t xcb_selinux_set_property_use_context(xcb_connection_t* c /**< */ , uint context_len /**< */ , const char* context /**< */ );
1085 
1086 int xcb_selinux_get_property_use_context_sizeof(const void* _buffer /**< */ );
1087 
1088 /**
1089  *
1090  * @param c The connection
1091  * @return A cookie
1092  *
1093  * Delivers a request to the X server.
1094  *
1095  */
1096 xcb_selinux_get_property_use_context_cookie_t xcb_selinux_get_property_use_context(xcb_connection_t* c /**< */ );
1097 
1098 /**
1099  *
1100  * @param c The connection
1101  * @return A cookie
1102  *
1103  * Delivers a request to the X server.
1104  *
1105  * This form can be used only if the request will cause
1106  * a reply to be generated. Any returned error will be
1107  * placed in the event queue.
1108  */
1109 xcb_selinux_get_property_use_context_cookie_t xcb_selinux_get_property_use_context_unchecked(xcb_connection_t* c /**< */ );
1110 
1111 char* xcb_selinux_get_property_use_context_context(const xcb_selinux_get_property_use_context_reply_t* R /**< */ );
1112 
1113 int xcb_selinux_get_property_use_context_context_length(const xcb_selinux_get_property_use_context_reply_t* R /**< */ );
1114 
1115 xcb_generic_iterator_t xcb_selinux_get_property_use_context_context_end(const xcb_selinux_get_property_use_context_reply_t* R /**< */ );
1116 
1117 /**
1118  * Return the reply
1119  * @param c      The connection
1120  * @param cookie The cookie
1121  * @param e      The xcb_generic_error_t supplied
1122  *
1123  * Returns the reply of the request asked by
1124  *
1125  * The parameter @p e supplied to this function must be NULL if
1126  * xcb_selinux_get_property_use_context_unchecked(). is used.
1127  * Otherwise, it stores the error if any.
1128  *
1129  * The returned value must be freed by the caller using free().
1130  */
1131 xcb_selinux_get_property_use_context_reply_t* xcb_selinux_get_property_use_context_reply(xcb_connection_t* c /**< */ ,
1132 	xcb_selinux_get_property_use_context_cookie_t cookie /**< */ , xcb_generic_error_t** e /**< */ );
1133 
1134 int xcb_selinux_get_property_context_sizeof(const void* _buffer /**< */ );
1135 
1136 /**
1137  *
1138  * @param c The connection
1139  * @return A cookie
1140  *
1141  * Delivers a request to the X server.
1142  *
1143  */
1144 xcb_selinux_get_property_context_cookie_t xcb_selinux_get_property_context(xcb_connection_t* c /**< */ ,
1145 	xcb_window_t window /**< */ , xcb_atom_t property /**< */ );
1146 
1147 /**
1148  *
1149  * @param c The connection
1150  * @return A cookie
1151  *
1152  * Delivers a request to the X server.
1153  *
1154  * This form can be used only if the request will cause
1155  * a reply to be generated. Any returned error will be
1156  * placed in the event queue.
1157  */
1158 xcb_selinux_get_property_context_cookie_t xcb_selinux_get_property_context_unchecked(xcb_connection_t* c /**< */ ,
1159 	xcb_window_t window /**< */ , xcb_atom_t property /**< */ );
1160 
1161 char* xcb_selinux_get_property_context_context(const xcb_selinux_get_property_context_reply_t* R /**< */ );
1162 
1163 int xcb_selinux_get_property_context_context_length(const xcb_selinux_get_property_context_reply_t* R /**< */ );
1164 
1165 xcb_generic_iterator_t xcb_selinux_get_property_context_context_end(const xcb_selinux_get_property_context_reply_t* R /**< */ );
1166 
1167 /**
1168  * Return the reply
1169  * @param c      The connection
1170  * @param cookie The cookie
1171  * @param e      The xcb_generic_error_t supplied
1172  *
1173  * Returns the reply of the request asked by
1174  *
1175  * The parameter @p e supplied to this function must be NULL if
1176  * xcb_selinux_get_property_context_unchecked(). is used.
1177  * Otherwise, it stores the error if any.
1178  *
1179  * The returned value must be freed by the caller using free().
1180  */
1181 xcb_selinux_get_property_context_reply_t* xcb_selinux_get_property_context_reply(xcb_connection_t* c /**< */ ,
1182 	xcb_selinux_get_property_context_cookie_t cookie /**< */ , xcb_generic_error_t** e /**< */ );
1183 
1184 int xcb_selinux_get_property_data_context_sizeof(const void* _buffer /**< */ );
1185 
1186 /**
1187  *
1188  * @param c The connection
1189  * @return A cookie
1190  *
1191  * Delivers a request to the X server.
1192  *
1193  */
1194 xcb_selinux_get_property_data_context_cookie_t xcb_selinux_get_property_data_context(xcb_connection_t* c /**< */ ,
1195 	xcb_window_t window /**< */ , xcb_atom_t property /**< */ );
1196 
1197 /**
1198  *
1199  * @param c The connection
1200  * @return A cookie
1201  *
1202  * Delivers a request to the X server.
1203  *
1204  * This form can be used only if the request will cause
1205  * a reply to be generated. Any returned error will be
1206  * placed in the event queue.
1207  */
1208 xcb_selinux_get_property_data_context_cookie_t xcb_selinux_get_property_data_context_unchecked(xcb_connection_t* c /**< */ ,
1209 	xcb_window_t window /**< */ , xcb_atom_t property /**< */ );
1210 
1211 char* xcb_selinux_get_property_data_context_context(const xcb_selinux_get_property_data_context_reply_t* R /**< */ );
1212 
1213 int xcb_selinux_get_property_data_context_context_length(const xcb_selinux_get_property_data_context_reply_t* R /**< */ );
1214 
1215 xcb_generic_iterator_t xcb_selinux_get_property_data_context_context_end(const xcb_selinux_get_property_data_context_reply_t* R /**< */ );
1216 
1217 /**
1218  * Return the reply
1219  * @param c      The connection
1220  * @param cookie The cookie
1221  * @param e      The xcb_generic_error_t supplied
1222  *
1223  * Returns the reply of the request asked by
1224  *
1225  * The parameter @p e supplied to this function must be NULL if
1226  * xcb_selinux_get_property_data_context_unchecked(). is used.
1227  * Otherwise, it stores the error if any.
1228  *
1229  * The returned value must be freed by the caller using free().
1230  */
1231 xcb_selinux_get_property_data_context_reply_t* xcb_selinux_get_property_data_context_reply(xcb_connection_t* c /**< */ ,
1232 	xcb_selinux_get_property_data_context_cookie_t cookie /**< */ , xcb_generic_error_t** e /**< */ );
1233 
1234 int xcb_selinux_list_properties_sizeof(const void* _buffer /**< */ );
1235 
1236 /**
1237  *
1238  * @param c The connection
1239  * @return A cookie
1240  *
1241  * Delivers a request to the X server.
1242  *
1243  */
1244 xcb_selinux_list_properties_cookie_t xcb_selinux_list_properties(xcb_connection_t* c /**< */ , xcb_window_t window /**< */ );
1245 
1246 /**
1247  *
1248  * @param c The connection
1249  * @return A cookie
1250  *
1251  * Delivers a request to the X server.
1252  *
1253  * This form can be used only if the request will cause
1254  * a reply to be generated. Any returned error will be
1255  * placed in the event queue.
1256  */
1257 xcb_selinux_list_properties_cookie_t xcb_selinux_list_properties_unchecked(xcb_connection_t* c /**< */ , xcb_window_t window /**< */ );
1258 
1259 int xcb_selinux_list_properties_properties_length(const xcb_selinux_list_properties_reply_t* R /**< */ );
1260 
1261 xcb_selinux_list_item_iterator_t xcb_selinux_list_properties_properties_iterator(const xcb_selinux_list_properties_reply_t* R /**< */ );
1262 
1263 /**
1264  * Return the reply
1265  * @param c      The connection
1266  * @param cookie The cookie
1267  * @param e      The xcb_generic_error_t supplied
1268  *
1269  * Returns the reply of the request asked by
1270  *
1271  * The parameter @p e supplied to this function must be NULL if
1272  * xcb_selinux_list_properties_unchecked(). is used.
1273  * Otherwise, it stores the error if any.
1274  *
1275  * The returned value must be freed by the caller using free().
1276  */
1277 xcb_selinux_list_properties_reply_t* xcb_selinux_list_properties_reply(xcb_connection_t* c /**< */ ,
1278 	xcb_selinux_list_properties_cookie_t cookie /**< */ , xcb_generic_error_t** e /**< */ );
1279 
1280 int xcb_selinux_set_selection_create_context_sizeof(const void* _buffer /**< */ );
1281 
1282 /**
1283  *
1284  * @param c The connection
1285  * @return A cookie
1286  *
1287  * Delivers a request to the X server.
1288  *
1289  * This form can be used only if the request will not cause
1290  * a reply to be generated. Any returned error will be
1291  * saved for handling by xcb_request_check().
1292  */
1293 xcb_void_cookie_t xcb_selinux_set_selection_create_context_checked(xcb_connection_t* c /**< */ , uint context_len /**< */ ,
1294 	const char* context /**< */ );
1295 
1296 /**
1297  *
1298  * @param c The connection
1299  * @return A cookie
1300  *
1301  * Delivers a request to the X server.
1302  *
1303  */
1304 xcb_void_cookie_t xcb_selinux_set_selection_create_context(xcb_connection_t* c /**< */ , uint context_len /**< */ , const char* context /**< */ );
1305 
1306 int xcb_selinux_get_selection_create_context_sizeof(const void* _buffer /**< */ );
1307 
1308 /**
1309  *
1310  * @param c The connection
1311  * @return A cookie
1312  *
1313  * Delivers a request to the X server.
1314  *
1315  */
1316 xcb_selinux_get_selection_create_context_cookie_t xcb_selinux_get_selection_create_context(xcb_connection_t* c /**< */ );
1317 
1318 /**
1319  *
1320  * @param c The connection
1321  * @return A cookie
1322  *
1323  * Delivers a request to the X server.
1324  *
1325  * This form can be used only if the request will cause
1326  * a reply to be generated. Any returned error will be
1327  * placed in the event queue.
1328  */
1329 xcb_selinux_get_selection_create_context_cookie_t xcb_selinux_get_selection_create_context_unchecked(xcb_connection_t* c /**< */ );
1330 
1331 char* xcb_selinux_get_selection_create_context_context(const xcb_selinux_get_selection_create_context_reply_t* R /**< */ );
1332 
1333 int xcb_selinux_get_selection_create_context_context_length(const xcb_selinux_get_selection_create_context_reply_t* R /**< */ );
1334 
1335 xcb_generic_iterator_t xcb_selinux_get_selection_create_context_context_end(const xcb_selinux_get_selection_create_context_reply_t* R /**< */ );
1336 
1337 /**
1338  * Return the reply
1339  * @param c      The connection
1340  * @param cookie The cookie
1341  * @param e      The xcb_generic_error_t supplied
1342  *
1343  * Returns the reply of the request asked by
1344  *
1345  * The parameter @p e supplied to this function must be NULL if
1346  * xcb_selinux_get_selection_create_context_unchecked(). is used.
1347  * Otherwise, it stores the error if any.
1348  *
1349  * The returned value must be freed by the caller using free().
1350  */
1351 xcb_selinux_get_selection_create_context_reply_t* xcb_selinux_get_selection_create_context_reply(xcb_connection_t* c /**< */ ,
1352 	xcb_selinux_get_selection_create_context_cookie_t cookie /**< */ , xcb_generic_error_t** e /**< */ );
1353 
1354 int xcb_selinux_set_selection_use_context_sizeof(const void* _buffer /**< */ );
1355 
1356 /**
1357  *
1358  * @param c The connection
1359  * @return A cookie
1360  *
1361  * Delivers a request to the X server.
1362  *
1363  * This form can be used only if the request will not cause
1364  * a reply to be generated. Any returned error will be
1365  * saved for handling by xcb_request_check().
1366  */
1367 xcb_void_cookie_t xcb_selinux_set_selection_use_context_checked(xcb_connection_t* c /**< */ , uint context_len /**< */ , const char* context /**< */ );
1368 
1369 /**
1370  *
1371  * @param c The connection
1372  * @return A cookie
1373  *
1374  * Delivers a request to the X server.
1375  *
1376  */
1377 xcb_void_cookie_t xcb_selinux_set_selection_use_context(xcb_connection_t* c /**< */ , uint context_len /**< */ , const char* context /**< */ );
1378 
1379 int xcb_selinux_get_selection_use_context_sizeof(const void* _buffer /**< */ );
1380 
1381 /**
1382  *
1383  * @param c The connection
1384  * @return A cookie
1385  *
1386  * Delivers a request to the X server.
1387  *
1388  */
1389 xcb_selinux_get_selection_use_context_cookie_t xcb_selinux_get_selection_use_context(xcb_connection_t* c /**< */ );
1390 
1391 /**
1392  *
1393  * @param c The connection
1394  * @return A cookie
1395  *
1396  * Delivers a request to the X server.
1397  *
1398  * This form can be used only if the request will cause
1399  * a reply to be generated. Any returned error will be
1400  * placed in the event queue.
1401  */
1402 xcb_selinux_get_selection_use_context_cookie_t xcb_selinux_get_selection_use_context_unchecked(xcb_connection_t* c /**< */ );
1403 
1404 char* xcb_selinux_get_selection_use_context_context(const xcb_selinux_get_selection_use_context_reply_t* R /**< */ );
1405 
1406 int xcb_selinux_get_selection_use_context_context_length(const xcb_selinux_get_selection_use_context_reply_t* R /**< */ );
1407 
1408 xcb_generic_iterator_t xcb_selinux_get_selection_use_context_context_end(const xcb_selinux_get_selection_use_context_reply_t* R /**< */ );
1409 
1410 /**
1411  * Return the reply
1412  * @param c      The connection
1413  * @param cookie The cookie
1414  * @param e      The xcb_generic_error_t supplied
1415  *
1416  * Returns the reply of the request asked by
1417  *
1418  * The parameter @p e supplied to this function must be NULL if
1419  * xcb_selinux_get_selection_use_context_unchecked(). is used.
1420  * Otherwise, it stores the error if any.
1421  *
1422  * The returned value must be freed by the caller using free().
1423  */
1424 xcb_selinux_get_selection_use_context_reply_t* xcb_selinux_get_selection_use_context_reply(xcb_connection_t* c /**< */ ,
1425 	xcb_selinux_get_selection_use_context_cookie_t cookie /**< */ , xcb_generic_error_t** e /**< */ );
1426 
1427 int xcb_selinux_get_selection_context_sizeof(const void* _buffer /**< */ );
1428 
1429 /**
1430  *
1431  * @param c The connection
1432  * @return A cookie
1433  *
1434  * Delivers a request to the X server.
1435  *
1436  */
1437 xcb_selinux_get_selection_context_cookie_t xcb_selinux_get_selection_context(xcb_connection_t* c /**< */ , xcb_atom_t selection /**< */ );
1438 
1439 /**
1440  *
1441  * @param c The connection
1442  * @return A cookie
1443  *
1444  * Delivers a request to the X server.
1445  *
1446  * This form can be used only if the request will cause
1447  * a reply to be generated. Any returned error will be
1448  * placed in the event queue.
1449  */
1450 xcb_selinux_get_selection_context_cookie_t xcb_selinux_get_selection_context_unchecked(xcb_connection_t* c /**< */ , xcb_atom_t selection /**< */ );
1451 
1452 char* xcb_selinux_get_selection_context_context(const xcb_selinux_get_selection_context_reply_t* R /**< */ );
1453 
1454 int xcb_selinux_get_selection_context_context_length(const xcb_selinux_get_selection_context_reply_t* R /**< */ );
1455 
1456 xcb_generic_iterator_t xcb_selinux_get_selection_context_context_end(const xcb_selinux_get_selection_context_reply_t* R /**< */ );
1457 
1458 /**
1459  * Return the reply
1460  * @param c      The connection
1461  * @param cookie The cookie
1462  * @param e      The xcb_generic_error_t supplied
1463  *
1464  * Returns the reply of the request asked by
1465  *
1466  * The parameter @p e supplied to this function must be NULL if
1467  * xcb_selinux_get_selection_context_unchecked(). is used.
1468  * Otherwise, it stores the error if any.
1469  *
1470  * The returned value must be freed by the caller using free().
1471  */
1472 xcb_selinux_get_selection_context_reply_t* xcb_selinux_get_selection_context_reply(xcb_connection_t* c /**< */ ,
1473 	xcb_selinux_get_selection_context_cookie_t cookie /**< */ , xcb_generic_error_t** e /**< */ );
1474 
1475 int xcb_selinux_get_selection_data_context_sizeof(const void* _buffer /**< */ );
1476 
1477 /**
1478  *
1479  * @param c The connection
1480  * @return A cookie
1481  *
1482  * Delivers a request to the X server.
1483  *
1484  */
1485 xcb_selinux_get_selection_data_context_cookie_t xcb_selinux_get_selection_data_context(xcb_connection_t* c /**< */ , xcb_atom_t selection /**< */ );
1486 
1487 /**
1488  *
1489  * @param c The connection
1490  * @return A cookie
1491  *
1492  * Delivers a request to the X server.
1493  *
1494  * This form can be used only if the request will cause
1495  * a reply to be generated. Any returned error will be
1496  * placed in the event queue.
1497  */
1498 xcb_selinux_get_selection_data_context_cookie_t xcb_selinux_get_selection_data_context_unchecked(xcb_connection_t* c /**< */ ,
1499 	xcb_atom_t selection /**< */ );
1500 
1501 char* xcb_selinux_get_selection_data_context_context(const xcb_selinux_get_selection_data_context_reply_t* R /**< */ );
1502 
1503 int xcb_selinux_get_selection_data_context_context_length(const xcb_selinux_get_selection_data_context_reply_t* R /**< */ );
1504 
1505 xcb_generic_iterator_t xcb_selinux_get_selection_data_context_context_end(const xcb_selinux_get_selection_data_context_reply_t* R /**< */ );
1506 
1507 /**
1508  * Return the reply
1509  * @param c      The connection
1510  * @param cookie The cookie
1511  * @param e      The xcb_generic_error_t supplied
1512  *
1513  * Returns the reply of the request asked by
1514  *
1515  * The parameter @p e supplied to this function must be NULL if
1516  * xcb_selinux_get_selection_data_context_unchecked(). is used.
1517  * Otherwise, it stores the error if any.
1518  *
1519  * The returned value must be freed by the caller using free().
1520  */
1521 xcb_selinux_get_selection_data_context_reply_t* xcb_selinux_get_selection_data_context_reply(xcb_connection_t* c /**< */ ,
1522 	xcb_selinux_get_selection_data_context_cookie_t cookie /**< */ , xcb_generic_error_t** e /**< */ );
1523 
1524 int xcb_selinux_list_selections_sizeof(const void* _buffer /**< */ );
1525 
1526 /**
1527  *
1528  * @param c The connection
1529  * @return A cookie
1530  *
1531  * Delivers a request to the X server.
1532  *
1533  */
1534 xcb_selinux_list_selections_cookie_t xcb_selinux_list_selections(xcb_connection_t* c /**< */ );
1535 
1536 /**
1537  *
1538  * @param c The connection
1539  * @return A cookie
1540  *
1541  * Delivers a request to the X server.
1542  *
1543  * This form can be used only if the request will cause
1544  * a reply to be generated. Any returned error will be
1545  * placed in the event queue.
1546  */
1547 xcb_selinux_list_selections_cookie_t xcb_selinux_list_selections_unchecked(xcb_connection_t* c /**< */ );
1548 
1549 int xcb_selinux_list_selections_selections_length(const xcb_selinux_list_selections_reply_t* R /**< */ );
1550 
1551 xcb_selinux_list_item_iterator_t xcb_selinux_list_selections_selections_iterator(const xcb_selinux_list_selections_reply_t* R /**< */ );
1552 
1553 /**
1554  * Return the reply
1555  * @param c      The connection
1556  * @param cookie The cookie
1557  * @param e      The xcb_generic_error_t supplied
1558  *
1559  * Returns the reply of the request asked by
1560  *
1561  * The parameter @p e supplied to this function must be NULL if
1562  * xcb_selinux_list_selections_unchecked(). is used.
1563  * Otherwise, it stores the error if any.
1564  *
1565  * The returned value must be freed by the caller using free().
1566  */
1567 xcb_selinux_list_selections_reply_t* xcb_selinux_list_selections_reply(xcb_connection_t* c /**< */ ,
1568 	xcb_selinux_list_selections_cookie_t cookie /**< */ , xcb_generic_error_t** e /**< */ );
1569 
1570 int xcb_selinux_get_client_context_sizeof(const void* _buffer /**< */ );
1571 
1572 /**
1573  *
1574  * @param c The connection
1575  * @return A cookie
1576  *
1577  * Delivers a request to the X server.
1578  *
1579  */
1580 xcb_selinux_get_client_context_cookie_t xcb_selinux_get_client_context(xcb_connection_t* c /**< */ , uint resource /**< */ );
1581 
1582 /**
1583  *
1584  * @param c The connection
1585  * @return A cookie
1586  *
1587  * Delivers a request to the X server.
1588  *
1589  * This form can be used only if the request will cause
1590  * a reply to be generated. Any returned error will be
1591  * placed in the event queue.
1592  */
1593 xcb_selinux_get_client_context_cookie_t xcb_selinux_get_client_context_unchecked(xcb_connection_t* c /**< */ , uint resource /**< */ );
1594 
1595 char* xcb_selinux_get_client_context_context(const xcb_selinux_get_client_context_reply_t* R /**< */ );
1596 
1597 int xcb_selinux_get_client_context_context_length(const xcb_selinux_get_client_context_reply_t* R /**< */ );
1598 
1599 xcb_generic_iterator_t xcb_selinux_get_client_context_context_end(const xcb_selinux_get_client_context_reply_t* R /**< */ );
1600 
1601 /**
1602  * Return the reply
1603  * @param c      The connection
1604  * @param cookie The cookie
1605  * @param e      The xcb_generic_error_t supplied
1606  *
1607  * Returns the reply of the request asked by
1608  *
1609  * The parameter @p e supplied to this function must be NULL if
1610  * xcb_selinux_get_client_context_unchecked(). is used.
1611  * Otherwise, it stores the error if any.
1612  *
1613  * The returned value must be freed by the caller using free().
1614  */
1615 xcb_selinux_get_client_context_reply_t* xcb_selinux_get_client_context_reply(xcb_connection_t* c /**< */ ,
1616 	xcb_selinux_get_client_context_cookie_t cookie /**< */ , xcb_generic_error_t** e /**< */ );
1617 
1618 /**
1619  * @}
1620  */