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