Mercurial > repos > rliterman > csp2
comparison CSP2/CSP2_env/env-d9b9114564458d9d-741b3de822f2aaca6c6caa4325c4afce/include/xcb/xselinux.h @ 69:33d812a61356
planemo upload commit 2e9511a184a1ca667c7be0c6321a36dc4e3d116d
author | jpayne |
---|---|
date | Tue, 18 Mar 2025 17:55:14 -0400 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
67:0e9998148a16 | 69:33d812a61356 |
---|---|
1 /* | |
2 * This file generated automatically from xselinux.xml by c_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 #ifndef __XSELINUX_H | |
13 #define __XSELINUX_H | |
14 | |
15 #include "xcb.h" | |
16 #include "xproto.h" | |
17 | |
18 #ifdef __cplusplus | |
19 extern "C" { | |
20 #endif | |
21 | |
22 #define XCB_SELINUX_MAJOR_VERSION 1 | |
23 #define XCB_SELINUX_MINOR_VERSION 0 | |
24 | |
25 extern xcb_extension_t xcb_selinux_id; | |
26 | |
27 /** | |
28 * @brief xcb_selinux_query_version_cookie_t | |
29 **/ | |
30 typedef struct xcb_selinux_query_version_cookie_t { | |
31 unsigned int sequence; | |
32 } xcb_selinux_query_version_cookie_t; | |
33 | |
34 /** Opcode for xcb_selinux_query_version. */ | |
35 #define XCB_SELINUX_QUERY_VERSION 0 | |
36 | |
37 /** | |
38 * @brief xcb_selinux_query_version_request_t | |
39 **/ | |
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; | |
47 | |
48 /** | |
49 * @brief xcb_selinux_query_version_reply_t | |
50 **/ | |
51 typedef struct xcb_selinux_query_version_reply_t { | |
52 uint8_t response_type; | |
53 uint8_t pad0; | |
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; | |
59 | |
60 /** Opcode for xcb_selinux_set_device_create_context. */ | |
61 #define XCB_SELINUX_SET_DEVICE_CREATE_CONTEXT 1 | |
62 | |
63 /** | |
64 * @brief xcb_selinux_set_device_create_context_request_t | |
65 **/ | |
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; | |
72 | |
73 /** | |
74 * @brief xcb_selinux_get_device_create_context_cookie_t | |
75 **/ | |
76 typedef struct xcb_selinux_get_device_create_context_cookie_t { | |
77 unsigned int sequence; | |
78 } xcb_selinux_get_device_create_context_cookie_t; | |
79 | |
80 /** Opcode for xcb_selinux_get_device_create_context. */ | |
81 #define XCB_SELINUX_GET_DEVICE_CREATE_CONTEXT 2 | |
82 | |
83 /** | |
84 * @brief xcb_selinux_get_device_create_context_request_t | |
85 **/ | |
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; | |
91 | |
92 /** | |
93 * @brief xcb_selinux_get_device_create_context_reply_t | |
94 **/ | |
95 typedef struct xcb_selinux_get_device_create_context_reply_t { | |
96 uint8_t response_type; | |
97 uint8_t pad0; | |
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; | |
103 | |
104 /** Opcode for xcb_selinux_set_device_context. */ | |
105 #define XCB_SELINUX_SET_DEVICE_CONTEXT 3 | |
106 | |
107 /** | |
108 * @brief xcb_selinux_set_device_context_request_t | |
109 **/ | |
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; | |
117 | |
118 /** | |
119 * @brief xcb_selinux_get_device_context_cookie_t | |
120 **/ | |
121 typedef struct xcb_selinux_get_device_context_cookie_t { | |
122 unsigned int sequence; | |
123 } xcb_selinux_get_device_context_cookie_t; | |
124 | |
125 /** Opcode for xcb_selinux_get_device_context. */ | |
126 #define XCB_SELINUX_GET_DEVICE_CONTEXT 4 | |
127 | |
128 /** | |
129 * @brief xcb_selinux_get_device_context_request_t | |
130 **/ | |
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; | |
137 | |
138 /** | |
139 * @brief xcb_selinux_get_device_context_reply_t | |
140 **/ | |
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; | |
149 | |
150 /** Opcode for xcb_selinux_set_window_create_context. */ | |
151 #define XCB_SELINUX_SET_WINDOW_CREATE_CONTEXT 5 | |
152 | |
153 /** | |
154 * @brief xcb_selinux_set_window_create_context_request_t | |
155 **/ | |
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; | |
162 | |
163 /** | |
164 * @brief xcb_selinux_get_window_create_context_cookie_t | |
165 **/ | |
166 typedef struct xcb_selinux_get_window_create_context_cookie_t { | |
167 unsigned int sequence; | |
168 } xcb_selinux_get_window_create_context_cookie_t; | |
169 | |
170 /** Opcode for xcb_selinux_get_window_create_context. */ | |
171 #define XCB_SELINUX_GET_WINDOW_CREATE_CONTEXT 6 | |
172 | |
173 /** | |
174 * @brief xcb_selinux_get_window_create_context_request_t | |
175 **/ | |
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; | |
181 | |
182 /** | |
183 * @brief xcb_selinux_get_window_create_context_reply_t | |
184 **/ | |
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; | |
193 | |
194 /** | |
195 * @brief xcb_selinux_get_window_context_cookie_t | |
196 **/ | |
197 typedef struct xcb_selinux_get_window_context_cookie_t { | |
198 unsigned int sequence; | |
199 } xcb_selinux_get_window_context_cookie_t; | |
200 | |
201 /** Opcode for xcb_selinux_get_window_context. */ | |
202 #define XCB_SELINUX_GET_WINDOW_CONTEXT 7 | |
203 | |
204 /** | |
205 * @brief xcb_selinux_get_window_context_request_t | |
206 **/ | |
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; | |
213 | |
214 /** | |
215 * @brief xcb_selinux_get_window_context_reply_t | |
216 **/ | |
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; | |
225 | |
226 /** | |
227 * @brief xcb_selinux_list_item_t | |
228 **/ | |
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; | |
234 | |
235 /** | |
236 * @brief xcb_selinux_list_item_iterator_t | |
237 **/ | |
238 typedef struct xcb_selinux_list_item_iterator_t { | |
239 xcb_selinux_list_item_t *data; | |
240 int rem; | |
241 int index; | |
242 } xcb_selinux_list_item_iterator_t; | |
243 | |
244 /** Opcode for xcb_selinux_set_property_create_context. */ | |
245 #define XCB_SELINUX_SET_PROPERTY_CREATE_CONTEXT 8 | |
246 | |
247 /** | |
248 * @brief xcb_selinux_set_property_create_context_request_t | |
249 **/ | |
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; | |
256 | |
257 /** | |
258 * @brief xcb_selinux_get_property_create_context_cookie_t | |
259 **/ | |
260 typedef struct xcb_selinux_get_property_create_context_cookie_t { | |
261 unsigned int sequence; | |
262 } xcb_selinux_get_property_create_context_cookie_t; | |
263 | |
264 /** Opcode for xcb_selinux_get_property_create_context. */ | |
265 #define XCB_SELINUX_GET_PROPERTY_CREATE_CONTEXT 9 | |
266 | |
267 /** | |
268 * @brief xcb_selinux_get_property_create_context_request_t | |
269 **/ | |
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; | |
275 | |
276 /** | |
277 * @brief xcb_selinux_get_property_create_context_reply_t | |
278 **/ | |
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; | |
287 | |
288 /** Opcode for xcb_selinux_set_property_use_context. */ | |
289 #define XCB_SELINUX_SET_PROPERTY_USE_CONTEXT 10 | |
290 | |
291 /** | |
292 * @brief xcb_selinux_set_property_use_context_request_t | |
293 **/ | |
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; | |
300 | |
301 /** | |
302 * @brief xcb_selinux_get_property_use_context_cookie_t | |
303 **/ | |
304 typedef struct xcb_selinux_get_property_use_context_cookie_t { | |
305 unsigned int sequence; | |
306 } xcb_selinux_get_property_use_context_cookie_t; | |
307 | |
308 /** Opcode for xcb_selinux_get_property_use_context. */ | |
309 #define XCB_SELINUX_GET_PROPERTY_USE_CONTEXT 11 | |
310 | |
311 /** | |
312 * @brief xcb_selinux_get_property_use_context_request_t | |
313 **/ | |
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; | |
319 | |
320 /** | |
321 * @brief xcb_selinux_get_property_use_context_reply_t | |
322 **/ | |
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; | |
331 | |
332 /** | |
333 * @brief xcb_selinux_get_property_context_cookie_t | |
334 **/ | |
335 typedef struct xcb_selinux_get_property_context_cookie_t { | |
336 unsigned int sequence; | |
337 } xcb_selinux_get_property_context_cookie_t; | |
338 | |
339 /** Opcode for xcb_selinux_get_property_context. */ | |
340 #define XCB_SELINUX_GET_PROPERTY_CONTEXT 12 | |
341 | |
342 /** | |
343 * @brief xcb_selinux_get_property_context_request_t | |
344 **/ | |
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; | |
352 | |
353 /** | |
354 * @brief xcb_selinux_get_property_context_reply_t | |
355 **/ | |
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; | |
364 | |
365 /** | |
366 * @brief xcb_selinux_get_property_data_context_cookie_t | |
367 **/ | |
368 typedef struct xcb_selinux_get_property_data_context_cookie_t { | |
369 unsigned int sequence; | |
370 } xcb_selinux_get_property_data_context_cookie_t; | |
371 | |
372 /** Opcode for xcb_selinux_get_property_data_context. */ | |
373 #define XCB_SELINUX_GET_PROPERTY_DATA_CONTEXT 13 | |
374 | |
375 /** | |
376 * @brief xcb_selinux_get_property_data_context_request_t | |
377 **/ | |
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; | |
385 | |
386 /** | |
387 * @brief xcb_selinux_get_property_data_context_reply_t | |
388 **/ | |
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; | |
397 | |
398 /** | |
399 * @brief xcb_selinux_list_properties_cookie_t | |
400 **/ | |
401 typedef struct xcb_selinux_list_properties_cookie_t { | |
402 unsigned int sequence; | |
403 } xcb_selinux_list_properties_cookie_t; | |
404 | |
405 /** Opcode for xcb_selinux_list_properties. */ | |
406 #define XCB_SELINUX_LIST_PROPERTIES 14 | |
407 | |
408 /** | |
409 * @brief xcb_selinux_list_properties_request_t | |
410 **/ | |
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; | |
417 | |
418 /** | |
419 * @brief xcb_selinux_list_properties_reply_t | |
420 **/ | |
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; | |
429 | |
430 /** Opcode for xcb_selinux_set_selection_create_context. */ | |
431 #define XCB_SELINUX_SET_SELECTION_CREATE_CONTEXT 15 | |
432 | |
433 /** | |
434 * @brief xcb_selinux_set_selection_create_context_request_t | |
435 **/ | |
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; | |
442 | |
443 /** | |
444 * @brief xcb_selinux_get_selection_create_context_cookie_t | |
445 **/ | |
446 typedef struct xcb_selinux_get_selection_create_context_cookie_t { | |
447 unsigned int sequence; | |
448 } xcb_selinux_get_selection_create_context_cookie_t; | |
449 | |
450 /** Opcode for xcb_selinux_get_selection_create_context. */ | |
451 #define XCB_SELINUX_GET_SELECTION_CREATE_CONTEXT 16 | |
452 | |
453 /** | |
454 * @brief xcb_selinux_get_selection_create_context_request_t | |
455 **/ | |
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; | |
461 | |
462 /** | |
463 * @brief xcb_selinux_get_selection_create_context_reply_t | |
464 **/ | |
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; | |
473 | |
474 /** Opcode for xcb_selinux_set_selection_use_context. */ | |
475 #define XCB_SELINUX_SET_SELECTION_USE_CONTEXT 17 | |
476 | |
477 /** | |
478 * @brief xcb_selinux_set_selection_use_context_request_t | |
479 **/ | |
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; | |
486 | |
487 /** | |
488 * @brief xcb_selinux_get_selection_use_context_cookie_t | |
489 **/ | |
490 typedef struct xcb_selinux_get_selection_use_context_cookie_t { | |
491 unsigned int sequence; | |
492 } xcb_selinux_get_selection_use_context_cookie_t; | |
493 | |
494 /** Opcode for xcb_selinux_get_selection_use_context. */ | |
495 #define XCB_SELINUX_GET_SELECTION_USE_CONTEXT 18 | |
496 | |
497 /** | |
498 * @brief xcb_selinux_get_selection_use_context_request_t | |
499 **/ | |
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; | |
505 | |
506 /** | |
507 * @brief xcb_selinux_get_selection_use_context_reply_t | |
508 **/ | |
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; | |
517 | |
518 /** | |
519 * @brief xcb_selinux_get_selection_context_cookie_t | |
520 **/ | |
521 typedef struct xcb_selinux_get_selection_context_cookie_t { | |
522 unsigned int sequence; | |
523 } xcb_selinux_get_selection_context_cookie_t; | |
524 | |
525 /** Opcode for xcb_selinux_get_selection_context. */ | |
526 #define XCB_SELINUX_GET_SELECTION_CONTEXT 19 | |
527 | |
528 /** | |
529 * @brief xcb_selinux_get_selection_context_request_t | |
530 **/ | |
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; | |
537 | |
538 /** | |
539 * @brief xcb_selinux_get_selection_context_reply_t | |
540 **/ | |
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; | |
549 | |
550 /** | |
551 * @brief xcb_selinux_get_selection_data_context_cookie_t | |
552 **/ | |
553 typedef struct xcb_selinux_get_selection_data_context_cookie_t { | |
554 unsigned int sequence; | |
555 } xcb_selinux_get_selection_data_context_cookie_t; | |
556 | |
557 /** Opcode for xcb_selinux_get_selection_data_context. */ | |
558 #define XCB_SELINUX_GET_SELECTION_DATA_CONTEXT 20 | |
559 | |
560 /** | |
561 * @brief xcb_selinux_get_selection_data_context_request_t | |
562 **/ | |
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; | |
569 | |
570 /** | |
571 * @brief xcb_selinux_get_selection_data_context_reply_t | |
572 **/ | |
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; | |
581 | |
582 /** | |
583 * @brief xcb_selinux_list_selections_cookie_t | |
584 **/ | |
585 typedef struct xcb_selinux_list_selections_cookie_t { | |
586 unsigned int sequence; | |
587 } xcb_selinux_list_selections_cookie_t; | |
588 | |
589 /** Opcode for xcb_selinux_list_selections. */ | |
590 #define XCB_SELINUX_LIST_SELECTIONS 21 | |
591 | |
592 /** | |
593 * @brief xcb_selinux_list_selections_request_t | |
594 **/ | |
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; | |
600 | |
601 /** | |
602 * @brief xcb_selinux_list_selections_reply_t | |
603 **/ | |
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; | |
612 | |
613 /** | |
614 * @brief xcb_selinux_get_client_context_cookie_t | |
615 **/ | |
616 typedef struct xcb_selinux_get_client_context_cookie_t { | |
617 unsigned int sequence; | |
618 } xcb_selinux_get_client_context_cookie_t; | |
619 | |
620 /** Opcode for xcb_selinux_get_client_context. */ | |
621 #define XCB_SELINUX_GET_CLIENT_CONTEXT 22 | |
622 | |
623 /** | |
624 * @brief xcb_selinux_get_client_context_request_t | |
625 **/ | |
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; | |
632 | |
633 /** | |
634 * @brief xcb_selinux_get_client_context_reply_t | |
635 **/ | |
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; | |
644 | |
645 /** | |
646 * | |
647 * @param c The connection | |
648 * @return A cookie | |
649 * | |
650 * Delivers a request to the X server. | |
651 * | |
652 */ | |
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); | |
657 | |
658 /** | |
659 * | |
660 * @param c The connection | |
661 * @return A cookie | |
662 * | |
663 * Delivers a request to the X server. | |
664 * | |
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. | |
668 */ | |
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); | |
673 | |
674 /** | |
675 * Return the reply | |
676 * @param c The connection | |
677 * @param cookie The cookie | |
678 * @param e The xcb_generic_error_t supplied | |
679 * | |
680 * Returns the reply of the request asked by | |
681 * | |
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. | |
685 * | |
686 * The returned value must be freed by the caller using free(). | |
687 */ | |
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); | |
692 | |
693 int | |
694 xcb_selinux_set_device_create_context_sizeof (const void *_buffer); | |
695 | |
696 /** | |
697 * | |
698 * @param c The connection | |
699 * @return A cookie | |
700 * | |
701 * Delivers a request to the X server. | |
702 * | |
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(). | |
706 */ | |
707 xcb_void_cookie_t | |
708 xcb_selinux_set_device_create_context_checked (xcb_connection_t *c, | |
709 uint32_t context_len, | |
710 const char *context); | |
711 | |
712 /** | |
713 * | |
714 * @param c The connection | |
715 * @return A cookie | |
716 * | |
717 * Delivers a request to the X server. | |
718 * | |
719 */ | |
720 xcb_void_cookie_t | |
721 xcb_selinux_set_device_create_context (xcb_connection_t *c, | |
722 uint32_t context_len, | |
723 const char *context); | |
724 | |
725 char * | |
726 xcb_selinux_set_device_create_context_context (const xcb_selinux_set_device_create_context_request_t *R); | |
727 | |
728 int | |
729 xcb_selinux_set_device_create_context_context_length (const xcb_selinux_set_device_create_context_request_t *R); | |
730 | |
731 xcb_generic_iterator_t | |
732 xcb_selinux_set_device_create_context_context_end (const xcb_selinux_set_device_create_context_request_t *R); | |
733 | |
734 int | |
735 xcb_selinux_get_device_create_context_sizeof (const void *_buffer); | |
736 | |
737 /** | |
738 * | |
739 * @param c The connection | |
740 * @return A cookie | |
741 * | |
742 * Delivers a request to the X server. | |
743 * | |
744 */ | |
745 xcb_selinux_get_device_create_context_cookie_t | |
746 xcb_selinux_get_device_create_context (xcb_connection_t *c); | |
747 | |
748 /** | |
749 * | |
750 * @param c The connection | |
751 * @return A cookie | |
752 * | |
753 * Delivers a request to the X server. | |
754 * | |
755 * This form can be used only if the request will cause | |
756 * a reply to be generated. Any returned error will be | |
757 * placed in the event queue. | |
758 */ | |
759 xcb_selinux_get_device_create_context_cookie_t | |
760 xcb_selinux_get_device_create_context_unchecked (xcb_connection_t *c); | |
761 | |
762 char * | |
763 xcb_selinux_get_device_create_context_context (const xcb_selinux_get_device_create_context_reply_t *R); | |
764 | |
765 int | |
766 xcb_selinux_get_device_create_context_context_length (const xcb_selinux_get_device_create_context_reply_t *R); | |
767 | |
768 xcb_generic_iterator_t | |
769 xcb_selinux_get_device_create_context_context_end (const xcb_selinux_get_device_create_context_reply_t *R); | |
770 | |
771 /** | |
772 * Return the reply | |
773 * @param c The connection | |
774 * @param cookie The cookie | |
775 * @param e The xcb_generic_error_t supplied | |
776 * | |
777 * Returns the reply of the request asked by | |
778 * | |
779 * The parameter @p e supplied to this function must be NULL if | |
780 * xcb_selinux_get_device_create_context_unchecked(). is used. | |
781 * Otherwise, it stores the error if any. | |
782 * | |
783 * The returned value must be freed by the caller using free(). | |
784 */ | |
785 xcb_selinux_get_device_create_context_reply_t * | |
786 xcb_selinux_get_device_create_context_reply (xcb_connection_t *c, | |
787 xcb_selinux_get_device_create_context_cookie_t cookie /**< */, | |
788 xcb_generic_error_t **e); | |
789 | |
790 int | |
791 xcb_selinux_set_device_context_sizeof (const void *_buffer); | |
792 | |
793 /** | |
794 * | |
795 * @param c The connection | |
796 * @return A cookie | |
797 * | |
798 * Delivers a request to the X server. | |
799 * | |
800 * This form can be used only if the request will not cause | |
801 * a reply to be generated. Any returned error will be | |
802 * saved for handling by xcb_request_check(). | |
803 */ | |
804 xcb_void_cookie_t | |
805 xcb_selinux_set_device_context_checked (xcb_connection_t *c, | |
806 uint32_t device, | |
807 uint32_t context_len, | |
808 const char *context); | |
809 | |
810 /** | |
811 * | |
812 * @param c The connection | |
813 * @return A cookie | |
814 * | |
815 * Delivers a request to the X server. | |
816 * | |
817 */ | |
818 xcb_void_cookie_t | |
819 xcb_selinux_set_device_context (xcb_connection_t *c, | |
820 uint32_t device, | |
821 uint32_t context_len, | |
822 const char *context); | |
823 | |
824 char * | |
825 xcb_selinux_set_device_context_context (const xcb_selinux_set_device_context_request_t *R); | |
826 | |
827 int | |
828 xcb_selinux_set_device_context_context_length (const xcb_selinux_set_device_context_request_t *R); | |
829 | |
830 xcb_generic_iterator_t | |
831 xcb_selinux_set_device_context_context_end (const xcb_selinux_set_device_context_request_t *R); | |
832 | |
833 int | |
834 xcb_selinux_get_device_context_sizeof (const void *_buffer); | |
835 | |
836 /** | |
837 * | |
838 * @param c The connection | |
839 * @return A cookie | |
840 * | |
841 * Delivers a request to the X server. | |
842 * | |
843 */ | |
844 xcb_selinux_get_device_context_cookie_t | |
845 xcb_selinux_get_device_context (xcb_connection_t *c, | |
846 uint32_t device); | |
847 | |
848 /** | |
849 * | |
850 * @param c The connection | |
851 * @return A cookie | |
852 * | |
853 * Delivers a request to the X server. | |
854 * | |
855 * This form can be used only if the request will cause | |
856 * a reply to be generated. Any returned error will be | |
857 * placed in the event queue. | |
858 */ | |
859 xcb_selinux_get_device_context_cookie_t | |
860 xcb_selinux_get_device_context_unchecked (xcb_connection_t *c, | |
861 uint32_t device); | |
862 | |
863 char * | |
864 xcb_selinux_get_device_context_context (const xcb_selinux_get_device_context_reply_t *R); | |
865 | |
866 int | |
867 xcb_selinux_get_device_context_context_length (const xcb_selinux_get_device_context_reply_t *R); | |
868 | |
869 xcb_generic_iterator_t | |
870 xcb_selinux_get_device_context_context_end (const xcb_selinux_get_device_context_reply_t *R); | |
871 | |
872 /** | |
873 * Return the reply | |
874 * @param c The connection | |
875 * @param cookie The cookie | |
876 * @param e The xcb_generic_error_t supplied | |
877 * | |
878 * Returns the reply of the request asked by | |
879 * | |
880 * The parameter @p e supplied to this function must be NULL if | |
881 * xcb_selinux_get_device_context_unchecked(). is used. | |
882 * Otherwise, it stores the error if any. | |
883 * | |
884 * The returned value must be freed by the caller using free(). | |
885 */ | |
886 xcb_selinux_get_device_context_reply_t * | |
887 xcb_selinux_get_device_context_reply (xcb_connection_t *c, | |
888 xcb_selinux_get_device_context_cookie_t cookie /**< */, | |
889 xcb_generic_error_t **e); | |
890 | |
891 int | |
892 xcb_selinux_set_window_create_context_sizeof (const void *_buffer); | |
893 | |
894 /** | |
895 * | |
896 * @param c The connection | |
897 * @return A cookie | |
898 * | |
899 * Delivers a request to the X server. | |
900 * | |
901 * This form can be used only if the request will not cause | |
902 * a reply to be generated. Any returned error will be | |
903 * saved for handling by xcb_request_check(). | |
904 */ | |
905 xcb_void_cookie_t | |
906 xcb_selinux_set_window_create_context_checked (xcb_connection_t *c, | |
907 uint32_t context_len, | |
908 const char *context); | |
909 | |
910 /** | |
911 * | |
912 * @param c The connection | |
913 * @return A cookie | |
914 * | |
915 * Delivers a request to the X server. | |
916 * | |
917 */ | |
918 xcb_void_cookie_t | |
919 xcb_selinux_set_window_create_context (xcb_connection_t *c, | |
920 uint32_t context_len, | |
921 const char *context); | |
922 | |
923 char * | |
924 xcb_selinux_set_window_create_context_context (const xcb_selinux_set_window_create_context_request_t *R); | |
925 | |
926 int | |
927 xcb_selinux_set_window_create_context_context_length (const xcb_selinux_set_window_create_context_request_t *R); | |
928 | |
929 xcb_generic_iterator_t | |
930 xcb_selinux_set_window_create_context_context_end (const xcb_selinux_set_window_create_context_request_t *R); | |
931 | |
932 int | |
933 xcb_selinux_get_window_create_context_sizeof (const void *_buffer); | |
934 | |
935 /** | |
936 * | |
937 * @param c The connection | |
938 * @return A cookie | |
939 * | |
940 * Delivers a request to the X server. | |
941 * | |
942 */ | |
943 xcb_selinux_get_window_create_context_cookie_t | |
944 xcb_selinux_get_window_create_context (xcb_connection_t *c); | |
945 | |
946 /** | |
947 * | |
948 * @param c The connection | |
949 * @return A cookie | |
950 * | |
951 * Delivers a request to the X server. | |
952 * | |
953 * This form can be used only if the request will cause | |
954 * a reply to be generated. Any returned error will be | |
955 * placed in the event queue. | |
956 */ | |
957 xcb_selinux_get_window_create_context_cookie_t | |
958 xcb_selinux_get_window_create_context_unchecked (xcb_connection_t *c); | |
959 | |
960 char * | |
961 xcb_selinux_get_window_create_context_context (const xcb_selinux_get_window_create_context_reply_t *R); | |
962 | |
963 int | |
964 xcb_selinux_get_window_create_context_context_length (const xcb_selinux_get_window_create_context_reply_t *R); | |
965 | |
966 xcb_generic_iterator_t | |
967 xcb_selinux_get_window_create_context_context_end (const xcb_selinux_get_window_create_context_reply_t *R); | |
968 | |
969 /** | |
970 * Return the reply | |
971 * @param c The connection | |
972 * @param cookie The cookie | |
973 * @param e The xcb_generic_error_t supplied | |
974 * | |
975 * Returns the reply of the request asked by | |
976 * | |
977 * The parameter @p e supplied to this function must be NULL if | |
978 * xcb_selinux_get_window_create_context_unchecked(). is used. | |
979 * Otherwise, it stores the error if any. | |
980 * | |
981 * The returned value must be freed by the caller using free(). | |
982 */ | |
983 xcb_selinux_get_window_create_context_reply_t * | |
984 xcb_selinux_get_window_create_context_reply (xcb_connection_t *c, | |
985 xcb_selinux_get_window_create_context_cookie_t cookie /**< */, | |
986 xcb_generic_error_t **e); | |
987 | |
988 int | |
989 xcb_selinux_get_window_context_sizeof (const void *_buffer); | |
990 | |
991 /** | |
992 * | |
993 * @param c The connection | |
994 * @return A cookie | |
995 * | |
996 * Delivers a request to the X server. | |
997 * | |
998 */ | |
999 xcb_selinux_get_window_context_cookie_t | |
1000 xcb_selinux_get_window_context (xcb_connection_t *c, | |
1001 xcb_window_t window); | |
1002 | |
1003 /** | |
1004 * | |
1005 * @param c The connection | |
1006 * @return A cookie | |
1007 * | |
1008 * Delivers a request to the X server. | |
1009 * | |
1010 * This form can be used only if the request will cause | |
1011 * a reply to be generated. Any returned error will be | |
1012 * placed in the event queue. | |
1013 */ | |
1014 xcb_selinux_get_window_context_cookie_t | |
1015 xcb_selinux_get_window_context_unchecked (xcb_connection_t *c, | |
1016 xcb_window_t window); | |
1017 | |
1018 char * | |
1019 xcb_selinux_get_window_context_context (const xcb_selinux_get_window_context_reply_t *R); | |
1020 | |
1021 int | |
1022 xcb_selinux_get_window_context_context_length (const xcb_selinux_get_window_context_reply_t *R); | |
1023 | |
1024 xcb_generic_iterator_t | |
1025 xcb_selinux_get_window_context_context_end (const xcb_selinux_get_window_context_reply_t *R); | |
1026 | |
1027 /** | |
1028 * Return the reply | |
1029 * @param c The connection | |
1030 * @param cookie The cookie | |
1031 * @param e The xcb_generic_error_t supplied | |
1032 * | |
1033 * Returns the reply of the request asked by | |
1034 * | |
1035 * The parameter @p e supplied to this function must be NULL if | |
1036 * xcb_selinux_get_window_context_unchecked(). is used. | |
1037 * Otherwise, it stores the error if any. | |
1038 * | |
1039 * The returned value must be freed by the caller using free(). | |
1040 */ | |
1041 xcb_selinux_get_window_context_reply_t * | |
1042 xcb_selinux_get_window_context_reply (xcb_connection_t *c, | |
1043 xcb_selinux_get_window_context_cookie_t cookie /**< */, | |
1044 xcb_generic_error_t **e); | |
1045 | |
1046 int | |
1047 xcb_selinux_list_item_sizeof (const void *_buffer); | |
1048 | |
1049 char * | |
1050 xcb_selinux_list_item_object_context (const xcb_selinux_list_item_t *R); | |
1051 | |
1052 int | |
1053 xcb_selinux_list_item_object_context_length (const xcb_selinux_list_item_t *R); | |
1054 | |
1055 xcb_generic_iterator_t | |
1056 xcb_selinux_list_item_object_context_end (const xcb_selinux_list_item_t *R); | |
1057 | |
1058 char * | |
1059 xcb_selinux_list_item_data_context (const xcb_selinux_list_item_t *R); | |
1060 | |
1061 int | |
1062 xcb_selinux_list_item_data_context_length (const xcb_selinux_list_item_t *R); | |
1063 | |
1064 xcb_generic_iterator_t | |
1065 xcb_selinux_list_item_data_context_end (const xcb_selinux_list_item_t *R); | |
1066 | |
1067 /** | |
1068 * Get the next element of the iterator | |
1069 * @param i Pointer to a xcb_selinux_list_item_iterator_t | |
1070 * | |
1071 * Get the next element in the iterator. The member rem is | |
1072 * decreased by one. The member data points to the next | |
1073 * element. The member index is increased by sizeof(xcb_selinux_list_item_t) | |
1074 */ | |
1075 void | |
1076 xcb_selinux_list_item_next (xcb_selinux_list_item_iterator_t *i); | |
1077 | |
1078 /** | |
1079 * Return the iterator pointing to the last element | |
1080 * @param i An xcb_selinux_list_item_iterator_t | |
1081 * @return The iterator pointing to the last element | |
1082 * | |
1083 * Set the current element in the iterator to the last element. | |
1084 * The member rem is set to 0. The member data points to the | |
1085 * last element. | |
1086 */ | |
1087 xcb_generic_iterator_t | |
1088 xcb_selinux_list_item_end (xcb_selinux_list_item_iterator_t i); | |
1089 | |
1090 int | |
1091 xcb_selinux_set_property_create_context_sizeof (const void *_buffer); | |
1092 | |
1093 /** | |
1094 * | |
1095 * @param c The connection | |
1096 * @return A cookie | |
1097 * | |
1098 * Delivers a request to the X server. | |
1099 * | |
1100 * This form can be used only if the request will not cause | |
1101 * a reply to be generated. Any returned error will be | |
1102 * saved for handling by xcb_request_check(). | |
1103 */ | |
1104 xcb_void_cookie_t | |
1105 xcb_selinux_set_property_create_context_checked (xcb_connection_t *c, | |
1106 uint32_t context_len, | |
1107 const char *context); | |
1108 | |
1109 /** | |
1110 * | |
1111 * @param c The connection | |
1112 * @return A cookie | |
1113 * | |
1114 * Delivers a request to the X server. | |
1115 * | |
1116 */ | |
1117 xcb_void_cookie_t | |
1118 xcb_selinux_set_property_create_context (xcb_connection_t *c, | |
1119 uint32_t context_len, | |
1120 const char *context); | |
1121 | |
1122 char * | |
1123 xcb_selinux_set_property_create_context_context (const xcb_selinux_set_property_create_context_request_t *R); | |
1124 | |
1125 int | |
1126 xcb_selinux_set_property_create_context_context_length (const xcb_selinux_set_property_create_context_request_t *R); | |
1127 | |
1128 xcb_generic_iterator_t | |
1129 xcb_selinux_set_property_create_context_context_end (const xcb_selinux_set_property_create_context_request_t *R); | |
1130 | |
1131 int | |
1132 xcb_selinux_get_property_create_context_sizeof (const void *_buffer); | |
1133 | |
1134 /** | |
1135 * | |
1136 * @param c The connection | |
1137 * @return A cookie | |
1138 * | |
1139 * Delivers a request to the X server. | |
1140 * | |
1141 */ | |
1142 xcb_selinux_get_property_create_context_cookie_t | |
1143 xcb_selinux_get_property_create_context (xcb_connection_t *c); | |
1144 | |
1145 /** | |
1146 * | |
1147 * @param c The connection | |
1148 * @return A cookie | |
1149 * | |
1150 * Delivers a request to the X server. | |
1151 * | |
1152 * This form can be used only if the request will cause | |
1153 * a reply to be generated. Any returned error will be | |
1154 * placed in the event queue. | |
1155 */ | |
1156 xcb_selinux_get_property_create_context_cookie_t | |
1157 xcb_selinux_get_property_create_context_unchecked (xcb_connection_t *c); | |
1158 | |
1159 char * | |
1160 xcb_selinux_get_property_create_context_context (const xcb_selinux_get_property_create_context_reply_t *R); | |
1161 | |
1162 int | |
1163 xcb_selinux_get_property_create_context_context_length (const xcb_selinux_get_property_create_context_reply_t *R); | |
1164 | |
1165 xcb_generic_iterator_t | |
1166 xcb_selinux_get_property_create_context_context_end (const xcb_selinux_get_property_create_context_reply_t *R); | |
1167 | |
1168 /** | |
1169 * Return the reply | |
1170 * @param c The connection | |
1171 * @param cookie The cookie | |
1172 * @param e The xcb_generic_error_t supplied | |
1173 * | |
1174 * Returns the reply of the request asked by | |
1175 * | |
1176 * The parameter @p e supplied to this function must be NULL if | |
1177 * xcb_selinux_get_property_create_context_unchecked(). is used. | |
1178 * Otherwise, it stores the error if any. | |
1179 * | |
1180 * The returned value must be freed by the caller using free(). | |
1181 */ | |
1182 xcb_selinux_get_property_create_context_reply_t * | |
1183 xcb_selinux_get_property_create_context_reply (xcb_connection_t *c, | |
1184 xcb_selinux_get_property_create_context_cookie_t cookie /**< */, | |
1185 xcb_generic_error_t **e); | |
1186 | |
1187 int | |
1188 xcb_selinux_set_property_use_context_sizeof (const void *_buffer); | |
1189 | |
1190 /** | |
1191 * | |
1192 * @param c The connection | |
1193 * @return A cookie | |
1194 * | |
1195 * Delivers a request to the X server. | |
1196 * | |
1197 * This form can be used only if the request will not cause | |
1198 * a reply to be generated. Any returned error will be | |
1199 * saved for handling by xcb_request_check(). | |
1200 */ | |
1201 xcb_void_cookie_t | |
1202 xcb_selinux_set_property_use_context_checked (xcb_connection_t *c, | |
1203 uint32_t context_len, | |
1204 const char *context); | |
1205 | |
1206 /** | |
1207 * | |
1208 * @param c The connection | |
1209 * @return A cookie | |
1210 * | |
1211 * Delivers a request to the X server. | |
1212 * | |
1213 */ | |
1214 xcb_void_cookie_t | |
1215 xcb_selinux_set_property_use_context (xcb_connection_t *c, | |
1216 uint32_t context_len, | |
1217 const char *context); | |
1218 | |
1219 char * | |
1220 xcb_selinux_set_property_use_context_context (const xcb_selinux_set_property_use_context_request_t *R); | |
1221 | |
1222 int | |
1223 xcb_selinux_set_property_use_context_context_length (const xcb_selinux_set_property_use_context_request_t *R); | |
1224 | |
1225 xcb_generic_iterator_t | |
1226 xcb_selinux_set_property_use_context_context_end (const xcb_selinux_set_property_use_context_request_t *R); | |
1227 | |
1228 int | |
1229 xcb_selinux_get_property_use_context_sizeof (const void *_buffer); | |
1230 | |
1231 /** | |
1232 * | |
1233 * @param c The connection | |
1234 * @return A cookie | |
1235 * | |
1236 * Delivers a request to the X server. | |
1237 * | |
1238 */ | |
1239 xcb_selinux_get_property_use_context_cookie_t | |
1240 xcb_selinux_get_property_use_context (xcb_connection_t *c); | |
1241 | |
1242 /** | |
1243 * | |
1244 * @param c The connection | |
1245 * @return A cookie | |
1246 * | |
1247 * Delivers a request to the X server. | |
1248 * | |
1249 * This form can be used only if the request will cause | |
1250 * a reply to be generated. Any returned error will be | |
1251 * placed in the event queue. | |
1252 */ | |
1253 xcb_selinux_get_property_use_context_cookie_t | |
1254 xcb_selinux_get_property_use_context_unchecked (xcb_connection_t *c); | |
1255 | |
1256 char * | |
1257 xcb_selinux_get_property_use_context_context (const xcb_selinux_get_property_use_context_reply_t *R); | |
1258 | |
1259 int | |
1260 xcb_selinux_get_property_use_context_context_length (const xcb_selinux_get_property_use_context_reply_t *R); | |
1261 | |
1262 xcb_generic_iterator_t | |
1263 xcb_selinux_get_property_use_context_context_end (const xcb_selinux_get_property_use_context_reply_t *R); | |
1264 | |
1265 /** | |
1266 * Return the reply | |
1267 * @param c The connection | |
1268 * @param cookie The cookie | |
1269 * @param e The xcb_generic_error_t supplied | |
1270 * | |
1271 * Returns the reply of the request asked by | |
1272 * | |
1273 * The parameter @p e supplied to this function must be NULL if | |
1274 * xcb_selinux_get_property_use_context_unchecked(). is used. | |
1275 * Otherwise, it stores the error if any. | |
1276 * | |
1277 * The returned value must be freed by the caller using free(). | |
1278 */ | |
1279 xcb_selinux_get_property_use_context_reply_t * | |
1280 xcb_selinux_get_property_use_context_reply (xcb_connection_t *c, | |
1281 xcb_selinux_get_property_use_context_cookie_t cookie /**< */, | |
1282 xcb_generic_error_t **e); | |
1283 | |
1284 int | |
1285 xcb_selinux_get_property_context_sizeof (const void *_buffer); | |
1286 | |
1287 /** | |
1288 * | |
1289 * @param c The connection | |
1290 * @return A cookie | |
1291 * | |
1292 * Delivers a request to the X server. | |
1293 * | |
1294 */ | |
1295 xcb_selinux_get_property_context_cookie_t | |
1296 xcb_selinux_get_property_context (xcb_connection_t *c, | |
1297 xcb_window_t window, | |
1298 xcb_atom_t property); | |
1299 | |
1300 /** | |
1301 * | |
1302 * @param c The connection | |
1303 * @return A cookie | |
1304 * | |
1305 * Delivers a request to the X server. | |
1306 * | |
1307 * This form can be used only if the request will cause | |
1308 * a reply to be generated. Any returned error will be | |
1309 * placed in the event queue. | |
1310 */ | |
1311 xcb_selinux_get_property_context_cookie_t | |
1312 xcb_selinux_get_property_context_unchecked (xcb_connection_t *c, | |
1313 xcb_window_t window, | |
1314 xcb_atom_t property); | |
1315 | |
1316 char * | |
1317 xcb_selinux_get_property_context_context (const xcb_selinux_get_property_context_reply_t *R); | |
1318 | |
1319 int | |
1320 xcb_selinux_get_property_context_context_length (const xcb_selinux_get_property_context_reply_t *R); | |
1321 | |
1322 xcb_generic_iterator_t | |
1323 xcb_selinux_get_property_context_context_end (const xcb_selinux_get_property_context_reply_t *R); | |
1324 | |
1325 /** | |
1326 * Return the reply | |
1327 * @param c The connection | |
1328 * @param cookie The cookie | |
1329 * @param e The xcb_generic_error_t supplied | |
1330 * | |
1331 * Returns the reply of the request asked by | |
1332 * | |
1333 * The parameter @p e supplied to this function must be NULL if | |
1334 * xcb_selinux_get_property_context_unchecked(). is used. | |
1335 * Otherwise, it stores the error if any. | |
1336 * | |
1337 * The returned value must be freed by the caller using free(). | |
1338 */ | |
1339 xcb_selinux_get_property_context_reply_t * | |
1340 xcb_selinux_get_property_context_reply (xcb_connection_t *c, | |
1341 xcb_selinux_get_property_context_cookie_t cookie /**< */, | |
1342 xcb_generic_error_t **e); | |
1343 | |
1344 int | |
1345 xcb_selinux_get_property_data_context_sizeof (const void *_buffer); | |
1346 | |
1347 /** | |
1348 * | |
1349 * @param c The connection | |
1350 * @return A cookie | |
1351 * | |
1352 * Delivers a request to the X server. | |
1353 * | |
1354 */ | |
1355 xcb_selinux_get_property_data_context_cookie_t | |
1356 xcb_selinux_get_property_data_context (xcb_connection_t *c, | |
1357 xcb_window_t window, | |
1358 xcb_atom_t property); | |
1359 | |
1360 /** | |
1361 * | |
1362 * @param c The connection | |
1363 * @return A cookie | |
1364 * | |
1365 * Delivers a request to the X server. | |
1366 * | |
1367 * This form can be used only if the request will cause | |
1368 * a reply to be generated. Any returned error will be | |
1369 * placed in the event queue. | |
1370 */ | |
1371 xcb_selinux_get_property_data_context_cookie_t | |
1372 xcb_selinux_get_property_data_context_unchecked (xcb_connection_t *c, | |
1373 xcb_window_t window, | |
1374 xcb_atom_t property); | |
1375 | |
1376 char * | |
1377 xcb_selinux_get_property_data_context_context (const xcb_selinux_get_property_data_context_reply_t *R); | |
1378 | |
1379 int | |
1380 xcb_selinux_get_property_data_context_context_length (const xcb_selinux_get_property_data_context_reply_t *R); | |
1381 | |
1382 xcb_generic_iterator_t | |
1383 xcb_selinux_get_property_data_context_context_end (const xcb_selinux_get_property_data_context_reply_t *R); | |
1384 | |
1385 /** | |
1386 * Return the reply | |
1387 * @param c The connection | |
1388 * @param cookie The cookie | |
1389 * @param e The xcb_generic_error_t supplied | |
1390 * | |
1391 * Returns the reply of the request asked by | |
1392 * | |
1393 * The parameter @p e supplied to this function must be NULL if | |
1394 * xcb_selinux_get_property_data_context_unchecked(). is used. | |
1395 * Otherwise, it stores the error if any. | |
1396 * | |
1397 * The returned value must be freed by the caller using free(). | |
1398 */ | |
1399 xcb_selinux_get_property_data_context_reply_t * | |
1400 xcb_selinux_get_property_data_context_reply (xcb_connection_t *c, | |
1401 xcb_selinux_get_property_data_context_cookie_t cookie /**< */, | |
1402 xcb_generic_error_t **e); | |
1403 | |
1404 int | |
1405 xcb_selinux_list_properties_sizeof (const void *_buffer); | |
1406 | |
1407 /** | |
1408 * | |
1409 * @param c The connection | |
1410 * @return A cookie | |
1411 * | |
1412 * Delivers a request to the X server. | |
1413 * | |
1414 */ | |
1415 xcb_selinux_list_properties_cookie_t | |
1416 xcb_selinux_list_properties (xcb_connection_t *c, | |
1417 xcb_window_t window); | |
1418 | |
1419 /** | |
1420 * | |
1421 * @param c The connection | |
1422 * @return A cookie | |
1423 * | |
1424 * Delivers a request to the X server. | |
1425 * | |
1426 * This form can be used only if the request will cause | |
1427 * a reply to be generated. Any returned error will be | |
1428 * placed in the event queue. | |
1429 */ | |
1430 xcb_selinux_list_properties_cookie_t | |
1431 xcb_selinux_list_properties_unchecked (xcb_connection_t *c, | |
1432 xcb_window_t window); | |
1433 | |
1434 int | |
1435 xcb_selinux_list_properties_properties_length (const xcb_selinux_list_properties_reply_t *R); | |
1436 | |
1437 xcb_selinux_list_item_iterator_t | |
1438 xcb_selinux_list_properties_properties_iterator (const xcb_selinux_list_properties_reply_t *R); | |
1439 | |
1440 /** | |
1441 * Return the reply | |
1442 * @param c The connection | |
1443 * @param cookie The cookie | |
1444 * @param e The xcb_generic_error_t supplied | |
1445 * | |
1446 * Returns the reply of the request asked by | |
1447 * | |
1448 * The parameter @p e supplied to this function must be NULL if | |
1449 * xcb_selinux_list_properties_unchecked(). is used. | |
1450 * Otherwise, it stores the error if any. | |
1451 * | |
1452 * The returned value must be freed by the caller using free(). | |
1453 */ | |
1454 xcb_selinux_list_properties_reply_t * | |
1455 xcb_selinux_list_properties_reply (xcb_connection_t *c, | |
1456 xcb_selinux_list_properties_cookie_t cookie /**< */, | |
1457 xcb_generic_error_t **e); | |
1458 | |
1459 int | |
1460 xcb_selinux_set_selection_create_context_sizeof (const void *_buffer); | |
1461 | |
1462 /** | |
1463 * | |
1464 * @param c The connection | |
1465 * @return A cookie | |
1466 * | |
1467 * Delivers a request to the X server. | |
1468 * | |
1469 * This form can be used only if the request will not cause | |
1470 * a reply to be generated. Any returned error will be | |
1471 * saved for handling by xcb_request_check(). | |
1472 */ | |
1473 xcb_void_cookie_t | |
1474 xcb_selinux_set_selection_create_context_checked (xcb_connection_t *c, | |
1475 uint32_t context_len, | |
1476 const char *context); | |
1477 | |
1478 /** | |
1479 * | |
1480 * @param c The connection | |
1481 * @return A cookie | |
1482 * | |
1483 * Delivers a request to the X server. | |
1484 * | |
1485 */ | |
1486 xcb_void_cookie_t | |
1487 xcb_selinux_set_selection_create_context (xcb_connection_t *c, | |
1488 uint32_t context_len, | |
1489 const char *context); | |
1490 | |
1491 char * | |
1492 xcb_selinux_set_selection_create_context_context (const xcb_selinux_set_selection_create_context_request_t *R); | |
1493 | |
1494 int | |
1495 xcb_selinux_set_selection_create_context_context_length (const xcb_selinux_set_selection_create_context_request_t *R); | |
1496 | |
1497 xcb_generic_iterator_t | |
1498 xcb_selinux_set_selection_create_context_context_end (const xcb_selinux_set_selection_create_context_request_t *R); | |
1499 | |
1500 int | |
1501 xcb_selinux_get_selection_create_context_sizeof (const void *_buffer); | |
1502 | |
1503 /** | |
1504 * | |
1505 * @param c The connection | |
1506 * @return A cookie | |
1507 * | |
1508 * Delivers a request to the X server. | |
1509 * | |
1510 */ | |
1511 xcb_selinux_get_selection_create_context_cookie_t | |
1512 xcb_selinux_get_selection_create_context (xcb_connection_t *c); | |
1513 | |
1514 /** | |
1515 * | |
1516 * @param c The connection | |
1517 * @return A cookie | |
1518 * | |
1519 * Delivers a request to the X server. | |
1520 * | |
1521 * This form can be used only if the request will cause | |
1522 * a reply to be generated. Any returned error will be | |
1523 * placed in the event queue. | |
1524 */ | |
1525 xcb_selinux_get_selection_create_context_cookie_t | |
1526 xcb_selinux_get_selection_create_context_unchecked (xcb_connection_t *c); | |
1527 | |
1528 char * | |
1529 xcb_selinux_get_selection_create_context_context (const xcb_selinux_get_selection_create_context_reply_t *R); | |
1530 | |
1531 int | |
1532 xcb_selinux_get_selection_create_context_context_length (const xcb_selinux_get_selection_create_context_reply_t *R); | |
1533 | |
1534 xcb_generic_iterator_t | |
1535 xcb_selinux_get_selection_create_context_context_end (const xcb_selinux_get_selection_create_context_reply_t *R); | |
1536 | |
1537 /** | |
1538 * Return the reply | |
1539 * @param c The connection | |
1540 * @param cookie The cookie | |
1541 * @param e The xcb_generic_error_t supplied | |
1542 * | |
1543 * Returns the reply of the request asked by | |
1544 * | |
1545 * The parameter @p e supplied to this function must be NULL if | |
1546 * xcb_selinux_get_selection_create_context_unchecked(). is used. | |
1547 * Otherwise, it stores the error if any. | |
1548 * | |
1549 * The returned value must be freed by the caller using free(). | |
1550 */ | |
1551 xcb_selinux_get_selection_create_context_reply_t * | |
1552 xcb_selinux_get_selection_create_context_reply (xcb_connection_t *c, | |
1553 xcb_selinux_get_selection_create_context_cookie_t cookie /**< */, | |
1554 xcb_generic_error_t **e); | |
1555 | |
1556 int | |
1557 xcb_selinux_set_selection_use_context_sizeof (const void *_buffer); | |
1558 | |
1559 /** | |
1560 * | |
1561 * @param c The connection | |
1562 * @return A cookie | |
1563 * | |
1564 * Delivers a request to the X server. | |
1565 * | |
1566 * This form can be used only if the request will not cause | |
1567 * a reply to be generated. Any returned error will be | |
1568 * saved for handling by xcb_request_check(). | |
1569 */ | |
1570 xcb_void_cookie_t | |
1571 xcb_selinux_set_selection_use_context_checked (xcb_connection_t *c, | |
1572 uint32_t context_len, | |
1573 const char *context); | |
1574 | |
1575 /** | |
1576 * | |
1577 * @param c The connection | |
1578 * @return A cookie | |
1579 * | |
1580 * Delivers a request to the X server. | |
1581 * | |
1582 */ | |
1583 xcb_void_cookie_t | |
1584 xcb_selinux_set_selection_use_context (xcb_connection_t *c, | |
1585 uint32_t context_len, | |
1586 const char *context); | |
1587 | |
1588 char * | |
1589 xcb_selinux_set_selection_use_context_context (const xcb_selinux_set_selection_use_context_request_t *R); | |
1590 | |
1591 int | |
1592 xcb_selinux_set_selection_use_context_context_length (const xcb_selinux_set_selection_use_context_request_t *R); | |
1593 | |
1594 xcb_generic_iterator_t | |
1595 xcb_selinux_set_selection_use_context_context_end (const xcb_selinux_set_selection_use_context_request_t *R); | |
1596 | |
1597 int | |
1598 xcb_selinux_get_selection_use_context_sizeof (const void *_buffer); | |
1599 | |
1600 /** | |
1601 * | |
1602 * @param c The connection | |
1603 * @return A cookie | |
1604 * | |
1605 * Delivers a request to the X server. | |
1606 * | |
1607 */ | |
1608 xcb_selinux_get_selection_use_context_cookie_t | |
1609 xcb_selinux_get_selection_use_context (xcb_connection_t *c); | |
1610 | |
1611 /** | |
1612 * | |
1613 * @param c The connection | |
1614 * @return A cookie | |
1615 * | |
1616 * Delivers a request to the X server. | |
1617 * | |
1618 * This form can be used only if the request will cause | |
1619 * a reply to be generated. Any returned error will be | |
1620 * placed in the event queue. | |
1621 */ | |
1622 xcb_selinux_get_selection_use_context_cookie_t | |
1623 xcb_selinux_get_selection_use_context_unchecked (xcb_connection_t *c); | |
1624 | |
1625 char * | |
1626 xcb_selinux_get_selection_use_context_context (const xcb_selinux_get_selection_use_context_reply_t *R); | |
1627 | |
1628 int | |
1629 xcb_selinux_get_selection_use_context_context_length (const xcb_selinux_get_selection_use_context_reply_t *R); | |
1630 | |
1631 xcb_generic_iterator_t | |
1632 xcb_selinux_get_selection_use_context_context_end (const xcb_selinux_get_selection_use_context_reply_t *R); | |
1633 | |
1634 /** | |
1635 * Return the reply | |
1636 * @param c The connection | |
1637 * @param cookie The cookie | |
1638 * @param e The xcb_generic_error_t supplied | |
1639 * | |
1640 * Returns the reply of the request asked by | |
1641 * | |
1642 * The parameter @p e supplied to this function must be NULL if | |
1643 * xcb_selinux_get_selection_use_context_unchecked(). is used. | |
1644 * Otherwise, it stores the error if any. | |
1645 * | |
1646 * The returned value must be freed by the caller using free(). | |
1647 */ | |
1648 xcb_selinux_get_selection_use_context_reply_t * | |
1649 xcb_selinux_get_selection_use_context_reply (xcb_connection_t *c, | |
1650 xcb_selinux_get_selection_use_context_cookie_t cookie /**< */, | |
1651 xcb_generic_error_t **e); | |
1652 | |
1653 int | |
1654 xcb_selinux_get_selection_context_sizeof (const void *_buffer); | |
1655 | |
1656 /** | |
1657 * | |
1658 * @param c The connection | |
1659 * @return A cookie | |
1660 * | |
1661 * Delivers a request to the X server. | |
1662 * | |
1663 */ | |
1664 xcb_selinux_get_selection_context_cookie_t | |
1665 xcb_selinux_get_selection_context (xcb_connection_t *c, | |
1666 xcb_atom_t selection); | |
1667 | |
1668 /** | |
1669 * | |
1670 * @param c The connection | |
1671 * @return A cookie | |
1672 * | |
1673 * Delivers a request to the X server. | |
1674 * | |
1675 * This form can be used only if the request will cause | |
1676 * a reply to be generated. Any returned error will be | |
1677 * placed in the event queue. | |
1678 */ | |
1679 xcb_selinux_get_selection_context_cookie_t | |
1680 xcb_selinux_get_selection_context_unchecked (xcb_connection_t *c, | |
1681 xcb_atom_t selection); | |
1682 | |
1683 char * | |
1684 xcb_selinux_get_selection_context_context (const xcb_selinux_get_selection_context_reply_t *R); | |
1685 | |
1686 int | |
1687 xcb_selinux_get_selection_context_context_length (const xcb_selinux_get_selection_context_reply_t *R); | |
1688 | |
1689 xcb_generic_iterator_t | |
1690 xcb_selinux_get_selection_context_context_end (const xcb_selinux_get_selection_context_reply_t *R); | |
1691 | |
1692 /** | |
1693 * Return the reply | |
1694 * @param c The connection | |
1695 * @param cookie The cookie | |
1696 * @param e The xcb_generic_error_t supplied | |
1697 * | |
1698 * Returns the reply of the request asked by | |
1699 * | |
1700 * The parameter @p e supplied to this function must be NULL if | |
1701 * xcb_selinux_get_selection_context_unchecked(). is used. | |
1702 * Otherwise, it stores the error if any. | |
1703 * | |
1704 * The returned value must be freed by the caller using free(). | |
1705 */ | |
1706 xcb_selinux_get_selection_context_reply_t * | |
1707 xcb_selinux_get_selection_context_reply (xcb_connection_t *c, | |
1708 xcb_selinux_get_selection_context_cookie_t cookie /**< */, | |
1709 xcb_generic_error_t **e); | |
1710 | |
1711 int | |
1712 xcb_selinux_get_selection_data_context_sizeof (const void *_buffer); | |
1713 | |
1714 /** | |
1715 * | |
1716 * @param c The connection | |
1717 * @return A cookie | |
1718 * | |
1719 * Delivers a request to the X server. | |
1720 * | |
1721 */ | |
1722 xcb_selinux_get_selection_data_context_cookie_t | |
1723 xcb_selinux_get_selection_data_context (xcb_connection_t *c, | |
1724 xcb_atom_t selection); | |
1725 | |
1726 /** | |
1727 * | |
1728 * @param c The connection | |
1729 * @return A cookie | |
1730 * | |
1731 * Delivers a request to the X server. | |
1732 * | |
1733 * This form can be used only if the request will cause | |
1734 * a reply to be generated. Any returned error will be | |
1735 * placed in the event queue. | |
1736 */ | |
1737 xcb_selinux_get_selection_data_context_cookie_t | |
1738 xcb_selinux_get_selection_data_context_unchecked (xcb_connection_t *c, | |
1739 xcb_atom_t selection); | |
1740 | |
1741 char * | |
1742 xcb_selinux_get_selection_data_context_context (const xcb_selinux_get_selection_data_context_reply_t *R); | |
1743 | |
1744 int | |
1745 xcb_selinux_get_selection_data_context_context_length (const xcb_selinux_get_selection_data_context_reply_t *R); | |
1746 | |
1747 xcb_generic_iterator_t | |
1748 xcb_selinux_get_selection_data_context_context_end (const xcb_selinux_get_selection_data_context_reply_t *R); | |
1749 | |
1750 /** | |
1751 * Return the reply | |
1752 * @param c The connection | |
1753 * @param cookie The cookie | |
1754 * @param e The xcb_generic_error_t supplied | |
1755 * | |
1756 * Returns the reply of the request asked by | |
1757 * | |
1758 * The parameter @p e supplied to this function must be NULL if | |
1759 * xcb_selinux_get_selection_data_context_unchecked(). is used. | |
1760 * Otherwise, it stores the error if any. | |
1761 * | |
1762 * The returned value must be freed by the caller using free(). | |
1763 */ | |
1764 xcb_selinux_get_selection_data_context_reply_t * | |
1765 xcb_selinux_get_selection_data_context_reply (xcb_connection_t *c, | |
1766 xcb_selinux_get_selection_data_context_cookie_t cookie /**< */, | |
1767 xcb_generic_error_t **e); | |
1768 | |
1769 int | |
1770 xcb_selinux_list_selections_sizeof (const void *_buffer); | |
1771 | |
1772 /** | |
1773 * | |
1774 * @param c The connection | |
1775 * @return A cookie | |
1776 * | |
1777 * Delivers a request to the X server. | |
1778 * | |
1779 */ | |
1780 xcb_selinux_list_selections_cookie_t | |
1781 xcb_selinux_list_selections (xcb_connection_t *c); | |
1782 | |
1783 /** | |
1784 * | |
1785 * @param c The connection | |
1786 * @return A cookie | |
1787 * | |
1788 * Delivers a request to the X server. | |
1789 * | |
1790 * This form can be used only if the request will cause | |
1791 * a reply to be generated. Any returned error will be | |
1792 * placed in the event queue. | |
1793 */ | |
1794 xcb_selinux_list_selections_cookie_t | |
1795 xcb_selinux_list_selections_unchecked (xcb_connection_t *c); | |
1796 | |
1797 int | |
1798 xcb_selinux_list_selections_selections_length (const xcb_selinux_list_selections_reply_t *R); | |
1799 | |
1800 xcb_selinux_list_item_iterator_t | |
1801 xcb_selinux_list_selections_selections_iterator (const xcb_selinux_list_selections_reply_t *R); | |
1802 | |
1803 /** | |
1804 * Return the reply | |
1805 * @param c The connection | |
1806 * @param cookie The cookie | |
1807 * @param e The xcb_generic_error_t supplied | |
1808 * | |
1809 * Returns the reply of the request asked by | |
1810 * | |
1811 * The parameter @p e supplied to this function must be NULL if | |
1812 * xcb_selinux_list_selections_unchecked(). is used. | |
1813 * Otherwise, it stores the error if any. | |
1814 * | |
1815 * The returned value must be freed by the caller using free(). | |
1816 */ | |
1817 xcb_selinux_list_selections_reply_t * | |
1818 xcb_selinux_list_selections_reply (xcb_connection_t *c, | |
1819 xcb_selinux_list_selections_cookie_t cookie /**< */, | |
1820 xcb_generic_error_t **e); | |
1821 | |
1822 int | |
1823 xcb_selinux_get_client_context_sizeof (const void *_buffer); | |
1824 | |
1825 /** | |
1826 * | |
1827 * @param c The connection | |
1828 * @return A cookie | |
1829 * | |
1830 * Delivers a request to the X server. | |
1831 * | |
1832 */ | |
1833 xcb_selinux_get_client_context_cookie_t | |
1834 xcb_selinux_get_client_context (xcb_connection_t *c, | |
1835 uint32_t resource); | |
1836 | |
1837 /** | |
1838 * | |
1839 * @param c The connection | |
1840 * @return A cookie | |
1841 * | |
1842 * Delivers a request to the X server. | |
1843 * | |
1844 * This form can be used only if the request will cause | |
1845 * a reply to be generated. Any returned error will be | |
1846 * placed in the event queue. | |
1847 */ | |
1848 xcb_selinux_get_client_context_cookie_t | |
1849 xcb_selinux_get_client_context_unchecked (xcb_connection_t *c, | |
1850 uint32_t resource); | |
1851 | |
1852 char * | |
1853 xcb_selinux_get_client_context_context (const xcb_selinux_get_client_context_reply_t *R); | |
1854 | |
1855 int | |
1856 xcb_selinux_get_client_context_context_length (const xcb_selinux_get_client_context_reply_t *R); | |
1857 | |
1858 xcb_generic_iterator_t | |
1859 xcb_selinux_get_client_context_context_end (const xcb_selinux_get_client_context_reply_t *R); | |
1860 | |
1861 /** | |
1862 * Return the reply | |
1863 * @param c The connection | |
1864 * @param cookie The cookie | |
1865 * @param e The xcb_generic_error_t supplied | |
1866 * | |
1867 * Returns the reply of the request asked by | |
1868 * | |
1869 * The parameter @p e supplied to this function must be NULL if | |
1870 * xcb_selinux_get_client_context_unchecked(). is used. | |
1871 * Otherwise, it stores the error if any. | |
1872 * | |
1873 * The returned value must be freed by the caller using free(). | |
1874 */ | |
1875 xcb_selinux_get_client_context_reply_t * | |
1876 xcb_selinux_get_client_context_reply (xcb_connection_t *c, | |
1877 xcb_selinux_get_client_context_cookie_t cookie /**< */, | |
1878 xcb_generic_error_t **e); | |
1879 | |
1880 | |
1881 #ifdef __cplusplus | |
1882 } | |
1883 #endif | |
1884 | |
1885 #endif | |
1886 | |
1887 /** | |
1888 * @} | |
1889 */ |