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 654*971bb1a5SLionel Sambuc /***************************************************************************** 655*971bb1a5SLionel Sambuc ** 656*971bb1a5SLionel Sambuc ** xcb_selinux_query_version_cookie_t xcb_selinux_query_version 657*971bb1a5SLionel Sambuc ** 658*971bb1a5SLionel Sambuc ** @param xcb_connection_t *c 659*971bb1a5SLionel Sambuc ** @param uint8_t client_major 660*971bb1a5SLionel Sambuc ** @param uint8_t client_minor 661*971bb1a5SLionel Sambuc ** @returns xcb_selinux_query_version_cookie_t 662*971bb1a5SLionel Sambuc ** 663*971bb1a5SLionel Sambuc *****************************************************************************/ 664*971bb1a5SLionel Sambuc 665*971bb1a5SLionel Sambuc xcb_selinux_query_version_cookie_t 666*971bb1a5SLionel Sambuc xcb_selinux_query_version (xcb_connection_t *c /**< */, 667*971bb1a5SLionel Sambuc uint8_t client_major /**< */, 668*971bb1a5SLionel Sambuc uint8_t client_minor /**< */); 669*971bb1a5SLionel Sambuc 670*971bb1a5SLionel Sambuc /** 671*971bb1a5SLionel Sambuc * 672*971bb1a5SLionel Sambuc * @param c The connection 673*971bb1a5SLionel Sambuc * @return A cookie 674*971bb1a5SLionel Sambuc * 675*971bb1a5SLionel Sambuc * Delivers a request to the X server. 676*971bb1a5SLionel Sambuc * 677*971bb1a5SLionel Sambuc * This form can be used only if the request will cause 678*971bb1a5SLionel Sambuc * a reply to be generated. Any returned error will be 679*971bb1a5SLionel Sambuc * placed in the event queue. 680*971bb1a5SLionel Sambuc */ 681*971bb1a5SLionel Sambuc 682*971bb1a5SLionel Sambuc /***************************************************************************** 683*971bb1a5SLionel Sambuc ** 684*971bb1a5SLionel Sambuc ** xcb_selinux_query_version_cookie_t xcb_selinux_query_version_unchecked 685*971bb1a5SLionel Sambuc ** 686*971bb1a5SLionel Sambuc ** @param xcb_connection_t *c 687*971bb1a5SLionel Sambuc ** @param uint8_t client_major 688*971bb1a5SLionel Sambuc ** @param uint8_t client_minor 689*971bb1a5SLionel Sambuc ** @returns xcb_selinux_query_version_cookie_t 690*971bb1a5SLionel Sambuc ** 691*971bb1a5SLionel Sambuc *****************************************************************************/ 692*971bb1a5SLionel Sambuc 693*971bb1a5SLionel Sambuc xcb_selinux_query_version_cookie_t 694*971bb1a5SLionel Sambuc xcb_selinux_query_version_unchecked (xcb_connection_t *c /**< */, 695*971bb1a5SLionel Sambuc uint8_t client_major /**< */, 696*971bb1a5SLionel Sambuc uint8_t client_minor /**< */); 697*971bb1a5SLionel Sambuc 698*971bb1a5SLionel Sambuc /** 699*971bb1a5SLionel Sambuc * Return the reply 700*971bb1a5SLionel Sambuc * @param c The connection 701*971bb1a5SLionel Sambuc * @param cookie The cookie 702*971bb1a5SLionel Sambuc * @param e The xcb_generic_error_t supplied 703*971bb1a5SLionel Sambuc * 704*971bb1a5SLionel Sambuc * Returns the reply of the request asked by 705*971bb1a5SLionel Sambuc * 706*971bb1a5SLionel Sambuc * The parameter @p e supplied to this function must be NULL if 707*971bb1a5SLionel Sambuc * xcb_selinux_query_version_unchecked(). is used. 708*971bb1a5SLionel Sambuc * Otherwise, it stores the error if any. 709*971bb1a5SLionel Sambuc * 710*971bb1a5SLionel Sambuc * The returned value must be freed by the caller using free(). 711*971bb1a5SLionel Sambuc */ 712*971bb1a5SLionel Sambuc 713*971bb1a5SLionel Sambuc /***************************************************************************** 714*971bb1a5SLionel Sambuc ** 715*971bb1a5SLionel Sambuc ** xcb_selinux_query_version_reply_t * xcb_selinux_query_version_reply 716*971bb1a5SLionel Sambuc ** 717*971bb1a5SLionel Sambuc ** @param xcb_connection_t *c 718*971bb1a5SLionel Sambuc ** @param xcb_selinux_query_version_cookie_t cookie 719*971bb1a5SLionel Sambuc ** @param xcb_generic_error_t **e 720*971bb1a5SLionel Sambuc ** @returns xcb_selinux_query_version_reply_t * 721*971bb1a5SLionel Sambuc ** 722*971bb1a5SLionel Sambuc *****************************************************************************/ 723*971bb1a5SLionel Sambuc 724*971bb1a5SLionel Sambuc xcb_selinux_query_version_reply_t * 725*971bb1a5SLionel Sambuc xcb_selinux_query_version_reply (xcb_connection_t *c /**< */, 726*971bb1a5SLionel Sambuc xcb_selinux_query_version_cookie_t cookie /**< */, 727*971bb1a5SLionel Sambuc xcb_generic_error_t **e /**< */); 728*971bb1a5SLionel Sambuc 729*971bb1a5SLionel Sambuc int 730*971bb1a5SLionel Sambuc xcb_selinux_set_device_create_context_sizeof (const void *_buffer /**< */); 731*971bb1a5SLionel Sambuc 732*971bb1a5SLionel Sambuc /** 733*971bb1a5SLionel Sambuc * 734*971bb1a5SLionel Sambuc * @param c The connection 735*971bb1a5SLionel Sambuc * @return A cookie 736*971bb1a5SLionel Sambuc * 737*971bb1a5SLionel Sambuc * Delivers a request to the X server. 738*971bb1a5SLionel Sambuc * 739*971bb1a5SLionel Sambuc * This form can be used only if the request will not cause 740*971bb1a5SLionel Sambuc * a reply to be generated. Any returned error will be 741*971bb1a5SLionel Sambuc * saved for handling by xcb_request_check(). 742*971bb1a5SLionel Sambuc */ 743*971bb1a5SLionel Sambuc 744*971bb1a5SLionel Sambuc /***************************************************************************** 745*971bb1a5SLionel Sambuc ** 746*971bb1a5SLionel Sambuc ** xcb_void_cookie_t xcb_selinux_set_device_create_context_checked 747*971bb1a5SLionel Sambuc ** 748*971bb1a5SLionel Sambuc ** @param xcb_connection_t *c 749*971bb1a5SLionel Sambuc ** @param uint32_t context_len 750*971bb1a5SLionel Sambuc ** @param const char *context 751*971bb1a5SLionel Sambuc ** @returns xcb_void_cookie_t 752*971bb1a5SLionel Sambuc ** 753*971bb1a5SLionel Sambuc *****************************************************************************/ 754*971bb1a5SLionel Sambuc 755*971bb1a5SLionel Sambuc xcb_void_cookie_t 756*971bb1a5SLionel Sambuc xcb_selinux_set_device_create_context_checked (xcb_connection_t *c /**< */, 757*971bb1a5SLionel Sambuc uint32_t context_len /**< */, 758*971bb1a5SLionel Sambuc const char *context /**< */); 759*971bb1a5SLionel Sambuc 760*971bb1a5SLionel Sambuc /** 761*971bb1a5SLionel Sambuc * 762*971bb1a5SLionel Sambuc * @param c The connection 763*971bb1a5SLionel Sambuc * @return A cookie 764*971bb1a5SLionel Sambuc * 765*971bb1a5SLionel Sambuc * Delivers a request to the X server. 766*971bb1a5SLionel Sambuc * 767*971bb1a5SLionel Sambuc */ 768*971bb1a5SLionel Sambuc 769*971bb1a5SLionel Sambuc /***************************************************************************** 770*971bb1a5SLionel Sambuc ** 771*971bb1a5SLionel Sambuc ** xcb_void_cookie_t xcb_selinux_set_device_create_context 772*971bb1a5SLionel Sambuc ** 773*971bb1a5SLionel Sambuc ** @param xcb_connection_t *c 774*971bb1a5SLionel Sambuc ** @param uint32_t context_len 775*971bb1a5SLionel Sambuc ** @param const char *context 776*971bb1a5SLionel Sambuc ** @returns xcb_void_cookie_t 777*971bb1a5SLionel Sambuc ** 778*971bb1a5SLionel Sambuc *****************************************************************************/ 779*971bb1a5SLionel Sambuc 780*971bb1a5SLionel Sambuc xcb_void_cookie_t 781*971bb1a5SLionel Sambuc xcb_selinux_set_device_create_context (xcb_connection_t *c /**< */, 782*971bb1a5SLionel Sambuc uint32_t context_len /**< */, 783*971bb1a5SLionel Sambuc const char *context /**< */); 784*971bb1a5SLionel Sambuc 785*971bb1a5SLionel Sambuc int 786*971bb1a5SLionel Sambuc xcb_selinux_get_device_create_context_sizeof (const void *_buffer /**< */); 787*971bb1a5SLionel Sambuc 788*971bb1a5SLionel Sambuc /** 789*971bb1a5SLionel Sambuc * 790*971bb1a5SLionel Sambuc * @param c The connection 791*971bb1a5SLionel Sambuc * @return A cookie 792*971bb1a5SLionel Sambuc * 793*971bb1a5SLionel Sambuc * Delivers a request to the X server. 794*971bb1a5SLionel Sambuc * 795*971bb1a5SLionel Sambuc */ 796*971bb1a5SLionel Sambuc 797*971bb1a5SLionel Sambuc /***************************************************************************** 798*971bb1a5SLionel Sambuc ** 799*971bb1a5SLionel Sambuc ** xcb_selinux_get_device_create_context_cookie_t xcb_selinux_get_device_create_context 800*971bb1a5SLionel Sambuc ** 801*971bb1a5SLionel Sambuc ** @param xcb_connection_t *c 802*971bb1a5SLionel Sambuc ** @returns xcb_selinux_get_device_create_context_cookie_t 803*971bb1a5SLionel Sambuc ** 804*971bb1a5SLionel Sambuc *****************************************************************************/ 805*971bb1a5SLionel Sambuc 806*971bb1a5SLionel Sambuc xcb_selinux_get_device_create_context_cookie_t 807*971bb1a5SLionel Sambuc xcb_selinux_get_device_create_context (xcb_connection_t *c /**< */); 808*971bb1a5SLionel Sambuc 809*971bb1a5SLionel Sambuc /** 810*971bb1a5SLionel Sambuc * 811*971bb1a5SLionel Sambuc * @param c The connection 812*971bb1a5SLionel Sambuc * @return A cookie 813*971bb1a5SLionel Sambuc * 814*971bb1a5SLionel Sambuc * Delivers a request to the X server. 815*971bb1a5SLionel Sambuc * 816*971bb1a5SLionel Sambuc * This form can be used only if the request will cause 817*971bb1a5SLionel Sambuc * a reply to be generated. Any returned error will be 818*971bb1a5SLionel Sambuc * placed in the event queue. 819*971bb1a5SLionel Sambuc */ 820*971bb1a5SLionel Sambuc 821*971bb1a5SLionel Sambuc /***************************************************************************** 822*971bb1a5SLionel Sambuc ** 823*971bb1a5SLionel Sambuc ** xcb_selinux_get_device_create_context_cookie_t xcb_selinux_get_device_create_context_unchecked 824*971bb1a5SLionel Sambuc ** 825*971bb1a5SLionel Sambuc ** @param xcb_connection_t *c 826*971bb1a5SLionel Sambuc ** @returns xcb_selinux_get_device_create_context_cookie_t 827*971bb1a5SLionel Sambuc ** 828*971bb1a5SLionel Sambuc *****************************************************************************/ 829*971bb1a5SLionel Sambuc 830*971bb1a5SLionel Sambuc xcb_selinux_get_device_create_context_cookie_t 831*971bb1a5SLionel Sambuc xcb_selinux_get_device_create_context_unchecked (xcb_connection_t *c /**< */); 832*971bb1a5SLionel Sambuc 833*971bb1a5SLionel Sambuc 834*971bb1a5SLionel Sambuc /***************************************************************************** 835*971bb1a5SLionel Sambuc ** 836*971bb1a5SLionel Sambuc ** char * xcb_selinux_get_device_create_context_context 837*971bb1a5SLionel Sambuc ** 838*971bb1a5SLionel Sambuc ** @param const xcb_selinux_get_device_create_context_reply_t *R 839*971bb1a5SLionel Sambuc ** @returns char * 840*971bb1a5SLionel Sambuc ** 841*971bb1a5SLionel Sambuc *****************************************************************************/ 842*971bb1a5SLionel Sambuc 843*971bb1a5SLionel Sambuc char * 844*971bb1a5SLionel Sambuc xcb_selinux_get_device_create_context_context (const xcb_selinux_get_device_create_context_reply_t *R /**< */); 845*971bb1a5SLionel Sambuc 846*971bb1a5SLionel Sambuc 847*971bb1a5SLionel Sambuc /***************************************************************************** 848*971bb1a5SLionel Sambuc ** 849*971bb1a5SLionel Sambuc ** int xcb_selinux_get_device_create_context_context_length 850*971bb1a5SLionel Sambuc ** 851*971bb1a5SLionel Sambuc ** @param const xcb_selinux_get_device_create_context_reply_t *R 852*971bb1a5SLionel Sambuc ** @returns int 853*971bb1a5SLionel Sambuc ** 854*971bb1a5SLionel Sambuc *****************************************************************************/ 855*971bb1a5SLionel Sambuc 856*971bb1a5SLionel Sambuc int 857*971bb1a5SLionel Sambuc xcb_selinux_get_device_create_context_context_length (const xcb_selinux_get_device_create_context_reply_t *R /**< */); 858*971bb1a5SLionel Sambuc 859*971bb1a5SLionel Sambuc 860*971bb1a5SLionel Sambuc /***************************************************************************** 861*971bb1a5SLionel Sambuc ** 862*971bb1a5SLionel Sambuc ** xcb_generic_iterator_t xcb_selinux_get_device_create_context_context_end 863*971bb1a5SLionel Sambuc ** 864*971bb1a5SLionel Sambuc ** @param const xcb_selinux_get_device_create_context_reply_t *R 865*971bb1a5SLionel Sambuc ** @returns xcb_generic_iterator_t 866*971bb1a5SLionel Sambuc ** 867*971bb1a5SLionel Sambuc *****************************************************************************/ 868*971bb1a5SLionel Sambuc 869*971bb1a5SLionel Sambuc xcb_generic_iterator_t 870*971bb1a5SLionel Sambuc xcb_selinux_get_device_create_context_context_end (const xcb_selinux_get_device_create_context_reply_t *R /**< */); 871*971bb1a5SLionel Sambuc 872*971bb1a5SLionel Sambuc /** 873*971bb1a5SLionel Sambuc * Return the reply 874*971bb1a5SLionel Sambuc * @param c The connection 875*971bb1a5SLionel Sambuc * @param cookie The cookie 876*971bb1a5SLionel Sambuc * @param e The xcb_generic_error_t supplied 877*971bb1a5SLionel Sambuc * 878*971bb1a5SLionel Sambuc * Returns the reply of the request asked by 879*971bb1a5SLionel Sambuc * 880*971bb1a5SLionel Sambuc * The parameter @p e supplied to this function must be NULL if 881*971bb1a5SLionel Sambuc * xcb_selinux_get_device_create_context_unchecked(). is used. 882*971bb1a5SLionel Sambuc * Otherwise, it stores the error if any. 883*971bb1a5SLionel Sambuc * 884*971bb1a5SLionel Sambuc * The returned value must be freed by the caller using free(). 885*971bb1a5SLionel Sambuc */ 886*971bb1a5SLionel Sambuc 887*971bb1a5SLionel Sambuc /***************************************************************************** 888*971bb1a5SLionel Sambuc ** 889*971bb1a5SLionel Sambuc ** xcb_selinux_get_device_create_context_reply_t * xcb_selinux_get_device_create_context_reply 890*971bb1a5SLionel Sambuc ** 891*971bb1a5SLionel Sambuc ** @param xcb_connection_t *c 892*971bb1a5SLionel Sambuc ** @param xcb_selinux_get_device_create_context_cookie_t cookie 893*971bb1a5SLionel Sambuc ** @param xcb_generic_error_t **e 894*971bb1a5SLionel Sambuc ** @returns xcb_selinux_get_device_create_context_reply_t * 895*971bb1a5SLionel Sambuc ** 896*971bb1a5SLionel Sambuc *****************************************************************************/ 897*971bb1a5SLionel Sambuc 898*971bb1a5SLionel Sambuc xcb_selinux_get_device_create_context_reply_t * 899*971bb1a5SLionel Sambuc xcb_selinux_get_device_create_context_reply (xcb_connection_t *c /**< */, 900*971bb1a5SLionel Sambuc xcb_selinux_get_device_create_context_cookie_t cookie /**< */, 901*971bb1a5SLionel Sambuc xcb_generic_error_t **e /**< */); 902*971bb1a5SLionel Sambuc 903*971bb1a5SLionel Sambuc int 904*971bb1a5SLionel Sambuc xcb_selinux_set_device_context_sizeof (const void *_buffer /**< */); 905*971bb1a5SLionel Sambuc 906*971bb1a5SLionel Sambuc /** 907*971bb1a5SLionel Sambuc * 908*971bb1a5SLionel Sambuc * @param c The connection 909*971bb1a5SLionel Sambuc * @return A cookie 910*971bb1a5SLionel Sambuc * 911*971bb1a5SLionel Sambuc * Delivers a request to the X server. 912*971bb1a5SLionel Sambuc * 913*971bb1a5SLionel Sambuc * This form can be used only if the request will not cause 914*971bb1a5SLionel Sambuc * a reply to be generated. Any returned error will be 915*971bb1a5SLionel Sambuc * saved for handling by xcb_request_check(). 916*971bb1a5SLionel Sambuc */ 917*971bb1a5SLionel Sambuc 918*971bb1a5SLionel Sambuc /***************************************************************************** 919*971bb1a5SLionel Sambuc ** 920*971bb1a5SLionel Sambuc ** xcb_void_cookie_t xcb_selinux_set_device_context_checked 921*971bb1a5SLionel Sambuc ** 922*971bb1a5SLionel Sambuc ** @param xcb_connection_t *c 923*971bb1a5SLionel Sambuc ** @param uint32_t device 924*971bb1a5SLionel Sambuc ** @param uint32_t context_len 925*971bb1a5SLionel Sambuc ** @param const char *context 926*971bb1a5SLionel Sambuc ** @returns xcb_void_cookie_t 927*971bb1a5SLionel Sambuc ** 928*971bb1a5SLionel Sambuc *****************************************************************************/ 929*971bb1a5SLionel Sambuc 930*971bb1a5SLionel Sambuc xcb_void_cookie_t 931*971bb1a5SLionel Sambuc xcb_selinux_set_device_context_checked (xcb_connection_t *c /**< */, 932*971bb1a5SLionel Sambuc uint32_t device /**< */, 933*971bb1a5SLionel Sambuc uint32_t context_len /**< */, 934*971bb1a5SLionel Sambuc const char *context /**< */); 935*971bb1a5SLionel Sambuc 936*971bb1a5SLionel Sambuc /** 937*971bb1a5SLionel Sambuc * 938*971bb1a5SLionel Sambuc * @param c The connection 939*971bb1a5SLionel Sambuc * @return A cookie 940*971bb1a5SLionel Sambuc * 941*971bb1a5SLionel Sambuc * Delivers a request to the X server. 942*971bb1a5SLionel Sambuc * 943*971bb1a5SLionel Sambuc */ 944*971bb1a5SLionel Sambuc 945*971bb1a5SLionel Sambuc /***************************************************************************** 946*971bb1a5SLionel Sambuc ** 947*971bb1a5SLionel Sambuc ** xcb_void_cookie_t xcb_selinux_set_device_context 948*971bb1a5SLionel Sambuc ** 949*971bb1a5SLionel Sambuc ** @param xcb_connection_t *c 950*971bb1a5SLionel Sambuc ** @param uint32_t device 951*971bb1a5SLionel Sambuc ** @param uint32_t context_len 952*971bb1a5SLionel Sambuc ** @param const char *context 953*971bb1a5SLionel Sambuc ** @returns xcb_void_cookie_t 954*971bb1a5SLionel Sambuc ** 955*971bb1a5SLionel Sambuc *****************************************************************************/ 956*971bb1a5SLionel Sambuc 957*971bb1a5SLionel Sambuc xcb_void_cookie_t 958*971bb1a5SLionel Sambuc xcb_selinux_set_device_context (xcb_connection_t *c /**< */, 959*971bb1a5SLionel Sambuc uint32_t device /**< */, 960*971bb1a5SLionel Sambuc uint32_t context_len /**< */, 961*971bb1a5SLionel Sambuc const char *context /**< */); 962*971bb1a5SLionel Sambuc 963*971bb1a5SLionel Sambuc int 964*971bb1a5SLionel Sambuc xcb_selinux_get_device_context_sizeof (const void *_buffer /**< */); 965*971bb1a5SLionel Sambuc 966*971bb1a5SLionel Sambuc /** 967*971bb1a5SLionel Sambuc * 968*971bb1a5SLionel Sambuc * @param c The connection 969*971bb1a5SLionel Sambuc * @return A cookie 970*971bb1a5SLionel Sambuc * 971*971bb1a5SLionel Sambuc * Delivers a request to the X server. 972*971bb1a5SLionel Sambuc * 973*971bb1a5SLionel Sambuc */ 974*971bb1a5SLionel Sambuc 975*971bb1a5SLionel Sambuc /***************************************************************************** 976*971bb1a5SLionel Sambuc ** 977*971bb1a5SLionel Sambuc ** xcb_selinux_get_device_context_cookie_t xcb_selinux_get_device_context 978*971bb1a5SLionel Sambuc ** 979*971bb1a5SLionel Sambuc ** @param xcb_connection_t *c 980*971bb1a5SLionel Sambuc ** @param uint32_t device 981*971bb1a5SLionel Sambuc ** @returns xcb_selinux_get_device_context_cookie_t 982*971bb1a5SLionel Sambuc ** 983*971bb1a5SLionel Sambuc *****************************************************************************/ 984*971bb1a5SLionel Sambuc 985*971bb1a5SLionel Sambuc xcb_selinux_get_device_context_cookie_t 986*971bb1a5SLionel Sambuc xcb_selinux_get_device_context (xcb_connection_t *c /**< */, 987*971bb1a5SLionel Sambuc uint32_t device /**< */); 988*971bb1a5SLionel Sambuc 989*971bb1a5SLionel Sambuc /** 990*971bb1a5SLionel Sambuc * 991*971bb1a5SLionel Sambuc * @param c The connection 992*971bb1a5SLionel Sambuc * @return A cookie 993*971bb1a5SLionel Sambuc * 994*971bb1a5SLionel Sambuc * Delivers a request to the X server. 995*971bb1a5SLionel Sambuc * 996*971bb1a5SLionel Sambuc * This form can be used only if the request will cause 997*971bb1a5SLionel Sambuc * a reply to be generated. Any returned error will be 998*971bb1a5SLionel Sambuc * placed in the event queue. 999*971bb1a5SLionel Sambuc */ 1000*971bb1a5SLionel Sambuc 1001*971bb1a5SLionel Sambuc /***************************************************************************** 1002*971bb1a5SLionel Sambuc ** 1003*971bb1a5SLionel Sambuc ** xcb_selinux_get_device_context_cookie_t xcb_selinux_get_device_context_unchecked 1004*971bb1a5SLionel Sambuc ** 1005*971bb1a5SLionel Sambuc ** @param xcb_connection_t *c 1006*971bb1a5SLionel Sambuc ** @param uint32_t device 1007*971bb1a5SLionel Sambuc ** @returns xcb_selinux_get_device_context_cookie_t 1008*971bb1a5SLionel Sambuc ** 1009*971bb1a5SLionel Sambuc *****************************************************************************/ 1010*971bb1a5SLionel Sambuc 1011*971bb1a5SLionel Sambuc xcb_selinux_get_device_context_cookie_t 1012*971bb1a5SLionel Sambuc xcb_selinux_get_device_context_unchecked (xcb_connection_t *c /**< */, 1013*971bb1a5SLionel Sambuc uint32_t device /**< */); 1014*971bb1a5SLionel Sambuc 1015*971bb1a5SLionel Sambuc 1016*971bb1a5SLionel Sambuc /***************************************************************************** 1017*971bb1a5SLionel Sambuc ** 1018*971bb1a5SLionel Sambuc ** char * xcb_selinux_get_device_context_context 1019*971bb1a5SLionel Sambuc ** 1020*971bb1a5SLionel Sambuc ** @param const xcb_selinux_get_device_context_reply_t *R 1021*971bb1a5SLionel Sambuc ** @returns char * 1022*971bb1a5SLionel Sambuc ** 1023*971bb1a5SLionel Sambuc *****************************************************************************/ 1024*971bb1a5SLionel Sambuc 1025*971bb1a5SLionel Sambuc char * 1026*971bb1a5SLionel Sambuc xcb_selinux_get_device_context_context (const xcb_selinux_get_device_context_reply_t *R /**< */); 1027*971bb1a5SLionel Sambuc 1028*971bb1a5SLionel Sambuc 1029*971bb1a5SLionel Sambuc /***************************************************************************** 1030*971bb1a5SLionel Sambuc ** 1031*971bb1a5SLionel Sambuc ** int xcb_selinux_get_device_context_context_length 1032*971bb1a5SLionel Sambuc ** 1033*971bb1a5SLionel Sambuc ** @param const xcb_selinux_get_device_context_reply_t *R 1034*971bb1a5SLionel Sambuc ** @returns int 1035*971bb1a5SLionel Sambuc ** 1036*971bb1a5SLionel Sambuc *****************************************************************************/ 1037*971bb1a5SLionel Sambuc 1038*971bb1a5SLionel Sambuc int 1039*971bb1a5SLionel Sambuc xcb_selinux_get_device_context_context_length (const xcb_selinux_get_device_context_reply_t *R /**< */); 1040*971bb1a5SLionel Sambuc 1041*971bb1a5SLionel Sambuc 1042*971bb1a5SLionel Sambuc /***************************************************************************** 1043*971bb1a5SLionel Sambuc ** 1044*971bb1a5SLionel Sambuc ** xcb_generic_iterator_t xcb_selinux_get_device_context_context_end 1045*971bb1a5SLionel Sambuc ** 1046*971bb1a5SLionel Sambuc ** @param const xcb_selinux_get_device_context_reply_t *R 1047*971bb1a5SLionel Sambuc ** @returns xcb_generic_iterator_t 1048*971bb1a5SLionel Sambuc ** 1049*971bb1a5SLionel Sambuc *****************************************************************************/ 1050*971bb1a5SLionel Sambuc 1051*971bb1a5SLionel Sambuc xcb_generic_iterator_t 1052*971bb1a5SLionel Sambuc xcb_selinux_get_device_context_context_end (const xcb_selinux_get_device_context_reply_t *R /**< */); 1053*971bb1a5SLionel Sambuc 1054*971bb1a5SLionel Sambuc /** 1055*971bb1a5SLionel Sambuc * Return the reply 1056*971bb1a5SLionel Sambuc * @param c The connection 1057*971bb1a5SLionel Sambuc * @param cookie The cookie 1058*971bb1a5SLionel Sambuc * @param e The xcb_generic_error_t supplied 1059*971bb1a5SLionel Sambuc * 1060*971bb1a5SLionel Sambuc * Returns the reply of the request asked by 1061*971bb1a5SLionel Sambuc * 1062*971bb1a5SLionel Sambuc * The parameter @p e supplied to this function must be NULL if 1063*971bb1a5SLionel Sambuc * xcb_selinux_get_device_context_unchecked(). is used. 1064*971bb1a5SLionel Sambuc * Otherwise, it stores the error if any. 1065*971bb1a5SLionel Sambuc * 1066*971bb1a5SLionel Sambuc * The returned value must be freed by the caller using free(). 1067*971bb1a5SLionel Sambuc */ 1068*971bb1a5SLionel Sambuc 1069*971bb1a5SLionel Sambuc /***************************************************************************** 1070*971bb1a5SLionel Sambuc ** 1071*971bb1a5SLionel Sambuc ** xcb_selinux_get_device_context_reply_t * xcb_selinux_get_device_context_reply 1072*971bb1a5SLionel Sambuc ** 1073*971bb1a5SLionel Sambuc ** @param xcb_connection_t *c 1074*971bb1a5SLionel Sambuc ** @param xcb_selinux_get_device_context_cookie_t cookie 1075*971bb1a5SLionel Sambuc ** @param xcb_generic_error_t **e 1076*971bb1a5SLionel Sambuc ** @returns xcb_selinux_get_device_context_reply_t * 1077*971bb1a5SLionel Sambuc ** 1078*971bb1a5SLionel Sambuc *****************************************************************************/ 1079*971bb1a5SLionel Sambuc 1080*971bb1a5SLionel Sambuc xcb_selinux_get_device_context_reply_t * 1081*971bb1a5SLionel Sambuc xcb_selinux_get_device_context_reply (xcb_connection_t *c /**< */, 1082*971bb1a5SLionel Sambuc xcb_selinux_get_device_context_cookie_t cookie /**< */, 1083*971bb1a5SLionel Sambuc xcb_generic_error_t **e /**< */); 1084*971bb1a5SLionel Sambuc 1085*971bb1a5SLionel Sambuc int 1086*971bb1a5SLionel Sambuc xcb_selinux_set_window_create_context_sizeof (const void *_buffer /**< */); 1087*971bb1a5SLionel Sambuc 1088*971bb1a5SLionel Sambuc /** 1089*971bb1a5SLionel Sambuc * 1090*971bb1a5SLionel Sambuc * @param c The connection 1091*971bb1a5SLionel Sambuc * @return A cookie 1092*971bb1a5SLionel Sambuc * 1093*971bb1a5SLionel Sambuc * Delivers a request to the X server. 1094*971bb1a5SLionel Sambuc * 1095*971bb1a5SLionel Sambuc * This form can be used only if the request will not cause 1096*971bb1a5SLionel Sambuc * a reply to be generated. Any returned error will be 1097*971bb1a5SLionel Sambuc * saved for handling by xcb_request_check(). 1098*971bb1a5SLionel Sambuc */ 1099*971bb1a5SLionel Sambuc 1100*971bb1a5SLionel Sambuc /***************************************************************************** 1101*971bb1a5SLionel Sambuc ** 1102*971bb1a5SLionel Sambuc ** xcb_void_cookie_t xcb_selinux_set_window_create_context_checked 1103*971bb1a5SLionel Sambuc ** 1104*971bb1a5SLionel Sambuc ** @param xcb_connection_t *c 1105*971bb1a5SLionel Sambuc ** @param uint32_t context_len 1106*971bb1a5SLionel Sambuc ** @param const char *context 1107*971bb1a5SLionel Sambuc ** @returns xcb_void_cookie_t 1108*971bb1a5SLionel Sambuc ** 1109*971bb1a5SLionel Sambuc *****************************************************************************/ 1110*971bb1a5SLionel Sambuc 1111*971bb1a5SLionel Sambuc xcb_void_cookie_t 1112*971bb1a5SLionel Sambuc xcb_selinux_set_window_create_context_checked (xcb_connection_t *c /**< */, 1113*971bb1a5SLionel Sambuc uint32_t context_len /**< */, 1114*971bb1a5SLionel Sambuc const char *context /**< */); 1115*971bb1a5SLionel Sambuc 1116*971bb1a5SLionel Sambuc /** 1117*971bb1a5SLionel Sambuc * 1118*971bb1a5SLionel Sambuc * @param c The connection 1119*971bb1a5SLionel Sambuc * @return A cookie 1120*971bb1a5SLionel Sambuc * 1121*971bb1a5SLionel Sambuc * Delivers a request to the X server. 1122*971bb1a5SLionel Sambuc * 1123*971bb1a5SLionel Sambuc */ 1124*971bb1a5SLionel Sambuc 1125*971bb1a5SLionel Sambuc /***************************************************************************** 1126*971bb1a5SLionel Sambuc ** 1127*971bb1a5SLionel Sambuc ** xcb_void_cookie_t xcb_selinux_set_window_create_context 1128*971bb1a5SLionel Sambuc ** 1129*971bb1a5SLionel Sambuc ** @param xcb_connection_t *c 1130*971bb1a5SLionel Sambuc ** @param uint32_t context_len 1131*971bb1a5SLionel Sambuc ** @param const char *context 1132*971bb1a5SLionel Sambuc ** @returns xcb_void_cookie_t 1133*971bb1a5SLionel Sambuc ** 1134*971bb1a5SLionel Sambuc *****************************************************************************/ 1135*971bb1a5SLionel Sambuc 1136*971bb1a5SLionel Sambuc xcb_void_cookie_t 1137*971bb1a5SLionel Sambuc xcb_selinux_set_window_create_context (xcb_connection_t *c /**< */, 1138*971bb1a5SLionel Sambuc uint32_t context_len /**< */, 1139*971bb1a5SLionel Sambuc const char *context /**< */); 1140*971bb1a5SLionel Sambuc 1141*971bb1a5SLionel Sambuc int 1142*971bb1a5SLionel Sambuc xcb_selinux_get_window_create_context_sizeof (const void *_buffer /**< */); 1143*971bb1a5SLionel Sambuc 1144*971bb1a5SLionel Sambuc /** 1145*971bb1a5SLionel Sambuc * 1146*971bb1a5SLionel Sambuc * @param c The connection 1147*971bb1a5SLionel Sambuc * @return A cookie 1148*971bb1a5SLionel Sambuc * 1149*971bb1a5SLionel Sambuc * Delivers a request to the X server. 1150*971bb1a5SLionel Sambuc * 1151*971bb1a5SLionel Sambuc */ 1152*971bb1a5SLionel Sambuc 1153*971bb1a5SLionel Sambuc /***************************************************************************** 1154*971bb1a5SLionel Sambuc ** 1155*971bb1a5SLionel Sambuc ** xcb_selinux_get_window_create_context_cookie_t xcb_selinux_get_window_create_context 1156*971bb1a5SLionel Sambuc ** 1157*971bb1a5SLionel Sambuc ** @param xcb_connection_t *c 1158*971bb1a5SLionel Sambuc ** @returns xcb_selinux_get_window_create_context_cookie_t 1159*971bb1a5SLionel Sambuc ** 1160*971bb1a5SLionel Sambuc *****************************************************************************/ 1161*971bb1a5SLionel Sambuc 1162*971bb1a5SLionel Sambuc xcb_selinux_get_window_create_context_cookie_t 1163*971bb1a5SLionel Sambuc xcb_selinux_get_window_create_context (xcb_connection_t *c /**< */); 1164*971bb1a5SLionel Sambuc 1165*971bb1a5SLionel Sambuc /** 1166*971bb1a5SLionel Sambuc * 1167*971bb1a5SLionel Sambuc * @param c The connection 1168*971bb1a5SLionel Sambuc * @return A cookie 1169*971bb1a5SLionel Sambuc * 1170*971bb1a5SLionel Sambuc * Delivers a request to the X server. 1171*971bb1a5SLionel Sambuc * 1172*971bb1a5SLionel Sambuc * This form can be used only if the request will cause 1173*971bb1a5SLionel Sambuc * a reply to be generated. Any returned error will be 1174*971bb1a5SLionel Sambuc * placed in the event queue. 1175*971bb1a5SLionel Sambuc */ 1176*971bb1a5SLionel Sambuc 1177*971bb1a5SLionel Sambuc /***************************************************************************** 1178*971bb1a5SLionel Sambuc ** 1179*971bb1a5SLionel Sambuc ** xcb_selinux_get_window_create_context_cookie_t xcb_selinux_get_window_create_context_unchecked 1180*971bb1a5SLionel Sambuc ** 1181*971bb1a5SLionel Sambuc ** @param xcb_connection_t *c 1182*971bb1a5SLionel Sambuc ** @returns xcb_selinux_get_window_create_context_cookie_t 1183*971bb1a5SLionel Sambuc ** 1184*971bb1a5SLionel Sambuc *****************************************************************************/ 1185*971bb1a5SLionel Sambuc 1186*971bb1a5SLionel Sambuc xcb_selinux_get_window_create_context_cookie_t 1187*971bb1a5SLionel Sambuc xcb_selinux_get_window_create_context_unchecked (xcb_connection_t *c /**< */); 1188*971bb1a5SLionel Sambuc 1189*971bb1a5SLionel Sambuc 1190*971bb1a5SLionel Sambuc /***************************************************************************** 1191*971bb1a5SLionel Sambuc ** 1192*971bb1a5SLionel Sambuc ** char * xcb_selinux_get_window_create_context_context 1193*971bb1a5SLionel Sambuc ** 1194*971bb1a5SLionel Sambuc ** @param const xcb_selinux_get_window_create_context_reply_t *R 1195*971bb1a5SLionel Sambuc ** @returns char * 1196*971bb1a5SLionel Sambuc ** 1197*971bb1a5SLionel Sambuc *****************************************************************************/ 1198*971bb1a5SLionel Sambuc 1199*971bb1a5SLionel Sambuc char * 1200*971bb1a5SLionel Sambuc xcb_selinux_get_window_create_context_context (const xcb_selinux_get_window_create_context_reply_t *R /**< */); 1201*971bb1a5SLionel Sambuc 1202*971bb1a5SLionel Sambuc 1203*971bb1a5SLionel Sambuc /***************************************************************************** 1204*971bb1a5SLionel Sambuc ** 1205*971bb1a5SLionel Sambuc ** int xcb_selinux_get_window_create_context_context_length 1206*971bb1a5SLionel Sambuc ** 1207*971bb1a5SLionel Sambuc ** @param const xcb_selinux_get_window_create_context_reply_t *R 1208*971bb1a5SLionel Sambuc ** @returns int 1209*971bb1a5SLionel Sambuc ** 1210*971bb1a5SLionel Sambuc *****************************************************************************/ 1211*971bb1a5SLionel Sambuc 1212*971bb1a5SLionel Sambuc int 1213*971bb1a5SLionel Sambuc xcb_selinux_get_window_create_context_context_length (const xcb_selinux_get_window_create_context_reply_t *R /**< */); 1214*971bb1a5SLionel Sambuc 1215*971bb1a5SLionel Sambuc 1216*971bb1a5SLionel Sambuc /***************************************************************************** 1217*971bb1a5SLionel Sambuc ** 1218*971bb1a5SLionel Sambuc ** xcb_generic_iterator_t xcb_selinux_get_window_create_context_context_end 1219*971bb1a5SLionel Sambuc ** 1220*971bb1a5SLionel Sambuc ** @param const xcb_selinux_get_window_create_context_reply_t *R 1221*971bb1a5SLionel Sambuc ** @returns xcb_generic_iterator_t 1222*971bb1a5SLionel Sambuc ** 1223*971bb1a5SLionel Sambuc *****************************************************************************/ 1224*971bb1a5SLionel Sambuc 1225*971bb1a5SLionel Sambuc xcb_generic_iterator_t 1226*971bb1a5SLionel Sambuc xcb_selinux_get_window_create_context_context_end (const xcb_selinux_get_window_create_context_reply_t *R /**< */); 1227*971bb1a5SLionel Sambuc 1228*971bb1a5SLionel Sambuc /** 1229*971bb1a5SLionel Sambuc * Return the reply 1230*971bb1a5SLionel Sambuc * @param c The connection 1231*971bb1a5SLionel Sambuc * @param cookie The cookie 1232*971bb1a5SLionel Sambuc * @param e The xcb_generic_error_t supplied 1233*971bb1a5SLionel Sambuc * 1234*971bb1a5SLionel Sambuc * Returns the reply of the request asked by 1235*971bb1a5SLionel Sambuc * 1236*971bb1a5SLionel Sambuc * The parameter @p e supplied to this function must be NULL if 1237*971bb1a5SLionel Sambuc * xcb_selinux_get_window_create_context_unchecked(). is used. 1238*971bb1a5SLionel Sambuc * Otherwise, it stores the error if any. 1239*971bb1a5SLionel Sambuc * 1240*971bb1a5SLionel Sambuc * The returned value must be freed by the caller using free(). 1241*971bb1a5SLionel Sambuc */ 1242*971bb1a5SLionel Sambuc 1243*971bb1a5SLionel Sambuc /***************************************************************************** 1244*971bb1a5SLionel Sambuc ** 1245*971bb1a5SLionel Sambuc ** xcb_selinux_get_window_create_context_reply_t * xcb_selinux_get_window_create_context_reply 1246*971bb1a5SLionel Sambuc ** 1247*971bb1a5SLionel Sambuc ** @param xcb_connection_t *c 1248*971bb1a5SLionel Sambuc ** @param xcb_selinux_get_window_create_context_cookie_t cookie 1249*971bb1a5SLionel Sambuc ** @param xcb_generic_error_t **e 1250*971bb1a5SLionel Sambuc ** @returns xcb_selinux_get_window_create_context_reply_t * 1251*971bb1a5SLionel Sambuc ** 1252*971bb1a5SLionel Sambuc *****************************************************************************/ 1253*971bb1a5SLionel Sambuc 1254*971bb1a5SLionel Sambuc xcb_selinux_get_window_create_context_reply_t * 1255*971bb1a5SLionel Sambuc xcb_selinux_get_window_create_context_reply (xcb_connection_t *c /**< */, 1256*971bb1a5SLionel Sambuc xcb_selinux_get_window_create_context_cookie_t cookie /**< */, 1257*971bb1a5SLionel Sambuc xcb_generic_error_t **e /**< */); 1258*971bb1a5SLionel Sambuc 1259*971bb1a5SLionel Sambuc int 1260*971bb1a5SLionel Sambuc xcb_selinux_get_window_context_sizeof (const void *_buffer /**< */); 1261*971bb1a5SLionel Sambuc 1262*971bb1a5SLionel Sambuc /** 1263*971bb1a5SLionel Sambuc * 1264*971bb1a5SLionel Sambuc * @param c The connection 1265*971bb1a5SLionel Sambuc * @return A cookie 1266*971bb1a5SLionel Sambuc * 1267*971bb1a5SLionel Sambuc * Delivers a request to the X server. 1268*971bb1a5SLionel Sambuc * 1269*971bb1a5SLionel Sambuc */ 1270*971bb1a5SLionel Sambuc 1271*971bb1a5SLionel Sambuc /***************************************************************************** 1272*971bb1a5SLionel Sambuc ** 1273*971bb1a5SLionel Sambuc ** xcb_selinux_get_window_context_cookie_t xcb_selinux_get_window_context 1274*971bb1a5SLionel Sambuc ** 1275*971bb1a5SLionel Sambuc ** @param xcb_connection_t *c 1276*971bb1a5SLionel Sambuc ** @param xcb_window_t window 1277*971bb1a5SLionel Sambuc ** @returns xcb_selinux_get_window_context_cookie_t 1278*971bb1a5SLionel Sambuc ** 1279*971bb1a5SLionel Sambuc *****************************************************************************/ 1280*971bb1a5SLionel Sambuc 1281*971bb1a5SLionel Sambuc xcb_selinux_get_window_context_cookie_t 1282*971bb1a5SLionel Sambuc xcb_selinux_get_window_context (xcb_connection_t *c /**< */, 1283*971bb1a5SLionel Sambuc xcb_window_t window /**< */); 1284*971bb1a5SLionel Sambuc 1285*971bb1a5SLionel Sambuc /** 1286*971bb1a5SLionel Sambuc * 1287*971bb1a5SLionel Sambuc * @param c The connection 1288*971bb1a5SLionel Sambuc * @return A cookie 1289*971bb1a5SLionel Sambuc * 1290*971bb1a5SLionel Sambuc * Delivers a request to the X server. 1291*971bb1a5SLionel Sambuc * 1292*971bb1a5SLionel Sambuc * This form can be used only if the request will cause 1293*971bb1a5SLionel Sambuc * a reply to be generated. Any returned error will be 1294*971bb1a5SLionel Sambuc * placed in the event queue. 1295*971bb1a5SLionel Sambuc */ 1296*971bb1a5SLionel Sambuc 1297*971bb1a5SLionel Sambuc /***************************************************************************** 1298*971bb1a5SLionel Sambuc ** 1299*971bb1a5SLionel Sambuc ** xcb_selinux_get_window_context_cookie_t xcb_selinux_get_window_context_unchecked 1300*971bb1a5SLionel Sambuc ** 1301*971bb1a5SLionel Sambuc ** @param xcb_connection_t *c 1302*971bb1a5SLionel Sambuc ** @param xcb_window_t window 1303*971bb1a5SLionel Sambuc ** @returns xcb_selinux_get_window_context_cookie_t 1304*971bb1a5SLionel Sambuc ** 1305*971bb1a5SLionel Sambuc *****************************************************************************/ 1306*971bb1a5SLionel Sambuc 1307*971bb1a5SLionel Sambuc xcb_selinux_get_window_context_cookie_t 1308*971bb1a5SLionel Sambuc xcb_selinux_get_window_context_unchecked (xcb_connection_t *c /**< */, 1309*971bb1a5SLionel Sambuc xcb_window_t window /**< */); 1310*971bb1a5SLionel Sambuc 1311*971bb1a5SLionel Sambuc 1312*971bb1a5SLionel Sambuc /***************************************************************************** 1313*971bb1a5SLionel Sambuc ** 1314*971bb1a5SLionel Sambuc ** char * xcb_selinux_get_window_context_context 1315*971bb1a5SLionel Sambuc ** 1316*971bb1a5SLionel Sambuc ** @param const xcb_selinux_get_window_context_reply_t *R 1317*971bb1a5SLionel Sambuc ** @returns char * 1318*971bb1a5SLionel Sambuc ** 1319*971bb1a5SLionel Sambuc *****************************************************************************/ 1320*971bb1a5SLionel Sambuc 1321*971bb1a5SLionel Sambuc char * 1322*971bb1a5SLionel Sambuc xcb_selinux_get_window_context_context (const xcb_selinux_get_window_context_reply_t *R /**< */); 1323*971bb1a5SLionel Sambuc 1324*971bb1a5SLionel Sambuc 1325*971bb1a5SLionel Sambuc /***************************************************************************** 1326*971bb1a5SLionel Sambuc ** 1327*971bb1a5SLionel Sambuc ** int xcb_selinux_get_window_context_context_length 1328*971bb1a5SLionel Sambuc ** 1329*971bb1a5SLionel Sambuc ** @param const xcb_selinux_get_window_context_reply_t *R 1330*971bb1a5SLionel Sambuc ** @returns int 1331*971bb1a5SLionel Sambuc ** 1332*971bb1a5SLionel Sambuc *****************************************************************************/ 1333*971bb1a5SLionel Sambuc 1334*971bb1a5SLionel Sambuc int 1335*971bb1a5SLionel Sambuc xcb_selinux_get_window_context_context_length (const xcb_selinux_get_window_context_reply_t *R /**< */); 1336*971bb1a5SLionel Sambuc 1337*971bb1a5SLionel Sambuc 1338*971bb1a5SLionel Sambuc /***************************************************************************** 1339*971bb1a5SLionel Sambuc ** 1340*971bb1a5SLionel Sambuc ** xcb_generic_iterator_t xcb_selinux_get_window_context_context_end 1341*971bb1a5SLionel Sambuc ** 1342*971bb1a5SLionel Sambuc ** @param const xcb_selinux_get_window_context_reply_t *R 1343*971bb1a5SLionel Sambuc ** @returns xcb_generic_iterator_t 1344*971bb1a5SLionel Sambuc ** 1345*971bb1a5SLionel Sambuc *****************************************************************************/ 1346*971bb1a5SLionel Sambuc 1347*971bb1a5SLionel Sambuc xcb_generic_iterator_t 1348*971bb1a5SLionel Sambuc xcb_selinux_get_window_context_context_end (const xcb_selinux_get_window_context_reply_t *R /**< */); 1349*971bb1a5SLionel Sambuc 1350*971bb1a5SLionel Sambuc /** 1351*971bb1a5SLionel Sambuc * Return the reply 1352*971bb1a5SLionel Sambuc * @param c The connection 1353*971bb1a5SLionel Sambuc * @param cookie The cookie 1354*971bb1a5SLionel Sambuc * @param e The xcb_generic_error_t supplied 1355*971bb1a5SLionel Sambuc * 1356*971bb1a5SLionel Sambuc * Returns the reply of the request asked by 1357*971bb1a5SLionel Sambuc * 1358*971bb1a5SLionel Sambuc * The parameter @p e supplied to this function must be NULL if 1359*971bb1a5SLionel Sambuc * xcb_selinux_get_window_context_unchecked(). is used. 1360*971bb1a5SLionel Sambuc * Otherwise, it stores the error if any. 1361*971bb1a5SLionel Sambuc * 1362*971bb1a5SLionel Sambuc * The returned value must be freed by the caller using free(). 1363*971bb1a5SLionel Sambuc */ 1364*971bb1a5SLionel Sambuc 1365*971bb1a5SLionel Sambuc /***************************************************************************** 1366*971bb1a5SLionel Sambuc ** 1367*971bb1a5SLionel Sambuc ** xcb_selinux_get_window_context_reply_t * xcb_selinux_get_window_context_reply 1368*971bb1a5SLionel Sambuc ** 1369*971bb1a5SLionel Sambuc ** @param xcb_connection_t *c 1370*971bb1a5SLionel Sambuc ** @param xcb_selinux_get_window_context_cookie_t cookie 1371*971bb1a5SLionel Sambuc ** @param xcb_generic_error_t **e 1372*971bb1a5SLionel Sambuc ** @returns xcb_selinux_get_window_context_reply_t * 1373*971bb1a5SLionel Sambuc ** 1374*971bb1a5SLionel Sambuc *****************************************************************************/ 1375*971bb1a5SLionel Sambuc 1376*971bb1a5SLionel Sambuc xcb_selinux_get_window_context_reply_t * 1377*971bb1a5SLionel Sambuc xcb_selinux_get_window_context_reply (xcb_connection_t *c /**< */, 1378*971bb1a5SLionel Sambuc xcb_selinux_get_window_context_cookie_t cookie /**< */, 1379*971bb1a5SLionel Sambuc xcb_generic_error_t **e /**< */); 1380*971bb1a5SLionel Sambuc 1381*971bb1a5SLionel Sambuc int 1382*971bb1a5SLionel Sambuc xcb_selinux_list_item_sizeof (const void *_buffer /**< */); 1383*971bb1a5SLionel Sambuc 1384*971bb1a5SLionel Sambuc 1385*971bb1a5SLionel Sambuc /***************************************************************************** 1386*971bb1a5SLionel Sambuc ** 1387*971bb1a5SLionel Sambuc ** char * xcb_selinux_list_item_object_context 1388*971bb1a5SLionel Sambuc ** 1389*971bb1a5SLionel Sambuc ** @param const xcb_selinux_list_item_t *R 1390*971bb1a5SLionel Sambuc ** @returns char * 1391*971bb1a5SLionel Sambuc ** 1392*971bb1a5SLionel Sambuc *****************************************************************************/ 1393*971bb1a5SLionel Sambuc 1394*971bb1a5SLionel Sambuc char * 1395*971bb1a5SLionel Sambuc xcb_selinux_list_item_object_context (const xcb_selinux_list_item_t *R /**< */); 1396*971bb1a5SLionel Sambuc 1397*971bb1a5SLionel Sambuc 1398*971bb1a5SLionel Sambuc /***************************************************************************** 1399*971bb1a5SLionel Sambuc ** 1400*971bb1a5SLionel Sambuc ** int xcb_selinux_list_item_object_context_length 1401*971bb1a5SLionel Sambuc ** 1402*971bb1a5SLionel Sambuc ** @param const xcb_selinux_list_item_t *R 1403*971bb1a5SLionel Sambuc ** @returns int 1404*971bb1a5SLionel Sambuc ** 1405*971bb1a5SLionel Sambuc *****************************************************************************/ 1406*971bb1a5SLionel Sambuc 1407*971bb1a5SLionel Sambuc int 1408*971bb1a5SLionel Sambuc xcb_selinux_list_item_object_context_length (const xcb_selinux_list_item_t *R /**< */); 1409*971bb1a5SLionel Sambuc 1410*971bb1a5SLionel Sambuc 1411*971bb1a5SLionel Sambuc /***************************************************************************** 1412*971bb1a5SLionel Sambuc ** 1413*971bb1a5SLionel Sambuc ** xcb_generic_iterator_t xcb_selinux_list_item_object_context_end 1414*971bb1a5SLionel Sambuc ** 1415*971bb1a5SLionel Sambuc ** @param const xcb_selinux_list_item_t *R 1416*971bb1a5SLionel Sambuc ** @returns xcb_generic_iterator_t 1417*971bb1a5SLionel Sambuc ** 1418*971bb1a5SLionel Sambuc *****************************************************************************/ 1419*971bb1a5SLionel Sambuc 1420*971bb1a5SLionel Sambuc xcb_generic_iterator_t 1421*971bb1a5SLionel Sambuc xcb_selinux_list_item_object_context_end (const xcb_selinux_list_item_t *R /**< */); 1422*971bb1a5SLionel Sambuc 1423*971bb1a5SLionel Sambuc 1424*971bb1a5SLionel Sambuc /***************************************************************************** 1425*971bb1a5SLionel Sambuc ** 1426*971bb1a5SLionel Sambuc ** char * xcb_selinux_list_item_data_context 1427*971bb1a5SLionel Sambuc ** 1428*971bb1a5SLionel Sambuc ** @param const xcb_selinux_list_item_t *R 1429*971bb1a5SLionel Sambuc ** @returns char * 1430*971bb1a5SLionel Sambuc ** 1431*971bb1a5SLionel Sambuc *****************************************************************************/ 1432*971bb1a5SLionel Sambuc 1433*971bb1a5SLionel Sambuc char * 1434*971bb1a5SLionel Sambuc xcb_selinux_list_item_data_context (const xcb_selinux_list_item_t *R /**< */); 1435*971bb1a5SLionel Sambuc 1436*971bb1a5SLionel Sambuc 1437*971bb1a5SLionel Sambuc /***************************************************************************** 1438*971bb1a5SLionel Sambuc ** 1439*971bb1a5SLionel Sambuc ** int xcb_selinux_list_item_data_context_length 1440*971bb1a5SLionel Sambuc ** 1441*971bb1a5SLionel Sambuc ** @param const xcb_selinux_list_item_t *R 1442*971bb1a5SLionel Sambuc ** @returns int 1443*971bb1a5SLionel Sambuc ** 1444*971bb1a5SLionel Sambuc *****************************************************************************/ 1445*971bb1a5SLionel Sambuc 1446*971bb1a5SLionel Sambuc int 1447*971bb1a5SLionel Sambuc xcb_selinux_list_item_data_context_length (const xcb_selinux_list_item_t *R /**< */); 1448*971bb1a5SLionel Sambuc 1449*971bb1a5SLionel Sambuc 1450*971bb1a5SLionel Sambuc /***************************************************************************** 1451*971bb1a5SLionel Sambuc ** 1452*971bb1a5SLionel Sambuc ** xcb_generic_iterator_t xcb_selinux_list_item_data_context_end 1453*971bb1a5SLionel Sambuc ** 1454*971bb1a5SLionel Sambuc ** @param const xcb_selinux_list_item_t *R 1455*971bb1a5SLionel Sambuc ** @returns xcb_generic_iterator_t 1456*971bb1a5SLionel Sambuc ** 1457*971bb1a5SLionel Sambuc *****************************************************************************/ 1458*971bb1a5SLionel Sambuc 1459*971bb1a5SLionel Sambuc xcb_generic_iterator_t 1460*971bb1a5SLionel Sambuc xcb_selinux_list_item_data_context_end (const xcb_selinux_list_item_t *R /**< */); 1461*971bb1a5SLionel Sambuc 1462*971bb1a5SLionel Sambuc /** 1463*971bb1a5SLionel Sambuc * Get the next element of the iterator 1464*971bb1a5SLionel Sambuc * @param i Pointer to a xcb_selinux_list_item_iterator_t 1465*971bb1a5SLionel Sambuc * 1466*971bb1a5SLionel Sambuc * Get the next element in the iterator. The member rem is 1467*971bb1a5SLionel Sambuc * decreased by one. The member data points to the next 1468*971bb1a5SLionel Sambuc * element. The member index is increased by sizeof(xcb_selinux_list_item_t) 1469*971bb1a5SLionel Sambuc */ 1470*971bb1a5SLionel Sambuc 1471*971bb1a5SLionel Sambuc /***************************************************************************** 1472*971bb1a5SLionel Sambuc ** 1473*971bb1a5SLionel Sambuc ** void xcb_selinux_list_item_next 1474*971bb1a5SLionel Sambuc ** 1475*971bb1a5SLionel Sambuc ** @param xcb_selinux_list_item_iterator_t *i 1476*971bb1a5SLionel Sambuc ** @returns void 1477*971bb1a5SLionel Sambuc ** 1478*971bb1a5SLionel Sambuc *****************************************************************************/ 1479*971bb1a5SLionel Sambuc 1480*971bb1a5SLionel Sambuc void 1481*971bb1a5SLionel Sambuc xcb_selinux_list_item_next (xcb_selinux_list_item_iterator_t *i /**< */); 1482*971bb1a5SLionel Sambuc 1483*971bb1a5SLionel Sambuc /** 1484*971bb1a5SLionel Sambuc * Return the iterator pointing to the last element 1485*971bb1a5SLionel Sambuc * @param i An xcb_selinux_list_item_iterator_t 1486*971bb1a5SLionel Sambuc * @return The iterator pointing to the last element 1487*971bb1a5SLionel Sambuc * 1488*971bb1a5SLionel Sambuc * Set the current element in the iterator to the last element. 1489*971bb1a5SLionel Sambuc * The member rem is set to 0. The member data points to the 1490*971bb1a5SLionel Sambuc * last element. 1491*971bb1a5SLionel Sambuc */ 1492*971bb1a5SLionel Sambuc 1493*971bb1a5SLionel Sambuc /***************************************************************************** 1494*971bb1a5SLionel Sambuc ** 1495*971bb1a5SLionel Sambuc ** xcb_generic_iterator_t xcb_selinux_list_item_end 1496*971bb1a5SLionel Sambuc ** 1497*971bb1a5SLionel Sambuc ** @param xcb_selinux_list_item_iterator_t i 1498*971bb1a5SLionel Sambuc ** @returns xcb_generic_iterator_t 1499*971bb1a5SLionel Sambuc ** 1500*971bb1a5SLionel Sambuc *****************************************************************************/ 1501*971bb1a5SLionel Sambuc 1502*971bb1a5SLionel Sambuc xcb_generic_iterator_t 1503*971bb1a5SLionel Sambuc xcb_selinux_list_item_end (xcb_selinux_list_item_iterator_t i /**< */); 1504*971bb1a5SLionel Sambuc 1505*971bb1a5SLionel Sambuc int 1506*971bb1a5SLionel Sambuc xcb_selinux_set_property_create_context_sizeof (const void *_buffer /**< */); 1507*971bb1a5SLionel Sambuc 1508*971bb1a5SLionel Sambuc /** 1509*971bb1a5SLionel Sambuc * 1510*971bb1a5SLionel Sambuc * @param c The connection 1511*971bb1a5SLionel Sambuc * @return A cookie 1512*971bb1a5SLionel Sambuc * 1513*971bb1a5SLionel Sambuc * Delivers a request to the X server. 1514*971bb1a5SLionel Sambuc * 1515*971bb1a5SLionel Sambuc * This form can be used only if the request will not cause 1516*971bb1a5SLionel Sambuc * a reply to be generated. Any returned error will be 1517*971bb1a5SLionel Sambuc * saved for handling by xcb_request_check(). 1518*971bb1a5SLionel Sambuc */ 1519*971bb1a5SLionel Sambuc 1520*971bb1a5SLionel Sambuc /***************************************************************************** 1521*971bb1a5SLionel Sambuc ** 1522*971bb1a5SLionel Sambuc ** xcb_void_cookie_t xcb_selinux_set_property_create_context_checked 1523*971bb1a5SLionel Sambuc ** 1524*971bb1a5SLionel Sambuc ** @param xcb_connection_t *c 1525*971bb1a5SLionel Sambuc ** @param uint32_t context_len 1526*971bb1a5SLionel Sambuc ** @param const char *context 1527*971bb1a5SLionel Sambuc ** @returns xcb_void_cookie_t 1528*971bb1a5SLionel Sambuc ** 1529*971bb1a5SLionel Sambuc *****************************************************************************/ 1530*971bb1a5SLionel Sambuc 1531*971bb1a5SLionel Sambuc xcb_void_cookie_t 1532*971bb1a5SLionel Sambuc xcb_selinux_set_property_create_context_checked (xcb_connection_t *c /**< */, 1533*971bb1a5SLionel Sambuc uint32_t context_len /**< */, 1534*971bb1a5SLionel Sambuc const char *context /**< */); 1535*971bb1a5SLionel Sambuc 1536*971bb1a5SLionel Sambuc /** 1537*971bb1a5SLionel Sambuc * 1538*971bb1a5SLionel Sambuc * @param c The connection 1539*971bb1a5SLionel Sambuc * @return A cookie 1540*971bb1a5SLionel Sambuc * 1541*971bb1a5SLionel Sambuc * Delivers a request to the X server. 1542*971bb1a5SLionel Sambuc * 1543*971bb1a5SLionel Sambuc */ 1544*971bb1a5SLionel Sambuc 1545*971bb1a5SLionel Sambuc /***************************************************************************** 1546*971bb1a5SLionel Sambuc ** 1547*971bb1a5SLionel Sambuc ** xcb_void_cookie_t xcb_selinux_set_property_create_context 1548*971bb1a5SLionel Sambuc ** 1549*971bb1a5SLionel Sambuc ** @param xcb_connection_t *c 1550*971bb1a5SLionel Sambuc ** @param uint32_t context_len 1551*971bb1a5SLionel Sambuc ** @param const char *context 1552*971bb1a5SLionel Sambuc ** @returns xcb_void_cookie_t 1553*971bb1a5SLionel Sambuc ** 1554*971bb1a5SLionel Sambuc *****************************************************************************/ 1555*971bb1a5SLionel Sambuc 1556*971bb1a5SLionel Sambuc xcb_void_cookie_t 1557*971bb1a5SLionel Sambuc xcb_selinux_set_property_create_context (xcb_connection_t *c /**< */, 1558*971bb1a5SLionel Sambuc uint32_t context_len /**< */, 1559*971bb1a5SLionel Sambuc const char *context /**< */); 1560*971bb1a5SLionel Sambuc 1561*971bb1a5SLionel Sambuc int 1562*971bb1a5SLionel Sambuc xcb_selinux_get_property_create_context_sizeof (const void *_buffer /**< */); 1563*971bb1a5SLionel Sambuc 1564*971bb1a5SLionel Sambuc /** 1565*971bb1a5SLionel Sambuc * 1566*971bb1a5SLionel Sambuc * @param c The connection 1567*971bb1a5SLionel Sambuc * @return A cookie 1568*971bb1a5SLionel Sambuc * 1569*971bb1a5SLionel Sambuc * Delivers a request to the X server. 1570*971bb1a5SLionel Sambuc * 1571*971bb1a5SLionel Sambuc */ 1572*971bb1a5SLionel Sambuc 1573*971bb1a5SLionel Sambuc /***************************************************************************** 1574*971bb1a5SLionel Sambuc ** 1575*971bb1a5SLionel Sambuc ** xcb_selinux_get_property_create_context_cookie_t xcb_selinux_get_property_create_context 1576*971bb1a5SLionel Sambuc ** 1577*971bb1a5SLionel Sambuc ** @param xcb_connection_t *c 1578*971bb1a5SLionel Sambuc ** @returns xcb_selinux_get_property_create_context_cookie_t 1579*971bb1a5SLionel Sambuc ** 1580*971bb1a5SLionel Sambuc *****************************************************************************/ 1581*971bb1a5SLionel Sambuc 1582*971bb1a5SLionel Sambuc xcb_selinux_get_property_create_context_cookie_t 1583*971bb1a5SLionel Sambuc xcb_selinux_get_property_create_context (xcb_connection_t *c /**< */); 1584*971bb1a5SLionel Sambuc 1585*971bb1a5SLionel Sambuc /** 1586*971bb1a5SLionel Sambuc * 1587*971bb1a5SLionel Sambuc * @param c The connection 1588*971bb1a5SLionel Sambuc * @return A cookie 1589*971bb1a5SLionel Sambuc * 1590*971bb1a5SLionel Sambuc * Delivers a request to the X server. 1591*971bb1a5SLionel Sambuc * 1592*971bb1a5SLionel Sambuc * This form can be used only if the request will cause 1593*971bb1a5SLionel Sambuc * a reply to be generated. Any returned error will be 1594*971bb1a5SLionel Sambuc * placed in the event queue. 1595*971bb1a5SLionel Sambuc */ 1596*971bb1a5SLionel Sambuc 1597*971bb1a5SLionel Sambuc /***************************************************************************** 1598*971bb1a5SLionel Sambuc ** 1599*971bb1a5SLionel Sambuc ** xcb_selinux_get_property_create_context_cookie_t xcb_selinux_get_property_create_context_unchecked 1600*971bb1a5SLionel Sambuc ** 1601*971bb1a5SLionel Sambuc ** @param xcb_connection_t *c 1602*971bb1a5SLionel Sambuc ** @returns xcb_selinux_get_property_create_context_cookie_t 1603*971bb1a5SLionel Sambuc ** 1604*971bb1a5SLionel Sambuc *****************************************************************************/ 1605*971bb1a5SLionel Sambuc 1606*971bb1a5SLionel Sambuc xcb_selinux_get_property_create_context_cookie_t 1607*971bb1a5SLionel Sambuc xcb_selinux_get_property_create_context_unchecked (xcb_connection_t *c /**< */); 1608*971bb1a5SLionel Sambuc 1609*971bb1a5SLionel Sambuc 1610*971bb1a5SLionel Sambuc /***************************************************************************** 1611*971bb1a5SLionel Sambuc ** 1612*971bb1a5SLionel Sambuc ** char * xcb_selinux_get_property_create_context_context 1613*971bb1a5SLionel Sambuc ** 1614*971bb1a5SLionel Sambuc ** @param const xcb_selinux_get_property_create_context_reply_t *R 1615*971bb1a5SLionel Sambuc ** @returns char * 1616*971bb1a5SLionel Sambuc ** 1617*971bb1a5SLionel Sambuc *****************************************************************************/ 1618*971bb1a5SLionel Sambuc 1619*971bb1a5SLionel Sambuc char * 1620*971bb1a5SLionel Sambuc xcb_selinux_get_property_create_context_context (const xcb_selinux_get_property_create_context_reply_t *R /**< */); 1621*971bb1a5SLionel Sambuc 1622*971bb1a5SLionel Sambuc 1623*971bb1a5SLionel Sambuc /***************************************************************************** 1624*971bb1a5SLionel Sambuc ** 1625*971bb1a5SLionel Sambuc ** int xcb_selinux_get_property_create_context_context_length 1626*971bb1a5SLionel Sambuc ** 1627*971bb1a5SLionel Sambuc ** @param const xcb_selinux_get_property_create_context_reply_t *R 1628*971bb1a5SLionel Sambuc ** @returns int 1629*971bb1a5SLionel Sambuc ** 1630*971bb1a5SLionel Sambuc *****************************************************************************/ 1631*971bb1a5SLionel Sambuc 1632*971bb1a5SLionel Sambuc int 1633*971bb1a5SLionel Sambuc xcb_selinux_get_property_create_context_context_length (const xcb_selinux_get_property_create_context_reply_t *R /**< */); 1634*971bb1a5SLionel Sambuc 1635*971bb1a5SLionel Sambuc 1636*971bb1a5SLionel Sambuc /***************************************************************************** 1637*971bb1a5SLionel Sambuc ** 1638*971bb1a5SLionel Sambuc ** xcb_generic_iterator_t xcb_selinux_get_property_create_context_context_end 1639*971bb1a5SLionel Sambuc ** 1640*971bb1a5SLionel Sambuc ** @param const xcb_selinux_get_property_create_context_reply_t *R 1641*971bb1a5SLionel Sambuc ** @returns xcb_generic_iterator_t 1642*971bb1a5SLionel Sambuc ** 1643*971bb1a5SLionel Sambuc *****************************************************************************/ 1644*971bb1a5SLionel Sambuc 1645*971bb1a5SLionel Sambuc xcb_generic_iterator_t 1646*971bb1a5SLionel Sambuc xcb_selinux_get_property_create_context_context_end (const xcb_selinux_get_property_create_context_reply_t *R /**< */); 1647*971bb1a5SLionel Sambuc 1648*971bb1a5SLionel Sambuc /** 1649*971bb1a5SLionel Sambuc * Return the reply 1650*971bb1a5SLionel Sambuc * @param c The connection 1651*971bb1a5SLionel Sambuc * @param cookie The cookie 1652*971bb1a5SLionel Sambuc * @param e The xcb_generic_error_t supplied 1653*971bb1a5SLionel Sambuc * 1654*971bb1a5SLionel Sambuc * Returns the reply of the request asked by 1655*971bb1a5SLionel Sambuc * 1656*971bb1a5SLionel Sambuc * The parameter @p e supplied to this function must be NULL if 1657*971bb1a5SLionel Sambuc * xcb_selinux_get_property_create_context_unchecked(). is used. 1658*971bb1a5SLionel Sambuc * Otherwise, it stores the error if any. 1659*971bb1a5SLionel Sambuc * 1660*971bb1a5SLionel Sambuc * The returned value must be freed by the caller using free(). 1661*971bb1a5SLionel Sambuc */ 1662*971bb1a5SLionel Sambuc 1663*971bb1a5SLionel Sambuc /***************************************************************************** 1664*971bb1a5SLionel Sambuc ** 1665*971bb1a5SLionel Sambuc ** xcb_selinux_get_property_create_context_reply_t * xcb_selinux_get_property_create_context_reply 1666*971bb1a5SLionel Sambuc ** 1667*971bb1a5SLionel Sambuc ** @param xcb_connection_t *c 1668*971bb1a5SLionel Sambuc ** @param xcb_selinux_get_property_create_context_cookie_t cookie 1669*971bb1a5SLionel Sambuc ** @param xcb_generic_error_t **e 1670*971bb1a5SLionel Sambuc ** @returns xcb_selinux_get_property_create_context_reply_t * 1671*971bb1a5SLionel Sambuc ** 1672*971bb1a5SLionel Sambuc *****************************************************************************/ 1673*971bb1a5SLionel Sambuc 1674*971bb1a5SLionel Sambuc xcb_selinux_get_property_create_context_reply_t * 1675*971bb1a5SLionel Sambuc xcb_selinux_get_property_create_context_reply (xcb_connection_t *c /**< */, 1676*971bb1a5SLionel Sambuc xcb_selinux_get_property_create_context_cookie_t cookie /**< */, 1677*971bb1a5SLionel Sambuc xcb_generic_error_t **e /**< */); 1678*971bb1a5SLionel Sambuc 1679*971bb1a5SLionel Sambuc int 1680*971bb1a5SLionel Sambuc xcb_selinux_set_property_use_context_sizeof (const void *_buffer /**< */); 1681*971bb1a5SLionel Sambuc 1682*971bb1a5SLionel Sambuc /** 1683*971bb1a5SLionel Sambuc * 1684*971bb1a5SLionel Sambuc * @param c The connection 1685*971bb1a5SLionel Sambuc * @return A cookie 1686*971bb1a5SLionel Sambuc * 1687*971bb1a5SLionel Sambuc * Delivers a request to the X server. 1688*971bb1a5SLionel Sambuc * 1689*971bb1a5SLionel Sambuc * This form can be used only if the request will not cause 1690*971bb1a5SLionel Sambuc * a reply to be generated. Any returned error will be 1691*971bb1a5SLionel Sambuc * saved for handling by xcb_request_check(). 1692*971bb1a5SLionel Sambuc */ 1693*971bb1a5SLionel Sambuc 1694*971bb1a5SLionel Sambuc /***************************************************************************** 1695*971bb1a5SLionel Sambuc ** 1696*971bb1a5SLionel Sambuc ** xcb_void_cookie_t xcb_selinux_set_property_use_context_checked 1697*971bb1a5SLionel Sambuc ** 1698*971bb1a5SLionel Sambuc ** @param xcb_connection_t *c 1699*971bb1a5SLionel Sambuc ** @param uint32_t context_len 1700*971bb1a5SLionel Sambuc ** @param const char *context 1701*971bb1a5SLionel Sambuc ** @returns xcb_void_cookie_t 1702*971bb1a5SLionel Sambuc ** 1703*971bb1a5SLionel Sambuc *****************************************************************************/ 1704*971bb1a5SLionel Sambuc 1705*971bb1a5SLionel Sambuc xcb_void_cookie_t 1706*971bb1a5SLionel Sambuc xcb_selinux_set_property_use_context_checked (xcb_connection_t *c /**< */, 1707*971bb1a5SLionel Sambuc uint32_t context_len /**< */, 1708*971bb1a5SLionel Sambuc const char *context /**< */); 1709*971bb1a5SLionel Sambuc 1710*971bb1a5SLionel Sambuc /** 1711*971bb1a5SLionel Sambuc * 1712*971bb1a5SLionel Sambuc * @param c The connection 1713*971bb1a5SLionel Sambuc * @return A cookie 1714*971bb1a5SLionel Sambuc * 1715*971bb1a5SLionel Sambuc * Delivers a request to the X server. 1716*971bb1a5SLionel Sambuc * 1717*971bb1a5SLionel Sambuc */ 1718*971bb1a5SLionel Sambuc 1719*971bb1a5SLionel Sambuc /***************************************************************************** 1720*971bb1a5SLionel Sambuc ** 1721*971bb1a5SLionel Sambuc ** xcb_void_cookie_t xcb_selinux_set_property_use_context 1722*971bb1a5SLionel Sambuc ** 1723*971bb1a5SLionel Sambuc ** @param xcb_connection_t *c 1724*971bb1a5SLionel Sambuc ** @param uint32_t context_len 1725*971bb1a5SLionel Sambuc ** @param const char *context 1726*971bb1a5SLionel Sambuc ** @returns xcb_void_cookie_t 1727*971bb1a5SLionel Sambuc ** 1728*971bb1a5SLionel Sambuc *****************************************************************************/ 1729*971bb1a5SLionel Sambuc 1730*971bb1a5SLionel Sambuc xcb_void_cookie_t 1731*971bb1a5SLionel Sambuc xcb_selinux_set_property_use_context (xcb_connection_t *c /**< */, 1732*971bb1a5SLionel Sambuc uint32_t context_len /**< */, 1733*971bb1a5SLionel Sambuc const char *context /**< */); 1734*971bb1a5SLionel Sambuc 1735*971bb1a5SLionel Sambuc int 1736*971bb1a5SLionel Sambuc xcb_selinux_get_property_use_context_sizeof (const void *_buffer /**< */); 1737*971bb1a5SLionel Sambuc 1738*971bb1a5SLionel Sambuc /** 1739*971bb1a5SLionel Sambuc * 1740*971bb1a5SLionel Sambuc * @param c The connection 1741*971bb1a5SLionel Sambuc * @return A cookie 1742*971bb1a5SLionel Sambuc * 1743*971bb1a5SLionel Sambuc * Delivers a request to the X server. 1744*971bb1a5SLionel Sambuc * 1745*971bb1a5SLionel Sambuc */ 1746*971bb1a5SLionel Sambuc 1747*971bb1a5SLionel Sambuc /***************************************************************************** 1748*971bb1a5SLionel Sambuc ** 1749*971bb1a5SLionel Sambuc ** xcb_selinux_get_property_use_context_cookie_t xcb_selinux_get_property_use_context 1750*971bb1a5SLionel Sambuc ** 1751*971bb1a5SLionel Sambuc ** @param xcb_connection_t *c 1752*971bb1a5SLionel Sambuc ** @returns xcb_selinux_get_property_use_context_cookie_t 1753*971bb1a5SLionel Sambuc ** 1754*971bb1a5SLionel Sambuc *****************************************************************************/ 1755*971bb1a5SLionel Sambuc 1756*971bb1a5SLionel Sambuc xcb_selinux_get_property_use_context_cookie_t 1757*971bb1a5SLionel Sambuc xcb_selinux_get_property_use_context (xcb_connection_t *c /**< */); 1758*971bb1a5SLionel Sambuc 1759*971bb1a5SLionel Sambuc /** 1760*971bb1a5SLionel Sambuc * 1761*971bb1a5SLionel Sambuc * @param c The connection 1762*971bb1a5SLionel Sambuc * @return A cookie 1763*971bb1a5SLionel Sambuc * 1764*971bb1a5SLionel Sambuc * Delivers a request to the X server. 1765*971bb1a5SLionel Sambuc * 1766*971bb1a5SLionel Sambuc * This form can be used only if the request will cause 1767*971bb1a5SLionel Sambuc * a reply to be generated. Any returned error will be 1768*971bb1a5SLionel Sambuc * placed in the event queue. 1769*971bb1a5SLionel Sambuc */ 1770*971bb1a5SLionel Sambuc 1771*971bb1a5SLionel Sambuc /***************************************************************************** 1772*971bb1a5SLionel Sambuc ** 1773*971bb1a5SLionel Sambuc ** xcb_selinux_get_property_use_context_cookie_t xcb_selinux_get_property_use_context_unchecked 1774*971bb1a5SLionel Sambuc ** 1775*971bb1a5SLionel Sambuc ** @param xcb_connection_t *c 1776*971bb1a5SLionel Sambuc ** @returns xcb_selinux_get_property_use_context_cookie_t 1777*971bb1a5SLionel Sambuc ** 1778*971bb1a5SLionel Sambuc *****************************************************************************/ 1779*971bb1a5SLionel Sambuc 1780*971bb1a5SLionel Sambuc xcb_selinux_get_property_use_context_cookie_t 1781*971bb1a5SLionel Sambuc xcb_selinux_get_property_use_context_unchecked (xcb_connection_t *c /**< */); 1782*971bb1a5SLionel Sambuc 1783*971bb1a5SLionel Sambuc 1784*971bb1a5SLionel Sambuc /***************************************************************************** 1785*971bb1a5SLionel Sambuc ** 1786*971bb1a5SLionel Sambuc ** char * xcb_selinux_get_property_use_context_context 1787*971bb1a5SLionel Sambuc ** 1788*971bb1a5SLionel Sambuc ** @param const xcb_selinux_get_property_use_context_reply_t *R 1789*971bb1a5SLionel Sambuc ** @returns char * 1790*971bb1a5SLionel Sambuc ** 1791*971bb1a5SLionel Sambuc *****************************************************************************/ 1792*971bb1a5SLionel Sambuc 1793*971bb1a5SLionel Sambuc char * 1794*971bb1a5SLionel Sambuc xcb_selinux_get_property_use_context_context (const xcb_selinux_get_property_use_context_reply_t *R /**< */); 1795*971bb1a5SLionel Sambuc 1796*971bb1a5SLionel Sambuc 1797*971bb1a5SLionel Sambuc /***************************************************************************** 1798*971bb1a5SLionel Sambuc ** 1799*971bb1a5SLionel Sambuc ** int xcb_selinux_get_property_use_context_context_length 1800*971bb1a5SLionel Sambuc ** 1801*971bb1a5SLionel Sambuc ** @param const xcb_selinux_get_property_use_context_reply_t *R 1802*971bb1a5SLionel Sambuc ** @returns int 1803*971bb1a5SLionel Sambuc ** 1804*971bb1a5SLionel Sambuc *****************************************************************************/ 1805*971bb1a5SLionel Sambuc 1806*971bb1a5SLionel Sambuc int 1807*971bb1a5SLionel Sambuc xcb_selinux_get_property_use_context_context_length (const xcb_selinux_get_property_use_context_reply_t *R /**< */); 1808*971bb1a5SLionel Sambuc 1809*971bb1a5SLionel Sambuc 1810*971bb1a5SLionel Sambuc /***************************************************************************** 1811*971bb1a5SLionel Sambuc ** 1812*971bb1a5SLionel Sambuc ** xcb_generic_iterator_t xcb_selinux_get_property_use_context_context_end 1813*971bb1a5SLionel Sambuc ** 1814*971bb1a5SLionel Sambuc ** @param const xcb_selinux_get_property_use_context_reply_t *R 1815*971bb1a5SLionel Sambuc ** @returns xcb_generic_iterator_t 1816*971bb1a5SLionel Sambuc ** 1817*971bb1a5SLionel Sambuc *****************************************************************************/ 1818*971bb1a5SLionel Sambuc 1819*971bb1a5SLionel Sambuc xcb_generic_iterator_t 1820*971bb1a5SLionel Sambuc xcb_selinux_get_property_use_context_context_end (const xcb_selinux_get_property_use_context_reply_t *R /**< */); 1821*971bb1a5SLionel Sambuc 1822*971bb1a5SLionel Sambuc /** 1823*971bb1a5SLionel Sambuc * Return the reply 1824*971bb1a5SLionel Sambuc * @param c The connection 1825*971bb1a5SLionel Sambuc * @param cookie The cookie 1826*971bb1a5SLionel Sambuc * @param e The xcb_generic_error_t supplied 1827*971bb1a5SLionel Sambuc * 1828*971bb1a5SLionel Sambuc * Returns the reply of the request asked by 1829*971bb1a5SLionel Sambuc * 1830*971bb1a5SLionel Sambuc * The parameter @p e supplied to this function must be NULL if 1831*971bb1a5SLionel Sambuc * xcb_selinux_get_property_use_context_unchecked(). is used. 1832*971bb1a5SLionel Sambuc * Otherwise, it stores the error if any. 1833*971bb1a5SLionel Sambuc * 1834*971bb1a5SLionel Sambuc * The returned value must be freed by the caller using free(). 1835*971bb1a5SLionel Sambuc */ 1836*971bb1a5SLionel Sambuc 1837*971bb1a5SLionel Sambuc /***************************************************************************** 1838*971bb1a5SLionel Sambuc ** 1839*971bb1a5SLionel Sambuc ** xcb_selinux_get_property_use_context_reply_t * xcb_selinux_get_property_use_context_reply 1840*971bb1a5SLionel Sambuc ** 1841*971bb1a5SLionel Sambuc ** @param xcb_connection_t *c 1842*971bb1a5SLionel Sambuc ** @param xcb_selinux_get_property_use_context_cookie_t cookie 1843*971bb1a5SLionel Sambuc ** @param xcb_generic_error_t **e 1844*971bb1a5SLionel Sambuc ** @returns xcb_selinux_get_property_use_context_reply_t * 1845*971bb1a5SLionel Sambuc ** 1846*971bb1a5SLionel Sambuc *****************************************************************************/ 1847*971bb1a5SLionel Sambuc 1848*971bb1a5SLionel Sambuc xcb_selinux_get_property_use_context_reply_t * 1849*971bb1a5SLionel Sambuc xcb_selinux_get_property_use_context_reply (xcb_connection_t *c /**< */, 1850*971bb1a5SLionel Sambuc xcb_selinux_get_property_use_context_cookie_t cookie /**< */, 1851*971bb1a5SLionel Sambuc xcb_generic_error_t **e /**< */); 1852*971bb1a5SLionel Sambuc 1853*971bb1a5SLionel Sambuc int 1854*971bb1a5SLionel Sambuc xcb_selinux_get_property_context_sizeof (const void *_buffer /**< */); 1855*971bb1a5SLionel Sambuc 1856*971bb1a5SLionel Sambuc /** 1857*971bb1a5SLionel Sambuc * 1858*971bb1a5SLionel Sambuc * @param c The connection 1859*971bb1a5SLionel Sambuc * @return A cookie 1860*971bb1a5SLionel Sambuc * 1861*971bb1a5SLionel Sambuc * Delivers a request to the X server. 1862*971bb1a5SLionel Sambuc * 1863*971bb1a5SLionel Sambuc */ 1864*971bb1a5SLionel Sambuc 1865*971bb1a5SLionel Sambuc /***************************************************************************** 1866*971bb1a5SLionel Sambuc ** 1867*971bb1a5SLionel Sambuc ** xcb_selinux_get_property_context_cookie_t xcb_selinux_get_property_context 1868*971bb1a5SLionel Sambuc ** 1869*971bb1a5SLionel Sambuc ** @param xcb_connection_t *c 1870*971bb1a5SLionel Sambuc ** @param xcb_window_t window 1871*971bb1a5SLionel Sambuc ** @param xcb_atom_t property 1872*971bb1a5SLionel Sambuc ** @returns xcb_selinux_get_property_context_cookie_t 1873*971bb1a5SLionel Sambuc ** 1874*971bb1a5SLionel Sambuc *****************************************************************************/ 1875*971bb1a5SLionel Sambuc 1876*971bb1a5SLionel Sambuc xcb_selinux_get_property_context_cookie_t 1877*971bb1a5SLionel Sambuc xcb_selinux_get_property_context (xcb_connection_t *c /**< */, 1878*971bb1a5SLionel Sambuc xcb_window_t window /**< */, 1879*971bb1a5SLionel Sambuc xcb_atom_t property /**< */); 1880*971bb1a5SLionel Sambuc 1881*971bb1a5SLionel Sambuc /** 1882*971bb1a5SLionel Sambuc * 1883*971bb1a5SLionel Sambuc * @param c The connection 1884*971bb1a5SLionel Sambuc * @return A cookie 1885*971bb1a5SLionel Sambuc * 1886*971bb1a5SLionel Sambuc * Delivers a request to the X server. 1887*971bb1a5SLionel Sambuc * 1888*971bb1a5SLionel Sambuc * This form can be used only if the request will cause 1889*971bb1a5SLionel Sambuc * a reply to be generated. Any returned error will be 1890*971bb1a5SLionel Sambuc * placed in the event queue. 1891*971bb1a5SLionel Sambuc */ 1892*971bb1a5SLionel Sambuc 1893*971bb1a5SLionel Sambuc /***************************************************************************** 1894*971bb1a5SLionel Sambuc ** 1895*971bb1a5SLionel Sambuc ** xcb_selinux_get_property_context_cookie_t xcb_selinux_get_property_context_unchecked 1896*971bb1a5SLionel Sambuc ** 1897*971bb1a5SLionel Sambuc ** @param xcb_connection_t *c 1898*971bb1a5SLionel Sambuc ** @param xcb_window_t window 1899*971bb1a5SLionel Sambuc ** @param xcb_atom_t property 1900*971bb1a5SLionel Sambuc ** @returns xcb_selinux_get_property_context_cookie_t 1901*971bb1a5SLionel Sambuc ** 1902*971bb1a5SLionel Sambuc *****************************************************************************/ 1903*971bb1a5SLionel Sambuc 1904*971bb1a5SLionel Sambuc xcb_selinux_get_property_context_cookie_t 1905*971bb1a5SLionel Sambuc xcb_selinux_get_property_context_unchecked (xcb_connection_t *c /**< */, 1906*971bb1a5SLionel Sambuc xcb_window_t window /**< */, 1907*971bb1a5SLionel Sambuc xcb_atom_t property /**< */); 1908*971bb1a5SLionel Sambuc 1909*971bb1a5SLionel Sambuc 1910*971bb1a5SLionel Sambuc /***************************************************************************** 1911*971bb1a5SLionel Sambuc ** 1912*971bb1a5SLionel Sambuc ** char * xcb_selinux_get_property_context_context 1913*971bb1a5SLionel Sambuc ** 1914*971bb1a5SLionel Sambuc ** @param const xcb_selinux_get_property_context_reply_t *R 1915*971bb1a5SLionel Sambuc ** @returns char * 1916*971bb1a5SLionel Sambuc ** 1917*971bb1a5SLionel Sambuc *****************************************************************************/ 1918*971bb1a5SLionel Sambuc 1919*971bb1a5SLionel Sambuc char * 1920*971bb1a5SLionel Sambuc xcb_selinux_get_property_context_context (const xcb_selinux_get_property_context_reply_t *R /**< */); 1921*971bb1a5SLionel Sambuc 1922*971bb1a5SLionel Sambuc 1923*971bb1a5SLionel Sambuc /***************************************************************************** 1924*971bb1a5SLionel Sambuc ** 1925*971bb1a5SLionel Sambuc ** int xcb_selinux_get_property_context_context_length 1926*971bb1a5SLionel Sambuc ** 1927*971bb1a5SLionel Sambuc ** @param const xcb_selinux_get_property_context_reply_t *R 1928*971bb1a5SLionel Sambuc ** @returns int 1929*971bb1a5SLionel Sambuc ** 1930*971bb1a5SLionel Sambuc *****************************************************************************/ 1931*971bb1a5SLionel Sambuc 1932*971bb1a5SLionel Sambuc int 1933*971bb1a5SLionel Sambuc xcb_selinux_get_property_context_context_length (const xcb_selinux_get_property_context_reply_t *R /**< */); 1934*971bb1a5SLionel Sambuc 1935*971bb1a5SLionel Sambuc 1936*971bb1a5SLionel Sambuc /***************************************************************************** 1937*971bb1a5SLionel Sambuc ** 1938*971bb1a5SLionel Sambuc ** xcb_generic_iterator_t xcb_selinux_get_property_context_context_end 1939*971bb1a5SLionel Sambuc ** 1940*971bb1a5SLionel Sambuc ** @param const xcb_selinux_get_property_context_reply_t *R 1941*971bb1a5SLionel Sambuc ** @returns xcb_generic_iterator_t 1942*971bb1a5SLionel Sambuc ** 1943*971bb1a5SLionel Sambuc *****************************************************************************/ 1944*971bb1a5SLionel Sambuc 1945*971bb1a5SLionel Sambuc xcb_generic_iterator_t 1946*971bb1a5SLionel Sambuc xcb_selinux_get_property_context_context_end (const xcb_selinux_get_property_context_reply_t *R /**< */); 1947*971bb1a5SLionel Sambuc 1948*971bb1a5SLionel Sambuc /** 1949*971bb1a5SLionel Sambuc * Return the reply 1950*971bb1a5SLionel Sambuc * @param c The connection 1951*971bb1a5SLionel Sambuc * @param cookie The cookie 1952*971bb1a5SLionel Sambuc * @param e The xcb_generic_error_t supplied 1953*971bb1a5SLionel Sambuc * 1954*971bb1a5SLionel Sambuc * Returns the reply of the request asked by 1955*971bb1a5SLionel Sambuc * 1956*971bb1a5SLionel Sambuc * The parameter @p e supplied to this function must be NULL if 1957*971bb1a5SLionel Sambuc * xcb_selinux_get_property_context_unchecked(). is used. 1958*971bb1a5SLionel Sambuc * Otherwise, it stores the error if any. 1959*971bb1a5SLionel Sambuc * 1960*971bb1a5SLionel Sambuc * The returned value must be freed by the caller using free(). 1961*971bb1a5SLionel Sambuc */ 1962*971bb1a5SLionel Sambuc 1963*971bb1a5SLionel Sambuc /***************************************************************************** 1964*971bb1a5SLionel Sambuc ** 1965*971bb1a5SLionel Sambuc ** xcb_selinux_get_property_context_reply_t * xcb_selinux_get_property_context_reply 1966*971bb1a5SLionel Sambuc ** 1967*971bb1a5SLionel Sambuc ** @param xcb_connection_t *c 1968*971bb1a5SLionel Sambuc ** @param xcb_selinux_get_property_context_cookie_t cookie 1969*971bb1a5SLionel Sambuc ** @param xcb_generic_error_t **e 1970*971bb1a5SLionel Sambuc ** @returns xcb_selinux_get_property_context_reply_t * 1971*971bb1a5SLionel Sambuc ** 1972*971bb1a5SLionel Sambuc *****************************************************************************/ 1973*971bb1a5SLionel Sambuc 1974*971bb1a5SLionel Sambuc xcb_selinux_get_property_context_reply_t * 1975*971bb1a5SLionel Sambuc xcb_selinux_get_property_context_reply (xcb_connection_t *c /**< */, 1976*971bb1a5SLionel Sambuc xcb_selinux_get_property_context_cookie_t cookie /**< */, 1977*971bb1a5SLionel Sambuc xcb_generic_error_t **e /**< */); 1978*971bb1a5SLionel Sambuc 1979*971bb1a5SLionel Sambuc int 1980*971bb1a5SLionel Sambuc xcb_selinux_get_property_data_context_sizeof (const void *_buffer /**< */); 1981*971bb1a5SLionel Sambuc 1982*971bb1a5SLionel Sambuc /** 1983*971bb1a5SLionel Sambuc * 1984*971bb1a5SLionel Sambuc * @param c The connection 1985*971bb1a5SLionel Sambuc * @return A cookie 1986*971bb1a5SLionel Sambuc * 1987*971bb1a5SLionel Sambuc * Delivers a request to the X server. 1988*971bb1a5SLionel Sambuc * 1989*971bb1a5SLionel Sambuc */ 1990*971bb1a5SLionel Sambuc 1991*971bb1a5SLionel Sambuc /***************************************************************************** 1992*971bb1a5SLionel Sambuc ** 1993*971bb1a5SLionel Sambuc ** xcb_selinux_get_property_data_context_cookie_t xcb_selinux_get_property_data_context 1994*971bb1a5SLionel Sambuc ** 1995*971bb1a5SLionel Sambuc ** @param xcb_connection_t *c 1996*971bb1a5SLionel Sambuc ** @param xcb_window_t window 1997*971bb1a5SLionel Sambuc ** @param xcb_atom_t property 1998*971bb1a5SLionel Sambuc ** @returns xcb_selinux_get_property_data_context_cookie_t 1999*971bb1a5SLionel Sambuc ** 2000*971bb1a5SLionel Sambuc *****************************************************************************/ 2001*971bb1a5SLionel Sambuc 2002*971bb1a5SLionel Sambuc xcb_selinux_get_property_data_context_cookie_t 2003*971bb1a5SLionel Sambuc xcb_selinux_get_property_data_context (xcb_connection_t *c /**< */, 2004*971bb1a5SLionel Sambuc xcb_window_t window /**< */, 2005*971bb1a5SLionel Sambuc xcb_atom_t property /**< */); 2006*971bb1a5SLionel Sambuc 2007*971bb1a5SLionel Sambuc /** 2008*971bb1a5SLionel Sambuc * 2009*971bb1a5SLionel Sambuc * @param c The connection 2010*971bb1a5SLionel Sambuc * @return A cookie 2011*971bb1a5SLionel Sambuc * 2012*971bb1a5SLionel Sambuc * Delivers a request to the X server. 2013*971bb1a5SLionel Sambuc * 2014*971bb1a5SLionel Sambuc * This form can be used only if the request will cause 2015*971bb1a5SLionel Sambuc * a reply to be generated. Any returned error will be 2016*971bb1a5SLionel Sambuc * placed in the event queue. 2017*971bb1a5SLionel Sambuc */ 2018*971bb1a5SLionel Sambuc 2019*971bb1a5SLionel Sambuc /***************************************************************************** 2020*971bb1a5SLionel Sambuc ** 2021*971bb1a5SLionel Sambuc ** xcb_selinux_get_property_data_context_cookie_t xcb_selinux_get_property_data_context_unchecked 2022*971bb1a5SLionel Sambuc ** 2023*971bb1a5SLionel Sambuc ** @param xcb_connection_t *c 2024*971bb1a5SLionel Sambuc ** @param xcb_window_t window 2025*971bb1a5SLionel Sambuc ** @param xcb_atom_t property 2026*971bb1a5SLionel Sambuc ** @returns xcb_selinux_get_property_data_context_cookie_t 2027*971bb1a5SLionel Sambuc ** 2028*971bb1a5SLionel Sambuc *****************************************************************************/ 2029*971bb1a5SLionel Sambuc 2030*971bb1a5SLionel Sambuc xcb_selinux_get_property_data_context_cookie_t 2031*971bb1a5SLionel Sambuc xcb_selinux_get_property_data_context_unchecked (xcb_connection_t *c /**< */, 2032*971bb1a5SLionel Sambuc xcb_window_t window /**< */, 2033*971bb1a5SLionel Sambuc xcb_atom_t property /**< */); 2034*971bb1a5SLionel Sambuc 2035*971bb1a5SLionel Sambuc 2036*971bb1a5SLionel Sambuc /***************************************************************************** 2037*971bb1a5SLionel Sambuc ** 2038*971bb1a5SLionel Sambuc ** char * xcb_selinux_get_property_data_context_context 2039*971bb1a5SLionel Sambuc ** 2040*971bb1a5SLionel Sambuc ** @param const xcb_selinux_get_property_data_context_reply_t *R 2041*971bb1a5SLionel Sambuc ** @returns char * 2042*971bb1a5SLionel Sambuc ** 2043*971bb1a5SLionel Sambuc *****************************************************************************/ 2044*971bb1a5SLionel Sambuc 2045*971bb1a5SLionel Sambuc char * 2046*971bb1a5SLionel Sambuc xcb_selinux_get_property_data_context_context (const xcb_selinux_get_property_data_context_reply_t *R /**< */); 2047*971bb1a5SLionel Sambuc 2048*971bb1a5SLionel Sambuc 2049*971bb1a5SLionel Sambuc /***************************************************************************** 2050*971bb1a5SLionel Sambuc ** 2051*971bb1a5SLionel Sambuc ** int xcb_selinux_get_property_data_context_context_length 2052*971bb1a5SLionel Sambuc ** 2053*971bb1a5SLionel Sambuc ** @param const xcb_selinux_get_property_data_context_reply_t *R 2054*971bb1a5SLionel Sambuc ** @returns int 2055*971bb1a5SLionel Sambuc ** 2056*971bb1a5SLionel Sambuc *****************************************************************************/ 2057*971bb1a5SLionel Sambuc 2058*971bb1a5SLionel Sambuc int 2059*971bb1a5SLionel Sambuc xcb_selinux_get_property_data_context_context_length (const xcb_selinux_get_property_data_context_reply_t *R /**< */); 2060*971bb1a5SLionel Sambuc 2061*971bb1a5SLionel Sambuc 2062*971bb1a5SLionel Sambuc /***************************************************************************** 2063*971bb1a5SLionel Sambuc ** 2064*971bb1a5SLionel Sambuc ** xcb_generic_iterator_t xcb_selinux_get_property_data_context_context_end 2065*971bb1a5SLionel Sambuc ** 2066*971bb1a5SLionel Sambuc ** @param const xcb_selinux_get_property_data_context_reply_t *R 2067*971bb1a5SLionel Sambuc ** @returns xcb_generic_iterator_t 2068*971bb1a5SLionel Sambuc ** 2069*971bb1a5SLionel Sambuc *****************************************************************************/ 2070*971bb1a5SLionel Sambuc 2071*971bb1a5SLionel Sambuc xcb_generic_iterator_t 2072*971bb1a5SLionel Sambuc xcb_selinux_get_property_data_context_context_end (const xcb_selinux_get_property_data_context_reply_t *R /**< */); 2073*971bb1a5SLionel Sambuc 2074*971bb1a5SLionel Sambuc /** 2075*971bb1a5SLionel Sambuc * Return the reply 2076*971bb1a5SLionel Sambuc * @param c The connection 2077*971bb1a5SLionel Sambuc * @param cookie The cookie 2078*971bb1a5SLionel Sambuc * @param e The xcb_generic_error_t supplied 2079*971bb1a5SLionel Sambuc * 2080*971bb1a5SLionel Sambuc * Returns the reply of the request asked by 2081*971bb1a5SLionel Sambuc * 2082*971bb1a5SLionel Sambuc * The parameter @p e supplied to this function must be NULL if 2083*971bb1a5SLionel Sambuc * xcb_selinux_get_property_data_context_unchecked(). is used. 2084*971bb1a5SLionel Sambuc * Otherwise, it stores the error if any. 2085*971bb1a5SLionel Sambuc * 2086*971bb1a5SLionel Sambuc * The returned value must be freed by the caller using free(). 2087*971bb1a5SLionel Sambuc */ 2088*971bb1a5SLionel Sambuc 2089*971bb1a5SLionel Sambuc /***************************************************************************** 2090*971bb1a5SLionel Sambuc ** 2091*971bb1a5SLionel Sambuc ** xcb_selinux_get_property_data_context_reply_t * xcb_selinux_get_property_data_context_reply 2092*971bb1a5SLionel Sambuc ** 2093*971bb1a5SLionel Sambuc ** @param xcb_connection_t *c 2094*971bb1a5SLionel Sambuc ** @param xcb_selinux_get_property_data_context_cookie_t cookie 2095*971bb1a5SLionel Sambuc ** @param xcb_generic_error_t **e 2096*971bb1a5SLionel Sambuc ** @returns xcb_selinux_get_property_data_context_reply_t * 2097*971bb1a5SLionel Sambuc ** 2098*971bb1a5SLionel Sambuc *****************************************************************************/ 2099*971bb1a5SLionel Sambuc 2100*971bb1a5SLionel Sambuc xcb_selinux_get_property_data_context_reply_t * 2101*971bb1a5SLionel Sambuc xcb_selinux_get_property_data_context_reply (xcb_connection_t *c /**< */, 2102*971bb1a5SLionel Sambuc xcb_selinux_get_property_data_context_cookie_t cookie /**< */, 2103*971bb1a5SLionel Sambuc xcb_generic_error_t **e /**< */); 2104*971bb1a5SLionel Sambuc 2105*971bb1a5SLionel Sambuc int 2106*971bb1a5SLionel Sambuc xcb_selinux_list_properties_sizeof (const void *_buffer /**< */); 2107*971bb1a5SLionel Sambuc 2108*971bb1a5SLionel Sambuc /** 2109*971bb1a5SLionel Sambuc * 2110*971bb1a5SLionel Sambuc * @param c The connection 2111*971bb1a5SLionel Sambuc * @return A cookie 2112*971bb1a5SLionel Sambuc * 2113*971bb1a5SLionel Sambuc * Delivers a request to the X server. 2114*971bb1a5SLionel Sambuc * 2115*971bb1a5SLionel Sambuc */ 2116*971bb1a5SLionel Sambuc 2117*971bb1a5SLionel Sambuc /***************************************************************************** 2118*971bb1a5SLionel Sambuc ** 2119*971bb1a5SLionel Sambuc ** xcb_selinux_list_properties_cookie_t xcb_selinux_list_properties 2120*971bb1a5SLionel Sambuc ** 2121*971bb1a5SLionel Sambuc ** @param xcb_connection_t *c 2122*971bb1a5SLionel Sambuc ** @param xcb_window_t window 2123*971bb1a5SLionel Sambuc ** @returns xcb_selinux_list_properties_cookie_t 2124*971bb1a5SLionel Sambuc ** 2125*971bb1a5SLionel Sambuc *****************************************************************************/ 2126*971bb1a5SLionel Sambuc 2127*971bb1a5SLionel Sambuc xcb_selinux_list_properties_cookie_t 2128*971bb1a5SLionel Sambuc xcb_selinux_list_properties (xcb_connection_t *c /**< */, 2129*971bb1a5SLionel Sambuc xcb_window_t window /**< */); 2130*971bb1a5SLionel Sambuc 2131*971bb1a5SLionel Sambuc /** 2132*971bb1a5SLionel Sambuc * 2133*971bb1a5SLionel Sambuc * @param c The connection 2134*971bb1a5SLionel Sambuc * @return A cookie 2135*971bb1a5SLionel Sambuc * 2136*971bb1a5SLionel Sambuc * Delivers a request to the X server. 2137*971bb1a5SLionel Sambuc * 2138*971bb1a5SLionel Sambuc * This form can be used only if the request will cause 2139*971bb1a5SLionel Sambuc * a reply to be generated. Any returned error will be 2140*971bb1a5SLionel Sambuc * placed in the event queue. 2141*971bb1a5SLionel Sambuc */ 2142*971bb1a5SLionel Sambuc 2143*971bb1a5SLionel Sambuc /***************************************************************************** 2144*971bb1a5SLionel Sambuc ** 2145*971bb1a5SLionel Sambuc ** xcb_selinux_list_properties_cookie_t xcb_selinux_list_properties_unchecked 2146*971bb1a5SLionel Sambuc ** 2147*971bb1a5SLionel Sambuc ** @param xcb_connection_t *c 2148*971bb1a5SLionel Sambuc ** @param xcb_window_t window 2149*971bb1a5SLionel Sambuc ** @returns xcb_selinux_list_properties_cookie_t 2150*971bb1a5SLionel Sambuc ** 2151*971bb1a5SLionel Sambuc *****************************************************************************/ 2152*971bb1a5SLionel Sambuc 2153*971bb1a5SLionel Sambuc xcb_selinux_list_properties_cookie_t 2154*971bb1a5SLionel Sambuc xcb_selinux_list_properties_unchecked (xcb_connection_t *c /**< */, 2155*971bb1a5SLionel Sambuc xcb_window_t window /**< */); 2156*971bb1a5SLionel Sambuc 2157*971bb1a5SLionel Sambuc 2158*971bb1a5SLionel Sambuc /***************************************************************************** 2159*971bb1a5SLionel Sambuc ** 2160*971bb1a5SLionel Sambuc ** int xcb_selinux_list_properties_properties_length 2161*971bb1a5SLionel Sambuc ** 2162*971bb1a5SLionel Sambuc ** @param const xcb_selinux_list_properties_reply_t *R 2163*971bb1a5SLionel Sambuc ** @returns int 2164*971bb1a5SLionel Sambuc ** 2165*971bb1a5SLionel Sambuc *****************************************************************************/ 2166*971bb1a5SLionel Sambuc 2167*971bb1a5SLionel Sambuc int 2168*971bb1a5SLionel Sambuc xcb_selinux_list_properties_properties_length (const xcb_selinux_list_properties_reply_t *R /**< */); 2169*971bb1a5SLionel Sambuc 2170*971bb1a5SLionel Sambuc 2171*971bb1a5SLionel Sambuc /***************************************************************************** 2172*971bb1a5SLionel Sambuc ** 2173*971bb1a5SLionel Sambuc ** xcb_selinux_list_item_iterator_t xcb_selinux_list_properties_properties_iterator 2174*971bb1a5SLionel Sambuc ** 2175*971bb1a5SLionel Sambuc ** @param const xcb_selinux_list_properties_reply_t *R 2176*971bb1a5SLionel Sambuc ** @returns xcb_selinux_list_item_iterator_t 2177*971bb1a5SLionel Sambuc ** 2178*971bb1a5SLionel Sambuc *****************************************************************************/ 2179*971bb1a5SLionel Sambuc 2180*971bb1a5SLionel Sambuc xcb_selinux_list_item_iterator_t 2181*971bb1a5SLionel Sambuc xcb_selinux_list_properties_properties_iterator (const xcb_selinux_list_properties_reply_t *R /**< */); 2182*971bb1a5SLionel Sambuc 2183*971bb1a5SLionel Sambuc /** 2184*971bb1a5SLionel Sambuc * Return the reply 2185*971bb1a5SLionel Sambuc * @param c The connection 2186*971bb1a5SLionel Sambuc * @param cookie The cookie 2187*971bb1a5SLionel Sambuc * @param e The xcb_generic_error_t supplied 2188*971bb1a5SLionel Sambuc * 2189*971bb1a5SLionel Sambuc * Returns the reply of the request asked by 2190*971bb1a5SLionel Sambuc * 2191*971bb1a5SLionel Sambuc * The parameter @p e supplied to this function must be NULL if 2192*971bb1a5SLionel Sambuc * xcb_selinux_list_properties_unchecked(). is used. 2193*971bb1a5SLionel Sambuc * Otherwise, it stores the error if any. 2194*971bb1a5SLionel Sambuc * 2195*971bb1a5SLionel Sambuc * The returned value must be freed by the caller using free(). 2196*971bb1a5SLionel Sambuc */ 2197*971bb1a5SLionel Sambuc 2198*971bb1a5SLionel Sambuc /***************************************************************************** 2199*971bb1a5SLionel Sambuc ** 2200*971bb1a5SLionel Sambuc ** xcb_selinux_list_properties_reply_t * xcb_selinux_list_properties_reply 2201*971bb1a5SLionel Sambuc ** 2202*971bb1a5SLionel Sambuc ** @param xcb_connection_t *c 2203*971bb1a5SLionel Sambuc ** @param xcb_selinux_list_properties_cookie_t cookie 2204*971bb1a5SLionel Sambuc ** @param xcb_generic_error_t **e 2205*971bb1a5SLionel Sambuc ** @returns xcb_selinux_list_properties_reply_t * 2206*971bb1a5SLionel Sambuc ** 2207*971bb1a5SLionel Sambuc *****************************************************************************/ 2208*971bb1a5SLionel Sambuc 2209*971bb1a5SLionel Sambuc xcb_selinux_list_properties_reply_t * 2210*971bb1a5SLionel Sambuc xcb_selinux_list_properties_reply (xcb_connection_t *c /**< */, 2211*971bb1a5SLionel Sambuc xcb_selinux_list_properties_cookie_t cookie /**< */, 2212*971bb1a5SLionel Sambuc xcb_generic_error_t **e /**< */); 2213*971bb1a5SLionel Sambuc 2214*971bb1a5SLionel Sambuc int 2215*971bb1a5SLionel Sambuc xcb_selinux_set_selection_create_context_sizeof (const void *_buffer /**< */); 2216*971bb1a5SLionel Sambuc 2217*971bb1a5SLionel Sambuc /** 2218*971bb1a5SLionel Sambuc * 2219*971bb1a5SLionel Sambuc * @param c The connection 2220*971bb1a5SLionel Sambuc * @return A cookie 2221*971bb1a5SLionel Sambuc * 2222*971bb1a5SLionel Sambuc * Delivers a request to the X server. 2223*971bb1a5SLionel Sambuc * 2224*971bb1a5SLionel Sambuc * This form can be used only if the request will not cause 2225*971bb1a5SLionel Sambuc * a reply to be generated. Any returned error will be 2226*971bb1a5SLionel Sambuc * saved for handling by xcb_request_check(). 2227*971bb1a5SLionel Sambuc */ 2228*971bb1a5SLionel Sambuc 2229*971bb1a5SLionel Sambuc /***************************************************************************** 2230*971bb1a5SLionel Sambuc ** 2231*971bb1a5SLionel Sambuc ** xcb_void_cookie_t xcb_selinux_set_selection_create_context_checked 2232*971bb1a5SLionel Sambuc ** 2233*971bb1a5SLionel Sambuc ** @param xcb_connection_t *c 2234*971bb1a5SLionel Sambuc ** @param uint32_t context_len 2235*971bb1a5SLionel Sambuc ** @param const char *context 2236*971bb1a5SLionel Sambuc ** @returns xcb_void_cookie_t 2237*971bb1a5SLionel Sambuc ** 2238*971bb1a5SLionel Sambuc *****************************************************************************/ 2239*971bb1a5SLionel Sambuc 2240*971bb1a5SLionel Sambuc xcb_void_cookie_t 2241*971bb1a5SLionel Sambuc xcb_selinux_set_selection_create_context_checked (xcb_connection_t *c /**< */, 2242*971bb1a5SLionel Sambuc uint32_t context_len /**< */, 2243*971bb1a5SLionel Sambuc const char *context /**< */); 2244*971bb1a5SLionel Sambuc 2245*971bb1a5SLionel Sambuc /** 2246*971bb1a5SLionel Sambuc * 2247*971bb1a5SLionel Sambuc * @param c The connection 2248*971bb1a5SLionel Sambuc * @return A cookie 2249*971bb1a5SLionel Sambuc * 2250*971bb1a5SLionel Sambuc * Delivers a request to the X server. 2251*971bb1a5SLionel Sambuc * 2252*971bb1a5SLionel Sambuc */ 2253*971bb1a5SLionel Sambuc 2254*971bb1a5SLionel Sambuc /***************************************************************************** 2255*971bb1a5SLionel Sambuc ** 2256*971bb1a5SLionel Sambuc ** xcb_void_cookie_t xcb_selinux_set_selection_create_context 2257*971bb1a5SLionel Sambuc ** 2258*971bb1a5SLionel Sambuc ** @param xcb_connection_t *c 2259*971bb1a5SLionel Sambuc ** @param uint32_t context_len 2260*971bb1a5SLionel Sambuc ** @param const char *context 2261*971bb1a5SLionel Sambuc ** @returns xcb_void_cookie_t 2262*971bb1a5SLionel Sambuc ** 2263*971bb1a5SLionel Sambuc *****************************************************************************/ 2264*971bb1a5SLionel Sambuc 2265*971bb1a5SLionel Sambuc xcb_void_cookie_t 2266*971bb1a5SLionel Sambuc xcb_selinux_set_selection_create_context (xcb_connection_t *c /**< */, 2267*971bb1a5SLionel Sambuc uint32_t context_len /**< */, 2268*971bb1a5SLionel Sambuc const char *context /**< */); 2269*971bb1a5SLionel Sambuc 2270*971bb1a5SLionel Sambuc int 2271*971bb1a5SLionel Sambuc xcb_selinux_get_selection_create_context_sizeof (const void *_buffer /**< */); 2272*971bb1a5SLionel Sambuc 2273*971bb1a5SLionel Sambuc /** 2274*971bb1a5SLionel Sambuc * 2275*971bb1a5SLionel Sambuc * @param c The connection 2276*971bb1a5SLionel Sambuc * @return A cookie 2277*971bb1a5SLionel Sambuc * 2278*971bb1a5SLionel Sambuc * Delivers a request to the X server. 2279*971bb1a5SLionel Sambuc * 2280*971bb1a5SLionel Sambuc */ 2281*971bb1a5SLionel Sambuc 2282*971bb1a5SLionel Sambuc /***************************************************************************** 2283*971bb1a5SLionel Sambuc ** 2284*971bb1a5SLionel Sambuc ** xcb_selinux_get_selection_create_context_cookie_t xcb_selinux_get_selection_create_context 2285*971bb1a5SLionel Sambuc ** 2286*971bb1a5SLionel Sambuc ** @param xcb_connection_t *c 2287*971bb1a5SLionel Sambuc ** @returns xcb_selinux_get_selection_create_context_cookie_t 2288*971bb1a5SLionel Sambuc ** 2289*971bb1a5SLionel Sambuc *****************************************************************************/ 2290*971bb1a5SLionel Sambuc 2291*971bb1a5SLionel Sambuc xcb_selinux_get_selection_create_context_cookie_t 2292*971bb1a5SLionel Sambuc xcb_selinux_get_selection_create_context (xcb_connection_t *c /**< */); 2293*971bb1a5SLionel Sambuc 2294*971bb1a5SLionel Sambuc /** 2295*971bb1a5SLionel Sambuc * 2296*971bb1a5SLionel Sambuc * @param c The connection 2297*971bb1a5SLionel Sambuc * @return A cookie 2298*971bb1a5SLionel Sambuc * 2299*971bb1a5SLionel Sambuc * Delivers a request to the X server. 2300*971bb1a5SLionel Sambuc * 2301*971bb1a5SLionel Sambuc * This form can be used only if the request will cause 2302*971bb1a5SLionel Sambuc * a reply to be generated. Any returned error will be 2303*971bb1a5SLionel Sambuc * placed in the event queue. 2304*971bb1a5SLionel Sambuc */ 2305*971bb1a5SLionel Sambuc 2306*971bb1a5SLionel Sambuc /***************************************************************************** 2307*971bb1a5SLionel Sambuc ** 2308*971bb1a5SLionel Sambuc ** xcb_selinux_get_selection_create_context_cookie_t xcb_selinux_get_selection_create_context_unchecked 2309*971bb1a5SLionel Sambuc ** 2310*971bb1a5SLionel Sambuc ** @param xcb_connection_t *c 2311*971bb1a5SLionel Sambuc ** @returns xcb_selinux_get_selection_create_context_cookie_t 2312*971bb1a5SLionel Sambuc ** 2313*971bb1a5SLionel Sambuc *****************************************************************************/ 2314*971bb1a5SLionel Sambuc 2315*971bb1a5SLionel Sambuc xcb_selinux_get_selection_create_context_cookie_t 2316*971bb1a5SLionel Sambuc xcb_selinux_get_selection_create_context_unchecked (xcb_connection_t *c /**< */); 2317*971bb1a5SLionel Sambuc 2318*971bb1a5SLionel Sambuc 2319*971bb1a5SLionel Sambuc /***************************************************************************** 2320*971bb1a5SLionel Sambuc ** 2321*971bb1a5SLionel Sambuc ** char * xcb_selinux_get_selection_create_context_context 2322*971bb1a5SLionel Sambuc ** 2323*971bb1a5SLionel Sambuc ** @param const xcb_selinux_get_selection_create_context_reply_t *R 2324*971bb1a5SLionel Sambuc ** @returns char * 2325*971bb1a5SLionel Sambuc ** 2326*971bb1a5SLionel Sambuc *****************************************************************************/ 2327*971bb1a5SLionel Sambuc 2328*971bb1a5SLionel Sambuc char * 2329*971bb1a5SLionel Sambuc xcb_selinux_get_selection_create_context_context (const xcb_selinux_get_selection_create_context_reply_t *R /**< */); 2330*971bb1a5SLionel Sambuc 2331*971bb1a5SLionel Sambuc 2332*971bb1a5SLionel Sambuc /***************************************************************************** 2333*971bb1a5SLionel Sambuc ** 2334*971bb1a5SLionel Sambuc ** int xcb_selinux_get_selection_create_context_context_length 2335*971bb1a5SLionel Sambuc ** 2336*971bb1a5SLionel Sambuc ** @param const xcb_selinux_get_selection_create_context_reply_t *R 2337*971bb1a5SLionel Sambuc ** @returns int 2338*971bb1a5SLionel Sambuc ** 2339*971bb1a5SLionel Sambuc *****************************************************************************/ 2340*971bb1a5SLionel Sambuc 2341*971bb1a5SLionel Sambuc int 2342*971bb1a5SLionel Sambuc xcb_selinux_get_selection_create_context_context_length (const xcb_selinux_get_selection_create_context_reply_t *R /**< */); 2343*971bb1a5SLionel Sambuc 2344*971bb1a5SLionel Sambuc 2345*971bb1a5SLionel Sambuc /***************************************************************************** 2346*971bb1a5SLionel Sambuc ** 2347*971bb1a5SLionel Sambuc ** xcb_generic_iterator_t xcb_selinux_get_selection_create_context_context_end 2348*971bb1a5SLionel Sambuc ** 2349*971bb1a5SLionel Sambuc ** @param const xcb_selinux_get_selection_create_context_reply_t *R 2350*971bb1a5SLionel Sambuc ** @returns xcb_generic_iterator_t 2351*971bb1a5SLionel Sambuc ** 2352*971bb1a5SLionel Sambuc *****************************************************************************/ 2353*971bb1a5SLionel Sambuc 2354*971bb1a5SLionel Sambuc xcb_generic_iterator_t 2355*971bb1a5SLionel Sambuc xcb_selinux_get_selection_create_context_context_end (const xcb_selinux_get_selection_create_context_reply_t *R /**< */); 2356*971bb1a5SLionel Sambuc 2357*971bb1a5SLionel Sambuc /** 2358*971bb1a5SLionel Sambuc * Return the reply 2359*971bb1a5SLionel Sambuc * @param c The connection 2360*971bb1a5SLionel Sambuc * @param cookie The cookie 2361*971bb1a5SLionel Sambuc * @param e The xcb_generic_error_t supplied 2362*971bb1a5SLionel Sambuc * 2363*971bb1a5SLionel Sambuc * Returns the reply of the request asked by 2364*971bb1a5SLionel Sambuc * 2365*971bb1a5SLionel Sambuc * The parameter @p e supplied to this function must be NULL if 2366*971bb1a5SLionel Sambuc * xcb_selinux_get_selection_create_context_unchecked(). is used. 2367*971bb1a5SLionel Sambuc * Otherwise, it stores the error if any. 2368*971bb1a5SLionel Sambuc * 2369*971bb1a5SLionel Sambuc * The returned value must be freed by the caller using free(). 2370*971bb1a5SLionel Sambuc */ 2371*971bb1a5SLionel Sambuc 2372*971bb1a5SLionel Sambuc /***************************************************************************** 2373*971bb1a5SLionel Sambuc ** 2374*971bb1a5SLionel Sambuc ** xcb_selinux_get_selection_create_context_reply_t * xcb_selinux_get_selection_create_context_reply 2375*971bb1a5SLionel Sambuc ** 2376*971bb1a5SLionel Sambuc ** @param xcb_connection_t *c 2377*971bb1a5SLionel Sambuc ** @param xcb_selinux_get_selection_create_context_cookie_t cookie 2378*971bb1a5SLionel Sambuc ** @param xcb_generic_error_t **e 2379*971bb1a5SLionel Sambuc ** @returns xcb_selinux_get_selection_create_context_reply_t * 2380*971bb1a5SLionel Sambuc ** 2381*971bb1a5SLionel Sambuc *****************************************************************************/ 2382*971bb1a5SLionel Sambuc 2383*971bb1a5SLionel Sambuc xcb_selinux_get_selection_create_context_reply_t * 2384*971bb1a5SLionel Sambuc xcb_selinux_get_selection_create_context_reply (xcb_connection_t *c /**< */, 2385*971bb1a5SLionel Sambuc xcb_selinux_get_selection_create_context_cookie_t cookie /**< */, 2386*971bb1a5SLionel Sambuc xcb_generic_error_t **e /**< */); 2387*971bb1a5SLionel Sambuc 2388*971bb1a5SLionel Sambuc int 2389*971bb1a5SLionel Sambuc xcb_selinux_set_selection_use_context_sizeof (const void *_buffer /**< */); 2390*971bb1a5SLionel Sambuc 2391*971bb1a5SLionel Sambuc /** 2392*971bb1a5SLionel Sambuc * 2393*971bb1a5SLionel Sambuc * @param c The connection 2394*971bb1a5SLionel Sambuc * @return A cookie 2395*971bb1a5SLionel Sambuc * 2396*971bb1a5SLionel Sambuc * Delivers a request to the X server. 2397*971bb1a5SLionel Sambuc * 2398*971bb1a5SLionel Sambuc * This form can be used only if the request will not cause 2399*971bb1a5SLionel Sambuc * a reply to be generated. Any returned error will be 2400*971bb1a5SLionel Sambuc * saved for handling by xcb_request_check(). 2401*971bb1a5SLionel Sambuc */ 2402*971bb1a5SLionel Sambuc 2403*971bb1a5SLionel Sambuc /***************************************************************************** 2404*971bb1a5SLionel Sambuc ** 2405*971bb1a5SLionel Sambuc ** xcb_void_cookie_t xcb_selinux_set_selection_use_context_checked 2406*971bb1a5SLionel Sambuc ** 2407*971bb1a5SLionel Sambuc ** @param xcb_connection_t *c 2408*971bb1a5SLionel Sambuc ** @param uint32_t context_len 2409*971bb1a5SLionel Sambuc ** @param const char *context 2410*971bb1a5SLionel Sambuc ** @returns xcb_void_cookie_t 2411*971bb1a5SLionel Sambuc ** 2412*971bb1a5SLionel Sambuc *****************************************************************************/ 2413*971bb1a5SLionel Sambuc 2414*971bb1a5SLionel Sambuc xcb_void_cookie_t 2415*971bb1a5SLionel Sambuc xcb_selinux_set_selection_use_context_checked (xcb_connection_t *c /**< */, 2416*971bb1a5SLionel Sambuc uint32_t context_len /**< */, 2417*971bb1a5SLionel Sambuc const char *context /**< */); 2418*971bb1a5SLionel Sambuc 2419*971bb1a5SLionel Sambuc /** 2420*971bb1a5SLionel Sambuc * 2421*971bb1a5SLionel Sambuc * @param c The connection 2422*971bb1a5SLionel Sambuc * @return A cookie 2423*971bb1a5SLionel Sambuc * 2424*971bb1a5SLionel Sambuc * Delivers a request to the X server. 2425*971bb1a5SLionel Sambuc * 2426*971bb1a5SLionel Sambuc */ 2427*971bb1a5SLionel Sambuc 2428*971bb1a5SLionel Sambuc /***************************************************************************** 2429*971bb1a5SLionel Sambuc ** 2430*971bb1a5SLionel Sambuc ** xcb_void_cookie_t xcb_selinux_set_selection_use_context 2431*971bb1a5SLionel Sambuc ** 2432*971bb1a5SLionel Sambuc ** @param xcb_connection_t *c 2433*971bb1a5SLionel Sambuc ** @param uint32_t context_len 2434*971bb1a5SLionel Sambuc ** @param const char *context 2435*971bb1a5SLionel Sambuc ** @returns xcb_void_cookie_t 2436*971bb1a5SLionel Sambuc ** 2437*971bb1a5SLionel Sambuc *****************************************************************************/ 2438*971bb1a5SLionel Sambuc 2439*971bb1a5SLionel Sambuc xcb_void_cookie_t 2440*971bb1a5SLionel Sambuc xcb_selinux_set_selection_use_context (xcb_connection_t *c /**< */, 2441*971bb1a5SLionel Sambuc uint32_t context_len /**< */, 2442*971bb1a5SLionel Sambuc const char *context /**< */); 2443*971bb1a5SLionel Sambuc 2444*971bb1a5SLionel Sambuc int 2445*971bb1a5SLionel Sambuc xcb_selinux_get_selection_use_context_sizeof (const void *_buffer /**< */); 2446*971bb1a5SLionel Sambuc 2447*971bb1a5SLionel Sambuc /** 2448*971bb1a5SLionel Sambuc * 2449*971bb1a5SLionel Sambuc * @param c The connection 2450*971bb1a5SLionel Sambuc * @return A cookie 2451*971bb1a5SLionel Sambuc * 2452*971bb1a5SLionel Sambuc * Delivers a request to the X server. 2453*971bb1a5SLionel Sambuc * 2454*971bb1a5SLionel Sambuc */ 2455*971bb1a5SLionel Sambuc 2456*971bb1a5SLionel Sambuc /***************************************************************************** 2457*971bb1a5SLionel Sambuc ** 2458*971bb1a5SLionel Sambuc ** xcb_selinux_get_selection_use_context_cookie_t xcb_selinux_get_selection_use_context 2459*971bb1a5SLionel Sambuc ** 2460*971bb1a5SLionel Sambuc ** @param xcb_connection_t *c 2461*971bb1a5SLionel Sambuc ** @returns xcb_selinux_get_selection_use_context_cookie_t 2462*971bb1a5SLionel Sambuc ** 2463*971bb1a5SLionel Sambuc *****************************************************************************/ 2464*971bb1a5SLionel Sambuc 2465*971bb1a5SLionel Sambuc xcb_selinux_get_selection_use_context_cookie_t 2466*971bb1a5SLionel Sambuc xcb_selinux_get_selection_use_context (xcb_connection_t *c /**< */); 2467*971bb1a5SLionel Sambuc 2468*971bb1a5SLionel Sambuc /** 2469*971bb1a5SLionel Sambuc * 2470*971bb1a5SLionel Sambuc * @param c The connection 2471*971bb1a5SLionel Sambuc * @return A cookie 2472*971bb1a5SLionel Sambuc * 2473*971bb1a5SLionel Sambuc * Delivers a request to the X server. 2474*971bb1a5SLionel Sambuc * 2475*971bb1a5SLionel Sambuc * This form can be used only if the request will cause 2476*971bb1a5SLionel Sambuc * a reply to be generated. Any returned error will be 2477*971bb1a5SLionel Sambuc * placed in the event queue. 2478*971bb1a5SLionel Sambuc */ 2479*971bb1a5SLionel Sambuc 2480*971bb1a5SLionel Sambuc /***************************************************************************** 2481*971bb1a5SLionel Sambuc ** 2482*971bb1a5SLionel Sambuc ** xcb_selinux_get_selection_use_context_cookie_t xcb_selinux_get_selection_use_context_unchecked 2483*971bb1a5SLionel Sambuc ** 2484*971bb1a5SLionel Sambuc ** @param xcb_connection_t *c 2485*971bb1a5SLionel Sambuc ** @returns xcb_selinux_get_selection_use_context_cookie_t 2486*971bb1a5SLionel Sambuc ** 2487*971bb1a5SLionel Sambuc *****************************************************************************/ 2488*971bb1a5SLionel Sambuc 2489*971bb1a5SLionel Sambuc xcb_selinux_get_selection_use_context_cookie_t 2490*971bb1a5SLionel Sambuc xcb_selinux_get_selection_use_context_unchecked (xcb_connection_t *c /**< */); 2491*971bb1a5SLionel Sambuc 2492*971bb1a5SLionel Sambuc 2493*971bb1a5SLionel Sambuc /***************************************************************************** 2494*971bb1a5SLionel Sambuc ** 2495*971bb1a5SLionel Sambuc ** char * xcb_selinux_get_selection_use_context_context 2496*971bb1a5SLionel Sambuc ** 2497*971bb1a5SLionel Sambuc ** @param const xcb_selinux_get_selection_use_context_reply_t *R 2498*971bb1a5SLionel Sambuc ** @returns char * 2499*971bb1a5SLionel Sambuc ** 2500*971bb1a5SLionel Sambuc *****************************************************************************/ 2501*971bb1a5SLionel Sambuc 2502*971bb1a5SLionel Sambuc char * 2503*971bb1a5SLionel Sambuc xcb_selinux_get_selection_use_context_context (const xcb_selinux_get_selection_use_context_reply_t *R /**< */); 2504*971bb1a5SLionel Sambuc 2505*971bb1a5SLionel Sambuc 2506*971bb1a5SLionel Sambuc /***************************************************************************** 2507*971bb1a5SLionel Sambuc ** 2508*971bb1a5SLionel Sambuc ** int xcb_selinux_get_selection_use_context_context_length 2509*971bb1a5SLionel Sambuc ** 2510*971bb1a5SLionel Sambuc ** @param const xcb_selinux_get_selection_use_context_reply_t *R 2511*971bb1a5SLionel Sambuc ** @returns int 2512*971bb1a5SLionel Sambuc ** 2513*971bb1a5SLionel Sambuc *****************************************************************************/ 2514*971bb1a5SLionel Sambuc 2515*971bb1a5SLionel Sambuc int 2516*971bb1a5SLionel Sambuc xcb_selinux_get_selection_use_context_context_length (const xcb_selinux_get_selection_use_context_reply_t *R /**< */); 2517*971bb1a5SLionel Sambuc 2518*971bb1a5SLionel Sambuc 2519*971bb1a5SLionel Sambuc /***************************************************************************** 2520*971bb1a5SLionel Sambuc ** 2521*971bb1a5SLionel Sambuc ** xcb_generic_iterator_t xcb_selinux_get_selection_use_context_context_end 2522*971bb1a5SLionel Sambuc ** 2523*971bb1a5SLionel Sambuc ** @param const xcb_selinux_get_selection_use_context_reply_t *R 2524*971bb1a5SLionel Sambuc ** @returns xcb_generic_iterator_t 2525*971bb1a5SLionel Sambuc ** 2526*971bb1a5SLionel Sambuc *****************************************************************************/ 2527*971bb1a5SLionel Sambuc 2528*971bb1a5SLionel Sambuc xcb_generic_iterator_t 2529*971bb1a5SLionel Sambuc xcb_selinux_get_selection_use_context_context_end (const xcb_selinux_get_selection_use_context_reply_t *R /**< */); 2530*971bb1a5SLionel Sambuc 2531*971bb1a5SLionel Sambuc /** 2532*971bb1a5SLionel Sambuc * Return the reply 2533*971bb1a5SLionel Sambuc * @param c The connection 2534*971bb1a5SLionel Sambuc * @param cookie The cookie 2535*971bb1a5SLionel Sambuc * @param e The xcb_generic_error_t supplied 2536*971bb1a5SLionel Sambuc * 2537*971bb1a5SLionel Sambuc * Returns the reply of the request asked by 2538*971bb1a5SLionel Sambuc * 2539*971bb1a5SLionel Sambuc * The parameter @p e supplied to this function must be NULL if 2540*971bb1a5SLionel Sambuc * xcb_selinux_get_selection_use_context_unchecked(). is used. 2541*971bb1a5SLionel Sambuc * Otherwise, it stores the error if any. 2542*971bb1a5SLionel Sambuc * 2543*971bb1a5SLionel Sambuc * The returned value must be freed by the caller using free(). 2544*971bb1a5SLionel Sambuc */ 2545*971bb1a5SLionel Sambuc 2546*971bb1a5SLionel Sambuc /***************************************************************************** 2547*971bb1a5SLionel Sambuc ** 2548*971bb1a5SLionel Sambuc ** xcb_selinux_get_selection_use_context_reply_t * xcb_selinux_get_selection_use_context_reply 2549*971bb1a5SLionel Sambuc ** 2550*971bb1a5SLionel Sambuc ** @param xcb_connection_t *c 2551*971bb1a5SLionel Sambuc ** @param xcb_selinux_get_selection_use_context_cookie_t cookie 2552*971bb1a5SLionel Sambuc ** @param xcb_generic_error_t **e 2553*971bb1a5SLionel Sambuc ** @returns xcb_selinux_get_selection_use_context_reply_t * 2554*971bb1a5SLionel Sambuc ** 2555*971bb1a5SLionel Sambuc *****************************************************************************/ 2556*971bb1a5SLionel Sambuc 2557*971bb1a5SLionel Sambuc xcb_selinux_get_selection_use_context_reply_t * 2558*971bb1a5SLionel Sambuc xcb_selinux_get_selection_use_context_reply (xcb_connection_t *c /**< */, 2559*971bb1a5SLionel Sambuc xcb_selinux_get_selection_use_context_cookie_t cookie /**< */, 2560*971bb1a5SLionel Sambuc xcb_generic_error_t **e /**< */); 2561*971bb1a5SLionel Sambuc 2562*971bb1a5SLionel Sambuc int 2563*971bb1a5SLionel Sambuc xcb_selinux_get_selection_context_sizeof (const void *_buffer /**< */); 2564*971bb1a5SLionel Sambuc 2565*971bb1a5SLionel Sambuc /** 2566*971bb1a5SLionel Sambuc * 2567*971bb1a5SLionel Sambuc * @param c The connection 2568*971bb1a5SLionel Sambuc * @return A cookie 2569*971bb1a5SLionel Sambuc * 2570*971bb1a5SLionel Sambuc * Delivers a request to the X server. 2571*971bb1a5SLionel Sambuc * 2572*971bb1a5SLionel Sambuc */ 2573*971bb1a5SLionel Sambuc 2574*971bb1a5SLionel Sambuc /***************************************************************************** 2575*971bb1a5SLionel Sambuc ** 2576*971bb1a5SLionel Sambuc ** xcb_selinux_get_selection_context_cookie_t xcb_selinux_get_selection_context 2577*971bb1a5SLionel Sambuc ** 2578*971bb1a5SLionel Sambuc ** @param xcb_connection_t *c 2579*971bb1a5SLionel Sambuc ** @param xcb_atom_t selection 2580*971bb1a5SLionel Sambuc ** @returns xcb_selinux_get_selection_context_cookie_t 2581*971bb1a5SLionel Sambuc ** 2582*971bb1a5SLionel Sambuc *****************************************************************************/ 2583*971bb1a5SLionel Sambuc 2584*971bb1a5SLionel Sambuc xcb_selinux_get_selection_context_cookie_t 2585*971bb1a5SLionel Sambuc xcb_selinux_get_selection_context (xcb_connection_t *c /**< */, 2586*971bb1a5SLionel Sambuc xcb_atom_t selection /**< */); 2587*971bb1a5SLionel Sambuc 2588*971bb1a5SLionel Sambuc /** 2589*971bb1a5SLionel Sambuc * 2590*971bb1a5SLionel Sambuc * @param c The connection 2591*971bb1a5SLionel Sambuc * @return A cookie 2592*971bb1a5SLionel Sambuc * 2593*971bb1a5SLionel Sambuc * Delivers a request to the X server. 2594*971bb1a5SLionel Sambuc * 2595*971bb1a5SLionel Sambuc * This form can be used only if the request will cause 2596*971bb1a5SLionel Sambuc * a reply to be generated. Any returned error will be 2597*971bb1a5SLionel Sambuc * placed in the event queue. 2598*971bb1a5SLionel Sambuc */ 2599*971bb1a5SLionel Sambuc 2600*971bb1a5SLionel Sambuc /***************************************************************************** 2601*971bb1a5SLionel Sambuc ** 2602*971bb1a5SLionel Sambuc ** xcb_selinux_get_selection_context_cookie_t xcb_selinux_get_selection_context_unchecked 2603*971bb1a5SLionel Sambuc ** 2604*971bb1a5SLionel Sambuc ** @param xcb_connection_t *c 2605*971bb1a5SLionel Sambuc ** @param xcb_atom_t selection 2606*971bb1a5SLionel Sambuc ** @returns xcb_selinux_get_selection_context_cookie_t 2607*971bb1a5SLionel Sambuc ** 2608*971bb1a5SLionel Sambuc *****************************************************************************/ 2609*971bb1a5SLionel Sambuc 2610*971bb1a5SLionel Sambuc xcb_selinux_get_selection_context_cookie_t 2611*971bb1a5SLionel Sambuc xcb_selinux_get_selection_context_unchecked (xcb_connection_t *c /**< */, 2612*971bb1a5SLionel Sambuc xcb_atom_t selection /**< */); 2613*971bb1a5SLionel Sambuc 2614*971bb1a5SLionel Sambuc 2615*971bb1a5SLionel Sambuc /***************************************************************************** 2616*971bb1a5SLionel Sambuc ** 2617*971bb1a5SLionel Sambuc ** char * xcb_selinux_get_selection_context_context 2618*971bb1a5SLionel Sambuc ** 2619*971bb1a5SLionel Sambuc ** @param const xcb_selinux_get_selection_context_reply_t *R 2620*971bb1a5SLionel Sambuc ** @returns char * 2621*971bb1a5SLionel Sambuc ** 2622*971bb1a5SLionel Sambuc *****************************************************************************/ 2623*971bb1a5SLionel Sambuc 2624*971bb1a5SLionel Sambuc char * 2625*971bb1a5SLionel Sambuc xcb_selinux_get_selection_context_context (const xcb_selinux_get_selection_context_reply_t *R /**< */); 2626*971bb1a5SLionel Sambuc 2627*971bb1a5SLionel Sambuc 2628*971bb1a5SLionel Sambuc /***************************************************************************** 2629*971bb1a5SLionel Sambuc ** 2630*971bb1a5SLionel Sambuc ** int xcb_selinux_get_selection_context_context_length 2631*971bb1a5SLionel Sambuc ** 2632*971bb1a5SLionel Sambuc ** @param const xcb_selinux_get_selection_context_reply_t *R 2633*971bb1a5SLionel Sambuc ** @returns int 2634*971bb1a5SLionel Sambuc ** 2635*971bb1a5SLionel Sambuc *****************************************************************************/ 2636*971bb1a5SLionel Sambuc 2637*971bb1a5SLionel Sambuc int 2638*971bb1a5SLionel Sambuc xcb_selinux_get_selection_context_context_length (const xcb_selinux_get_selection_context_reply_t *R /**< */); 2639*971bb1a5SLionel Sambuc 2640*971bb1a5SLionel Sambuc 2641*971bb1a5SLionel Sambuc /***************************************************************************** 2642*971bb1a5SLionel Sambuc ** 2643*971bb1a5SLionel Sambuc ** xcb_generic_iterator_t xcb_selinux_get_selection_context_context_end 2644*971bb1a5SLionel Sambuc ** 2645*971bb1a5SLionel Sambuc ** @param const xcb_selinux_get_selection_context_reply_t *R 2646*971bb1a5SLionel Sambuc ** @returns xcb_generic_iterator_t 2647*971bb1a5SLionel Sambuc ** 2648*971bb1a5SLionel Sambuc *****************************************************************************/ 2649*971bb1a5SLionel Sambuc 2650*971bb1a5SLionel Sambuc xcb_generic_iterator_t 2651*971bb1a5SLionel Sambuc xcb_selinux_get_selection_context_context_end (const xcb_selinux_get_selection_context_reply_t *R /**< */); 2652*971bb1a5SLionel Sambuc 2653*971bb1a5SLionel Sambuc /** 2654*971bb1a5SLionel Sambuc * Return the reply 2655*971bb1a5SLionel Sambuc * @param c The connection 2656*971bb1a5SLionel Sambuc * @param cookie The cookie 2657*971bb1a5SLionel Sambuc * @param e The xcb_generic_error_t supplied 2658*971bb1a5SLionel Sambuc * 2659*971bb1a5SLionel Sambuc * Returns the reply of the request asked by 2660*971bb1a5SLionel Sambuc * 2661*971bb1a5SLionel Sambuc * The parameter @p e supplied to this function must be NULL if 2662*971bb1a5SLionel Sambuc * xcb_selinux_get_selection_context_unchecked(). is used. 2663*971bb1a5SLionel Sambuc * Otherwise, it stores the error if any. 2664*971bb1a5SLionel Sambuc * 2665*971bb1a5SLionel Sambuc * The returned value must be freed by the caller using free(). 2666*971bb1a5SLionel Sambuc */ 2667*971bb1a5SLionel Sambuc 2668*971bb1a5SLionel Sambuc /***************************************************************************** 2669*971bb1a5SLionel Sambuc ** 2670*971bb1a5SLionel Sambuc ** xcb_selinux_get_selection_context_reply_t * xcb_selinux_get_selection_context_reply 2671*971bb1a5SLionel Sambuc ** 2672*971bb1a5SLionel Sambuc ** @param xcb_connection_t *c 2673*971bb1a5SLionel Sambuc ** @param xcb_selinux_get_selection_context_cookie_t cookie 2674*971bb1a5SLionel Sambuc ** @param xcb_generic_error_t **e 2675*971bb1a5SLionel Sambuc ** @returns xcb_selinux_get_selection_context_reply_t * 2676*971bb1a5SLionel Sambuc ** 2677*971bb1a5SLionel Sambuc *****************************************************************************/ 2678*971bb1a5SLionel Sambuc 2679*971bb1a5SLionel Sambuc xcb_selinux_get_selection_context_reply_t * 2680*971bb1a5SLionel Sambuc xcb_selinux_get_selection_context_reply (xcb_connection_t *c /**< */, 2681*971bb1a5SLionel Sambuc xcb_selinux_get_selection_context_cookie_t cookie /**< */, 2682*971bb1a5SLionel Sambuc xcb_generic_error_t **e /**< */); 2683*971bb1a5SLionel Sambuc 2684*971bb1a5SLionel Sambuc int 2685*971bb1a5SLionel Sambuc xcb_selinux_get_selection_data_context_sizeof (const void *_buffer /**< */); 2686*971bb1a5SLionel Sambuc 2687*971bb1a5SLionel Sambuc /** 2688*971bb1a5SLionel Sambuc * 2689*971bb1a5SLionel Sambuc * @param c The connection 2690*971bb1a5SLionel Sambuc * @return A cookie 2691*971bb1a5SLionel Sambuc * 2692*971bb1a5SLionel Sambuc * Delivers a request to the X server. 2693*971bb1a5SLionel Sambuc * 2694*971bb1a5SLionel Sambuc */ 2695*971bb1a5SLionel Sambuc 2696*971bb1a5SLionel Sambuc /***************************************************************************** 2697*971bb1a5SLionel Sambuc ** 2698*971bb1a5SLionel Sambuc ** xcb_selinux_get_selection_data_context_cookie_t xcb_selinux_get_selection_data_context 2699*971bb1a5SLionel Sambuc ** 2700*971bb1a5SLionel Sambuc ** @param xcb_connection_t *c 2701*971bb1a5SLionel Sambuc ** @param xcb_atom_t selection 2702*971bb1a5SLionel Sambuc ** @returns xcb_selinux_get_selection_data_context_cookie_t 2703*971bb1a5SLionel Sambuc ** 2704*971bb1a5SLionel Sambuc *****************************************************************************/ 2705*971bb1a5SLionel Sambuc 2706*971bb1a5SLionel Sambuc xcb_selinux_get_selection_data_context_cookie_t 2707*971bb1a5SLionel Sambuc xcb_selinux_get_selection_data_context (xcb_connection_t *c /**< */, 2708*971bb1a5SLionel Sambuc xcb_atom_t selection /**< */); 2709*971bb1a5SLionel Sambuc 2710*971bb1a5SLionel Sambuc /** 2711*971bb1a5SLionel Sambuc * 2712*971bb1a5SLionel Sambuc * @param c The connection 2713*971bb1a5SLionel Sambuc * @return A cookie 2714*971bb1a5SLionel Sambuc * 2715*971bb1a5SLionel Sambuc * Delivers a request to the X server. 2716*971bb1a5SLionel Sambuc * 2717*971bb1a5SLionel Sambuc * This form can be used only if the request will cause 2718*971bb1a5SLionel Sambuc * a reply to be generated. Any returned error will be 2719*971bb1a5SLionel Sambuc * placed in the event queue. 2720*971bb1a5SLionel Sambuc */ 2721*971bb1a5SLionel Sambuc 2722*971bb1a5SLionel Sambuc /***************************************************************************** 2723*971bb1a5SLionel Sambuc ** 2724*971bb1a5SLionel Sambuc ** xcb_selinux_get_selection_data_context_cookie_t xcb_selinux_get_selection_data_context_unchecked 2725*971bb1a5SLionel Sambuc ** 2726*971bb1a5SLionel Sambuc ** @param xcb_connection_t *c 2727*971bb1a5SLionel Sambuc ** @param xcb_atom_t selection 2728*971bb1a5SLionel Sambuc ** @returns xcb_selinux_get_selection_data_context_cookie_t 2729*971bb1a5SLionel Sambuc ** 2730*971bb1a5SLionel Sambuc *****************************************************************************/ 2731*971bb1a5SLionel Sambuc 2732*971bb1a5SLionel Sambuc xcb_selinux_get_selection_data_context_cookie_t 2733*971bb1a5SLionel Sambuc xcb_selinux_get_selection_data_context_unchecked (xcb_connection_t *c /**< */, 2734*971bb1a5SLionel Sambuc xcb_atom_t selection /**< */); 2735*971bb1a5SLionel Sambuc 2736*971bb1a5SLionel Sambuc 2737*971bb1a5SLionel Sambuc /***************************************************************************** 2738*971bb1a5SLionel Sambuc ** 2739*971bb1a5SLionel Sambuc ** char * xcb_selinux_get_selection_data_context_context 2740*971bb1a5SLionel Sambuc ** 2741*971bb1a5SLionel Sambuc ** @param const xcb_selinux_get_selection_data_context_reply_t *R 2742*971bb1a5SLionel Sambuc ** @returns char * 2743*971bb1a5SLionel Sambuc ** 2744*971bb1a5SLionel Sambuc *****************************************************************************/ 2745*971bb1a5SLionel Sambuc 2746*971bb1a5SLionel Sambuc char * 2747*971bb1a5SLionel Sambuc xcb_selinux_get_selection_data_context_context (const xcb_selinux_get_selection_data_context_reply_t *R /**< */); 2748*971bb1a5SLionel Sambuc 2749*971bb1a5SLionel Sambuc 2750*971bb1a5SLionel Sambuc /***************************************************************************** 2751*971bb1a5SLionel Sambuc ** 2752*971bb1a5SLionel Sambuc ** int xcb_selinux_get_selection_data_context_context_length 2753*971bb1a5SLionel Sambuc ** 2754*971bb1a5SLionel Sambuc ** @param const xcb_selinux_get_selection_data_context_reply_t *R 2755*971bb1a5SLionel Sambuc ** @returns int 2756*971bb1a5SLionel Sambuc ** 2757*971bb1a5SLionel Sambuc *****************************************************************************/ 2758*971bb1a5SLionel Sambuc 2759*971bb1a5SLionel Sambuc int 2760*971bb1a5SLionel Sambuc xcb_selinux_get_selection_data_context_context_length (const xcb_selinux_get_selection_data_context_reply_t *R /**< */); 2761*971bb1a5SLionel Sambuc 2762*971bb1a5SLionel Sambuc 2763*971bb1a5SLionel Sambuc /***************************************************************************** 2764*971bb1a5SLionel Sambuc ** 2765*971bb1a5SLionel Sambuc ** xcb_generic_iterator_t xcb_selinux_get_selection_data_context_context_end 2766*971bb1a5SLionel Sambuc ** 2767*971bb1a5SLionel Sambuc ** @param const xcb_selinux_get_selection_data_context_reply_t *R 2768*971bb1a5SLionel Sambuc ** @returns xcb_generic_iterator_t 2769*971bb1a5SLionel Sambuc ** 2770*971bb1a5SLionel Sambuc *****************************************************************************/ 2771*971bb1a5SLionel Sambuc 2772*971bb1a5SLionel Sambuc xcb_generic_iterator_t 2773*971bb1a5SLionel Sambuc xcb_selinux_get_selection_data_context_context_end (const xcb_selinux_get_selection_data_context_reply_t *R /**< */); 2774*971bb1a5SLionel Sambuc 2775*971bb1a5SLionel Sambuc /** 2776*971bb1a5SLionel Sambuc * Return the reply 2777*971bb1a5SLionel Sambuc * @param c The connection 2778*971bb1a5SLionel Sambuc * @param cookie The cookie 2779*971bb1a5SLionel Sambuc * @param e The xcb_generic_error_t supplied 2780*971bb1a5SLionel Sambuc * 2781*971bb1a5SLionel Sambuc * Returns the reply of the request asked by 2782*971bb1a5SLionel Sambuc * 2783*971bb1a5SLionel Sambuc * The parameter @p e supplied to this function must be NULL if 2784*971bb1a5SLionel Sambuc * xcb_selinux_get_selection_data_context_unchecked(). is used. 2785*971bb1a5SLionel Sambuc * Otherwise, it stores the error if any. 2786*971bb1a5SLionel Sambuc * 2787*971bb1a5SLionel Sambuc * The returned value must be freed by the caller using free(). 2788*971bb1a5SLionel Sambuc */ 2789*971bb1a5SLionel Sambuc 2790*971bb1a5SLionel Sambuc /***************************************************************************** 2791*971bb1a5SLionel Sambuc ** 2792*971bb1a5SLionel Sambuc ** xcb_selinux_get_selection_data_context_reply_t * xcb_selinux_get_selection_data_context_reply 2793*971bb1a5SLionel Sambuc ** 2794*971bb1a5SLionel Sambuc ** @param xcb_connection_t *c 2795*971bb1a5SLionel Sambuc ** @param xcb_selinux_get_selection_data_context_cookie_t cookie 2796*971bb1a5SLionel Sambuc ** @param xcb_generic_error_t **e 2797*971bb1a5SLionel Sambuc ** @returns xcb_selinux_get_selection_data_context_reply_t * 2798*971bb1a5SLionel Sambuc ** 2799*971bb1a5SLionel Sambuc *****************************************************************************/ 2800*971bb1a5SLionel Sambuc 2801*971bb1a5SLionel Sambuc xcb_selinux_get_selection_data_context_reply_t * 2802*971bb1a5SLionel Sambuc xcb_selinux_get_selection_data_context_reply (xcb_connection_t *c /**< */, 2803*971bb1a5SLionel Sambuc xcb_selinux_get_selection_data_context_cookie_t cookie /**< */, 2804*971bb1a5SLionel Sambuc xcb_generic_error_t **e /**< */); 2805*971bb1a5SLionel Sambuc 2806*971bb1a5SLionel Sambuc int 2807*971bb1a5SLionel Sambuc xcb_selinux_list_selections_sizeof (const void *_buffer /**< */); 2808*971bb1a5SLionel Sambuc 2809*971bb1a5SLionel Sambuc /** 2810*971bb1a5SLionel Sambuc * 2811*971bb1a5SLionel Sambuc * @param c The connection 2812*971bb1a5SLionel Sambuc * @return A cookie 2813*971bb1a5SLionel Sambuc * 2814*971bb1a5SLionel Sambuc * Delivers a request to the X server. 2815*971bb1a5SLionel Sambuc * 2816*971bb1a5SLionel Sambuc */ 2817*971bb1a5SLionel Sambuc 2818*971bb1a5SLionel Sambuc /***************************************************************************** 2819*971bb1a5SLionel Sambuc ** 2820*971bb1a5SLionel Sambuc ** xcb_selinux_list_selections_cookie_t xcb_selinux_list_selections 2821*971bb1a5SLionel Sambuc ** 2822*971bb1a5SLionel Sambuc ** @param xcb_connection_t *c 2823*971bb1a5SLionel Sambuc ** @returns xcb_selinux_list_selections_cookie_t 2824*971bb1a5SLionel Sambuc ** 2825*971bb1a5SLionel Sambuc *****************************************************************************/ 2826*971bb1a5SLionel Sambuc 2827*971bb1a5SLionel Sambuc xcb_selinux_list_selections_cookie_t 2828*971bb1a5SLionel Sambuc xcb_selinux_list_selections (xcb_connection_t *c /**< */); 2829*971bb1a5SLionel Sambuc 2830*971bb1a5SLionel Sambuc /** 2831*971bb1a5SLionel Sambuc * 2832*971bb1a5SLionel Sambuc * @param c The connection 2833*971bb1a5SLionel Sambuc * @return A cookie 2834*971bb1a5SLionel Sambuc * 2835*971bb1a5SLionel Sambuc * Delivers a request to the X server. 2836*971bb1a5SLionel Sambuc * 2837*971bb1a5SLionel Sambuc * This form can be used only if the request will cause 2838*971bb1a5SLionel Sambuc * a reply to be generated. Any returned error will be 2839*971bb1a5SLionel Sambuc * placed in the event queue. 2840*971bb1a5SLionel Sambuc */ 2841*971bb1a5SLionel Sambuc 2842*971bb1a5SLionel Sambuc /***************************************************************************** 2843*971bb1a5SLionel Sambuc ** 2844*971bb1a5SLionel Sambuc ** xcb_selinux_list_selections_cookie_t xcb_selinux_list_selections_unchecked 2845*971bb1a5SLionel Sambuc ** 2846*971bb1a5SLionel Sambuc ** @param xcb_connection_t *c 2847*971bb1a5SLionel Sambuc ** @returns xcb_selinux_list_selections_cookie_t 2848*971bb1a5SLionel Sambuc ** 2849*971bb1a5SLionel Sambuc *****************************************************************************/ 2850*971bb1a5SLionel Sambuc 2851*971bb1a5SLionel Sambuc xcb_selinux_list_selections_cookie_t 2852*971bb1a5SLionel Sambuc xcb_selinux_list_selections_unchecked (xcb_connection_t *c /**< */); 2853*971bb1a5SLionel Sambuc 2854*971bb1a5SLionel Sambuc 2855*971bb1a5SLionel Sambuc /***************************************************************************** 2856*971bb1a5SLionel Sambuc ** 2857*971bb1a5SLionel Sambuc ** int xcb_selinux_list_selections_selections_length 2858*971bb1a5SLionel Sambuc ** 2859*971bb1a5SLionel Sambuc ** @param const xcb_selinux_list_selections_reply_t *R 2860*971bb1a5SLionel Sambuc ** @returns int 2861*971bb1a5SLionel Sambuc ** 2862*971bb1a5SLionel Sambuc *****************************************************************************/ 2863*971bb1a5SLionel Sambuc 2864*971bb1a5SLionel Sambuc int 2865*971bb1a5SLionel Sambuc xcb_selinux_list_selections_selections_length (const xcb_selinux_list_selections_reply_t *R /**< */); 2866*971bb1a5SLionel Sambuc 2867*971bb1a5SLionel Sambuc 2868*971bb1a5SLionel Sambuc /***************************************************************************** 2869*971bb1a5SLionel Sambuc ** 2870*971bb1a5SLionel Sambuc ** xcb_selinux_list_item_iterator_t xcb_selinux_list_selections_selections_iterator 2871*971bb1a5SLionel Sambuc ** 2872*971bb1a5SLionel Sambuc ** @param const xcb_selinux_list_selections_reply_t *R 2873*971bb1a5SLionel Sambuc ** @returns xcb_selinux_list_item_iterator_t 2874*971bb1a5SLionel Sambuc ** 2875*971bb1a5SLionel Sambuc *****************************************************************************/ 2876*971bb1a5SLionel Sambuc 2877*971bb1a5SLionel Sambuc xcb_selinux_list_item_iterator_t 2878*971bb1a5SLionel Sambuc xcb_selinux_list_selections_selections_iterator (const xcb_selinux_list_selections_reply_t *R /**< */); 2879*971bb1a5SLionel Sambuc 2880*971bb1a5SLionel Sambuc /** 2881*971bb1a5SLionel Sambuc * Return the reply 2882*971bb1a5SLionel Sambuc * @param c The connection 2883*971bb1a5SLionel Sambuc * @param cookie The cookie 2884*971bb1a5SLionel Sambuc * @param e The xcb_generic_error_t supplied 2885*971bb1a5SLionel Sambuc * 2886*971bb1a5SLionel Sambuc * Returns the reply of the request asked by 2887*971bb1a5SLionel Sambuc * 2888*971bb1a5SLionel Sambuc * The parameter @p e supplied to this function must be NULL if 2889*971bb1a5SLionel Sambuc * xcb_selinux_list_selections_unchecked(). is used. 2890*971bb1a5SLionel Sambuc * Otherwise, it stores the error if any. 2891*971bb1a5SLionel Sambuc * 2892*971bb1a5SLionel Sambuc * The returned value must be freed by the caller using free(). 2893*971bb1a5SLionel Sambuc */ 2894*971bb1a5SLionel Sambuc 2895*971bb1a5SLionel Sambuc /***************************************************************************** 2896*971bb1a5SLionel Sambuc ** 2897*971bb1a5SLionel Sambuc ** xcb_selinux_list_selections_reply_t * xcb_selinux_list_selections_reply 2898*971bb1a5SLionel Sambuc ** 2899*971bb1a5SLionel Sambuc ** @param xcb_connection_t *c 2900*971bb1a5SLionel Sambuc ** @param xcb_selinux_list_selections_cookie_t cookie 2901*971bb1a5SLionel Sambuc ** @param xcb_generic_error_t **e 2902*971bb1a5SLionel Sambuc ** @returns xcb_selinux_list_selections_reply_t * 2903*971bb1a5SLionel Sambuc ** 2904*971bb1a5SLionel Sambuc *****************************************************************************/ 2905*971bb1a5SLionel Sambuc 2906*971bb1a5SLionel Sambuc xcb_selinux_list_selections_reply_t * 2907*971bb1a5SLionel Sambuc xcb_selinux_list_selections_reply (xcb_connection_t *c /**< */, 2908*971bb1a5SLionel Sambuc xcb_selinux_list_selections_cookie_t cookie /**< */, 2909*971bb1a5SLionel Sambuc xcb_generic_error_t **e /**< */); 2910*971bb1a5SLionel Sambuc 2911*971bb1a5SLionel Sambuc int 2912*971bb1a5SLionel Sambuc xcb_selinux_get_client_context_sizeof (const void *_buffer /**< */); 2913*971bb1a5SLionel Sambuc 2914*971bb1a5SLionel Sambuc /** 2915*971bb1a5SLionel Sambuc * 2916*971bb1a5SLionel Sambuc * @param c The connection 2917*971bb1a5SLionel Sambuc * @return A cookie 2918*971bb1a5SLionel Sambuc * 2919*971bb1a5SLionel Sambuc * Delivers a request to the X server. 2920*971bb1a5SLionel Sambuc * 2921*971bb1a5SLionel Sambuc */ 2922*971bb1a5SLionel Sambuc 2923*971bb1a5SLionel Sambuc /***************************************************************************** 2924*971bb1a5SLionel Sambuc ** 2925*971bb1a5SLionel Sambuc ** xcb_selinux_get_client_context_cookie_t xcb_selinux_get_client_context 2926*971bb1a5SLionel Sambuc ** 2927*971bb1a5SLionel Sambuc ** @param xcb_connection_t *c 2928*971bb1a5SLionel Sambuc ** @param uint32_t resource 2929*971bb1a5SLionel Sambuc ** @returns xcb_selinux_get_client_context_cookie_t 2930*971bb1a5SLionel Sambuc ** 2931*971bb1a5SLionel Sambuc *****************************************************************************/ 2932*971bb1a5SLionel Sambuc 2933*971bb1a5SLionel Sambuc xcb_selinux_get_client_context_cookie_t 2934*971bb1a5SLionel Sambuc xcb_selinux_get_client_context (xcb_connection_t *c /**< */, 2935*971bb1a5SLionel Sambuc uint32_t resource /**< */); 2936*971bb1a5SLionel Sambuc 2937*971bb1a5SLionel Sambuc /** 2938*971bb1a5SLionel Sambuc * 2939*971bb1a5SLionel Sambuc * @param c The connection 2940*971bb1a5SLionel Sambuc * @return A cookie 2941*971bb1a5SLionel Sambuc * 2942*971bb1a5SLionel Sambuc * Delivers a request to the X server. 2943*971bb1a5SLionel Sambuc * 2944*971bb1a5SLionel Sambuc * This form can be used only if the request will cause 2945*971bb1a5SLionel Sambuc * a reply to be generated. Any returned error will be 2946*971bb1a5SLionel Sambuc * placed in the event queue. 2947*971bb1a5SLionel Sambuc */ 2948*971bb1a5SLionel Sambuc 2949*971bb1a5SLionel Sambuc /***************************************************************************** 2950*971bb1a5SLionel Sambuc ** 2951*971bb1a5SLionel Sambuc ** xcb_selinux_get_client_context_cookie_t xcb_selinux_get_client_context_unchecked 2952*971bb1a5SLionel Sambuc ** 2953*971bb1a5SLionel Sambuc ** @param xcb_connection_t *c 2954*971bb1a5SLionel Sambuc ** @param uint32_t resource 2955*971bb1a5SLionel Sambuc ** @returns xcb_selinux_get_client_context_cookie_t 2956*971bb1a5SLionel Sambuc ** 2957*971bb1a5SLionel Sambuc *****************************************************************************/ 2958*971bb1a5SLionel Sambuc 2959*971bb1a5SLionel Sambuc xcb_selinux_get_client_context_cookie_t 2960*971bb1a5SLionel Sambuc xcb_selinux_get_client_context_unchecked (xcb_connection_t *c /**< */, 2961*971bb1a5SLionel Sambuc uint32_t resource /**< */); 2962*971bb1a5SLionel Sambuc 2963*971bb1a5SLionel Sambuc 2964*971bb1a5SLionel Sambuc /***************************************************************************** 2965*971bb1a5SLionel Sambuc ** 2966*971bb1a5SLionel Sambuc ** char * xcb_selinux_get_client_context_context 2967*971bb1a5SLionel Sambuc ** 2968*971bb1a5SLionel Sambuc ** @param const xcb_selinux_get_client_context_reply_t *R 2969*971bb1a5SLionel Sambuc ** @returns char * 2970*971bb1a5SLionel Sambuc ** 2971*971bb1a5SLionel Sambuc *****************************************************************************/ 2972*971bb1a5SLionel Sambuc 2973*971bb1a5SLionel Sambuc char * 2974*971bb1a5SLionel Sambuc xcb_selinux_get_client_context_context (const xcb_selinux_get_client_context_reply_t *R /**< */); 2975*971bb1a5SLionel Sambuc 2976*971bb1a5SLionel Sambuc 2977*971bb1a5SLionel Sambuc /***************************************************************************** 2978*971bb1a5SLionel Sambuc ** 2979*971bb1a5SLionel Sambuc ** int xcb_selinux_get_client_context_context_length 2980*971bb1a5SLionel Sambuc ** 2981*971bb1a5SLionel Sambuc ** @param const xcb_selinux_get_client_context_reply_t *R 2982*971bb1a5SLionel Sambuc ** @returns int 2983*971bb1a5SLionel Sambuc ** 2984*971bb1a5SLionel Sambuc *****************************************************************************/ 2985*971bb1a5SLionel Sambuc 2986*971bb1a5SLionel Sambuc int 2987*971bb1a5SLionel Sambuc xcb_selinux_get_client_context_context_length (const xcb_selinux_get_client_context_reply_t *R /**< */); 2988*971bb1a5SLionel Sambuc 2989*971bb1a5SLionel Sambuc 2990*971bb1a5SLionel Sambuc /***************************************************************************** 2991*971bb1a5SLionel Sambuc ** 2992*971bb1a5SLionel Sambuc ** xcb_generic_iterator_t xcb_selinux_get_client_context_context_end 2993*971bb1a5SLionel Sambuc ** 2994*971bb1a5SLionel Sambuc ** @param const xcb_selinux_get_client_context_reply_t *R 2995*971bb1a5SLionel Sambuc ** @returns xcb_generic_iterator_t 2996*971bb1a5SLionel Sambuc ** 2997*971bb1a5SLionel Sambuc *****************************************************************************/ 2998*971bb1a5SLionel Sambuc 2999*971bb1a5SLionel Sambuc xcb_generic_iterator_t 3000*971bb1a5SLionel Sambuc xcb_selinux_get_client_context_context_end (const xcb_selinux_get_client_context_reply_t *R /**< */); 3001*971bb1a5SLionel Sambuc 3002*971bb1a5SLionel Sambuc /** 3003*971bb1a5SLionel Sambuc * Return the reply 3004*971bb1a5SLionel Sambuc * @param c The connection 3005*971bb1a5SLionel Sambuc * @param cookie The cookie 3006*971bb1a5SLionel Sambuc * @param e The xcb_generic_error_t supplied 3007*971bb1a5SLionel Sambuc * 3008*971bb1a5SLionel Sambuc * Returns the reply of the request asked by 3009*971bb1a5SLionel Sambuc * 3010*971bb1a5SLionel Sambuc * The parameter @p e supplied to this function must be NULL if 3011*971bb1a5SLionel Sambuc * xcb_selinux_get_client_context_unchecked(). is used. 3012*971bb1a5SLionel Sambuc * Otherwise, it stores the error if any. 3013*971bb1a5SLionel Sambuc * 3014*971bb1a5SLionel Sambuc * The returned value must be freed by the caller using free(). 3015*971bb1a5SLionel Sambuc */ 3016*971bb1a5SLionel Sambuc 3017*971bb1a5SLionel Sambuc /***************************************************************************** 3018*971bb1a5SLionel Sambuc ** 3019*971bb1a5SLionel Sambuc ** xcb_selinux_get_client_context_reply_t * xcb_selinux_get_client_context_reply 3020*971bb1a5SLionel Sambuc ** 3021*971bb1a5SLionel Sambuc ** @param xcb_connection_t *c 3022*971bb1a5SLionel Sambuc ** @param xcb_selinux_get_client_context_cookie_t cookie 3023*971bb1a5SLionel Sambuc ** @param xcb_generic_error_t **e 3024*971bb1a5SLionel Sambuc ** @returns xcb_selinux_get_client_context_reply_t * 3025*971bb1a5SLionel Sambuc ** 3026*971bb1a5SLionel Sambuc *****************************************************************************/ 3027*971bb1a5SLionel Sambuc 3028*971bb1a5SLionel Sambuc xcb_selinux_get_client_context_reply_t * 3029*971bb1a5SLionel Sambuc xcb_selinux_get_client_context_reply (xcb_connection_t *c /**< */, 3030*971bb1a5SLionel Sambuc xcb_selinux_get_client_context_cookie_t cookie /**< */, 3031*971bb1a5SLionel Sambuc xcb_generic_error_t **e /**< */); 3032*971bb1a5SLionel Sambuc 3033*971bb1a5SLionel Sambuc 3034*971bb1a5SLionel Sambuc #ifdef __cplusplus 3035*971bb1a5SLionel Sambuc } 3036*971bb1a5SLionel Sambuc #endif 3037*971bb1a5SLionel Sambuc 3038*971bb1a5SLionel Sambuc #endif 3039*971bb1a5SLionel Sambuc 3040*971bb1a5SLionel Sambuc /** 3041*971bb1a5SLionel Sambuc * @} 3042*971bb1a5SLionel Sambuc */ 3043