1/* 2 * This file generated automatically from xselinux.xml by c_client.py. 3 * Edit at your peril. 4 */ 5 6/** 7 * @defgroup XCB_SELinux_API XCB SELinux API 8 * @brief SELinux XCB Protocol Implementation. 9 * @{ 10 **/ 11 12#ifndef __XSELINUX_H 13#define __XSELINUX_H 14 15#include "xcb.h" 16#include "xproto.h" 17 18#ifdef __cplusplus 19extern "C" { 20#endif 21 22#define XCB_SELINUX_MAJOR_VERSION 1 23#define XCB_SELINUX_MINOR_VERSION 0 24 25extern xcb_extension_t xcb_selinux_id; 26 27/** 28 * @brief xcb_selinux_query_version_cookie_t 29 **/ 30typedef struct xcb_selinux_query_version_cookie_t { 31 unsigned int sequence; /**< */ 32} xcb_selinux_query_version_cookie_t; 33 34/** Opcode for xcb_selinux_query_version. */ 35#define XCB_SELINUX_QUERY_VERSION 0 36 37/** 38 * @brief xcb_selinux_query_version_request_t 39 **/ 40typedef struct xcb_selinux_query_version_request_t { 41 uint8_t major_opcode; /**< */ 42 uint8_t minor_opcode; /**< */ 43 uint16_t length; /**< */ 44 uint8_t client_major; /**< */ 45 uint8_t client_minor; /**< */ 46} xcb_selinux_query_version_request_t; 47 48/** 49 * @brief xcb_selinux_query_version_reply_t 50 **/ 51typedef struct xcb_selinux_query_version_reply_t { 52 uint8_t response_type; /**< */ 53 uint8_t pad0; /**< */ 54 uint16_t sequence; /**< */ 55 uint32_t length; /**< */ 56 uint16_t server_major; /**< */ 57 uint16_t server_minor; /**< */ 58} xcb_selinux_query_version_reply_t; 59 60/** Opcode for xcb_selinux_set_device_create_context. */ 61#define XCB_SELINUX_SET_DEVICE_CREATE_CONTEXT 1 62 63/** 64 * @brief xcb_selinux_set_device_create_context_request_t 65 **/ 66typedef struct xcb_selinux_set_device_create_context_request_t { 67 uint8_t major_opcode; /**< */ 68 uint8_t minor_opcode; /**< */ 69 uint16_t length; /**< */ 70 uint32_t context_len; /**< */ 71} xcb_selinux_set_device_create_context_request_t; 72 73/** 74 * @brief xcb_selinux_get_device_create_context_cookie_t 75 **/ 76typedef struct xcb_selinux_get_device_create_context_cookie_t { 77 unsigned int sequence; /**< */ 78} xcb_selinux_get_device_create_context_cookie_t; 79 80/** Opcode for xcb_selinux_get_device_create_context. */ 81#define XCB_SELINUX_GET_DEVICE_CREATE_CONTEXT 2 82 83/** 84 * @brief xcb_selinux_get_device_create_context_request_t 85 **/ 86typedef struct xcb_selinux_get_device_create_context_request_t { 87 uint8_t major_opcode; /**< */ 88 uint8_t minor_opcode; /**< */ 89 uint16_t length; /**< */ 90} xcb_selinux_get_device_create_context_request_t; 91 92/** 93 * @brief xcb_selinux_get_device_create_context_reply_t 94 **/ 95typedef struct xcb_selinux_get_device_create_context_reply_t { 96 uint8_t response_type; /**< */ 97 uint8_t pad0; /**< */ 98 uint16_t sequence; /**< */ 99 uint32_t length; /**< */ 100 uint32_t context_len; /**< */ 101 uint8_t pad1[20]; /**< */ 102} xcb_selinux_get_device_create_context_reply_t; 103 104/** Opcode for xcb_selinux_set_device_context. */ 105#define XCB_SELINUX_SET_DEVICE_CONTEXT 3 106 107/** 108 * @brief xcb_selinux_set_device_context_request_t 109 **/ 110typedef struct xcb_selinux_set_device_context_request_t { 111 uint8_t major_opcode; /**< */ 112 uint8_t minor_opcode; /**< */ 113 uint16_t length; /**< */ 114 uint32_t device; /**< */ 115 uint32_t context_len; /**< */ 116} xcb_selinux_set_device_context_request_t; 117 118/** 119 * @brief xcb_selinux_get_device_context_cookie_t 120 **/ 121typedef struct xcb_selinux_get_device_context_cookie_t { 122 unsigned int sequence; /**< */ 123} xcb_selinux_get_device_context_cookie_t; 124 125/** Opcode for xcb_selinux_get_device_context. */ 126#define XCB_SELINUX_GET_DEVICE_CONTEXT 4 127 128/** 129 * @brief xcb_selinux_get_device_context_request_t 130 **/ 131typedef struct xcb_selinux_get_device_context_request_t { 132 uint8_t major_opcode; /**< */ 133 uint8_t minor_opcode; /**< */ 134 uint16_t length; /**< */ 135 uint32_t device; /**< */ 136} xcb_selinux_get_device_context_request_t; 137 138/** 139 * @brief xcb_selinux_get_device_context_reply_t 140 **/ 141typedef struct xcb_selinux_get_device_context_reply_t { 142 uint8_t response_type; /**< */ 143 uint8_t pad0; /**< */ 144 uint16_t sequence; /**< */ 145 uint32_t length; /**< */ 146 uint32_t context_len; /**< */ 147 uint8_t pad1[20]; /**< */ 148} xcb_selinux_get_device_context_reply_t; 149 150/** Opcode for xcb_selinux_set_window_create_context. */ 151#define XCB_SELINUX_SET_WINDOW_CREATE_CONTEXT 5 152 153/** 154 * @brief xcb_selinux_set_window_create_context_request_t 155 **/ 156typedef struct xcb_selinux_set_window_create_context_request_t { 157 uint8_t major_opcode; /**< */ 158 uint8_t minor_opcode; /**< */ 159 uint16_t length; /**< */ 160 uint32_t context_len; /**< */ 161} xcb_selinux_set_window_create_context_request_t; 162 163/** 164 * @brief xcb_selinux_get_window_create_context_cookie_t 165 **/ 166typedef struct xcb_selinux_get_window_create_context_cookie_t { 167 unsigned int sequence; /**< */ 168} xcb_selinux_get_window_create_context_cookie_t; 169 170/** Opcode for xcb_selinux_get_window_create_context. */ 171#define XCB_SELINUX_GET_WINDOW_CREATE_CONTEXT 6 172 173/** 174 * @brief xcb_selinux_get_window_create_context_request_t 175 **/ 176typedef struct xcb_selinux_get_window_create_context_request_t { 177 uint8_t major_opcode; /**< */ 178 uint8_t minor_opcode; /**< */ 179 uint16_t length; /**< */ 180} xcb_selinux_get_window_create_context_request_t; 181 182/** 183 * @brief xcb_selinux_get_window_create_context_reply_t 184 **/ 185typedef struct xcb_selinux_get_window_create_context_reply_t { 186 uint8_t response_type; /**< */ 187 uint8_t pad0; /**< */ 188 uint16_t sequence; /**< */ 189 uint32_t length; /**< */ 190 uint32_t context_len; /**< */ 191 uint8_t pad1[20]; /**< */ 192} xcb_selinux_get_window_create_context_reply_t; 193 194/** 195 * @brief xcb_selinux_get_window_context_cookie_t 196 **/ 197typedef struct xcb_selinux_get_window_context_cookie_t { 198 unsigned int sequence; /**< */ 199} xcb_selinux_get_window_context_cookie_t; 200 201/** Opcode for xcb_selinux_get_window_context. */ 202#define XCB_SELINUX_GET_WINDOW_CONTEXT 7 203 204/** 205 * @brief xcb_selinux_get_window_context_request_t 206 **/ 207typedef struct xcb_selinux_get_window_context_request_t { 208 uint8_t major_opcode; /**< */ 209 uint8_t minor_opcode; /**< */ 210 uint16_t length; /**< */ 211 xcb_window_t window; /**< */ 212} xcb_selinux_get_window_context_request_t; 213 214/** 215 * @brief xcb_selinux_get_window_context_reply_t 216 **/ 217typedef struct xcb_selinux_get_window_context_reply_t { 218 uint8_t response_type; /**< */ 219 uint8_t pad0; /**< */ 220 uint16_t sequence; /**< */ 221 uint32_t length; /**< */ 222 uint32_t context_len; /**< */ 223 uint8_t pad1[20]; /**< */ 224} xcb_selinux_get_window_context_reply_t; 225 226/** 227 * @brief xcb_selinux_list_item_t 228 **/ 229typedef struct xcb_selinux_list_item_t { 230 xcb_atom_t name; /**< */ 231 uint32_t object_context_len; /**< */ 232 uint32_t data_context_len; /**< */ 233} xcb_selinux_list_item_t; 234 235/** 236 * @brief xcb_selinux_list_item_iterator_t 237 **/ 238typedef struct xcb_selinux_list_item_iterator_t { 239 xcb_selinux_list_item_t *data; /**< */ 240 int rem; /**< */ 241 int index; /**< */ 242} xcb_selinux_list_item_iterator_t; 243 244/** Opcode for xcb_selinux_set_property_create_context. */ 245#define XCB_SELINUX_SET_PROPERTY_CREATE_CONTEXT 8 246 247/** 248 * @brief xcb_selinux_set_property_create_context_request_t 249 **/ 250typedef struct xcb_selinux_set_property_create_context_request_t { 251 uint8_t major_opcode; /**< */ 252 uint8_t minor_opcode; /**< */ 253 uint16_t length; /**< */ 254 uint32_t context_len; /**< */ 255} xcb_selinux_set_property_create_context_request_t; 256 257/** 258 * @brief xcb_selinux_get_property_create_context_cookie_t 259 **/ 260typedef struct xcb_selinux_get_property_create_context_cookie_t { 261 unsigned int sequence; /**< */ 262} xcb_selinux_get_property_create_context_cookie_t; 263 264/** Opcode for xcb_selinux_get_property_create_context. */ 265#define XCB_SELINUX_GET_PROPERTY_CREATE_CONTEXT 9 266 267/** 268 * @brief xcb_selinux_get_property_create_context_request_t 269 **/ 270typedef struct xcb_selinux_get_property_create_context_request_t { 271 uint8_t major_opcode; /**< */ 272 uint8_t minor_opcode; /**< */ 273 uint16_t length; /**< */ 274} xcb_selinux_get_property_create_context_request_t; 275 276/** 277 * @brief xcb_selinux_get_property_create_context_reply_t 278 **/ 279typedef struct xcb_selinux_get_property_create_context_reply_t { 280 uint8_t response_type; /**< */ 281 uint8_t pad0; /**< */ 282 uint16_t sequence; /**< */ 283 uint32_t length; /**< */ 284 uint32_t context_len; /**< */ 285 uint8_t pad1[20]; /**< */ 286} xcb_selinux_get_property_create_context_reply_t; 287 288/** Opcode for xcb_selinux_set_property_use_context. */ 289#define XCB_SELINUX_SET_PROPERTY_USE_CONTEXT 10 290 291/** 292 * @brief xcb_selinux_set_property_use_context_request_t 293 **/ 294typedef struct xcb_selinux_set_property_use_context_request_t { 295 uint8_t major_opcode; /**< */ 296 uint8_t minor_opcode; /**< */ 297 uint16_t length; /**< */ 298 uint32_t context_len; /**< */ 299} xcb_selinux_set_property_use_context_request_t; 300 301/** 302 * @brief xcb_selinux_get_property_use_context_cookie_t 303 **/ 304typedef struct xcb_selinux_get_property_use_context_cookie_t { 305 unsigned int sequence; /**< */ 306} xcb_selinux_get_property_use_context_cookie_t; 307 308/** Opcode for xcb_selinux_get_property_use_context. */ 309#define XCB_SELINUX_GET_PROPERTY_USE_CONTEXT 11 310 311/** 312 * @brief xcb_selinux_get_property_use_context_request_t 313 **/ 314typedef struct xcb_selinux_get_property_use_context_request_t { 315 uint8_t major_opcode; /**< */ 316 uint8_t minor_opcode; /**< */ 317 uint16_t length; /**< */ 318} xcb_selinux_get_property_use_context_request_t; 319 320/** 321 * @brief xcb_selinux_get_property_use_context_reply_t 322 **/ 323typedef struct xcb_selinux_get_property_use_context_reply_t { 324 uint8_t response_type; /**< */ 325 uint8_t pad0; /**< */ 326 uint16_t sequence; /**< */ 327 uint32_t length; /**< */ 328 uint32_t context_len; /**< */ 329 uint8_t pad1[20]; /**< */ 330} xcb_selinux_get_property_use_context_reply_t; 331 332/** 333 * @brief xcb_selinux_get_property_context_cookie_t 334 **/ 335typedef struct xcb_selinux_get_property_context_cookie_t { 336 unsigned int sequence; /**< */ 337} xcb_selinux_get_property_context_cookie_t; 338 339/** Opcode for xcb_selinux_get_property_context. */ 340#define XCB_SELINUX_GET_PROPERTY_CONTEXT 12 341 342/** 343 * @brief xcb_selinux_get_property_context_request_t 344 **/ 345typedef struct xcb_selinux_get_property_context_request_t { 346 uint8_t major_opcode; /**< */ 347 uint8_t minor_opcode; /**< */ 348 uint16_t length; /**< */ 349 xcb_window_t window; /**< */ 350 xcb_atom_t property; /**< */ 351} xcb_selinux_get_property_context_request_t; 352 353/** 354 * @brief xcb_selinux_get_property_context_reply_t 355 **/ 356typedef struct xcb_selinux_get_property_context_reply_t { 357 uint8_t response_type; /**< */ 358 uint8_t pad0; /**< */ 359 uint16_t sequence; /**< */ 360 uint32_t length; /**< */ 361 uint32_t context_len; /**< */ 362 uint8_t pad1[20]; /**< */ 363} xcb_selinux_get_property_context_reply_t; 364 365/** 366 * @brief xcb_selinux_get_property_data_context_cookie_t 367 **/ 368typedef struct xcb_selinux_get_property_data_context_cookie_t { 369 unsigned int sequence; /**< */ 370} xcb_selinux_get_property_data_context_cookie_t; 371 372/** Opcode for xcb_selinux_get_property_data_context. */ 373#define XCB_SELINUX_GET_PROPERTY_DATA_CONTEXT 13 374 375/** 376 * @brief xcb_selinux_get_property_data_context_request_t 377 **/ 378typedef struct xcb_selinux_get_property_data_context_request_t { 379 uint8_t major_opcode; /**< */ 380 uint8_t minor_opcode; /**< */ 381 uint16_t length; /**< */ 382 xcb_window_t window; /**< */ 383 xcb_atom_t property; /**< */ 384} xcb_selinux_get_property_data_context_request_t; 385 386/** 387 * @brief xcb_selinux_get_property_data_context_reply_t 388 **/ 389typedef struct xcb_selinux_get_property_data_context_reply_t { 390 uint8_t response_type; /**< */ 391 uint8_t pad0; /**< */ 392 uint16_t sequence; /**< */ 393 uint32_t length; /**< */ 394 uint32_t context_len; /**< */ 395 uint8_t pad1[20]; /**< */ 396} xcb_selinux_get_property_data_context_reply_t; 397 398/** 399 * @brief xcb_selinux_list_properties_cookie_t 400 **/ 401typedef struct xcb_selinux_list_properties_cookie_t { 402 unsigned int sequence; /**< */ 403} xcb_selinux_list_properties_cookie_t; 404 405/** Opcode for xcb_selinux_list_properties. */ 406#define XCB_SELINUX_LIST_PROPERTIES 14 407 408/** 409 * @brief xcb_selinux_list_properties_request_t 410 **/ 411typedef struct xcb_selinux_list_properties_request_t { 412 uint8_t major_opcode; /**< */ 413 uint8_t minor_opcode; /**< */ 414 uint16_t length; /**< */ 415 xcb_window_t window; /**< */ 416} xcb_selinux_list_properties_request_t; 417 418/** 419 * @brief xcb_selinux_list_properties_reply_t 420 **/ 421typedef struct xcb_selinux_list_properties_reply_t { 422 uint8_t response_type; /**< */ 423 uint8_t pad0; /**< */ 424 uint16_t sequence; /**< */ 425 uint32_t length; /**< */ 426 uint32_t properties_len; /**< */ 427 uint8_t pad1[20]; /**< */ 428} xcb_selinux_list_properties_reply_t; 429 430/** Opcode for xcb_selinux_set_selection_create_context. */ 431#define XCB_SELINUX_SET_SELECTION_CREATE_CONTEXT 15 432 433/** 434 * @brief xcb_selinux_set_selection_create_context_request_t 435 **/ 436typedef struct xcb_selinux_set_selection_create_context_request_t { 437 uint8_t major_opcode; /**< */ 438 uint8_t minor_opcode; /**< */ 439 uint16_t length; /**< */ 440 uint32_t context_len; /**< */ 441} xcb_selinux_set_selection_create_context_request_t; 442 443/** 444 * @brief xcb_selinux_get_selection_create_context_cookie_t 445 **/ 446typedef struct xcb_selinux_get_selection_create_context_cookie_t { 447 unsigned int sequence; /**< */ 448} xcb_selinux_get_selection_create_context_cookie_t; 449 450/** Opcode for xcb_selinux_get_selection_create_context. */ 451#define XCB_SELINUX_GET_SELECTION_CREATE_CONTEXT 16 452 453/** 454 * @brief xcb_selinux_get_selection_create_context_request_t 455 **/ 456typedef struct xcb_selinux_get_selection_create_context_request_t { 457 uint8_t major_opcode; /**< */ 458 uint8_t minor_opcode; /**< */ 459 uint16_t length; /**< */ 460} xcb_selinux_get_selection_create_context_request_t; 461 462/** 463 * @brief xcb_selinux_get_selection_create_context_reply_t 464 **/ 465typedef struct xcb_selinux_get_selection_create_context_reply_t { 466 uint8_t response_type; /**< */ 467 uint8_t pad0; /**< */ 468 uint16_t sequence; /**< */ 469 uint32_t length; /**< */ 470 uint32_t context_len; /**< */ 471 uint8_t pad1[20]; /**< */ 472} xcb_selinux_get_selection_create_context_reply_t; 473 474/** Opcode for xcb_selinux_set_selection_use_context. */ 475#define XCB_SELINUX_SET_SELECTION_USE_CONTEXT 17 476 477/** 478 * @brief xcb_selinux_set_selection_use_context_request_t 479 **/ 480typedef struct xcb_selinux_set_selection_use_context_request_t { 481 uint8_t major_opcode; /**< */ 482 uint8_t minor_opcode; /**< */ 483 uint16_t length; /**< */ 484 uint32_t context_len; /**< */ 485} xcb_selinux_set_selection_use_context_request_t; 486 487/** 488 * @brief xcb_selinux_get_selection_use_context_cookie_t 489 **/ 490typedef struct xcb_selinux_get_selection_use_context_cookie_t { 491 unsigned int sequence; /**< */ 492} xcb_selinux_get_selection_use_context_cookie_t; 493 494/** Opcode for xcb_selinux_get_selection_use_context. */ 495#define XCB_SELINUX_GET_SELECTION_USE_CONTEXT 18 496 497/** 498 * @brief xcb_selinux_get_selection_use_context_request_t 499 **/ 500typedef struct xcb_selinux_get_selection_use_context_request_t { 501 uint8_t major_opcode; /**< */ 502 uint8_t minor_opcode; /**< */ 503 uint16_t length; /**< */ 504} xcb_selinux_get_selection_use_context_request_t; 505 506/** 507 * @brief xcb_selinux_get_selection_use_context_reply_t 508 **/ 509typedef struct xcb_selinux_get_selection_use_context_reply_t { 510 uint8_t response_type; /**< */ 511 uint8_t pad0; /**< */ 512 uint16_t sequence; /**< */ 513 uint32_t length; /**< */ 514 uint32_t context_len; /**< */ 515 uint8_t pad1[20]; /**< */ 516} xcb_selinux_get_selection_use_context_reply_t; 517 518/** 519 * @brief xcb_selinux_get_selection_context_cookie_t 520 **/ 521typedef struct xcb_selinux_get_selection_context_cookie_t { 522 unsigned int sequence; /**< */ 523} xcb_selinux_get_selection_context_cookie_t; 524 525/** Opcode for xcb_selinux_get_selection_context. */ 526#define XCB_SELINUX_GET_SELECTION_CONTEXT 19 527 528/** 529 * @brief xcb_selinux_get_selection_context_request_t 530 **/ 531typedef struct xcb_selinux_get_selection_context_request_t { 532 uint8_t major_opcode; /**< */ 533 uint8_t minor_opcode; /**< */ 534 uint16_t length; /**< */ 535 xcb_atom_t selection; /**< */ 536} xcb_selinux_get_selection_context_request_t; 537 538/** 539 * @brief xcb_selinux_get_selection_context_reply_t 540 **/ 541typedef struct xcb_selinux_get_selection_context_reply_t { 542 uint8_t response_type; /**< */ 543 uint8_t pad0; /**< */ 544 uint16_t sequence; /**< */ 545 uint32_t length; /**< */ 546 uint32_t context_len; /**< */ 547 uint8_t pad1[20]; /**< */ 548} xcb_selinux_get_selection_context_reply_t; 549 550/** 551 * @brief xcb_selinux_get_selection_data_context_cookie_t 552 **/ 553typedef struct xcb_selinux_get_selection_data_context_cookie_t { 554 unsigned int sequence; /**< */ 555} xcb_selinux_get_selection_data_context_cookie_t; 556 557/** Opcode for xcb_selinux_get_selection_data_context. */ 558#define XCB_SELINUX_GET_SELECTION_DATA_CONTEXT 20 559 560/** 561 * @brief xcb_selinux_get_selection_data_context_request_t 562 **/ 563typedef struct xcb_selinux_get_selection_data_context_request_t { 564 uint8_t major_opcode; /**< */ 565 uint8_t minor_opcode; /**< */ 566 uint16_t length; /**< */ 567 xcb_atom_t selection; /**< */ 568} xcb_selinux_get_selection_data_context_request_t; 569 570/** 571 * @brief xcb_selinux_get_selection_data_context_reply_t 572 **/ 573typedef struct xcb_selinux_get_selection_data_context_reply_t { 574 uint8_t response_type; /**< */ 575 uint8_t pad0; /**< */ 576 uint16_t sequence; /**< */ 577 uint32_t length; /**< */ 578 uint32_t context_len; /**< */ 579 uint8_t pad1[20]; /**< */ 580} xcb_selinux_get_selection_data_context_reply_t; 581 582/** 583 * @brief xcb_selinux_list_selections_cookie_t 584 **/ 585typedef struct xcb_selinux_list_selections_cookie_t { 586 unsigned int sequence; /**< */ 587} xcb_selinux_list_selections_cookie_t; 588 589/** Opcode for xcb_selinux_list_selections. */ 590#define XCB_SELINUX_LIST_SELECTIONS 21 591 592/** 593 * @brief xcb_selinux_list_selections_request_t 594 **/ 595typedef struct xcb_selinux_list_selections_request_t { 596 uint8_t major_opcode; /**< */ 597 uint8_t minor_opcode; /**< */ 598 uint16_t length; /**< */ 599} xcb_selinux_list_selections_request_t; 600 601/** 602 * @brief xcb_selinux_list_selections_reply_t 603 **/ 604typedef struct xcb_selinux_list_selections_reply_t { 605 uint8_t response_type; /**< */ 606 uint8_t pad0; /**< */ 607 uint16_t sequence; /**< */ 608 uint32_t length; /**< */ 609 uint32_t selections_len; /**< */ 610 uint8_t pad1[20]; /**< */ 611} xcb_selinux_list_selections_reply_t; 612 613/** 614 * @brief xcb_selinux_get_client_context_cookie_t 615 **/ 616typedef struct xcb_selinux_get_client_context_cookie_t { 617 unsigned int sequence; /**< */ 618} xcb_selinux_get_client_context_cookie_t; 619 620/** Opcode for xcb_selinux_get_client_context. */ 621#define XCB_SELINUX_GET_CLIENT_CONTEXT 22 622 623/** 624 * @brief xcb_selinux_get_client_context_request_t 625 **/ 626typedef struct xcb_selinux_get_client_context_request_t { 627 uint8_t major_opcode; /**< */ 628 uint8_t minor_opcode; /**< */ 629 uint16_t length; /**< */ 630 uint32_t resource; /**< */ 631} xcb_selinux_get_client_context_request_t; 632 633/** 634 * @brief xcb_selinux_get_client_context_reply_t 635 **/ 636typedef struct xcb_selinux_get_client_context_reply_t { 637 uint8_t response_type; /**< */ 638 uint8_t pad0; /**< */ 639 uint16_t sequence; /**< */ 640 uint32_t length; /**< */ 641 uint32_t context_len; /**< */ 642 uint8_t pad1[20]; /**< */ 643} xcb_selinux_get_client_context_reply_t; 644 645/** 646 * Delivers a request to the X server 647 * @param c The connection 648 * @return A cookie 649 * 650 * Delivers a request to the X server. 651 * 652 */ 653 654/***************************************************************************** 655 ** 656 ** xcb_selinux_query_version_cookie_t xcb_selinux_query_version 657 ** 658 ** @param xcb_connection_t *c 659 ** @param uint8_t client_major 660 ** @param uint8_t client_minor 661 ** @returns xcb_selinux_query_version_cookie_t 662 ** 663 *****************************************************************************/ 664 665xcb_selinux_query_version_cookie_t 666xcb_selinux_query_version (xcb_connection_t *c /**< */, 667 uint8_t client_major /**< */, 668 uint8_t client_minor /**< */); 669 670/** 671 * Delivers a request to the X server 672 * @param c The connection 673 * @return A cookie 674 * 675 * Delivers a request to the X server. 676 * 677 * This form can be used only if the request will cause 678 * a reply to be generated. Any returned error will be 679 * placed in the event queue. 680 */ 681 682/***************************************************************************** 683 ** 684 ** xcb_selinux_query_version_cookie_t xcb_selinux_query_version_unchecked 685 ** 686 ** @param xcb_connection_t *c 687 ** @param uint8_t client_major 688 ** @param uint8_t client_minor 689 ** @returns xcb_selinux_query_version_cookie_t 690 ** 691 *****************************************************************************/ 692 693xcb_selinux_query_version_cookie_t 694xcb_selinux_query_version_unchecked (xcb_connection_t *c /**< */, 695 uint8_t client_major /**< */, 696 uint8_t client_minor /**< */); 697 698/** 699 * Return the reply 700 * @param c The connection 701 * @param cookie The cookie 702 * @param e The xcb_generic_error_t supplied 703 * 704 * Returns the reply of the request asked by 705 * 706 * The parameter @p e supplied to this function must be NULL if 707 * xcb_selinux_query_version_unchecked(). is used. 708 * Otherwise, it stores the error if any. 709 * 710 * The returned value must be freed by the caller using free(). 711 */ 712 713/***************************************************************************** 714 ** 715 ** xcb_selinux_query_version_reply_t * xcb_selinux_query_version_reply 716 ** 717 ** @param xcb_connection_t *c 718 ** @param xcb_selinux_query_version_cookie_t cookie 719 ** @param xcb_generic_error_t **e 720 ** @returns xcb_selinux_query_version_reply_t * 721 ** 722 *****************************************************************************/ 723 724xcb_selinux_query_version_reply_t * 725xcb_selinux_query_version_reply (xcb_connection_t *c /**< */, 726 xcb_selinux_query_version_cookie_t cookie /**< */, 727 xcb_generic_error_t **e /**< */); 728 729/** 730 * Delivers a request to the X server 731 * @param c The connection 732 * @return A cookie 733 * 734 * Delivers a request to the X server. 735 * 736 * This form can be used only if the request will not cause 737 * a reply to be generated. Any returned error will be 738 * saved for handling by xcb_request_check(). 739 */ 740 741/***************************************************************************** 742 ** 743 ** xcb_void_cookie_t xcb_selinux_set_device_create_context_checked 744 ** 745 ** @param xcb_connection_t *c 746 ** @param uint32_t context_len 747 ** @param const char *context 748 ** @returns xcb_void_cookie_t 749 ** 750 *****************************************************************************/ 751 752xcb_void_cookie_t 753xcb_selinux_set_device_create_context_checked (xcb_connection_t *c /**< */, 754 uint32_t context_len /**< */, 755 const char *context /**< */); 756 757/** 758 * Delivers a request to the X server 759 * @param c The connection 760 * @return A cookie 761 * 762 * Delivers a request to the X server. 763 * 764 */ 765 766/***************************************************************************** 767 ** 768 ** xcb_void_cookie_t xcb_selinux_set_device_create_context 769 ** 770 ** @param xcb_connection_t *c 771 ** @param uint32_t context_len 772 ** @param const char *context 773 ** @returns xcb_void_cookie_t 774 ** 775 *****************************************************************************/ 776 777xcb_void_cookie_t 778xcb_selinux_set_device_create_context (xcb_connection_t *c /**< */, 779 uint32_t context_len /**< */, 780 const char *context /**< */); 781 782/** 783 * Delivers a request to the X server 784 * @param c The connection 785 * @return A cookie 786 * 787 * Delivers a request to the X server. 788 * 789 */ 790 791/***************************************************************************** 792 ** 793 ** xcb_selinux_get_device_create_context_cookie_t xcb_selinux_get_device_create_context 794 ** 795 ** @param xcb_connection_t *c 796 ** @returns xcb_selinux_get_device_create_context_cookie_t 797 ** 798 *****************************************************************************/ 799 800xcb_selinux_get_device_create_context_cookie_t 801xcb_selinux_get_device_create_context (xcb_connection_t *c /**< */); 802 803/** 804 * Delivers a request to the X server 805 * @param c The connection 806 * @return A cookie 807 * 808 * Delivers a request to the X server. 809 * 810 * This form can be used only if the request will cause 811 * a reply to be generated. Any returned error will be 812 * placed in the event queue. 813 */ 814 815/***************************************************************************** 816 ** 817 ** xcb_selinux_get_device_create_context_cookie_t xcb_selinux_get_device_create_context_unchecked 818 ** 819 ** @param xcb_connection_t *c 820 ** @returns xcb_selinux_get_device_create_context_cookie_t 821 ** 822 *****************************************************************************/ 823 824xcb_selinux_get_device_create_context_cookie_t 825xcb_selinux_get_device_create_context_unchecked (xcb_connection_t *c /**< */); 826 827 828/***************************************************************************** 829 ** 830 ** char * xcb_selinux_get_device_create_context_context 831 ** 832 ** @param const xcb_selinux_get_device_create_context_reply_t *R 833 ** @returns char * 834 ** 835 *****************************************************************************/ 836 837char * 838xcb_selinux_get_device_create_context_context (const xcb_selinux_get_device_create_context_reply_t *R /**< */); 839 840 841/***************************************************************************** 842 ** 843 ** int xcb_selinux_get_device_create_context_context_length 844 ** 845 ** @param const xcb_selinux_get_device_create_context_reply_t *R 846 ** @returns int 847 ** 848 *****************************************************************************/ 849 850int 851xcb_selinux_get_device_create_context_context_length (const xcb_selinux_get_device_create_context_reply_t *R /**< */); 852 853 854/***************************************************************************** 855 ** 856 ** xcb_generic_iterator_t xcb_selinux_get_device_create_context_context_end 857 ** 858 ** @param const xcb_selinux_get_device_create_context_reply_t *R 859 ** @returns xcb_generic_iterator_t 860 ** 861 *****************************************************************************/ 862 863xcb_generic_iterator_t 864xcb_selinux_get_device_create_context_context_end (const xcb_selinux_get_device_create_context_reply_t *R /**< */); 865 866/** 867 * Return the reply 868 * @param c The connection 869 * @param cookie The cookie 870 * @param e The xcb_generic_error_t supplied 871 * 872 * Returns the reply of the request asked by 873 * 874 * The parameter @p e supplied to this function must be NULL if 875 * xcb_selinux_get_device_create_context_unchecked(). is used. 876 * Otherwise, it stores the error if any. 877 * 878 * The returned value must be freed by the caller using free(). 879 */ 880 881/***************************************************************************** 882 ** 883 ** xcb_selinux_get_device_create_context_reply_t * xcb_selinux_get_device_create_context_reply 884 ** 885 ** @param xcb_connection_t *c 886 ** @param xcb_selinux_get_device_create_context_cookie_t cookie 887 ** @param xcb_generic_error_t **e 888 ** @returns xcb_selinux_get_device_create_context_reply_t * 889 ** 890 *****************************************************************************/ 891 892xcb_selinux_get_device_create_context_reply_t * 893xcb_selinux_get_device_create_context_reply (xcb_connection_t *c /**< */, 894 xcb_selinux_get_device_create_context_cookie_t cookie /**< */, 895 xcb_generic_error_t **e /**< */); 896 897/** 898 * Delivers a request to the X server 899 * @param c The connection 900 * @return A cookie 901 * 902 * Delivers a request to the X server. 903 * 904 * This form can be used only if the request will not cause 905 * a reply to be generated. Any returned error will be 906 * saved for handling by xcb_request_check(). 907 */ 908 909/***************************************************************************** 910 ** 911 ** xcb_void_cookie_t xcb_selinux_set_device_context_checked 912 ** 913 ** @param xcb_connection_t *c 914 ** @param uint32_t device 915 ** @param uint32_t context_len 916 ** @param const char *context 917 ** @returns xcb_void_cookie_t 918 ** 919 *****************************************************************************/ 920 921xcb_void_cookie_t 922xcb_selinux_set_device_context_checked (xcb_connection_t *c /**< */, 923 uint32_t device /**< */, 924 uint32_t context_len /**< */, 925 const char *context /**< */); 926 927/** 928 * Delivers a request to the X server 929 * @param c The connection 930 * @return A cookie 931 * 932 * Delivers a request to the X server. 933 * 934 */ 935 936/***************************************************************************** 937 ** 938 ** xcb_void_cookie_t xcb_selinux_set_device_context 939 ** 940 ** @param xcb_connection_t *c 941 ** @param uint32_t device 942 ** @param uint32_t context_len 943 ** @param const char *context 944 ** @returns xcb_void_cookie_t 945 ** 946 *****************************************************************************/ 947 948xcb_void_cookie_t 949xcb_selinux_set_device_context (xcb_connection_t *c /**< */, 950 uint32_t device /**< */, 951 uint32_t context_len /**< */, 952 const char *context /**< */); 953 954/** 955 * Delivers a request to the X server 956 * @param c The connection 957 * @return A cookie 958 * 959 * Delivers a request to the X server. 960 * 961 */ 962 963/***************************************************************************** 964 ** 965 ** xcb_selinux_get_device_context_cookie_t xcb_selinux_get_device_context 966 ** 967 ** @param xcb_connection_t *c 968 ** @param uint32_t device 969 ** @returns xcb_selinux_get_device_context_cookie_t 970 ** 971 *****************************************************************************/ 972 973xcb_selinux_get_device_context_cookie_t 974xcb_selinux_get_device_context (xcb_connection_t *c /**< */, 975 uint32_t device /**< */); 976 977/** 978 * Delivers a request to the X server 979 * @param c The connection 980 * @return A cookie 981 * 982 * Delivers a request to the X server. 983 * 984 * This form can be used only if the request will cause 985 * a reply to be generated. Any returned error will be 986 * placed in the event queue. 987 */ 988 989/***************************************************************************** 990 ** 991 ** xcb_selinux_get_device_context_cookie_t xcb_selinux_get_device_context_unchecked 992 ** 993 ** @param xcb_connection_t *c 994 ** @param uint32_t device 995 ** @returns xcb_selinux_get_device_context_cookie_t 996 ** 997 *****************************************************************************/ 998 999xcb_selinux_get_device_context_cookie_t 1000xcb_selinux_get_device_context_unchecked (xcb_connection_t *c /**< */, 1001 uint32_t device /**< */); 1002 1003 1004/***************************************************************************** 1005 ** 1006 ** char * xcb_selinux_get_device_context_context 1007 ** 1008 ** @param const xcb_selinux_get_device_context_reply_t *R 1009 ** @returns char * 1010 ** 1011 *****************************************************************************/ 1012 1013char * 1014xcb_selinux_get_device_context_context (const xcb_selinux_get_device_context_reply_t *R /**< */); 1015 1016 1017/***************************************************************************** 1018 ** 1019 ** int xcb_selinux_get_device_context_context_length 1020 ** 1021 ** @param const xcb_selinux_get_device_context_reply_t *R 1022 ** @returns int 1023 ** 1024 *****************************************************************************/ 1025 1026int 1027xcb_selinux_get_device_context_context_length (const xcb_selinux_get_device_context_reply_t *R /**< */); 1028 1029 1030/***************************************************************************** 1031 ** 1032 ** xcb_generic_iterator_t xcb_selinux_get_device_context_context_end 1033 ** 1034 ** @param const xcb_selinux_get_device_context_reply_t *R 1035 ** @returns xcb_generic_iterator_t 1036 ** 1037 *****************************************************************************/ 1038 1039xcb_generic_iterator_t 1040xcb_selinux_get_device_context_context_end (const xcb_selinux_get_device_context_reply_t *R /**< */); 1041 1042/** 1043 * Return the reply 1044 * @param c The connection 1045 * @param cookie The cookie 1046 * @param e The xcb_generic_error_t supplied 1047 * 1048 * Returns the reply of the request asked by 1049 * 1050 * The parameter @p e supplied to this function must be NULL if 1051 * xcb_selinux_get_device_context_unchecked(). is used. 1052 * Otherwise, it stores the error if any. 1053 * 1054 * The returned value must be freed by the caller using free(). 1055 */ 1056 1057/***************************************************************************** 1058 ** 1059 ** xcb_selinux_get_device_context_reply_t * xcb_selinux_get_device_context_reply 1060 ** 1061 ** @param xcb_connection_t *c 1062 ** @param xcb_selinux_get_device_context_cookie_t cookie 1063 ** @param xcb_generic_error_t **e 1064 ** @returns xcb_selinux_get_device_context_reply_t * 1065 ** 1066 *****************************************************************************/ 1067 1068xcb_selinux_get_device_context_reply_t * 1069xcb_selinux_get_device_context_reply (xcb_connection_t *c /**< */, 1070 xcb_selinux_get_device_context_cookie_t cookie /**< */, 1071 xcb_generic_error_t **e /**< */); 1072 1073/** 1074 * Delivers a request to the X server 1075 * @param c The connection 1076 * @return A cookie 1077 * 1078 * Delivers a request to the X server. 1079 * 1080 * This form can be used only if the request will not cause 1081 * a reply to be generated. Any returned error will be 1082 * saved for handling by xcb_request_check(). 1083 */ 1084 1085/***************************************************************************** 1086 ** 1087 ** xcb_void_cookie_t xcb_selinux_set_window_create_context_checked 1088 ** 1089 ** @param xcb_connection_t *c 1090 ** @param uint32_t context_len 1091 ** @param const char *context 1092 ** @returns xcb_void_cookie_t 1093 ** 1094 *****************************************************************************/ 1095 1096xcb_void_cookie_t 1097xcb_selinux_set_window_create_context_checked (xcb_connection_t *c /**< */, 1098 uint32_t context_len /**< */, 1099 const char *context /**< */); 1100 1101/** 1102 * Delivers a request to the X server 1103 * @param c The connection 1104 * @return A cookie 1105 * 1106 * Delivers a request to the X server. 1107 * 1108 */ 1109 1110/***************************************************************************** 1111 ** 1112 ** xcb_void_cookie_t xcb_selinux_set_window_create_context 1113 ** 1114 ** @param xcb_connection_t *c 1115 ** @param uint32_t context_len 1116 ** @param const char *context 1117 ** @returns xcb_void_cookie_t 1118 ** 1119 *****************************************************************************/ 1120 1121xcb_void_cookie_t 1122xcb_selinux_set_window_create_context (xcb_connection_t *c /**< */, 1123 uint32_t context_len /**< */, 1124 const char *context /**< */); 1125 1126/** 1127 * Delivers a request to the X server 1128 * @param c The connection 1129 * @return A cookie 1130 * 1131 * Delivers a request to the X server. 1132 * 1133 */ 1134 1135/***************************************************************************** 1136 ** 1137 ** xcb_selinux_get_window_create_context_cookie_t xcb_selinux_get_window_create_context 1138 ** 1139 ** @param xcb_connection_t *c 1140 ** @returns xcb_selinux_get_window_create_context_cookie_t 1141 ** 1142 *****************************************************************************/ 1143 1144xcb_selinux_get_window_create_context_cookie_t 1145xcb_selinux_get_window_create_context (xcb_connection_t *c /**< */); 1146 1147/** 1148 * Delivers a request to the X server 1149 * @param c The connection 1150 * @return A cookie 1151 * 1152 * Delivers a request to the X server. 1153 * 1154 * This form can be used only if the request will cause 1155 * a reply to be generated. Any returned error will be 1156 * placed in the event queue. 1157 */ 1158 1159/***************************************************************************** 1160 ** 1161 ** xcb_selinux_get_window_create_context_cookie_t xcb_selinux_get_window_create_context_unchecked 1162 ** 1163 ** @param xcb_connection_t *c 1164 ** @returns xcb_selinux_get_window_create_context_cookie_t 1165 ** 1166 *****************************************************************************/ 1167 1168xcb_selinux_get_window_create_context_cookie_t 1169xcb_selinux_get_window_create_context_unchecked (xcb_connection_t *c /**< */); 1170 1171 1172/***************************************************************************** 1173 ** 1174 ** char * xcb_selinux_get_window_create_context_context 1175 ** 1176 ** @param const xcb_selinux_get_window_create_context_reply_t *R 1177 ** @returns char * 1178 ** 1179 *****************************************************************************/ 1180 1181char * 1182xcb_selinux_get_window_create_context_context (const xcb_selinux_get_window_create_context_reply_t *R /**< */); 1183 1184 1185/***************************************************************************** 1186 ** 1187 ** int xcb_selinux_get_window_create_context_context_length 1188 ** 1189 ** @param const xcb_selinux_get_window_create_context_reply_t *R 1190 ** @returns int 1191 ** 1192 *****************************************************************************/ 1193 1194int 1195xcb_selinux_get_window_create_context_context_length (const xcb_selinux_get_window_create_context_reply_t *R /**< */); 1196 1197 1198/***************************************************************************** 1199 ** 1200 ** xcb_generic_iterator_t xcb_selinux_get_window_create_context_context_end 1201 ** 1202 ** @param const xcb_selinux_get_window_create_context_reply_t *R 1203 ** @returns xcb_generic_iterator_t 1204 ** 1205 *****************************************************************************/ 1206 1207xcb_generic_iterator_t 1208xcb_selinux_get_window_create_context_context_end (const xcb_selinux_get_window_create_context_reply_t *R /**< */); 1209 1210/** 1211 * Return the reply 1212 * @param c The connection 1213 * @param cookie The cookie 1214 * @param e The xcb_generic_error_t supplied 1215 * 1216 * Returns the reply of the request asked by 1217 * 1218 * The parameter @p e supplied to this function must be NULL if 1219 * xcb_selinux_get_window_create_context_unchecked(). is used. 1220 * Otherwise, it stores the error if any. 1221 * 1222 * The returned value must be freed by the caller using free(). 1223 */ 1224 1225/***************************************************************************** 1226 ** 1227 ** xcb_selinux_get_window_create_context_reply_t * xcb_selinux_get_window_create_context_reply 1228 ** 1229 ** @param xcb_connection_t *c 1230 ** @param xcb_selinux_get_window_create_context_cookie_t cookie 1231 ** @param xcb_generic_error_t **e 1232 ** @returns xcb_selinux_get_window_create_context_reply_t * 1233 ** 1234 *****************************************************************************/ 1235 1236xcb_selinux_get_window_create_context_reply_t * 1237xcb_selinux_get_window_create_context_reply (xcb_connection_t *c /**< */, 1238 xcb_selinux_get_window_create_context_cookie_t cookie /**< */, 1239 xcb_generic_error_t **e /**< */); 1240 1241/** 1242 * Delivers a request to the X server 1243 * @param c The connection 1244 * @return A cookie 1245 * 1246 * Delivers a request to the X server. 1247 * 1248 */ 1249 1250/***************************************************************************** 1251 ** 1252 ** xcb_selinux_get_window_context_cookie_t xcb_selinux_get_window_context 1253 ** 1254 ** @param xcb_connection_t *c 1255 ** @param xcb_window_t window 1256 ** @returns xcb_selinux_get_window_context_cookie_t 1257 ** 1258 *****************************************************************************/ 1259 1260xcb_selinux_get_window_context_cookie_t 1261xcb_selinux_get_window_context (xcb_connection_t *c /**< */, 1262 xcb_window_t window /**< */); 1263 1264/** 1265 * Delivers a request to the X server 1266 * @param c The connection 1267 * @return A cookie 1268 * 1269 * Delivers a request to the X server. 1270 * 1271 * This form can be used only if the request will cause 1272 * a reply to be generated. Any returned error will be 1273 * placed in the event queue. 1274 */ 1275 1276/***************************************************************************** 1277 ** 1278 ** xcb_selinux_get_window_context_cookie_t xcb_selinux_get_window_context_unchecked 1279 ** 1280 ** @param xcb_connection_t *c 1281 ** @param xcb_window_t window 1282 ** @returns xcb_selinux_get_window_context_cookie_t 1283 ** 1284 *****************************************************************************/ 1285 1286xcb_selinux_get_window_context_cookie_t 1287xcb_selinux_get_window_context_unchecked (xcb_connection_t *c /**< */, 1288 xcb_window_t window /**< */); 1289 1290 1291/***************************************************************************** 1292 ** 1293 ** char * xcb_selinux_get_window_context_context 1294 ** 1295 ** @param const xcb_selinux_get_window_context_reply_t *R 1296 ** @returns char * 1297 ** 1298 *****************************************************************************/ 1299 1300char * 1301xcb_selinux_get_window_context_context (const xcb_selinux_get_window_context_reply_t *R /**< */); 1302 1303 1304/***************************************************************************** 1305 ** 1306 ** int xcb_selinux_get_window_context_context_length 1307 ** 1308 ** @param const xcb_selinux_get_window_context_reply_t *R 1309 ** @returns int 1310 ** 1311 *****************************************************************************/ 1312 1313int 1314xcb_selinux_get_window_context_context_length (const xcb_selinux_get_window_context_reply_t *R /**< */); 1315 1316 1317/***************************************************************************** 1318 ** 1319 ** xcb_generic_iterator_t xcb_selinux_get_window_context_context_end 1320 ** 1321 ** @param const xcb_selinux_get_window_context_reply_t *R 1322 ** @returns xcb_generic_iterator_t 1323 ** 1324 *****************************************************************************/ 1325 1326xcb_generic_iterator_t 1327xcb_selinux_get_window_context_context_end (const xcb_selinux_get_window_context_reply_t *R /**< */); 1328 1329/** 1330 * Return the reply 1331 * @param c The connection 1332 * @param cookie The cookie 1333 * @param e The xcb_generic_error_t supplied 1334 * 1335 * Returns the reply of the request asked by 1336 * 1337 * The parameter @p e supplied to this function must be NULL if 1338 * xcb_selinux_get_window_context_unchecked(). is used. 1339 * Otherwise, it stores the error if any. 1340 * 1341 * The returned value must be freed by the caller using free(). 1342 */ 1343 1344/***************************************************************************** 1345 ** 1346 ** xcb_selinux_get_window_context_reply_t * xcb_selinux_get_window_context_reply 1347 ** 1348 ** @param xcb_connection_t *c 1349 ** @param xcb_selinux_get_window_context_cookie_t cookie 1350 ** @param xcb_generic_error_t **e 1351 ** @returns xcb_selinux_get_window_context_reply_t * 1352 ** 1353 *****************************************************************************/ 1354 1355xcb_selinux_get_window_context_reply_t * 1356xcb_selinux_get_window_context_reply (xcb_connection_t *c /**< */, 1357 xcb_selinux_get_window_context_cookie_t cookie /**< */, 1358 xcb_generic_error_t **e /**< */); 1359 1360 1361/***************************************************************************** 1362 ** 1363 ** char * xcb_selinux_list_item_object_context 1364 ** 1365 ** @param const xcb_selinux_list_item_t *R 1366 ** @returns char * 1367 ** 1368 *****************************************************************************/ 1369 1370char * 1371xcb_selinux_list_item_object_context (const xcb_selinux_list_item_t *R /**< */); 1372 1373 1374/***************************************************************************** 1375 ** 1376 ** int xcb_selinux_list_item_object_context_length 1377 ** 1378 ** @param const xcb_selinux_list_item_t *R 1379 ** @returns int 1380 ** 1381 *****************************************************************************/ 1382 1383int 1384xcb_selinux_list_item_object_context_length (const xcb_selinux_list_item_t *R /**< */); 1385 1386 1387/***************************************************************************** 1388 ** 1389 ** xcb_generic_iterator_t xcb_selinux_list_item_object_context_end 1390 ** 1391 ** @param const xcb_selinux_list_item_t *R 1392 ** @returns xcb_generic_iterator_t 1393 ** 1394 *****************************************************************************/ 1395 1396xcb_generic_iterator_t 1397xcb_selinux_list_item_object_context_end (const xcb_selinux_list_item_t *R /**< */); 1398 1399 1400/***************************************************************************** 1401 ** 1402 ** char * xcb_selinux_list_item_data_context 1403 ** 1404 ** @param const xcb_selinux_list_item_t *R 1405 ** @returns char * 1406 ** 1407 *****************************************************************************/ 1408 1409char * 1410xcb_selinux_list_item_data_context (const xcb_selinux_list_item_t *R /**< */); 1411 1412 1413/***************************************************************************** 1414 ** 1415 ** int xcb_selinux_list_item_data_context_length 1416 ** 1417 ** @param const xcb_selinux_list_item_t *R 1418 ** @returns int 1419 ** 1420 *****************************************************************************/ 1421 1422int 1423xcb_selinux_list_item_data_context_length (const xcb_selinux_list_item_t *R /**< */); 1424 1425 1426/***************************************************************************** 1427 ** 1428 ** xcb_generic_iterator_t xcb_selinux_list_item_data_context_end 1429 ** 1430 ** @param const xcb_selinux_list_item_t *R 1431 ** @returns xcb_generic_iterator_t 1432 ** 1433 *****************************************************************************/ 1434 1435xcb_generic_iterator_t 1436xcb_selinux_list_item_data_context_end (const xcb_selinux_list_item_t *R /**< */); 1437 1438/** 1439 * Get the next element of the iterator 1440 * @param i Pointer to a xcb_selinux_list_item_iterator_t 1441 * 1442 * Get the next element in the iterator. The member rem is 1443 * decreased by one. The member data points to the next 1444 * element. The member index is increased by sizeof(xcb_selinux_list_item_t) 1445 */ 1446 1447/***************************************************************************** 1448 ** 1449 ** void xcb_selinux_list_item_next 1450 ** 1451 ** @param xcb_selinux_list_item_iterator_t *i 1452 ** @returns void 1453 ** 1454 *****************************************************************************/ 1455 1456void 1457xcb_selinux_list_item_next (xcb_selinux_list_item_iterator_t *i /**< */); 1458 1459/** 1460 * Return the iterator pointing to the last element 1461 * @param i An xcb_selinux_list_item_iterator_t 1462 * @return The iterator pointing to the last element 1463 * 1464 * Set the current element in the iterator to the last element. 1465 * The member rem is set to 0. The member data points to the 1466 * last element. 1467 */ 1468 1469/***************************************************************************** 1470 ** 1471 ** xcb_generic_iterator_t xcb_selinux_list_item_end 1472 ** 1473 ** @param xcb_selinux_list_item_iterator_t i 1474 ** @returns xcb_generic_iterator_t 1475 ** 1476 *****************************************************************************/ 1477 1478xcb_generic_iterator_t 1479xcb_selinux_list_item_end (xcb_selinux_list_item_iterator_t i /**< */); 1480 1481/** 1482 * Delivers a request to the X server 1483 * @param c The connection 1484 * @return A cookie 1485 * 1486 * Delivers a request to the X server. 1487 * 1488 * This form can be used only if the request will not cause 1489 * a reply to be generated. Any returned error will be 1490 * saved for handling by xcb_request_check(). 1491 */ 1492 1493/***************************************************************************** 1494 ** 1495 ** xcb_void_cookie_t xcb_selinux_set_property_create_context_checked 1496 ** 1497 ** @param xcb_connection_t *c 1498 ** @param uint32_t context_len 1499 ** @param const char *context 1500 ** @returns xcb_void_cookie_t 1501 ** 1502 *****************************************************************************/ 1503 1504xcb_void_cookie_t 1505xcb_selinux_set_property_create_context_checked (xcb_connection_t *c /**< */, 1506 uint32_t context_len /**< */, 1507 const char *context /**< */); 1508 1509/** 1510 * Delivers a request to the X server 1511 * @param c The connection 1512 * @return A cookie 1513 * 1514 * Delivers a request to the X server. 1515 * 1516 */ 1517 1518/***************************************************************************** 1519 ** 1520 ** xcb_void_cookie_t xcb_selinux_set_property_create_context 1521 ** 1522 ** @param xcb_connection_t *c 1523 ** @param uint32_t context_len 1524 ** @param const char *context 1525 ** @returns xcb_void_cookie_t 1526 ** 1527 *****************************************************************************/ 1528 1529xcb_void_cookie_t 1530xcb_selinux_set_property_create_context (xcb_connection_t *c /**< */, 1531 uint32_t context_len /**< */, 1532 const char *context /**< */); 1533 1534/** 1535 * Delivers a request to the X server 1536 * @param c The connection 1537 * @return A cookie 1538 * 1539 * Delivers a request to the X server. 1540 * 1541 */ 1542 1543/***************************************************************************** 1544 ** 1545 ** xcb_selinux_get_property_create_context_cookie_t xcb_selinux_get_property_create_context 1546 ** 1547 ** @param xcb_connection_t *c 1548 ** @returns xcb_selinux_get_property_create_context_cookie_t 1549 ** 1550 *****************************************************************************/ 1551 1552xcb_selinux_get_property_create_context_cookie_t 1553xcb_selinux_get_property_create_context (xcb_connection_t *c /**< */); 1554 1555/** 1556 * Delivers a request to the X server 1557 * @param c The connection 1558 * @return A cookie 1559 * 1560 * Delivers a request to the X server. 1561 * 1562 * This form can be used only if the request will cause 1563 * a reply to be generated. Any returned error will be 1564 * placed in the event queue. 1565 */ 1566 1567/***************************************************************************** 1568 ** 1569 ** xcb_selinux_get_property_create_context_cookie_t xcb_selinux_get_property_create_context_unchecked 1570 ** 1571 ** @param xcb_connection_t *c 1572 ** @returns xcb_selinux_get_property_create_context_cookie_t 1573 ** 1574 *****************************************************************************/ 1575 1576xcb_selinux_get_property_create_context_cookie_t 1577xcb_selinux_get_property_create_context_unchecked (xcb_connection_t *c /**< */); 1578 1579 1580/***************************************************************************** 1581 ** 1582 ** char * xcb_selinux_get_property_create_context_context 1583 ** 1584 ** @param const xcb_selinux_get_property_create_context_reply_t *R 1585 ** @returns char * 1586 ** 1587 *****************************************************************************/ 1588 1589char * 1590xcb_selinux_get_property_create_context_context (const xcb_selinux_get_property_create_context_reply_t *R /**< */); 1591 1592 1593/***************************************************************************** 1594 ** 1595 ** int xcb_selinux_get_property_create_context_context_length 1596 ** 1597 ** @param const xcb_selinux_get_property_create_context_reply_t *R 1598 ** @returns int 1599 ** 1600 *****************************************************************************/ 1601 1602int 1603xcb_selinux_get_property_create_context_context_length (const xcb_selinux_get_property_create_context_reply_t *R /**< */); 1604 1605 1606/***************************************************************************** 1607 ** 1608 ** xcb_generic_iterator_t xcb_selinux_get_property_create_context_context_end 1609 ** 1610 ** @param const xcb_selinux_get_property_create_context_reply_t *R 1611 ** @returns xcb_generic_iterator_t 1612 ** 1613 *****************************************************************************/ 1614 1615xcb_generic_iterator_t 1616xcb_selinux_get_property_create_context_context_end (const xcb_selinux_get_property_create_context_reply_t *R /**< */); 1617 1618/** 1619 * Return the reply 1620 * @param c The connection 1621 * @param cookie The cookie 1622 * @param e The xcb_generic_error_t supplied 1623 * 1624 * Returns the reply of the request asked by 1625 * 1626 * The parameter @p e supplied to this function must be NULL if 1627 * xcb_selinux_get_property_create_context_unchecked(). is used. 1628 * Otherwise, it stores the error if any. 1629 * 1630 * The returned value must be freed by the caller using free(). 1631 */ 1632 1633/***************************************************************************** 1634 ** 1635 ** xcb_selinux_get_property_create_context_reply_t * xcb_selinux_get_property_create_context_reply 1636 ** 1637 ** @param xcb_connection_t *c 1638 ** @param xcb_selinux_get_property_create_context_cookie_t cookie 1639 ** @param xcb_generic_error_t **e 1640 ** @returns xcb_selinux_get_property_create_context_reply_t * 1641 ** 1642 *****************************************************************************/ 1643 1644xcb_selinux_get_property_create_context_reply_t * 1645xcb_selinux_get_property_create_context_reply (xcb_connection_t *c /**< */, 1646 xcb_selinux_get_property_create_context_cookie_t cookie /**< */, 1647 xcb_generic_error_t **e /**< */); 1648 1649/** 1650 * Delivers a request to the X server 1651 * @param c The connection 1652 * @return A cookie 1653 * 1654 * Delivers a request to the X server. 1655 * 1656 * This form can be used only if the request will not cause 1657 * a reply to be generated. Any returned error will be 1658 * saved for handling by xcb_request_check(). 1659 */ 1660 1661/***************************************************************************** 1662 ** 1663 ** xcb_void_cookie_t xcb_selinux_set_property_use_context_checked 1664 ** 1665 ** @param xcb_connection_t *c 1666 ** @param uint32_t context_len 1667 ** @param const char *context 1668 ** @returns xcb_void_cookie_t 1669 ** 1670 *****************************************************************************/ 1671 1672xcb_void_cookie_t 1673xcb_selinux_set_property_use_context_checked (xcb_connection_t *c /**< */, 1674 uint32_t context_len /**< */, 1675 const char *context /**< */); 1676 1677/** 1678 * Delivers a request to the X server 1679 * @param c The connection 1680 * @return A cookie 1681 * 1682 * Delivers a request to the X server. 1683 * 1684 */ 1685 1686/***************************************************************************** 1687 ** 1688 ** xcb_void_cookie_t xcb_selinux_set_property_use_context 1689 ** 1690 ** @param xcb_connection_t *c 1691 ** @param uint32_t context_len 1692 ** @param const char *context 1693 ** @returns xcb_void_cookie_t 1694 ** 1695 *****************************************************************************/ 1696 1697xcb_void_cookie_t 1698xcb_selinux_set_property_use_context (xcb_connection_t *c /**< */, 1699 uint32_t context_len /**< */, 1700 const char *context /**< */); 1701 1702/** 1703 * Delivers a request to the X server 1704 * @param c The connection 1705 * @return A cookie 1706 * 1707 * Delivers a request to the X server. 1708 * 1709 */ 1710 1711/***************************************************************************** 1712 ** 1713 ** xcb_selinux_get_property_use_context_cookie_t xcb_selinux_get_property_use_context 1714 ** 1715 ** @param xcb_connection_t *c 1716 ** @returns xcb_selinux_get_property_use_context_cookie_t 1717 ** 1718 *****************************************************************************/ 1719 1720xcb_selinux_get_property_use_context_cookie_t 1721xcb_selinux_get_property_use_context (xcb_connection_t *c /**< */); 1722 1723/** 1724 * Delivers a request to the X server 1725 * @param c The connection 1726 * @return A cookie 1727 * 1728 * Delivers a request to the X server. 1729 * 1730 * This form can be used only if the request will cause 1731 * a reply to be generated. Any returned error will be 1732 * placed in the event queue. 1733 */ 1734 1735/***************************************************************************** 1736 ** 1737 ** xcb_selinux_get_property_use_context_cookie_t xcb_selinux_get_property_use_context_unchecked 1738 ** 1739 ** @param xcb_connection_t *c 1740 ** @returns xcb_selinux_get_property_use_context_cookie_t 1741 ** 1742 *****************************************************************************/ 1743 1744xcb_selinux_get_property_use_context_cookie_t 1745xcb_selinux_get_property_use_context_unchecked (xcb_connection_t *c /**< */); 1746 1747 1748/***************************************************************************** 1749 ** 1750 ** char * xcb_selinux_get_property_use_context_context 1751 ** 1752 ** @param const xcb_selinux_get_property_use_context_reply_t *R 1753 ** @returns char * 1754 ** 1755 *****************************************************************************/ 1756 1757char * 1758xcb_selinux_get_property_use_context_context (const xcb_selinux_get_property_use_context_reply_t *R /**< */); 1759 1760 1761/***************************************************************************** 1762 ** 1763 ** int xcb_selinux_get_property_use_context_context_length 1764 ** 1765 ** @param const xcb_selinux_get_property_use_context_reply_t *R 1766 ** @returns int 1767 ** 1768 *****************************************************************************/ 1769 1770int 1771xcb_selinux_get_property_use_context_context_length (const xcb_selinux_get_property_use_context_reply_t *R /**< */); 1772 1773 1774/***************************************************************************** 1775 ** 1776 ** xcb_generic_iterator_t xcb_selinux_get_property_use_context_context_end 1777 ** 1778 ** @param const xcb_selinux_get_property_use_context_reply_t *R 1779 ** @returns xcb_generic_iterator_t 1780 ** 1781 *****************************************************************************/ 1782 1783xcb_generic_iterator_t 1784xcb_selinux_get_property_use_context_context_end (const xcb_selinux_get_property_use_context_reply_t *R /**< */); 1785 1786/** 1787 * Return the reply 1788 * @param c The connection 1789 * @param cookie The cookie 1790 * @param e The xcb_generic_error_t supplied 1791 * 1792 * Returns the reply of the request asked by 1793 * 1794 * The parameter @p e supplied to this function must be NULL if 1795 * xcb_selinux_get_property_use_context_unchecked(). is used. 1796 * Otherwise, it stores the error if any. 1797 * 1798 * The returned value must be freed by the caller using free(). 1799 */ 1800 1801/***************************************************************************** 1802 ** 1803 ** xcb_selinux_get_property_use_context_reply_t * xcb_selinux_get_property_use_context_reply 1804 ** 1805 ** @param xcb_connection_t *c 1806 ** @param xcb_selinux_get_property_use_context_cookie_t cookie 1807 ** @param xcb_generic_error_t **e 1808 ** @returns xcb_selinux_get_property_use_context_reply_t * 1809 ** 1810 *****************************************************************************/ 1811 1812xcb_selinux_get_property_use_context_reply_t * 1813xcb_selinux_get_property_use_context_reply (xcb_connection_t *c /**< */, 1814 xcb_selinux_get_property_use_context_cookie_t cookie /**< */, 1815 xcb_generic_error_t **e /**< */); 1816 1817/** 1818 * Delivers a request to the X server 1819 * @param c The connection 1820 * @return A cookie 1821 * 1822 * Delivers a request to the X server. 1823 * 1824 */ 1825 1826/***************************************************************************** 1827 ** 1828 ** xcb_selinux_get_property_context_cookie_t xcb_selinux_get_property_context 1829 ** 1830 ** @param xcb_connection_t *c 1831 ** @param xcb_window_t window 1832 ** @param xcb_atom_t property 1833 ** @returns xcb_selinux_get_property_context_cookie_t 1834 ** 1835 *****************************************************************************/ 1836 1837xcb_selinux_get_property_context_cookie_t 1838xcb_selinux_get_property_context (xcb_connection_t *c /**< */, 1839 xcb_window_t window /**< */, 1840 xcb_atom_t property /**< */); 1841 1842/** 1843 * Delivers a request to the X server 1844 * @param c The connection 1845 * @return A cookie 1846 * 1847 * Delivers a request to the X server. 1848 * 1849 * This form can be used only if the request will cause 1850 * a reply to be generated. Any returned error will be 1851 * placed in the event queue. 1852 */ 1853 1854/***************************************************************************** 1855 ** 1856 ** xcb_selinux_get_property_context_cookie_t xcb_selinux_get_property_context_unchecked 1857 ** 1858 ** @param xcb_connection_t *c 1859 ** @param xcb_window_t window 1860 ** @param xcb_atom_t property 1861 ** @returns xcb_selinux_get_property_context_cookie_t 1862 ** 1863 *****************************************************************************/ 1864 1865xcb_selinux_get_property_context_cookie_t 1866xcb_selinux_get_property_context_unchecked (xcb_connection_t *c /**< */, 1867 xcb_window_t window /**< */, 1868 xcb_atom_t property /**< */); 1869 1870 1871/***************************************************************************** 1872 ** 1873 ** char * xcb_selinux_get_property_context_context 1874 ** 1875 ** @param const xcb_selinux_get_property_context_reply_t *R 1876 ** @returns char * 1877 ** 1878 *****************************************************************************/ 1879 1880char * 1881xcb_selinux_get_property_context_context (const xcb_selinux_get_property_context_reply_t *R /**< */); 1882 1883 1884/***************************************************************************** 1885 ** 1886 ** int xcb_selinux_get_property_context_context_length 1887 ** 1888 ** @param const xcb_selinux_get_property_context_reply_t *R 1889 ** @returns int 1890 ** 1891 *****************************************************************************/ 1892 1893int 1894xcb_selinux_get_property_context_context_length (const xcb_selinux_get_property_context_reply_t *R /**< */); 1895 1896 1897/***************************************************************************** 1898 ** 1899 ** xcb_generic_iterator_t xcb_selinux_get_property_context_context_end 1900 ** 1901 ** @param const xcb_selinux_get_property_context_reply_t *R 1902 ** @returns xcb_generic_iterator_t 1903 ** 1904 *****************************************************************************/ 1905 1906xcb_generic_iterator_t 1907xcb_selinux_get_property_context_context_end (const xcb_selinux_get_property_context_reply_t *R /**< */); 1908 1909/** 1910 * Return the reply 1911 * @param c The connection 1912 * @param cookie The cookie 1913 * @param e The xcb_generic_error_t supplied 1914 * 1915 * Returns the reply of the request asked by 1916 * 1917 * The parameter @p e supplied to this function must be NULL if 1918 * xcb_selinux_get_property_context_unchecked(). is used. 1919 * Otherwise, it stores the error if any. 1920 * 1921 * The returned value must be freed by the caller using free(). 1922 */ 1923 1924/***************************************************************************** 1925 ** 1926 ** xcb_selinux_get_property_context_reply_t * xcb_selinux_get_property_context_reply 1927 ** 1928 ** @param xcb_connection_t *c 1929 ** @param xcb_selinux_get_property_context_cookie_t cookie 1930 ** @param xcb_generic_error_t **e 1931 ** @returns xcb_selinux_get_property_context_reply_t * 1932 ** 1933 *****************************************************************************/ 1934 1935xcb_selinux_get_property_context_reply_t * 1936xcb_selinux_get_property_context_reply (xcb_connection_t *c /**< */, 1937 xcb_selinux_get_property_context_cookie_t cookie /**< */, 1938 xcb_generic_error_t **e /**< */); 1939 1940/** 1941 * Delivers a request to the X server 1942 * @param c The connection 1943 * @return A cookie 1944 * 1945 * Delivers a request to the X server. 1946 * 1947 */ 1948 1949/***************************************************************************** 1950 ** 1951 ** xcb_selinux_get_property_data_context_cookie_t xcb_selinux_get_property_data_context 1952 ** 1953 ** @param xcb_connection_t *c 1954 ** @param xcb_window_t window 1955 ** @param xcb_atom_t property 1956 ** @returns xcb_selinux_get_property_data_context_cookie_t 1957 ** 1958 *****************************************************************************/ 1959 1960xcb_selinux_get_property_data_context_cookie_t 1961xcb_selinux_get_property_data_context (xcb_connection_t *c /**< */, 1962 xcb_window_t window /**< */, 1963 xcb_atom_t property /**< */); 1964 1965/** 1966 * Delivers a request to the X server 1967 * @param c The connection 1968 * @return A cookie 1969 * 1970 * Delivers a request to the X server. 1971 * 1972 * This form can be used only if the request will cause 1973 * a reply to be generated. Any returned error will be 1974 * placed in the event queue. 1975 */ 1976 1977/***************************************************************************** 1978 ** 1979 ** xcb_selinux_get_property_data_context_cookie_t xcb_selinux_get_property_data_context_unchecked 1980 ** 1981 ** @param xcb_connection_t *c 1982 ** @param xcb_window_t window 1983 ** @param xcb_atom_t property 1984 ** @returns xcb_selinux_get_property_data_context_cookie_t 1985 ** 1986 *****************************************************************************/ 1987 1988xcb_selinux_get_property_data_context_cookie_t 1989xcb_selinux_get_property_data_context_unchecked (xcb_connection_t *c /**< */, 1990 xcb_window_t window /**< */, 1991 xcb_atom_t property /**< */); 1992 1993 1994/***************************************************************************** 1995 ** 1996 ** char * xcb_selinux_get_property_data_context_context 1997 ** 1998 ** @param const xcb_selinux_get_property_data_context_reply_t *R 1999 ** @returns char * 2000 ** 2001 *****************************************************************************/ 2002 2003char * 2004xcb_selinux_get_property_data_context_context (const xcb_selinux_get_property_data_context_reply_t *R /**< */); 2005 2006 2007/***************************************************************************** 2008 ** 2009 ** int xcb_selinux_get_property_data_context_context_length 2010 ** 2011 ** @param const xcb_selinux_get_property_data_context_reply_t *R 2012 ** @returns int 2013 ** 2014 *****************************************************************************/ 2015 2016int 2017xcb_selinux_get_property_data_context_context_length (const xcb_selinux_get_property_data_context_reply_t *R /**< */); 2018 2019 2020/***************************************************************************** 2021 ** 2022 ** xcb_generic_iterator_t xcb_selinux_get_property_data_context_context_end 2023 ** 2024 ** @param const xcb_selinux_get_property_data_context_reply_t *R 2025 ** @returns xcb_generic_iterator_t 2026 ** 2027 *****************************************************************************/ 2028 2029xcb_generic_iterator_t 2030xcb_selinux_get_property_data_context_context_end (const xcb_selinux_get_property_data_context_reply_t *R /**< */); 2031 2032/** 2033 * Return the reply 2034 * @param c The connection 2035 * @param cookie The cookie 2036 * @param e The xcb_generic_error_t supplied 2037 * 2038 * Returns the reply of the request asked by 2039 * 2040 * The parameter @p e supplied to this function must be NULL if 2041 * xcb_selinux_get_property_data_context_unchecked(). is used. 2042 * Otherwise, it stores the error if any. 2043 * 2044 * The returned value must be freed by the caller using free(). 2045 */ 2046 2047/***************************************************************************** 2048 ** 2049 ** xcb_selinux_get_property_data_context_reply_t * xcb_selinux_get_property_data_context_reply 2050 ** 2051 ** @param xcb_connection_t *c 2052 ** @param xcb_selinux_get_property_data_context_cookie_t cookie 2053 ** @param xcb_generic_error_t **e 2054 ** @returns xcb_selinux_get_property_data_context_reply_t * 2055 ** 2056 *****************************************************************************/ 2057 2058xcb_selinux_get_property_data_context_reply_t * 2059xcb_selinux_get_property_data_context_reply (xcb_connection_t *c /**< */, 2060 xcb_selinux_get_property_data_context_cookie_t cookie /**< */, 2061 xcb_generic_error_t **e /**< */); 2062 2063/** 2064 * Delivers a request to the X server 2065 * @param c The connection 2066 * @return A cookie 2067 * 2068 * Delivers a request to the X server. 2069 * 2070 */ 2071 2072/***************************************************************************** 2073 ** 2074 ** xcb_selinux_list_properties_cookie_t xcb_selinux_list_properties 2075 ** 2076 ** @param xcb_connection_t *c 2077 ** @param xcb_window_t window 2078 ** @returns xcb_selinux_list_properties_cookie_t 2079 ** 2080 *****************************************************************************/ 2081 2082xcb_selinux_list_properties_cookie_t 2083xcb_selinux_list_properties (xcb_connection_t *c /**< */, 2084 xcb_window_t window /**< */); 2085 2086/** 2087 * Delivers a request to the X server 2088 * @param c The connection 2089 * @return A cookie 2090 * 2091 * Delivers a request to the X server. 2092 * 2093 * This form can be used only if the request will cause 2094 * a reply to be generated. Any returned error will be 2095 * placed in the event queue. 2096 */ 2097 2098/***************************************************************************** 2099 ** 2100 ** xcb_selinux_list_properties_cookie_t xcb_selinux_list_properties_unchecked 2101 ** 2102 ** @param xcb_connection_t *c 2103 ** @param xcb_window_t window 2104 ** @returns xcb_selinux_list_properties_cookie_t 2105 ** 2106 *****************************************************************************/ 2107 2108xcb_selinux_list_properties_cookie_t 2109xcb_selinux_list_properties_unchecked (xcb_connection_t *c /**< */, 2110 xcb_window_t window /**< */); 2111 2112 2113/***************************************************************************** 2114 ** 2115 ** int xcb_selinux_list_properties_properties_length 2116 ** 2117 ** @param const xcb_selinux_list_properties_reply_t *R 2118 ** @returns int 2119 ** 2120 *****************************************************************************/ 2121 2122int 2123xcb_selinux_list_properties_properties_length (const xcb_selinux_list_properties_reply_t *R /**< */); 2124 2125 2126/***************************************************************************** 2127 ** 2128 ** xcb_selinux_list_item_iterator_t xcb_selinux_list_properties_properties_iterator 2129 ** 2130 ** @param const xcb_selinux_list_properties_reply_t *R 2131 ** @returns xcb_selinux_list_item_iterator_t 2132 ** 2133 *****************************************************************************/ 2134 2135xcb_selinux_list_item_iterator_t 2136xcb_selinux_list_properties_properties_iterator (const xcb_selinux_list_properties_reply_t *R /**< */); 2137 2138/** 2139 * Return the reply 2140 * @param c The connection 2141 * @param cookie The cookie 2142 * @param e The xcb_generic_error_t supplied 2143 * 2144 * Returns the reply of the request asked by 2145 * 2146 * The parameter @p e supplied to this function must be NULL if 2147 * xcb_selinux_list_properties_unchecked(). is used. 2148 * Otherwise, it stores the error if any. 2149 * 2150 * The returned value must be freed by the caller using free(). 2151 */ 2152 2153/***************************************************************************** 2154 ** 2155 ** xcb_selinux_list_properties_reply_t * xcb_selinux_list_properties_reply 2156 ** 2157 ** @param xcb_connection_t *c 2158 ** @param xcb_selinux_list_properties_cookie_t cookie 2159 ** @param xcb_generic_error_t **e 2160 ** @returns xcb_selinux_list_properties_reply_t * 2161 ** 2162 *****************************************************************************/ 2163 2164xcb_selinux_list_properties_reply_t * 2165xcb_selinux_list_properties_reply (xcb_connection_t *c /**< */, 2166 xcb_selinux_list_properties_cookie_t cookie /**< */, 2167 xcb_generic_error_t **e /**< */); 2168 2169/** 2170 * Delivers a request to the X server 2171 * @param c The connection 2172 * @return A cookie 2173 * 2174 * Delivers a request to the X server. 2175 * 2176 * This form can be used only if the request will not cause 2177 * a reply to be generated. Any returned error will be 2178 * saved for handling by xcb_request_check(). 2179 */ 2180 2181/***************************************************************************** 2182 ** 2183 ** xcb_void_cookie_t xcb_selinux_set_selection_create_context_checked 2184 ** 2185 ** @param xcb_connection_t *c 2186 ** @param uint32_t context_len 2187 ** @param const char *context 2188 ** @returns xcb_void_cookie_t 2189 ** 2190 *****************************************************************************/ 2191 2192xcb_void_cookie_t 2193xcb_selinux_set_selection_create_context_checked (xcb_connection_t *c /**< */, 2194 uint32_t context_len /**< */, 2195 const char *context /**< */); 2196 2197/** 2198 * Delivers a request to the X server 2199 * @param c The connection 2200 * @return A cookie 2201 * 2202 * Delivers a request to the X server. 2203 * 2204 */ 2205 2206/***************************************************************************** 2207 ** 2208 ** xcb_void_cookie_t xcb_selinux_set_selection_create_context 2209 ** 2210 ** @param xcb_connection_t *c 2211 ** @param uint32_t context_len 2212 ** @param const char *context 2213 ** @returns xcb_void_cookie_t 2214 ** 2215 *****************************************************************************/ 2216 2217xcb_void_cookie_t 2218xcb_selinux_set_selection_create_context (xcb_connection_t *c /**< */, 2219 uint32_t context_len /**< */, 2220 const char *context /**< */); 2221 2222/** 2223 * Delivers a request to the X server 2224 * @param c The connection 2225 * @return A cookie 2226 * 2227 * Delivers a request to the X server. 2228 * 2229 */ 2230 2231/***************************************************************************** 2232 ** 2233 ** xcb_selinux_get_selection_create_context_cookie_t xcb_selinux_get_selection_create_context 2234 ** 2235 ** @param xcb_connection_t *c 2236 ** @returns xcb_selinux_get_selection_create_context_cookie_t 2237 ** 2238 *****************************************************************************/ 2239 2240xcb_selinux_get_selection_create_context_cookie_t 2241xcb_selinux_get_selection_create_context (xcb_connection_t *c /**< */); 2242 2243/** 2244 * Delivers a request to the X server 2245 * @param c The connection 2246 * @return A cookie 2247 * 2248 * Delivers a request to the X server. 2249 * 2250 * This form can be used only if the request will cause 2251 * a reply to be generated. Any returned error will be 2252 * placed in the event queue. 2253 */ 2254 2255/***************************************************************************** 2256 ** 2257 ** xcb_selinux_get_selection_create_context_cookie_t xcb_selinux_get_selection_create_context_unchecked 2258 ** 2259 ** @param xcb_connection_t *c 2260 ** @returns xcb_selinux_get_selection_create_context_cookie_t 2261 ** 2262 *****************************************************************************/ 2263 2264xcb_selinux_get_selection_create_context_cookie_t 2265xcb_selinux_get_selection_create_context_unchecked (xcb_connection_t *c /**< */); 2266 2267 2268/***************************************************************************** 2269 ** 2270 ** char * xcb_selinux_get_selection_create_context_context 2271 ** 2272 ** @param const xcb_selinux_get_selection_create_context_reply_t *R 2273 ** @returns char * 2274 ** 2275 *****************************************************************************/ 2276 2277char * 2278xcb_selinux_get_selection_create_context_context (const xcb_selinux_get_selection_create_context_reply_t *R /**< */); 2279 2280 2281/***************************************************************************** 2282 ** 2283 ** int xcb_selinux_get_selection_create_context_context_length 2284 ** 2285 ** @param const xcb_selinux_get_selection_create_context_reply_t *R 2286 ** @returns int 2287 ** 2288 *****************************************************************************/ 2289 2290int 2291xcb_selinux_get_selection_create_context_context_length (const xcb_selinux_get_selection_create_context_reply_t *R /**< */); 2292 2293 2294/***************************************************************************** 2295 ** 2296 ** xcb_generic_iterator_t xcb_selinux_get_selection_create_context_context_end 2297 ** 2298 ** @param const xcb_selinux_get_selection_create_context_reply_t *R 2299 ** @returns xcb_generic_iterator_t 2300 ** 2301 *****************************************************************************/ 2302 2303xcb_generic_iterator_t 2304xcb_selinux_get_selection_create_context_context_end (const xcb_selinux_get_selection_create_context_reply_t *R /**< */); 2305 2306/** 2307 * Return the reply 2308 * @param c The connection 2309 * @param cookie The cookie 2310 * @param e The xcb_generic_error_t supplied 2311 * 2312 * Returns the reply of the request asked by 2313 * 2314 * The parameter @p e supplied to this function must be NULL if 2315 * xcb_selinux_get_selection_create_context_unchecked(). is used. 2316 * Otherwise, it stores the error if any. 2317 * 2318 * The returned value must be freed by the caller using free(). 2319 */ 2320 2321/***************************************************************************** 2322 ** 2323 ** xcb_selinux_get_selection_create_context_reply_t * xcb_selinux_get_selection_create_context_reply 2324 ** 2325 ** @param xcb_connection_t *c 2326 ** @param xcb_selinux_get_selection_create_context_cookie_t cookie 2327 ** @param xcb_generic_error_t **e 2328 ** @returns xcb_selinux_get_selection_create_context_reply_t * 2329 ** 2330 *****************************************************************************/ 2331 2332xcb_selinux_get_selection_create_context_reply_t * 2333xcb_selinux_get_selection_create_context_reply (xcb_connection_t *c /**< */, 2334 xcb_selinux_get_selection_create_context_cookie_t cookie /**< */, 2335 xcb_generic_error_t **e /**< */); 2336 2337/** 2338 * Delivers a request to the X server 2339 * @param c The connection 2340 * @return A cookie 2341 * 2342 * Delivers a request to the X server. 2343 * 2344 * This form can be used only if the request will not cause 2345 * a reply to be generated. Any returned error will be 2346 * saved for handling by xcb_request_check(). 2347 */ 2348 2349/***************************************************************************** 2350 ** 2351 ** xcb_void_cookie_t xcb_selinux_set_selection_use_context_checked 2352 ** 2353 ** @param xcb_connection_t *c 2354 ** @param uint32_t context_len 2355 ** @param const char *context 2356 ** @returns xcb_void_cookie_t 2357 ** 2358 *****************************************************************************/ 2359 2360xcb_void_cookie_t 2361xcb_selinux_set_selection_use_context_checked (xcb_connection_t *c /**< */, 2362 uint32_t context_len /**< */, 2363 const char *context /**< */); 2364 2365/** 2366 * Delivers a request to the X server 2367 * @param c The connection 2368 * @return A cookie 2369 * 2370 * Delivers a request to the X server. 2371 * 2372 */ 2373 2374/***************************************************************************** 2375 ** 2376 ** xcb_void_cookie_t xcb_selinux_set_selection_use_context 2377 ** 2378 ** @param xcb_connection_t *c 2379 ** @param uint32_t context_len 2380 ** @param const char *context 2381 ** @returns xcb_void_cookie_t 2382 ** 2383 *****************************************************************************/ 2384 2385xcb_void_cookie_t 2386xcb_selinux_set_selection_use_context (xcb_connection_t *c /**< */, 2387 uint32_t context_len /**< */, 2388 const char *context /**< */); 2389 2390/** 2391 * Delivers a request to the X server 2392 * @param c The connection 2393 * @return A cookie 2394 * 2395 * Delivers a request to the X server. 2396 * 2397 */ 2398 2399/***************************************************************************** 2400 ** 2401 ** xcb_selinux_get_selection_use_context_cookie_t xcb_selinux_get_selection_use_context 2402 ** 2403 ** @param xcb_connection_t *c 2404 ** @returns xcb_selinux_get_selection_use_context_cookie_t 2405 ** 2406 *****************************************************************************/ 2407 2408xcb_selinux_get_selection_use_context_cookie_t 2409xcb_selinux_get_selection_use_context (xcb_connection_t *c /**< */); 2410 2411/** 2412 * Delivers a request to the X server 2413 * @param c The connection 2414 * @return A cookie 2415 * 2416 * Delivers a request to the X server. 2417 * 2418 * This form can be used only if the request will cause 2419 * a reply to be generated. Any returned error will be 2420 * placed in the event queue. 2421 */ 2422 2423/***************************************************************************** 2424 ** 2425 ** xcb_selinux_get_selection_use_context_cookie_t xcb_selinux_get_selection_use_context_unchecked 2426 ** 2427 ** @param xcb_connection_t *c 2428 ** @returns xcb_selinux_get_selection_use_context_cookie_t 2429 ** 2430 *****************************************************************************/ 2431 2432xcb_selinux_get_selection_use_context_cookie_t 2433xcb_selinux_get_selection_use_context_unchecked (xcb_connection_t *c /**< */); 2434 2435 2436/***************************************************************************** 2437 ** 2438 ** char * xcb_selinux_get_selection_use_context_context 2439 ** 2440 ** @param const xcb_selinux_get_selection_use_context_reply_t *R 2441 ** @returns char * 2442 ** 2443 *****************************************************************************/ 2444 2445char * 2446xcb_selinux_get_selection_use_context_context (const xcb_selinux_get_selection_use_context_reply_t *R /**< */); 2447 2448 2449/***************************************************************************** 2450 ** 2451 ** int xcb_selinux_get_selection_use_context_context_length 2452 ** 2453 ** @param const xcb_selinux_get_selection_use_context_reply_t *R 2454 ** @returns int 2455 ** 2456 *****************************************************************************/ 2457 2458int 2459xcb_selinux_get_selection_use_context_context_length (const xcb_selinux_get_selection_use_context_reply_t *R /**< */); 2460 2461 2462/***************************************************************************** 2463 ** 2464 ** xcb_generic_iterator_t xcb_selinux_get_selection_use_context_context_end 2465 ** 2466 ** @param const xcb_selinux_get_selection_use_context_reply_t *R 2467 ** @returns xcb_generic_iterator_t 2468 ** 2469 *****************************************************************************/ 2470 2471xcb_generic_iterator_t 2472xcb_selinux_get_selection_use_context_context_end (const xcb_selinux_get_selection_use_context_reply_t *R /**< */); 2473 2474/** 2475 * Return the reply 2476 * @param c The connection 2477 * @param cookie The cookie 2478 * @param e The xcb_generic_error_t supplied 2479 * 2480 * Returns the reply of the request asked by 2481 * 2482 * The parameter @p e supplied to this function must be NULL if 2483 * xcb_selinux_get_selection_use_context_unchecked(). is used. 2484 * Otherwise, it stores the error if any. 2485 * 2486 * The returned value must be freed by the caller using free(). 2487 */ 2488 2489/***************************************************************************** 2490 ** 2491 ** xcb_selinux_get_selection_use_context_reply_t * xcb_selinux_get_selection_use_context_reply 2492 ** 2493 ** @param xcb_connection_t *c 2494 ** @param xcb_selinux_get_selection_use_context_cookie_t cookie 2495 ** @param xcb_generic_error_t **e 2496 ** @returns xcb_selinux_get_selection_use_context_reply_t * 2497 ** 2498 *****************************************************************************/ 2499 2500xcb_selinux_get_selection_use_context_reply_t * 2501xcb_selinux_get_selection_use_context_reply (xcb_connection_t *c /**< */, 2502 xcb_selinux_get_selection_use_context_cookie_t cookie /**< */, 2503 xcb_generic_error_t **e /**< */); 2504 2505/** 2506 * Delivers a request to the X server 2507 * @param c The connection 2508 * @return A cookie 2509 * 2510 * Delivers a request to the X server. 2511 * 2512 */ 2513 2514/***************************************************************************** 2515 ** 2516 ** xcb_selinux_get_selection_context_cookie_t xcb_selinux_get_selection_context 2517 ** 2518 ** @param xcb_connection_t *c 2519 ** @param xcb_atom_t selection 2520 ** @returns xcb_selinux_get_selection_context_cookie_t 2521 ** 2522 *****************************************************************************/ 2523 2524xcb_selinux_get_selection_context_cookie_t 2525xcb_selinux_get_selection_context (xcb_connection_t *c /**< */, 2526 xcb_atom_t selection /**< */); 2527 2528/** 2529 * Delivers a request to the X server 2530 * @param c The connection 2531 * @return A cookie 2532 * 2533 * Delivers a request to the X server. 2534 * 2535 * This form can be used only if the request will cause 2536 * a reply to be generated. Any returned error will be 2537 * placed in the event queue. 2538 */ 2539 2540/***************************************************************************** 2541 ** 2542 ** xcb_selinux_get_selection_context_cookie_t xcb_selinux_get_selection_context_unchecked 2543 ** 2544 ** @param xcb_connection_t *c 2545 ** @param xcb_atom_t selection 2546 ** @returns xcb_selinux_get_selection_context_cookie_t 2547 ** 2548 *****************************************************************************/ 2549 2550xcb_selinux_get_selection_context_cookie_t 2551xcb_selinux_get_selection_context_unchecked (xcb_connection_t *c /**< */, 2552 xcb_atom_t selection /**< */); 2553 2554 2555/***************************************************************************** 2556 ** 2557 ** char * xcb_selinux_get_selection_context_context 2558 ** 2559 ** @param const xcb_selinux_get_selection_context_reply_t *R 2560 ** @returns char * 2561 ** 2562 *****************************************************************************/ 2563 2564char * 2565xcb_selinux_get_selection_context_context (const xcb_selinux_get_selection_context_reply_t *R /**< */); 2566 2567 2568/***************************************************************************** 2569 ** 2570 ** int xcb_selinux_get_selection_context_context_length 2571 ** 2572 ** @param const xcb_selinux_get_selection_context_reply_t *R 2573 ** @returns int 2574 ** 2575 *****************************************************************************/ 2576 2577int 2578xcb_selinux_get_selection_context_context_length (const xcb_selinux_get_selection_context_reply_t *R /**< */); 2579 2580 2581/***************************************************************************** 2582 ** 2583 ** xcb_generic_iterator_t xcb_selinux_get_selection_context_context_end 2584 ** 2585 ** @param const xcb_selinux_get_selection_context_reply_t *R 2586 ** @returns xcb_generic_iterator_t 2587 ** 2588 *****************************************************************************/ 2589 2590xcb_generic_iterator_t 2591xcb_selinux_get_selection_context_context_end (const xcb_selinux_get_selection_context_reply_t *R /**< */); 2592 2593/** 2594 * Return the reply 2595 * @param c The connection 2596 * @param cookie The cookie 2597 * @param e The xcb_generic_error_t supplied 2598 * 2599 * Returns the reply of the request asked by 2600 * 2601 * The parameter @p e supplied to this function must be NULL if 2602 * xcb_selinux_get_selection_context_unchecked(). is used. 2603 * Otherwise, it stores the error if any. 2604 * 2605 * The returned value must be freed by the caller using free(). 2606 */ 2607 2608/***************************************************************************** 2609 ** 2610 ** xcb_selinux_get_selection_context_reply_t * xcb_selinux_get_selection_context_reply 2611 ** 2612 ** @param xcb_connection_t *c 2613 ** @param xcb_selinux_get_selection_context_cookie_t cookie 2614 ** @param xcb_generic_error_t **e 2615 ** @returns xcb_selinux_get_selection_context_reply_t * 2616 ** 2617 *****************************************************************************/ 2618 2619xcb_selinux_get_selection_context_reply_t * 2620xcb_selinux_get_selection_context_reply (xcb_connection_t *c /**< */, 2621 xcb_selinux_get_selection_context_cookie_t cookie /**< */, 2622 xcb_generic_error_t **e /**< */); 2623 2624/** 2625 * Delivers a request to the X server 2626 * @param c The connection 2627 * @return A cookie 2628 * 2629 * Delivers a request to the X server. 2630 * 2631 */ 2632 2633/***************************************************************************** 2634 ** 2635 ** xcb_selinux_get_selection_data_context_cookie_t xcb_selinux_get_selection_data_context 2636 ** 2637 ** @param xcb_connection_t *c 2638 ** @param xcb_atom_t selection 2639 ** @returns xcb_selinux_get_selection_data_context_cookie_t 2640 ** 2641 *****************************************************************************/ 2642 2643xcb_selinux_get_selection_data_context_cookie_t 2644xcb_selinux_get_selection_data_context (xcb_connection_t *c /**< */, 2645 xcb_atom_t selection /**< */); 2646 2647/** 2648 * Delivers a request to the X server 2649 * @param c The connection 2650 * @return A cookie 2651 * 2652 * Delivers a request to the X server. 2653 * 2654 * This form can be used only if the request will cause 2655 * a reply to be generated. Any returned error will be 2656 * placed in the event queue. 2657 */ 2658 2659/***************************************************************************** 2660 ** 2661 ** xcb_selinux_get_selection_data_context_cookie_t xcb_selinux_get_selection_data_context_unchecked 2662 ** 2663 ** @param xcb_connection_t *c 2664 ** @param xcb_atom_t selection 2665 ** @returns xcb_selinux_get_selection_data_context_cookie_t 2666 ** 2667 *****************************************************************************/ 2668 2669xcb_selinux_get_selection_data_context_cookie_t 2670xcb_selinux_get_selection_data_context_unchecked (xcb_connection_t *c /**< */, 2671 xcb_atom_t selection /**< */); 2672 2673 2674/***************************************************************************** 2675 ** 2676 ** char * xcb_selinux_get_selection_data_context_context 2677 ** 2678 ** @param const xcb_selinux_get_selection_data_context_reply_t *R 2679 ** @returns char * 2680 ** 2681 *****************************************************************************/ 2682 2683char * 2684xcb_selinux_get_selection_data_context_context (const xcb_selinux_get_selection_data_context_reply_t *R /**< */); 2685 2686 2687/***************************************************************************** 2688 ** 2689 ** int xcb_selinux_get_selection_data_context_context_length 2690 ** 2691 ** @param const xcb_selinux_get_selection_data_context_reply_t *R 2692 ** @returns int 2693 ** 2694 *****************************************************************************/ 2695 2696int 2697xcb_selinux_get_selection_data_context_context_length (const xcb_selinux_get_selection_data_context_reply_t *R /**< */); 2698 2699 2700/***************************************************************************** 2701 ** 2702 ** xcb_generic_iterator_t xcb_selinux_get_selection_data_context_context_end 2703 ** 2704 ** @param const xcb_selinux_get_selection_data_context_reply_t *R 2705 ** @returns xcb_generic_iterator_t 2706 ** 2707 *****************************************************************************/ 2708 2709xcb_generic_iterator_t 2710xcb_selinux_get_selection_data_context_context_end (const xcb_selinux_get_selection_data_context_reply_t *R /**< */); 2711 2712/** 2713 * Return the reply 2714 * @param c The connection 2715 * @param cookie The cookie 2716 * @param e The xcb_generic_error_t supplied 2717 * 2718 * Returns the reply of the request asked by 2719 * 2720 * The parameter @p e supplied to this function must be NULL if 2721 * xcb_selinux_get_selection_data_context_unchecked(). is used. 2722 * Otherwise, it stores the error if any. 2723 * 2724 * The returned value must be freed by the caller using free(). 2725 */ 2726 2727/***************************************************************************** 2728 ** 2729 ** xcb_selinux_get_selection_data_context_reply_t * xcb_selinux_get_selection_data_context_reply 2730 ** 2731 ** @param xcb_connection_t *c 2732 ** @param xcb_selinux_get_selection_data_context_cookie_t cookie 2733 ** @param xcb_generic_error_t **e 2734 ** @returns xcb_selinux_get_selection_data_context_reply_t * 2735 ** 2736 *****************************************************************************/ 2737 2738xcb_selinux_get_selection_data_context_reply_t * 2739xcb_selinux_get_selection_data_context_reply (xcb_connection_t *c /**< */, 2740 xcb_selinux_get_selection_data_context_cookie_t cookie /**< */, 2741 xcb_generic_error_t **e /**< */); 2742 2743/** 2744 * Delivers a request to the X server 2745 * @param c The connection 2746 * @return A cookie 2747 * 2748 * Delivers a request to the X server. 2749 * 2750 */ 2751 2752/***************************************************************************** 2753 ** 2754 ** xcb_selinux_list_selections_cookie_t xcb_selinux_list_selections 2755 ** 2756 ** @param xcb_connection_t *c 2757 ** @returns xcb_selinux_list_selections_cookie_t 2758 ** 2759 *****************************************************************************/ 2760 2761xcb_selinux_list_selections_cookie_t 2762xcb_selinux_list_selections (xcb_connection_t *c /**< */); 2763 2764/** 2765 * Delivers a request to the X server 2766 * @param c The connection 2767 * @return A cookie 2768 * 2769 * Delivers a request to the X server. 2770 * 2771 * This form can be used only if the request will cause 2772 * a reply to be generated. Any returned error will be 2773 * placed in the event queue. 2774 */ 2775 2776/***************************************************************************** 2777 ** 2778 ** xcb_selinux_list_selections_cookie_t xcb_selinux_list_selections_unchecked 2779 ** 2780 ** @param xcb_connection_t *c 2781 ** @returns xcb_selinux_list_selections_cookie_t 2782 ** 2783 *****************************************************************************/ 2784 2785xcb_selinux_list_selections_cookie_t 2786xcb_selinux_list_selections_unchecked (xcb_connection_t *c /**< */); 2787 2788 2789/***************************************************************************** 2790 ** 2791 ** int xcb_selinux_list_selections_selections_length 2792 ** 2793 ** @param const xcb_selinux_list_selections_reply_t *R 2794 ** @returns int 2795 ** 2796 *****************************************************************************/ 2797 2798int 2799xcb_selinux_list_selections_selections_length (const xcb_selinux_list_selections_reply_t *R /**< */); 2800 2801 2802/***************************************************************************** 2803 ** 2804 ** xcb_selinux_list_item_iterator_t xcb_selinux_list_selections_selections_iterator 2805 ** 2806 ** @param const xcb_selinux_list_selections_reply_t *R 2807 ** @returns xcb_selinux_list_item_iterator_t 2808 ** 2809 *****************************************************************************/ 2810 2811xcb_selinux_list_item_iterator_t 2812xcb_selinux_list_selections_selections_iterator (const xcb_selinux_list_selections_reply_t *R /**< */); 2813 2814/** 2815 * Return the reply 2816 * @param c The connection 2817 * @param cookie The cookie 2818 * @param e The xcb_generic_error_t supplied 2819 * 2820 * Returns the reply of the request asked by 2821 * 2822 * The parameter @p e supplied to this function must be NULL if 2823 * xcb_selinux_list_selections_unchecked(). is used. 2824 * Otherwise, it stores the error if any. 2825 * 2826 * The returned value must be freed by the caller using free(). 2827 */ 2828 2829/***************************************************************************** 2830 ** 2831 ** xcb_selinux_list_selections_reply_t * xcb_selinux_list_selections_reply 2832 ** 2833 ** @param xcb_connection_t *c 2834 ** @param xcb_selinux_list_selections_cookie_t cookie 2835 ** @param xcb_generic_error_t **e 2836 ** @returns xcb_selinux_list_selections_reply_t * 2837 ** 2838 *****************************************************************************/ 2839 2840xcb_selinux_list_selections_reply_t * 2841xcb_selinux_list_selections_reply (xcb_connection_t *c /**< */, 2842 xcb_selinux_list_selections_cookie_t cookie /**< */, 2843 xcb_generic_error_t **e /**< */); 2844 2845/** 2846 * Delivers a request to the X server 2847 * @param c The connection 2848 * @return A cookie 2849 * 2850 * Delivers a request to the X server. 2851 * 2852 */ 2853 2854/***************************************************************************** 2855 ** 2856 ** xcb_selinux_get_client_context_cookie_t xcb_selinux_get_client_context 2857 ** 2858 ** @param xcb_connection_t *c 2859 ** @param uint32_t resource 2860 ** @returns xcb_selinux_get_client_context_cookie_t 2861 ** 2862 *****************************************************************************/ 2863 2864xcb_selinux_get_client_context_cookie_t 2865xcb_selinux_get_client_context (xcb_connection_t *c /**< */, 2866 uint32_t resource /**< */); 2867 2868/** 2869 * Delivers a request to the X server 2870 * @param c The connection 2871 * @return A cookie 2872 * 2873 * Delivers a request to the X server. 2874 * 2875 * This form can be used only if the request will cause 2876 * a reply to be generated. Any returned error will be 2877 * placed in the event queue. 2878 */ 2879 2880/***************************************************************************** 2881 ** 2882 ** xcb_selinux_get_client_context_cookie_t xcb_selinux_get_client_context_unchecked 2883 ** 2884 ** @param xcb_connection_t *c 2885 ** @param uint32_t resource 2886 ** @returns xcb_selinux_get_client_context_cookie_t 2887 ** 2888 *****************************************************************************/ 2889 2890xcb_selinux_get_client_context_cookie_t 2891xcb_selinux_get_client_context_unchecked (xcb_connection_t *c /**< */, 2892 uint32_t resource /**< */); 2893 2894 2895/***************************************************************************** 2896 ** 2897 ** char * xcb_selinux_get_client_context_context 2898 ** 2899 ** @param const xcb_selinux_get_client_context_reply_t *R 2900 ** @returns char * 2901 ** 2902 *****************************************************************************/ 2903 2904char * 2905xcb_selinux_get_client_context_context (const xcb_selinux_get_client_context_reply_t *R /**< */); 2906 2907 2908/***************************************************************************** 2909 ** 2910 ** int xcb_selinux_get_client_context_context_length 2911 ** 2912 ** @param const xcb_selinux_get_client_context_reply_t *R 2913 ** @returns int 2914 ** 2915 *****************************************************************************/ 2916 2917int 2918xcb_selinux_get_client_context_context_length (const xcb_selinux_get_client_context_reply_t *R /**< */); 2919 2920 2921/***************************************************************************** 2922 ** 2923 ** xcb_generic_iterator_t xcb_selinux_get_client_context_context_end 2924 ** 2925 ** @param const xcb_selinux_get_client_context_reply_t *R 2926 ** @returns xcb_generic_iterator_t 2927 ** 2928 *****************************************************************************/ 2929 2930xcb_generic_iterator_t 2931xcb_selinux_get_client_context_context_end (const xcb_selinux_get_client_context_reply_t *R /**< */); 2932 2933/** 2934 * Return the reply 2935 * @param c The connection 2936 * @param cookie The cookie 2937 * @param e The xcb_generic_error_t supplied 2938 * 2939 * Returns the reply of the request asked by 2940 * 2941 * The parameter @p e supplied to this function must be NULL if 2942 * xcb_selinux_get_client_context_unchecked(). is used. 2943 * Otherwise, it stores the error if any. 2944 * 2945 * The returned value must be freed by the caller using free(). 2946 */ 2947 2948/***************************************************************************** 2949 ** 2950 ** xcb_selinux_get_client_context_reply_t * xcb_selinux_get_client_context_reply 2951 ** 2952 ** @param xcb_connection_t *c 2953 ** @param xcb_selinux_get_client_context_cookie_t cookie 2954 ** @param xcb_generic_error_t **e 2955 ** @returns xcb_selinux_get_client_context_reply_t * 2956 ** 2957 *****************************************************************************/ 2958 2959xcb_selinux_get_client_context_reply_t * 2960xcb_selinux_get_client_context_reply (xcb_connection_t *c /**< */, 2961 xcb_selinux_get_client_context_cookie_t cookie /**< */, 2962 xcb_generic_error_t **e /**< */); 2963 2964 2965#ifdef __cplusplus 2966} 2967#endif 2968 2969#endif 2970 2971/** 2972 * @} 2973 */ 2974