1xcb_selinux_query_version(3)     XCB Requests     xcb_selinux_query_version(3)
2
3
4

NAME

6       xcb_selinux_query_version -
7

SYNOPSIS

9       #include <xcb/xselinux.h>
10
11   Request function
12       xcb_selinux_query_version_cookie_t
13              xcb_selinux_query_version(xcb_connection_t *conn,
14              uint8_t client_major, uint8_t client_minor);
15
16   Reply datastructure
17       typedef struct xcb_selinux_query_version_reply_t {
18           uint8_t  response_type;
19           uint8_t  pad0;
20           uint16_t sequence;
21           uint32_t length;
22           uint16_t server_major;
23           uint16_t server_minor;
24       } xcb_selinux_query_version_reply_t;
25
26   Reply function
27       xcb_selinux_query_version_reply_t
28              *xcb_selinux_query_version_reply(xcb_connection_t *conn,
29              xcb_selinux_query_version_cookie_t cookie,
30              xcb_generic_error_t **e);
31

REQUEST ARGUMENTS

33       conn      The XCB connection to X11.
34
35       client_major
36                 TODO: NOT YET DOCUMENTED.
37
38       client_minor
39                 TODO: NOT YET DOCUMENTED.
40

REPLY FIELDS

42       response_type
43                 The type of this reply, in this case XCB_SELINUX_QUERY_VER‐
44                 SION. This field is also present in the xcb_generic_reply_t
45                 and can be used to tell replies apart from each other.
46
47       sequence  The sequence number of the last request processed by the X11
48                 server.
49
50       length    The length of the reply, in words (a word is 4 bytes).
51
52       server_major
53                 TODO: NOT YET DOCUMENTED.
54
55       server_minor
56                 TODO: NOT YET DOCUMENTED.
57

DESCRIPTION

RETURN VALUE

60       Returns an xcb_selinux_query_version_cookie_t. Errors have to be han‐
61       dled when calling the reply function xcb_selinux_query_version_reply.
62
63       If you want to handle errors in the event loop instead, use xcb_selin‐
64       ux_query_version_unchecked. See xcb-requests(3) for details.
65

ERRORS

67       This request does never generate any errors.
68

SEE ALSO

AUTHOR

71       Generated from xselinux.xml. Contact xcb@lists.freedesktop.org for cor‐
72       rections and improvements.
73
74
75
76X Version 11                      libxcb 1.13     xcb_selinux_query_version(3)
Impressum