Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:14:48

0001 /*
0002  * This file generated automatically from xselinux.xml by c_client.py.
0003  * Edit at your peril.
0004  */
0005 
0006 /**
0007  * @defgroup XCB_SELinux_API XCB SELinux API
0008  * @brief SELinux XCB Protocol Implementation.
0009  * @{
0010  **/
0011 
0012 #ifndef __XSELINUX_H
0013 #define __XSELINUX_H
0014 
0015 #include "xcb.h"
0016 #include "xproto.h"
0017 
0018 #ifdef __cplusplus
0019 extern "C" {
0020 #endif
0021 
0022 #define XCB_SELINUX_MAJOR_VERSION 1
0023 #define XCB_SELINUX_MINOR_VERSION 0
0024 
0025 extern xcb_extension_t xcb_selinux_id;
0026 
0027 /**
0028  * @brief xcb_selinux_query_version_cookie_t
0029  **/
0030 typedef struct xcb_selinux_query_version_cookie_t {
0031     unsigned int sequence;
0032 } xcb_selinux_query_version_cookie_t;
0033 
0034 /** Opcode for xcb_selinux_query_version. */
0035 #define XCB_SELINUX_QUERY_VERSION 0
0036 
0037 /**
0038  * @brief xcb_selinux_query_version_request_t
0039  **/
0040 typedef struct xcb_selinux_query_version_request_t {
0041     uint8_t  major_opcode;
0042     uint8_t  minor_opcode;
0043     uint16_t length;
0044     uint8_t  client_major;
0045     uint8_t  client_minor;
0046 } xcb_selinux_query_version_request_t;
0047 
0048 /**
0049  * @brief xcb_selinux_query_version_reply_t
0050  **/
0051 typedef struct xcb_selinux_query_version_reply_t {
0052     uint8_t  response_type;
0053     uint8_t  pad0;
0054     uint16_t sequence;
0055     uint32_t length;
0056     uint16_t server_major;
0057     uint16_t server_minor;
0058 } xcb_selinux_query_version_reply_t;
0059 
0060 /** Opcode for xcb_selinux_set_device_create_context. */
0061 #define XCB_SELINUX_SET_DEVICE_CREATE_CONTEXT 1
0062 
0063 /**
0064  * @brief xcb_selinux_set_device_create_context_request_t
0065  **/
0066 typedef struct xcb_selinux_set_device_create_context_request_t {
0067     uint8_t  major_opcode;
0068     uint8_t  minor_opcode;
0069     uint16_t length;
0070     uint32_t context_len;
0071 } xcb_selinux_set_device_create_context_request_t;
0072 
0073 /**
0074  * @brief xcb_selinux_get_device_create_context_cookie_t
0075  **/
0076 typedef struct xcb_selinux_get_device_create_context_cookie_t {
0077     unsigned int sequence;
0078 } xcb_selinux_get_device_create_context_cookie_t;
0079 
0080 /** Opcode for xcb_selinux_get_device_create_context. */
0081 #define XCB_SELINUX_GET_DEVICE_CREATE_CONTEXT 2
0082 
0083 /**
0084  * @brief xcb_selinux_get_device_create_context_request_t
0085  **/
0086 typedef struct xcb_selinux_get_device_create_context_request_t {
0087     uint8_t  major_opcode;
0088     uint8_t  minor_opcode;
0089     uint16_t length;
0090 } xcb_selinux_get_device_create_context_request_t;
0091 
0092 /**
0093  * @brief xcb_selinux_get_device_create_context_reply_t
0094  **/
0095 typedef struct xcb_selinux_get_device_create_context_reply_t {
0096     uint8_t  response_type;
0097     uint8_t  pad0;
0098     uint16_t sequence;
0099     uint32_t length;
0100     uint32_t context_len;
0101     uint8_t  pad1[20];
0102 } xcb_selinux_get_device_create_context_reply_t;
0103 
0104 /** Opcode for xcb_selinux_set_device_context. */
0105 #define XCB_SELINUX_SET_DEVICE_CONTEXT 3
0106 
0107 /**
0108  * @brief xcb_selinux_set_device_context_request_t
0109  **/
0110 typedef struct xcb_selinux_set_device_context_request_t {
0111     uint8_t  major_opcode;
0112     uint8_t  minor_opcode;
0113     uint16_t length;
0114     uint32_t device;
0115     uint32_t context_len;
0116 } xcb_selinux_set_device_context_request_t;
0117 
0118 /**
0119  * @brief xcb_selinux_get_device_context_cookie_t
0120  **/
0121 typedef struct xcb_selinux_get_device_context_cookie_t {
0122     unsigned int sequence;
0123 } xcb_selinux_get_device_context_cookie_t;
0124 
0125 /** Opcode for xcb_selinux_get_device_context. */
0126 #define XCB_SELINUX_GET_DEVICE_CONTEXT 4
0127 
0128 /**
0129  * @brief xcb_selinux_get_device_context_request_t
0130  **/
0131 typedef struct xcb_selinux_get_device_context_request_t {
0132     uint8_t  major_opcode;
0133     uint8_t  minor_opcode;
0134     uint16_t length;
0135     uint32_t device;
0136 } xcb_selinux_get_device_context_request_t;
0137 
0138 /**
0139  * @brief xcb_selinux_get_device_context_reply_t
0140  **/
0141 typedef struct xcb_selinux_get_device_context_reply_t {
0142     uint8_t  response_type;
0143     uint8_t  pad0;
0144     uint16_t sequence;
0145     uint32_t length;
0146     uint32_t context_len;
0147     uint8_t  pad1[20];
0148 } xcb_selinux_get_device_context_reply_t;
0149 
0150 /** Opcode for xcb_selinux_set_window_create_context. */
0151 #define XCB_SELINUX_SET_WINDOW_CREATE_CONTEXT 5
0152 
0153 /**
0154  * @brief xcb_selinux_set_window_create_context_request_t
0155  **/
0156 typedef struct xcb_selinux_set_window_create_context_request_t {
0157     uint8_t  major_opcode;
0158     uint8_t  minor_opcode;
0159     uint16_t length;
0160     uint32_t context_len;
0161 } xcb_selinux_set_window_create_context_request_t;
0162 
0163 /**
0164  * @brief xcb_selinux_get_window_create_context_cookie_t
0165  **/
0166 typedef struct xcb_selinux_get_window_create_context_cookie_t {
0167     unsigned int sequence;
0168 } xcb_selinux_get_window_create_context_cookie_t;
0169 
0170 /** Opcode for xcb_selinux_get_window_create_context. */
0171 #define XCB_SELINUX_GET_WINDOW_CREATE_CONTEXT 6
0172 
0173 /**
0174  * @brief xcb_selinux_get_window_create_context_request_t
0175  **/
0176 typedef struct xcb_selinux_get_window_create_context_request_t {
0177     uint8_t  major_opcode;
0178     uint8_t  minor_opcode;
0179     uint16_t length;
0180 } xcb_selinux_get_window_create_context_request_t;
0181 
0182 /**
0183  * @brief xcb_selinux_get_window_create_context_reply_t
0184  **/
0185 typedef struct xcb_selinux_get_window_create_context_reply_t {
0186     uint8_t  response_type;
0187     uint8_t  pad0;
0188     uint16_t sequence;
0189     uint32_t length;
0190     uint32_t context_len;
0191     uint8_t  pad1[20];
0192 } xcb_selinux_get_window_create_context_reply_t;
0193 
0194 /**
0195  * @brief xcb_selinux_get_window_context_cookie_t
0196  **/
0197 typedef struct xcb_selinux_get_window_context_cookie_t {
0198     unsigned int sequence;
0199 } xcb_selinux_get_window_context_cookie_t;
0200 
0201 /** Opcode for xcb_selinux_get_window_context. */
0202 #define XCB_SELINUX_GET_WINDOW_CONTEXT 7
0203 
0204 /**
0205  * @brief xcb_selinux_get_window_context_request_t
0206  **/
0207 typedef struct xcb_selinux_get_window_context_request_t {
0208     uint8_t      major_opcode;
0209     uint8_t      minor_opcode;
0210     uint16_t     length;
0211     xcb_window_t window;
0212 } xcb_selinux_get_window_context_request_t;
0213 
0214 /**
0215  * @brief xcb_selinux_get_window_context_reply_t
0216  **/
0217 typedef struct xcb_selinux_get_window_context_reply_t {
0218     uint8_t  response_type;
0219     uint8_t  pad0;
0220     uint16_t sequence;
0221     uint32_t length;
0222     uint32_t context_len;
0223     uint8_t  pad1[20];
0224 } xcb_selinux_get_window_context_reply_t;
0225 
0226 /**
0227  * @brief xcb_selinux_list_item_t
0228  **/
0229 typedef struct xcb_selinux_list_item_t {
0230     xcb_atom_t name;
0231     uint32_t   object_context_len;
0232     uint32_t   data_context_len;
0233 } xcb_selinux_list_item_t;
0234 
0235 /**
0236  * @brief xcb_selinux_list_item_iterator_t
0237  **/
0238 typedef struct xcb_selinux_list_item_iterator_t {
0239     xcb_selinux_list_item_t *data;
0240     int                      rem;
0241     int                      index;
0242 } xcb_selinux_list_item_iterator_t;
0243 
0244 /** Opcode for xcb_selinux_set_property_create_context. */
0245 #define XCB_SELINUX_SET_PROPERTY_CREATE_CONTEXT 8
0246 
0247 /**
0248  * @brief xcb_selinux_set_property_create_context_request_t
0249  **/
0250 typedef struct xcb_selinux_set_property_create_context_request_t {
0251     uint8_t  major_opcode;
0252     uint8_t  minor_opcode;
0253     uint16_t length;
0254     uint32_t context_len;
0255 } xcb_selinux_set_property_create_context_request_t;
0256 
0257 /**
0258  * @brief xcb_selinux_get_property_create_context_cookie_t
0259  **/
0260 typedef struct xcb_selinux_get_property_create_context_cookie_t {
0261     unsigned int sequence;
0262 } xcb_selinux_get_property_create_context_cookie_t;
0263 
0264 /** Opcode for xcb_selinux_get_property_create_context. */
0265 #define XCB_SELINUX_GET_PROPERTY_CREATE_CONTEXT 9
0266 
0267 /**
0268  * @brief xcb_selinux_get_property_create_context_request_t
0269  **/
0270 typedef struct xcb_selinux_get_property_create_context_request_t {
0271     uint8_t  major_opcode;
0272     uint8_t  minor_opcode;
0273     uint16_t length;
0274 } xcb_selinux_get_property_create_context_request_t;
0275 
0276 /**
0277  * @brief xcb_selinux_get_property_create_context_reply_t
0278  **/
0279 typedef struct xcb_selinux_get_property_create_context_reply_t {
0280     uint8_t  response_type;
0281     uint8_t  pad0;
0282     uint16_t sequence;
0283     uint32_t length;
0284     uint32_t context_len;
0285     uint8_t  pad1[20];
0286 } xcb_selinux_get_property_create_context_reply_t;
0287 
0288 /** Opcode for xcb_selinux_set_property_use_context. */
0289 #define XCB_SELINUX_SET_PROPERTY_USE_CONTEXT 10
0290 
0291 /**
0292  * @brief xcb_selinux_set_property_use_context_request_t
0293  **/
0294 typedef struct xcb_selinux_set_property_use_context_request_t {
0295     uint8_t  major_opcode;
0296     uint8_t  minor_opcode;
0297     uint16_t length;
0298     uint32_t context_len;
0299 } xcb_selinux_set_property_use_context_request_t;
0300 
0301 /**
0302  * @brief xcb_selinux_get_property_use_context_cookie_t
0303  **/
0304 typedef struct xcb_selinux_get_property_use_context_cookie_t {
0305     unsigned int sequence;
0306 } xcb_selinux_get_property_use_context_cookie_t;
0307 
0308 /** Opcode for xcb_selinux_get_property_use_context. */
0309 #define XCB_SELINUX_GET_PROPERTY_USE_CONTEXT 11
0310 
0311 /**
0312  * @brief xcb_selinux_get_property_use_context_request_t
0313  **/
0314 typedef struct xcb_selinux_get_property_use_context_request_t {
0315     uint8_t  major_opcode;
0316     uint8_t  minor_opcode;
0317     uint16_t length;
0318 } xcb_selinux_get_property_use_context_request_t;
0319 
0320 /**
0321  * @brief xcb_selinux_get_property_use_context_reply_t
0322  **/
0323 typedef struct xcb_selinux_get_property_use_context_reply_t {
0324     uint8_t  response_type;
0325     uint8_t  pad0;
0326     uint16_t sequence;
0327     uint32_t length;
0328     uint32_t context_len;
0329     uint8_t  pad1[20];
0330 } xcb_selinux_get_property_use_context_reply_t;
0331 
0332 /**
0333  * @brief xcb_selinux_get_property_context_cookie_t
0334  **/
0335 typedef struct xcb_selinux_get_property_context_cookie_t {
0336     unsigned int sequence;
0337 } xcb_selinux_get_property_context_cookie_t;
0338 
0339 /** Opcode for xcb_selinux_get_property_context. */
0340 #define XCB_SELINUX_GET_PROPERTY_CONTEXT 12
0341 
0342 /**
0343  * @brief xcb_selinux_get_property_context_request_t
0344  **/
0345 typedef struct xcb_selinux_get_property_context_request_t {
0346     uint8_t      major_opcode;
0347     uint8_t      minor_opcode;
0348     uint16_t     length;
0349     xcb_window_t window;
0350     xcb_atom_t   property;
0351 } xcb_selinux_get_property_context_request_t;
0352 
0353 /**
0354  * @brief xcb_selinux_get_property_context_reply_t
0355  **/
0356 typedef struct xcb_selinux_get_property_context_reply_t {
0357     uint8_t  response_type;
0358     uint8_t  pad0;
0359     uint16_t sequence;
0360     uint32_t length;
0361     uint32_t context_len;
0362     uint8_t  pad1[20];
0363 } xcb_selinux_get_property_context_reply_t;
0364 
0365 /**
0366  * @brief xcb_selinux_get_property_data_context_cookie_t
0367  **/
0368 typedef struct xcb_selinux_get_property_data_context_cookie_t {
0369     unsigned int sequence;
0370 } xcb_selinux_get_property_data_context_cookie_t;
0371 
0372 /** Opcode for xcb_selinux_get_property_data_context. */
0373 #define XCB_SELINUX_GET_PROPERTY_DATA_CONTEXT 13
0374 
0375 /**
0376  * @brief xcb_selinux_get_property_data_context_request_t
0377  **/
0378 typedef struct xcb_selinux_get_property_data_context_request_t {
0379     uint8_t      major_opcode;
0380     uint8_t      minor_opcode;
0381     uint16_t     length;
0382     xcb_window_t window;
0383     xcb_atom_t   property;
0384 } xcb_selinux_get_property_data_context_request_t;
0385 
0386 /**
0387  * @brief xcb_selinux_get_property_data_context_reply_t
0388  **/
0389 typedef struct xcb_selinux_get_property_data_context_reply_t {
0390     uint8_t  response_type;
0391     uint8_t  pad0;
0392     uint16_t sequence;
0393     uint32_t length;
0394     uint32_t context_len;
0395     uint8_t  pad1[20];
0396 } xcb_selinux_get_property_data_context_reply_t;
0397 
0398 /**
0399  * @brief xcb_selinux_list_properties_cookie_t
0400  **/
0401 typedef struct xcb_selinux_list_properties_cookie_t {
0402     unsigned int sequence;
0403 } xcb_selinux_list_properties_cookie_t;
0404 
0405 /** Opcode for xcb_selinux_list_properties. */
0406 #define XCB_SELINUX_LIST_PROPERTIES 14
0407 
0408 /**
0409  * @brief xcb_selinux_list_properties_request_t
0410  **/
0411 typedef struct xcb_selinux_list_properties_request_t {
0412     uint8_t      major_opcode;
0413     uint8_t      minor_opcode;
0414     uint16_t     length;
0415     xcb_window_t window;
0416 } xcb_selinux_list_properties_request_t;
0417 
0418 /**
0419  * @brief xcb_selinux_list_properties_reply_t
0420  **/
0421 typedef struct xcb_selinux_list_properties_reply_t {
0422     uint8_t  response_type;
0423     uint8_t  pad0;
0424     uint16_t sequence;
0425     uint32_t length;
0426     uint32_t properties_len;
0427     uint8_t  pad1[20];
0428 } xcb_selinux_list_properties_reply_t;
0429 
0430 /** Opcode for xcb_selinux_set_selection_create_context. */
0431 #define XCB_SELINUX_SET_SELECTION_CREATE_CONTEXT 15
0432 
0433 /**
0434  * @brief xcb_selinux_set_selection_create_context_request_t
0435  **/
0436 typedef struct xcb_selinux_set_selection_create_context_request_t {
0437     uint8_t  major_opcode;
0438     uint8_t  minor_opcode;
0439     uint16_t length;
0440     uint32_t context_len;
0441 } xcb_selinux_set_selection_create_context_request_t;
0442 
0443 /**
0444  * @brief xcb_selinux_get_selection_create_context_cookie_t
0445  **/
0446 typedef struct xcb_selinux_get_selection_create_context_cookie_t {
0447     unsigned int sequence;
0448 } xcb_selinux_get_selection_create_context_cookie_t;
0449 
0450 /** Opcode for xcb_selinux_get_selection_create_context. */
0451 #define XCB_SELINUX_GET_SELECTION_CREATE_CONTEXT 16
0452 
0453 /**
0454  * @brief xcb_selinux_get_selection_create_context_request_t
0455  **/
0456 typedef struct xcb_selinux_get_selection_create_context_request_t {
0457     uint8_t  major_opcode;
0458     uint8_t  minor_opcode;
0459     uint16_t length;
0460 } xcb_selinux_get_selection_create_context_request_t;
0461 
0462 /**
0463  * @brief xcb_selinux_get_selection_create_context_reply_t
0464  **/
0465 typedef struct xcb_selinux_get_selection_create_context_reply_t {
0466     uint8_t  response_type;
0467     uint8_t  pad0;
0468     uint16_t sequence;
0469     uint32_t length;
0470     uint32_t context_len;
0471     uint8_t  pad1[20];
0472 } xcb_selinux_get_selection_create_context_reply_t;
0473 
0474 /** Opcode for xcb_selinux_set_selection_use_context. */
0475 #define XCB_SELINUX_SET_SELECTION_USE_CONTEXT 17
0476 
0477 /**
0478  * @brief xcb_selinux_set_selection_use_context_request_t
0479  **/
0480 typedef struct xcb_selinux_set_selection_use_context_request_t {
0481     uint8_t  major_opcode;
0482     uint8_t  minor_opcode;
0483     uint16_t length;
0484     uint32_t context_len;
0485 } xcb_selinux_set_selection_use_context_request_t;
0486 
0487 /**
0488  * @brief xcb_selinux_get_selection_use_context_cookie_t
0489  **/
0490 typedef struct xcb_selinux_get_selection_use_context_cookie_t {
0491     unsigned int sequence;
0492 } xcb_selinux_get_selection_use_context_cookie_t;
0493 
0494 /** Opcode for xcb_selinux_get_selection_use_context. */
0495 #define XCB_SELINUX_GET_SELECTION_USE_CONTEXT 18
0496 
0497 /**
0498  * @brief xcb_selinux_get_selection_use_context_request_t
0499  **/
0500 typedef struct xcb_selinux_get_selection_use_context_request_t {
0501     uint8_t  major_opcode;
0502     uint8_t  minor_opcode;
0503     uint16_t length;
0504 } xcb_selinux_get_selection_use_context_request_t;
0505 
0506 /**
0507  * @brief xcb_selinux_get_selection_use_context_reply_t
0508  **/
0509 typedef struct xcb_selinux_get_selection_use_context_reply_t {
0510     uint8_t  response_type;
0511     uint8_t  pad0;
0512     uint16_t sequence;
0513     uint32_t length;
0514     uint32_t context_len;
0515     uint8_t  pad1[20];
0516 } xcb_selinux_get_selection_use_context_reply_t;
0517 
0518 /**
0519  * @brief xcb_selinux_get_selection_context_cookie_t
0520  **/
0521 typedef struct xcb_selinux_get_selection_context_cookie_t {
0522     unsigned int sequence;
0523 } xcb_selinux_get_selection_context_cookie_t;
0524 
0525 /** Opcode for xcb_selinux_get_selection_context. */
0526 #define XCB_SELINUX_GET_SELECTION_CONTEXT 19
0527 
0528 /**
0529  * @brief xcb_selinux_get_selection_context_request_t
0530  **/
0531 typedef struct xcb_selinux_get_selection_context_request_t {
0532     uint8_t    major_opcode;
0533     uint8_t    minor_opcode;
0534     uint16_t   length;
0535     xcb_atom_t selection;
0536 } xcb_selinux_get_selection_context_request_t;
0537 
0538 /**
0539  * @brief xcb_selinux_get_selection_context_reply_t
0540  **/
0541 typedef struct xcb_selinux_get_selection_context_reply_t {
0542     uint8_t  response_type;
0543     uint8_t  pad0;
0544     uint16_t sequence;
0545     uint32_t length;
0546     uint32_t context_len;
0547     uint8_t  pad1[20];
0548 } xcb_selinux_get_selection_context_reply_t;
0549 
0550 /**
0551  * @brief xcb_selinux_get_selection_data_context_cookie_t
0552  **/
0553 typedef struct xcb_selinux_get_selection_data_context_cookie_t {
0554     unsigned int sequence;
0555 } xcb_selinux_get_selection_data_context_cookie_t;
0556 
0557 /** Opcode for xcb_selinux_get_selection_data_context. */
0558 #define XCB_SELINUX_GET_SELECTION_DATA_CONTEXT 20
0559 
0560 /**
0561  * @brief xcb_selinux_get_selection_data_context_request_t
0562  **/
0563 typedef struct xcb_selinux_get_selection_data_context_request_t {
0564     uint8_t    major_opcode;
0565     uint8_t    minor_opcode;
0566     uint16_t   length;
0567     xcb_atom_t selection;
0568 } xcb_selinux_get_selection_data_context_request_t;
0569 
0570 /**
0571  * @brief xcb_selinux_get_selection_data_context_reply_t
0572  **/
0573 typedef struct xcb_selinux_get_selection_data_context_reply_t {
0574     uint8_t  response_type;
0575     uint8_t  pad0;
0576     uint16_t sequence;
0577     uint32_t length;
0578     uint32_t context_len;
0579     uint8_t  pad1[20];
0580 } xcb_selinux_get_selection_data_context_reply_t;
0581 
0582 /**
0583  * @brief xcb_selinux_list_selections_cookie_t
0584  **/
0585 typedef struct xcb_selinux_list_selections_cookie_t {
0586     unsigned int sequence;
0587 } xcb_selinux_list_selections_cookie_t;
0588 
0589 /** Opcode for xcb_selinux_list_selections. */
0590 #define XCB_SELINUX_LIST_SELECTIONS 21
0591 
0592 /**
0593  * @brief xcb_selinux_list_selections_request_t
0594  **/
0595 typedef struct xcb_selinux_list_selections_request_t {
0596     uint8_t  major_opcode;
0597     uint8_t  minor_opcode;
0598     uint16_t length;
0599 } xcb_selinux_list_selections_request_t;
0600 
0601 /**
0602  * @brief xcb_selinux_list_selections_reply_t
0603  **/
0604 typedef struct xcb_selinux_list_selections_reply_t {
0605     uint8_t  response_type;
0606     uint8_t  pad0;
0607     uint16_t sequence;
0608     uint32_t length;
0609     uint32_t selections_len;
0610     uint8_t  pad1[20];
0611 } xcb_selinux_list_selections_reply_t;
0612 
0613 /**
0614  * @brief xcb_selinux_get_client_context_cookie_t
0615  **/
0616 typedef struct xcb_selinux_get_client_context_cookie_t {
0617     unsigned int sequence;
0618 } xcb_selinux_get_client_context_cookie_t;
0619 
0620 /** Opcode for xcb_selinux_get_client_context. */
0621 #define XCB_SELINUX_GET_CLIENT_CONTEXT 22
0622 
0623 /**
0624  * @brief xcb_selinux_get_client_context_request_t
0625  **/
0626 typedef struct xcb_selinux_get_client_context_request_t {
0627     uint8_t  major_opcode;
0628     uint8_t  minor_opcode;
0629     uint16_t length;
0630     uint32_t resource;
0631 } xcb_selinux_get_client_context_request_t;
0632 
0633 /**
0634  * @brief xcb_selinux_get_client_context_reply_t
0635  **/
0636 typedef struct xcb_selinux_get_client_context_reply_t {
0637     uint8_t  response_type;
0638     uint8_t  pad0;
0639     uint16_t sequence;
0640     uint32_t length;
0641     uint32_t context_len;
0642     uint8_t  pad1[20];
0643 } xcb_selinux_get_client_context_reply_t;
0644 
0645 /**
0646  *
0647  * @param c The connection
0648  * @return A cookie
0649  *
0650  * Delivers a request to the X server.
0651  *
0652  */
0653 xcb_selinux_query_version_cookie_t
0654 xcb_selinux_query_version (xcb_connection_t *c,
0655                            uint8_t           client_major,
0656                            uint8_t           client_minor);
0657 
0658 /**
0659  *
0660  * @param c The connection
0661  * @return A cookie
0662  *
0663  * Delivers a request to the X server.
0664  *
0665  * This form can be used only if the request will cause
0666  * a reply to be generated. Any returned error will be
0667  * placed in the event queue.
0668  */
0669 xcb_selinux_query_version_cookie_t
0670 xcb_selinux_query_version_unchecked (xcb_connection_t *c,
0671                                      uint8_t           client_major,
0672                                      uint8_t           client_minor);
0673 
0674 /**
0675  * Return the reply
0676  * @param c      The connection
0677  * @param cookie The cookie
0678  * @param e      The xcb_generic_error_t supplied
0679  *
0680  * Returns the reply of the request asked by
0681  *
0682  * The parameter @p e supplied to this function must be NULL if
0683  * xcb_selinux_query_version_unchecked(). is used.
0684  * Otherwise, it stores the error if any.
0685  *
0686  * The returned value must be freed by the caller using free().
0687  */
0688 xcb_selinux_query_version_reply_t *
0689 xcb_selinux_query_version_reply (xcb_connection_t                    *c,
0690                                  xcb_selinux_query_version_cookie_t   cookie  /**< */,
0691                                  xcb_generic_error_t                **e);
0692 
0693 int
0694 xcb_selinux_set_device_create_context_sizeof (const void  *_buffer);
0695 
0696 /**
0697  *
0698  * @param c The connection
0699  * @return A cookie
0700  *
0701  * Delivers a request to the X server.
0702  *
0703  * This form can be used only if the request will not cause
0704  * a reply to be generated. Any returned error will be
0705  * saved for handling by xcb_request_check().
0706  */
0707 xcb_void_cookie_t
0708 xcb_selinux_set_device_create_context_checked (xcb_connection_t *c,
0709                                                uint32_t          context_len,
0710                                                const char       *context);
0711 
0712 /**
0713  *
0714  * @param c The connection
0715  * @return A cookie
0716  *
0717  * Delivers a request to the X server.
0718  *
0719  */
0720 xcb_void_cookie_t
0721 xcb_selinux_set_device_create_context (xcb_connection_t *c,
0722                                        uint32_t          context_len,
0723                                        const char       *context);
0724 
0725 char *
0726 xcb_selinux_set_device_create_context_context (const xcb_selinux_set_device_create_context_request_t *R);
0727 
0728 int
0729 xcb_selinux_set_device_create_context_context_length (const xcb_selinux_set_device_create_context_request_t *R);
0730 
0731 xcb_generic_iterator_t
0732 xcb_selinux_set_device_create_context_context_end (const xcb_selinux_set_device_create_context_request_t *R);
0733 
0734 int
0735 xcb_selinux_get_device_create_context_sizeof (const void  *_buffer);
0736 
0737 /**
0738  *
0739  * @param c The connection
0740  * @return A cookie
0741  *
0742  * Delivers a request to the X server.
0743  *
0744  */
0745 xcb_selinux_get_device_create_context_cookie_t
0746 xcb_selinux_get_device_create_context (xcb_connection_t *c);
0747 
0748 /**
0749  *
0750  * @param c The connection
0751  * @return A cookie
0752  *
0753  * Delivers a request to the X server.
0754  *
0755  * This form can be used only if the request will cause
0756  * a reply to be generated. Any returned error will be
0757  * placed in the event queue.
0758  */
0759 xcb_selinux_get_device_create_context_cookie_t
0760 xcb_selinux_get_device_create_context_unchecked (xcb_connection_t *c);
0761 
0762 char *
0763 xcb_selinux_get_device_create_context_context (const xcb_selinux_get_device_create_context_reply_t *R);
0764 
0765 int
0766 xcb_selinux_get_device_create_context_context_length (const xcb_selinux_get_device_create_context_reply_t *R);
0767 
0768 xcb_generic_iterator_t
0769 xcb_selinux_get_device_create_context_context_end (const xcb_selinux_get_device_create_context_reply_t *R);
0770 
0771 /**
0772  * Return the reply
0773  * @param c      The connection
0774  * @param cookie The cookie
0775  * @param e      The xcb_generic_error_t supplied
0776  *
0777  * Returns the reply of the request asked by
0778  *
0779  * The parameter @p e supplied to this function must be NULL if
0780  * xcb_selinux_get_device_create_context_unchecked(). is used.
0781  * Otherwise, it stores the error if any.
0782  *
0783  * The returned value must be freed by the caller using free().
0784  */
0785 xcb_selinux_get_device_create_context_reply_t *
0786 xcb_selinux_get_device_create_context_reply (xcb_connection_t                                *c,
0787                                              xcb_selinux_get_device_create_context_cookie_t   cookie  /**< */,
0788                                              xcb_generic_error_t                            **e);
0789 
0790 int
0791 xcb_selinux_set_device_context_sizeof (const void  *_buffer);
0792 
0793 /**
0794  *
0795  * @param c The connection
0796  * @return A cookie
0797  *
0798  * Delivers a request to the X server.
0799  *
0800  * This form can be used only if the request will not cause
0801  * a reply to be generated. Any returned error will be
0802  * saved for handling by xcb_request_check().
0803  */
0804 xcb_void_cookie_t
0805 xcb_selinux_set_device_context_checked (xcb_connection_t *c,
0806                                         uint32_t          device,
0807                                         uint32_t          context_len,
0808                                         const char       *context);
0809 
0810 /**
0811  *
0812  * @param c The connection
0813  * @return A cookie
0814  *
0815  * Delivers a request to the X server.
0816  *
0817  */
0818 xcb_void_cookie_t
0819 xcb_selinux_set_device_context (xcb_connection_t *c,
0820                                 uint32_t          device,
0821                                 uint32_t          context_len,
0822                                 const char       *context);
0823 
0824 char *
0825 xcb_selinux_set_device_context_context (const xcb_selinux_set_device_context_request_t *R);
0826 
0827 int
0828 xcb_selinux_set_device_context_context_length (const xcb_selinux_set_device_context_request_t *R);
0829 
0830 xcb_generic_iterator_t
0831 xcb_selinux_set_device_context_context_end (const xcb_selinux_set_device_context_request_t *R);
0832 
0833 int
0834 xcb_selinux_get_device_context_sizeof (const void  *_buffer);
0835 
0836 /**
0837  *
0838  * @param c The connection
0839  * @return A cookie
0840  *
0841  * Delivers a request to the X server.
0842  *
0843  */
0844 xcb_selinux_get_device_context_cookie_t
0845 xcb_selinux_get_device_context (xcb_connection_t *c,
0846                                 uint32_t          device);
0847 
0848 /**
0849  *
0850  * @param c The connection
0851  * @return A cookie
0852  *
0853  * Delivers a request to the X server.
0854  *
0855  * This form can be used only if the request will cause
0856  * a reply to be generated. Any returned error will be
0857  * placed in the event queue.
0858  */
0859 xcb_selinux_get_device_context_cookie_t
0860 xcb_selinux_get_device_context_unchecked (xcb_connection_t *c,
0861                                           uint32_t          device);
0862 
0863 char *
0864 xcb_selinux_get_device_context_context (const xcb_selinux_get_device_context_reply_t *R);
0865 
0866 int
0867 xcb_selinux_get_device_context_context_length (const xcb_selinux_get_device_context_reply_t *R);
0868 
0869 xcb_generic_iterator_t
0870 xcb_selinux_get_device_context_context_end (const xcb_selinux_get_device_context_reply_t *R);
0871 
0872 /**
0873  * Return the reply
0874  * @param c      The connection
0875  * @param cookie The cookie
0876  * @param e      The xcb_generic_error_t supplied
0877  *
0878  * Returns the reply of the request asked by
0879  *
0880  * The parameter @p e supplied to this function must be NULL if
0881  * xcb_selinux_get_device_context_unchecked(). is used.
0882  * Otherwise, it stores the error if any.
0883  *
0884  * The returned value must be freed by the caller using free().
0885  */
0886 xcb_selinux_get_device_context_reply_t *
0887 xcb_selinux_get_device_context_reply (xcb_connection_t                         *c,
0888                                       xcb_selinux_get_device_context_cookie_t   cookie  /**< */,
0889                                       xcb_generic_error_t                     **e);
0890 
0891 int
0892 xcb_selinux_set_window_create_context_sizeof (const void  *_buffer);
0893 
0894 /**
0895  *
0896  * @param c The connection
0897  * @return A cookie
0898  *
0899  * Delivers a request to the X server.
0900  *
0901  * This form can be used only if the request will not cause
0902  * a reply to be generated. Any returned error will be
0903  * saved for handling by xcb_request_check().
0904  */
0905 xcb_void_cookie_t
0906 xcb_selinux_set_window_create_context_checked (xcb_connection_t *c,
0907                                                uint32_t          context_len,
0908                                                const char       *context);
0909 
0910 /**
0911  *
0912  * @param c The connection
0913  * @return A cookie
0914  *
0915  * Delivers a request to the X server.
0916  *
0917  */
0918 xcb_void_cookie_t
0919 xcb_selinux_set_window_create_context (xcb_connection_t *c,
0920                                        uint32_t          context_len,
0921                                        const char       *context);
0922 
0923 char *
0924 xcb_selinux_set_window_create_context_context (const xcb_selinux_set_window_create_context_request_t *R);
0925 
0926 int
0927 xcb_selinux_set_window_create_context_context_length (const xcb_selinux_set_window_create_context_request_t *R);
0928 
0929 xcb_generic_iterator_t
0930 xcb_selinux_set_window_create_context_context_end (const xcb_selinux_set_window_create_context_request_t *R);
0931 
0932 int
0933 xcb_selinux_get_window_create_context_sizeof (const void  *_buffer);
0934 
0935 /**
0936  *
0937  * @param c The connection
0938  * @return A cookie
0939  *
0940  * Delivers a request to the X server.
0941  *
0942  */
0943 xcb_selinux_get_window_create_context_cookie_t
0944 xcb_selinux_get_window_create_context (xcb_connection_t *c);
0945 
0946 /**
0947  *
0948  * @param c The connection
0949  * @return A cookie
0950  *
0951  * Delivers a request to the X server.
0952  *
0953  * This form can be used only if the request will cause
0954  * a reply to be generated. Any returned error will be
0955  * placed in the event queue.
0956  */
0957 xcb_selinux_get_window_create_context_cookie_t
0958 xcb_selinux_get_window_create_context_unchecked (xcb_connection_t *c);
0959 
0960 char *
0961 xcb_selinux_get_window_create_context_context (const xcb_selinux_get_window_create_context_reply_t *R);
0962 
0963 int
0964 xcb_selinux_get_window_create_context_context_length (const xcb_selinux_get_window_create_context_reply_t *R);
0965 
0966 xcb_generic_iterator_t
0967 xcb_selinux_get_window_create_context_context_end (const xcb_selinux_get_window_create_context_reply_t *R);
0968 
0969 /**
0970  * Return the reply
0971  * @param c      The connection
0972  * @param cookie The cookie
0973  * @param e      The xcb_generic_error_t supplied
0974  *
0975  * Returns the reply of the request asked by
0976  *
0977  * The parameter @p e supplied to this function must be NULL if
0978  * xcb_selinux_get_window_create_context_unchecked(). is used.
0979  * Otherwise, it stores the error if any.
0980  *
0981  * The returned value must be freed by the caller using free().
0982  */
0983 xcb_selinux_get_window_create_context_reply_t *
0984 xcb_selinux_get_window_create_context_reply (xcb_connection_t                                *c,
0985                                              xcb_selinux_get_window_create_context_cookie_t   cookie  /**< */,
0986                                              xcb_generic_error_t                            **e);
0987 
0988 int
0989 xcb_selinux_get_window_context_sizeof (const void  *_buffer);
0990 
0991 /**
0992  *
0993  * @param c The connection
0994  * @return A cookie
0995  *
0996  * Delivers a request to the X server.
0997  *
0998  */
0999 xcb_selinux_get_window_context_cookie_t
1000 xcb_selinux_get_window_context (xcb_connection_t *c,
1001                                 xcb_window_t      window);
1002 
1003 /**
1004  *
1005  * @param c The connection
1006  * @return A cookie
1007  *
1008  * Delivers a request to the X server.
1009  *
1010  * This form can be used only if the request will cause
1011  * a reply to be generated. Any returned error will be
1012  * placed in the event queue.
1013  */
1014 xcb_selinux_get_window_context_cookie_t
1015 xcb_selinux_get_window_context_unchecked (xcb_connection_t *c,
1016                                           xcb_window_t      window);
1017 
1018 char *
1019 xcb_selinux_get_window_context_context (const xcb_selinux_get_window_context_reply_t *R);
1020 
1021 int
1022 xcb_selinux_get_window_context_context_length (const xcb_selinux_get_window_context_reply_t *R);
1023 
1024 xcb_generic_iterator_t
1025 xcb_selinux_get_window_context_context_end (const xcb_selinux_get_window_context_reply_t *R);
1026 
1027 /**
1028  * Return the reply
1029  * @param c      The connection
1030  * @param cookie The cookie
1031  * @param e      The xcb_generic_error_t supplied
1032  *
1033  * Returns the reply of the request asked by
1034  *
1035  * The parameter @p e supplied to this function must be NULL if
1036  * xcb_selinux_get_window_context_unchecked(). is used.
1037  * Otherwise, it stores the error if any.
1038  *
1039  * The returned value must be freed by the caller using free().
1040  */
1041 xcb_selinux_get_window_context_reply_t *
1042 xcb_selinux_get_window_context_reply (xcb_connection_t                         *c,
1043                                       xcb_selinux_get_window_context_cookie_t   cookie  /**< */,
1044                                       xcb_generic_error_t                     **e);
1045 
1046 int
1047 xcb_selinux_list_item_sizeof (const void  *_buffer);
1048 
1049 char *
1050 xcb_selinux_list_item_object_context (const xcb_selinux_list_item_t *R);
1051 
1052 int
1053 xcb_selinux_list_item_object_context_length (const xcb_selinux_list_item_t *R);
1054 
1055 xcb_generic_iterator_t
1056 xcb_selinux_list_item_object_context_end (const xcb_selinux_list_item_t *R);
1057 
1058 char *
1059 xcb_selinux_list_item_data_context (const xcb_selinux_list_item_t *R);
1060 
1061 int
1062 xcb_selinux_list_item_data_context_length (const xcb_selinux_list_item_t *R);
1063 
1064 xcb_generic_iterator_t
1065 xcb_selinux_list_item_data_context_end (const xcb_selinux_list_item_t *R);
1066 
1067 /**
1068  * Get the next element of the iterator
1069  * @param i Pointer to a xcb_selinux_list_item_iterator_t
1070  *
1071  * Get the next element in the iterator. The member rem is
1072  * decreased by one. The member data points to the next
1073  * element. The member index is increased by sizeof(xcb_selinux_list_item_t)
1074  */
1075 void
1076 xcb_selinux_list_item_next (xcb_selinux_list_item_iterator_t *i);
1077 
1078 /**
1079  * Return the iterator pointing to the last element
1080  * @param i An xcb_selinux_list_item_iterator_t
1081  * @return  The iterator pointing to the last element
1082  *
1083  * Set the current element in the iterator to the last element.
1084  * The member rem is set to 0. The member data points to the
1085  * last element.
1086  */
1087 xcb_generic_iterator_t
1088 xcb_selinux_list_item_end (xcb_selinux_list_item_iterator_t i);
1089 
1090 int
1091 xcb_selinux_set_property_create_context_sizeof (const void  *_buffer);
1092 
1093 /**
1094  *
1095  * @param c The connection
1096  * @return A cookie
1097  *
1098  * Delivers a request to the X server.
1099  *
1100  * This form can be used only if the request will not cause
1101  * a reply to be generated. Any returned error will be
1102  * saved for handling by xcb_request_check().
1103  */
1104 xcb_void_cookie_t
1105 xcb_selinux_set_property_create_context_checked (xcb_connection_t *c,
1106                                                  uint32_t          context_len,
1107                                                  const char       *context);
1108 
1109 /**
1110  *
1111  * @param c The connection
1112  * @return A cookie
1113  *
1114  * Delivers a request to the X server.
1115  *
1116  */
1117 xcb_void_cookie_t
1118 xcb_selinux_set_property_create_context (xcb_connection_t *c,
1119                                          uint32_t          context_len,
1120                                          const char       *context);
1121 
1122 char *
1123 xcb_selinux_set_property_create_context_context (const xcb_selinux_set_property_create_context_request_t *R);
1124 
1125 int
1126 xcb_selinux_set_property_create_context_context_length (const xcb_selinux_set_property_create_context_request_t *R);
1127 
1128 xcb_generic_iterator_t
1129 xcb_selinux_set_property_create_context_context_end (const xcb_selinux_set_property_create_context_request_t *R);
1130 
1131 int
1132 xcb_selinux_get_property_create_context_sizeof (const void  *_buffer);
1133 
1134 /**
1135  *
1136  * @param c The connection
1137  * @return A cookie
1138  *
1139  * Delivers a request to the X server.
1140  *
1141  */
1142 xcb_selinux_get_property_create_context_cookie_t
1143 xcb_selinux_get_property_create_context (xcb_connection_t *c);
1144 
1145 /**
1146  *
1147  * @param c The connection
1148  * @return A cookie
1149  *
1150  * Delivers a request to the X server.
1151  *
1152  * This form can be used only if the request will cause
1153  * a reply to be generated. Any returned error will be
1154  * placed in the event queue.
1155  */
1156 xcb_selinux_get_property_create_context_cookie_t
1157 xcb_selinux_get_property_create_context_unchecked (xcb_connection_t *c);
1158 
1159 char *
1160 xcb_selinux_get_property_create_context_context (const xcb_selinux_get_property_create_context_reply_t *R);
1161 
1162 int
1163 xcb_selinux_get_property_create_context_context_length (const xcb_selinux_get_property_create_context_reply_t *R);
1164 
1165 xcb_generic_iterator_t
1166 xcb_selinux_get_property_create_context_context_end (const xcb_selinux_get_property_create_context_reply_t *R);
1167 
1168 /**
1169  * Return the reply
1170  * @param c      The connection
1171  * @param cookie The cookie
1172  * @param e      The xcb_generic_error_t supplied
1173  *
1174  * Returns the reply of the request asked by
1175  *
1176  * The parameter @p e supplied to this function must be NULL if
1177  * xcb_selinux_get_property_create_context_unchecked(). is used.
1178  * Otherwise, it stores the error if any.
1179  *
1180  * The returned value must be freed by the caller using free().
1181  */
1182 xcb_selinux_get_property_create_context_reply_t *
1183 xcb_selinux_get_property_create_context_reply (xcb_connection_t                                  *c,
1184                                                xcb_selinux_get_property_create_context_cookie_t   cookie  /**< */,
1185                                                xcb_generic_error_t                              **e);
1186 
1187 int
1188 xcb_selinux_set_property_use_context_sizeof (const void  *_buffer);
1189 
1190 /**
1191  *
1192  * @param c The connection
1193  * @return A cookie
1194  *
1195  * Delivers a request to the X server.
1196  *
1197  * This form can be used only if the request will not cause
1198  * a reply to be generated. Any returned error will be
1199  * saved for handling by xcb_request_check().
1200  */
1201 xcb_void_cookie_t
1202 xcb_selinux_set_property_use_context_checked (xcb_connection_t *c,
1203                                               uint32_t          context_len,
1204                                               const char       *context);
1205 
1206 /**
1207  *
1208  * @param c The connection
1209  * @return A cookie
1210  *
1211  * Delivers a request to the X server.
1212  *
1213  */
1214 xcb_void_cookie_t
1215 xcb_selinux_set_property_use_context (xcb_connection_t *c,
1216                                       uint32_t          context_len,
1217                                       const char       *context);
1218 
1219 char *
1220 xcb_selinux_set_property_use_context_context (const xcb_selinux_set_property_use_context_request_t *R);
1221 
1222 int
1223 xcb_selinux_set_property_use_context_context_length (const xcb_selinux_set_property_use_context_request_t *R);
1224 
1225 xcb_generic_iterator_t
1226 xcb_selinux_set_property_use_context_context_end (const xcb_selinux_set_property_use_context_request_t *R);
1227 
1228 int
1229 xcb_selinux_get_property_use_context_sizeof (const void  *_buffer);
1230 
1231 /**
1232  *
1233  * @param c The connection
1234  * @return A cookie
1235  *
1236  * Delivers a request to the X server.
1237  *
1238  */
1239 xcb_selinux_get_property_use_context_cookie_t
1240 xcb_selinux_get_property_use_context (xcb_connection_t *c);
1241 
1242 /**
1243  *
1244  * @param c The connection
1245  * @return A cookie
1246  *
1247  * Delivers a request to the X server.
1248  *
1249  * This form can be used only if the request will cause
1250  * a reply to be generated. Any returned error will be
1251  * placed in the event queue.
1252  */
1253 xcb_selinux_get_property_use_context_cookie_t
1254 xcb_selinux_get_property_use_context_unchecked (xcb_connection_t *c);
1255 
1256 char *
1257 xcb_selinux_get_property_use_context_context (const xcb_selinux_get_property_use_context_reply_t *R);
1258 
1259 int
1260 xcb_selinux_get_property_use_context_context_length (const xcb_selinux_get_property_use_context_reply_t *R);
1261 
1262 xcb_generic_iterator_t
1263 xcb_selinux_get_property_use_context_context_end (const xcb_selinux_get_property_use_context_reply_t *R);
1264 
1265 /**
1266  * Return the reply
1267  * @param c      The connection
1268  * @param cookie The cookie
1269  * @param e      The xcb_generic_error_t supplied
1270  *
1271  * Returns the reply of the request asked by
1272  *
1273  * The parameter @p e supplied to this function must be NULL if
1274  * xcb_selinux_get_property_use_context_unchecked(). is used.
1275  * Otherwise, it stores the error if any.
1276  *
1277  * The returned value must be freed by the caller using free().
1278  */
1279 xcb_selinux_get_property_use_context_reply_t *
1280 xcb_selinux_get_property_use_context_reply (xcb_connection_t                               *c,
1281                                             xcb_selinux_get_property_use_context_cookie_t   cookie  /**< */,
1282                                             xcb_generic_error_t                           **e);
1283 
1284 int
1285 xcb_selinux_get_property_context_sizeof (const void  *_buffer);
1286 
1287 /**
1288  *
1289  * @param c The connection
1290  * @return A cookie
1291  *
1292  * Delivers a request to the X server.
1293  *
1294  */
1295 xcb_selinux_get_property_context_cookie_t
1296 xcb_selinux_get_property_context (xcb_connection_t *c,
1297                                   xcb_window_t      window,
1298                                   xcb_atom_t        property);
1299 
1300 /**
1301  *
1302  * @param c The connection
1303  * @return A cookie
1304  *
1305  * Delivers a request to the X server.
1306  *
1307  * This form can be used only if the request will cause
1308  * a reply to be generated. Any returned error will be
1309  * placed in the event queue.
1310  */
1311 xcb_selinux_get_property_context_cookie_t
1312 xcb_selinux_get_property_context_unchecked (xcb_connection_t *c,
1313                                             xcb_window_t      window,
1314                                             xcb_atom_t        property);
1315 
1316 char *
1317 xcb_selinux_get_property_context_context (const xcb_selinux_get_property_context_reply_t *R);
1318 
1319 int
1320 xcb_selinux_get_property_context_context_length (const xcb_selinux_get_property_context_reply_t *R);
1321 
1322 xcb_generic_iterator_t
1323 xcb_selinux_get_property_context_context_end (const xcb_selinux_get_property_context_reply_t *R);
1324 
1325 /**
1326  * Return the reply
1327  * @param c      The connection
1328  * @param cookie The cookie
1329  * @param e      The xcb_generic_error_t supplied
1330  *
1331  * Returns the reply of the request asked by
1332  *
1333  * The parameter @p e supplied to this function must be NULL if
1334  * xcb_selinux_get_property_context_unchecked(). is used.
1335  * Otherwise, it stores the error if any.
1336  *
1337  * The returned value must be freed by the caller using free().
1338  */
1339 xcb_selinux_get_property_context_reply_t *
1340 xcb_selinux_get_property_context_reply (xcb_connection_t                           *c,
1341                                         xcb_selinux_get_property_context_cookie_t   cookie  /**< */,
1342                                         xcb_generic_error_t                       **e);
1343 
1344 int
1345 xcb_selinux_get_property_data_context_sizeof (const void  *_buffer);
1346 
1347 /**
1348  *
1349  * @param c The connection
1350  * @return A cookie
1351  *
1352  * Delivers a request to the X server.
1353  *
1354  */
1355 xcb_selinux_get_property_data_context_cookie_t
1356 xcb_selinux_get_property_data_context (xcb_connection_t *c,
1357                                        xcb_window_t      window,
1358                                        xcb_atom_t        property);
1359 
1360 /**
1361  *
1362  * @param c The connection
1363  * @return A cookie
1364  *
1365  * Delivers a request to the X server.
1366  *
1367  * This form can be used only if the request will cause
1368  * a reply to be generated. Any returned error will be
1369  * placed in the event queue.
1370  */
1371 xcb_selinux_get_property_data_context_cookie_t
1372 xcb_selinux_get_property_data_context_unchecked (xcb_connection_t *c,
1373                                                  xcb_window_t      window,
1374                                                  xcb_atom_t        property);
1375 
1376 char *
1377 xcb_selinux_get_property_data_context_context (const xcb_selinux_get_property_data_context_reply_t *R);
1378 
1379 int
1380 xcb_selinux_get_property_data_context_context_length (const xcb_selinux_get_property_data_context_reply_t *R);
1381 
1382 xcb_generic_iterator_t
1383 xcb_selinux_get_property_data_context_context_end (const xcb_selinux_get_property_data_context_reply_t *R);
1384 
1385 /**
1386  * Return the reply
1387  * @param c      The connection
1388  * @param cookie The cookie
1389  * @param e      The xcb_generic_error_t supplied
1390  *
1391  * Returns the reply of the request asked by
1392  *
1393  * The parameter @p e supplied to this function must be NULL if
1394  * xcb_selinux_get_property_data_context_unchecked(). is used.
1395  * Otherwise, it stores the error if any.
1396  *
1397  * The returned value must be freed by the caller using free().
1398  */
1399 xcb_selinux_get_property_data_context_reply_t *
1400 xcb_selinux_get_property_data_context_reply (xcb_connection_t                                *c,
1401                                              xcb_selinux_get_property_data_context_cookie_t   cookie  /**< */,
1402                                              xcb_generic_error_t                            **e);
1403 
1404 int
1405 xcb_selinux_list_properties_sizeof (const void  *_buffer);
1406 
1407 /**
1408  *
1409  * @param c The connection
1410  * @return A cookie
1411  *
1412  * Delivers a request to the X server.
1413  *
1414  */
1415 xcb_selinux_list_properties_cookie_t
1416 xcb_selinux_list_properties (xcb_connection_t *c,
1417                              xcb_window_t      window);
1418 
1419 /**
1420  *
1421  * @param c The connection
1422  * @return A cookie
1423  *
1424  * Delivers a request to the X server.
1425  *
1426  * This form can be used only if the request will cause
1427  * a reply to be generated. Any returned error will be
1428  * placed in the event queue.
1429  */
1430 xcb_selinux_list_properties_cookie_t
1431 xcb_selinux_list_properties_unchecked (xcb_connection_t *c,
1432                                        xcb_window_t      window);
1433 
1434 int
1435 xcb_selinux_list_properties_properties_length (const xcb_selinux_list_properties_reply_t *R);
1436 
1437 xcb_selinux_list_item_iterator_t
1438 xcb_selinux_list_properties_properties_iterator (const xcb_selinux_list_properties_reply_t *R);
1439 
1440 /**
1441  * Return the reply
1442  * @param c      The connection
1443  * @param cookie The cookie
1444  * @param e      The xcb_generic_error_t supplied
1445  *
1446  * Returns the reply of the request asked by
1447  *
1448  * The parameter @p e supplied to this function must be NULL if
1449  * xcb_selinux_list_properties_unchecked(). is used.
1450  * Otherwise, it stores the error if any.
1451  *
1452  * The returned value must be freed by the caller using free().
1453  */
1454 xcb_selinux_list_properties_reply_t *
1455 xcb_selinux_list_properties_reply (xcb_connection_t                      *c,
1456                                    xcb_selinux_list_properties_cookie_t   cookie  /**< */,
1457                                    xcb_generic_error_t                  **e);
1458 
1459 int
1460 xcb_selinux_set_selection_create_context_sizeof (const void  *_buffer);
1461 
1462 /**
1463  *
1464  * @param c The connection
1465  * @return A cookie
1466  *
1467  * Delivers a request to the X server.
1468  *
1469  * This form can be used only if the request will not cause
1470  * a reply to be generated. Any returned error will be
1471  * saved for handling by xcb_request_check().
1472  */
1473 xcb_void_cookie_t
1474 xcb_selinux_set_selection_create_context_checked (xcb_connection_t *c,
1475                                                   uint32_t          context_len,
1476                                                   const char       *context);
1477 
1478 /**
1479  *
1480  * @param c The connection
1481  * @return A cookie
1482  *
1483  * Delivers a request to the X server.
1484  *
1485  */
1486 xcb_void_cookie_t
1487 xcb_selinux_set_selection_create_context (xcb_connection_t *c,
1488                                           uint32_t          context_len,
1489                                           const char       *context);
1490 
1491 char *
1492 xcb_selinux_set_selection_create_context_context (const xcb_selinux_set_selection_create_context_request_t *R);
1493 
1494 int
1495 xcb_selinux_set_selection_create_context_context_length (const xcb_selinux_set_selection_create_context_request_t *R);
1496 
1497 xcb_generic_iterator_t
1498 xcb_selinux_set_selection_create_context_context_end (const xcb_selinux_set_selection_create_context_request_t *R);
1499 
1500 int
1501 xcb_selinux_get_selection_create_context_sizeof (const void  *_buffer);
1502 
1503 /**
1504  *
1505  * @param c The connection
1506  * @return A cookie
1507  *
1508  * Delivers a request to the X server.
1509  *
1510  */
1511 xcb_selinux_get_selection_create_context_cookie_t
1512 xcb_selinux_get_selection_create_context (xcb_connection_t *c);
1513 
1514 /**
1515  *
1516  * @param c The connection
1517  * @return A cookie
1518  *
1519  * Delivers a request to the X server.
1520  *
1521  * This form can be used only if the request will cause
1522  * a reply to be generated. Any returned error will be
1523  * placed in the event queue.
1524  */
1525 xcb_selinux_get_selection_create_context_cookie_t
1526 xcb_selinux_get_selection_create_context_unchecked (xcb_connection_t *c);
1527 
1528 char *
1529 xcb_selinux_get_selection_create_context_context (const xcb_selinux_get_selection_create_context_reply_t *R);
1530 
1531 int
1532 xcb_selinux_get_selection_create_context_context_length (const xcb_selinux_get_selection_create_context_reply_t *R);
1533 
1534 xcb_generic_iterator_t
1535 xcb_selinux_get_selection_create_context_context_end (const xcb_selinux_get_selection_create_context_reply_t *R);
1536 
1537 /**
1538  * Return the reply
1539  * @param c      The connection
1540  * @param cookie The cookie
1541  * @param e      The xcb_generic_error_t supplied
1542  *
1543  * Returns the reply of the request asked by
1544  *
1545  * The parameter @p e supplied to this function must be NULL if
1546  * xcb_selinux_get_selection_create_context_unchecked(). is used.
1547  * Otherwise, it stores the error if any.
1548  *
1549  * The returned value must be freed by the caller using free().
1550  */
1551 xcb_selinux_get_selection_create_context_reply_t *
1552 xcb_selinux_get_selection_create_context_reply (xcb_connection_t                                   *c,
1553                                                 xcb_selinux_get_selection_create_context_cookie_t   cookie  /**< */,
1554                                                 xcb_generic_error_t                               **e);
1555 
1556 int
1557 xcb_selinux_set_selection_use_context_sizeof (const void  *_buffer);
1558 
1559 /**
1560  *
1561  * @param c The connection
1562  * @return A cookie
1563  *
1564  * Delivers a request to the X server.
1565  *
1566  * This form can be used only if the request will not cause
1567  * a reply to be generated. Any returned error will be
1568  * saved for handling by xcb_request_check().
1569  */
1570 xcb_void_cookie_t
1571 xcb_selinux_set_selection_use_context_checked (xcb_connection_t *c,
1572                                                uint32_t          context_len,
1573                                                const char       *context);
1574 
1575 /**
1576  *
1577  * @param c The connection
1578  * @return A cookie
1579  *
1580  * Delivers a request to the X server.
1581  *
1582  */
1583 xcb_void_cookie_t
1584 xcb_selinux_set_selection_use_context (xcb_connection_t *c,
1585                                        uint32_t          context_len,
1586                                        const char       *context);
1587 
1588 char *
1589 xcb_selinux_set_selection_use_context_context (const xcb_selinux_set_selection_use_context_request_t *R);
1590 
1591 int
1592 xcb_selinux_set_selection_use_context_context_length (const xcb_selinux_set_selection_use_context_request_t *R);
1593 
1594 xcb_generic_iterator_t
1595 xcb_selinux_set_selection_use_context_context_end (const xcb_selinux_set_selection_use_context_request_t *R);
1596 
1597 int
1598 xcb_selinux_get_selection_use_context_sizeof (const void  *_buffer);
1599 
1600 /**
1601  *
1602  * @param c The connection
1603  * @return A cookie
1604  *
1605  * Delivers a request to the X server.
1606  *
1607  */
1608 xcb_selinux_get_selection_use_context_cookie_t
1609 xcb_selinux_get_selection_use_context (xcb_connection_t *c);
1610 
1611 /**
1612  *
1613  * @param c The connection
1614  * @return A cookie
1615  *
1616  * Delivers a request to the X server.
1617  *
1618  * This form can be used only if the request will cause
1619  * a reply to be generated. Any returned error will be
1620  * placed in the event queue.
1621  */
1622 xcb_selinux_get_selection_use_context_cookie_t
1623 xcb_selinux_get_selection_use_context_unchecked (xcb_connection_t *c);
1624 
1625 char *
1626 xcb_selinux_get_selection_use_context_context (const xcb_selinux_get_selection_use_context_reply_t *R);
1627 
1628 int
1629 xcb_selinux_get_selection_use_context_context_length (const xcb_selinux_get_selection_use_context_reply_t *R);
1630 
1631 xcb_generic_iterator_t
1632 xcb_selinux_get_selection_use_context_context_end (const xcb_selinux_get_selection_use_context_reply_t *R);
1633 
1634 /**
1635  * Return the reply
1636  * @param c      The connection
1637  * @param cookie The cookie
1638  * @param e      The xcb_generic_error_t supplied
1639  *
1640  * Returns the reply of the request asked by
1641  *
1642  * The parameter @p e supplied to this function must be NULL if
1643  * xcb_selinux_get_selection_use_context_unchecked(). is used.
1644  * Otherwise, it stores the error if any.
1645  *
1646  * The returned value must be freed by the caller using free().
1647  */
1648 xcb_selinux_get_selection_use_context_reply_t *
1649 xcb_selinux_get_selection_use_context_reply (xcb_connection_t                                *c,
1650                                              xcb_selinux_get_selection_use_context_cookie_t   cookie  /**< */,
1651                                              xcb_generic_error_t                            **e);
1652 
1653 int
1654 xcb_selinux_get_selection_context_sizeof (const void  *_buffer);
1655 
1656 /**
1657  *
1658  * @param c The connection
1659  * @return A cookie
1660  *
1661  * Delivers a request to the X server.
1662  *
1663  */
1664 xcb_selinux_get_selection_context_cookie_t
1665 xcb_selinux_get_selection_context (xcb_connection_t *c,
1666                                    xcb_atom_t        selection);
1667 
1668 /**
1669  *
1670  * @param c The connection
1671  * @return A cookie
1672  *
1673  * Delivers a request to the X server.
1674  *
1675  * This form can be used only if the request will cause
1676  * a reply to be generated. Any returned error will be
1677  * placed in the event queue.
1678  */
1679 xcb_selinux_get_selection_context_cookie_t
1680 xcb_selinux_get_selection_context_unchecked (xcb_connection_t *c,
1681                                              xcb_atom_t        selection);
1682 
1683 char *
1684 xcb_selinux_get_selection_context_context (const xcb_selinux_get_selection_context_reply_t *R);
1685 
1686 int
1687 xcb_selinux_get_selection_context_context_length (const xcb_selinux_get_selection_context_reply_t *R);
1688 
1689 xcb_generic_iterator_t
1690 xcb_selinux_get_selection_context_context_end (const xcb_selinux_get_selection_context_reply_t *R);
1691 
1692 /**
1693  * Return the reply
1694  * @param c      The connection
1695  * @param cookie The cookie
1696  * @param e      The xcb_generic_error_t supplied
1697  *
1698  * Returns the reply of the request asked by
1699  *
1700  * The parameter @p e supplied to this function must be NULL if
1701  * xcb_selinux_get_selection_context_unchecked(). is used.
1702  * Otherwise, it stores the error if any.
1703  *
1704  * The returned value must be freed by the caller using free().
1705  */
1706 xcb_selinux_get_selection_context_reply_t *
1707 xcb_selinux_get_selection_context_reply (xcb_connection_t                            *c,
1708                                          xcb_selinux_get_selection_context_cookie_t   cookie  /**< */,
1709                                          xcb_generic_error_t                        **e);
1710 
1711 int
1712 xcb_selinux_get_selection_data_context_sizeof (const void  *_buffer);
1713 
1714 /**
1715  *
1716  * @param c The connection
1717  * @return A cookie
1718  *
1719  * Delivers a request to the X server.
1720  *
1721  */
1722 xcb_selinux_get_selection_data_context_cookie_t
1723 xcb_selinux_get_selection_data_context (xcb_connection_t *c,
1724                                         xcb_atom_t        selection);
1725 
1726 /**
1727  *
1728  * @param c The connection
1729  * @return A cookie
1730  *
1731  * Delivers a request to the X server.
1732  *
1733  * This form can be used only if the request will cause
1734  * a reply to be generated. Any returned error will be
1735  * placed in the event queue.
1736  */
1737 xcb_selinux_get_selection_data_context_cookie_t
1738 xcb_selinux_get_selection_data_context_unchecked (xcb_connection_t *c,
1739                                                   xcb_atom_t        selection);
1740 
1741 char *
1742 xcb_selinux_get_selection_data_context_context (const xcb_selinux_get_selection_data_context_reply_t *R);
1743 
1744 int
1745 xcb_selinux_get_selection_data_context_context_length (const xcb_selinux_get_selection_data_context_reply_t *R);
1746 
1747 xcb_generic_iterator_t
1748 xcb_selinux_get_selection_data_context_context_end (const xcb_selinux_get_selection_data_context_reply_t *R);
1749 
1750 /**
1751  * Return the reply
1752  * @param c      The connection
1753  * @param cookie The cookie
1754  * @param e      The xcb_generic_error_t supplied
1755  *
1756  * Returns the reply of the request asked by
1757  *
1758  * The parameter @p e supplied to this function must be NULL if
1759  * xcb_selinux_get_selection_data_context_unchecked(). is used.
1760  * Otherwise, it stores the error if any.
1761  *
1762  * The returned value must be freed by the caller using free().
1763  */
1764 xcb_selinux_get_selection_data_context_reply_t *
1765 xcb_selinux_get_selection_data_context_reply (xcb_connection_t                                 *c,
1766                                               xcb_selinux_get_selection_data_context_cookie_t   cookie  /**< */,
1767                                               xcb_generic_error_t                             **e);
1768 
1769 int
1770 xcb_selinux_list_selections_sizeof (const void  *_buffer);
1771 
1772 /**
1773  *
1774  * @param c The connection
1775  * @return A cookie
1776  *
1777  * Delivers a request to the X server.
1778  *
1779  */
1780 xcb_selinux_list_selections_cookie_t
1781 xcb_selinux_list_selections (xcb_connection_t *c);
1782 
1783 /**
1784  *
1785  * @param c The connection
1786  * @return A cookie
1787  *
1788  * Delivers a request to the X server.
1789  *
1790  * This form can be used only if the request will cause
1791  * a reply to be generated. Any returned error will be
1792  * placed in the event queue.
1793  */
1794 xcb_selinux_list_selections_cookie_t
1795 xcb_selinux_list_selections_unchecked (xcb_connection_t *c);
1796 
1797 int
1798 xcb_selinux_list_selections_selections_length (const xcb_selinux_list_selections_reply_t *R);
1799 
1800 xcb_selinux_list_item_iterator_t
1801 xcb_selinux_list_selections_selections_iterator (const xcb_selinux_list_selections_reply_t *R);
1802 
1803 /**
1804  * Return the reply
1805  * @param c      The connection
1806  * @param cookie The cookie
1807  * @param e      The xcb_generic_error_t supplied
1808  *
1809  * Returns the reply of the request asked by
1810  *
1811  * The parameter @p e supplied to this function must be NULL if
1812  * xcb_selinux_list_selections_unchecked(). is used.
1813  * Otherwise, it stores the error if any.
1814  *
1815  * The returned value must be freed by the caller using free().
1816  */
1817 xcb_selinux_list_selections_reply_t *
1818 xcb_selinux_list_selections_reply (xcb_connection_t                      *c,
1819                                    xcb_selinux_list_selections_cookie_t   cookie  /**< */,
1820                                    xcb_generic_error_t                  **e);
1821 
1822 int
1823 xcb_selinux_get_client_context_sizeof (const void  *_buffer);
1824 
1825 /**
1826  *
1827  * @param c The connection
1828  * @return A cookie
1829  *
1830  * Delivers a request to the X server.
1831  *
1832  */
1833 xcb_selinux_get_client_context_cookie_t
1834 xcb_selinux_get_client_context (xcb_connection_t *c,
1835                                 uint32_t          resource);
1836 
1837 /**
1838  *
1839  * @param c The connection
1840  * @return A cookie
1841  *
1842  * Delivers a request to the X server.
1843  *
1844  * This form can be used only if the request will cause
1845  * a reply to be generated. Any returned error will be
1846  * placed in the event queue.
1847  */
1848 xcb_selinux_get_client_context_cookie_t
1849 xcb_selinux_get_client_context_unchecked (xcb_connection_t *c,
1850                                           uint32_t          resource);
1851 
1852 char *
1853 xcb_selinux_get_client_context_context (const xcb_selinux_get_client_context_reply_t *R);
1854 
1855 int
1856 xcb_selinux_get_client_context_context_length (const xcb_selinux_get_client_context_reply_t *R);
1857 
1858 xcb_generic_iterator_t
1859 xcb_selinux_get_client_context_context_end (const xcb_selinux_get_client_context_reply_t *R);
1860 
1861 /**
1862  * Return the reply
1863  * @param c      The connection
1864  * @param cookie The cookie
1865  * @param e      The xcb_generic_error_t supplied
1866  *
1867  * Returns the reply of the request asked by
1868  *
1869  * The parameter @p e supplied to this function must be NULL if
1870  * xcb_selinux_get_client_context_unchecked(). is used.
1871  * Otherwise, it stores the error if any.
1872  *
1873  * The returned value must be freed by the caller using free().
1874  */
1875 xcb_selinux_get_client_context_reply_t *
1876 xcb_selinux_get_client_context_reply (xcb_connection_t                         *c,
1877                                       xcb_selinux_get_client_context_cookie_t   cookie  /**< */,
1878                                       xcb_generic_error_t                     **e);
1879 
1880 
1881 #ifdef __cplusplus
1882 }
1883 #endif
1884 
1885 #endif
1886 
1887 /**
1888  * @}
1889  */