2 * This file generated automatically from xselinux.xml by c_client.py.
7 * @defgroup XCB_SELinux_API XCB SELinux API
8 * @brief SELinux XCB Protocol Implementation.
22 #define XCB_SELINUX_MAJOR_VERSION 1
23 #define XCB_SELINUX_MINOR_VERSION 0
25 extern xcb_extension_t xcb_selinux_id
;
28 * @brief xcb_selinux_query_version_cookie_t
30 typedef struct xcb_selinux_query_version_cookie_t
{
31 unsigned int sequence
; /**< */
32 } xcb_selinux_query_version_cookie_t
;
34 /** Opcode for xcb_selinux_query_version. */
35 #define XCB_SELINUX_QUERY_VERSION 0
38 * @brief xcb_selinux_query_version_request_t
40 typedef struct xcb_selinux_query_version_request_t
{
41 uint8_t major_opcode
; /**< */
42 uint8_t minor_opcode
; /**< */
43 uint16_t length
; /**< */
44 uint8_t client_major
; /**< */
45 uint8_t client_minor
; /**< */
46 } xcb_selinux_query_version_request_t
;
49 * @brief xcb_selinux_query_version_reply_t
51 typedef struct xcb_selinux_query_version_reply_t
{
52 uint8_t response_type
; /**< */
54 uint16_t sequence
; /**< */
55 uint32_t length
; /**< */
56 uint16_t server_major
; /**< */
57 uint16_t server_minor
; /**< */
58 } xcb_selinux_query_version_reply_t
;
60 /** Opcode for xcb_selinux_set_device_create_context. */
61 #define XCB_SELINUX_SET_DEVICE_CREATE_CONTEXT 1
64 * @brief xcb_selinux_set_device_create_context_request_t
66 typedef struct xcb_selinux_set_device_create_context_request_t
{
67 uint8_t major_opcode
; /**< */
68 uint8_t minor_opcode
; /**< */
69 uint16_t length
; /**< */
70 uint32_t context_len
; /**< */
71 } xcb_selinux_set_device_create_context_request_t
;
74 * @brief xcb_selinux_get_device_create_context_cookie_t
76 typedef struct xcb_selinux_get_device_create_context_cookie_t
{
77 unsigned int sequence
; /**< */
78 } xcb_selinux_get_device_create_context_cookie_t
;
80 /** Opcode for xcb_selinux_get_device_create_context. */
81 #define XCB_SELINUX_GET_DEVICE_CREATE_CONTEXT 2
84 * @brief xcb_selinux_get_device_create_context_request_t
86 typedef struct xcb_selinux_get_device_create_context_request_t
{
87 uint8_t major_opcode
; /**< */
88 uint8_t minor_opcode
; /**< */
89 uint16_t length
; /**< */
90 } xcb_selinux_get_device_create_context_request_t
;
93 * @brief xcb_selinux_get_device_create_context_reply_t
95 typedef struct xcb_selinux_get_device_create_context_reply_t
{
96 uint8_t response_type
; /**< */
98 uint16_t sequence
; /**< */
99 uint32_t length
; /**< */
100 uint32_t context_len
; /**< */
101 uint8_t pad1
[20]; /**< */
102 } xcb_selinux_get_device_create_context_reply_t
;
104 /** Opcode for xcb_selinux_set_device_context. */
105 #define XCB_SELINUX_SET_DEVICE_CONTEXT 3
108 * @brief xcb_selinux_set_device_context_request_t
110 typedef struct xcb_selinux_set_device_context_request_t
{
111 uint8_t major_opcode
; /**< */
112 uint8_t minor_opcode
; /**< */
113 uint16_t length
; /**< */
114 uint32_t device
; /**< */
115 uint32_t context_len
; /**< */
116 } xcb_selinux_set_device_context_request_t
;
119 * @brief xcb_selinux_get_device_context_cookie_t
121 typedef struct xcb_selinux_get_device_context_cookie_t
{
122 unsigned int sequence
; /**< */
123 } xcb_selinux_get_device_context_cookie_t
;
125 /** Opcode for xcb_selinux_get_device_context. */
126 #define XCB_SELINUX_GET_DEVICE_CONTEXT 4
129 * @brief xcb_selinux_get_device_context_request_t
131 typedef struct xcb_selinux_get_device_context_request_t
{
132 uint8_t major_opcode
; /**< */
133 uint8_t minor_opcode
; /**< */
134 uint16_t length
; /**< */
135 uint32_t device
; /**< */
136 } xcb_selinux_get_device_context_request_t
;
139 * @brief xcb_selinux_get_device_context_reply_t
141 typedef struct xcb_selinux_get_device_context_reply_t
{
142 uint8_t response_type
; /**< */
143 uint8_t pad0
; /**< */
144 uint16_t sequence
; /**< */
145 uint32_t length
; /**< */
146 uint32_t context_len
; /**< */
147 uint8_t pad1
[20]; /**< */
148 } xcb_selinux_get_device_context_reply_t
;
150 /** Opcode for xcb_selinux_set_window_create_context. */
151 #define XCB_SELINUX_SET_WINDOW_CREATE_CONTEXT 5
154 * @brief xcb_selinux_set_window_create_context_request_t
156 typedef struct xcb_selinux_set_window_create_context_request_t
{
157 uint8_t major_opcode
; /**< */
158 uint8_t minor_opcode
; /**< */
159 uint16_t length
; /**< */
160 uint32_t context_len
; /**< */
161 } xcb_selinux_set_window_create_context_request_t
;
164 * @brief xcb_selinux_get_window_create_context_cookie_t
166 typedef struct xcb_selinux_get_window_create_context_cookie_t
{
167 unsigned int sequence
; /**< */
168 } xcb_selinux_get_window_create_context_cookie_t
;
170 /** Opcode for xcb_selinux_get_window_create_context. */
171 #define XCB_SELINUX_GET_WINDOW_CREATE_CONTEXT 6
174 * @brief xcb_selinux_get_window_create_context_request_t
176 typedef struct xcb_selinux_get_window_create_context_request_t
{
177 uint8_t major_opcode
; /**< */
178 uint8_t minor_opcode
; /**< */
179 uint16_t length
; /**< */
180 } xcb_selinux_get_window_create_context_request_t
;
183 * @brief xcb_selinux_get_window_create_context_reply_t
185 typedef struct xcb_selinux_get_window_create_context_reply_t
{
186 uint8_t response_type
; /**< */
187 uint8_t pad0
; /**< */
188 uint16_t sequence
; /**< */
189 uint32_t length
; /**< */
190 uint32_t context_len
; /**< */
191 uint8_t pad1
[20]; /**< */
192 } xcb_selinux_get_window_create_context_reply_t
;
195 * @brief xcb_selinux_get_window_context_cookie_t
197 typedef struct xcb_selinux_get_window_context_cookie_t
{
198 unsigned int sequence
; /**< */
199 } xcb_selinux_get_window_context_cookie_t
;
201 /** Opcode for xcb_selinux_get_window_context. */
202 #define XCB_SELINUX_GET_WINDOW_CONTEXT 7
205 * @brief xcb_selinux_get_window_context_request_t
207 typedef struct xcb_selinux_get_window_context_request_t
{
208 uint8_t major_opcode
; /**< */
209 uint8_t minor_opcode
; /**< */
210 uint16_t length
; /**< */
211 xcb_window_t window
; /**< */
212 } xcb_selinux_get_window_context_request_t
;
215 * @brief xcb_selinux_get_window_context_reply_t
217 typedef struct xcb_selinux_get_window_context_reply_t
{
218 uint8_t response_type
; /**< */
219 uint8_t pad0
; /**< */
220 uint16_t sequence
; /**< */
221 uint32_t length
; /**< */
222 uint32_t context_len
; /**< */
223 uint8_t pad1
[20]; /**< */
224 } xcb_selinux_get_window_context_reply_t
;
227 * @brief xcb_selinux_list_item_t
229 typedef struct xcb_selinux_list_item_t
{
230 xcb_atom_t name
; /**< */
231 uint32_t object_context_len
; /**< */
232 uint32_t data_context_len
; /**< */
233 } xcb_selinux_list_item_t
;
236 * @brief xcb_selinux_list_item_iterator_t
238 typedef struct xcb_selinux_list_item_iterator_t
{
239 xcb_selinux_list_item_t
*data
; /**< */
242 } xcb_selinux_list_item_iterator_t
;
244 /** Opcode for xcb_selinux_set_property_create_context. */
245 #define XCB_SELINUX_SET_PROPERTY_CREATE_CONTEXT 8
248 * @brief xcb_selinux_set_property_create_context_request_t
250 typedef struct xcb_selinux_set_property_create_context_request_t
{
251 uint8_t major_opcode
; /**< */
252 uint8_t minor_opcode
; /**< */
253 uint16_t length
; /**< */
254 uint32_t context_len
; /**< */
255 } xcb_selinux_set_property_create_context_request_t
;
258 * @brief xcb_selinux_get_property_create_context_cookie_t
260 typedef struct xcb_selinux_get_property_create_context_cookie_t
{
261 unsigned int sequence
; /**< */
262 } xcb_selinux_get_property_create_context_cookie_t
;
264 /** Opcode for xcb_selinux_get_property_create_context. */
265 #define XCB_SELINUX_GET_PROPERTY_CREATE_CONTEXT 9
268 * @brief xcb_selinux_get_property_create_context_request_t
270 typedef struct xcb_selinux_get_property_create_context_request_t
{
271 uint8_t major_opcode
; /**< */
272 uint8_t minor_opcode
; /**< */
273 uint16_t length
; /**< */
274 } xcb_selinux_get_property_create_context_request_t
;
277 * @brief xcb_selinux_get_property_create_context_reply_t
279 typedef struct xcb_selinux_get_property_create_context_reply_t
{
280 uint8_t response_type
; /**< */
281 uint8_t pad0
; /**< */
282 uint16_t sequence
; /**< */
283 uint32_t length
; /**< */
284 uint32_t context_len
; /**< */
285 uint8_t pad1
[20]; /**< */
286 } xcb_selinux_get_property_create_context_reply_t
;
288 /** Opcode for xcb_selinux_set_property_use_context. */
289 #define XCB_SELINUX_SET_PROPERTY_USE_CONTEXT 10
292 * @brief xcb_selinux_set_property_use_context_request_t
294 typedef struct xcb_selinux_set_property_use_context_request_t
{
295 uint8_t major_opcode
; /**< */
296 uint8_t minor_opcode
; /**< */
297 uint16_t length
; /**< */
298 uint32_t context_len
; /**< */
299 } xcb_selinux_set_property_use_context_request_t
;
302 * @brief xcb_selinux_get_property_use_context_cookie_t
304 typedef struct xcb_selinux_get_property_use_context_cookie_t
{
305 unsigned int sequence
; /**< */
306 } xcb_selinux_get_property_use_context_cookie_t
;
308 /** Opcode for xcb_selinux_get_property_use_context. */
309 #define XCB_SELINUX_GET_PROPERTY_USE_CONTEXT 11
312 * @brief xcb_selinux_get_property_use_context_request_t
314 typedef struct xcb_selinux_get_property_use_context_request_t
{
315 uint8_t major_opcode
; /**< */
316 uint8_t minor_opcode
; /**< */
317 uint16_t length
; /**< */
318 } xcb_selinux_get_property_use_context_request_t
;
321 * @brief xcb_selinux_get_property_use_context_reply_t
323 typedef struct xcb_selinux_get_property_use_context_reply_t
{
324 uint8_t response_type
; /**< */
325 uint8_t pad0
; /**< */
326 uint16_t sequence
; /**< */
327 uint32_t length
; /**< */
328 uint32_t context_len
; /**< */
329 uint8_t pad1
[20]; /**< */
330 } xcb_selinux_get_property_use_context_reply_t
;
333 * @brief xcb_selinux_get_property_context_cookie_t
335 typedef struct xcb_selinux_get_property_context_cookie_t
{
336 unsigned int sequence
; /**< */
337 } xcb_selinux_get_property_context_cookie_t
;
339 /** Opcode for xcb_selinux_get_property_context. */
340 #define XCB_SELINUX_GET_PROPERTY_CONTEXT 12
343 * @brief xcb_selinux_get_property_context_request_t
345 typedef struct xcb_selinux_get_property_context_request_t
{
346 uint8_t major_opcode
; /**< */
347 uint8_t minor_opcode
; /**< */
348 uint16_t length
; /**< */
349 xcb_window_t window
; /**< */
350 xcb_atom_t property
; /**< */
351 } xcb_selinux_get_property_context_request_t
;
354 * @brief xcb_selinux_get_property_context_reply_t
356 typedef struct xcb_selinux_get_property_context_reply_t
{
357 uint8_t response_type
; /**< */
358 uint8_t pad0
; /**< */
359 uint16_t sequence
; /**< */
360 uint32_t length
; /**< */
361 uint32_t context_len
; /**< */
362 uint8_t pad1
[20]; /**< */
363 } xcb_selinux_get_property_context_reply_t
;
366 * @brief xcb_selinux_get_property_data_context_cookie_t
368 typedef struct xcb_selinux_get_property_data_context_cookie_t
{
369 unsigned int sequence
; /**< */
370 } xcb_selinux_get_property_data_context_cookie_t
;
372 /** Opcode for xcb_selinux_get_property_data_context. */
373 #define XCB_SELINUX_GET_PROPERTY_DATA_CONTEXT 13
376 * @brief xcb_selinux_get_property_data_context_request_t
378 typedef struct xcb_selinux_get_property_data_context_request_t
{
379 uint8_t major_opcode
; /**< */
380 uint8_t minor_opcode
; /**< */
381 uint16_t length
; /**< */
382 xcb_window_t window
; /**< */
383 xcb_atom_t property
; /**< */
384 } xcb_selinux_get_property_data_context_request_t
;
387 * @brief xcb_selinux_get_property_data_context_reply_t
389 typedef struct xcb_selinux_get_property_data_context_reply_t
{
390 uint8_t response_type
; /**< */
391 uint8_t pad0
; /**< */
392 uint16_t sequence
; /**< */
393 uint32_t length
; /**< */
394 uint32_t context_len
; /**< */
395 uint8_t pad1
[20]; /**< */
396 } xcb_selinux_get_property_data_context_reply_t
;
399 * @brief xcb_selinux_list_properties_cookie_t
401 typedef struct xcb_selinux_list_properties_cookie_t
{
402 unsigned int sequence
; /**< */
403 } xcb_selinux_list_properties_cookie_t
;
405 /** Opcode for xcb_selinux_list_properties. */
406 #define XCB_SELINUX_LIST_PROPERTIES 14
409 * @brief xcb_selinux_list_properties_request_t
411 typedef struct xcb_selinux_list_properties_request_t
{
412 uint8_t major_opcode
; /**< */
413 uint8_t minor_opcode
; /**< */
414 uint16_t length
; /**< */
415 xcb_window_t window
; /**< */
416 } xcb_selinux_list_properties_request_t
;
419 * @brief xcb_selinux_list_properties_reply_t
421 typedef struct xcb_selinux_list_properties_reply_t
{
422 uint8_t response_type
; /**< */
423 uint8_t pad0
; /**< */
424 uint16_t sequence
; /**< */
425 uint32_t length
; /**< */
426 uint32_t properties_len
; /**< */
427 uint8_t pad1
[20]; /**< */
428 } xcb_selinux_list_properties_reply_t
;
430 /** Opcode for xcb_selinux_set_selection_create_context. */
431 #define XCB_SELINUX_SET_SELECTION_CREATE_CONTEXT 15
434 * @brief xcb_selinux_set_selection_create_context_request_t
436 typedef struct xcb_selinux_set_selection_create_context_request_t
{
437 uint8_t major_opcode
; /**< */
438 uint8_t minor_opcode
; /**< */
439 uint16_t length
; /**< */
440 uint32_t context_len
; /**< */
441 } xcb_selinux_set_selection_create_context_request_t
;
444 * @brief xcb_selinux_get_selection_create_context_cookie_t
446 typedef struct xcb_selinux_get_selection_create_context_cookie_t
{
447 unsigned int sequence
; /**< */
448 } xcb_selinux_get_selection_create_context_cookie_t
;
450 /** Opcode for xcb_selinux_get_selection_create_context. */
451 #define XCB_SELINUX_GET_SELECTION_CREATE_CONTEXT 16
454 * @brief xcb_selinux_get_selection_create_context_request_t
456 typedef struct xcb_selinux_get_selection_create_context_request_t
{
457 uint8_t major_opcode
; /**< */
458 uint8_t minor_opcode
; /**< */
459 uint16_t length
; /**< */
460 } xcb_selinux_get_selection_create_context_request_t
;
463 * @brief xcb_selinux_get_selection_create_context_reply_t
465 typedef struct xcb_selinux_get_selection_create_context_reply_t
{
466 uint8_t response_type
; /**< */
467 uint8_t pad0
; /**< */
468 uint16_t sequence
; /**< */
469 uint32_t length
; /**< */
470 uint32_t context_len
; /**< */
471 uint8_t pad1
[20]; /**< */
472 } xcb_selinux_get_selection_create_context_reply_t
;
474 /** Opcode for xcb_selinux_set_selection_use_context. */
475 #define XCB_SELINUX_SET_SELECTION_USE_CONTEXT 17
478 * @brief xcb_selinux_set_selection_use_context_request_t
480 typedef struct xcb_selinux_set_selection_use_context_request_t
{
481 uint8_t major_opcode
; /**< */
482 uint8_t minor_opcode
; /**< */
483 uint16_t length
; /**< */
484 uint32_t context_len
; /**< */
485 } xcb_selinux_set_selection_use_context_request_t
;
488 * @brief xcb_selinux_get_selection_use_context_cookie_t
490 typedef struct xcb_selinux_get_selection_use_context_cookie_t
{
491 unsigned int sequence
; /**< */
492 } xcb_selinux_get_selection_use_context_cookie_t
;
494 /** Opcode for xcb_selinux_get_selection_use_context. */
495 #define XCB_SELINUX_GET_SELECTION_USE_CONTEXT 18
498 * @brief xcb_selinux_get_selection_use_context_request_t
500 typedef struct xcb_selinux_get_selection_use_context_request_t
{
501 uint8_t major_opcode
; /**< */
502 uint8_t minor_opcode
; /**< */
503 uint16_t length
; /**< */
504 } xcb_selinux_get_selection_use_context_request_t
;
507 * @brief xcb_selinux_get_selection_use_context_reply_t
509 typedef struct xcb_selinux_get_selection_use_context_reply_t
{
510 uint8_t response_type
; /**< */
511 uint8_t pad0
; /**< */
512 uint16_t sequence
; /**< */
513 uint32_t length
; /**< */
514 uint32_t context_len
; /**< */
515 uint8_t pad1
[20]; /**< */
516 } xcb_selinux_get_selection_use_context_reply_t
;
519 * @brief xcb_selinux_get_selection_context_cookie_t
521 typedef struct xcb_selinux_get_selection_context_cookie_t
{
522 unsigned int sequence
; /**< */
523 } xcb_selinux_get_selection_context_cookie_t
;
525 /** Opcode for xcb_selinux_get_selection_context. */
526 #define XCB_SELINUX_GET_SELECTION_CONTEXT 19
529 * @brief xcb_selinux_get_selection_context_request_t
531 typedef struct xcb_selinux_get_selection_context_request_t
{
532 uint8_t major_opcode
; /**< */
533 uint8_t minor_opcode
; /**< */
534 uint16_t length
; /**< */
535 xcb_atom_t selection
; /**< */
536 } xcb_selinux_get_selection_context_request_t
;
539 * @brief xcb_selinux_get_selection_context_reply_t
541 typedef struct xcb_selinux_get_selection_context_reply_t
{
542 uint8_t response_type
; /**< */
543 uint8_t pad0
; /**< */
544 uint16_t sequence
; /**< */
545 uint32_t length
; /**< */
546 uint32_t context_len
; /**< */
547 uint8_t pad1
[20]; /**< */
548 } xcb_selinux_get_selection_context_reply_t
;
551 * @brief xcb_selinux_get_selection_data_context_cookie_t
553 typedef struct xcb_selinux_get_selection_data_context_cookie_t
{
554 unsigned int sequence
; /**< */
555 } xcb_selinux_get_selection_data_context_cookie_t
;
557 /** Opcode for xcb_selinux_get_selection_data_context. */
558 #define XCB_SELINUX_GET_SELECTION_DATA_CONTEXT 20
561 * @brief xcb_selinux_get_selection_data_context_request_t
563 typedef struct xcb_selinux_get_selection_data_context_request_t
{
564 uint8_t major_opcode
; /**< */
565 uint8_t minor_opcode
; /**< */
566 uint16_t length
; /**< */
567 xcb_atom_t selection
; /**< */
568 } xcb_selinux_get_selection_data_context_request_t
;
571 * @brief xcb_selinux_get_selection_data_context_reply_t
573 typedef struct xcb_selinux_get_selection_data_context_reply_t
{
574 uint8_t response_type
; /**< */
575 uint8_t pad0
; /**< */
576 uint16_t sequence
; /**< */
577 uint32_t length
; /**< */
578 uint32_t context_len
; /**< */
579 uint8_t pad1
[20]; /**< */
580 } xcb_selinux_get_selection_data_context_reply_t
;
583 * @brief xcb_selinux_list_selections_cookie_t
585 typedef struct xcb_selinux_list_selections_cookie_t
{
586 unsigned int sequence
; /**< */
587 } xcb_selinux_list_selections_cookie_t
;
589 /** Opcode for xcb_selinux_list_selections. */
590 #define XCB_SELINUX_LIST_SELECTIONS 21
593 * @brief xcb_selinux_list_selections_request_t
595 typedef struct xcb_selinux_list_selections_request_t
{
596 uint8_t major_opcode
; /**< */
597 uint8_t minor_opcode
; /**< */
598 uint16_t length
; /**< */
599 } xcb_selinux_list_selections_request_t
;
602 * @brief xcb_selinux_list_selections_reply_t
604 typedef struct xcb_selinux_list_selections_reply_t
{
605 uint8_t response_type
; /**< */
606 uint8_t pad0
; /**< */
607 uint16_t sequence
; /**< */
608 uint32_t length
; /**< */
609 uint32_t selections_len
; /**< */
610 uint8_t pad1
[20]; /**< */
611 } xcb_selinux_list_selections_reply_t
;
614 * @brief xcb_selinux_get_client_context_cookie_t
616 typedef struct xcb_selinux_get_client_context_cookie_t
{
617 unsigned int sequence
; /**< */
618 } xcb_selinux_get_client_context_cookie_t
;
620 /** Opcode for xcb_selinux_get_client_context. */
621 #define XCB_SELINUX_GET_CLIENT_CONTEXT 22
624 * @brief xcb_selinux_get_client_context_request_t
626 typedef struct xcb_selinux_get_client_context_request_t
{
627 uint8_t major_opcode
; /**< */
628 uint8_t minor_opcode
; /**< */
629 uint16_t length
; /**< */
630 uint32_t resource
; /**< */
631 } xcb_selinux_get_client_context_request_t
;
634 * @brief xcb_selinux_get_client_context_reply_t
636 typedef struct xcb_selinux_get_client_context_reply_t
{
637 uint8_t response_type
; /**< */
638 uint8_t pad0
; /**< */
639 uint16_t sequence
; /**< */
640 uint32_t length
; /**< */
641 uint32_t context_len
; /**< */
642 uint8_t pad1
[20]; /**< */
643 } xcb_selinux_get_client_context_reply_t
;
647 * @param c The connection
650 * Delivers a request to the X server.
653 xcb_selinux_query_version_cookie_t
654 xcb_selinux_query_version (xcb_connection_t
*c
/**< */,
655 uint8_t client_major
/**< */,
656 uint8_t client_minor
/**< */);
660 * @param c The connection
663 * Delivers a request to the X server.
665 * This form can be used only if the request will cause
666 * a reply to be generated. Any returned error will be
667 * placed in the event queue.
669 xcb_selinux_query_version_cookie_t
670 xcb_selinux_query_version_unchecked (xcb_connection_t
*c
/**< */,
671 uint8_t client_major
/**< */,
672 uint8_t client_minor
/**< */);
676 * @param c The connection
677 * @param cookie The cookie
678 * @param e The xcb_generic_error_t supplied
680 * Returns the reply of the request asked by
682 * The parameter @p e supplied to this function must be NULL if
683 * xcb_selinux_query_version_unchecked(). is used.
684 * Otherwise, it stores the error if any.
686 * The returned value must be freed by the caller using free().
688 xcb_selinux_query_version_reply_t
*
689 xcb_selinux_query_version_reply (xcb_connection_t
*c
/**< */,
690 xcb_selinux_query_version_cookie_t cookie
/**< */,
691 xcb_generic_error_t
**e
/**< */);
694 xcb_selinux_set_device_create_context_sizeof (const void *_buffer
/**< */);
698 * @param c The connection
701 * Delivers a request to the X server.
703 * This form can be used only if the request will not cause
704 * a reply to be generated. Any returned error will be
705 * saved for handling by xcb_request_check().
708 xcb_selinux_set_device_create_context_checked (xcb_connection_t
*c
/**< */,
709 uint32_t context_len
/**< */,
710 const char *context
/**< */);
714 * @param c The connection
717 * Delivers a request to the X server.
721 xcb_selinux_set_device_create_context (xcb_connection_t
*c
/**< */,
722 uint32_t context_len
/**< */,
723 const char *context
/**< */);
726 xcb_selinux_get_device_create_context_sizeof (const void *_buffer
/**< */);
730 * @param c The connection
733 * Delivers a request to the X server.
736 xcb_selinux_get_device_create_context_cookie_t
737 xcb_selinux_get_device_create_context (xcb_connection_t
*c
/**< */);
741 * @param c The connection
744 * Delivers a request to the X server.
746 * This form can be used only if the request will cause
747 * a reply to be generated. Any returned error will be
748 * placed in the event queue.
750 xcb_selinux_get_device_create_context_cookie_t
751 xcb_selinux_get_device_create_context_unchecked (xcb_connection_t
*c
/**< */);
754 xcb_selinux_get_device_create_context_context (const xcb_selinux_get_device_create_context_reply_t
*R
/**< */);
757 xcb_selinux_get_device_create_context_context_length (const xcb_selinux_get_device_create_context_reply_t
*R
/**< */);
759 xcb_generic_iterator_t
760 xcb_selinux_get_device_create_context_context_end (const xcb_selinux_get_device_create_context_reply_t
*R
/**< */);
764 * @param c The connection
765 * @param cookie The cookie
766 * @param e The xcb_generic_error_t supplied
768 * Returns the reply of the request asked by
770 * The parameter @p e supplied to this function must be NULL if
771 * xcb_selinux_get_device_create_context_unchecked(). is used.
772 * Otherwise, it stores the error if any.
774 * The returned value must be freed by the caller using free().
776 xcb_selinux_get_device_create_context_reply_t
*
777 xcb_selinux_get_device_create_context_reply (xcb_connection_t
*c
/**< */,
778 xcb_selinux_get_device_create_context_cookie_t cookie
/**< */,
779 xcb_generic_error_t
**e
/**< */);
782 xcb_selinux_set_device_context_sizeof (const void *_buffer
/**< */);
786 * @param c The connection
789 * Delivers a request to the X server.
791 * This form can be used only if the request will not cause
792 * a reply to be generated. Any returned error will be
793 * saved for handling by xcb_request_check().
796 xcb_selinux_set_device_context_checked (xcb_connection_t
*c
/**< */,
797 uint32_t device
/**< */,
798 uint32_t context_len
/**< */,
799 const char *context
/**< */);
803 * @param c The connection
806 * Delivers a request to the X server.
810 xcb_selinux_set_device_context (xcb_connection_t
*c
/**< */,
811 uint32_t device
/**< */,
812 uint32_t context_len
/**< */,
813 const char *context
/**< */);
816 xcb_selinux_get_device_context_sizeof (const void *_buffer
/**< */);
820 * @param c The connection
823 * Delivers a request to the X server.
826 xcb_selinux_get_device_context_cookie_t
827 xcb_selinux_get_device_context (xcb_connection_t
*c
/**< */,
828 uint32_t device
/**< */);
832 * @param c The connection
835 * Delivers a request to the X server.
837 * This form can be used only if the request will cause
838 * a reply to be generated. Any returned error will be
839 * placed in the event queue.
841 xcb_selinux_get_device_context_cookie_t
842 xcb_selinux_get_device_context_unchecked (xcb_connection_t
*c
/**< */,
843 uint32_t device
/**< */);
846 xcb_selinux_get_device_context_context (const xcb_selinux_get_device_context_reply_t
*R
/**< */);
849 xcb_selinux_get_device_context_context_length (const xcb_selinux_get_device_context_reply_t
*R
/**< */);
851 xcb_generic_iterator_t
852 xcb_selinux_get_device_context_context_end (const xcb_selinux_get_device_context_reply_t
*R
/**< */);
856 * @param c The connection
857 * @param cookie The cookie
858 * @param e The xcb_generic_error_t supplied
860 * Returns the reply of the request asked by
862 * The parameter @p e supplied to this function must be NULL if
863 * xcb_selinux_get_device_context_unchecked(). is used.
864 * Otherwise, it stores the error if any.
866 * The returned value must be freed by the caller using free().
868 xcb_selinux_get_device_context_reply_t
*
869 xcb_selinux_get_device_context_reply (xcb_connection_t
*c
/**< */,
870 xcb_selinux_get_device_context_cookie_t cookie
/**< */,
871 xcb_generic_error_t
**e
/**< */);
874 xcb_selinux_set_window_create_context_sizeof (const void *_buffer
/**< */);
878 * @param c The connection
881 * Delivers a request to the X server.
883 * This form can be used only if the request will not cause
884 * a reply to be generated. Any returned error will be
885 * saved for handling by xcb_request_check().
888 xcb_selinux_set_window_create_context_checked (xcb_connection_t
*c
/**< */,
889 uint32_t context_len
/**< */,
890 const char *context
/**< */);
894 * @param c The connection
897 * Delivers a request to the X server.
901 xcb_selinux_set_window_create_context (xcb_connection_t
*c
/**< */,
902 uint32_t context_len
/**< */,
903 const char *context
/**< */);
906 xcb_selinux_get_window_create_context_sizeof (const void *_buffer
/**< */);
910 * @param c The connection
913 * Delivers a request to the X server.
916 xcb_selinux_get_window_create_context_cookie_t
917 xcb_selinux_get_window_create_context (xcb_connection_t
*c
/**< */);
921 * @param c The connection
924 * Delivers a request to the X server.
926 * This form can be used only if the request will cause
927 * a reply to be generated. Any returned error will be
928 * placed in the event queue.
930 xcb_selinux_get_window_create_context_cookie_t
931 xcb_selinux_get_window_create_context_unchecked (xcb_connection_t
*c
/**< */);
934 xcb_selinux_get_window_create_context_context (const xcb_selinux_get_window_create_context_reply_t
*R
/**< */);
937 xcb_selinux_get_window_create_context_context_length (const xcb_selinux_get_window_create_context_reply_t
*R
/**< */);
939 xcb_generic_iterator_t
940 xcb_selinux_get_window_create_context_context_end (const xcb_selinux_get_window_create_context_reply_t
*R
/**< */);
944 * @param c The connection
945 * @param cookie The cookie
946 * @param e The xcb_generic_error_t supplied
948 * Returns the reply of the request asked by
950 * The parameter @p e supplied to this function must be NULL if
951 * xcb_selinux_get_window_create_context_unchecked(). is used.
952 * Otherwise, it stores the error if any.
954 * The returned value must be freed by the caller using free().
956 xcb_selinux_get_window_create_context_reply_t
*
957 xcb_selinux_get_window_create_context_reply (xcb_connection_t
*c
/**< */,
958 xcb_selinux_get_window_create_context_cookie_t cookie
/**< */,
959 xcb_generic_error_t
**e
/**< */);
962 xcb_selinux_get_window_context_sizeof (const void *_buffer
/**< */);
966 * @param c The connection
969 * Delivers a request to the X server.
972 xcb_selinux_get_window_context_cookie_t
973 xcb_selinux_get_window_context (xcb_connection_t
*c
/**< */,
974 xcb_window_t window
/**< */);
978 * @param c The connection
981 * Delivers a request to the X server.
983 * This form can be used only if the request will cause
984 * a reply to be generated. Any returned error will be
985 * placed in the event queue.
987 xcb_selinux_get_window_context_cookie_t
988 xcb_selinux_get_window_context_unchecked (xcb_connection_t
*c
/**< */,
989 xcb_window_t window
/**< */);
992 xcb_selinux_get_window_context_context (const xcb_selinux_get_window_context_reply_t
*R
/**< */);
995 xcb_selinux_get_window_context_context_length (const xcb_selinux_get_window_context_reply_t
*R
/**< */);
997 xcb_generic_iterator_t
998 xcb_selinux_get_window_context_context_end (const xcb_selinux_get_window_context_reply_t
*R
/**< */);
1002 * @param c The connection
1003 * @param cookie The cookie
1004 * @param e The xcb_generic_error_t supplied
1006 * Returns the reply of the request asked by
1008 * The parameter @p e supplied to this function must be NULL if
1009 * xcb_selinux_get_window_context_unchecked(). is used.
1010 * Otherwise, it stores the error if any.
1012 * The returned value must be freed by the caller using free().
1014 xcb_selinux_get_window_context_reply_t
*
1015 xcb_selinux_get_window_context_reply (xcb_connection_t
*c
/**< */,
1016 xcb_selinux_get_window_context_cookie_t cookie
/**< */,
1017 xcb_generic_error_t
**e
/**< */);
1020 xcb_selinux_list_item_sizeof (const void *_buffer
/**< */);
1023 xcb_selinux_list_item_object_context (const xcb_selinux_list_item_t
*R
/**< */);
1026 xcb_selinux_list_item_object_context_length (const xcb_selinux_list_item_t
*R
/**< */);
1028 xcb_generic_iterator_t
1029 xcb_selinux_list_item_object_context_end (const xcb_selinux_list_item_t
*R
/**< */);
1032 xcb_selinux_list_item_data_context (const xcb_selinux_list_item_t
*R
/**< */);
1035 xcb_selinux_list_item_data_context_length (const xcb_selinux_list_item_t
*R
/**< */);
1037 xcb_generic_iterator_t
1038 xcb_selinux_list_item_data_context_end (const xcb_selinux_list_item_t
*R
/**< */);
1041 * Get the next element of the iterator
1042 * @param i Pointer to a xcb_selinux_list_item_iterator_t
1044 * Get the next element in the iterator. The member rem is
1045 * decreased by one. The member data points to the next
1046 * element. The member index is increased by sizeof(xcb_selinux_list_item_t)
1049 xcb_selinux_list_item_next (xcb_selinux_list_item_iterator_t
*i
/**< */);
1052 * Return the iterator pointing to the last element
1053 * @param i An xcb_selinux_list_item_iterator_t
1054 * @return The iterator pointing to the last element
1056 * Set the current element in the iterator to the last element.
1057 * The member rem is set to 0. The member data points to the
1060 xcb_generic_iterator_t
1061 xcb_selinux_list_item_end (xcb_selinux_list_item_iterator_t i
/**< */);
1064 xcb_selinux_set_property_create_context_sizeof (const void *_buffer
/**< */);
1068 * @param c The connection
1071 * Delivers a request to the X server.
1073 * This form can be used only if the request will not cause
1074 * a reply to be generated. Any returned error will be
1075 * saved for handling by xcb_request_check().
1078 xcb_selinux_set_property_create_context_checked (xcb_connection_t
*c
/**< */,
1079 uint32_t context_len
/**< */,
1080 const char *context
/**< */);
1084 * @param c The connection
1087 * Delivers a request to the X server.
1091 xcb_selinux_set_property_create_context (xcb_connection_t
*c
/**< */,
1092 uint32_t context_len
/**< */,
1093 const char *context
/**< */);
1096 xcb_selinux_get_property_create_context_sizeof (const void *_buffer
/**< */);
1100 * @param c The connection
1103 * Delivers a request to the X server.
1106 xcb_selinux_get_property_create_context_cookie_t
1107 xcb_selinux_get_property_create_context (xcb_connection_t
*c
/**< */);
1111 * @param c The connection
1114 * Delivers a request to the X server.
1116 * This form can be used only if the request will cause
1117 * a reply to be generated. Any returned error will be
1118 * placed in the event queue.
1120 xcb_selinux_get_property_create_context_cookie_t
1121 xcb_selinux_get_property_create_context_unchecked (xcb_connection_t
*c
/**< */);
1124 xcb_selinux_get_property_create_context_context (const xcb_selinux_get_property_create_context_reply_t
*R
/**< */);
1127 xcb_selinux_get_property_create_context_context_length (const xcb_selinux_get_property_create_context_reply_t
*R
/**< */);
1129 xcb_generic_iterator_t
1130 xcb_selinux_get_property_create_context_context_end (const xcb_selinux_get_property_create_context_reply_t
*R
/**< */);
1134 * @param c The connection
1135 * @param cookie The cookie
1136 * @param e The xcb_generic_error_t supplied
1138 * Returns the reply of the request asked by
1140 * The parameter @p e supplied to this function must be NULL if
1141 * xcb_selinux_get_property_create_context_unchecked(). is used.
1142 * Otherwise, it stores the error if any.
1144 * The returned value must be freed by the caller using free().
1146 xcb_selinux_get_property_create_context_reply_t
*
1147 xcb_selinux_get_property_create_context_reply (xcb_connection_t
*c
/**< */,
1148 xcb_selinux_get_property_create_context_cookie_t cookie
/**< */,
1149 xcb_generic_error_t
**e
/**< */);
1152 xcb_selinux_set_property_use_context_sizeof (const void *_buffer
/**< */);
1156 * @param c The connection
1159 * Delivers a request to the X server.
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().
1166 xcb_selinux_set_property_use_context_checked (xcb_connection_t
*c
/**< */,
1167 uint32_t context_len
/**< */,
1168 const char *context
/**< */);
1172 * @param c The connection
1175 * Delivers a request to the X server.
1179 xcb_selinux_set_property_use_context (xcb_connection_t
*c
/**< */,
1180 uint32_t context_len
/**< */,
1181 const char *context
/**< */);
1184 xcb_selinux_get_property_use_context_sizeof (const void *_buffer
/**< */);
1188 * @param c The connection
1191 * Delivers a request to the X server.
1194 xcb_selinux_get_property_use_context_cookie_t
1195 xcb_selinux_get_property_use_context (xcb_connection_t
*c
/**< */);
1199 * @param c The connection
1202 * Delivers a request to the X server.
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.
1208 xcb_selinux_get_property_use_context_cookie_t
1209 xcb_selinux_get_property_use_context_unchecked (xcb_connection_t
*c
/**< */);
1212 xcb_selinux_get_property_use_context_context (const xcb_selinux_get_property_use_context_reply_t
*R
/**< */);
1215 xcb_selinux_get_property_use_context_context_length (const xcb_selinux_get_property_use_context_reply_t
*R
/**< */);
1217 xcb_generic_iterator_t
1218 xcb_selinux_get_property_use_context_context_end (const xcb_selinux_get_property_use_context_reply_t
*R
/**< */);
1222 * @param c The connection
1223 * @param cookie The cookie
1224 * @param e The xcb_generic_error_t supplied
1226 * Returns the reply of the request asked by
1228 * The parameter @p e supplied to this function must be NULL if
1229 * xcb_selinux_get_property_use_context_unchecked(). is used.
1230 * Otherwise, it stores the error if any.
1232 * The returned value must be freed by the caller using free().
1234 xcb_selinux_get_property_use_context_reply_t
*
1235 xcb_selinux_get_property_use_context_reply (xcb_connection_t
*c
/**< */,
1236 xcb_selinux_get_property_use_context_cookie_t cookie
/**< */,
1237 xcb_generic_error_t
**e
/**< */);
1240 xcb_selinux_get_property_context_sizeof (const void *_buffer
/**< */);
1244 * @param c The connection
1247 * Delivers a request to the X server.
1250 xcb_selinux_get_property_context_cookie_t
1251 xcb_selinux_get_property_context (xcb_connection_t
*c
/**< */,
1252 xcb_window_t window
/**< */,
1253 xcb_atom_t property
/**< */);
1257 * @param c The connection
1260 * Delivers a request to the X server.
1262 * This form can be used only if the request will cause
1263 * a reply to be generated. Any returned error will be
1264 * placed in the event queue.
1266 xcb_selinux_get_property_context_cookie_t
1267 xcb_selinux_get_property_context_unchecked (xcb_connection_t
*c
/**< */,
1268 xcb_window_t window
/**< */,
1269 xcb_atom_t property
/**< */);
1272 xcb_selinux_get_property_context_context (const xcb_selinux_get_property_context_reply_t
*R
/**< */);
1275 xcb_selinux_get_property_context_context_length (const xcb_selinux_get_property_context_reply_t
*R
/**< */);
1277 xcb_generic_iterator_t
1278 xcb_selinux_get_property_context_context_end (const xcb_selinux_get_property_context_reply_t
*R
/**< */);
1282 * @param c The connection
1283 * @param cookie The cookie
1284 * @param e The xcb_generic_error_t supplied
1286 * Returns the reply of the request asked by
1288 * The parameter @p e supplied to this function must be NULL if
1289 * xcb_selinux_get_property_context_unchecked(). is used.
1290 * Otherwise, it stores the error if any.
1292 * The returned value must be freed by the caller using free().
1294 xcb_selinux_get_property_context_reply_t
*
1295 xcb_selinux_get_property_context_reply (xcb_connection_t
*c
/**< */,
1296 xcb_selinux_get_property_context_cookie_t cookie
/**< */,
1297 xcb_generic_error_t
**e
/**< */);
1300 xcb_selinux_get_property_data_context_sizeof (const void *_buffer
/**< */);
1304 * @param c The connection
1307 * Delivers a request to the X server.
1310 xcb_selinux_get_property_data_context_cookie_t
1311 xcb_selinux_get_property_data_context (xcb_connection_t
*c
/**< */,
1312 xcb_window_t window
/**< */,
1313 xcb_atom_t property
/**< */);
1317 * @param c The connection
1320 * Delivers a request to the X server.
1322 * This form can be used only if the request will cause
1323 * a reply to be generated. Any returned error will be
1324 * placed in the event queue.
1326 xcb_selinux_get_property_data_context_cookie_t
1327 xcb_selinux_get_property_data_context_unchecked (xcb_connection_t
*c
/**< */,
1328 xcb_window_t window
/**< */,
1329 xcb_atom_t property
/**< */);
1332 xcb_selinux_get_property_data_context_context (const xcb_selinux_get_property_data_context_reply_t
*R
/**< */);
1335 xcb_selinux_get_property_data_context_context_length (const xcb_selinux_get_property_data_context_reply_t
*R
/**< */);
1337 xcb_generic_iterator_t
1338 xcb_selinux_get_property_data_context_context_end (const xcb_selinux_get_property_data_context_reply_t
*R
/**< */);
1342 * @param c The connection
1343 * @param cookie The cookie
1344 * @param e The xcb_generic_error_t supplied
1346 * Returns the reply of the request asked by
1348 * The parameter @p e supplied to this function must be NULL if
1349 * xcb_selinux_get_property_data_context_unchecked(). is used.
1350 * Otherwise, it stores the error if any.
1352 * The returned value must be freed by the caller using free().
1354 xcb_selinux_get_property_data_context_reply_t
*
1355 xcb_selinux_get_property_data_context_reply (xcb_connection_t
*c
/**< */,
1356 xcb_selinux_get_property_data_context_cookie_t cookie
/**< */,
1357 xcb_generic_error_t
**e
/**< */);
1360 xcb_selinux_list_properties_sizeof (const void *_buffer
/**< */);
1364 * @param c The connection
1367 * Delivers a request to the X server.
1370 xcb_selinux_list_properties_cookie_t
1371 xcb_selinux_list_properties (xcb_connection_t
*c
/**< */,
1372 xcb_window_t window
/**< */);
1376 * @param c The connection
1379 * Delivers a request to the X server.
1381 * This form can be used only if the request will cause
1382 * a reply to be generated. Any returned error will be
1383 * placed in the event queue.
1385 xcb_selinux_list_properties_cookie_t
1386 xcb_selinux_list_properties_unchecked (xcb_connection_t
*c
/**< */,
1387 xcb_window_t window
/**< */);
1390 xcb_selinux_list_properties_properties_length (const xcb_selinux_list_properties_reply_t
*R
/**< */);
1392 xcb_selinux_list_item_iterator_t
1393 xcb_selinux_list_properties_properties_iterator (const xcb_selinux_list_properties_reply_t
*R
/**< */);
1397 * @param c The connection
1398 * @param cookie The cookie
1399 * @param e The xcb_generic_error_t supplied
1401 * Returns the reply of the request asked by
1403 * The parameter @p e supplied to this function must be NULL if
1404 * xcb_selinux_list_properties_unchecked(). is used.
1405 * Otherwise, it stores the error if any.
1407 * The returned value must be freed by the caller using free().
1409 xcb_selinux_list_properties_reply_t
*
1410 xcb_selinux_list_properties_reply (xcb_connection_t
*c
/**< */,
1411 xcb_selinux_list_properties_cookie_t cookie
/**< */,
1412 xcb_generic_error_t
**e
/**< */);
1415 xcb_selinux_set_selection_create_context_sizeof (const void *_buffer
/**< */);
1419 * @param c The connection
1422 * Delivers a request to the X server.
1424 * This form can be used only if the request will not cause
1425 * a reply to be generated. Any returned error will be
1426 * saved for handling by xcb_request_check().
1429 xcb_selinux_set_selection_create_context_checked (xcb_connection_t
*c
/**< */,
1430 uint32_t context_len
/**< */,
1431 const char *context
/**< */);
1435 * @param c The connection
1438 * Delivers a request to the X server.
1442 xcb_selinux_set_selection_create_context (xcb_connection_t
*c
/**< */,
1443 uint32_t context_len
/**< */,
1444 const char *context
/**< */);
1447 xcb_selinux_get_selection_create_context_sizeof (const void *_buffer
/**< */);
1451 * @param c The connection
1454 * Delivers a request to the X server.
1457 xcb_selinux_get_selection_create_context_cookie_t
1458 xcb_selinux_get_selection_create_context (xcb_connection_t
*c
/**< */);
1462 * @param c The connection
1465 * Delivers a request to the X server.
1467 * This form can be used only if the request will cause
1468 * a reply to be generated. Any returned error will be
1469 * placed in the event queue.
1471 xcb_selinux_get_selection_create_context_cookie_t
1472 xcb_selinux_get_selection_create_context_unchecked (xcb_connection_t
*c
/**< */);
1475 xcb_selinux_get_selection_create_context_context (const xcb_selinux_get_selection_create_context_reply_t
*R
/**< */);
1478 xcb_selinux_get_selection_create_context_context_length (const xcb_selinux_get_selection_create_context_reply_t
*R
/**< */);
1480 xcb_generic_iterator_t
1481 xcb_selinux_get_selection_create_context_context_end (const xcb_selinux_get_selection_create_context_reply_t
*R
/**< */);
1485 * @param c The connection
1486 * @param cookie The cookie
1487 * @param e The xcb_generic_error_t supplied
1489 * Returns the reply of the request asked by
1491 * The parameter @p e supplied to this function must be NULL if
1492 * xcb_selinux_get_selection_create_context_unchecked(). is used.
1493 * Otherwise, it stores the error if any.
1495 * The returned value must be freed by the caller using free().
1497 xcb_selinux_get_selection_create_context_reply_t
*
1498 xcb_selinux_get_selection_create_context_reply (xcb_connection_t
*c
/**< */,
1499 xcb_selinux_get_selection_create_context_cookie_t cookie
/**< */,
1500 xcb_generic_error_t
**e
/**< */);
1503 xcb_selinux_set_selection_use_context_sizeof (const void *_buffer
/**< */);
1507 * @param c The connection
1510 * Delivers a request to the X server.
1512 * This form can be used only if the request will not cause
1513 * a reply to be generated. Any returned error will be
1514 * saved for handling by xcb_request_check().
1517 xcb_selinux_set_selection_use_context_checked (xcb_connection_t
*c
/**< */,
1518 uint32_t context_len
/**< */,
1519 const char *context
/**< */);
1523 * @param c The connection
1526 * Delivers a request to the X server.
1530 xcb_selinux_set_selection_use_context (xcb_connection_t
*c
/**< */,
1531 uint32_t context_len
/**< */,
1532 const char *context
/**< */);
1535 xcb_selinux_get_selection_use_context_sizeof (const void *_buffer
/**< */);
1539 * @param c The connection
1542 * Delivers a request to the X server.
1545 xcb_selinux_get_selection_use_context_cookie_t
1546 xcb_selinux_get_selection_use_context (xcb_connection_t
*c
/**< */);
1550 * @param c The connection
1553 * Delivers a request to the X server.
1555 * This form can be used only if the request will cause
1556 * a reply to be generated. Any returned error will be
1557 * placed in the event queue.
1559 xcb_selinux_get_selection_use_context_cookie_t
1560 xcb_selinux_get_selection_use_context_unchecked (xcb_connection_t
*c
/**< */);
1563 xcb_selinux_get_selection_use_context_context (const xcb_selinux_get_selection_use_context_reply_t
*R
/**< */);
1566 xcb_selinux_get_selection_use_context_context_length (const xcb_selinux_get_selection_use_context_reply_t
*R
/**< */);
1568 xcb_generic_iterator_t
1569 xcb_selinux_get_selection_use_context_context_end (const xcb_selinux_get_selection_use_context_reply_t
*R
/**< */);
1573 * @param c The connection
1574 * @param cookie The cookie
1575 * @param e The xcb_generic_error_t supplied
1577 * Returns the reply of the request asked by
1579 * The parameter @p e supplied to this function must be NULL if
1580 * xcb_selinux_get_selection_use_context_unchecked(). is used.
1581 * Otherwise, it stores the error if any.
1583 * The returned value must be freed by the caller using free().
1585 xcb_selinux_get_selection_use_context_reply_t
*
1586 xcb_selinux_get_selection_use_context_reply (xcb_connection_t
*c
/**< */,
1587 xcb_selinux_get_selection_use_context_cookie_t cookie
/**< */,
1588 xcb_generic_error_t
**e
/**< */);
1591 xcb_selinux_get_selection_context_sizeof (const void *_buffer
/**< */);
1595 * @param c The connection
1598 * Delivers a request to the X server.
1601 xcb_selinux_get_selection_context_cookie_t
1602 xcb_selinux_get_selection_context (xcb_connection_t
*c
/**< */,
1603 xcb_atom_t selection
/**< */);
1607 * @param c The connection
1610 * Delivers a request to the X server.
1612 * This form can be used only if the request will cause
1613 * a reply to be generated. Any returned error will be
1614 * placed in the event queue.
1616 xcb_selinux_get_selection_context_cookie_t
1617 xcb_selinux_get_selection_context_unchecked (xcb_connection_t
*c
/**< */,
1618 xcb_atom_t selection
/**< */);
1621 xcb_selinux_get_selection_context_context (const xcb_selinux_get_selection_context_reply_t
*R
/**< */);
1624 xcb_selinux_get_selection_context_context_length (const xcb_selinux_get_selection_context_reply_t
*R
/**< */);
1626 xcb_generic_iterator_t
1627 xcb_selinux_get_selection_context_context_end (const xcb_selinux_get_selection_context_reply_t
*R
/**< */);
1631 * @param c The connection
1632 * @param cookie The cookie
1633 * @param e The xcb_generic_error_t supplied
1635 * Returns the reply of the request asked by
1637 * The parameter @p e supplied to this function must be NULL if
1638 * xcb_selinux_get_selection_context_unchecked(). is used.
1639 * Otherwise, it stores the error if any.
1641 * The returned value must be freed by the caller using free().
1643 xcb_selinux_get_selection_context_reply_t
*
1644 xcb_selinux_get_selection_context_reply (xcb_connection_t
*c
/**< */,
1645 xcb_selinux_get_selection_context_cookie_t cookie
/**< */,
1646 xcb_generic_error_t
**e
/**< */);
1649 xcb_selinux_get_selection_data_context_sizeof (const void *_buffer
/**< */);
1653 * @param c The connection
1656 * Delivers a request to the X server.
1659 xcb_selinux_get_selection_data_context_cookie_t
1660 xcb_selinux_get_selection_data_context (xcb_connection_t
*c
/**< */,
1661 xcb_atom_t selection
/**< */);
1665 * @param c The connection
1668 * Delivers a request to the X server.
1670 * This form can be used only if the request will cause
1671 * a reply to be generated. Any returned error will be
1672 * placed in the event queue.
1674 xcb_selinux_get_selection_data_context_cookie_t
1675 xcb_selinux_get_selection_data_context_unchecked (xcb_connection_t
*c
/**< */,
1676 xcb_atom_t selection
/**< */);
1679 xcb_selinux_get_selection_data_context_context (const xcb_selinux_get_selection_data_context_reply_t
*R
/**< */);
1682 xcb_selinux_get_selection_data_context_context_length (const xcb_selinux_get_selection_data_context_reply_t
*R
/**< */);
1684 xcb_generic_iterator_t
1685 xcb_selinux_get_selection_data_context_context_end (const xcb_selinux_get_selection_data_context_reply_t
*R
/**< */);
1689 * @param c The connection
1690 * @param cookie The cookie
1691 * @param e The xcb_generic_error_t supplied
1693 * Returns the reply of the request asked by
1695 * The parameter @p e supplied to this function must be NULL if
1696 * xcb_selinux_get_selection_data_context_unchecked(). is used.
1697 * Otherwise, it stores the error if any.
1699 * The returned value must be freed by the caller using free().
1701 xcb_selinux_get_selection_data_context_reply_t
*
1702 xcb_selinux_get_selection_data_context_reply (xcb_connection_t
*c
/**< */,
1703 xcb_selinux_get_selection_data_context_cookie_t cookie
/**< */,
1704 xcb_generic_error_t
**e
/**< */);
1707 xcb_selinux_list_selections_sizeof (const void *_buffer
/**< */);
1711 * @param c The connection
1714 * Delivers a request to the X server.
1717 xcb_selinux_list_selections_cookie_t
1718 xcb_selinux_list_selections (xcb_connection_t
*c
/**< */);
1722 * @param c The connection
1725 * Delivers a request to the X server.
1727 * This form can be used only if the request will cause
1728 * a reply to be generated. Any returned error will be
1729 * placed in the event queue.
1731 xcb_selinux_list_selections_cookie_t
1732 xcb_selinux_list_selections_unchecked (xcb_connection_t
*c
/**< */);
1735 xcb_selinux_list_selections_selections_length (const xcb_selinux_list_selections_reply_t
*R
/**< */);
1737 xcb_selinux_list_item_iterator_t
1738 xcb_selinux_list_selections_selections_iterator (const xcb_selinux_list_selections_reply_t
*R
/**< */);
1742 * @param c The connection
1743 * @param cookie The cookie
1744 * @param e The xcb_generic_error_t supplied
1746 * Returns the reply of the request asked by
1748 * The parameter @p e supplied to this function must be NULL if
1749 * xcb_selinux_list_selections_unchecked(). is used.
1750 * Otherwise, it stores the error if any.
1752 * The returned value must be freed by the caller using free().
1754 xcb_selinux_list_selections_reply_t
*
1755 xcb_selinux_list_selections_reply (xcb_connection_t
*c
/**< */,
1756 xcb_selinux_list_selections_cookie_t cookie
/**< */,
1757 xcb_generic_error_t
**e
/**< */);
1760 xcb_selinux_get_client_context_sizeof (const void *_buffer
/**< */);
1764 * @param c The connection
1767 * Delivers a request to the X server.
1770 xcb_selinux_get_client_context_cookie_t
1771 xcb_selinux_get_client_context (xcb_connection_t
*c
/**< */,
1772 uint32_t resource
/**< */);
1776 * @param c The connection
1779 * Delivers a request to the X server.
1781 * This form can be used only if the request will cause
1782 * a reply to be generated. Any returned error will be
1783 * placed in the event queue.
1785 xcb_selinux_get_client_context_cookie_t
1786 xcb_selinux_get_client_context_unchecked (xcb_connection_t
*c
/**< */,
1787 uint32_t resource
/**< */);
1790 xcb_selinux_get_client_context_context (const xcb_selinux_get_client_context_reply_t
*R
/**< */);
1793 xcb_selinux_get_client_context_context_length (const xcb_selinux_get_client_context_reply_t
*R
/**< */);
1795 xcb_generic_iterator_t
1796 xcb_selinux_get_client_context_context_end (const xcb_selinux_get_client_context_reply_t
*R
/**< */);
1800 * @param c The connection
1801 * @param cookie The cookie
1802 * @param e The xcb_generic_error_t supplied
1804 * Returns the reply of the request asked by
1806 * The parameter @p e supplied to this function must be NULL if
1807 * xcb_selinux_get_client_context_unchecked(). is used.
1808 * Otherwise, it stores the error if any.
1810 * The returned value must be freed by the caller using free().
1812 xcb_selinux_get_client_context_reply_t
*
1813 xcb_selinux_get_client_context_reply (xcb_connection_t
*c
/**< */,
1814 xcb_selinux_get_client_context_cookie_t cookie
/**< */,
1815 xcb_generic_error_t
**e
/**< */);