1xcb_selinux_get_property_context(3X)CB Requestxscb_selinux_get_property_context(3)
2
3
4
6 xcb_selinux_get_property_context -
7
9 #include <xcb/xselinux.h>
10
11 Request function
12 xcb_selinux_get_property_context_cookie_t
13 xcb_selinux_get_property_context(xcb_connection_t *conn,
14 xcb_window_t window, xcb_atom_t property);
15
16 Reply datastructure
17 typedef struct xcb_selinux_get_property_context_reply_t {
18 uint8_t response_type;
19 uint8_t pad0;
20 uint16_t sequence;
21 uint32_t length;
22 uint32_t context_len;
23 uint8_t pad1[20];
24 } xcb_selinux_get_property_context_reply_t;
25
26 Reply function
27 xcb_selinux_get_property_context_reply_t
28 *xcb_selinux_get_property_context_reply(xcb_connection_t *conn,
29 xcb_selinux_get_property_context_cookie_t cookie,
30 xcb_generic_error_t **e);
31
32 Reply accessors
33 char *xcb_selinux_get_property_context_context(const
34 xcb_selinux_get_property_context_request_t *reply);
35
36 int xcb_selinux_get_property_context_context_length(const
37 xcb_selinux_get_property_context_reply_t *reply);
38
39 xcb_generic_iterator_t
40 xcb_selinux_get_property_context_context_end(const
41 xcb_selinux_get_property_context_reply_t *reply);
42
44 conn The XCB connection to X11.
45
46 window TODO: NOT YET DOCUMENTED.
47
48 property TODO: NOT YET DOCUMENTED.
49
51 response_type
52 The type of this reply, in this case XCB_SELINUX_GET_PROPER‐
53 TY_CONTEXT. This field is also present in the xcb_generic_re‐
54 ply_t and can be used to tell replies apart from each other.
55
56 sequence The sequence number of the last request processed by the X11
57 server.
58
59 length The length of the reply, in words (a word is 4 bytes).
60
61 context_len
62 TODO: NOT YET DOCUMENTED.
63
66 Returns an xcb_selinux_get_property_context_cookie_t. Errors have to be
67 handled when calling the reply function xcb_selinux_get_property_con‐
68 text_reply.
69
70 If you want to handle errors in the event loop instead, use xcb_selin‐
71 ux_get_property_context_unchecked. See xcb-requests(3) for details.
72
74 This request does never generate any errors.
75
78 Generated from xselinux.xml. Contact xcb@lists.freedesktop.org for cor‐
79 rections and improvements.
80
81
82
83X Version 11 libxcb 1.1x2cb_selinux_get_property_context(3)