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

NAME

6       xcb_record_get_context -
7

SYNOPSIS

9       #include <xcb/record.h>
10
11   Request function
12       xcb_record_get_context_cookie_t
13              xcb_record_get_context(xcb_connection_t *conn,
14              xcb_record_context_t context);
15
16   Reply datastructure
17       typedef struct xcb_record_get_context_reply_t {
18           uint8_t                     response_type;
19           uint8_t                     enabled;
20           uint16_t                    sequence;
21           uint32_t                    length;
22           xcb_record_element_header_t element_header;
23           uint8_t                     pad0[3];
24           uint32_t                    num_intercepted_clients;
25           uint8_t                     pad1[16];
26       } xcb_record_get_context_reply_t;
27
28   Reply function
29       xcb_record_get_context_reply_t
30              *xcb_record_get_context_reply(xcb_connection_t *conn,
31              xcb_record_get_context_cookie_t cookie,
32              xcb_generic_error_t **e);
33
34   Reply accessors
35       int xcb_record_get_context_intercepted_clients_length(const
36              xcb_record_get_context_reply_t *reply);
37
38       xcb_record_client_info_iterator_t
39              xcb_record_get_context_intercepted_clients_iterator(const
40              xcb_record_get_context_reply_t *reply);
41

REQUEST ARGUMENTS

43       conn      The XCB connection to X11.
44
45       context   TODO: NOT YET DOCUMENTED.
46

REPLY FIELDS

48       response_type
49                 The type of this reply, in this case XCB_RECORD_GET_CONTEXT.
50                 This field is also present in the xcb_generic_reply_t and can
51                 be used to tell replies apart from each other.
52
53       sequence  The sequence number of the last request processed by the X11
54                 server.
55
56       length    The length of the reply, in words (a word is 4 bytes).
57
58       enabled   TODO: NOT YET DOCUMENTED.
59
60       element_header
61                 TODO: NOT YET DOCUMENTED.
62
63       num_intercepted_clients
64                 TODO: NOT YET DOCUMENTED.
65

DESCRIPTION

RETURN VALUE

68       Returns an xcb_record_get_context_cookie_t. Errors have to be handled
69       when calling the reply function xcb_record_get_context_reply.
70
71       If you want to handle errors in the event loop instead, use
72       xcb_record_get_context_unchecked. See xcb-requests(3) for details.
73

ERRORS

75       This request does never generate any errors.
76

SEE ALSO

AUTHOR

79       Generated from record.xml. Contact xcb@lists.freedesktop.org for cor‐
80       rections and improvements.
81
82
83
84X Version 11                      libxcb 1.12        xcb_record_get_context(3)
Impressum