1xcb_x_print_print_get_document_datXaC(B3)Requxecsbt_sx_print_print_get_document_data(3)
2
3
4
6 xcb_x_print_print_get_document_data -
7
9 #include <xcb/xprint.h>
10
11 Request function
12 xcb_x_print_print_get_document_data_cookie_t
13 xcb_x_print_print_get_document_data(xcb_connection_t *conn,
14 xcb_x_print_pcontext_t context, uint32_t max_bytes);
15
16 Reply datastructure
17 typedef struct xcb_x_print_print_get_document_data_reply_t {
18 uint8_t response_type;
19 uint8_t pad0;
20 uint16_t sequence;
21 uint32_t length;
22 uint32_t status_code;
23 uint32_t finished_flag;
24 uint32_t dataLen;
25 uint8_t pad1[12];
26 } xcb_x_print_print_get_document_data_reply_t;
27
28 Reply function
29 xcb_x_print_print_get_document_data_reply_t
30 *xcb_x_print_print_get_document_data_reply(xcb_connection_t *conn,
31 xcb_x_print_print_get_document_data_cookie_t cookie,
32 xcb_generic_error_t **e);
33
34 Reply accessors
35 uint8_t *xcb_x_print_print_get_document_data_data(const
36 xcb_x_print_print_get_document_data_request_t *reply);
37
38 int xcb_x_print_print_get_document_data_data_length(const
39 xcb_x_print_print_get_document_data_reply_t *reply);
40
41 xcb_generic_iterator_t
42 xcb_x_print_print_get_document_data_data_end(const
43 xcb_x_print_print_get_document_data_reply_t *reply);
44
46 conn The XCB connection to X11.
47
48 context TODO: NOT YET DOCUMENTED.
49
50 max_bytes TODO: NOT YET DOCUMENTED.
51
53 response_type
54 The type of this reply, in this case
55 XCB_X_PRINT_PRINT_GET_DOCUMENT_DATA. This field is also
56 present in the xcb_generic_reply_t and can be used to tell
57 replies apart from each other.
58
59 sequence The sequence number of the last request processed by the X11
60 server.
61
62 length The length of the reply, in words (a word is 4 bytes).
63
64 status_code
65 TODO: NOT YET DOCUMENTED.
66
67 finished_flag
68 TODO: NOT YET DOCUMENTED.
69
70 dataLen TODO: NOT YET DOCUMENTED.
71
74 Returns an xcb_x_print_print_get_document_data_cookie_t. Errors have to
75 be handled when calling the reply function xcb_x_print_print_get_docu‐
76 ment_data_reply.
77
78 If you want to handle errors in the event loop instead, use
79 xcb_x_print_print_get_document_data_unchecked. See xcb-requests(3) for
80 details.
81
83 This request does never generate any errors.
84
87 Generated from xprint.xml. Contact xcb@lists.freedesktop.org for cor‐
88 rections and improvements.
89
90
91
92X Version 11 libxcb 1x.c1b3_.x1_print_print_get_document_data(3)