xref: /minix3/external/mit/xorg/lib/libxcb/files/screensaver.h (revision 0a6a1f1d05b60e214de2f05a7310ddd1f0e590e7)
1971bb1a5SLionel Sambuc /*
2971bb1a5SLionel Sambuc  * This file generated automatically from screensaver.xml by c_client.py.
3971bb1a5SLionel Sambuc  * Edit at your peril.
4971bb1a5SLionel Sambuc  */
5971bb1a5SLionel Sambuc 
6971bb1a5SLionel Sambuc /**
7971bb1a5SLionel Sambuc  * @defgroup XCB_ScreenSaver_API XCB ScreenSaver API
8971bb1a5SLionel Sambuc  * @brief ScreenSaver XCB Protocol Implementation.
9971bb1a5SLionel Sambuc  * @{
10971bb1a5SLionel Sambuc  **/
11971bb1a5SLionel Sambuc 
12971bb1a5SLionel Sambuc #ifndef __SCREENSAVER_H
13971bb1a5SLionel Sambuc #define __SCREENSAVER_H
14971bb1a5SLionel Sambuc 
15971bb1a5SLionel Sambuc #include "xcb.h"
16971bb1a5SLionel Sambuc #include "xproto.h"
17971bb1a5SLionel Sambuc 
18971bb1a5SLionel Sambuc #ifdef __cplusplus
19971bb1a5SLionel Sambuc extern "C" {
20971bb1a5SLionel Sambuc #endif
21971bb1a5SLionel Sambuc 
22971bb1a5SLionel Sambuc #define XCB_SCREENSAVER_MAJOR_VERSION 1
23971bb1a5SLionel Sambuc #define XCB_SCREENSAVER_MINOR_VERSION 1
24971bb1a5SLionel Sambuc 
25971bb1a5SLionel Sambuc extern xcb_extension_t xcb_screensaver_id;
26971bb1a5SLionel Sambuc 
27971bb1a5SLionel Sambuc typedef enum xcb_screensaver_kind_t {
28*0a6a1f1dSLionel Sambuc     XCB_SCREENSAVER_KIND_BLANKED = 0,
29*0a6a1f1dSLionel Sambuc     XCB_SCREENSAVER_KIND_INTERNAL = 1,
30*0a6a1f1dSLionel Sambuc     XCB_SCREENSAVER_KIND_EXTERNAL = 2
31971bb1a5SLionel Sambuc } xcb_screensaver_kind_t;
32971bb1a5SLionel Sambuc 
33971bb1a5SLionel Sambuc typedef enum xcb_screensaver_event_t {
34971bb1a5SLionel Sambuc     XCB_SCREENSAVER_EVENT_NOTIFY_MASK = 1,
35971bb1a5SLionel Sambuc     XCB_SCREENSAVER_EVENT_CYCLE_MASK = 2
36971bb1a5SLionel Sambuc } xcb_screensaver_event_t;
37971bb1a5SLionel Sambuc 
38971bb1a5SLionel Sambuc typedef enum xcb_screensaver_state_t {
39*0a6a1f1dSLionel Sambuc     XCB_SCREENSAVER_STATE_OFF = 0,
40*0a6a1f1dSLionel Sambuc     XCB_SCREENSAVER_STATE_ON = 1,
41*0a6a1f1dSLionel Sambuc     XCB_SCREENSAVER_STATE_CYCLE = 2,
42*0a6a1f1dSLionel Sambuc     XCB_SCREENSAVER_STATE_DISABLED = 3
43971bb1a5SLionel Sambuc } xcb_screensaver_state_t;
44971bb1a5SLionel Sambuc 
45971bb1a5SLionel Sambuc /**
46971bb1a5SLionel Sambuc  * @brief xcb_screensaver_query_version_cookie_t
47971bb1a5SLionel Sambuc  **/
48971bb1a5SLionel Sambuc typedef struct xcb_screensaver_query_version_cookie_t {
49971bb1a5SLionel Sambuc     unsigned int sequence; /**<  */
50971bb1a5SLionel Sambuc } xcb_screensaver_query_version_cookie_t;
51971bb1a5SLionel Sambuc 
52971bb1a5SLionel Sambuc /** Opcode for xcb_screensaver_query_version. */
53971bb1a5SLionel Sambuc #define XCB_SCREENSAVER_QUERY_VERSION 0
54971bb1a5SLionel Sambuc 
55971bb1a5SLionel Sambuc /**
56971bb1a5SLionel Sambuc  * @brief xcb_screensaver_query_version_request_t
57971bb1a5SLionel Sambuc  **/
58971bb1a5SLionel Sambuc typedef struct xcb_screensaver_query_version_request_t {
59971bb1a5SLionel Sambuc     uint8_t  major_opcode; /**<  */
60971bb1a5SLionel Sambuc     uint8_t  minor_opcode; /**<  */
61971bb1a5SLionel Sambuc     uint16_t length; /**<  */
62971bb1a5SLionel Sambuc     uint8_t  client_major_version; /**<  */
63971bb1a5SLionel Sambuc     uint8_t  client_minor_version; /**<  */
64971bb1a5SLionel Sambuc     uint8_t  pad0[2]; /**<  */
65971bb1a5SLionel Sambuc } xcb_screensaver_query_version_request_t;
66971bb1a5SLionel Sambuc 
67971bb1a5SLionel Sambuc /**
68971bb1a5SLionel Sambuc  * @brief xcb_screensaver_query_version_reply_t
69971bb1a5SLionel Sambuc  **/
70971bb1a5SLionel Sambuc typedef struct xcb_screensaver_query_version_reply_t {
71971bb1a5SLionel Sambuc     uint8_t  response_type; /**<  */
72971bb1a5SLionel Sambuc     uint8_t  pad0; /**<  */
73971bb1a5SLionel Sambuc     uint16_t sequence; /**<  */
74971bb1a5SLionel Sambuc     uint32_t length; /**<  */
75971bb1a5SLionel Sambuc     uint16_t server_major_version; /**<  */
76971bb1a5SLionel Sambuc     uint16_t server_minor_version; /**<  */
77971bb1a5SLionel Sambuc     uint8_t  pad1[20]; /**<  */
78971bb1a5SLionel Sambuc } xcb_screensaver_query_version_reply_t;
79971bb1a5SLionel Sambuc 
80971bb1a5SLionel Sambuc /**
81971bb1a5SLionel Sambuc  * @brief xcb_screensaver_query_info_cookie_t
82971bb1a5SLionel Sambuc  **/
83971bb1a5SLionel Sambuc typedef struct xcb_screensaver_query_info_cookie_t {
84971bb1a5SLionel Sambuc     unsigned int sequence; /**<  */
85971bb1a5SLionel Sambuc } xcb_screensaver_query_info_cookie_t;
86971bb1a5SLionel Sambuc 
87971bb1a5SLionel Sambuc /** Opcode for xcb_screensaver_query_info. */
88971bb1a5SLionel Sambuc #define XCB_SCREENSAVER_QUERY_INFO 1
89971bb1a5SLionel Sambuc 
90971bb1a5SLionel Sambuc /**
91971bb1a5SLionel Sambuc  * @brief xcb_screensaver_query_info_request_t
92971bb1a5SLionel Sambuc  **/
93971bb1a5SLionel Sambuc typedef struct xcb_screensaver_query_info_request_t {
94971bb1a5SLionel Sambuc     uint8_t        major_opcode; /**<  */
95971bb1a5SLionel Sambuc     uint8_t        minor_opcode; /**<  */
96971bb1a5SLionel Sambuc     uint16_t       length; /**<  */
97971bb1a5SLionel Sambuc     xcb_drawable_t drawable; /**<  */
98971bb1a5SLionel Sambuc } xcb_screensaver_query_info_request_t;
99971bb1a5SLionel Sambuc 
100971bb1a5SLionel Sambuc /**
101971bb1a5SLionel Sambuc  * @brief xcb_screensaver_query_info_reply_t
102971bb1a5SLionel Sambuc  **/
103971bb1a5SLionel Sambuc typedef struct xcb_screensaver_query_info_reply_t {
104971bb1a5SLionel Sambuc     uint8_t      response_type; /**<  */
105971bb1a5SLionel Sambuc     uint8_t      state; /**<  */
106971bb1a5SLionel Sambuc     uint16_t     sequence; /**<  */
107971bb1a5SLionel Sambuc     uint32_t     length; /**<  */
108971bb1a5SLionel Sambuc     xcb_window_t saver_window; /**<  */
109971bb1a5SLionel Sambuc     uint32_t     ms_until_server; /**<  */
110971bb1a5SLionel Sambuc     uint32_t     ms_since_user_input; /**<  */
111971bb1a5SLionel Sambuc     uint32_t     event_mask; /**<  */
112971bb1a5SLionel Sambuc     uint8_t      kind; /**<  */
113971bb1a5SLionel Sambuc     uint8_t      pad0[7]; /**<  */
114971bb1a5SLionel Sambuc } xcb_screensaver_query_info_reply_t;
115971bb1a5SLionel Sambuc 
116971bb1a5SLionel Sambuc /** Opcode for xcb_screensaver_select_input. */
117971bb1a5SLionel Sambuc #define XCB_SCREENSAVER_SELECT_INPUT 2
118971bb1a5SLionel Sambuc 
119971bb1a5SLionel Sambuc /**
120971bb1a5SLionel Sambuc  * @brief xcb_screensaver_select_input_request_t
121971bb1a5SLionel Sambuc  **/
122971bb1a5SLionel Sambuc typedef struct xcb_screensaver_select_input_request_t {
123971bb1a5SLionel Sambuc     uint8_t        major_opcode; /**<  */
124971bb1a5SLionel Sambuc     uint8_t        minor_opcode; /**<  */
125971bb1a5SLionel Sambuc     uint16_t       length; /**<  */
126971bb1a5SLionel Sambuc     xcb_drawable_t drawable; /**<  */
127971bb1a5SLionel Sambuc     uint32_t       event_mask; /**<  */
128971bb1a5SLionel Sambuc } xcb_screensaver_select_input_request_t;
129971bb1a5SLionel Sambuc 
130971bb1a5SLionel Sambuc /** Opcode for xcb_screensaver_set_attributes. */
131971bb1a5SLionel Sambuc #define XCB_SCREENSAVER_SET_ATTRIBUTES 3
132971bb1a5SLionel Sambuc 
133971bb1a5SLionel Sambuc /**
134971bb1a5SLionel Sambuc  * @brief xcb_screensaver_set_attributes_request_t
135971bb1a5SLionel Sambuc  **/
136971bb1a5SLionel Sambuc typedef struct xcb_screensaver_set_attributes_request_t {
137971bb1a5SLionel Sambuc     uint8_t        major_opcode; /**<  */
138971bb1a5SLionel Sambuc     uint8_t        minor_opcode; /**<  */
139971bb1a5SLionel Sambuc     uint16_t       length; /**<  */
140971bb1a5SLionel Sambuc     xcb_drawable_t drawable; /**<  */
141971bb1a5SLionel Sambuc     int16_t        x; /**<  */
142971bb1a5SLionel Sambuc     int16_t        y; /**<  */
143971bb1a5SLionel Sambuc     uint16_t       width; /**<  */
144971bb1a5SLionel Sambuc     uint16_t       height; /**<  */
145971bb1a5SLionel Sambuc     uint16_t       border_width; /**<  */
146971bb1a5SLionel Sambuc     uint8_t        _class; /**<  */
147971bb1a5SLionel Sambuc     uint8_t        depth; /**<  */
148971bb1a5SLionel Sambuc     xcb_visualid_t visual; /**<  */
149971bb1a5SLionel Sambuc     uint32_t       value_mask; /**<  */
150971bb1a5SLionel Sambuc } xcb_screensaver_set_attributes_request_t;
151971bb1a5SLionel Sambuc 
152971bb1a5SLionel Sambuc /** Opcode for xcb_screensaver_unset_attributes. */
153971bb1a5SLionel Sambuc #define XCB_SCREENSAVER_UNSET_ATTRIBUTES 4
154971bb1a5SLionel Sambuc 
155971bb1a5SLionel Sambuc /**
156971bb1a5SLionel Sambuc  * @brief xcb_screensaver_unset_attributes_request_t
157971bb1a5SLionel Sambuc  **/
158971bb1a5SLionel Sambuc typedef struct xcb_screensaver_unset_attributes_request_t {
159971bb1a5SLionel Sambuc     uint8_t        major_opcode; /**<  */
160971bb1a5SLionel Sambuc     uint8_t        minor_opcode; /**<  */
161971bb1a5SLionel Sambuc     uint16_t       length; /**<  */
162971bb1a5SLionel Sambuc     xcb_drawable_t drawable; /**<  */
163971bb1a5SLionel Sambuc } xcb_screensaver_unset_attributes_request_t;
164971bb1a5SLionel Sambuc 
165971bb1a5SLionel Sambuc /** Opcode for xcb_screensaver_suspend. */
166971bb1a5SLionel Sambuc #define XCB_SCREENSAVER_SUSPEND 5
167971bb1a5SLionel Sambuc 
168971bb1a5SLionel Sambuc /**
169971bb1a5SLionel Sambuc  * @brief xcb_screensaver_suspend_request_t
170971bb1a5SLionel Sambuc  **/
171971bb1a5SLionel Sambuc typedef struct xcb_screensaver_suspend_request_t {
172971bb1a5SLionel Sambuc     uint8_t  major_opcode; /**<  */
173971bb1a5SLionel Sambuc     uint8_t  minor_opcode; /**<  */
174971bb1a5SLionel Sambuc     uint16_t length; /**<  */
175971bb1a5SLionel Sambuc     uint8_t  suspend; /**<  */
176971bb1a5SLionel Sambuc     uint8_t  pad0[3]; /**<  */
177971bb1a5SLionel Sambuc } xcb_screensaver_suspend_request_t;
178971bb1a5SLionel Sambuc 
179971bb1a5SLionel Sambuc /** Opcode for xcb_screensaver_notify. */
180971bb1a5SLionel Sambuc #define XCB_SCREENSAVER_NOTIFY 0
181971bb1a5SLionel Sambuc 
182971bb1a5SLionel Sambuc /**
183971bb1a5SLionel Sambuc  * @brief xcb_screensaver_notify_event_t
184971bb1a5SLionel Sambuc  **/
185971bb1a5SLionel Sambuc typedef struct xcb_screensaver_notify_event_t {
186971bb1a5SLionel Sambuc     uint8_t         response_type; /**<  */
187971bb1a5SLionel Sambuc     uint8_t         state; /**<  */
188*0a6a1f1dSLionel Sambuc     uint16_t        sequence; /**<  */
189971bb1a5SLionel Sambuc     xcb_timestamp_t time; /**<  */
190971bb1a5SLionel Sambuc     xcb_window_t    root; /**<  */
191971bb1a5SLionel Sambuc     xcb_window_t    window; /**<  */
192971bb1a5SLionel Sambuc     uint8_t         kind; /**<  */
193971bb1a5SLionel Sambuc     uint8_t         forced; /**<  */
194*0a6a1f1dSLionel Sambuc     uint8_t         pad0[14]; /**<  */
195971bb1a5SLionel Sambuc } xcb_screensaver_notify_event_t;
196971bb1a5SLionel Sambuc 
197971bb1a5SLionel Sambuc /**
198971bb1a5SLionel Sambuc  *
199971bb1a5SLionel Sambuc  * @param c The connection
200971bb1a5SLionel Sambuc  * @return A cookie
201971bb1a5SLionel Sambuc  *
202971bb1a5SLionel Sambuc  * Delivers a request to the X server.
203971bb1a5SLionel Sambuc  *
204971bb1a5SLionel Sambuc  */
205971bb1a5SLionel Sambuc xcb_screensaver_query_version_cookie_t
206971bb1a5SLionel Sambuc xcb_screensaver_query_version (xcb_connection_t *c  /**< */,
207971bb1a5SLionel Sambuc                                uint8_t           client_major_version  /**< */,
208971bb1a5SLionel Sambuc                                uint8_t           client_minor_version  /**< */);
209971bb1a5SLionel Sambuc 
210971bb1a5SLionel Sambuc /**
211971bb1a5SLionel Sambuc  *
212971bb1a5SLionel Sambuc  * @param c The connection
213971bb1a5SLionel Sambuc  * @return A cookie
214971bb1a5SLionel Sambuc  *
215971bb1a5SLionel Sambuc  * Delivers a request to the X server.
216971bb1a5SLionel Sambuc  *
217971bb1a5SLionel Sambuc  * This form can be used only if the request will cause
218971bb1a5SLionel Sambuc  * a reply to be generated. Any returned error will be
219971bb1a5SLionel Sambuc  * placed in the event queue.
220971bb1a5SLionel Sambuc  */
221971bb1a5SLionel Sambuc xcb_screensaver_query_version_cookie_t
222971bb1a5SLionel Sambuc xcb_screensaver_query_version_unchecked (xcb_connection_t *c  /**< */,
223971bb1a5SLionel Sambuc                                          uint8_t           client_major_version  /**< */,
224971bb1a5SLionel Sambuc                                          uint8_t           client_minor_version  /**< */);
225971bb1a5SLionel Sambuc 
226971bb1a5SLionel Sambuc /**
227971bb1a5SLionel Sambuc  * Return the reply
228971bb1a5SLionel Sambuc  * @param c      The connection
229971bb1a5SLionel Sambuc  * @param cookie The cookie
230971bb1a5SLionel Sambuc  * @param e      The xcb_generic_error_t supplied
231971bb1a5SLionel Sambuc  *
232971bb1a5SLionel Sambuc  * Returns the reply of the request asked by
233971bb1a5SLionel Sambuc  *
234971bb1a5SLionel Sambuc  * The parameter @p e supplied to this function must be NULL if
235971bb1a5SLionel Sambuc  * xcb_screensaver_query_version_unchecked(). is used.
236971bb1a5SLionel Sambuc  * Otherwise, it stores the error if any.
237971bb1a5SLionel Sambuc  *
238971bb1a5SLionel Sambuc  * The returned value must be freed by the caller using free().
239971bb1a5SLionel Sambuc  */
240971bb1a5SLionel Sambuc xcb_screensaver_query_version_reply_t *
241971bb1a5SLionel Sambuc xcb_screensaver_query_version_reply (xcb_connection_t                        *c  /**< */,
242971bb1a5SLionel Sambuc                                      xcb_screensaver_query_version_cookie_t   cookie  /**< */,
243971bb1a5SLionel Sambuc                                      xcb_generic_error_t                    **e  /**< */);
244971bb1a5SLionel Sambuc 
245971bb1a5SLionel Sambuc /**
246971bb1a5SLionel Sambuc  *
247971bb1a5SLionel Sambuc  * @param c The connection
248971bb1a5SLionel Sambuc  * @return A cookie
249971bb1a5SLionel Sambuc  *
250971bb1a5SLionel Sambuc  * Delivers a request to the X server.
251971bb1a5SLionel Sambuc  *
252971bb1a5SLionel Sambuc  */
253971bb1a5SLionel Sambuc xcb_screensaver_query_info_cookie_t
254971bb1a5SLionel Sambuc xcb_screensaver_query_info (xcb_connection_t *c  /**< */,
255971bb1a5SLionel Sambuc                             xcb_drawable_t    drawable  /**< */);
256971bb1a5SLionel Sambuc 
257971bb1a5SLionel Sambuc /**
258971bb1a5SLionel Sambuc  *
259971bb1a5SLionel Sambuc  * @param c The connection
260971bb1a5SLionel Sambuc  * @return A cookie
261971bb1a5SLionel Sambuc  *
262971bb1a5SLionel Sambuc  * Delivers a request to the X server.
263971bb1a5SLionel Sambuc  *
264971bb1a5SLionel Sambuc  * This form can be used only if the request will cause
265971bb1a5SLionel Sambuc  * a reply to be generated. Any returned error will be
266971bb1a5SLionel Sambuc  * placed in the event queue.
267971bb1a5SLionel Sambuc  */
268971bb1a5SLionel Sambuc xcb_screensaver_query_info_cookie_t
269971bb1a5SLionel Sambuc xcb_screensaver_query_info_unchecked (xcb_connection_t *c  /**< */,
270971bb1a5SLionel Sambuc                                       xcb_drawable_t    drawable  /**< */);
271971bb1a5SLionel Sambuc 
272971bb1a5SLionel Sambuc /**
273971bb1a5SLionel Sambuc  * Return the reply
274971bb1a5SLionel Sambuc  * @param c      The connection
275971bb1a5SLionel Sambuc  * @param cookie The cookie
276971bb1a5SLionel Sambuc  * @param e      The xcb_generic_error_t supplied
277971bb1a5SLionel Sambuc  *
278971bb1a5SLionel Sambuc  * Returns the reply of the request asked by
279971bb1a5SLionel Sambuc  *
280971bb1a5SLionel Sambuc  * The parameter @p e supplied to this function must be NULL if
281971bb1a5SLionel Sambuc  * xcb_screensaver_query_info_unchecked(). is used.
282971bb1a5SLionel Sambuc  * Otherwise, it stores the error if any.
283971bb1a5SLionel Sambuc  *
284971bb1a5SLionel Sambuc  * The returned value must be freed by the caller using free().
285971bb1a5SLionel Sambuc  */
286971bb1a5SLionel Sambuc xcb_screensaver_query_info_reply_t *
287971bb1a5SLionel Sambuc xcb_screensaver_query_info_reply (xcb_connection_t                     *c  /**< */,
288971bb1a5SLionel Sambuc                                   xcb_screensaver_query_info_cookie_t   cookie  /**< */,
289971bb1a5SLionel Sambuc                                   xcb_generic_error_t                 **e  /**< */);
290971bb1a5SLionel Sambuc 
291971bb1a5SLionel Sambuc /**
292971bb1a5SLionel Sambuc  *
293971bb1a5SLionel Sambuc  * @param c The connection
294971bb1a5SLionel Sambuc  * @return A cookie
295971bb1a5SLionel Sambuc  *
296971bb1a5SLionel Sambuc  * Delivers a request to the X server.
297971bb1a5SLionel Sambuc  *
298971bb1a5SLionel Sambuc  * This form can be used only if the request will not cause
299971bb1a5SLionel Sambuc  * a reply to be generated. Any returned error will be
300971bb1a5SLionel Sambuc  * saved for handling by xcb_request_check().
301971bb1a5SLionel Sambuc  */
302971bb1a5SLionel Sambuc xcb_void_cookie_t
303971bb1a5SLionel Sambuc xcb_screensaver_select_input_checked (xcb_connection_t *c  /**< */,
304971bb1a5SLionel Sambuc                                       xcb_drawable_t    drawable  /**< */,
305971bb1a5SLionel Sambuc                                       uint32_t          event_mask  /**< */);
306971bb1a5SLionel Sambuc 
307971bb1a5SLionel Sambuc /**
308971bb1a5SLionel Sambuc  *
309971bb1a5SLionel Sambuc  * @param c The connection
310971bb1a5SLionel Sambuc  * @return A cookie
311971bb1a5SLionel Sambuc  *
312971bb1a5SLionel Sambuc  * Delivers a request to the X server.
313971bb1a5SLionel Sambuc  *
314971bb1a5SLionel Sambuc  */
315971bb1a5SLionel Sambuc xcb_void_cookie_t
316971bb1a5SLionel Sambuc xcb_screensaver_select_input (xcb_connection_t *c  /**< */,
317971bb1a5SLionel Sambuc                               xcb_drawable_t    drawable  /**< */,
318971bb1a5SLionel Sambuc                               uint32_t          event_mask  /**< */);
319971bb1a5SLionel Sambuc 
320971bb1a5SLionel Sambuc int
321971bb1a5SLionel Sambuc xcb_screensaver_set_attributes_sizeof (const void  *_buffer  /**< */);
322971bb1a5SLionel Sambuc 
323971bb1a5SLionel Sambuc /**
324971bb1a5SLionel Sambuc  *
325971bb1a5SLionel Sambuc  * @param c The connection
326971bb1a5SLionel Sambuc  * @return A cookie
327971bb1a5SLionel Sambuc  *
328971bb1a5SLionel Sambuc  * Delivers a request to the X server.
329971bb1a5SLionel Sambuc  *
330971bb1a5SLionel Sambuc  * This form can be used only if the request will not cause
331971bb1a5SLionel Sambuc  * a reply to be generated. Any returned error will be
332971bb1a5SLionel Sambuc  * saved for handling by xcb_request_check().
333971bb1a5SLionel Sambuc  */
334971bb1a5SLionel Sambuc xcb_void_cookie_t
335971bb1a5SLionel Sambuc xcb_screensaver_set_attributes_checked (xcb_connection_t *c  /**< */,
336971bb1a5SLionel Sambuc                                         xcb_drawable_t    drawable  /**< */,
337971bb1a5SLionel Sambuc                                         int16_t           x  /**< */,
338971bb1a5SLionel Sambuc                                         int16_t           y  /**< */,
339971bb1a5SLionel Sambuc                                         uint16_t          width  /**< */,
340971bb1a5SLionel Sambuc                                         uint16_t          height  /**< */,
341971bb1a5SLionel Sambuc                                         uint16_t          border_width  /**< */,
342971bb1a5SLionel Sambuc                                         uint8_t           _class  /**< */,
343971bb1a5SLionel Sambuc                                         uint8_t           depth  /**< */,
344971bb1a5SLionel Sambuc                                         xcb_visualid_t    visual  /**< */,
345971bb1a5SLionel Sambuc                                         uint32_t          value_mask  /**< */,
346971bb1a5SLionel Sambuc                                         const uint32_t   *value_list  /**< */);
347971bb1a5SLionel Sambuc 
348971bb1a5SLionel Sambuc /**
349971bb1a5SLionel Sambuc  *
350971bb1a5SLionel Sambuc  * @param c The connection
351971bb1a5SLionel Sambuc  * @return A cookie
352971bb1a5SLionel Sambuc  *
353971bb1a5SLionel Sambuc  * Delivers a request to the X server.
354971bb1a5SLionel Sambuc  *
355971bb1a5SLionel Sambuc  */
356971bb1a5SLionel Sambuc xcb_void_cookie_t
357971bb1a5SLionel Sambuc xcb_screensaver_set_attributes (xcb_connection_t *c  /**< */,
358971bb1a5SLionel Sambuc                                 xcb_drawable_t    drawable  /**< */,
359971bb1a5SLionel Sambuc                                 int16_t           x  /**< */,
360971bb1a5SLionel Sambuc                                 int16_t           y  /**< */,
361971bb1a5SLionel Sambuc                                 uint16_t          width  /**< */,
362971bb1a5SLionel Sambuc                                 uint16_t          height  /**< */,
363971bb1a5SLionel Sambuc                                 uint16_t          border_width  /**< */,
364971bb1a5SLionel Sambuc                                 uint8_t           _class  /**< */,
365971bb1a5SLionel Sambuc                                 uint8_t           depth  /**< */,
366971bb1a5SLionel Sambuc                                 xcb_visualid_t    visual  /**< */,
367971bb1a5SLionel Sambuc                                 uint32_t          value_mask  /**< */,
368971bb1a5SLionel Sambuc                                 const uint32_t   *value_list  /**< */);
369971bb1a5SLionel Sambuc 
370971bb1a5SLionel Sambuc /**
371971bb1a5SLionel Sambuc  *
372971bb1a5SLionel Sambuc  * @param c The connection
373971bb1a5SLionel Sambuc  * @return A cookie
374971bb1a5SLionel Sambuc  *
375971bb1a5SLionel Sambuc  * Delivers a request to the X server.
376971bb1a5SLionel Sambuc  *
377971bb1a5SLionel Sambuc  * This form can be used only if the request will not cause
378971bb1a5SLionel Sambuc  * a reply to be generated. Any returned error will be
379971bb1a5SLionel Sambuc  * saved for handling by xcb_request_check().
380971bb1a5SLionel Sambuc  */
381971bb1a5SLionel Sambuc xcb_void_cookie_t
382971bb1a5SLionel Sambuc xcb_screensaver_unset_attributes_checked (xcb_connection_t *c  /**< */,
383971bb1a5SLionel Sambuc                                           xcb_drawable_t    drawable  /**< */);
384971bb1a5SLionel Sambuc 
385971bb1a5SLionel Sambuc /**
386971bb1a5SLionel Sambuc  *
387971bb1a5SLionel Sambuc  * @param c The connection
388971bb1a5SLionel Sambuc  * @return A cookie
389971bb1a5SLionel Sambuc  *
390971bb1a5SLionel Sambuc  * Delivers a request to the X server.
391971bb1a5SLionel Sambuc  *
392971bb1a5SLionel Sambuc  */
393971bb1a5SLionel Sambuc xcb_void_cookie_t
394971bb1a5SLionel Sambuc xcb_screensaver_unset_attributes (xcb_connection_t *c  /**< */,
395971bb1a5SLionel Sambuc                                   xcb_drawable_t    drawable  /**< */);
396971bb1a5SLionel Sambuc 
397971bb1a5SLionel Sambuc /**
398971bb1a5SLionel Sambuc  *
399971bb1a5SLionel Sambuc  * @param c The connection
400971bb1a5SLionel Sambuc  * @return A cookie
401971bb1a5SLionel Sambuc  *
402971bb1a5SLionel Sambuc  * Delivers a request to the X server.
403971bb1a5SLionel Sambuc  *
404971bb1a5SLionel Sambuc  * This form can be used only if the request will not cause
405971bb1a5SLionel Sambuc  * a reply to be generated. Any returned error will be
406971bb1a5SLionel Sambuc  * saved for handling by xcb_request_check().
407971bb1a5SLionel Sambuc  */
408971bb1a5SLionel Sambuc xcb_void_cookie_t
409971bb1a5SLionel Sambuc xcb_screensaver_suspend_checked (xcb_connection_t *c  /**< */,
410971bb1a5SLionel Sambuc                                  uint8_t           suspend  /**< */);
411971bb1a5SLionel Sambuc 
412971bb1a5SLionel Sambuc /**
413971bb1a5SLionel Sambuc  *
414971bb1a5SLionel Sambuc  * @param c The connection
415971bb1a5SLionel Sambuc  * @return A cookie
416971bb1a5SLionel Sambuc  *
417971bb1a5SLionel Sambuc  * Delivers a request to the X server.
418971bb1a5SLionel Sambuc  *
419971bb1a5SLionel Sambuc  */
420971bb1a5SLionel Sambuc xcb_void_cookie_t
421971bb1a5SLionel Sambuc xcb_screensaver_suspend (xcb_connection_t *c  /**< */,
422971bb1a5SLionel Sambuc                          uint8_t           suspend  /**< */);
423971bb1a5SLionel Sambuc 
424971bb1a5SLionel Sambuc 
425971bb1a5SLionel Sambuc #ifdef __cplusplus
426971bb1a5SLionel Sambuc }
427971bb1a5SLionel Sambuc #endif
428971bb1a5SLionel Sambuc 
429971bb1a5SLionel Sambuc #endif
430971bb1a5SLionel Sambuc 
431971bb1a5SLionel Sambuc /**
432971bb1a5SLionel Sambuc  * @}
433971bb1a5SLionel Sambuc  */
434