1xcb_alloc_color_cells(3) XCB Requests xcb_alloc_color_cells(3)
2
3
4
6 xcb_alloc_color_cells -
7
9 #include <xcb/xproto.h>
10
11 Request function
12 xcb_alloc_color_cells_cookie_t
13 xcb_alloc_color_cells(xcb_connection_t *conn,
14 uint8_t contiguous, xcb_colormap_t cmap, uint16_t colors,
15 uint16_t planes);
16
17 Reply datastructure
18 typedef struct xcb_alloc_color_cells_reply_t {
19 uint8_t response_type;
20 uint8_t pad0;
21 uint16_t sequence;
22 uint32_t length;
23 uint16_t pixels_len;
24 uint16_t masks_len;
25 uint8_t pad1[20];
26 } xcb_alloc_color_cells_reply_t;
27
28 Reply function
29 xcb_alloc_color_cells_reply_t
30 *xcb_alloc_color_cells_reply(xcb_connection_t *conn,
31 xcb_alloc_color_cells_cookie_t cookie, xcb_generic_error_t **e);
32
33 Reply accessors
34 uint32_t *xcb_alloc_color_cells_pixels(const
35 xcb_alloc_color_cells_request_t *reply);
36
37 int xcb_alloc_color_cells_pixels_length(const
38 xcb_alloc_color_cells_reply_t *reply);
39
40 xcb_generic_iterator_t xcb_alloc_color_cells_pixels_end(const
41 xcb_alloc_color_cells_reply_t *reply);
42
43 uint32_t *xcb_alloc_color_cells_masks(const
44 xcb_alloc_color_cells_request_t *reply);
45
46 int xcb_alloc_color_cells_masks_length(const
47 xcb_alloc_color_cells_reply_t *reply);
48
49 xcb_generic_iterator_t xcb_alloc_color_cells_masks_end(const
50 xcb_alloc_color_cells_reply_t *reply);
51
53 conn The XCB connection to X11.
54
55 contiguous
56 TODO: NOT YET DOCUMENTED.
57
58 cmap TODO: NOT YET DOCUMENTED.
59
60 colors TODO: NOT YET DOCUMENTED.
61
62 planes TODO: NOT YET DOCUMENTED.
63
65 response_type
66 The type of this reply, in this case XCB_ALLOC_COLOR_CELLS.
67 This field is also present in the xcb_generic_reply_t and can
68 be used to tell replies apart from each other.
69
70 sequence The sequence number of the last request processed by the X11
71 server.
72
73 length The length of the reply, in words (a word is 4 bytes).
74
75 pixels_len
76 TODO: NOT YET DOCUMENTED.
77
78 masks_len TODO: NOT YET DOCUMENTED.
79
82 Returns an xcb_alloc_color_cells_cookie_t. Errors have to be handled
83 when calling the reply function xcb_alloc_color_cells_reply.
84
85 If you want to handle errors in the event loop instead, use xcb_al‐
86 loc_color_cells_unchecked. See xcb-requests(3) for details.
87
89 This request does never generate any errors.
90
93 Generated from xproto.xml. Contact xcb@lists.freedesktop.org for cor‐
94 rections and improvements.
95
96
97
98X Version 11 libxcb 1.12 xcb_alloc_color_cells(3)