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

NAME

6       xcb_alloc_color_planes -
7

SYNOPSIS

9       #include <xcb/xproto.h>
10
11   Request function
12       xcb_alloc_color_planes_cookie_t
13              xcb_alloc_color_planes(xcb_connection_t *conn,
14              uint8_t contiguous, xcb_colormap_t cmap, uint16_t colors,
15              uint16_t reds, uint16_t greens, uint16_t blues);
16
17   Reply datastructure
18       typedef struct xcb_alloc_color_planes_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           uint8_t  pad1[2];
25           uint32_t red_mask;
26           uint32_t green_mask;
27           uint32_t blue_mask;
28           uint8_t  pad2[8];
29       } xcb_alloc_color_planes_reply_t;
30
31   Reply function
32       xcb_alloc_color_planes_reply_t
33              *xcb_alloc_color_planes_reply(xcb_connection_t *conn,
34              xcb_alloc_color_planes_cookie_t cookie,
35              xcb_generic_error_t **e);
36
37   Reply accessors
38       uint32_t *xcb_alloc_color_planes_pixels(const
39              xcb_alloc_color_planes_request_t *reply);
40
41       int xcb_alloc_color_planes_pixels_length(const
42              xcb_alloc_color_planes_reply_t *reply);
43
44       xcb_generic_iterator_t xcb_alloc_color_planes_pixels_end(const
45              xcb_alloc_color_planes_reply_t *reply);
46

REQUEST ARGUMENTS

48       conn      The XCB connection to X11.
49
50       contiguous
51                 TODO: NOT YET DOCUMENTED.
52
53       cmap      TODO: NOT YET DOCUMENTED.
54
55       colors    TODO: NOT YET DOCUMENTED.
56
57       reds      TODO: NOT YET DOCUMENTED.
58
59       greens    TODO: NOT YET DOCUMENTED.
60
61       blues     TODO: NOT YET DOCUMENTED.
62

REPLY FIELDS

64       response_type
65                 The type of this reply, in this case XCB_ALLOC_COLOR_PLANES.
66                 This field is also present in the xcb_generic_reply_t and can
67                 be used to tell replies apart from each other.
68
69       sequence  The sequence number of the last request processed by the X11
70                 server.
71
72       length    The length of the reply, in words (a word is 4 bytes).
73
74       pixels_len
75                 TODO: NOT YET DOCUMENTED.
76
77       red_mask  TODO: NOT YET DOCUMENTED.
78
79       green_mask
80                 TODO: NOT YET DOCUMENTED.
81
82       blue_mask TODO: NOT YET DOCUMENTED.
83

DESCRIPTION

RETURN VALUE

86       Returns an xcb_alloc_color_planes_cookie_t. Errors have to be handled
87       when calling the reply function xcb_alloc_color_planes_reply.
88
89       If you want to handle errors in the event loop instead, use xcb_al‐
90       loc_color_planes_unchecked. See xcb-requests(3) for details.
91

ERRORS

93       This request does never generate any errors.
94

SEE ALSO

AUTHOR

97       Generated from xproto.xml. Contact xcb@lists.freedesktop.org for cor‐
98       rections and improvements.
99
100
101
102X Version 11                      libxcb 1.13        xcb_alloc_color_planes(3)
Impressum