1 /*
2  * This file generated automatically from xc_misc.xml by c-client.xsl using XSLT.
3  * Edit at your peril.
4  */
5 
6 /**
7  * @defgroup XCB_XCMisc_API XCB XCMisc API
8  * @brief XCMisc XCB Protocol Implementation.
9  * @{
10  **/
11 
12 
13 module std.c.linux.X11.xcb.xc_misc;
14 
15 import std.c.linux.X11.xcb.xcb;
16 
17 const int XCB_XCMISC_MAJOR_VERSION =1;
18 const int XCB_XCMISC_MINOR_VERSION =1;
19   
20 extern(C) extern xcb_extension_t xcb_xc_misc_id;
21 
22 /**
23  * @brief xcb_xc_misc_get_version_cookie_t
24  **/
25 struct xcb_xc_misc_get_version_cookie_t {
26     uint sequence; /**<  */
27 } ;
28 
29 /** Opcode for xcb_xc_misc_get_version. */
30 const uint XCB_XC_MISC_GET_VERSION = 0;
31 
32 /**
33  * @brief xcb_xc_misc_get_version_request_t
34  **/
35 struct xcb_xc_misc_get_version_request_t {
36     ubyte  major_opcode; /**<  */
37     ubyte  minor_opcode; /**<  */
38     ushort length; /**<  */
39     ushort client_major_version; /**<  */
40     ushort client_minor_version; /**<  */
41 } ;
42 
43 /**
44  * @brief xcb_xc_misc_get_version_reply_t
45  **/
46 struct xcb_xc_misc_get_version_reply_t {
47     ubyte  response_type; /**<  */
48     ubyte  pad0; /**<  */
49     ushort sequence; /**<  */
50     uint   length; /**<  */
51     ushort server_major_version; /**<  */
52     ushort server_minor_version; /**<  */
53 } ;
54 
55 /**
56  * @brief xcb_xc_misc_get_xid_range_cookie_t
57  **/
58 struct xcb_xc_misc_get_xid_range_cookie_t {
59     uint sequence; /**<  */
60 } ;
61 
62 /** Opcode for xcb_xc_misc_get_xid_range. */
63 const uint XCB_XC_MISC_GET_XID_RANGE = 1;
64 
65 /**
66  * @brief xcb_xc_misc_get_xid_range_request_t
67  **/
68 struct xcb_xc_misc_get_xid_range_request_t {
69     ubyte  major_opcode; /**<  */
70     ubyte  minor_opcode; /**<  */
71     ushort length; /**<  */
72 } ;
73 
74 /**
75  * @brief xcb_xc_misc_get_xid_range_reply_t
76  **/
77 struct xcb_xc_misc_get_xid_range_reply_t {
78     ubyte  response_type; /**<  */
79     ubyte  pad0; /**<  */
80     ushort sequence; /**<  */
81     uint   length; /**<  */
82     uint   start_id; /**<  */
83     uint   count; /**<  */
84 } ;
85 
86 /**
87  * @brief xcb_xc_misc_get_xid_list_cookie_t
88  **/
89 struct xcb_xc_misc_get_xid_list_cookie_t {
90     uint sequence; /**<  */
91 } ;
92 
93 /** Opcode for xcb_xc_misc_get_xid_list. */
94 const uint XCB_XC_MISC_GET_XID_LIST = 2;
95 
96 /**
97  * @brief xcb_xc_misc_get_xid_list_request_t
98  **/
99 struct xcb_xc_misc_get_xid_list_request_t {
100     ubyte  major_opcode; /**<  */
101     ubyte  minor_opcode; /**<  */
102     ushort length; /**<  */
103     uint   count; /**<  */
104 } ;
105 
106 /**
107  * @brief xcb_xc_misc_get_xid_list_reply_t
108  **/
109 struct xcb_xc_misc_get_xid_list_reply_t {
110     ubyte  response_type; /**<  */
111     ubyte  pad0; /**<  */
112     ushort sequence; /**<  */
113     uint   length; /**<  */
114     uint   ids_len; /**<  */
115     ubyte  pad1[20]; /**<  */
116 } ;
117 
118 
119 /*****************************************************************************
120  **
121  ** xcb_xc_misc_get_version_cookie_t xcb_xc_misc_get_version
122  ** 
123  ** @param xcb_connection_t *c
124  ** @param ushort            client_major_version
125  ** @param ushort            client_minor_version
126  ** @returns xcb_xc_misc_get_version_cookie_t
127  **
128  *****************************************************************************/
129  
130 extern(C) xcb_xc_misc_get_version_cookie_t
131 xcb_xc_misc_get_version (xcb_connection_t *c  /**< */,
132                          ushort            client_major_version  /**< */,
133                          ushort            client_minor_version  /**< */);
134 
135 
136 /*****************************************************************************
137  **
138  ** xcb_xc_misc_get_version_cookie_t xcb_xc_misc_get_version_unchecked
139  ** 
140  ** @param xcb_connection_t *c
141  ** @param ushort            client_major_version
142  ** @param ushort            client_minor_version
143  ** @returns xcb_xc_misc_get_version_cookie_t
144  **
145  *****************************************************************************/
146  
147 extern(C) xcb_xc_misc_get_version_cookie_t
148 xcb_xc_misc_get_version_unchecked (xcb_connection_t *c  /**< */,
149                                    ushort            client_major_version  /**< */,
150                                    ushort            client_minor_version  /**< */);
151 
152 
153 /*****************************************************************************
154  **
155  ** xcb_xc_misc_get_version_reply_t * xcb_xc_misc_get_version_reply
156  ** 
157  ** @param xcb_connection_t                  *c
158  ** @param xcb_xc_misc_get_version_cookie_t   cookie
159  ** @param xcb_generic_error_t              **e
160  ** @returns xcb_xc_misc_get_version_reply_t *
161  **
162  *****************************************************************************/
163  
164 extern(C) xcb_xc_misc_get_version_reply_t *
165 xcb_xc_misc_get_version_reply (xcb_connection_t                  *c  /**< */,
166                                xcb_xc_misc_get_version_cookie_t   cookie  /**< */,
167                                xcb_generic_error_t              **e  /**< */);
168 
169 
170 /*****************************************************************************
171  **
172  ** xcb_xc_misc_get_xid_range_cookie_t xcb_xc_misc_get_xid_range
173  ** 
174  ** @param xcb_connection_t *c
175  ** @returns xcb_xc_misc_get_xid_range_cookie_t
176  **
177  *****************************************************************************/
178  
179 extern(C) xcb_xc_misc_get_xid_range_cookie_t
180 xcb_xc_misc_get_xid_range (xcb_connection_t *c  /**< */);
181 
182 
183 /*****************************************************************************
184  **
185  ** xcb_xc_misc_get_xid_range_cookie_t xcb_xc_misc_get_xid_range_unchecked
186  ** 
187  ** @param xcb_connection_t *c
188  ** @returns xcb_xc_misc_get_xid_range_cookie_t
189  **
190  *****************************************************************************/
191  
192 extern(C) xcb_xc_misc_get_xid_range_cookie_t
193 xcb_xc_misc_get_xid_range_unchecked (xcb_connection_t *c  /**< */);
194 
195 
196 /*****************************************************************************
197  **
198  ** xcb_xc_misc_get_xid_range_reply_t * xcb_xc_misc_get_xid_range_reply
199  ** 
200  ** @param xcb_connection_t                    *c
201  ** @param xcb_xc_misc_get_xid_range_cookie_t   cookie
202  ** @param xcb_generic_error_t                **e
203  ** @returns xcb_xc_misc_get_xid_range_reply_t *
204  **
205  *****************************************************************************/
206  
207 extern(C) xcb_xc_misc_get_xid_range_reply_t *
208 xcb_xc_misc_get_xid_range_reply (xcb_connection_t                    *c  /**< */,
209                                  xcb_xc_misc_get_xid_range_cookie_t   cookie  /**< */,
210                                  xcb_generic_error_t                **e  /**< */);
211 
212 
213 /*****************************************************************************
214  **
215  ** xcb_xc_misc_get_xid_list_cookie_t xcb_xc_misc_get_xid_list
216  ** 
217  ** @param xcb_connection_t *c
218  ** @param uint              count
219  ** @returns xcb_xc_misc_get_xid_list_cookie_t
220  **
221  *****************************************************************************/
222  
223 extern(C) xcb_xc_misc_get_xid_list_cookie_t
224 xcb_xc_misc_get_xid_list (xcb_connection_t *c  /**< */,
225                           uint              count  /**< */);
226 
227 
228 /*****************************************************************************
229  **
230  ** xcb_xc_misc_get_xid_list_cookie_t xcb_xc_misc_get_xid_list_unchecked
231  ** 
232  ** @param xcb_connection_t *c
233  ** @param uint              count
234  ** @returns xcb_xc_misc_get_xid_list_cookie_t
235  **
236  *****************************************************************************/
237  
238 extern(C) xcb_xc_misc_get_xid_list_cookie_t
239 xcb_xc_misc_get_xid_list_unchecked (xcb_connection_t *c  /**< */,
240                                     uint              count  /**< */);
241 
242 
243 /*****************************************************************************
244  **
245  ** uint * xcb_xc_misc_get_xid_list_ids
246  ** 
247  ** @param /+const+/ xcb_xc_misc_get_xid_list_reply_t *R
248  ** @returns uint *
249  **
250  *****************************************************************************/
251  
252 extern(C) uint *
253 xcb_xc_misc_get_xid_list_ids (/+const+/ xcb_xc_misc_get_xid_list_reply_t *R  /**< */);
254 
255 
256 /*****************************************************************************
257  **
258  ** int xcb_xc_misc_get_xid_list_ids_length
259  ** 
260  ** @param /+const+/ xcb_xc_misc_get_xid_list_reply_t *R
261  ** @returns int
262  **
263  *****************************************************************************/
264  
265 extern(C) int
266 xcb_xc_misc_get_xid_list_ids_length (/+const+/ xcb_xc_misc_get_xid_list_reply_t *R  /**< */);
267 
268 
269 /*****************************************************************************
270  **
271  ** xcb_generic_iterator_t xcb_xc_misc_get_xid_list_ids_end
272  ** 
273  ** @param /+const+/ xcb_xc_misc_get_xid_list_reply_t *R
274  ** @returns xcb_generic_iterator_t
275  **
276  *****************************************************************************/
277  
278 extern(C) xcb_generic_iterator_t
279 xcb_xc_misc_get_xid_list_ids_end (/+const+/ xcb_xc_misc_get_xid_list_reply_t *R  /**< */);
280 
281 
282 /*****************************************************************************
283  **
284  ** xcb_xc_misc_get_xid_list_reply_t * xcb_xc_misc_get_xid_list_reply
285  ** 
286  ** @param xcb_connection_t                   *c
287  ** @param xcb_xc_misc_get_xid_list_cookie_t   cookie
288  ** @param xcb_generic_error_t               **e
289  ** @returns xcb_xc_misc_get_xid_list_reply_t *
290  **
291  *****************************************************************************/
292  
293 extern(C) xcb_xc_misc_get_xid_list_reply_t *
294 xcb_xc_misc_get_xid_list_reply (xcb_connection_t                   *c  /**< */,
295                                 xcb_xc_misc_get_xid_list_cookie_t   cookie  /**< */,
296                                 xcb_generic_error_t               **e  /**< */);
297 
298 
299 
300 /**
301  * @}
302  */