1xcb_list_hosts(3) XCB Requests xcb_list_hosts(3)
2
3
4
6 xcb_list_hosts -
7
9 #include <xcb/xproto.h>
10
11 Request function
12 xcb_list_hosts_cookie_t xcb_list_hosts(xcb_connection_t *conn,
13
14 Reply datastructure
15 typedef struct xcb_list_hosts_reply_t {
16 uint8_t response_type;
17 uint8_t mode;
18 uint16_t sequence;
19 uint32_t length;
20 uint16_t hosts_len;
21 uint8_t pad0[22];
22 } xcb_list_hosts_reply_t;
23
24 Reply function
25 xcb_list_hosts_reply_t *xcb_list_hosts_reply(xcb_connection_t *conn,
26 xcb_list_hosts_cookie_t cookie, xcb_generic_error_t **e);
27
28 Reply accessors
29 int xcb_list_hosts_hosts_length(const xcb_list_hosts_reply_t *reply);
30
31 xcb_host_iterator_t xcb_list_hosts_hosts_iterator(const
32 xcb_list_hosts_reply_t *reply);
33
35 conn The XCB connection to X11.
36
38 response_type
39 The type of this reply, in this case XCB_LIST_HOSTS. This
40 field is also present in the xcb_generic_reply_t and can be
41 used to tell replies apart from each other.
42
43 sequence The sequence number of the last request processed by the X11
44 server.
45
46 length The length of the reply, in words (a word is 4 bytes).
47
48 mode TODO: NOT YET DOCUMENTED.
49
50 hosts_len TODO: NOT YET DOCUMENTED.
51
54 Returns an xcb_list_hosts_cookie_t. Errors have to be handled when
55 calling the reply function xcb_list_hosts_reply.
56
57 If you want to handle errors in the event loop instead, use
58 xcb_list_hosts_unchecked. See xcb-requests(3) for details.
59
61 This request does never generate any errors.
62
65 Generated from xproto.xml. Contact xcb@lists.freedesktop.org for cor‐
66 rections and improvements.
67
68
69
70X Version 11 libxcb 1.13 xcb_list_hosts(3)