home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / Linux / SLAX 6.0.8 / slax-6.0.8.iso / slax / base / 006-devel.lzm / usr / include / xcb / xprint.h < prev    next >
Encoding:
C/C++ Source or Header  |  2008-09-17  |  93.5 KB  |  2,812 lines

  1. /*
  2.  * This file generated automatically from xprint.xml by c-client.xsl using XSLT.
  3.  * Edit at your peril.
  4.  */
  5.  
  6. /**
  7.  * @defgroup XCB_XPrint_API XCB XPrint API
  8.  * @brief XPrint XCB Protocol Implementation.
  9.  * @{
  10.  **/
  11.  
  12. #ifndef __XPRINT_H
  13. #define __XPRINT_H
  14.  
  15. #include "xcb.h"
  16. #include "xproto.h"
  17.  
  18. #define XCB_XPRINT_MAJOR_VERSION 1
  19. #define XCB_XPRINT_MINOR_VERSION 0
  20.   
  21. extern xcb_extension_t xcb_x_print_id;
  22.  
  23. /**
  24.  * @brief xcb_x_print_printer_t
  25.  **/
  26. typedef struct xcb_x_print_printer_t {
  27.     uint32_t nameLen; /**<  */
  28.     uint32_t descLen; /**<  */
  29. } xcb_x_print_printer_t;
  30.  
  31. /**
  32.  * @brief xcb_x_print_printer_iterator_t
  33.  **/
  34. typedef struct xcb_x_print_printer_iterator_t {
  35.     xcb_x_print_printer_t *data; /**<  */
  36.     int                    rem; /**<  */
  37.     int                    index; /**<  */
  38. } xcb_x_print_printer_iterator_t;
  39.  
  40. typedef uint32_t xcb_x_print_pcontext_t;
  41.  
  42. /**
  43.  * @brief xcb_x_print_pcontext_iterator_t
  44.  **/
  45. typedef struct xcb_x_print_pcontext_iterator_t {
  46.     xcb_x_print_pcontext_t *data; /**<  */
  47.     int                     rem; /**<  */
  48.     int                     index; /**<  */
  49. } xcb_x_print_pcontext_iterator_t;
  50.  
  51. typedef char xcb_x_print_string8_t;
  52.  
  53. /**
  54.  * @brief xcb_x_print_string8_iterator_t
  55.  **/
  56. typedef struct xcb_x_print_string8_iterator_t {
  57.     xcb_x_print_string8_t *data; /**<  */
  58.     int                    rem; /**<  */
  59.     int                    index; /**<  */
  60. } xcb_x_print_string8_iterator_t;
  61.  
  62. typedef enum xcb_x_print_get_doc_t {
  63.     XCB_X_PRINT_GET_DOC_FINISHED = 0,
  64.     XCB_X_PRINT_GET_DOC_SECOND_CONSUMER = 1
  65. } xcb_x_print_get_doc_t;
  66.  
  67. typedef enum xcb_x_print_ev_mask_t {
  68.     XCB_X_PRINT_EV_MASK_NO_EVENT_MASK = 0x00000000,
  69.     XCB_X_PRINT_EV_MASK_PRINT_MASK = 0x00000001,
  70.     XCB_X_PRINT_EV_MASK_ATTRIBUTE_MASK = 0x00000002
  71. } xcb_x_print_ev_mask_t;
  72.  
  73. typedef enum xcb_x_print_detail_t {
  74.     XCB_X_PRINT_DETAIL_START_JOB_NOTIFY = 1,
  75.     XCB_X_PRINT_DETAIL_END_JOB_NOTIFY = 2,
  76.     XCB_X_PRINT_DETAIL_START_DOC_NOTIFY = 3,
  77.     XCB_X_PRINT_DETAIL_END_DOC_NOTIFY = 4,
  78.     XCB_X_PRINT_DETAIL_START_PAGE_NOTIFY = 5,
  79.     XCB_X_PRINT_DETAIL_END_PAGE_NOTIFY = 6
  80. } xcb_x_print_detail_t;
  81.  
  82. typedef enum xcb_x_print_attr_t {
  83.     XCB_X_PRINT_ATTR_JOB_ATTR = 1,
  84.     XCB_X_PRINT_ATTR_DOC_ATTR = 2,
  85.     XCB_X_PRINT_ATTR_PAGE_ATTR = 3,
  86.     XCB_X_PRINT_ATTR_PRINTER_ATTR = 4,
  87.     XCB_X_PRINT_ATTR_SERVER_ATTR = 5,
  88.     XCB_X_PRINT_ATTR_MEDIUM_ATTR = 6,
  89.     XCB_X_PRINT_ATTR_SPOOLER_ATTR = 7
  90. } xcb_x_print_attr_t;
  91.  
  92. /**
  93.  * @brief xcb_x_print_print_query_version_cookie_t
  94.  **/
  95. typedef struct xcb_x_print_print_query_version_cookie_t {
  96.     unsigned int sequence; /**<  */
  97. } xcb_x_print_print_query_version_cookie_t;
  98.  
  99. /** Opcode for xcb_x_print_print_query_version. */
  100. #define XCB_X_PRINT_PRINT_QUERY_VERSION 0
  101.  
  102. /**
  103.  * @brief xcb_x_print_print_query_version_request_t
  104.  **/
  105. typedef struct xcb_x_print_print_query_version_request_t {
  106.     uint8_t  major_opcode; /**<  */
  107.     uint8_t  minor_opcode; /**<  */
  108.     uint16_t length; /**<  */
  109. } xcb_x_print_print_query_version_request_t;
  110.  
  111. /**
  112.  * @brief xcb_x_print_print_query_version_reply_t
  113.  **/
  114. typedef struct xcb_x_print_print_query_version_reply_t {
  115.     uint8_t  response_type; /**<  */
  116.     uint8_t  pad0; /**<  */
  117.     uint16_t sequence; /**<  */
  118.     uint32_t length; /**<  */
  119.     uint16_t major_version; /**<  */
  120.     uint16_t minor_version; /**<  */
  121. } xcb_x_print_print_query_version_reply_t;
  122.  
  123. /**
  124.  * @brief xcb_x_print_print_get_printer_list_cookie_t
  125.  **/
  126. typedef struct xcb_x_print_print_get_printer_list_cookie_t {
  127.     unsigned int sequence; /**<  */
  128. } xcb_x_print_print_get_printer_list_cookie_t;
  129.  
  130. /** Opcode for xcb_x_print_print_get_printer_list. */
  131. #define XCB_X_PRINT_PRINT_GET_PRINTER_LIST 1
  132.  
  133. /**
  134.  * @brief xcb_x_print_print_get_printer_list_request_t
  135.  **/
  136. typedef struct xcb_x_print_print_get_printer_list_request_t {
  137.     uint8_t  major_opcode; /**<  */
  138.     uint8_t  minor_opcode; /**<  */
  139.     uint16_t length; /**<  */
  140.     uint32_t printerNameLen; /**<  */
  141.     uint32_t localeLen; /**<  */
  142. } xcb_x_print_print_get_printer_list_request_t;
  143.  
  144. /**
  145.  * @brief xcb_x_print_print_get_printer_list_reply_t
  146.  **/
  147. typedef struct xcb_x_print_print_get_printer_list_reply_t {
  148.     uint8_t  response_type; /**<  */
  149.     uint8_t  pad0; /**<  */
  150.     uint16_t sequence; /**<  */
  151.     uint32_t length; /**<  */
  152.     uint32_t listCount; /**<  */
  153.     uint8_t  pad1[20]; /**<  */
  154. } xcb_x_print_print_get_printer_list_reply_t;
  155.  
  156. /** Opcode for xcb_x_print_print_rehash_printer_list. */
  157. #define XCB_X_PRINT_PRINT_REHASH_PRINTER_LIST 20
  158.  
  159. /**
  160.  * @brief xcb_x_print_print_rehash_printer_list_request_t
  161.  **/
  162. typedef struct xcb_x_print_print_rehash_printer_list_request_t {
  163.     uint8_t  major_opcode; /**<  */
  164.     uint8_t  minor_opcode; /**<  */
  165.     uint16_t length; /**<  */
  166. } xcb_x_print_print_rehash_printer_list_request_t;
  167.  
  168. /** Opcode for xcb_x_print_create_context. */
  169. #define XCB_X_PRINT_CREATE_CONTEXT 2
  170.  
  171. /**
  172.  * @brief xcb_x_print_create_context_request_t
  173.  **/
  174. typedef struct xcb_x_print_create_context_request_t {
  175.     uint8_t  major_opcode; /**<  */
  176.     uint8_t  minor_opcode; /**<  */
  177.     uint16_t length; /**<  */
  178.     uint32_t context_id; /**<  */
  179.     uint32_t printerNameLen; /**<  */
  180.     uint32_t localeLen; /**<  */
  181. } xcb_x_print_create_context_request_t;
  182.  
  183. /** Opcode for xcb_x_print_print_set_context. */
  184. #define XCB_X_PRINT_PRINT_SET_CONTEXT 3
  185.  
  186. /**
  187.  * @brief xcb_x_print_print_set_context_request_t
  188.  **/
  189. typedef struct xcb_x_print_print_set_context_request_t {
  190.     uint8_t  major_opcode; /**<  */
  191.     uint8_t  minor_opcode; /**<  */
  192.     uint16_t length; /**<  */
  193.     uint32_t context; /**<  */
  194. } xcb_x_print_print_set_context_request_t;
  195.  
  196. /**
  197.  * @brief xcb_x_print_print_get_context_cookie_t
  198.  **/
  199. typedef struct xcb_x_print_print_get_context_cookie_t {
  200.     unsigned int sequence; /**<  */
  201. } xcb_x_print_print_get_context_cookie_t;
  202.  
  203. /** Opcode for xcb_x_print_print_get_context. */
  204. #define XCB_X_PRINT_PRINT_GET_CONTEXT 4
  205.  
  206. /**
  207.  * @brief xcb_x_print_print_get_context_request_t
  208.  **/
  209. typedef struct xcb_x_print_print_get_context_request_t {
  210.     uint8_t  major_opcode; /**<  */
  211.     uint8_t  minor_opcode; /**<  */
  212.     uint16_t length; /**<  */
  213. } xcb_x_print_print_get_context_request_t;
  214.  
  215. /**
  216.  * @brief xcb_x_print_print_get_context_reply_t
  217.  **/
  218. typedef struct xcb_x_print_print_get_context_reply_t {
  219.     uint8_t  response_type; /**<  */
  220.     uint8_t  pad0; /**<  */
  221.     uint16_t sequence; /**<  */
  222.     uint32_t length; /**<  */
  223.     uint32_t context; /**<  */
  224. } xcb_x_print_print_get_context_reply_t;
  225.  
  226. /** Opcode for xcb_x_print_print_destroy_context. */
  227. #define XCB_X_PRINT_PRINT_DESTROY_CONTEXT 5
  228.  
  229. /**
  230.  * @brief xcb_x_print_print_destroy_context_request_t
  231.  **/
  232. typedef struct xcb_x_print_print_destroy_context_request_t {
  233.     uint8_t  major_opcode; /**<  */
  234.     uint8_t  minor_opcode; /**<  */
  235.     uint16_t length; /**<  */
  236.     uint32_t context; /**<  */
  237. } xcb_x_print_print_destroy_context_request_t;
  238.  
  239. /**
  240.  * @brief xcb_x_print_print_get_screen_of_context_cookie_t
  241.  **/
  242. typedef struct xcb_x_print_print_get_screen_of_context_cookie_t {
  243.     unsigned int sequence; /**<  */
  244. } xcb_x_print_print_get_screen_of_context_cookie_t;
  245.  
  246. /** Opcode for xcb_x_print_print_get_screen_of_context. */
  247. #define XCB_X_PRINT_PRINT_GET_SCREEN_OF_CONTEXT 6
  248.  
  249. /**
  250.  * @brief xcb_x_print_print_get_screen_of_context_request_t
  251.  **/
  252. typedef struct xcb_x_print_print_get_screen_of_context_request_t {
  253.     uint8_t  major_opcode; /**<  */
  254.     uint8_t  minor_opcode; /**<  */
  255.     uint16_t length; /**<  */
  256. } xcb_x_print_print_get_screen_of_context_request_t;
  257.  
  258. /**
  259.  * @brief xcb_x_print_print_get_screen_of_context_reply_t
  260.  **/
  261. typedef struct xcb_x_print_print_get_screen_of_context_reply_t {
  262.     uint8_t      response_type; /**<  */
  263.     uint8_t      pad0; /**<  */
  264.     uint16_t     sequence; /**<  */
  265.     uint32_t     length; /**<  */
  266.     xcb_window_t root; /**<  */
  267. } xcb_x_print_print_get_screen_of_context_reply_t;
  268.  
  269. /** Opcode for xcb_x_print_print_start_job. */
  270. #define XCB_X_PRINT_PRINT_START_JOB 7
  271.  
  272. /**
  273.  * @brief xcb_x_print_print_start_job_request_t
  274.  **/
  275. typedef struct xcb_x_print_print_start_job_request_t {
  276.     uint8_t  major_opcode; /**<  */
  277.     uint8_t  minor_opcode; /**<  */
  278.     uint16_t length; /**<  */
  279.     uint8_t  output_mode; /**<  */
  280. } xcb_x_print_print_start_job_request_t;
  281.  
  282. /** Opcode for xcb_x_print_print_end_job. */
  283. #define XCB_X_PRINT_PRINT_END_JOB 8
  284.  
  285. /**
  286.  * @brief xcb_x_print_print_end_job_request_t
  287.  **/
  288. typedef struct xcb_x_print_print_end_job_request_t {
  289.     uint8_t  major_opcode; /**<  */
  290.     uint8_t  minor_opcode; /**<  */
  291.     uint16_t length; /**<  */
  292.     uint8_t  cancel; /**<  */
  293. } xcb_x_print_print_end_job_request_t;
  294.  
  295. /** Opcode for xcb_x_print_print_start_doc. */
  296. #define XCB_X_PRINT_PRINT_START_DOC 9
  297.  
  298. /**
  299.  * @brief xcb_x_print_print_start_doc_request_t
  300.  **/
  301. typedef struct xcb_x_print_print_start_doc_request_t {
  302.     uint8_t  major_opcode; /**<  */
  303.     uint8_t  minor_opcode; /**<  */
  304.     uint16_t length; /**<  */
  305.     uint8_t  driver_mode; /**<  */
  306. } xcb_x_print_print_start_doc_request_t;
  307.  
  308. /** Opcode for xcb_x_print_print_end_doc. */
  309. #define XCB_X_PRINT_PRINT_END_DOC 10
  310.  
  311. /**
  312.  * @brief xcb_x_print_print_end_doc_request_t
  313.  **/
  314. typedef struct xcb_x_print_print_end_doc_request_t {
  315.     uint8_t  major_opcode; /**<  */
  316.     uint8_t  minor_opcode; /**<  */
  317.     uint16_t length; /**<  */
  318.     uint8_t  cancel; /**<  */
  319. } xcb_x_print_print_end_doc_request_t;
  320.  
  321. /** Opcode for xcb_x_print_print_put_document_data. */
  322. #define XCB_X_PRINT_PRINT_PUT_DOCUMENT_DATA 11
  323.  
  324. /**
  325.  * @brief xcb_x_print_print_put_document_data_request_t
  326.  **/
  327. typedef struct xcb_x_print_print_put_document_data_request_t {
  328.     uint8_t        major_opcode; /**<  */
  329.     uint8_t        minor_opcode; /**<  */
  330.     uint16_t       length; /**<  */
  331.     xcb_drawable_t drawable; /**<  */
  332.     uint32_t       len_data; /**<  */
  333.     uint16_t       len_fmt; /**<  */
  334.     uint16_t       len_options; /**<  */
  335. } xcb_x_print_print_put_document_data_request_t;
  336.  
  337. /**
  338.  * @brief xcb_x_print_print_get_document_data_cookie_t
  339.  **/
  340. typedef struct xcb_x_print_print_get_document_data_cookie_t {
  341.     unsigned int sequence; /**<  */
  342. } xcb_x_print_print_get_document_data_cookie_t;
  343.  
  344. /** Opcode for xcb_x_print_print_get_document_data. */
  345. #define XCB_X_PRINT_PRINT_GET_DOCUMENT_DATA 12
  346.  
  347. /**
  348.  * @brief xcb_x_print_print_get_document_data_request_t
  349.  **/
  350. typedef struct xcb_x_print_print_get_document_data_request_t {
  351.     uint8_t                major_opcode; /**<  */
  352.     uint8_t                minor_opcode; /**<  */
  353.     uint16_t               length; /**<  */
  354.     xcb_x_print_pcontext_t context; /**<  */
  355.     uint32_t               max_bytes; /**<  */
  356. } xcb_x_print_print_get_document_data_request_t;
  357.  
  358. /**
  359.  * @brief xcb_x_print_print_get_document_data_reply_t
  360.  **/
  361. typedef struct xcb_x_print_print_get_document_data_reply_t {
  362.     uint8_t  response_type; /**<  */
  363.     uint8_t  pad0; /**<  */
  364.     uint16_t sequence; /**<  */
  365.     uint32_t length; /**<  */
  366.     uint32_t status_code; /**<  */
  367.     uint32_t finished_flag; /**<  */
  368.     uint32_t dataLen; /**<  */
  369.     uint8_t  pad1[12]; /**<  */
  370. } xcb_x_print_print_get_document_data_reply_t;
  371.  
  372. /** Opcode for xcb_x_print_print_start_page. */
  373. #define XCB_X_PRINT_PRINT_START_PAGE 13
  374.  
  375. /**
  376.  * @brief xcb_x_print_print_start_page_request_t
  377.  **/
  378. typedef struct xcb_x_print_print_start_page_request_t {
  379.     uint8_t      major_opcode; /**<  */
  380.     uint8_t      minor_opcode; /**<  */
  381.     uint16_t     length; /**<  */
  382.     xcb_window_t window; /**<  */
  383. } xcb_x_print_print_start_page_request_t;
  384.  
  385. /** Opcode for xcb_x_print_print_end_page. */
  386. #define XCB_X_PRINT_PRINT_END_PAGE 14
  387.  
  388. /**
  389.  * @brief xcb_x_print_print_end_page_request_t
  390.  **/
  391. typedef struct xcb_x_print_print_end_page_request_t {
  392.     uint8_t  major_opcode; /**<  */
  393.     uint8_t  minor_opcode; /**<  */
  394.     uint16_t length; /**<  */
  395.     uint8_t  cancel; /**<  */
  396.     uint8_t  pad0[3]; /**<  */
  397. } xcb_x_print_print_end_page_request_t;
  398.  
  399. /** Opcode for xcb_x_print_print_select_input. */
  400. #define XCB_X_PRINT_PRINT_SELECT_INPUT 15
  401.  
  402. /**
  403.  * @brief xcb_x_print_print_select_input_request_t
  404.  **/
  405. typedef struct xcb_x_print_print_select_input_request_t {
  406.     uint8_t                major_opcode; /**<  */
  407.     uint8_t                minor_opcode; /**<  */
  408.     uint16_t               length; /**<  */
  409.     xcb_x_print_pcontext_t context; /**<  */
  410.     uint32_t               event_mask; /**<  */
  411. } xcb_x_print_print_select_input_request_t;
  412.  
  413. /**
  414.  * @brief xcb_x_print_print_input_selected_cookie_t
  415.  **/
  416. typedef struct xcb_x_print_print_input_selected_cookie_t {
  417.     unsigned int sequence; /**<  */
  418. } xcb_x_print_print_input_selected_cookie_t;
  419.  
  420. /** Opcode for xcb_x_print_print_input_selected. */
  421. #define XCB_X_PRINT_PRINT_INPUT_SELECTED 16
  422.  
  423. /**
  424.  * @brief xcb_x_print_print_input_selected_request_t
  425.  **/
  426. typedef struct xcb_x_print_print_input_selected_request_t {
  427.     uint8_t                major_opcode; /**<  */
  428.     uint8_t                minor_opcode; /**<  */
  429.     uint16_t               length; /**<  */
  430.     xcb_x_print_pcontext_t context; /**<  */
  431. } xcb_x_print_print_input_selected_request_t;
  432.  
  433. /**
  434.  * @brief xcb_x_print_print_input_selected_reply_t
  435.  **/
  436. typedef struct xcb_x_print_print_input_selected_reply_t {
  437.     uint8_t  response_type; /**<  */
  438.     uint8_t  pad0; /**<  */
  439.     uint16_t sequence; /**<  */
  440.     uint32_t length; /**<  */
  441.     uint32_t event_mask; /**<  */
  442.     uint32_t all_events_mask; /**<  */
  443. } xcb_x_print_print_input_selected_reply_t;
  444.  
  445. /**
  446.  * @brief xcb_x_print_print_get_attributes_cookie_t
  447.  **/
  448. typedef struct xcb_x_print_print_get_attributes_cookie_t {
  449.     unsigned int sequence; /**<  */
  450. } xcb_x_print_print_get_attributes_cookie_t;
  451.  
  452. /** Opcode for xcb_x_print_print_get_attributes. */
  453. #define XCB_X_PRINT_PRINT_GET_ATTRIBUTES 17
  454.  
  455. /**
  456.  * @brief xcb_x_print_print_get_attributes_request_t
  457.  **/
  458. typedef struct xcb_x_print_print_get_attributes_request_t {
  459.     uint8_t                major_opcode; /**<  */
  460.     uint8_t                minor_opcode; /**<  */
  461.     uint16_t               length; /**<  */
  462.     xcb_x_print_pcontext_t context; /**<  */
  463.     uint8_t                pool; /**<  */
  464.     uint8_t                pad0[3]; /**<  */
  465. } xcb_x_print_print_get_attributes_request_t;
  466.  
  467. /**
  468.  * @brief xcb_x_print_print_get_attributes_reply_t
  469.  **/
  470. typedef struct xcb_x_print_print_get_attributes_reply_t {
  471.     uint8_t               response_type; /**<  */
  472.     uint8_t               pad0; /**<  */
  473.     uint16_t              sequence; /**<  */
  474.     uint32_t              length; /**<  */
  475.     uint32_t              stringLen; /**<  */
  476.     uint8_t               pad1[20]; /**<  */
  477.     xcb_x_print_string8_t attributes; /**<  */
  478. } xcb_x_print_print_get_attributes_reply_t;
  479.  
  480. /**
  481.  * @brief xcb_x_print_print_get_one_attributes_cookie_t
  482.  **/
  483. typedef struct xcb_x_print_print_get_one_attributes_cookie_t {
  484.     unsigned int sequence; /**<  */
  485. } xcb_x_print_print_get_one_attributes_cookie_t;
  486.  
  487. /** Opcode for xcb_x_print_print_get_one_attributes. */
  488. #define XCB_X_PRINT_PRINT_GET_ONE_ATTRIBUTES 19
  489.  
  490. /**
  491.  * @brief xcb_x_print_print_get_one_attributes_request_t
  492.  **/
  493. typedef struct xcb_x_print_print_get_one_attributes_request_t {
  494.     uint8_t                major_opcode; /**<  */
  495.     uint8_t                minor_opcode; /**<  */
  496.     uint16_t               length; /**<  */
  497.     xcb_x_print_pcontext_t context; /**<  */
  498.     uint32_t               nameLen; /**<  */
  499.     uint8_t                pool; /**<  */
  500.     uint8_t                pad0[3]; /**<  */
  501. } xcb_x_print_print_get_one_attributes_request_t;
  502.  
  503. /**
  504.  * @brief xcb_x_print_print_get_one_attributes_reply_t
  505.  **/
  506. typedef struct xcb_x_print_print_get_one_attributes_reply_t {
  507.     uint8_t  response_type; /**<  */
  508.     uint8_t  pad0; /**<  */
  509.     uint16_t sequence; /**<  */
  510.     uint32_t length; /**<  */
  511.     uint32_t valueLen; /**<  */
  512.     uint8_t  pad1[20]; /**<  */
  513. } xcb_x_print_print_get_one_attributes_reply_t;
  514.  
  515. /** Opcode for xcb_x_print_print_set_attributes. */
  516. #define XCB_X_PRINT_PRINT_SET_ATTRIBUTES 18
  517.  
  518. /**
  519.  * @brief xcb_x_print_print_set_attributes_request_t
  520.  **/
  521. typedef struct xcb_x_print_print_set_attributes_request_t {
  522.     uint8_t                major_opcode; /**<  */
  523.     uint8_t                minor_opcode; /**<  */
  524.     uint16_t               length; /**<  */
  525.     xcb_x_print_pcontext_t context; /**<  */
  526.     uint32_t               stringLen; /**<  */
  527.     uint8_t                pool; /**<  */
  528.     uint8_t                rule; /**<  */
  529.     uint8_t                pad0[2]; /**<  */
  530. } xcb_x_print_print_set_attributes_request_t;
  531.  
  532. /**
  533.  * @brief xcb_x_print_print_get_page_dimensions_cookie_t
  534.  **/
  535. typedef struct xcb_x_print_print_get_page_dimensions_cookie_t {
  536.     unsigned int sequence; /**<  */
  537. } xcb_x_print_print_get_page_dimensions_cookie_t;
  538.  
  539. /** Opcode for xcb_x_print_print_get_page_dimensions. */
  540. #define XCB_X_PRINT_PRINT_GET_PAGE_DIMENSIONS 21
  541.  
  542. /**
  543.  * @brief xcb_x_print_print_get_page_dimensions_request_t
  544.  **/
  545. typedef struct xcb_x_print_print_get_page_dimensions_request_t {
  546.     uint8_t                major_opcode; /**<  */
  547.     uint8_t                minor_opcode; /**<  */
  548.     uint16_t               length; /**<  */
  549.     xcb_x_print_pcontext_t context; /**<  */
  550. } xcb_x_print_print_get_page_dimensions_request_t;
  551.  
  552. /**
  553.  * @brief xcb_x_print_print_get_page_dimensions_reply_t
  554.  **/
  555. typedef struct xcb_x_print_print_get_page_dimensions_reply_t {
  556.     uint8_t  response_type; /**<  */
  557.     uint8_t  pad0; /**<  */
  558.     uint16_t sequence; /**<  */
  559.     uint32_t length; /**<  */
  560.     uint16_t width; /**<  */
  561.     uint16_t height; /**<  */
  562.     uint16_t offset_x; /**<  */
  563.     uint16_t offset_y; /**<  */
  564.     uint16_t reproducible_width; /**<  */
  565.     uint16_t reproducible_height; /**<  */
  566. } xcb_x_print_print_get_page_dimensions_reply_t;
  567.  
  568. /**
  569.  * @brief xcb_x_print_print_query_screens_cookie_t
  570.  **/
  571. typedef struct xcb_x_print_print_query_screens_cookie_t {
  572.     unsigned int sequence; /**<  */
  573. } xcb_x_print_print_query_screens_cookie_t;
  574.  
  575. /** Opcode for xcb_x_print_print_query_screens. */
  576. #define XCB_X_PRINT_PRINT_QUERY_SCREENS 22
  577.  
  578. /**
  579.  * @brief xcb_x_print_print_query_screens_request_t
  580.  **/
  581. typedef struct xcb_x_print_print_query_screens_request_t {
  582.     uint8_t  major_opcode; /**<  */
  583.     uint8_t  minor_opcode; /**<  */
  584.     uint16_t length; /**<  */
  585. } xcb_x_print_print_query_screens_request_t;
  586.  
  587. /**
  588.  * @brief xcb_x_print_print_query_screens_reply_t
  589.  **/
  590. typedef struct xcb_x_print_print_query_screens_reply_t {
  591.     uint8_t  response_type; /**<  */
  592.     uint8_t  pad0; /**<  */
  593.     uint16_t sequence; /**<  */
  594.     uint32_t length; /**<  */
  595.     uint32_t listCount; /**<  */
  596.     uint8_t  pad1[20]; /**<  */
  597. } xcb_x_print_print_query_screens_reply_t;
  598.  
  599. /**
  600.  * @brief xcb_x_print_print_set_image_resolution_cookie_t
  601.  **/
  602. typedef struct xcb_x_print_print_set_image_resolution_cookie_t {
  603.     unsigned int sequence; /**<  */
  604. } xcb_x_print_print_set_image_resolution_cookie_t;
  605.  
  606. /** Opcode for xcb_x_print_print_set_image_resolution. */
  607. #define XCB_X_PRINT_PRINT_SET_IMAGE_RESOLUTION 23
  608.  
  609. /**
  610.  * @brief xcb_x_print_print_set_image_resolution_request_t
  611.  **/
  612. typedef struct xcb_x_print_print_set_image_resolution_request_t {
  613.     uint8_t                major_opcode; /**<  */
  614.     uint8_t                minor_opcode; /**<  */
  615.     uint16_t               length; /**<  */
  616.     xcb_x_print_pcontext_t context; /**<  */
  617.     uint16_t               image_resolution; /**<  */
  618. } xcb_x_print_print_set_image_resolution_request_t;
  619.  
  620. /**
  621.  * @brief xcb_x_print_print_set_image_resolution_reply_t
  622.  **/
  623. typedef struct xcb_x_print_print_set_image_resolution_reply_t {
  624.     uint8_t  response_type; /**<  */
  625.     uint8_t  status; /**<  */
  626.     uint16_t sequence; /**<  */
  627.     uint32_t length; /**<  */
  628.     uint16_t previous_resolutions; /**<  */
  629. } xcb_x_print_print_set_image_resolution_reply_t;
  630.  
  631. /**
  632.  * @brief xcb_x_print_print_get_image_resolution_cookie_t
  633.  **/
  634. typedef struct xcb_x_print_print_get_image_resolution_cookie_t {
  635.     unsigned int sequence; /**<  */
  636. } xcb_x_print_print_get_image_resolution_cookie_t;
  637.  
  638. /** Opcode for xcb_x_print_print_get_image_resolution. */
  639. #define XCB_X_PRINT_PRINT_GET_IMAGE_RESOLUTION 24
  640.  
  641. /**
  642.  * @brief xcb_x_print_print_get_image_resolution_request_t
  643.  **/
  644. typedef struct xcb_x_print_print_get_image_resolution_request_t {
  645.     uint8_t                major_opcode; /**<  */
  646.     uint8_t                minor_opcode; /**<  */
  647.     uint16_t               length; /**<  */
  648.     xcb_x_print_pcontext_t context; /**<  */
  649. } xcb_x_print_print_get_image_resolution_request_t;
  650.  
  651. /**
  652.  * @brief xcb_x_print_print_get_image_resolution_reply_t
  653.  **/
  654. typedef struct xcb_x_print_print_get_image_resolution_reply_t {
  655.     uint8_t  response_type; /**<  */
  656.     uint8_t  pad0; /**<  */
  657.     uint16_t sequence; /**<  */
  658.     uint32_t length; /**<  */
  659.     uint16_t image_resolution; /**<  */
  660. } xcb_x_print_print_get_image_resolution_reply_t;
  661.  
  662. /** Opcode for xcb_x_print_notify. */
  663. #define XCB_X_PRINT_NOTIFY 0
  664.  
  665. /**
  666.  * @brief xcb_x_print_notify_event_t
  667.  **/
  668. typedef struct xcb_x_print_notify_event_t {
  669.     uint8_t                response_type; /**<  */
  670.     uint8_t                detail; /**<  */
  671.     uint16_t               sequence; /**<  */
  672.     xcb_x_print_pcontext_t context; /**<  */
  673.     uint8_t                cancel; /**<  */
  674. } xcb_x_print_notify_event_t;
  675.  
  676. /** Opcode for xcb_x_print_attribut_notify. */
  677. #define XCB_X_PRINT_ATTRIBUT_NOTIFY 1
  678.  
  679. /**
  680.  * @brief xcb_x_print_attribut_notify_event_t
  681.  **/
  682. typedef struct xcb_x_print_attribut_notify_event_t {
  683.     uint8_t                response_type; /**<  */
  684.     uint8_t                detail; /**<  */
  685.     uint16_t               sequence; /**<  */
  686.     xcb_x_print_pcontext_t context; /**<  */
  687. } xcb_x_print_attribut_notify_event_t;
  688.  
  689. /** Opcode for xcb_x_print_bad_context. */
  690. #define XCB_X_PRINT_BAD_CONTEXT 0
  691.  
  692. /**
  693.  * @brief xcb_x_print_bad_context_error_t
  694.  **/
  695. typedef struct xcb_x_print_bad_context_error_t {
  696.     uint8_t  response_type; /**<  */
  697.     uint8_t  error_code; /**<  */
  698.     uint16_t sequence; /**<  */
  699. } xcb_x_print_bad_context_error_t;
  700.  
  701. /** Opcode for xcb_x_print_bad_sequence. */
  702. #define XCB_X_PRINT_BAD_SEQUENCE 1
  703.  
  704. /**
  705.  * @brief xcb_x_print_bad_sequence_error_t
  706.  **/
  707. typedef struct xcb_x_print_bad_sequence_error_t {
  708.     uint8_t  response_type; /**<  */
  709.     uint8_t  error_code; /**<  */
  710.     uint16_t sequence; /**<  */
  711. } xcb_x_print_bad_sequence_error_t;
  712.  
  713.  
  714. /*****************************************************************************
  715.  **
  716.  ** xcb_x_print_string8_t * xcb_x_print_printer_name
  717.  ** 
  718.  ** @param const xcb_x_print_printer_t *R
  719.  ** @returns xcb_x_print_string8_t *
  720.  **
  721.  *****************************************************************************/
  722.  
  723. xcb_x_print_string8_t *
  724. xcb_x_print_printer_name (const xcb_x_print_printer_t *R  /**< */);
  725.  
  726.  
  727. /*****************************************************************************
  728.  **
  729.  ** int xcb_x_print_printer_name_length
  730.  ** 
  731.  ** @param const xcb_x_print_printer_t *R
  732.  ** @returns int
  733.  **
  734.  *****************************************************************************/
  735.  
  736. int
  737. xcb_x_print_printer_name_length (const xcb_x_print_printer_t *R  /**< */);
  738.  
  739.  
  740. /*****************************************************************************
  741.  **
  742.  ** xcb_x_print_string8_iterator_t xcb_x_print_printer_name_iterator
  743.  ** 
  744.  ** @param const xcb_x_print_printer_t *R
  745.  ** @returns xcb_x_print_string8_iterator_t
  746.  **
  747.  *****************************************************************************/
  748.  
  749. xcb_x_print_string8_iterator_t
  750. xcb_x_print_printer_name_iterator (const xcb_x_print_printer_t *R  /**< */);
  751.  
  752.  
  753. /*****************************************************************************
  754.  **
  755.  ** xcb_x_print_string8_t * xcb_x_print_printer_description
  756.  ** 
  757.  ** @param const xcb_x_print_printer_t *R
  758.  ** @returns xcb_x_print_string8_t *
  759.  **
  760.  *****************************************************************************/
  761.  
  762. xcb_x_print_string8_t *
  763. xcb_x_print_printer_description (const xcb_x_print_printer_t *R  /**< */);
  764.  
  765.  
  766. /*****************************************************************************
  767.  **
  768.  ** int xcb_x_print_printer_description_length
  769.  ** 
  770.  ** @param const xcb_x_print_printer_t *R
  771.  ** @returns int
  772.  **
  773.  *****************************************************************************/
  774.  
  775. int
  776. xcb_x_print_printer_description_length (const xcb_x_print_printer_t *R  /**< */);
  777.  
  778.  
  779. /*****************************************************************************
  780.  **
  781.  ** xcb_x_print_string8_iterator_t xcb_x_print_printer_description_iterator
  782.  ** 
  783.  ** @param const xcb_x_print_printer_t *R
  784.  ** @returns xcb_x_print_string8_iterator_t
  785.  **
  786.  *****************************************************************************/
  787.  
  788. xcb_x_print_string8_iterator_t
  789. xcb_x_print_printer_description_iterator (const xcb_x_print_printer_t *R  /**< */);
  790.  
  791. /**
  792.  * Get the next element of the iterator
  793.  * @param i Pointer to a xcb_x_print_printer_iterator_t
  794.  *
  795.  * Get the next element in the iterator. The member rem is
  796.  * decreased by one. The member data points to the next
  797.  * element. The member index is increased by sizeof(xcb_x_print_printer_t)
  798.  */
  799.  
  800. /*****************************************************************************
  801.  **
  802.  ** void xcb_x_print_printer_next
  803.  ** 
  804.  ** @param xcb_x_print_printer_iterator_t *i
  805.  ** @returns void
  806.  **
  807.  *****************************************************************************/
  808.  
  809. void
  810. xcb_x_print_printer_next (xcb_x_print_printer_iterator_t *i  /**< */);
  811.  
  812. /**
  813.  * Return the iterator pointing to the last element
  814.  * @param i An xcb_x_print_printer_iterator_t
  815.  * @return  The iterator pointing to the last element
  816.  *
  817.  * Set the current element in the iterator to the last element.
  818.  * The member rem is set to 0. The member data points to the
  819.  * last element.
  820.  */
  821.  
  822. /*****************************************************************************
  823.  **
  824.  ** xcb_generic_iterator_t xcb_x_print_printer_end
  825.  ** 
  826.  ** @param xcb_x_print_printer_iterator_t i
  827.  ** @returns xcb_generic_iterator_t
  828.  **
  829.  *****************************************************************************/
  830.  
  831. xcb_generic_iterator_t
  832. xcb_x_print_printer_end (xcb_x_print_printer_iterator_t i  /**< */);
  833.  
  834. /**
  835.  * Get the next element of the iterator
  836.  * @param i Pointer to a xcb_x_print_pcontext_iterator_t
  837.  *
  838.  * Get the next element in the iterator. The member rem is
  839.  * decreased by one. The member data points to the next
  840.  * element. The member index is increased by sizeof(xcb_x_print_pcontext_t)
  841.  */
  842.  
  843. /*****************************************************************************
  844.  **
  845.  ** void xcb_x_print_pcontext_next
  846.  ** 
  847.  ** @param xcb_x_print_pcontext_iterator_t *i
  848.  ** @returns void
  849.  **
  850.  *****************************************************************************/
  851.  
  852. void
  853. xcb_x_print_pcontext_next (xcb_x_print_pcontext_iterator_t *i  /**< */);
  854.  
  855. /**
  856.  * Return the iterator pointing to the last element
  857.  * @param i An xcb_x_print_pcontext_iterator_t
  858.  * @return  The iterator pointing to the last element
  859.  *
  860.  * Set the current element in the iterator to the last element.
  861.  * The member rem is set to 0. The member data points to the
  862.  * last element.
  863.  */
  864.  
  865. /*****************************************************************************
  866.  **
  867.  ** xcb_generic_iterator_t xcb_x_print_pcontext_end
  868.  ** 
  869.  ** @param xcb_x_print_pcontext_iterator_t i
  870.  ** @returns xcb_generic_iterator_t
  871.  **
  872.  *****************************************************************************/
  873.  
  874. xcb_generic_iterator_t
  875. xcb_x_print_pcontext_end (xcb_x_print_pcontext_iterator_t i  /**< */);
  876.  
  877. /**
  878.  * Get the next element of the iterator
  879.  * @param i Pointer to a xcb_x_print_string8_iterator_t
  880.  *
  881.  * Get the next element in the iterator. The member rem is
  882.  * decreased by one. The member data points to the next
  883.  * element. The member index is increased by sizeof(xcb_x_print_string8_t)
  884.  */
  885.  
  886. /*****************************************************************************
  887.  **
  888.  ** void xcb_x_print_string8_next
  889.  ** 
  890.  ** @param xcb_x_print_string8_iterator_t *i
  891.  ** @returns void
  892.  **
  893.  *****************************************************************************/
  894.  
  895. void
  896. xcb_x_print_string8_next (xcb_x_print_string8_iterator_t *i  /**< */);
  897.  
  898. /**
  899.  * Return the iterator pointing to the last element
  900.  * @param i An xcb_x_print_string8_iterator_t
  901.  * @return  The iterator pointing to the last element
  902.  *
  903.  * Set the current element in the iterator to the last element.
  904.  * The member rem is set to 0. The member data points to the
  905.  * last element.
  906.  */
  907.  
  908. /*****************************************************************************
  909.  **
  910.  ** xcb_generic_iterator_t xcb_x_print_string8_end
  911.  ** 
  912.  ** @param xcb_x_print_string8_iterator_t i
  913.  ** @returns xcb_generic_iterator_t
  914.  **
  915.  *****************************************************************************/
  916.  
  917. xcb_generic_iterator_t
  918. xcb_x_print_string8_end (xcb_x_print_string8_iterator_t i  /**< */);
  919.  
  920. /**
  921.  * Delivers a request to the X server
  922.  * @param c The connection
  923.  * @return A cookie
  924.  *
  925.  * Delivers a request to the X server.
  926.  * 
  927.  */
  928.  
  929. /*****************************************************************************
  930.  **
  931.  ** xcb_x_print_print_query_version_cookie_t xcb_x_print_print_query_version
  932.  ** 
  933.  ** @param xcb_connection_t *c
  934.  ** @returns xcb_x_print_print_query_version_cookie_t
  935.  **
  936.  *****************************************************************************/
  937.  
  938. xcb_x_print_print_query_version_cookie_t
  939. xcb_x_print_print_query_version (xcb_connection_t *c  /**< */);
  940.  
  941. /**
  942.  * Delivers a request to the X server
  943.  * @param c The connection
  944.  * @return A cookie
  945.  *
  946.  * Delivers a request to the X server.
  947.  * 
  948.  * This form can be used only if the request will cause
  949.  * a reply to be generated. Any returned error will be
  950.  * placed in the event queue.
  951.  */
  952.  
  953. /*****************************************************************************
  954.  **
  955.  ** xcb_x_print_print_query_version_cookie_t xcb_x_print_print_query_version_unchecked
  956.  ** 
  957.  ** @param xcb_connection_t *c
  958.  ** @returns xcb_x_print_print_query_version_cookie_t
  959.  **
  960.  *****************************************************************************/
  961.  
  962. xcb_x_print_print_query_version_cookie_t
  963. xcb_x_print_print_query_version_unchecked (xcb_connection_t *c  /**< */);
  964.  
  965. /**
  966.  * Return the reply
  967.  * @param c      The connection
  968.  * @param cookie The cookie
  969.  * @param e      The xcb_generic_error_t supplied
  970.  *
  971.  * Returns the reply of the request asked by
  972.  * 
  973.  * The parameter @p e supplied to this function must be NULL if
  974.  * xcb_x_print_print_query_version_unchecked(). is used.
  975.  * Otherwise, it stores the error if any.
  976.  */
  977.  
  978. /*****************************************************************************
  979.  **
  980.  ** xcb_x_print_print_query_version_reply_t * xcb_x_print_print_query_version_reply
  981.  ** 
  982.  ** @param xcb_connection_t                          *c
  983.  ** @param xcb_x_print_print_query_version_cookie_t   cookie
  984.  ** @param xcb_generic_error_t                      **e
  985.  ** @returns xcb_x_print_print_query_version_reply_t *
  986.  **
  987.  *****************************************************************************/
  988.  
  989. xcb_x_print_print_query_version_reply_t *
  990. xcb_x_print_print_query_version_reply (xcb_connection_t                          *c  /**< */,
  991.                                        xcb_x_print_print_query_version_cookie_t   cookie  /**< */,
  992.                                        xcb_generic_error_t                      **e  /**< */);
  993.  
  994. /**
  995.  * Delivers a request to the X server
  996.  * @param c The connection
  997.  * @return A cookie
  998.  *
  999.  * Delivers a request to the X server.
  1000.  * 
  1001.  */
  1002.  
  1003. /*****************************************************************************
  1004.  **
  1005.  ** xcb_x_print_print_get_printer_list_cookie_t xcb_x_print_print_get_printer_list
  1006.  ** 
  1007.  ** @param xcb_connection_t            *c
  1008.  ** @param uint32_t                     printerNameLen
  1009.  ** @param uint32_t                     localeLen
  1010.  ** @param const xcb_x_print_string8_t *printer_name
  1011.  ** @param const xcb_x_print_string8_t *locale
  1012.  ** @returns xcb_x_print_print_get_printer_list_cookie_t
  1013.  **
  1014.  *****************************************************************************/
  1015.  
  1016. xcb_x_print_print_get_printer_list_cookie_t
  1017. xcb_x_print_print_get_printer_list (xcb_connection_t            *c  /**< */,
  1018.                                     uint32_t                     printerNameLen  /**< */,
  1019.                                     uint32_t                     localeLen  /**< */,
  1020.                                     const xcb_x_print_string8_t *printer_name  /**< */,
  1021.                                     const xcb_x_print_string8_t *locale  /**< */);
  1022.  
  1023. /**
  1024.  * Delivers a request to the X server
  1025.  * @param c The connection
  1026.  * @return A cookie
  1027.  *
  1028.  * Delivers a request to the X server.
  1029.  * 
  1030.  * This form can be used only if the request will cause
  1031.  * a reply to be generated. Any returned error will be
  1032.  * placed in the event queue.
  1033.  */
  1034.  
  1035. /*****************************************************************************
  1036.  **
  1037.  ** xcb_x_print_print_get_printer_list_cookie_t xcb_x_print_print_get_printer_list_unchecked
  1038.  ** 
  1039.  ** @param xcb_connection_t            *c
  1040.  ** @param uint32_t                     printerNameLen
  1041.  ** @param uint32_t                     localeLen
  1042.  ** @param const xcb_x_print_string8_t *printer_name
  1043.  ** @param const xcb_x_print_string8_t *locale
  1044.  ** @returns xcb_x_print_print_get_printer_list_cookie_t
  1045.  **
  1046.  *****************************************************************************/
  1047.  
  1048. xcb_x_print_print_get_printer_list_cookie_t
  1049. xcb_x_print_print_get_printer_list_unchecked (xcb_connection_t            *c  /**< */,
  1050.                                               uint32_t                     printerNameLen  /**< */,
  1051.                                               uint32_t                     localeLen  /**< */,
  1052.                                               const xcb_x_print_string8_t *printer_name  /**< */,
  1053.                                               const xcb_x_print_string8_t *locale  /**< */);
  1054.  
  1055.  
  1056. /*****************************************************************************
  1057.  **
  1058.  ** int xcb_x_print_print_get_printer_list_printers_length
  1059.  ** 
  1060.  ** @param const xcb_x_print_print_get_printer_list_reply_t *R
  1061.  ** @returns int
  1062.  **
  1063.  *****************************************************************************/
  1064.  
  1065. int
  1066. xcb_x_print_print_get_printer_list_printers_length (const xcb_x_print_print_get_printer_list_reply_t *R  /**< */);
  1067.  
  1068.  
  1069. /*****************************************************************************
  1070.  **
  1071.  ** xcb_x_print_printer_iterator_t xcb_x_print_print_get_printer_list_printers_iterator
  1072.  ** 
  1073.  ** @param const xcb_x_print_print_get_printer_list_reply_t *R
  1074.  ** @returns xcb_x_print_printer_iterator_t
  1075.  **
  1076.  *****************************************************************************/
  1077.  
  1078. xcb_x_print_printer_iterator_t
  1079. xcb_x_print_print_get_printer_list_printers_iterator (const xcb_x_print_print_get_printer_list_reply_t *R  /**< */);
  1080.  
  1081. /**
  1082.  * Return the reply
  1083.  * @param c      The connection
  1084.  * @param cookie The cookie
  1085.  * @param e      The xcb_generic_error_t supplied
  1086.  *
  1087.  * Returns the reply of the request asked by
  1088.  * 
  1089.  * The parameter @p e supplied to this function must be NULL if
  1090.  * xcb_x_print_print_get_printer_list_unchecked(). is used.
  1091.  * Otherwise, it stores the error if any.
  1092.  */
  1093.  
  1094. /*****************************************************************************
  1095.  **
  1096.  ** xcb_x_print_print_get_printer_list_reply_t * xcb_x_print_print_get_printer_list_reply
  1097.  ** 
  1098.  ** @param xcb_connection_t                             *c
  1099.  ** @param xcb_x_print_print_get_printer_list_cookie_t   cookie
  1100.  ** @param xcb_generic_error_t                         **e
  1101.  ** @returns xcb_x_print_print_get_printer_list_reply_t *
  1102.  **
  1103.  *****************************************************************************/
  1104.  
  1105. xcb_x_print_print_get_printer_list_reply_t *
  1106. xcb_x_print_print_get_printer_list_reply (xcb_connection_t                             *c  /**< */,
  1107.                                           xcb_x_print_print_get_printer_list_cookie_t   cookie  /**< */,
  1108.                                           xcb_generic_error_t                         **e  /**< */);
  1109.  
  1110. /**
  1111.  * Delivers a request to the X server
  1112.  * @param c The connection
  1113.  * @return A cookie
  1114.  *
  1115.  * Delivers a request to the X server.
  1116.  * 
  1117.  * This form can be used only if the request will not cause
  1118.  * a reply to be generated. Any returned error will be
  1119.  * saved for handling by xcb_request_check().
  1120.  */
  1121.  
  1122. /*****************************************************************************
  1123.  **
  1124.  ** xcb_void_cookie_t xcb_x_print_print_rehash_printer_list_checked
  1125.  ** 
  1126.  ** @param xcb_connection_t *c
  1127.  ** @returns xcb_void_cookie_t
  1128.  **
  1129.  *****************************************************************************/
  1130.  
  1131. xcb_void_cookie_t
  1132. xcb_x_print_print_rehash_printer_list_checked (xcb_connection_t *c  /**< */);
  1133.  
  1134. /**
  1135.  * Delivers a request to the X server
  1136.  * @param c The connection
  1137.  * @return A cookie
  1138.  *
  1139.  * Delivers a request to the X server.
  1140.  * 
  1141.  */
  1142.  
  1143. /*****************************************************************************
  1144.  **
  1145.  ** xcb_void_cookie_t xcb_x_print_print_rehash_printer_list
  1146.  ** 
  1147.  ** @param xcb_connection_t *c
  1148.  ** @returns xcb_void_cookie_t
  1149.  **
  1150.  *****************************************************************************/
  1151.  
  1152. xcb_void_cookie_t
  1153. xcb_x_print_print_rehash_printer_list (xcb_connection_t *c  /**< */);
  1154.  
  1155. /**
  1156.  * Delivers a request to the X server
  1157.  * @param c The connection
  1158.  * @return A cookie
  1159.  *
  1160.  * Delivers a request to the X server.
  1161.  * 
  1162.  * This form can be used only if the request will not cause
  1163.  * a reply to be generated. Any returned error will be
  1164.  * saved for handling by xcb_request_check().
  1165.  */
  1166.  
  1167. /*****************************************************************************
  1168.  **
  1169.  ** xcb_void_cookie_t xcb_x_print_create_context_checked
  1170.  ** 
  1171.  ** @param xcb_connection_t            *c
  1172.  ** @param uint32_t                     context_id
  1173.  ** @param uint32_t                     printerNameLen
  1174.  ** @param uint32_t                     localeLen
  1175.  ** @param const xcb_x_print_string8_t *printerName
  1176.  ** @param const xcb_x_print_string8_t *locale
  1177.  ** @returns xcb_void_cookie_t
  1178.  **
  1179.  *****************************************************************************/
  1180.  
  1181. xcb_void_cookie_t
  1182. xcb_x_print_create_context_checked (xcb_connection_t            *c  /**< */,
  1183.                                     uint32_t                     context_id  /**< */,
  1184.                                     uint32_t                     printerNameLen  /**< */,
  1185.                                     uint32_t                     localeLen  /**< */,
  1186.                                     const xcb_x_print_string8_t *printerName  /**< */,
  1187.                                     const xcb_x_print_string8_t *locale  /**< */);
  1188.  
  1189. /**
  1190.  * Delivers a request to the X server
  1191.  * @param c The connection
  1192.  * @return A cookie
  1193.  *
  1194.  * Delivers a request to the X server.
  1195.  * 
  1196.  */
  1197.  
  1198. /*****************************************************************************
  1199.  **
  1200.  ** xcb_void_cookie_t xcb_x_print_create_context
  1201.  ** 
  1202.  ** @param xcb_connection_t            *c
  1203.  ** @param uint32_t                     context_id
  1204.  ** @param uint32_t                     printerNameLen
  1205.  ** @param uint32_t                     localeLen
  1206.  ** @param const xcb_x_print_string8_t *printerName
  1207.  ** @param const xcb_x_print_string8_t *locale
  1208.  ** @returns xcb_void_cookie_t
  1209.  **
  1210.  *****************************************************************************/
  1211.  
  1212. xcb_void_cookie_t
  1213. xcb_x_print_create_context (xcb_connection_t            *c  /**< */,
  1214.                             uint32_t                     context_id  /**< */,
  1215.                             uint32_t                     printerNameLen  /**< */,
  1216.                             uint32_t                     localeLen  /**< */,
  1217.                             const xcb_x_print_string8_t *printerName  /**< */,
  1218.                             const xcb_x_print_string8_t *locale  /**< */);
  1219.  
  1220. /**
  1221.  * Delivers a request to the X server
  1222.  * @param c The connection
  1223.  * @return A cookie
  1224.  *
  1225.  * Delivers a request to the X server.
  1226.  * 
  1227.  * This form can be used only if the request will not cause
  1228.  * a reply to be generated. Any returned error will be
  1229.  * saved for handling by xcb_request_check().
  1230.  */
  1231.  
  1232. /*****************************************************************************
  1233.  **
  1234.  ** xcb_void_cookie_t xcb_x_print_print_set_context_checked
  1235.  ** 
  1236.  ** @param xcb_connection_t *c
  1237.  ** @param uint32_t          context
  1238.  ** @returns xcb_void_cookie_t
  1239.  **
  1240.  *****************************************************************************/
  1241.  
  1242. xcb_void_cookie_t
  1243. xcb_x_print_print_set_context_checked (xcb_connection_t *c  /**< */,
  1244.                                        uint32_t          context  /**< */);
  1245.  
  1246. /**
  1247.  * Delivers a request to the X server
  1248.  * @param c The connection
  1249.  * @return A cookie
  1250.  *
  1251.  * Delivers a request to the X server.
  1252.  * 
  1253.  */
  1254.  
  1255. /*****************************************************************************
  1256.  **
  1257.  ** xcb_void_cookie_t xcb_x_print_print_set_context
  1258.  ** 
  1259.  ** @param xcb_connection_t *c
  1260.  ** @param uint32_t          context
  1261.  ** @returns xcb_void_cookie_t
  1262.  **
  1263.  *****************************************************************************/
  1264.  
  1265. xcb_void_cookie_t
  1266. xcb_x_print_print_set_context (xcb_connection_t *c  /**< */,
  1267.                                uint32_t          context  /**< */);
  1268.  
  1269. /**
  1270.  * Delivers a request to the X server
  1271.  * @param c The connection
  1272.  * @return A cookie
  1273.  *
  1274.  * Delivers a request to the X server.
  1275.  * 
  1276.  */
  1277.  
  1278. /*****************************************************************************
  1279.  **
  1280.  ** xcb_x_print_print_get_context_cookie_t xcb_x_print_print_get_context
  1281.  ** 
  1282.  ** @param xcb_connection_t *c
  1283.  ** @returns xcb_x_print_print_get_context_cookie_t
  1284.  **
  1285.  *****************************************************************************/
  1286.  
  1287. xcb_x_print_print_get_context_cookie_t
  1288. xcb_x_print_print_get_context (xcb_connection_t *c  /**< */);
  1289.  
  1290. /**
  1291.  * Delivers a request to the X server
  1292.  * @param c The connection
  1293.  * @return A cookie
  1294.  *
  1295.  * Delivers a request to the X server.
  1296.  * 
  1297.  * This form can be used only if the request will cause
  1298.  * a reply to be generated. Any returned error will be
  1299.  * placed in the event queue.
  1300.  */
  1301.  
  1302. /*****************************************************************************
  1303.  **
  1304.  ** xcb_x_print_print_get_context_cookie_t xcb_x_print_print_get_context_unchecked
  1305.  ** 
  1306.  ** @param xcb_connection_t *c
  1307.  ** @returns xcb_x_print_print_get_context_cookie_t
  1308.  **
  1309.  *****************************************************************************/
  1310.  
  1311. xcb_x_print_print_get_context_cookie_t
  1312. xcb_x_print_print_get_context_unchecked (xcb_connection_t *c  /**< */);
  1313.  
  1314. /**
  1315.  * Return the reply
  1316.  * @param c      The connection
  1317.  * @param cookie The cookie
  1318.  * @param e      The xcb_generic_error_t supplied
  1319.  *
  1320.  * Returns the reply of the request asked by
  1321.  * 
  1322.  * The parameter @p e supplied to this function must be NULL if
  1323.  * xcb_x_print_print_get_context_unchecked(). is used.
  1324.  * Otherwise, it stores the error if any.
  1325.  */
  1326.  
  1327. /*****************************************************************************
  1328.  **
  1329.  ** xcb_x_print_print_get_context_reply_t * xcb_x_print_print_get_context_reply
  1330.  ** 
  1331.  ** @param xcb_connection_t                        *c
  1332.  ** @param xcb_x_print_print_get_context_cookie_t   cookie
  1333.  ** @param xcb_generic_error_t                    **e
  1334.  ** @returns xcb_x_print_print_get_context_reply_t *
  1335.  **
  1336.  *****************************************************************************/
  1337.  
  1338. xcb_x_print_print_get_context_reply_t *
  1339. xcb_x_print_print_get_context_reply (xcb_connection_t                        *c  /**< */,
  1340.                                      xcb_x_print_print_get_context_cookie_t   cookie  /**< */,
  1341.                                      xcb_generic_error_t                    **e  /**< */);
  1342.  
  1343. /**
  1344.  * Delivers a request to the X server
  1345.  * @param c The connection
  1346.  * @return A cookie
  1347.  *
  1348.  * Delivers a request to the X server.
  1349.  * 
  1350.  * This form can be used only if the request will not cause
  1351.  * a reply to be generated. Any returned error will be
  1352.  * saved for handling by xcb_request_check().
  1353.  */
  1354.  
  1355. /*****************************************************************************
  1356.  **
  1357.  ** xcb_void_cookie_t xcb_x_print_print_destroy_context_checked
  1358.  ** 
  1359.  ** @param xcb_connection_t *c
  1360.  ** @param uint32_t          context
  1361.  ** @returns xcb_void_cookie_t
  1362.  **
  1363.  *****************************************************************************/
  1364.  
  1365. xcb_void_cookie_t
  1366. xcb_x_print_print_destroy_context_checked (xcb_connection_t *c  /**< */,
  1367.                                            uint32_t          context  /**< */);
  1368.  
  1369. /**
  1370.  * Delivers a request to the X server
  1371.  * @param c The connection
  1372.  * @return A cookie
  1373.  *
  1374.  * Delivers a request to the X server.
  1375.  * 
  1376.  */
  1377.  
  1378. /*****************************************************************************
  1379.  **
  1380.  ** xcb_void_cookie_t xcb_x_print_print_destroy_context
  1381.  ** 
  1382.  ** @param xcb_connection_t *c
  1383.  ** @param uint32_t          context
  1384.  ** @returns xcb_void_cookie_t
  1385.  **
  1386.  *****************************************************************************/
  1387.  
  1388. xcb_void_cookie_t
  1389. xcb_x_print_print_destroy_context (xcb_connection_t *c  /**< */,
  1390.                                    uint32_t          context  /**< */);
  1391.  
  1392. /**
  1393.  * Delivers a request to the X server
  1394.  * @param c The connection
  1395.  * @return A cookie
  1396.  *
  1397.  * Delivers a request to the X server.
  1398.  * 
  1399.  */
  1400.  
  1401. /*****************************************************************************
  1402.  **
  1403.  ** xcb_x_print_print_get_screen_of_context_cookie_t xcb_x_print_print_get_screen_of_context
  1404.  ** 
  1405.  ** @param xcb_connection_t *c
  1406.  ** @returns xcb_x_print_print_get_screen_of_context_cookie_t
  1407.  **
  1408.  *****************************************************************************/
  1409.  
  1410. xcb_x_print_print_get_screen_of_context_cookie_t
  1411. xcb_x_print_print_get_screen_of_context (xcb_connection_t *c  /**< */);
  1412.  
  1413. /**
  1414.  * Delivers a request to the X server
  1415.  * @param c The connection
  1416.  * @return A cookie
  1417.  *
  1418.  * Delivers a request to the X server.
  1419.  * 
  1420.  * This form can be used only if the request will cause
  1421.  * a reply to be generated. Any returned error will be
  1422.  * placed in the event queue.
  1423.  */
  1424.  
  1425. /*****************************************************************************
  1426.  **
  1427.  ** xcb_x_print_print_get_screen_of_context_cookie_t xcb_x_print_print_get_screen_of_context_unchecked
  1428.  ** 
  1429.  ** @param xcb_connection_t *c
  1430.  ** @returns xcb_x_print_print_get_screen_of_context_cookie_t
  1431.  **
  1432.  *****************************************************************************/
  1433.  
  1434. xcb_x_print_print_get_screen_of_context_cookie_t
  1435. xcb_x_print_print_get_screen_of_context_unchecked (xcb_connection_t *c  /**< */);
  1436.  
  1437. /**
  1438.  * Return the reply
  1439.  * @param c      The connection
  1440.  * @param cookie The cookie
  1441.  * @param e      The xcb_generic_error_t supplied
  1442.  *
  1443.  * Returns the reply of the request asked by
  1444.  * 
  1445.  * The parameter @p e supplied to this function must be NULL if
  1446.  * xcb_x_print_print_get_screen_of_context_unchecked(). is used.
  1447.  * Otherwise, it stores the error if any.
  1448.  */
  1449.  
  1450. /*****************************************************************************
  1451.  **
  1452.  ** xcb_x_print_print_get_screen_of_context_reply_t * xcb_x_print_print_get_screen_of_context_reply
  1453.  ** 
  1454.  ** @param xcb_connection_t                                  *c
  1455.  ** @param xcb_x_print_print_get_screen_of_context_cookie_t   cookie
  1456.  ** @param xcb_generic_error_t                              **e
  1457.  ** @returns xcb_x_print_print_get_screen_of_context_reply_t *
  1458.  **
  1459.  *****************************************************************************/
  1460.  
  1461. xcb_x_print_print_get_screen_of_context_reply_t *
  1462. xcb_x_print_print_get_screen_of_context_reply (xcb_connection_t                                  *c  /**< */,
  1463.                                                xcb_x_print_print_get_screen_of_context_cookie_t   cookie  /**< */,
  1464.                                                xcb_generic_error_t                              **e  /**< */);
  1465.  
  1466. /**
  1467.  * Delivers a request to the X server
  1468.  * @param c The connection
  1469.  * @return A cookie
  1470.  *
  1471.  * Delivers a request to the X server.
  1472.  * 
  1473.  * This form can be used only if the request will not cause
  1474.  * a reply to be generated. Any returned error will be
  1475.  * saved for handling by xcb_request_check().
  1476.  */
  1477.  
  1478. /*****************************************************************************
  1479.  **
  1480.  ** xcb_void_cookie_t xcb_x_print_print_start_job_checked
  1481.  ** 
  1482.  ** @param xcb_connection_t *c
  1483.  ** @param uint8_t           output_mode
  1484.  ** @returns xcb_void_cookie_t
  1485.  **
  1486.  *****************************************************************************/
  1487.  
  1488. xcb_void_cookie_t
  1489. xcb_x_print_print_start_job_checked (xcb_connection_t *c  /**< */,
  1490.                                      uint8_t           output_mode  /**< */);
  1491.  
  1492. /**
  1493.  * Delivers a request to the X server
  1494.  * @param c The connection
  1495.  * @return A cookie
  1496.  *
  1497.  * Delivers a request to the X server.
  1498.  * 
  1499.  */
  1500.  
  1501. /*****************************************************************************
  1502.  **
  1503.  ** xcb_void_cookie_t xcb_x_print_print_start_job
  1504.  ** 
  1505.  ** @param xcb_connection_t *c
  1506.  ** @param uint8_t           output_mode
  1507.  ** @returns xcb_void_cookie_t
  1508.  **
  1509.  *****************************************************************************/
  1510.  
  1511. xcb_void_cookie_t
  1512. xcb_x_print_print_start_job (xcb_connection_t *c  /**< */,
  1513.                              uint8_t           output_mode  /**< */);
  1514.  
  1515. /**
  1516.  * Delivers a request to the X server
  1517.  * @param c The connection
  1518.  * @return A cookie
  1519.  *
  1520.  * Delivers a request to the X server.
  1521.  * 
  1522.  * This form can be used only if the request will not cause
  1523.  * a reply to be generated. Any returned error will be
  1524.  * saved for handling by xcb_request_check().
  1525.  */
  1526.  
  1527. /*****************************************************************************
  1528.  **
  1529.  ** xcb_void_cookie_t xcb_x_print_print_end_job_checked
  1530.  ** 
  1531.  ** @param xcb_connection_t *c
  1532.  ** @param uint8_t           cancel
  1533.  ** @returns xcb_void_cookie_t
  1534.  **
  1535.  *****************************************************************************/
  1536.  
  1537. xcb_void_cookie_t
  1538. xcb_x_print_print_end_job_checked (xcb_connection_t *c  /**< */,
  1539.                                    uint8_t           cancel  /**< */);
  1540.  
  1541. /**
  1542.  * Delivers a request to the X server
  1543.  * @param c The connection
  1544.  * @return A cookie
  1545.  *
  1546.  * Delivers a request to the X server.
  1547.  * 
  1548.  */
  1549.  
  1550. /*****************************************************************************
  1551.  **
  1552.  ** xcb_void_cookie_t xcb_x_print_print_end_job
  1553.  ** 
  1554.  ** @param xcb_connection_t *c
  1555.  ** @param uint8_t           cancel
  1556.  ** @returns xcb_void_cookie_t
  1557.  **
  1558.  *****************************************************************************/
  1559.  
  1560. xcb_void_cookie_t
  1561. xcb_x_print_print_end_job (xcb_connection_t *c  /**< */,
  1562.                            uint8_t           cancel  /**< */);
  1563.  
  1564. /**
  1565.  * Delivers a request to the X server
  1566.  * @param c The connection
  1567.  * @return A cookie
  1568.  *
  1569.  * Delivers a request to the X server.
  1570.  * 
  1571.  * This form can be used only if the request will not cause
  1572.  * a reply to be generated. Any returned error will be
  1573.  * saved for handling by xcb_request_check().
  1574.  */
  1575.  
  1576. /*****************************************************************************
  1577.  **
  1578.  ** xcb_void_cookie_t xcb_x_print_print_start_doc_checked
  1579.  ** 
  1580.  ** @param xcb_connection_t *c
  1581.  ** @param uint8_t           driver_mode
  1582.  ** @returns xcb_void_cookie_t
  1583.  **
  1584.  *****************************************************************************/
  1585.  
  1586. xcb_void_cookie_t
  1587. xcb_x_print_print_start_doc_checked (xcb_connection_t *c  /**< */,
  1588.                                      uint8_t           driver_mode  /**< */);
  1589.  
  1590. /**
  1591.  * Delivers a request to the X server
  1592.  * @param c The connection
  1593.  * @return A cookie
  1594.  *
  1595.  * Delivers a request to the X server.
  1596.  * 
  1597.  */
  1598.  
  1599. /*****************************************************************************
  1600.  **
  1601.  ** xcb_void_cookie_t xcb_x_print_print_start_doc
  1602.  ** 
  1603.  ** @param xcb_connection_t *c
  1604.  ** @param uint8_t           driver_mode
  1605.  ** @returns xcb_void_cookie_t
  1606.  **
  1607.  *****************************************************************************/
  1608.  
  1609. xcb_void_cookie_t
  1610. xcb_x_print_print_start_doc (xcb_connection_t *c  /**< */,
  1611.                              uint8_t           driver_mode  /**< */);
  1612.  
  1613. /**
  1614.  * Delivers a request to the X server
  1615.  * @param c The connection
  1616.  * @return A cookie
  1617.  *
  1618.  * Delivers a request to the X server.
  1619.  * 
  1620.  * This form can be used only if the request will not cause
  1621.  * a reply to be generated. Any returned error will be
  1622.  * saved for handling by xcb_request_check().
  1623.  */
  1624.  
  1625. /*****************************************************************************
  1626.  **
  1627.  ** xcb_void_cookie_t xcb_x_print_print_end_doc_checked
  1628.  ** 
  1629.  ** @param xcb_connection_t *c
  1630.  ** @param uint8_t           cancel
  1631.  ** @returns xcb_void_cookie_t
  1632.  **
  1633.  *****************************************************************************/
  1634.  
  1635. xcb_void_cookie_t
  1636. xcb_x_print_print_end_doc_checked (xcb_connection_t *c  /**< */,
  1637.                                    uint8_t           cancel  /**< */);
  1638.  
  1639. /**
  1640.  * Delivers a request to the X server
  1641.  * @param c The connection
  1642.  * @return A cookie
  1643.  *
  1644.  * Delivers a request to the X server.
  1645.  * 
  1646.  */
  1647.  
  1648. /*****************************************************************************
  1649.  **
  1650.  ** xcb_void_cookie_t xcb_x_print_print_end_doc
  1651.  ** 
  1652.  ** @param xcb_connection_t *c
  1653.  ** @param uint8_t           cancel
  1654.  ** @returns xcb_void_cookie_t
  1655.  **
  1656.  *****************************************************************************/
  1657.  
  1658. xcb_void_cookie_t
  1659. xcb_x_print_print_end_doc (xcb_connection_t *c  /**< */,
  1660.                            uint8_t           cancel  /**< */);
  1661.  
  1662. /**
  1663.  * Delivers a request to the X server
  1664.  * @param c The connection
  1665.  * @return A cookie
  1666.  *
  1667.  * Delivers a request to the X server.
  1668.  * 
  1669.  * This form can be used only if the request will not cause
  1670.  * a reply to be generated. Any returned error will be
  1671.  * saved for handling by xcb_request_check().
  1672.  */
  1673.  
  1674. /*****************************************************************************
  1675.  **
  1676.  ** xcb_void_cookie_t xcb_x_print_print_put_document_data_checked
  1677.  ** 
  1678.  ** @param xcb_connection_t            *c
  1679.  ** @param xcb_drawable_t               drawable
  1680.  ** @param uint32_t                     len_data
  1681.  ** @param uint16_t                     len_fmt
  1682.  ** @param uint16_t                     len_options
  1683.  ** @param const uint8_t               *data
  1684.  ** @param uint32_t                     doc_format_len
  1685.  ** @param const xcb_x_print_string8_t *doc_format
  1686.  ** @param uint32_t                     options_len
  1687.  ** @param const xcb_x_print_string8_t *options
  1688.  ** @returns xcb_void_cookie_t
  1689.  **
  1690.  *****************************************************************************/
  1691.  
  1692. xcb_void_cookie_t
  1693. xcb_x_print_print_put_document_data_checked (xcb_connection_t            *c  /**< */,
  1694.                                              xcb_drawable_t               drawable  /**< */,
  1695.                                              uint32_t                     len_data  /**< */,
  1696.                                              uint16_t                     len_fmt  /**< */,
  1697.                                              uint16_t                     len_options  /**< */,
  1698.                                              const uint8_t               *data  /**< */,
  1699.                                              uint32_t                     doc_format_len  /**< */,
  1700.                                              const xcb_x_print_string8_t *doc_format  /**< */,
  1701.                                              uint32_t                     options_len  /**< */,
  1702.                                              const xcb_x_print_string8_t *options  /**< */);
  1703.  
  1704. /**
  1705.  * Delivers a request to the X server
  1706.  * @param c The connection
  1707.  * @return A cookie
  1708.  *
  1709.  * Delivers a request to the X server.
  1710.  * 
  1711.  */
  1712.  
  1713. /*****************************************************************************
  1714.  **
  1715.  ** xcb_void_cookie_t xcb_x_print_print_put_document_data
  1716.  ** 
  1717.  ** @param xcb_connection_t            *c
  1718.  ** @param xcb_drawable_t               drawable
  1719.  ** @param uint32_t                     len_data
  1720.  ** @param uint16_t                     len_fmt
  1721.  ** @param uint16_t                     len_options
  1722.  ** @param const uint8_t               *data
  1723.  ** @param uint32_t                     doc_format_len
  1724.  ** @param const xcb_x_print_string8_t *doc_format
  1725.  ** @param uint32_t                     options_len
  1726.  ** @param const xcb_x_print_string8_t *options
  1727.  ** @returns xcb_void_cookie_t
  1728.  **
  1729.  *****************************************************************************/
  1730.  
  1731. xcb_void_cookie_t
  1732. xcb_x_print_print_put_document_data (xcb_connection_t            *c  /**< */,
  1733.                                      xcb_drawable_t               drawable  /**< */,
  1734.                                      uint32_t                     len_data  /**< */,
  1735.                                      uint16_t                     len_fmt  /**< */,
  1736.                                      uint16_t                     len_options  /**< */,
  1737.                                      const uint8_t               *data  /**< */,
  1738.                                      uint32_t                     doc_format_len  /**< */,
  1739.                                      const xcb_x_print_string8_t *doc_format  /**< */,
  1740.                                      uint32_t                     options_len  /**< */,
  1741.                                      const xcb_x_print_string8_t *options  /**< */);
  1742.  
  1743. /**
  1744.  * Delivers a request to the X server
  1745.  * @param c The connection
  1746.  * @return A cookie
  1747.  *
  1748.  * Delivers a request to the X server.
  1749.  * 
  1750.  */
  1751.  
  1752. /*****************************************************************************
  1753.  **
  1754.  ** xcb_x_print_print_get_document_data_cookie_t xcb_x_print_print_get_document_data
  1755.  ** 
  1756.  ** @param xcb_connection_t       *c
  1757.  ** @param xcb_x_print_pcontext_t  context
  1758.  ** @param uint32_t                max_bytes
  1759.  ** @returns xcb_x_print_print_get_document_data_cookie_t
  1760.  **
  1761.  *****************************************************************************/
  1762.  
  1763. xcb_x_print_print_get_document_data_cookie_t
  1764. xcb_x_print_print_get_document_data (xcb_connection_t       *c  /**< */,
  1765.                                      xcb_x_print_pcontext_t  context  /**< */,
  1766.                                      uint32_t                max_bytes  /**< */);
  1767.  
  1768. /**
  1769.  * Delivers a request to the X server
  1770.  * @param c The connection
  1771.  * @return A cookie
  1772.  *
  1773.  * Delivers a request to the X server.
  1774.  * 
  1775.  * This form can be used only if the request will cause
  1776.  * a reply to be generated. Any returned error will be
  1777.  * placed in the event queue.
  1778.  */
  1779.  
  1780. /*****************************************************************************
  1781.  **
  1782.  ** xcb_x_print_print_get_document_data_cookie_t xcb_x_print_print_get_document_data_unchecked
  1783.  ** 
  1784.  ** @param xcb_connection_t       *c
  1785.  ** @param xcb_x_print_pcontext_t  context
  1786.  ** @param uint32_t                max_bytes
  1787.  ** @returns xcb_x_print_print_get_document_data_cookie_t
  1788.  **
  1789.  *****************************************************************************/
  1790.  
  1791. xcb_x_print_print_get_document_data_cookie_t
  1792. xcb_x_print_print_get_document_data_unchecked (xcb_connection_t       *c  /**< */,
  1793.                                                xcb_x_print_pcontext_t  context  /**< */,
  1794.                                                uint32_t                max_bytes  /**< */);
  1795.  
  1796.  
  1797. /*****************************************************************************
  1798.  **
  1799.  ** uint8_t * xcb_x_print_print_get_document_data_data
  1800.  ** 
  1801.  ** @param const xcb_x_print_print_get_document_data_reply_t *R
  1802.  ** @returns uint8_t *
  1803.  **
  1804.  *****************************************************************************/
  1805.  
  1806. uint8_t *
  1807. xcb_x_print_print_get_document_data_data (const xcb_x_print_print_get_document_data_reply_t *R  /**< */);
  1808.  
  1809.  
  1810. /*****************************************************************************
  1811.  **
  1812.  ** int xcb_x_print_print_get_document_data_data_length
  1813.  ** 
  1814.  ** @param const xcb_x_print_print_get_document_data_reply_t *R
  1815.  ** @returns int
  1816.  **
  1817.  *****************************************************************************/
  1818.  
  1819. int
  1820. xcb_x_print_print_get_document_data_data_length (const xcb_x_print_print_get_document_data_reply_t *R  /**< */);
  1821.  
  1822.  
  1823. /*****************************************************************************
  1824.  **
  1825.  ** xcb_generic_iterator_t xcb_x_print_print_get_document_data_data_end
  1826.  ** 
  1827.  ** @param const xcb_x_print_print_get_document_data_reply_t *R
  1828.  ** @returns xcb_generic_iterator_t
  1829.  **
  1830.  *****************************************************************************/
  1831.  
  1832. xcb_generic_iterator_t
  1833. xcb_x_print_print_get_document_data_data_end (const xcb_x_print_print_get_document_data_reply_t *R  /**< */);
  1834.  
  1835. /**
  1836.  * Return the reply
  1837.  * @param c      The connection
  1838.  * @param cookie The cookie
  1839.  * @param e      The xcb_generic_error_t supplied
  1840.  *
  1841.  * Returns the reply of the request asked by
  1842.  * 
  1843.  * The parameter @p e supplied to this function must be NULL if
  1844.  * xcb_x_print_print_get_document_data_unchecked(). is used.
  1845.  * Otherwise, it stores the error if any.
  1846.  */
  1847.  
  1848. /*****************************************************************************
  1849.  **
  1850.  ** xcb_x_print_print_get_document_data_reply_t * xcb_x_print_print_get_document_data_reply
  1851.  ** 
  1852.  ** @param xcb_connection_t                              *c
  1853.  ** @param xcb_x_print_print_get_document_data_cookie_t   cookie
  1854.  ** @param xcb_generic_error_t                          **e
  1855.  ** @returns xcb_x_print_print_get_document_data_reply_t *
  1856.  **
  1857.  *****************************************************************************/
  1858.  
  1859. xcb_x_print_print_get_document_data_reply_t *
  1860. xcb_x_print_print_get_document_data_reply (xcb_connection_t                              *c  /**< */,
  1861.                                            xcb_x_print_print_get_document_data_cookie_t   cookie  /**< */,
  1862.                                            xcb_generic_error_t                          **e  /**< */);
  1863.  
  1864. /**
  1865.  * Delivers a request to the X server
  1866.  * @param c The connection
  1867.  * @return A cookie
  1868.  *
  1869.  * Delivers a request to the X server.
  1870.  * 
  1871.  * This form can be used only if the request will not cause
  1872.  * a reply to be generated. Any returned error will be
  1873.  * saved for handling by xcb_request_check().
  1874.  */
  1875.  
  1876. /*****************************************************************************
  1877.  **
  1878.  ** xcb_void_cookie_t xcb_x_print_print_start_page_checked
  1879.  ** 
  1880.  ** @param xcb_connection_t *c
  1881.  ** @param xcb_window_t      window
  1882.  ** @returns xcb_void_cookie_t
  1883.  **
  1884.  *****************************************************************************/
  1885.  
  1886. xcb_void_cookie_t
  1887. xcb_x_print_print_start_page_checked (xcb_connection_t *c  /**< */,
  1888.                                       xcb_window_t      window  /**< */);
  1889.  
  1890. /**
  1891.  * Delivers a request to the X server
  1892.  * @param c The connection
  1893.  * @return A cookie
  1894.  *
  1895.  * Delivers a request to the X server.
  1896.  * 
  1897.  */
  1898.  
  1899. /*****************************************************************************
  1900.  **
  1901.  ** xcb_void_cookie_t xcb_x_print_print_start_page
  1902.  ** 
  1903.  ** @param xcb_connection_t *c
  1904.  ** @param xcb_window_t      window
  1905.  ** @returns xcb_void_cookie_t
  1906.  **
  1907.  *****************************************************************************/
  1908.  
  1909. xcb_void_cookie_t
  1910. xcb_x_print_print_start_page (xcb_connection_t *c  /**< */,
  1911.                               xcb_window_t      window  /**< */);
  1912.  
  1913. /**
  1914.  * Delivers a request to the X server
  1915.  * @param c The connection
  1916.  * @return A cookie
  1917.  *
  1918.  * Delivers a request to the X server.
  1919.  * 
  1920.  * This form can be used only if the request will not cause
  1921.  * a reply to be generated. Any returned error will be
  1922.  * saved for handling by xcb_request_check().
  1923.  */
  1924.  
  1925. /*****************************************************************************
  1926.  **
  1927.  ** xcb_void_cookie_t xcb_x_print_print_end_page_checked
  1928.  ** 
  1929.  ** @param xcb_connection_t *c
  1930.  ** @param uint8_t           cancel
  1931.  ** @returns xcb_void_cookie_t
  1932.  **
  1933.  *****************************************************************************/
  1934.  
  1935. xcb_void_cookie_t
  1936. xcb_x_print_print_end_page_checked (xcb_connection_t *c  /**< */,
  1937.                                     uint8_t           cancel  /**< */);
  1938.  
  1939. /**
  1940.  * Delivers a request to the X server
  1941.  * @param c The connection
  1942.  * @return A cookie
  1943.  *
  1944.  * Delivers a request to the X server.
  1945.  * 
  1946.  */
  1947.  
  1948. /*****************************************************************************
  1949.  **
  1950.  ** xcb_void_cookie_t xcb_x_print_print_end_page
  1951.  ** 
  1952.  ** @param xcb_connection_t *c
  1953.  ** @param uint8_t           cancel
  1954.  ** @returns xcb_void_cookie_t
  1955.  **
  1956.  *****************************************************************************/
  1957.  
  1958. xcb_void_cookie_t
  1959. xcb_x_print_print_end_page (xcb_connection_t *c  /**< */,
  1960.                             uint8_t           cancel  /**< */);
  1961.  
  1962. /**
  1963.  * Delivers a request to the X server
  1964.  * @param c The connection
  1965.  * @return A cookie
  1966.  *
  1967.  * Delivers a request to the X server.
  1968.  * 
  1969.  * This form can be used only if the request will not cause
  1970.  * a reply to be generated. Any returned error will be
  1971.  * saved for handling by xcb_request_check().
  1972.  */
  1973.  
  1974. /*****************************************************************************
  1975.  **
  1976.  ** xcb_void_cookie_t xcb_x_print_print_select_input_checked
  1977.  ** 
  1978.  ** @param xcb_connection_t       *c
  1979.  ** @param xcb_x_print_pcontext_t  context
  1980.  ** @param uint32_t                event_mask
  1981.  ** @param const uint32_t         *event_list
  1982.  ** @returns xcb_void_cookie_t
  1983.  **
  1984.  *****************************************************************************/
  1985.  
  1986. xcb_void_cookie_t
  1987. xcb_x_print_print_select_input_checked (xcb_connection_t       *c  /**< */,
  1988.                                         xcb_x_print_pcontext_t  context  /**< */,
  1989.                                         uint32_t                event_mask  /**< */,
  1990.                                         const uint32_t         *event_list  /**< */);
  1991.  
  1992. /**
  1993.  * Delivers a request to the X server
  1994.  * @param c The connection
  1995.  * @return A cookie
  1996.  *
  1997.  * Delivers a request to the X server.
  1998.  * 
  1999.  */
  2000.  
  2001. /*****************************************************************************
  2002.  **
  2003.  ** xcb_void_cookie_t xcb_x_print_print_select_input
  2004.  ** 
  2005.  ** @param xcb_connection_t       *c
  2006.  ** @param xcb_x_print_pcontext_t  context
  2007.  ** @param uint32_t                event_mask
  2008.  ** @param const uint32_t         *event_list
  2009.  ** @returns xcb_void_cookie_t
  2010.  **
  2011.  *****************************************************************************/
  2012.  
  2013. xcb_void_cookie_t
  2014. xcb_x_print_print_select_input (xcb_connection_t       *c  /**< */,
  2015.                                 xcb_x_print_pcontext_t  context  /**< */,
  2016.                                 uint32_t                event_mask  /**< */,
  2017.                                 const uint32_t         *event_list  /**< */);
  2018.  
  2019. /**
  2020.  * Delivers a request to the X server
  2021.  * @param c The connection
  2022.  * @return A cookie
  2023.  *
  2024.  * Delivers a request to the X server.
  2025.  * 
  2026.  */
  2027.  
  2028. /*****************************************************************************
  2029.  **
  2030.  ** xcb_x_print_print_input_selected_cookie_t xcb_x_print_print_input_selected
  2031.  ** 
  2032.  ** @param xcb_connection_t       *c
  2033.  ** @param xcb_x_print_pcontext_t  context
  2034.  ** @returns xcb_x_print_print_input_selected_cookie_t
  2035.  **
  2036.  *****************************************************************************/
  2037.  
  2038. xcb_x_print_print_input_selected_cookie_t
  2039. xcb_x_print_print_input_selected (xcb_connection_t       *c  /**< */,
  2040.                                   xcb_x_print_pcontext_t  context  /**< */);
  2041.  
  2042. /**
  2043.  * Delivers a request to the X server
  2044.  * @param c The connection
  2045.  * @return A cookie
  2046.  *
  2047.  * Delivers a request to the X server.
  2048.  * 
  2049.  * This form can be used only if the request will cause
  2050.  * a reply to be generated. Any returned error will be
  2051.  * placed in the event queue.
  2052.  */
  2053.  
  2054. /*****************************************************************************
  2055.  **
  2056.  ** xcb_x_print_print_input_selected_cookie_t xcb_x_print_print_input_selected_unchecked
  2057.  ** 
  2058.  ** @param xcb_connection_t       *c
  2059.  ** @param xcb_x_print_pcontext_t  context
  2060.  ** @returns xcb_x_print_print_input_selected_cookie_t
  2061.  **
  2062.  *****************************************************************************/
  2063.  
  2064. xcb_x_print_print_input_selected_cookie_t
  2065. xcb_x_print_print_input_selected_unchecked (xcb_connection_t       *c  /**< */,
  2066.                                             xcb_x_print_pcontext_t  context  /**< */);
  2067.  
  2068.  
  2069. /*****************************************************************************
  2070.  **
  2071.  ** uint32_t * xcb_x_print_print_input_selected_event_list
  2072.  ** 
  2073.  ** @param const xcb_x_print_print_input_selected_reply_t *R
  2074.  ** @returns uint32_t *
  2075.  **
  2076.  *****************************************************************************/
  2077.  
  2078. uint32_t *
  2079. xcb_x_print_print_input_selected_event_list (const xcb_x_print_print_input_selected_reply_t *R  /**< */);
  2080.  
  2081.  
  2082. /*****************************************************************************
  2083.  **
  2084.  ** int xcb_x_print_print_input_selected_event_list_length
  2085.  ** 
  2086.  ** @param const xcb_x_print_print_input_selected_reply_t *R
  2087.  ** @returns int
  2088.  **
  2089.  *****************************************************************************/
  2090.  
  2091. int
  2092. xcb_x_print_print_input_selected_event_list_length (const xcb_x_print_print_input_selected_reply_t *R  /**< */);
  2093.  
  2094.  
  2095. /*****************************************************************************
  2096.  **
  2097.  ** xcb_generic_iterator_t xcb_x_print_print_input_selected_event_list_end
  2098.  ** 
  2099.  ** @param const xcb_x_print_print_input_selected_reply_t *R
  2100.  ** @returns xcb_generic_iterator_t
  2101.  **
  2102.  *****************************************************************************/
  2103.  
  2104. xcb_generic_iterator_t
  2105. xcb_x_print_print_input_selected_event_list_end (const xcb_x_print_print_input_selected_reply_t *R  /**< */);
  2106.  
  2107.  
  2108. /*****************************************************************************
  2109.  **
  2110.  ** uint32_t * xcb_x_print_print_input_selected_all_events_list
  2111.  ** 
  2112.  ** @param const xcb_x_print_print_input_selected_reply_t *R
  2113.  ** @returns uint32_t *
  2114.  **
  2115.  *****************************************************************************/
  2116.  
  2117. uint32_t *
  2118. xcb_x_print_print_input_selected_all_events_list (const xcb_x_print_print_input_selected_reply_t *R  /**< */);
  2119.  
  2120.  
  2121. /*****************************************************************************
  2122.  **
  2123.  ** int xcb_x_print_print_input_selected_all_events_list_length
  2124.  ** 
  2125.  ** @param const xcb_x_print_print_input_selected_reply_t *R
  2126.  ** @returns int
  2127.  **
  2128.  *****************************************************************************/
  2129.  
  2130. int
  2131. xcb_x_print_print_input_selected_all_events_list_length (const xcb_x_print_print_input_selected_reply_t *R  /**< */);
  2132.  
  2133.  
  2134. /*****************************************************************************
  2135.  **
  2136.  ** xcb_generic_iterator_t xcb_x_print_print_input_selected_all_events_list_end
  2137.  ** 
  2138.  ** @param const xcb_x_print_print_input_selected_reply_t *R
  2139.  ** @returns xcb_generic_iterator_t
  2140.  **
  2141.  *****************************************************************************/
  2142.  
  2143. xcb_generic_iterator_t
  2144. xcb_x_print_print_input_selected_all_events_list_end (const xcb_x_print_print_input_selected_reply_t *R  /**< */);
  2145.  
  2146. /**
  2147.  * Return the reply
  2148.  * @param c      The connection
  2149.  * @param cookie The cookie
  2150.  * @param e      The xcb_generic_error_t supplied
  2151.  *
  2152.  * Returns the reply of the request asked by
  2153.  * 
  2154.  * The parameter @p e supplied to this function must be NULL if
  2155.  * xcb_x_print_print_input_selected_unchecked(). is used.
  2156.  * Otherwise, it stores the error if any.
  2157.  */
  2158.  
  2159. /*****************************************************************************
  2160.  **
  2161.  ** xcb_x_print_print_input_selected_reply_t * xcb_x_print_print_input_selected_reply
  2162.  ** 
  2163.  ** @param xcb_connection_t                           *c
  2164.  ** @param xcb_x_print_print_input_selected_cookie_t   cookie
  2165.  ** @param xcb_generic_error_t                       **e
  2166.  ** @returns xcb_x_print_print_input_selected_reply_t *
  2167.  **
  2168.  *****************************************************************************/
  2169.  
  2170. xcb_x_print_print_input_selected_reply_t *
  2171. xcb_x_print_print_input_selected_reply (xcb_connection_t                           *c  /**< */,
  2172.                                         xcb_x_print_print_input_selected_cookie_t   cookie  /**< */,
  2173.                                         xcb_generic_error_t                       **e  /**< */);
  2174.  
  2175. /**
  2176.  * Delivers a request to the X server
  2177.  * @param c The connection
  2178.  * @return A cookie
  2179.  *
  2180.  * Delivers a request to the X server.
  2181.  * 
  2182.  */
  2183.  
  2184. /*****************************************************************************
  2185.  **
  2186.  ** xcb_x_print_print_get_attributes_cookie_t xcb_x_print_print_get_attributes
  2187.  ** 
  2188.  ** @param xcb_connection_t       *c
  2189.  ** @param xcb_x_print_pcontext_t  context
  2190.  ** @param uint8_t                 pool
  2191.  ** @returns xcb_x_print_print_get_attributes_cookie_t
  2192.  **
  2193.  *****************************************************************************/
  2194.  
  2195. xcb_x_print_print_get_attributes_cookie_t
  2196. xcb_x_print_print_get_attributes (xcb_connection_t       *c  /**< */,
  2197.                                   xcb_x_print_pcontext_t  context  /**< */,
  2198.                                   uint8_t                 pool  /**< */);
  2199.  
  2200. /**
  2201.  * Delivers a request to the X server
  2202.  * @param c The connection
  2203.  * @return A cookie
  2204.  *
  2205.  * Delivers a request to the X server.
  2206.  * 
  2207.  * This form can be used only if the request will cause
  2208.  * a reply to be generated. Any returned error will be
  2209.  * placed in the event queue.
  2210.  */
  2211.  
  2212. /*****************************************************************************
  2213.  **
  2214.  ** xcb_x_print_print_get_attributes_cookie_t xcb_x_print_print_get_attributes_unchecked
  2215.  ** 
  2216.  ** @param xcb_connection_t       *c
  2217.  ** @param xcb_x_print_pcontext_t  context
  2218.  ** @param uint8_t                 pool
  2219.  ** @returns xcb_x_print_print_get_attributes_cookie_t
  2220.  **
  2221.  *****************************************************************************/
  2222.  
  2223. xcb_x_print_print_get_attributes_cookie_t
  2224. xcb_x_print_print_get_attributes_unchecked (xcb_connection_t       *c  /**< */,
  2225.                                             xcb_x_print_pcontext_t  context  /**< */,
  2226.                                             uint8_t                 pool  /**< */);
  2227.  
  2228. /**
  2229.  * Return the reply
  2230.  * @param c      The connection
  2231.  * @param cookie The cookie
  2232.  * @param e      The xcb_generic_error_t supplied
  2233.  *
  2234.  * Returns the reply of the request asked by
  2235.  * 
  2236.  * The parameter @p e supplied to this function must be NULL if
  2237.  * xcb_x_print_print_get_attributes_unchecked(). is used.
  2238.  * Otherwise, it stores the error if any.
  2239.  */
  2240.  
  2241. /*****************************************************************************
  2242.  **
  2243.  ** xcb_x_print_print_get_attributes_reply_t * xcb_x_print_print_get_attributes_reply
  2244.  ** 
  2245.  ** @param xcb_connection_t                           *c
  2246.  ** @param xcb_x_print_print_get_attributes_cookie_t   cookie
  2247.  ** @param xcb_generic_error_t                       **e
  2248.  ** @returns xcb_x_print_print_get_attributes_reply_t *
  2249.  **
  2250.  *****************************************************************************/
  2251.  
  2252. xcb_x_print_print_get_attributes_reply_t *
  2253. xcb_x_print_print_get_attributes_reply (xcb_connection_t                           *c  /**< */,
  2254.                                         xcb_x_print_print_get_attributes_cookie_t   cookie  /**< */,
  2255.                                         xcb_generic_error_t                       **e  /**< */);
  2256.  
  2257. /**
  2258.  * Delivers a request to the X server
  2259.  * @param c The connection
  2260.  * @return A cookie
  2261.  *
  2262.  * Delivers a request to the X server.
  2263.  * 
  2264.  */
  2265.  
  2266. /*****************************************************************************
  2267.  **
  2268.  ** xcb_x_print_print_get_one_attributes_cookie_t xcb_x_print_print_get_one_attributes
  2269.  ** 
  2270.  ** @param xcb_connection_t            *c
  2271.  ** @param xcb_x_print_pcontext_t       context
  2272.  ** @param uint32_t                     nameLen
  2273.  ** @param uint8_t                      pool
  2274.  ** @param const xcb_x_print_string8_t *name
  2275.  ** @returns xcb_x_print_print_get_one_attributes_cookie_t
  2276.  **
  2277.  *****************************************************************************/
  2278.  
  2279. xcb_x_print_print_get_one_attributes_cookie_t
  2280. xcb_x_print_print_get_one_attributes (xcb_connection_t            *c  /**< */,
  2281.                                       xcb_x_print_pcontext_t       context  /**< */,
  2282.                                       uint32_t                     nameLen  /**< */,
  2283.                                       uint8_t                      pool  /**< */,
  2284.                                       const xcb_x_print_string8_t *name  /**< */);
  2285.  
  2286. /**
  2287.  * Delivers a request to the X server
  2288.  * @param c The connection
  2289.  * @return A cookie
  2290.  *
  2291.  * Delivers a request to the X server.
  2292.  * 
  2293.  * This form can be used only if the request will cause
  2294.  * a reply to be generated. Any returned error will be
  2295.  * placed in the event queue.
  2296.  */
  2297.  
  2298. /*****************************************************************************
  2299.  **
  2300.  ** xcb_x_print_print_get_one_attributes_cookie_t xcb_x_print_print_get_one_attributes_unchecked
  2301.  ** 
  2302.  ** @param xcb_connection_t            *c
  2303.  ** @param xcb_x_print_pcontext_t       context
  2304.  ** @param uint32_t                     nameLen
  2305.  ** @param uint8_t                      pool
  2306.  ** @param const xcb_x_print_string8_t *name
  2307.  ** @returns xcb_x_print_print_get_one_attributes_cookie_t
  2308.  **
  2309.  *****************************************************************************/
  2310.  
  2311. xcb_x_print_print_get_one_attributes_cookie_t
  2312. xcb_x_print_print_get_one_attributes_unchecked (xcb_connection_t            *c  /**< */,
  2313.                                                 xcb_x_print_pcontext_t       context  /**< */,
  2314.                                                 uint32_t                     nameLen  /**< */,
  2315.                                                 uint8_t                      pool  /**< */,
  2316.                                                 const xcb_x_print_string8_t *name  /**< */);
  2317.  
  2318.  
  2319. /*****************************************************************************
  2320.  **
  2321.  ** xcb_x_print_string8_t * xcb_x_print_print_get_one_attributes_value
  2322.  ** 
  2323.  ** @param const xcb_x_print_print_get_one_attributes_reply_t *R
  2324.  ** @returns xcb_x_print_string8_t *
  2325.  **
  2326.  *****************************************************************************/
  2327.  
  2328. xcb_x_print_string8_t *
  2329. xcb_x_print_print_get_one_attributes_value (const xcb_x_print_print_get_one_attributes_reply_t *R  /**< */);
  2330.  
  2331.  
  2332. /*****************************************************************************
  2333.  **
  2334.  ** int xcb_x_print_print_get_one_attributes_value_length
  2335.  ** 
  2336.  ** @param const xcb_x_print_print_get_one_attributes_reply_t *R
  2337.  ** @returns int
  2338.  **
  2339.  *****************************************************************************/
  2340.  
  2341. int
  2342. xcb_x_print_print_get_one_attributes_value_length (const xcb_x_print_print_get_one_attributes_reply_t *R  /**< */);
  2343.  
  2344.  
  2345. /*****************************************************************************
  2346.  **
  2347.  ** xcb_x_print_string8_iterator_t xcb_x_print_print_get_one_attributes_value_iterator
  2348.  ** 
  2349.  ** @param const xcb_x_print_print_get_one_attributes_reply_t *R
  2350.  ** @returns xcb_x_print_string8_iterator_t
  2351.  **
  2352.  *****************************************************************************/
  2353.  
  2354. xcb_x_print_string8_iterator_t
  2355. xcb_x_print_print_get_one_attributes_value_iterator (const xcb_x_print_print_get_one_attributes_reply_t *R  /**< */);
  2356.  
  2357. /**
  2358.  * Return the reply
  2359.  * @param c      The connection
  2360.  * @param cookie The cookie
  2361.  * @param e      The xcb_generic_error_t supplied
  2362.  *
  2363.  * Returns the reply of the request asked by
  2364.  * 
  2365.  * The parameter @p e supplied to this function must be NULL if
  2366.  * xcb_x_print_print_get_one_attributes_unchecked(). is used.
  2367.  * Otherwise, it stores the error if any.
  2368.  */
  2369.  
  2370. /*****************************************************************************
  2371.  **
  2372.  ** xcb_x_print_print_get_one_attributes_reply_t * xcb_x_print_print_get_one_attributes_reply
  2373.  ** 
  2374.  ** @param xcb_connection_t                               *c
  2375.  ** @param xcb_x_print_print_get_one_attributes_cookie_t   cookie
  2376.  ** @param xcb_generic_error_t                           **e
  2377.  ** @returns xcb_x_print_print_get_one_attributes_reply_t *
  2378.  **
  2379.  *****************************************************************************/
  2380.  
  2381. xcb_x_print_print_get_one_attributes_reply_t *
  2382. xcb_x_print_print_get_one_attributes_reply (xcb_connection_t                               *c  /**< */,
  2383.                                             xcb_x_print_print_get_one_attributes_cookie_t   cookie  /**< */,
  2384.                                             xcb_generic_error_t                           **e  /**< */);
  2385.  
  2386. /**
  2387.  * Delivers a request to the X server
  2388.  * @param c The connection
  2389.  * @return A cookie
  2390.  *
  2391.  * Delivers a request to the X server.
  2392.  * 
  2393.  * This form can be used only if the request will not cause
  2394.  * a reply to be generated. Any returned error will be
  2395.  * saved for handling by xcb_request_check().
  2396.  */
  2397.  
  2398. /*****************************************************************************
  2399.  **
  2400.  ** xcb_void_cookie_t xcb_x_print_print_set_attributes_checked
  2401.  ** 
  2402.  ** @param xcb_connection_t            *c
  2403.  ** @param xcb_x_print_pcontext_t       context
  2404.  ** @param uint32_t                     stringLen
  2405.  ** @param uint8_t                      pool
  2406.  ** @param uint8_t                      rule
  2407.  ** @param uint32_t                     attributes_len
  2408.  ** @param const xcb_x_print_string8_t *attributes
  2409.  ** @returns xcb_void_cookie_t
  2410.  **
  2411.  *****************************************************************************/
  2412.  
  2413. xcb_void_cookie_t
  2414. xcb_x_print_print_set_attributes_checked (xcb_connection_t            *c  /**< */,
  2415.                                           xcb_x_print_pcontext_t       context  /**< */,
  2416.                                           uint32_t                     stringLen  /**< */,
  2417.                                           uint8_t                      pool  /**< */,
  2418.                                           uint8_t                      rule  /**< */,
  2419.                                           uint32_t                     attributes_len  /**< */,
  2420.                                           const xcb_x_print_string8_t *attributes  /**< */);
  2421.  
  2422. /**
  2423.  * Delivers a request to the X server
  2424.  * @param c The connection
  2425.  * @return A cookie
  2426.  *
  2427.  * Delivers a request to the X server.
  2428.  * 
  2429.  */
  2430.  
  2431. /*****************************************************************************
  2432.  **
  2433.  ** xcb_void_cookie_t xcb_x_print_print_set_attributes
  2434.  ** 
  2435.  ** @param xcb_connection_t            *c
  2436.  ** @param xcb_x_print_pcontext_t       context
  2437.  ** @param uint32_t                     stringLen
  2438.  ** @param uint8_t                      pool
  2439.  ** @param uint8_t                      rule
  2440.  ** @param uint32_t                     attributes_len
  2441.  ** @param const xcb_x_print_string8_t *attributes
  2442.  ** @returns xcb_void_cookie_t
  2443.  **
  2444.  *****************************************************************************/
  2445.  
  2446. xcb_void_cookie_t
  2447. xcb_x_print_print_set_attributes (xcb_connection_t            *c  /**< */,
  2448.                                   xcb_x_print_pcontext_t       context  /**< */,
  2449.                                   uint32_t                     stringLen  /**< */,
  2450.                                   uint8_t                      pool  /**< */,
  2451.                                   uint8_t                      rule  /**< */,
  2452.                                   uint32_t                     attributes_len  /**< */,
  2453.                                   const xcb_x_print_string8_t *attributes  /**< */);
  2454.  
  2455. /**
  2456.  * Delivers a request to the X server
  2457.  * @param c The connection
  2458.  * @return A cookie
  2459.  *
  2460.  * Delivers a request to the X server.
  2461.  * 
  2462.  */
  2463.  
  2464. /*****************************************************************************
  2465.  **
  2466.  ** xcb_x_print_print_get_page_dimensions_cookie_t xcb_x_print_print_get_page_dimensions
  2467.  ** 
  2468.  ** @param xcb_connection_t       *c
  2469.  ** @param xcb_x_print_pcontext_t  context
  2470.  ** @returns xcb_x_print_print_get_page_dimensions_cookie_t
  2471.  **
  2472.  *****************************************************************************/
  2473.  
  2474. xcb_x_print_print_get_page_dimensions_cookie_t
  2475. xcb_x_print_print_get_page_dimensions (xcb_connection_t       *c  /**< */,
  2476.                                        xcb_x_print_pcontext_t  context  /**< */);
  2477.  
  2478. /**
  2479.  * Delivers a request to the X server
  2480.  * @param c The connection
  2481.  * @return A cookie
  2482.  *
  2483.  * Delivers a request to the X server.
  2484.  * 
  2485.  * This form can be used only if the request will cause
  2486.  * a reply to be generated. Any returned error will be
  2487.  * placed in the event queue.
  2488.  */
  2489.  
  2490. /*****************************************************************************
  2491.  **
  2492.  ** xcb_x_print_print_get_page_dimensions_cookie_t xcb_x_print_print_get_page_dimensions_unchecked
  2493.  ** 
  2494.  ** @param xcb_connection_t       *c
  2495.  ** @param xcb_x_print_pcontext_t  context
  2496.  ** @returns xcb_x_print_print_get_page_dimensions_cookie_t
  2497.  **
  2498.  *****************************************************************************/
  2499.  
  2500. xcb_x_print_print_get_page_dimensions_cookie_t
  2501. xcb_x_print_print_get_page_dimensions_unchecked (xcb_connection_t       *c  /**< */,
  2502.                                                  xcb_x_print_pcontext_t  context  /**< */);
  2503.  
  2504. /**
  2505.  * Return the reply
  2506.  * @param c      The connection
  2507.  * @param cookie The cookie
  2508.  * @param e      The xcb_generic_error_t supplied
  2509.  *
  2510.  * Returns the reply of the request asked by
  2511.  * 
  2512.  * The parameter @p e supplied to this function must be NULL if
  2513.  * xcb_x_print_print_get_page_dimensions_unchecked(). is used.
  2514.  * Otherwise, it stores the error if any.
  2515.  */
  2516.  
  2517. /*****************************************************************************
  2518.  **
  2519.  ** xcb_x_print_print_get_page_dimensions_reply_t * xcb_x_print_print_get_page_dimensions_reply
  2520.  ** 
  2521.  ** @param xcb_connection_t                                *c
  2522.  ** @param xcb_x_print_print_get_page_dimensions_cookie_t   cookie
  2523.  ** @param xcb_generic_error_t                            **e
  2524.  ** @returns xcb_x_print_print_get_page_dimensions_reply_t *
  2525.  **
  2526.  *****************************************************************************/
  2527.  
  2528. xcb_x_print_print_get_page_dimensions_reply_t *
  2529. xcb_x_print_print_get_page_dimensions_reply (xcb_connection_t                                *c  /**< */,
  2530.                                              xcb_x_print_print_get_page_dimensions_cookie_t   cookie  /**< */,
  2531.                                              xcb_generic_error_t                            **e  /**< */);
  2532.  
  2533. /**
  2534.  * Delivers a request to the X server
  2535.  * @param c The connection
  2536.  * @return A cookie
  2537.  *
  2538.  * Delivers a request to the X server.
  2539.  * 
  2540.  */
  2541.  
  2542. /*****************************************************************************
  2543.  **
  2544.  ** xcb_x_print_print_query_screens_cookie_t xcb_x_print_print_query_screens
  2545.  ** 
  2546.  ** @param xcb_connection_t *c
  2547.  ** @returns xcb_x_print_print_query_screens_cookie_t
  2548.  **
  2549.  *****************************************************************************/
  2550.  
  2551. xcb_x_print_print_query_screens_cookie_t
  2552. xcb_x_print_print_query_screens (xcb_connection_t *c  /**< */);
  2553.  
  2554. /**
  2555.  * Delivers a request to the X server
  2556.  * @param c The connection
  2557.  * @return A cookie
  2558.  *
  2559.  * Delivers a request to the X server.
  2560.  * 
  2561.  * This form can be used only if the request will cause
  2562.  * a reply to be generated. Any returned error will be
  2563.  * placed in the event queue.
  2564.  */
  2565.  
  2566. /*****************************************************************************
  2567.  **
  2568.  ** xcb_x_print_print_query_screens_cookie_t xcb_x_print_print_query_screens_unchecked
  2569.  ** 
  2570.  ** @param xcb_connection_t *c
  2571.  ** @returns xcb_x_print_print_query_screens_cookie_t
  2572.  **
  2573.  *****************************************************************************/
  2574.  
  2575. xcb_x_print_print_query_screens_cookie_t
  2576. xcb_x_print_print_query_screens_unchecked (xcb_connection_t *c  /**< */);
  2577.  
  2578.  
  2579. /*****************************************************************************
  2580.  **
  2581.  ** xcb_window_t * xcb_x_print_print_query_screens_roots
  2582.  ** 
  2583.  ** @param const xcb_x_print_print_query_screens_reply_t *R
  2584.  ** @returns xcb_window_t *
  2585.  **
  2586.  *****************************************************************************/
  2587.  
  2588. xcb_window_t *
  2589. xcb_x_print_print_query_screens_roots (const xcb_x_print_print_query_screens_reply_t *R  /**< */);
  2590.  
  2591.  
  2592. /*****************************************************************************
  2593.  **
  2594.  ** int xcb_x_print_print_query_screens_roots_length
  2595.  ** 
  2596.  ** @param const xcb_x_print_print_query_screens_reply_t *R
  2597.  ** @returns int
  2598.  **
  2599.  *****************************************************************************/
  2600.  
  2601. int
  2602. xcb_x_print_print_query_screens_roots_length (const xcb_x_print_print_query_screens_reply_t *R  /**< */);
  2603.  
  2604.  
  2605. /*****************************************************************************
  2606.  **
  2607.  ** xcb_window_iterator_t xcb_x_print_print_query_screens_roots_iterator
  2608.  ** 
  2609.  ** @param const xcb_x_print_print_query_screens_reply_t *R
  2610.  ** @returns xcb_window_iterator_t
  2611.  **
  2612.  *****************************************************************************/
  2613.  
  2614. xcb_window_iterator_t
  2615. xcb_x_print_print_query_screens_roots_iterator (const xcb_x_print_print_query_screens_reply_t *R  /**< */);
  2616.  
  2617. /**
  2618.  * Return the reply
  2619.  * @param c      The connection
  2620.  * @param cookie The cookie
  2621.  * @param e      The xcb_generic_error_t supplied
  2622.  *
  2623.  * Returns the reply of the request asked by
  2624.  * 
  2625.  * The parameter @p e supplied to this function must be NULL if
  2626.  * xcb_x_print_print_query_screens_unchecked(). is used.
  2627.  * Otherwise, it stores the error if any.
  2628.  */
  2629.  
  2630. /*****************************************************************************
  2631.  **
  2632.  ** xcb_x_print_print_query_screens_reply_t * xcb_x_print_print_query_screens_reply
  2633.  ** 
  2634.  ** @param xcb_connection_t                          *c
  2635.  ** @param xcb_x_print_print_query_screens_cookie_t   cookie
  2636.  ** @param xcb_generic_error_t                      **e
  2637.  ** @returns xcb_x_print_print_query_screens_reply_t *
  2638.  **
  2639.  *****************************************************************************/
  2640.  
  2641. xcb_x_print_print_query_screens_reply_t *
  2642. xcb_x_print_print_query_screens_reply (xcb_connection_t                          *c  /**< */,
  2643.                                        xcb_x_print_print_query_screens_cookie_t   cookie  /**< */,
  2644.                                        xcb_generic_error_t                      **e  /**< */);
  2645.  
  2646. /**
  2647.  * Delivers a request to the X server
  2648.  * @param c The connection
  2649.  * @return A cookie
  2650.  *
  2651.  * Delivers a request to the X server.
  2652.  * 
  2653.  */
  2654.  
  2655. /*****************************************************************************
  2656.  **
  2657.  ** xcb_x_print_print_set_image_resolution_cookie_t xcb_x_print_print_set_image_resolution
  2658.  ** 
  2659.  ** @param xcb_connection_t       *c
  2660.  ** @param xcb_x_print_pcontext_t  context
  2661.  ** @param uint16_t                image_resolution
  2662.  ** @returns xcb_x_print_print_set_image_resolution_cookie_t
  2663.  **
  2664.  *****************************************************************************/
  2665.  
  2666. xcb_x_print_print_set_image_resolution_cookie_t
  2667. xcb_x_print_print_set_image_resolution (xcb_connection_t       *c  /**< */,
  2668.                                         xcb_x_print_pcontext_t  context  /**< */,
  2669.                                         uint16_t                image_resolution  /**< */);
  2670.  
  2671. /**
  2672.  * Delivers a request to the X server
  2673.  * @param c The connection
  2674.  * @return A cookie
  2675.  *
  2676.  * Delivers a request to the X server.
  2677.  * 
  2678.  * This form can be used only if the request will cause
  2679.  * a reply to be generated. Any returned error will be
  2680.  * placed in the event queue.
  2681.  */
  2682.  
  2683. /*****************************************************************************
  2684.  **
  2685.  ** xcb_x_print_print_set_image_resolution_cookie_t xcb_x_print_print_set_image_resolution_unchecked
  2686.  ** 
  2687.  ** @param xcb_connection_t       *c
  2688.  ** @param xcb_x_print_pcontext_t  context
  2689.  ** @param uint16_t                image_resolution
  2690.  ** @returns xcb_x_print_print_set_image_resolution_cookie_t
  2691.  **
  2692.  *****************************************************************************/
  2693.  
  2694. xcb_x_print_print_set_image_resolution_cookie_t
  2695. xcb_x_print_print_set_image_resolution_unchecked (xcb_connection_t       *c  /**< */,
  2696.                                                   xcb_x_print_pcontext_t  context  /**< */,
  2697.                                                   uint16_t                image_resolution  /**< */);
  2698.  
  2699. /**
  2700.  * Return the reply
  2701.  * @param c      The connection
  2702.  * @param cookie The cookie
  2703.  * @param e      The xcb_generic_error_t supplied
  2704.  *
  2705.  * Returns the reply of the request asked by
  2706.  * 
  2707.  * The parameter @p e supplied to this function must be NULL if
  2708.  * xcb_x_print_print_set_image_resolution_unchecked(). is used.
  2709.  * Otherwise, it stores the error if any.
  2710.  */
  2711.  
  2712. /*****************************************************************************
  2713.  **
  2714.  ** xcb_x_print_print_set_image_resolution_reply_t * xcb_x_print_print_set_image_resolution_reply
  2715.  ** 
  2716.  ** @param xcb_connection_t                                 *c
  2717.  ** @param xcb_x_print_print_set_image_resolution_cookie_t   cookie
  2718.  ** @param xcb_generic_error_t                             **e
  2719.  ** @returns xcb_x_print_print_set_image_resolution_reply_t *
  2720.  **
  2721.  *****************************************************************************/
  2722.  
  2723. xcb_x_print_print_set_image_resolution_reply_t *
  2724. xcb_x_print_print_set_image_resolution_reply (xcb_connection_t                                 *c  /**< */,
  2725.                                               xcb_x_print_print_set_image_resolution_cookie_t   cookie  /**< */,
  2726.                                               xcb_generic_error_t                             **e  /**< */);
  2727.  
  2728. /**
  2729.  * Delivers a request to the X server
  2730.  * @param c The connection
  2731.  * @return A cookie
  2732.  *
  2733.  * Delivers a request to the X server.
  2734.  * 
  2735.  */
  2736.  
  2737. /*****************************************************************************
  2738.  **
  2739.  ** xcb_x_print_print_get_image_resolution_cookie_t xcb_x_print_print_get_image_resolution
  2740.  ** 
  2741.  ** @param xcb_connection_t       *c
  2742.  ** @param xcb_x_print_pcontext_t  context
  2743.  ** @returns xcb_x_print_print_get_image_resolution_cookie_t
  2744.  **
  2745.  *****************************************************************************/
  2746.  
  2747. xcb_x_print_print_get_image_resolution_cookie_t
  2748. xcb_x_print_print_get_image_resolution (xcb_connection_t       *c  /**< */,
  2749.                                         xcb_x_print_pcontext_t  context  /**< */);
  2750.  
  2751. /**
  2752.  * Delivers a request to the X server
  2753.  * @param c The connection
  2754.  * @return A cookie
  2755.  *
  2756.  * Delivers a request to the X server.
  2757.  * 
  2758.  * This form can be used only if the request will cause
  2759.  * a reply to be generated. Any returned error will be
  2760.  * placed in the event queue.
  2761.  */
  2762.  
  2763. /*****************************************************************************
  2764.  **
  2765.  ** xcb_x_print_print_get_image_resolution_cookie_t xcb_x_print_print_get_image_resolution_unchecked
  2766.  ** 
  2767.  ** @param xcb_connection_t       *c
  2768.  ** @param xcb_x_print_pcontext_t  context
  2769.  ** @returns xcb_x_print_print_get_image_resolution_cookie_t
  2770.  **
  2771.  *****************************************************************************/
  2772.  
  2773. xcb_x_print_print_get_image_resolution_cookie_t
  2774. xcb_x_print_print_get_image_resolution_unchecked (xcb_connection_t       *c  /**< */,
  2775.                                                   xcb_x_print_pcontext_t  context  /**< */);
  2776.  
  2777. /**
  2778.  * Return the reply
  2779.  * @param c      The connection
  2780.  * @param cookie The cookie
  2781.  * @param e      The xcb_generic_error_t supplied
  2782.  *
  2783.  * Returns the reply of the request asked by
  2784.  * 
  2785.  * The parameter @p e supplied to this function must be NULL if
  2786.  * xcb_x_print_print_get_image_resolution_unchecked(). is used.
  2787.  * Otherwise, it stores the error if any.
  2788.  */
  2789.  
  2790. /*****************************************************************************
  2791.  **
  2792.  ** xcb_x_print_print_get_image_resolution_reply_t * xcb_x_print_print_get_image_resolution_reply
  2793.  ** 
  2794.  ** @param xcb_connection_t                                 *c
  2795.  ** @param xcb_x_print_print_get_image_resolution_cookie_t   cookie
  2796.  ** @param xcb_generic_error_t                             **e
  2797.  ** @returns xcb_x_print_print_get_image_resolution_reply_t *
  2798.  **
  2799.  *****************************************************************************/
  2800.  
  2801. xcb_x_print_print_get_image_resolution_reply_t *
  2802. xcb_x_print_print_get_image_resolution_reply (xcb_connection_t                                 *c  /**< */,
  2803.                                               xcb_x_print_print_get_image_resolution_cookie_t   cookie  /**< */,
  2804.                                               xcb_generic_error_t                             **e  /**< */);
  2805.  
  2806.  
  2807. #endif
  2808.  
  2809. /**
  2810.  * @}
  2811.  */
  2812.