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