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

NAME

6       xcb_res_query_clients -
7

SYNOPSIS

9       #include <xcb/res.h>
10
11   Request function
12       xcb_res_query_clients_cookie_t
13              xcb_res_query_clients(xcb_connection_t *conn,
14
15   Reply datastructure
16       typedef struct xcb_res_query_clients_reply_t {
17           uint8_t  response_type;
18           uint8_t  pad0;
19           uint16_t sequence;
20           uint32_t length;
21           uint32_t num_clients;
22           uint8_t  pad1[20];
23       } xcb_res_query_clients_reply_t;
24
25   Reply function
26       xcb_res_query_clients_reply_t
27              *xcb_res_query_clients_reply(xcb_connection_t *conn,
28              xcb_res_query_clients_cookie_t cookie, xcb_generic_error_t **e);
29
30   Reply accessors
31       xcb_res_client_t *xcb_res_query_clients_clients(const
32              xcb_res_query_clients_request_t *reply);
33
34       int xcb_res_query_clients_clients_length(const
35              xcb_res_query_clients_reply_t *reply);
36
37       xcb_res_client_iterator_t xcb_res_query_clients_clients_iterator(const
38              xcb_res_query_clients_reply_t *reply);
39

REQUEST ARGUMENTS

41       conn      The XCB connection to X11.
42

REPLY FIELDS

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

DESCRIPTION

RETURN VALUE

59       Returns an xcb_res_query_clients_cookie_t. Errors have to be handled
60       when calling the reply function xcb_res_query_clients_reply.
61
62       If you want to handle errors in the event loop instead, use
63       xcb_res_query_clients_unchecked. See xcb-requests(3) for details.
64

ERRORS

66       This request does never generate any errors.
67

SEE ALSO

AUTHOR

70       Generated from res.xml. Contact xcb@lists.freedesktop.org for correcā€
71       tions and improvements.
72
73
74
75X Version 11                      libxcb 1.13         xcb_res_query_clients(3)
Impressum