jpayne@69: /* jpayne@69: * This file generated automatically from xselinux.xml by c_client.py. jpayne@69: * Edit at your peril. jpayne@69: */ jpayne@69: jpayne@69: /** jpayne@69: * @defgroup XCB_SELinux_API XCB SELinux API jpayne@69: * @brief SELinux XCB Protocol Implementation. jpayne@69: * @{ jpayne@69: **/ jpayne@69: jpayne@69: #ifndef __XSELINUX_H jpayne@69: #define __XSELINUX_H jpayne@69: jpayne@69: #include "xcb.h" jpayne@69: #include "xproto.h" jpayne@69: jpayne@69: #ifdef __cplusplus jpayne@69: extern "C" { jpayne@69: #endif jpayne@69: jpayne@69: #define XCB_SELINUX_MAJOR_VERSION 1 jpayne@69: #define XCB_SELINUX_MINOR_VERSION 0 jpayne@69: jpayne@69: extern xcb_extension_t xcb_selinux_id; jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_selinux_query_version_cookie_t jpayne@69: **/ jpayne@69: typedef struct xcb_selinux_query_version_cookie_t { jpayne@69: unsigned int sequence; jpayne@69: } xcb_selinux_query_version_cookie_t; jpayne@69: jpayne@69: /** Opcode for xcb_selinux_query_version. */ jpayne@69: #define XCB_SELINUX_QUERY_VERSION 0 jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_selinux_query_version_request_t jpayne@69: **/ jpayne@69: typedef struct xcb_selinux_query_version_request_t { jpayne@69: uint8_t major_opcode; jpayne@69: uint8_t minor_opcode; jpayne@69: uint16_t length; jpayne@69: uint8_t client_major; jpayne@69: uint8_t client_minor; jpayne@69: } xcb_selinux_query_version_request_t; jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_selinux_query_version_reply_t jpayne@69: **/ jpayne@69: typedef struct xcb_selinux_query_version_reply_t { jpayne@69: uint8_t response_type; jpayne@69: uint8_t pad0; jpayne@69: uint16_t sequence; jpayne@69: uint32_t length; jpayne@69: uint16_t server_major; jpayne@69: uint16_t server_minor; jpayne@69: } xcb_selinux_query_version_reply_t; jpayne@69: jpayne@69: /** Opcode for xcb_selinux_set_device_create_context. */ jpayne@69: #define XCB_SELINUX_SET_DEVICE_CREATE_CONTEXT 1 jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_selinux_set_device_create_context_request_t jpayne@69: **/ jpayne@69: typedef struct xcb_selinux_set_device_create_context_request_t { jpayne@69: uint8_t major_opcode; jpayne@69: uint8_t minor_opcode; jpayne@69: uint16_t length; jpayne@69: uint32_t context_len; jpayne@69: } xcb_selinux_set_device_create_context_request_t; jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_selinux_get_device_create_context_cookie_t jpayne@69: **/ jpayne@69: typedef struct xcb_selinux_get_device_create_context_cookie_t { jpayne@69: unsigned int sequence; jpayne@69: } xcb_selinux_get_device_create_context_cookie_t; jpayne@69: jpayne@69: /** Opcode for xcb_selinux_get_device_create_context. */ jpayne@69: #define XCB_SELINUX_GET_DEVICE_CREATE_CONTEXT 2 jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_selinux_get_device_create_context_request_t jpayne@69: **/ jpayne@69: typedef struct xcb_selinux_get_device_create_context_request_t { jpayne@69: uint8_t major_opcode; jpayne@69: uint8_t minor_opcode; jpayne@69: uint16_t length; jpayne@69: } xcb_selinux_get_device_create_context_request_t; jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_selinux_get_device_create_context_reply_t jpayne@69: **/ jpayne@69: typedef struct xcb_selinux_get_device_create_context_reply_t { jpayne@69: uint8_t response_type; jpayne@69: uint8_t pad0; jpayne@69: uint16_t sequence; jpayne@69: uint32_t length; jpayne@69: uint32_t context_len; jpayne@69: uint8_t pad1[20]; jpayne@69: } xcb_selinux_get_device_create_context_reply_t; jpayne@69: jpayne@69: /** Opcode for xcb_selinux_set_device_context. */ jpayne@69: #define XCB_SELINUX_SET_DEVICE_CONTEXT 3 jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_selinux_set_device_context_request_t jpayne@69: **/ jpayne@69: typedef struct xcb_selinux_set_device_context_request_t { jpayne@69: uint8_t major_opcode; jpayne@69: uint8_t minor_opcode; jpayne@69: uint16_t length; jpayne@69: uint32_t device; jpayne@69: uint32_t context_len; jpayne@69: } xcb_selinux_set_device_context_request_t; jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_selinux_get_device_context_cookie_t jpayne@69: **/ jpayne@69: typedef struct xcb_selinux_get_device_context_cookie_t { jpayne@69: unsigned int sequence; jpayne@69: } xcb_selinux_get_device_context_cookie_t; jpayne@69: jpayne@69: /** Opcode for xcb_selinux_get_device_context. */ jpayne@69: #define XCB_SELINUX_GET_DEVICE_CONTEXT 4 jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_selinux_get_device_context_request_t jpayne@69: **/ jpayne@69: typedef struct xcb_selinux_get_device_context_request_t { jpayne@69: uint8_t major_opcode; jpayne@69: uint8_t minor_opcode; jpayne@69: uint16_t length; jpayne@69: uint32_t device; jpayne@69: } xcb_selinux_get_device_context_request_t; jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_selinux_get_device_context_reply_t jpayne@69: **/ jpayne@69: typedef struct xcb_selinux_get_device_context_reply_t { jpayne@69: uint8_t response_type; jpayne@69: uint8_t pad0; jpayne@69: uint16_t sequence; jpayne@69: uint32_t length; jpayne@69: uint32_t context_len; jpayne@69: uint8_t pad1[20]; jpayne@69: } xcb_selinux_get_device_context_reply_t; jpayne@69: jpayne@69: /** Opcode for xcb_selinux_set_window_create_context. */ jpayne@69: #define XCB_SELINUX_SET_WINDOW_CREATE_CONTEXT 5 jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_selinux_set_window_create_context_request_t jpayne@69: **/ jpayne@69: typedef struct xcb_selinux_set_window_create_context_request_t { jpayne@69: uint8_t major_opcode; jpayne@69: uint8_t minor_opcode; jpayne@69: uint16_t length; jpayne@69: uint32_t context_len; jpayne@69: } xcb_selinux_set_window_create_context_request_t; jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_selinux_get_window_create_context_cookie_t jpayne@69: **/ jpayne@69: typedef struct xcb_selinux_get_window_create_context_cookie_t { jpayne@69: unsigned int sequence; jpayne@69: } xcb_selinux_get_window_create_context_cookie_t; jpayne@69: jpayne@69: /** Opcode for xcb_selinux_get_window_create_context. */ jpayne@69: #define XCB_SELINUX_GET_WINDOW_CREATE_CONTEXT 6 jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_selinux_get_window_create_context_request_t jpayne@69: **/ jpayne@69: typedef struct xcb_selinux_get_window_create_context_request_t { jpayne@69: uint8_t major_opcode; jpayne@69: uint8_t minor_opcode; jpayne@69: uint16_t length; jpayne@69: } xcb_selinux_get_window_create_context_request_t; jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_selinux_get_window_create_context_reply_t jpayne@69: **/ jpayne@69: typedef struct xcb_selinux_get_window_create_context_reply_t { jpayne@69: uint8_t response_type; jpayne@69: uint8_t pad0; jpayne@69: uint16_t sequence; jpayne@69: uint32_t length; jpayne@69: uint32_t context_len; jpayne@69: uint8_t pad1[20]; jpayne@69: } xcb_selinux_get_window_create_context_reply_t; jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_selinux_get_window_context_cookie_t jpayne@69: **/ jpayne@69: typedef struct xcb_selinux_get_window_context_cookie_t { jpayne@69: unsigned int sequence; jpayne@69: } xcb_selinux_get_window_context_cookie_t; jpayne@69: jpayne@69: /** Opcode for xcb_selinux_get_window_context. */ jpayne@69: #define XCB_SELINUX_GET_WINDOW_CONTEXT 7 jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_selinux_get_window_context_request_t jpayne@69: **/ jpayne@69: typedef struct xcb_selinux_get_window_context_request_t { jpayne@69: uint8_t major_opcode; jpayne@69: uint8_t minor_opcode; jpayne@69: uint16_t length; jpayne@69: xcb_window_t window; jpayne@69: } xcb_selinux_get_window_context_request_t; jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_selinux_get_window_context_reply_t jpayne@69: **/ jpayne@69: typedef struct xcb_selinux_get_window_context_reply_t { jpayne@69: uint8_t response_type; jpayne@69: uint8_t pad0; jpayne@69: uint16_t sequence; jpayne@69: uint32_t length; jpayne@69: uint32_t context_len; jpayne@69: uint8_t pad1[20]; jpayne@69: } xcb_selinux_get_window_context_reply_t; jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_selinux_list_item_t jpayne@69: **/ jpayne@69: typedef struct xcb_selinux_list_item_t { jpayne@69: xcb_atom_t name; jpayne@69: uint32_t object_context_len; jpayne@69: uint32_t data_context_len; jpayne@69: } xcb_selinux_list_item_t; jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_selinux_list_item_iterator_t jpayne@69: **/ jpayne@69: typedef struct xcb_selinux_list_item_iterator_t { jpayne@69: xcb_selinux_list_item_t *data; jpayne@69: int rem; jpayne@69: int index; jpayne@69: } xcb_selinux_list_item_iterator_t; jpayne@69: jpayne@69: /** Opcode for xcb_selinux_set_property_create_context. */ jpayne@69: #define XCB_SELINUX_SET_PROPERTY_CREATE_CONTEXT 8 jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_selinux_set_property_create_context_request_t jpayne@69: **/ jpayne@69: typedef struct xcb_selinux_set_property_create_context_request_t { jpayne@69: uint8_t major_opcode; jpayne@69: uint8_t minor_opcode; jpayne@69: uint16_t length; jpayne@69: uint32_t context_len; jpayne@69: } xcb_selinux_set_property_create_context_request_t; jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_selinux_get_property_create_context_cookie_t jpayne@69: **/ jpayne@69: typedef struct xcb_selinux_get_property_create_context_cookie_t { jpayne@69: unsigned int sequence; jpayne@69: } xcb_selinux_get_property_create_context_cookie_t; jpayne@69: jpayne@69: /** Opcode for xcb_selinux_get_property_create_context. */ jpayne@69: #define XCB_SELINUX_GET_PROPERTY_CREATE_CONTEXT 9 jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_selinux_get_property_create_context_request_t jpayne@69: **/ jpayne@69: typedef struct xcb_selinux_get_property_create_context_request_t { jpayne@69: uint8_t major_opcode; jpayne@69: uint8_t minor_opcode; jpayne@69: uint16_t length; jpayne@69: } xcb_selinux_get_property_create_context_request_t; jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_selinux_get_property_create_context_reply_t jpayne@69: **/ jpayne@69: typedef struct xcb_selinux_get_property_create_context_reply_t { jpayne@69: uint8_t response_type; jpayne@69: uint8_t pad0; jpayne@69: uint16_t sequence; jpayne@69: uint32_t length; jpayne@69: uint32_t context_len; jpayne@69: uint8_t pad1[20]; jpayne@69: } xcb_selinux_get_property_create_context_reply_t; jpayne@69: jpayne@69: /** Opcode for xcb_selinux_set_property_use_context. */ jpayne@69: #define XCB_SELINUX_SET_PROPERTY_USE_CONTEXT 10 jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_selinux_set_property_use_context_request_t jpayne@69: **/ jpayne@69: typedef struct xcb_selinux_set_property_use_context_request_t { jpayne@69: uint8_t major_opcode; jpayne@69: uint8_t minor_opcode; jpayne@69: uint16_t length; jpayne@69: uint32_t context_len; jpayne@69: } xcb_selinux_set_property_use_context_request_t; jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_selinux_get_property_use_context_cookie_t jpayne@69: **/ jpayne@69: typedef struct xcb_selinux_get_property_use_context_cookie_t { jpayne@69: unsigned int sequence; jpayne@69: } xcb_selinux_get_property_use_context_cookie_t; jpayne@69: jpayne@69: /** Opcode for xcb_selinux_get_property_use_context. */ jpayne@69: #define XCB_SELINUX_GET_PROPERTY_USE_CONTEXT 11 jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_selinux_get_property_use_context_request_t jpayne@69: **/ jpayne@69: typedef struct xcb_selinux_get_property_use_context_request_t { jpayne@69: uint8_t major_opcode; jpayne@69: uint8_t minor_opcode; jpayne@69: uint16_t length; jpayne@69: } xcb_selinux_get_property_use_context_request_t; jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_selinux_get_property_use_context_reply_t jpayne@69: **/ jpayne@69: typedef struct xcb_selinux_get_property_use_context_reply_t { jpayne@69: uint8_t response_type; jpayne@69: uint8_t pad0; jpayne@69: uint16_t sequence; jpayne@69: uint32_t length; jpayne@69: uint32_t context_len; jpayne@69: uint8_t pad1[20]; jpayne@69: } xcb_selinux_get_property_use_context_reply_t; jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_selinux_get_property_context_cookie_t jpayne@69: **/ jpayne@69: typedef struct xcb_selinux_get_property_context_cookie_t { jpayne@69: unsigned int sequence; jpayne@69: } xcb_selinux_get_property_context_cookie_t; jpayne@69: jpayne@69: /** Opcode for xcb_selinux_get_property_context. */ jpayne@69: #define XCB_SELINUX_GET_PROPERTY_CONTEXT 12 jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_selinux_get_property_context_request_t jpayne@69: **/ jpayne@69: typedef struct xcb_selinux_get_property_context_request_t { jpayne@69: uint8_t major_opcode; jpayne@69: uint8_t minor_opcode; jpayne@69: uint16_t length; jpayne@69: xcb_window_t window; jpayne@69: xcb_atom_t property; jpayne@69: } xcb_selinux_get_property_context_request_t; jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_selinux_get_property_context_reply_t jpayne@69: **/ jpayne@69: typedef struct xcb_selinux_get_property_context_reply_t { jpayne@69: uint8_t response_type; jpayne@69: uint8_t pad0; jpayne@69: uint16_t sequence; jpayne@69: uint32_t length; jpayne@69: uint32_t context_len; jpayne@69: uint8_t pad1[20]; jpayne@69: } xcb_selinux_get_property_context_reply_t; jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_selinux_get_property_data_context_cookie_t jpayne@69: **/ jpayne@69: typedef struct xcb_selinux_get_property_data_context_cookie_t { jpayne@69: unsigned int sequence; jpayne@69: } xcb_selinux_get_property_data_context_cookie_t; jpayne@69: jpayne@69: /** Opcode for xcb_selinux_get_property_data_context. */ jpayne@69: #define XCB_SELINUX_GET_PROPERTY_DATA_CONTEXT 13 jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_selinux_get_property_data_context_request_t jpayne@69: **/ jpayne@69: typedef struct xcb_selinux_get_property_data_context_request_t { jpayne@69: uint8_t major_opcode; jpayne@69: uint8_t minor_opcode; jpayne@69: uint16_t length; jpayne@69: xcb_window_t window; jpayne@69: xcb_atom_t property; jpayne@69: } xcb_selinux_get_property_data_context_request_t; jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_selinux_get_property_data_context_reply_t jpayne@69: **/ jpayne@69: typedef struct xcb_selinux_get_property_data_context_reply_t { jpayne@69: uint8_t response_type; jpayne@69: uint8_t pad0; jpayne@69: uint16_t sequence; jpayne@69: uint32_t length; jpayne@69: uint32_t context_len; jpayne@69: uint8_t pad1[20]; jpayne@69: } xcb_selinux_get_property_data_context_reply_t; jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_selinux_list_properties_cookie_t jpayne@69: **/ jpayne@69: typedef struct xcb_selinux_list_properties_cookie_t { jpayne@69: unsigned int sequence; jpayne@69: } xcb_selinux_list_properties_cookie_t; jpayne@69: jpayne@69: /** Opcode for xcb_selinux_list_properties. */ jpayne@69: #define XCB_SELINUX_LIST_PROPERTIES 14 jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_selinux_list_properties_request_t jpayne@69: **/ jpayne@69: typedef struct xcb_selinux_list_properties_request_t { jpayne@69: uint8_t major_opcode; jpayne@69: uint8_t minor_opcode; jpayne@69: uint16_t length; jpayne@69: xcb_window_t window; jpayne@69: } xcb_selinux_list_properties_request_t; jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_selinux_list_properties_reply_t jpayne@69: **/ jpayne@69: typedef struct xcb_selinux_list_properties_reply_t { jpayne@69: uint8_t response_type; jpayne@69: uint8_t pad0; jpayne@69: uint16_t sequence; jpayne@69: uint32_t length; jpayne@69: uint32_t properties_len; jpayne@69: uint8_t pad1[20]; jpayne@69: } xcb_selinux_list_properties_reply_t; jpayne@69: jpayne@69: /** Opcode for xcb_selinux_set_selection_create_context. */ jpayne@69: #define XCB_SELINUX_SET_SELECTION_CREATE_CONTEXT 15 jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_selinux_set_selection_create_context_request_t jpayne@69: **/ jpayne@69: typedef struct xcb_selinux_set_selection_create_context_request_t { jpayne@69: uint8_t major_opcode; jpayne@69: uint8_t minor_opcode; jpayne@69: uint16_t length; jpayne@69: uint32_t context_len; jpayne@69: } xcb_selinux_set_selection_create_context_request_t; jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_selinux_get_selection_create_context_cookie_t jpayne@69: **/ jpayne@69: typedef struct xcb_selinux_get_selection_create_context_cookie_t { jpayne@69: unsigned int sequence; jpayne@69: } xcb_selinux_get_selection_create_context_cookie_t; jpayne@69: jpayne@69: /** Opcode for xcb_selinux_get_selection_create_context. */ jpayne@69: #define XCB_SELINUX_GET_SELECTION_CREATE_CONTEXT 16 jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_selinux_get_selection_create_context_request_t jpayne@69: **/ jpayne@69: typedef struct xcb_selinux_get_selection_create_context_request_t { jpayne@69: uint8_t major_opcode; jpayne@69: uint8_t minor_opcode; jpayne@69: uint16_t length; jpayne@69: } xcb_selinux_get_selection_create_context_request_t; jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_selinux_get_selection_create_context_reply_t jpayne@69: **/ jpayne@69: typedef struct xcb_selinux_get_selection_create_context_reply_t { jpayne@69: uint8_t response_type; jpayne@69: uint8_t pad0; jpayne@69: uint16_t sequence; jpayne@69: uint32_t length; jpayne@69: uint32_t context_len; jpayne@69: uint8_t pad1[20]; jpayne@69: } xcb_selinux_get_selection_create_context_reply_t; jpayne@69: jpayne@69: /** Opcode for xcb_selinux_set_selection_use_context. */ jpayne@69: #define XCB_SELINUX_SET_SELECTION_USE_CONTEXT 17 jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_selinux_set_selection_use_context_request_t jpayne@69: **/ jpayne@69: typedef struct xcb_selinux_set_selection_use_context_request_t { jpayne@69: uint8_t major_opcode; jpayne@69: uint8_t minor_opcode; jpayne@69: uint16_t length; jpayne@69: uint32_t context_len; jpayne@69: } xcb_selinux_set_selection_use_context_request_t; jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_selinux_get_selection_use_context_cookie_t jpayne@69: **/ jpayne@69: typedef struct xcb_selinux_get_selection_use_context_cookie_t { jpayne@69: unsigned int sequence; jpayne@69: } xcb_selinux_get_selection_use_context_cookie_t; jpayne@69: jpayne@69: /** Opcode for xcb_selinux_get_selection_use_context. */ jpayne@69: #define XCB_SELINUX_GET_SELECTION_USE_CONTEXT 18 jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_selinux_get_selection_use_context_request_t jpayne@69: **/ jpayne@69: typedef struct xcb_selinux_get_selection_use_context_request_t { jpayne@69: uint8_t major_opcode; jpayne@69: uint8_t minor_opcode; jpayne@69: uint16_t length; jpayne@69: } xcb_selinux_get_selection_use_context_request_t; jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_selinux_get_selection_use_context_reply_t jpayne@69: **/ jpayne@69: typedef struct xcb_selinux_get_selection_use_context_reply_t { jpayne@69: uint8_t response_type; jpayne@69: uint8_t pad0; jpayne@69: uint16_t sequence; jpayne@69: uint32_t length; jpayne@69: uint32_t context_len; jpayne@69: uint8_t pad1[20]; jpayne@69: } xcb_selinux_get_selection_use_context_reply_t; jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_selinux_get_selection_context_cookie_t jpayne@69: **/ jpayne@69: typedef struct xcb_selinux_get_selection_context_cookie_t { jpayne@69: unsigned int sequence; jpayne@69: } xcb_selinux_get_selection_context_cookie_t; jpayne@69: jpayne@69: /** Opcode for xcb_selinux_get_selection_context. */ jpayne@69: #define XCB_SELINUX_GET_SELECTION_CONTEXT 19 jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_selinux_get_selection_context_request_t jpayne@69: **/ jpayne@69: typedef struct xcb_selinux_get_selection_context_request_t { jpayne@69: uint8_t major_opcode; jpayne@69: uint8_t minor_opcode; jpayne@69: uint16_t length; jpayne@69: xcb_atom_t selection; jpayne@69: } xcb_selinux_get_selection_context_request_t; jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_selinux_get_selection_context_reply_t jpayne@69: **/ jpayne@69: typedef struct xcb_selinux_get_selection_context_reply_t { jpayne@69: uint8_t response_type; jpayne@69: uint8_t pad0; jpayne@69: uint16_t sequence; jpayne@69: uint32_t length; jpayne@69: uint32_t context_len; jpayne@69: uint8_t pad1[20]; jpayne@69: } xcb_selinux_get_selection_context_reply_t; jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_selinux_get_selection_data_context_cookie_t jpayne@69: **/ jpayne@69: typedef struct xcb_selinux_get_selection_data_context_cookie_t { jpayne@69: unsigned int sequence; jpayne@69: } xcb_selinux_get_selection_data_context_cookie_t; jpayne@69: jpayne@69: /** Opcode for xcb_selinux_get_selection_data_context. */ jpayne@69: #define XCB_SELINUX_GET_SELECTION_DATA_CONTEXT 20 jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_selinux_get_selection_data_context_request_t jpayne@69: **/ jpayne@69: typedef struct xcb_selinux_get_selection_data_context_request_t { jpayne@69: uint8_t major_opcode; jpayne@69: uint8_t minor_opcode; jpayne@69: uint16_t length; jpayne@69: xcb_atom_t selection; jpayne@69: } xcb_selinux_get_selection_data_context_request_t; jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_selinux_get_selection_data_context_reply_t jpayne@69: **/ jpayne@69: typedef struct xcb_selinux_get_selection_data_context_reply_t { jpayne@69: uint8_t response_type; jpayne@69: uint8_t pad0; jpayne@69: uint16_t sequence; jpayne@69: uint32_t length; jpayne@69: uint32_t context_len; jpayne@69: uint8_t pad1[20]; jpayne@69: } xcb_selinux_get_selection_data_context_reply_t; jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_selinux_list_selections_cookie_t jpayne@69: **/ jpayne@69: typedef struct xcb_selinux_list_selections_cookie_t { jpayne@69: unsigned int sequence; jpayne@69: } xcb_selinux_list_selections_cookie_t; jpayne@69: jpayne@69: /** Opcode for xcb_selinux_list_selections. */ jpayne@69: #define XCB_SELINUX_LIST_SELECTIONS 21 jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_selinux_list_selections_request_t jpayne@69: **/ jpayne@69: typedef struct xcb_selinux_list_selections_request_t { jpayne@69: uint8_t major_opcode; jpayne@69: uint8_t minor_opcode; jpayne@69: uint16_t length; jpayne@69: } xcb_selinux_list_selections_request_t; jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_selinux_list_selections_reply_t jpayne@69: **/ jpayne@69: typedef struct xcb_selinux_list_selections_reply_t { jpayne@69: uint8_t response_type; jpayne@69: uint8_t pad0; jpayne@69: uint16_t sequence; jpayne@69: uint32_t length; jpayne@69: uint32_t selections_len; jpayne@69: uint8_t pad1[20]; jpayne@69: } xcb_selinux_list_selections_reply_t; jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_selinux_get_client_context_cookie_t jpayne@69: **/ jpayne@69: typedef struct xcb_selinux_get_client_context_cookie_t { jpayne@69: unsigned int sequence; jpayne@69: } xcb_selinux_get_client_context_cookie_t; jpayne@69: jpayne@69: /** Opcode for xcb_selinux_get_client_context. */ jpayne@69: #define XCB_SELINUX_GET_CLIENT_CONTEXT 22 jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_selinux_get_client_context_request_t jpayne@69: **/ jpayne@69: typedef struct xcb_selinux_get_client_context_request_t { jpayne@69: uint8_t major_opcode; jpayne@69: uint8_t minor_opcode; jpayne@69: uint16_t length; jpayne@69: uint32_t resource; jpayne@69: } xcb_selinux_get_client_context_request_t; jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_selinux_get_client_context_reply_t jpayne@69: **/ jpayne@69: typedef struct xcb_selinux_get_client_context_reply_t { jpayne@69: uint8_t response_type; jpayne@69: uint8_t pad0; jpayne@69: uint16_t sequence; jpayne@69: uint32_t length; jpayne@69: uint32_t context_len; jpayne@69: uint8_t pad1[20]; jpayne@69: } xcb_selinux_get_client_context_reply_t; jpayne@69: jpayne@69: /** jpayne@69: * jpayne@69: * @param c The connection jpayne@69: * @return A cookie jpayne@69: * jpayne@69: * Delivers a request to the X server. jpayne@69: * jpayne@69: */ jpayne@69: xcb_selinux_query_version_cookie_t jpayne@69: xcb_selinux_query_version (xcb_connection_t *c, jpayne@69: uint8_t client_major, jpayne@69: uint8_t client_minor); jpayne@69: jpayne@69: /** jpayne@69: * jpayne@69: * @param c The connection jpayne@69: * @return A cookie jpayne@69: * jpayne@69: * Delivers a request to the X server. jpayne@69: * jpayne@69: * This form can be used only if the request will cause jpayne@69: * a reply to be generated. Any returned error will be jpayne@69: * placed in the event queue. jpayne@69: */ jpayne@69: xcb_selinux_query_version_cookie_t jpayne@69: xcb_selinux_query_version_unchecked (xcb_connection_t *c, jpayne@69: uint8_t client_major, jpayne@69: uint8_t client_minor); jpayne@69: jpayne@69: /** jpayne@69: * Return the reply jpayne@69: * @param c The connection jpayne@69: * @param cookie The cookie jpayne@69: * @param e The xcb_generic_error_t supplied jpayne@69: * jpayne@69: * Returns the reply of the request asked by jpayne@69: * jpayne@69: * The parameter @p e supplied to this function must be NULL if jpayne@69: * xcb_selinux_query_version_unchecked(). is used. jpayne@69: * Otherwise, it stores the error if any. jpayne@69: * jpayne@69: * The returned value must be freed by the caller using free(). jpayne@69: */ jpayne@69: xcb_selinux_query_version_reply_t * jpayne@69: xcb_selinux_query_version_reply (xcb_connection_t *c, jpayne@69: xcb_selinux_query_version_cookie_t cookie /**< */, jpayne@69: xcb_generic_error_t **e); jpayne@69: jpayne@69: int jpayne@69: xcb_selinux_set_device_create_context_sizeof (const void *_buffer); jpayne@69: jpayne@69: /** jpayne@69: * jpayne@69: * @param c The connection jpayne@69: * @return A cookie jpayne@69: * jpayne@69: * Delivers a request to the X server. jpayne@69: * jpayne@69: * This form can be used only if the request will not cause jpayne@69: * a reply to be generated. Any returned error will be jpayne@69: * saved for handling by xcb_request_check(). jpayne@69: */ jpayne@69: xcb_void_cookie_t jpayne@69: xcb_selinux_set_device_create_context_checked (xcb_connection_t *c, jpayne@69: uint32_t context_len, jpayne@69: const char *context); jpayne@69: jpayne@69: /** jpayne@69: * jpayne@69: * @param c The connection jpayne@69: * @return A cookie jpayne@69: * jpayne@69: * Delivers a request to the X server. jpayne@69: * jpayne@69: */ jpayne@69: xcb_void_cookie_t jpayne@69: xcb_selinux_set_device_create_context (xcb_connection_t *c, jpayne@69: uint32_t context_len, jpayne@69: const char *context); jpayne@69: jpayne@69: char * jpayne@69: xcb_selinux_set_device_create_context_context (const xcb_selinux_set_device_create_context_request_t *R); jpayne@69: jpayne@69: int jpayne@69: xcb_selinux_set_device_create_context_context_length (const xcb_selinux_set_device_create_context_request_t *R); jpayne@69: jpayne@69: xcb_generic_iterator_t jpayne@69: xcb_selinux_set_device_create_context_context_end (const xcb_selinux_set_device_create_context_request_t *R); jpayne@69: jpayne@69: int jpayne@69: xcb_selinux_get_device_create_context_sizeof (const void *_buffer); jpayne@69: jpayne@69: /** jpayne@69: * jpayne@69: * @param c The connection jpayne@69: * @return A cookie jpayne@69: * jpayne@69: * Delivers a request to the X server. jpayne@69: * jpayne@69: */ jpayne@69: xcb_selinux_get_device_create_context_cookie_t jpayne@69: xcb_selinux_get_device_create_context (xcb_connection_t *c); jpayne@69: jpayne@69: /** jpayne@69: * jpayne@69: * @param c The connection jpayne@69: * @return A cookie jpayne@69: * jpayne@69: * Delivers a request to the X server. jpayne@69: * jpayne@69: * This form can be used only if the request will cause jpayne@69: * a reply to be generated. Any returned error will be jpayne@69: * placed in the event queue. jpayne@69: */ jpayne@69: xcb_selinux_get_device_create_context_cookie_t jpayne@69: xcb_selinux_get_device_create_context_unchecked (xcb_connection_t *c); jpayne@69: jpayne@69: char * jpayne@69: xcb_selinux_get_device_create_context_context (const xcb_selinux_get_device_create_context_reply_t *R); jpayne@69: jpayne@69: int jpayne@69: xcb_selinux_get_device_create_context_context_length (const xcb_selinux_get_device_create_context_reply_t *R); jpayne@69: jpayne@69: xcb_generic_iterator_t jpayne@69: xcb_selinux_get_device_create_context_context_end (const xcb_selinux_get_device_create_context_reply_t *R); jpayne@69: jpayne@69: /** jpayne@69: * Return the reply jpayne@69: * @param c The connection jpayne@69: * @param cookie The cookie jpayne@69: * @param e The xcb_generic_error_t supplied jpayne@69: * jpayne@69: * Returns the reply of the request asked by jpayne@69: * jpayne@69: * The parameter @p e supplied to this function must be NULL if jpayne@69: * xcb_selinux_get_device_create_context_unchecked(). is used. jpayne@69: * Otherwise, it stores the error if any. jpayne@69: * jpayne@69: * The returned value must be freed by the caller using free(). jpayne@69: */ jpayne@69: xcb_selinux_get_device_create_context_reply_t * jpayne@69: xcb_selinux_get_device_create_context_reply (xcb_connection_t *c, jpayne@69: xcb_selinux_get_device_create_context_cookie_t cookie /**< */, jpayne@69: xcb_generic_error_t **e); jpayne@69: jpayne@69: int jpayne@69: xcb_selinux_set_device_context_sizeof (const void *_buffer); jpayne@69: jpayne@69: /** jpayne@69: * jpayne@69: * @param c The connection jpayne@69: * @return A cookie jpayne@69: * jpayne@69: * Delivers a request to the X server. jpayne@69: * jpayne@69: * This form can be used only if the request will not cause jpayne@69: * a reply to be generated. Any returned error will be jpayne@69: * saved for handling by xcb_request_check(). jpayne@69: */ jpayne@69: xcb_void_cookie_t jpayne@69: xcb_selinux_set_device_context_checked (xcb_connection_t *c, jpayne@69: uint32_t device, jpayne@69: uint32_t context_len, jpayne@69: const char *context); jpayne@69: jpayne@69: /** jpayne@69: * jpayne@69: * @param c The connection jpayne@69: * @return A cookie jpayne@69: * jpayne@69: * Delivers a request to the X server. jpayne@69: * jpayne@69: */ jpayne@69: xcb_void_cookie_t jpayne@69: xcb_selinux_set_device_context (xcb_connection_t *c, jpayne@69: uint32_t device, jpayne@69: uint32_t context_len, jpayne@69: const char *context); jpayne@69: jpayne@69: char * jpayne@69: xcb_selinux_set_device_context_context (const xcb_selinux_set_device_context_request_t *R); jpayne@69: jpayne@69: int jpayne@69: xcb_selinux_set_device_context_context_length (const xcb_selinux_set_device_context_request_t *R); jpayne@69: jpayne@69: xcb_generic_iterator_t jpayne@69: xcb_selinux_set_device_context_context_end (const xcb_selinux_set_device_context_request_t *R); jpayne@69: jpayne@69: int jpayne@69: xcb_selinux_get_device_context_sizeof (const void *_buffer); jpayne@69: jpayne@69: /** jpayne@69: * jpayne@69: * @param c The connection jpayne@69: * @return A cookie jpayne@69: * jpayne@69: * Delivers a request to the X server. jpayne@69: * jpayne@69: */ jpayne@69: xcb_selinux_get_device_context_cookie_t jpayne@69: xcb_selinux_get_device_context (xcb_connection_t *c, jpayne@69: uint32_t device); jpayne@69: jpayne@69: /** jpayne@69: * jpayne@69: * @param c The connection jpayne@69: * @return A cookie jpayne@69: * jpayne@69: * Delivers a request to the X server. jpayne@69: * jpayne@69: * This form can be used only if the request will cause jpayne@69: * a reply to be generated. Any returned error will be jpayne@69: * placed in the event queue. jpayne@69: */ jpayne@69: xcb_selinux_get_device_context_cookie_t jpayne@69: xcb_selinux_get_device_context_unchecked (xcb_connection_t *c, jpayne@69: uint32_t device); jpayne@69: jpayne@69: char * jpayne@69: xcb_selinux_get_device_context_context (const xcb_selinux_get_device_context_reply_t *R); jpayne@69: jpayne@69: int jpayne@69: xcb_selinux_get_device_context_context_length (const xcb_selinux_get_device_context_reply_t *R); jpayne@69: jpayne@69: xcb_generic_iterator_t jpayne@69: xcb_selinux_get_device_context_context_end (const xcb_selinux_get_device_context_reply_t *R); jpayne@69: jpayne@69: /** jpayne@69: * Return the reply jpayne@69: * @param c The connection jpayne@69: * @param cookie The cookie jpayne@69: * @param e The xcb_generic_error_t supplied jpayne@69: * jpayne@69: * Returns the reply of the request asked by jpayne@69: * jpayne@69: * The parameter @p e supplied to this function must be NULL if jpayne@69: * xcb_selinux_get_device_context_unchecked(). is used. jpayne@69: * Otherwise, it stores the error if any. jpayne@69: * jpayne@69: * The returned value must be freed by the caller using free(). jpayne@69: */ jpayne@69: xcb_selinux_get_device_context_reply_t * jpayne@69: xcb_selinux_get_device_context_reply (xcb_connection_t *c, jpayne@69: xcb_selinux_get_device_context_cookie_t cookie /**< */, jpayne@69: xcb_generic_error_t **e); jpayne@69: jpayne@69: int jpayne@69: xcb_selinux_set_window_create_context_sizeof (const void *_buffer); jpayne@69: jpayne@69: /** jpayne@69: * jpayne@69: * @param c The connection jpayne@69: * @return A cookie jpayne@69: * jpayne@69: * Delivers a request to the X server. jpayne@69: * jpayne@69: * This form can be used only if the request will not cause jpayne@69: * a reply to be generated. Any returned error will be jpayne@69: * saved for handling by xcb_request_check(). jpayne@69: */ jpayne@69: xcb_void_cookie_t jpayne@69: xcb_selinux_set_window_create_context_checked (xcb_connection_t *c, jpayne@69: uint32_t context_len, jpayne@69: const char *context); jpayne@69: jpayne@69: /** jpayne@69: * jpayne@69: * @param c The connection jpayne@69: * @return A cookie jpayne@69: * jpayne@69: * Delivers a request to the X server. jpayne@69: * jpayne@69: */ jpayne@69: xcb_void_cookie_t jpayne@69: xcb_selinux_set_window_create_context (xcb_connection_t *c, jpayne@69: uint32_t context_len, jpayne@69: const char *context); jpayne@69: jpayne@69: char * jpayne@69: xcb_selinux_set_window_create_context_context (const xcb_selinux_set_window_create_context_request_t *R); jpayne@69: jpayne@69: int jpayne@69: xcb_selinux_set_window_create_context_context_length (const xcb_selinux_set_window_create_context_request_t *R); jpayne@69: jpayne@69: xcb_generic_iterator_t jpayne@69: xcb_selinux_set_window_create_context_context_end (const xcb_selinux_set_window_create_context_request_t *R); jpayne@69: jpayne@69: int jpayne@69: xcb_selinux_get_window_create_context_sizeof (const void *_buffer); jpayne@69: jpayne@69: /** jpayne@69: * jpayne@69: * @param c The connection jpayne@69: * @return A cookie jpayne@69: * jpayne@69: * Delivers a request to the X server. jpayne@69: * jpayne@69: */ jpayne@69: xcb_selinux_get_window_create_context_cookie_t jpayne@69: xcb_selinux_get_window_create_context (xcb_connection_t *c); jpayne@69: jpayne@69: /** jpayne@69: * jpayne@69: * @param c The connection jpayne@69: * @return A cookie jpayne@69: * jpayne@69: * Delivers a request to the X server. jpayne@69: * jpayne@69: * This form can be used only if the request will cause jpayne@69: * a reply to be generated. Any returned error will be jpayne@69: * placed in the event queue. jpayne@69: */ jpayne@69: xcb_selinux_get_window_create_context_cookie_t jpayne@69: xcb_selinux_get_window_create_context_unchecked (xcb_connection_t *c); jpayne@69: jpayne@69: char * jpayne@69: xcb_selinux_get_window_create_context_context (const xcb_selinux_get_window_create_context_reply_t *R); jpayne@69: jpayne@69: int jpayne@69: xcb_selinux_get_window_create_context_context_length (const xcb_selinux_get_window_create_context_reply_t *R); jpayne@69: jpayne@69: xcb_generic_iterator_t jpayne@69: xcb_selinux_get_window_create_context_context_end (const xcb_selinux_get_window_create_context_reply_t *R); jpayne@69: jpayne@69: /** jpayne@69: * Return the reply jpayne@69: * @param c The connection jpayne@69: * @param cookie The cookie jpayne@69: * @param e The xcb_generic_error_t supplied jpayne@69: * jpayne@69: * Returns the reply of the request asked by jpayne@69: * jpayne@69: * The parameter @p e supplied to this function must be NULL if jpayne@69: * xcb_selinux_get_window_create_context_unchecked(). is used. jpayne@69: * Otherwise, it stores the error if any. jpayne@69: * jpayne@69: * The returned value must be freed by the caller using free(). jpayne@69: */ jpayne@69: xcb_selinux_get_window_create_context_reply_t * jpayne@69: xcb_selinux_get_window_create_context_reply (xcb_connection_t *c, jpayne@69: xcb_selinux_get_window_create_context_cookie_t cookie /**< */, jpayne@69: xcb_generic_error_t **e); jpayne@69: jpayne@69: int jpayne@69: xcb_selinux_get_window_context_sizeof (const void *_buffer); jpayne@69: jpayne@69: /** jpayne@69: * jpayne@69: * @param c The connection jpayne@69: * @return A cookie jpayne@69: * jpayne@69: * Delivers a request to the X server. jpayne@69: * jpayne@69: */ jpayne@69: xcb_selinux_get_window_context_cookie_t jpayne@69: xcb_selinux_get_window_context (xcb_connection_t *c, jpayne@69: xcb_window_t window); jpayne@69: jpayne@69: /** jpayne@69: * jpayne@69: * @param c The connection jpayne@69: * @return A cookie jpayne@69: * jpayne@69: * Delivers a request to the X server. jpayne@69: * jpayne@69: * This form can be used only if the request will cause jpayne@69: * a reply to be generated. Any returned error will be jpayne@69: * placed in the event queue. jpayne@69: */ jpayne@69: xcb_selinux_get_window_context_cookie_t jpayne@69: xcb_selinux_get_window_context_unchecked (xcb_connection_t *c, jpayne@69: xcb_window_t window); jpayne@69: jpayne@69: char * jpayne@69: xcb_selinux_get_window_context_context (const xcb_selinux_get_window_context_reply_t *R); jpayne@69: jpayne@69: int jpayne@69: xcb_selinux_get_window_context_context_length (const xcb_selinux_get_window_context_reply_t *R); jpayne@69: jpayne@69: xcb_generic_iterator_t jpayne@69: xcb_selinux_get_window_context_context_end (const xcb_selinux_get_window_context_reply_t *R); jpayne@69: jpayne@69: /** jpayne@69: * Return the reply jpayne@69: * @param c The connection jpayne@69: * @param cookie The cookie jpayne@69: * @param e The xcb_generic_error_t supplied jpayne@69: * jpayne@69: * Returns the reply of the request asked by jpayne@69: * jpayne@69: * The parameter @p e supplied to this function must be NULL if jpayne@69: * xcb_selinux_get_window_context_unchecked(). is used. jpayne@69: * Otherwise, it stores the error if any. jpayne@69: * jpayne@69: * The returned value must be freed by the caller using free(). jpayne@69: */ jpayne@69: xcb_selinux_get_window_context_reply_t * jpayne@69: xcb_selinux_get_window_context_reply (xcb_connection_t *c, jpayne@69: xcb_selinux_get_window_context_cookie_t cookie /**< */, jpayne@69: xcb_generic_error_t **e); jpayne@69: jpayne@69: int jpayne@69: xcb_selinux_list_item_sizeof (const void *_buffer); jpayne@69: jpayne@69: char * jpayne@69: xcb_selinux_list_item_object_context (const xcb_selinux_list_item_t *R); jpayne@69: jpayne@69: int jpayne@69: xcb_selinux_list_item_object_context_length (const xcb_selinux_list_item_t *R); jpayne@69: jpayne@69: xcb_generic_iterator_t jpayne@69: xcb_selinux_list_item_object_context_end (const xcb_selinux_list_item_t *R); jpayne@69: jpayne@69: char * jpayne@69: xcb_selinux_list_item_data_context (const xcb_selinux_list_item_t *R); jpayne@69: jpayne@69: int jpayne@69: xcb_selinux_list_item_data_context_length (const xcb_selinux_list_item_t *R); jpayne@69: jpayne@69: xcb_generic_iterator_t jpayne@69: xcb_selinux_list_item_data_context_end (const xcb_selinux_list_item_t *R); jpayne@69: jpayne@69: /** jpayne@69: * Get the next element of the iterator jpayne@69: * @param i Pointer to a xcb_selinux_list_item_iterator_t jpayne@69: * jpayne@69: * Get the next element in the iterator. The member rem is jpayne@69: * decreased by one. The member data points to the next jpayne@69: * element. The member index is increased by sizeof(xcb_selinux_list_item_t) jpayne@69: */ jpayne@69: void jpayne@69: xcb_selinux_list_item_next (xcb_selinux_list_item_iterator_t *i); jpayne@69: jpayne@69: /** jpayne@69: * Return the iterator pointing to the last element jpayne@69: * @param i An xcb_selinux_list_item_iterator_t jpayne@69: * @return The iterator pointing to the last element jpayne@69: * jpayne@69: * Set the current element in the iterator to the last element. jpayne@69: * The member rem is set to 0. The member data points to the jpayne@69: * last element. jpayne@69: */ jpayne@69: xcb_generic_iterator_t jpayne@69: xcb_selinux_list_item_end (xcb_selinux_list_item_iterator_t i); jpayne@69: jpayne@69: int jpayne@69: xcb_selinux_set_property_create_context_sizeof (const void *_buffer); jpayne@69: jpayne@69: /** jpayne@69: * jpayne@69: * @param c The connection jpayne@69: * @return A cookie jpayne@69: * jpayne@69: * Delivers a request to the X server. jpayne@69: * jpayne@69: * This form can be used only if the request will not cause jpayne@69: * a reply to be generated. Any returned error will be jpayne@69: * saved for handling by xcb_request_check(). jpayne@69: */ jpayne@69: xcb_void_cookie_t jpayne@69: xcb_selinux_set_property_create_context_checked (xcb_connection_t *c, jpayne@69: uint32_t context_len, jpayne@69: const char *context); jpayne@69: jpayne@69: /** jpayne@69: * jpayne@69: * @param c The connection jpayne@69: * @return A cookie jpayne@69: * jpayne@69: * Delivers a request to the X server. jpayne@69: * jpayne@69: */ jpayne@69: xcb_void_cookie_t jpayne@69: xcb_selinux_set_property_create_context (xcb_connection_t *c, jpayne@69: uint32_t context_len, jpayne@69: const char *context); jpayne@69: jpayne@69: char * jpayne@69: xcb_selinux_set_property_create_context_context (const xcb_selinux_set_property_create_context_request_t *R); jpayne@69: jpayne@69: int jpayne@69: xcb_selinux_set_property_create_context_context_length (const xcb_selinux_set_property_create_context_request_t *R); jpayne@69: jpayne@69: xcb_generic_iterator_t jpayne@69: xcb_selinux_set_property_create_context_context_end (const xcb_selinux_set_property_create_context_request_t *R); jpayne@69: jpayne@69: int jpayne@69: xcb_selinux_get_property_create_context_sizeof (const void *_buffer); jpayne@69: jpayne@69: /** jpayne@69: * jpayne@69: * @param c The connection jpayne@69: * @return A cookie jpayne@69: * jpayne@69: * Delivers a request to the X server. jpayne@69: * jpayne@69: */ jpayne@69: xcb_selinux_get_property_create_context_cookie_t jpayne@69: xcb_selinux_get_property_create_context (xcb_connection_t *c); jpayne@69: jpayne@69: /** jpayne@69: * jpayne@69: * @param c The connection jpayne@69: * @return A cookie jpayne@69: * jpayne@69: * Delivers a request to the X server. jpayne@69: * jpayne@69: * This form can be used only if the request will cause jpayne@69: * a reply to be generated. Any returned error will be jpayne@69: * placed in the event queue. jpayne@69: */ jpayne@69: xcb_selinux_get_property_create_context_cookie_t jpayne@69: xcb_selinux_get_property_create_context_unchecked (xcb_connection_t *c); jpayne@69: jpayne@69: char * jpayne@69: xcb_selinux_get_property_create_context_context (const xcb_selinux_get_property_create_context_reply_t *R); jpayne@69: jpayne@69: int jpayne@69: xcb_selinux_get_property_create_context_context_length (const xcb_selinux_get_property_create_context_reply_t *R); jpayne@69: jpayne@69: xcb_generic_iterator_t jpayne@69: xcb_selinux_get_property_create_context_context_end (const xcb_selinux_get_property_create_context_reply_t *R); jpayne@69: jpayne@69: /** jpayne@69: * Return the reply jpayne@69: * @param c The connection jpayne@69: * @param cookie The cookie jpayne@69: * @param e The xcb_generic_error_t supplied jpayne@69: * jpayne@69: * Returns the reply of the request asked by jpayne@69: * jpayne@69: * The parameter @p e supplied to this function must be NULL if jpayne@69: * xcb_selinux_get_property_create_context_unchecked(). is used. jpayne@69: * Otherwise, it stores the error if any. jpayne@69: * jpayne@69: * The returned value must be freed by the caller using free(). jpayne@69: */ jpayne@69: xcb_selinux_get_property_create_context_reply_t * jpayne@69: xcb_selinux_get_property_create_context_reply (xcb_connection_t *c, jpayne@69: xcb_selinux_get_property_create_context_cookie_t cookie /**< */, jpayne@69: xcb_generic_error_t **e); jpayne@69: jpayne@69: int jpayne@69: xcb_selinux_set_property_use_context_sizeof (const void *_buffer); jpayne@69: jpayne@69: /** jpayne@69: * jpayne@69: * @param c The connection jpayne@69: * @return A cookie jpayne@69: * jpayne@69: * Delivers a request to the X server. jpayne@69: * jpayne@69: * This form can be used only if the request will not cause jpayne@69: * a reply to be generated. Any returned error will be jpayne@69: * saved for handling by xcb_request_check(). jpayne@69: */ jpayne@69: xcb_void_cookie_t jpayne@69: xcb_selinux_set_property_use_context_checked (xcb_connection_t *c, jpayne@69: uint32_t context_len, jpayne@69: const char *context); jpayne@69: jpayne@69: /** jpayne@69: * jpayne@69: * @param c The connection jpayne@69: * @return A cookie jpayne@69: * jpayne@69: * Delivers a request to the X server. jpayne@69: * jpayne@69: */ jpayne@69: xcb_void_cookie_t jpayne@69: xcb_selinux_set_property_use_context (xcb_connection_t *c, jpayne@69: uint32_t context_len, jpayne@69: const char *context); jpayne@69: jpayne@69: char * jpayne@69: xcb_selinux_set_property_use_context_context (const xcb_selinux_set_property_use_context_request_t *R); jpayne@69: jpayne@69: int jpayne@69: xcb_selinux_set_property_use_context_context_length (const xcb_selinux_set_property_use_context_request_t *R); jpayne@69: jpayne@69: xcb_generic_iterator_t jpayne@69: xcb_selinux_set_property_use_context_context_end (const xcb_selinux_set_property_use_context_request_t *R); jpayne@69: jpayne@69: int jpayne@69: xcb_selinux_get_property_use_context_sizeof (const void *_buffer); jpayne@69: jpayne@69: /** jpayne@69: * jpayne@69: * @param c The connection jpayne@69: * @return A cookie jpayne@69: * jpayne@69: * Delivers a request to the X server. jpayne@69: * jpayne@69: */ jpayne@69: xcb_selinux_get_property_use_context_cookie_t jpayne@69: xcb_selinux_get_property_use_context (xcb_connection_t *c); jpayne@69: jpayne@69: /** jpayne@69: * jpayne@69: * @param c The connection jpayne@69: * @return A cookie jpayne@69: * jpayne@69: * Delivers a request to the X server. jpayne@69: * jpayne@69: * This form can be used only if the request will cause jpayne@69: * a reply to be generated. Any returned error will be jpayne@69: * placed in the event queue. jpayne@69: */ jpayne@69: xcb_selinux_get_property_use_context_cookie_t jpayne@69: xcb_selinux_get_property_use_context_unchecked (xcb_connection_t *c); jpayne@69: jpayne@69: char * jpayne@69: xcb_selinux_get_property_use_context_context (const xcb_selinux_get_property_use_context_reply_t *R); jpayne@69: jpayne@69: int jpayne@69: xcb_selinux_get_property_use_context_context_length (const xcb_selinux_get_property_use_context_reply_t *R); jpayne@69: jpayne@69: xcb_generic_iterator_t jpayne@69: xcb_selinux_get_property_use_context_context_end (const xcb_selinux_get_property_use_context_reply_t *R); jpayne@69: jpayne@69: /** jpayne@69: * Return the reply jpayne@69: * @param c The connection jpayne@69: * @param cookie The cookie jpayne@69: * @param e The xcb_generic_error_t supplied jpayne@69: * jpayne@69: * Returns the reply of the request asked by jpayne@69: * jpayne@69: * The parameter @p e supplied to this function must be NULL if jpayne@69: * xcb_selinux_get_property_use_context_unchecked(). is used. jpayne@69: * Otherwise, it stores the error if any. jpayne@69: * jpayne@69: * The returned value must be freed by the caller using free(). jpayne@69: */ jpayne@69: xcb_selinux_get_property_use_context_reply_t * jpayne@69: xcb_selinux_get_property_use_context_reply (xcb_connection_t *c, jpayne@69: xcb_selinux_get_property_use_context_cookie_t cookie /**< */, jpayne@69: xcb_generic_error_t **e); jpayne@69: jpayne@69: int jpayne@69: xcb_selinux_get_property_context_sizeof (const void *_buffer); jpayne@69: jpayne@69: /** jpayne@69: * jpayne@69: * @param c The connection jpayne@69: * @return A cookie jpayne@69: * jpayne@69: * Delivers a request to the X server. jpayne@69: * jpayne@69: */ jpayne@69: xcb_selinux_get_property_context_cookie_t jpayne@69: xcb_selinux_get_property_context (xcb_connection_t *c, jpayne@69: xcb_window_t window, jpayne@69: xcb_atom_t property); jpayne@69: jpayne@69: /** jpayne@69: * jpayne@69: * @param c The connection jpayne@69: * @return A cookie jpayne@69: * jpayne@69: * Delivers a request to the X server. jpayne@69: * jpayne@69: * This form can be used only if the request will cause jpayne@69: * a reply to be generated. Any returned error will be jpayne@69: * placed in the event queue. jpayne@69: */ jpayne@69: xcb_selinux_get_property_context_cookie_t jpayne@69: xcb_selinux_get_property_context_unchecked (xcb_connection_t *c, jpayne@69: xcb_window_t window, jpayne@69: xcb_atom_t property); jpayne@69: jpayne@69: char * jpayne@69: xcb_selinux_get_property_context_context (const xcb_selinux_get_property_context_reply_t *R); jpayne@69: jpayne@69: int jpayne@69: xcb_selinux_get_property_context_context_length (const xcb_selinux_get_property_context_reply_t *R); jpayne@69: jpayne@69: xcb_generic_iterator_t jpayne@69: xcb_selinux_get_property_context_context_end (const xcb_selinux_get_property_context_reply_t *R); jpayne@69: jpayne@69: /** jpayne@69: * Return the reply jpayne@69: * @param c The connection jpayne@69: * @param cookie The cookie jpayne@69: * @param e The xcb_generic_error_t supplied jpayne@69: * jpayne@69: * Returns the reply of the request asked by jpayne@69: * jpayne@69: * The parameter @p e supplied to this function must be NULL if jpayne@69: * xcb_selinux_get_property_context_unchecked(). is used. jpayne@69: * Otherwise, it stores the error if any. jpayne@69: * jpayne@69: * The returned value must be freed by the caller using free(). jpayne@69: */ jpayne@69: xcb_selinux_get_property_context_reply_t * jpayne@69: xcb_selinux_get_property_context_reply (xcb_connection_t *c, jpayne@69: xcb_selinux_get_property_context_cookie_t cookie /**< */, jpayne@69: xcb_generic_error_t **e); jpayne@69: jpayne@69: int jpayne@69: xcb_selinux_get_property_data_context_sizeof (const void *_buffer); jpayne@69: jpayne@69: /** jpayne@69: * jpayne@69: * @param c The connection jpayne@69: * @return A cookie jpayne@69: * jpayne@69: * Delivers a request to the X server. jpayne@69: * jpayne@69: */ jpayne@69: xcb_selinux_get_property_data_context_cookie_t jpayne@69: xcb_selinux_get_property_data_context (xcb_connection_t *c, jpayne@69: xcb_window_t window, jpayne@69: xcb_atom_t property); jpayne@69: jpayne@69: /** jpayne@69: * jpayne@69: * @param c The connection jpayne@69: * @return A cookie jpayne@69: * jpayne@69: * Delivers a request to the X server. jpayne@69: * jpayne@69: * This form can be used only if the request will cause jpayne@69: * a reply to be generated. Any returned error will be jpayne@69: * placed in the event queue. jpayne@69: */ jpayne@69: xcb_selinux_get_property_data_context_cookie_t jpayne@69: xcb_selinux_get_property_data_context_unchecked (xcb_connection_t *c, jpayne@69: xcb_window_t window, jpayne@69: xcb_atom_t property); jpayne@69: jpayne@69: char * jpayne@69: xcb_selinux_get_property_data_context_context (const xcb_selinux_get_property_data_context_reply_t *R); jpayne@69: jpayne@69: int jpayne@69: xcb_selinux_get_property_data_context_context_length (const xcb_selinux_get_property_data_context_reply_t *R); jpayne@69: jpayne@69: xcb_generic_iterator_t jpayne@69: xcb_selinux_get_property_data_context_context_end (const xcb_selinux_get_property_data_context_reply_t *R); jpayne@69: jpayne@69: /** jpayne@69: * Return the reply jpayne@69: * @param c The connection jpayne@69: * @param cookie The cookie jpayne@69: * @param e The xcb_generic_error_t supplied jpayne@69: * jpayne@69: * Returns the reply of the request asked by jpayne@69: * jpayne@69: * The parameter @p e supplied to this function must be NULL if jpayne@69: * xcb_selinux_get_property_data_context_unchecked(). is used. jpayne@69: * Otherwise, it stores the error if any. jpayne@69: * jpayne@69: * The returned value must be freed by the caller using free(). jpayne@69: */ jpayne@69: xcb_selinux_get_property_data_context_reply_t * jpayne@69: xcb_selinux_get_property_data_context_reply (xcb_connection_t *c, jpayne@69: xcb_selinux_get_property_data_context_cookie_t cookie /**< */, jpayne@69: xcb_generic_error_t **e); jpayne@69: jpayne@69: int jpayne@69: xcb_selinux_list_properties_sizeof (const void *_buffer); jpayne@69: jpayne@69: /** jpayne@69: * jpayne@69: * @param c The connection jpayne@69: * @return A cookie jpayne@69: * jpayne@69: * Delivers a request to the X server. jpayne@69: * jpayne@69: */ jpayne@69: xcb_selinux_list_properties_cookie_t jpayne@69: xcb_selinux_list_properties (xcb_connection_t *c, jpayne@69: xcb_window_t window); jpayne@69: jpayne@69: /** jpayne@69: * jpayne@69: * @param c The connection jpayne@69: * @return A cookie jpayne@69: * jpayne@69: * Delivers a request to the X server. jpayne@69: * jpayne@69: * This form can be used only if the request will cause jpayne@69: * a reply to be generated. Any returned error will be jpayne@69: * placed in the event queue. jpayne@69: */ jpayne@69: xcb_selinux_list_properties_cookie_t jpayne@69: xcb_selinux_list_properties_unchecked (xcb_connection_t *c, jpayne@69: xcb_window_t window); jpayne@69: jpayne@69: int jpayne@69: xcb_selinux_list_properties_properties_length (const xcb_selinux_list_properties_reply_t *R); jpayne@69: jpayne@69: xcb_selinux_list_item_iterator_t jpayne@69: xcb_selinux_list_properties_properties_iterator (const xcb_selinux_list_properties_reply_t *R); jpayne@69: jpayne@69: /** jpayne@69: * Return the reply jpayne@69: * @param c The connection jpayne@69: * @param cookie The cookie jpayne@69: * @param e The xcb_generic_error_t supplied jpayne@69: * jpayne@69: * Returns the reply of the request asked by jpayne@69: * jpayne@69: * The parameter @p e supplied to this function must be NULL if jpayne@69: * xcb_selinux_list_properties_unchecked(). is used. jpayne@69: * Otherwise, it stores the error if any. jpayne@69: * jpayne@69: * The returned value must be freed by the caller using free(). jpayne@69: */ jpayne@69: xcb_selinux_list_properties_reply_t * jpayne@69: xcb_selinux_list_properties_reply (xcb_connection_t *c, jpayne@69: xcb_selinux_list_properties_cookie_t cookie /**< */, jpayne@69: xcb_generic_error_t **e); jpayne@69: jpayne@69: int jpayne@69: xcb_selinux_set_selection_create_context_sizeof (const void *_buffer); jpayne@69: jpayne@69: /** jpayne@69: * jpayne@69: * @param c The connection jpayne@69: * @return A cookie jpayne@69: * jpayne@69: * Delivers a request to the X server. jpayne@69: * jpayne@69: * This form can be used only if the request will not cause jpayne@69: * a reply to be generated. Any returned error will be jpayne@69: * saved for handling by xcb_request_check(). jpayne@69: */ jpayne@69: xcb_void_cookie_t jpayne@69: xcb_selinux_set_selection_create_context_checked (xcb_connection_t *c, jpayne@69: uint32_t context_len, jpayne@69: const char *context); jpayne@69: jpayne@69: /** jpayne@69: * jpayne@69: * @param c The connection jpayne@69: * @return A cookie jpayne@69: * jpayne@69: * Delivers a request to the X server. jpayne@69: * jpayne@69: */ jpayne@69: xcb_void_cookie_t jpayne@69: xcb_selinux_set_selection_create_context (xcb_connection_t *c, jpayne@69: uint32_t context_len, jpayne@69: const char *context); jpayne@69: jpayne@69: char * jpayne@69: xcb_selinux_set_selection_create_context_context (const xcb_selinux_set_selection_create_context_request_t *R); jpayne@69: jpayne@69: int jpayne@69: xcb_selinux_set_selection_create_context_context_length (const xcb_selinux_set_selection_create_context_request_t *R); jpayne@69: jpayne@69: xcb_generic_iterator_t jpayne@69: xcb_selinux_set_selection_create_context_context_end (const xcb_selinux_set_selection_create_context_request_t *R); jpayne@69: jpayne@69: int jpayne@69: xcb_selinux_get_selection_create_context_sizeof (const void *_buffer); jpayne@69: jpayne@69: /** jpayne@69: * jpayne@69: * @param c The connection jpayne@69: * @return A cookie jpayne@69: * jpayne@69: * Delivers a request to the X server. jpayne@69: * jpayne@69: */ jpayne@69: xcb_selinux_get_selection_create_context_cookie_t jpayne@69: xcb_selinux_get_selection_create_context (xcb_connection_t *c); jpayne@69: jpayne@69: /** jpayne@69: * jpayne@69: * @param c The connection jpayne@69: * @return A cookie jpayne@69: * jpayne@69: * Delivers a request to the X server. jpayne@69: * jpayne@69: * This form can be used only if the request will cause jpayne@69: * a reply to be generated. Any returned error will be jpayne@69: * placed in the event queue. jpayne@69: */ jpayne@69: xcb_selinux_get_selection_create_context_cookie_t jpayne@69: xcb_selinux_get_selection_create_context_unchecked (xcb_connection_t *c); jpayne@69: jpayne@69: char * jpayne@69: xcb_selinux_get_selection_create_context_context (const xcb_selinux_get_selection_create_context_reply_t *R); jpayne@69: jpayne@69: int jpayne@69: xcb_selinux_get_selection_create_context_context_length (const xcb_selinux_get_selection_create_context_reply_t *R); jpayne@69: jpayne@69: xcb_generic_iterator_t jpayne@69: xcb_selinux_get_selection_create_context_context_end (const xcb_selinux_get_selection_create_context_reply_t *R); jpayne@69: jpayne@69: /** jpayne@69: * Return the reply jpayne@69: * @param c The connection jpayne@69: * @param cookie The cookie jpayne@69: * @param e The xcb_generic_error_t supplied jpayne@69: * jpayne@69: * Returns the reply of the request asked by jpayne@69: * jpayne@69: * The parameter @p e supplied to this function must be NULL if jpayne@69: * xcb_selinux_get_selection_create_context_unchecked(). is used. jpayne@69: * Otherwise, it stores the error if any. jpayne@69: * jpayne@69: * The returned value must be freed by the caller using free(). jpayne@69: */ jpayne@69: xcb_selinux_get_selection_create_context_reply_t * jpayne@69: xcb_selinux_get_selection_create_context_reply (xcb_connection_t *c, jpayne@69: xcb_selinux_get_selection_create_context_cookie_t cookie /**< */, jpayne@69: xcb_generic_error_t **e); jpayne@69: jpayne@69: int jpayne@69: xcb_selinux_set_selection_use_context_sizeof (const void *_buffer); jpayne@69: jpayne@69: /** jpayne@69: * jpayne@69: * @param c The connection jpayne@69: * @return A cookie jpayne@69: * jpayne@69: * Delivers a request to the X server. jpayne@69: * jpayne@69: * This form can be used only if the request will not cause jpayne@69: * a reply to be generated. Any returned error will be jpayne@69: * saved for handling by xcb_request_check(). jpayne@69: */ jpayne@69: xcb_void_cookie_t jpayne@69: xcb_selinux_set_selection_use_context_checked (xcb_connection_t *c, jpayne@69: uint32_t context_len, jpayne@69: const char *context); jpayne@69: jpayne@69: /** jpayne@69: * jpayne@69: * @param c The connection jpayne@69: * @return A cookie jpayne@69: * jpayne@69: * Delivers a request to the X server. jpayne@69: * jpayne@69: */ jpayne@69: xcb_void_cookie_t jpayne@69: xcb_selinux_set_selection_use_context (xcb_connection_t *c, jpayne@69: uint32_t context_len, jpayne@69: const char *context); jpayne@69: jpayne@69: char * jpayne@69: xcb_selinux_set_selection_use_context_context (const xcb_selinux_set_selection_use_context_request_t *R); jpayne@69: jpayne@69: int jpayne@69: xcb_selinux_set_selection_use_context_context_length (const xcb_selinux_set_selection_use_context_request_t *R); jpayne@69: jpayne@69: xcb_generic_iterator_t jpayne@69: xcb_selinux_set_selection_use_context_context_end (const xcb_selinux_set_selection_use_context_request_t *R); jpayne@69: jpayne@69: int jpayne@69: xcb_selinux_get_selection_use_context_sizeof (const void *_buffer); jpayne@69: jpayne@69: /** jpayne@69: * jpayne@69: * @param c The connection jpayne@69: * @return A cookie jpayne@69: * jpayne@69: * Delivers a request to the X server. jpayne@69: * jpayne@69: */ jpayne@69: xcb_selinux_get_selection_use_context_cookie_t jpayne@69: xcb_selinux_get_selection_use_context (xcb_connection_t *c); jpayne@69: jpayne@69: /** jpayne@69: * jpayne@69: * @param c The connection jpayne@69: * @return A cookie jpayne@69: * jpayne@69: * Delivers a request to the X server. jpayne@69: * jpayne@69: * This form can be used only if the request will cause jpayne@69: * a reply to be generated. Any returned error will be jpayne@69: * placed in the event queue. jpayne@69: */ jpayne@69: xcb_selinux_get_selection_use_context_cookie_t jpayne@69: xcb_selinux_get_selection_use_context_unchecked (xcb_connection_t *c); jpayne@69: jpayne@69: char * jpayne@69: xcb_selinux_get_selection_use_context_context (const xcb_selinux_get_selection_use_context_reply_t *R); jpayne@69: jpayne@69: int jpayne@69: xcb_selinux_get_selection_use_context_context_length (const xcb_selinux_get_selection_use_context_reply_t *R); jpayne@69: jpayne@69: xcb_generic_iterator_t jpayne@69: xcb_selinux_get_selection_use_context_context_end (const xcb_selinux_get_selection_use_context_reply_t *R); jpayne@69: jpayne@69: /** jpayne@69: * Return the reply jpayne@69: * @param c The connection jpayne@69: * @param cookie The cookie jpayne@69: * @param e The xcb_generic_error_t supplied jpayne@69: * jpayne@69: * Returns the reply of the request asked by jpayne@69: * jpayne@69: * The parameter @p e supplied to this function must be NULL if jpayne@69: * xcb_selinux_get_selection_use_context_unchecked(). is used. jpayne@69: * Otherwise, it stores the error if any. jpayne@69: * jpayne@69: * The returned value must be freed by the caller using free(). jpayne@69: */ jpayne@69: xcb_selinux_get_selection_use_context_reply_t * jpayne@69: xcb_selinux_get_selection_use_context_reply (xcb_connection_t *c, jpayne@69: xcb_selinux_get_selection_use_context_cookie_t cookie /**< */, jpayne@69: xcb_generic_error_t **e); jpayne@69: jpayne@69: int jpayne@69: xcb_selinux_get_selection_context_sizeof (const void *_buffer); jpayne@69: jpayne@69: /** jpayne@69: * jpayne@69: * @param c The connection jpayne@69: * @return A cookie jpayne@69: * jpayne@69: * Delivers a request to the X server. jpayne@69: * jpayne@69: */ jpayne@69: xcb_selinux_get_selection_context_cookie_t jpayne@69: xcb_selinux_get_selection_context (xcb_connection_t *c, jpayne@69: xcb_atom_t selection); jpayne@69: jpayne@69: /** jpayne@69: * jpayne@69: * @param c The connection jpayne@69: * @return A cookie jpayne@69: * jpayne@69: * Delivers a request to the X server. jpayne@69: * jpayne@69: * This form can be used only if the request will cause jpayne@69: * a reply to be generated. Any returned error will be jpayne@69: * placed in the event queue. jpayne@69: */ jpayne@69: xcb_selinux_get_selection_context_cookie_t jpayne@69: xcb_selinux_get_selection_context_unchecked (xcb_connection_t *c, jpayne@69: xcb_atom_t selection); jpayne@69: jpayne@69: char * jpayne@69: xcb_selinux_get_selection_context_context (const xcb_selinux_get_selection_context_reply_t *R); jpayne@69: jpayne@69: int jpayne@69: xcb_selinux_get_selection_context_context_length (const xcb_selinux_get_selection_context_reply_t *R); jpayne@69: jpayne@69: xcb_generic_iterator_t jpayne@69: xcb_selinux_get_selection_context_context_end (const xcb_selinux_get_selection_context_reply_t *R); jpayne@69: jpayne@69: /** jpayne@69: * Return the reply jpayne@69: * @param c The connection jpayne@69: * @param cookie The cookie jpayne@69: * @param e The xcb_generic_error_t supplied jpayne@69: * jpayne@69: * Returns the reply of the request asked by jpayne@69: * jpayne@69: * The parameter @p e supplied to this function must be NULL if jpayne@69: * xcb_selinux_get_selection_context_unchecked(). is used. jpayne@69: * Otherwise, it stores the error if any. jpayne@69: * jpayne@69: * The returned value must be freed by the caller using free(). jpayne@69: */ jpayne@69: xcb_selinux_get_selection_context_reply_t * jpayne@69: xcb_selinux_get_selection_context_reply (xcb_connection_t *c, jpayne@69: xcb_selinux_get_selection_context_cookie_t cookie /**< */, jpayne@69: xcb_generic_error_t **e); jpayne@69: jpayne@69: int jpayne@69: xcb_selinux_get_selection_data_context_sizeof (const void *_buffer); jpayne@69: jpayne@69: /** jpayne@69: * jpayne@69: * @param c The connection jpayne@69: * @return A cookie jpayne@69: * jpayne@69: * Delivers a request to the X server. jpayne@69: * jpayne@69: */ jpayne@69: xcb_selinux_get_selection_data_context_cookie_t jpayne@69: xcb_selinux_get_selection_data_context (xcb_connection_t *c, jpayne@69: xcb_atom_t selection); jpayne@69: jpayne@69: /** jpayne@69: * jpayne@69: * @param c The connection jpayne@69: * @return A cookie jpayne@69: * jpayne@69: * Delivers a request to the X server. jpayne@69: * jpayne@69: * This form can be used only if the request will cause jpayne@69: * a reply to be generated. Any returned error will be jpayne@69: * placed in the event queue. jpayne@69: */ jpayne@69: xcb_selinux_get_selection_data_context_cookie_t jpayne@69: xcb_selinux_get_selection_data_context_unchecked (xcb_connection_t *c, jpayne@69: xcb_atom_t selection); jpayne@69: jpayne@69: char * jpayne@69: xcb_selinux_get_selection_data_context_context (const xcb_selinux_get_selection_data_context_reply_t *R); jpayne@69: jpayne@69: int jpayne@69: xcb_selinux_get_selection_data_context_context_length (const xcb_selinux_get_selection_data_context_reply_t *R); jpayne@69: jpayne@69: xcb_generic_iterator_t jpayne@69: xcb_selinux_get_selection_data_context_context_end (const xcb_selinux_get_selection_data_context_reply_t *R); jpayne@69: jpayne@69: /** jpayne@69: * Return the reply jpayne@69: * @param c The connection jpayne@69: * @param cookie The cookie jpayne@69: * @param e The xcb_generic_error_t supplied jpayne@69: * jpayne@69: * Returns the reply of the request asked by jpayne@69: * jpayne@69: * The parameter @p e supplied to this function must be NULL if jpayne@69: * xcb_selinux_get_selection_data_context_unchecked(). is used. jpayne@69: * Otherwise, it stores the error if any. jpayne@69: * jpayne@69: * The returned value must be freed by the caller using free(). jpayne@69: */ jpayne@69: xcb_selinux_get_selection_data_context_reply_t * jpayne@69: xcb_selinux_get_selection_data_context_reply (xcb_connection_t *c, jpayne@69: xcb_selinux_get_selection_data_context_cookie_t cookie /**< */, jpayne@69: xcb_generic_error_t **e); jpayne@69: jpayne@69: int jpayne@69: xcb_selinux_list_selections_sizeof (const void *_buffer); jpayne@69: jpayne@69: /** jpayne@69: * jpayne@69: * @param c The connection jpayne@69: * @return A cookie jpayne@69: * jpayne@69: * Delivers a request to the X server. jpayne@69: * jpayne@69: */ jpayne@69: xcb_selinux_list_selections_cookie_t jpayne@69: xcb_selinux_list_selections (xcb_connection_t *c); jpayne@69: jpayne@69: /** jpayne@69: * jpayne@69: * @param c The connection jpayne@69: * @return A cookie jpayne@69: * jpayne@69: * Delivers a request to the X server. jpayne@69: * jpayne@69: * This form can be used only if the request will cause jpayne@69: * a reply to be generated. Any returned error will be jpayne@69: * placed in the event queue. jpayne@69: */ jpayne@69: xcb_selinux_list_selections_cookie_t jpayne@69: xcb_selinux_list_selections_unchecked (xcb_connection_t *c); jpayne@69: jpayne@69: int jpayne@69: xcb_selinux_list_selections_selections_length (const xcb_selinux_list_selections_reply_t *R); jpayne@69: jpayne@69: xcb_selinux_list_item_iterator_t jpayne@69: xcb_selinux_list_selections_selections_iterator (const xcb_selinux_list_selections_reply_t *R); jpayne@69: jpayne@69: /** jpayne@69: * Return the reply jpayne@69: * @param c The connection jpayne@69: * @param cookie The cookie jpayne@69: * @param e The xcb_generic_error_t supplied jpayne@69: * jpayne@69: * Returns the reply of the request asked by jpayne@69: * jpayne@69: * The parameter @p e supplied to this function must be NULL if jpayne@69: * xcb_selinux_list_selections_unchecked(). is used. jpayne@69: * Otherwise, it stores the error if any. jpayne@69: * jpayne@69: * The returned value must be freed by the caller using free(). jpayne@69: */ jpayne@69: xcb_selinux_list_selections_reply_t * jpayne@69: xcb_selinux_list_selections_reply (xcb_connection_t *c, jpayne@69: xcb_selinux_list_selections_cookie_t cookie /**< */, jpayne@69: xcb_generic_error_t **e); jpayne@69: jpayne@69: int jpayne@69: xcb_selinux_get_client_context_sizeof (const void *_buffer); jpayne@69: jpayne@69: /** jpayne@69: * jpayne@69: * @param c The connection jpayne@69: * @return A cookie jpayne@69: * jpayne@69: * Delivers a request to the X server. jpayne@69: * jpayne@69: */ jpayne@69: xcb_selinux_get_client_context_cookie_t jpayne@69: xcb_selinux_get_client_context (xcb_connection_t *c, jpayne@69: uint32_t resource); jpayne@69: jpayne@69: /** jpayne@69: * jpayne@69: * @param c The connection jpayne@69: * @return A cookie jpayne@69: * jpayne@69: * Delivers a request to the X server. jpayne@69: * jpayne@69: * This form can be used only if the request will cause jpayne@69: * a reply to be generated. Any returned error will be jpayne@69: * placed in the event queue. jpayne@69: */ jpayne@69: xcb_selinux_get_client_context_cookie_t jpayne@69: xcb_selinux_get_client_context_unchecked (xcb_connection_t *c, jpayne@69: uint32_t resource); jpayne@69: jpayne@69: char * jpayne@69: xcb_selinux_get_client_context_context (const xcb_selinux_get_client_context_reply_t *R); jpayne@69: jpayne@69: int jpayne@69: xcb_selinux_get_client_context_context_length (const xcb_selinux_get_client_context_reply_t *R); jpayne@69: jpayne@69: xcb_generic_iterator_t jpayne@69: xcb_selinux_get_client_context_context_end (const xcb_selinux_get_client_context_reply_t *R); jpayne@69: jpayne@69: /** jpayne@69: * Return the reply jpayne@69: * @param c The connection jpayne@69: * @param cookie The cookie jpayne@69: * @param e The xcb_generic_error_t supplied jpayne@69: * jpayne@69: * Returns the reply of the request asked by jpayne@69: * jpayne@69: * The parameter @p e supplied to this function must be NULL if jpayne@69: * xcb_selinux_get_client_context_unchecked(). is used. jpayne@69: * Otherwise, it stores the error if any. jpayne@69: * jpayne@69: * The returned value must be freed by the caller using free(). jpayne@69: */ jpayne@69: xcb_selinux_get_client_context_reply_t * jpayne@69: xcb_selinux_get_client_context_reply (xcb_connection_t *c, jpayne@69: xcb_selinux_get_client_context_cookie_t cookie /**< */, jpayne@69: xcb_generic_error_t **e); jpayne@69: jpayne@69: jpayne@69: #ifdef __cplusplus jpayne@69: } jpayne@69: #endif jpayne@69: jpayne@69: #endif jpayne@69: jpayne@69: /** jpayne@69: * @} jpayne@69: */