00001
00002
00003
00004
00005
00012 #ifndef __XPRINT_H
00013 #define __XPRINT_H
00014
00015 #include "xcb.h"
00016 #include "xproto.h"
00017
00018 #define XCB_XPRINT_MAJOR_VERSION 1
00019 #define XCB_XPRINT_MINOR_VERSION 0
00020
00021 extern xcb_extension_t xcb_x_print_id;
00022
00026 typedef struct xcb_x_print_printer_t {
00027 uint32_t nameLen;
00028 } xcb_x_print_printer_t;
00029
00033 typedef struct xcb_x_print_printer_iterator_t {
00034 xcb_x_print_printer_t *data;
00035 int rem;
00036 int index;
00037 } xcb_x_print_printer_iterator_t;
00038
00039 typedef uint32_t xcb_x_print_pcontext_t;
00040
00044 typedef struct xcb_x_print_pcontext_iterator_t {
00045 xcb_x_print_pcontext_t *data;
00046 int rem;
00047 int index;
00048 } xcb_x_print_pcontext_iterator_t;
00049
00050 typedef char xcb_x_print_string8_t;
00051
00055 typedef struct xcb_x_print_string8_iterator_t {
00056 xcb_x_print_string8_t *data;
00057 int rem;
00058 int index;
00059 } xcb_x_print_string8_iterator_t;
00060
00061 typedef enum xcb_x_print_get_doc_t {
00062 XCB_X_PRINT_GET_DOC_FINISHED = 0,
00063 XCB_X_PRINT_GET_DOC_SECOND_CONSUMER = 1
00064 } xcb_x_print_get_doc_t;
00065
00066 typedef enum xcb_x_print_ev_mask_t {
00067 XCB_X_PRINT_EV_MASK_NO_EVENT_MASK = 0,
00068 XCB_X_PRINT_EV_MASK_PRINT_MASK = (1 << 0),
00069 XCB_X_PRINT_EV_MASK_ATTRIBUTE_MASK = (1 << 1)
00070 } xcb_x_print_ev_mask_t;
00071
00072 typedef enum xcb_x_print_detail_t {
00073 XCB_X_PRINT_DETAIL_START_JOB_NOTIFY = 1,
00074 XCB_X_PRINT_DETAIL_END_JOB_NOTIFY = 2,
00075 XCB_X_PRINT_DETAIL_START_DOC_NOTIFY = 3,
00076 XCB_X_PRINT_DETAIL_END_DOC_NOTIFY = 4,
00077 XCB_X_PRINT_DETAIL_START_PAGE_NOTIFY = 5,
00078 XCB_X_PRINT_DETAIL_END_PAGE_NOTIFY = 6
00079 } xcb_x_print_detail_t;
00080
00081 typedef enum xcb_x_print_attr_t {
00082 XCB_X_PRINT_ATTR_JOB_ATTR = 1,
00083 XCB_X_PRINT_ATTR_DOC_ATTR = 2,
00084 XCB_X_PRINT_ATTR_PAGE_ATTR = 3,
00085 XCB_X_PRINT_ATTR_PRINTER_ATTR = 4,
00086 XCB_X_PRINT_ATTR_SERVER_ATTR = 5,
00087 XCB_X_PRINT_ATTR_MEDIUM_ATTR = 6,
00088 XCB_X_PRINT_ATTR_SPOOLER_ATTR = 7
00089 } xcb_x_print_attr_t;
00090
00094 typedef struct xcb_x_print_print_query_version_cookie_t {
00095 unsigned int sequence;
00096 } xcb_x_print_print_query_version_cookie_t;
00097
00099 #define XCB_X_PRINT_PRINT_QUERY_VERSION 0
00100
00104 typedef struct xcb_x_print_print_query_version_request_t {
00105 uint8_t major_opcode;
00106 uint8_t minor_opcode;
00107 uint16_t length;
00108 } xcb_x_print_print_query_version_request_t;
00109
00113 typedef struct xcb_x_print_print_query_version_reply_t {
00114 uint8_t response_type;
00115 uint8_t pad0;
00116 uint16_t sequence;
00117 uint32_t length;
00118 uint16_t major_version;
00119 uint16_t minor_version;
00120 } xcb_x_print_print_query_version_reply_t;
00121
00125 typedef struct xcb_x_print_print_get_printer_list_cookie_t {
00126 unsigned int sequence;
00127 } xcb_x_print_print_get_printer_list_cookie_t;
00128
00130 #define XCB_X_PRINT_PRINT_GET_PRINTER_LIST 1
00131
00135 typedef struct xcb_x_print_print_get_printer_list_request_t {
00136 uint8_t major_opcode;
00137 uint8_t minor_opcode;
00138 uint16_t length;
00139 uint32_t printerNameLen;
00140 uint32_t localeLen;
00141 } xcb_x_print_print_get_printer_list_request_t;
00142
00146 typedef struct xcb_x_print_print_get_printer_list_reply_t {
00147 uint8_t response_type;
00148 uint8_t pad0;
00149 uint16_t sequence;
00150 uint32_t length;
00151 uint32_t listCount;
00152 uint8_t pad1[20];
00153 } xcb_x_print_print_get_printer_list_reply_t;
00154
00156 #define XCB_X_PRINT_PRINT_REHASH_PRINTER_LIST 20
00157
00161 typedef struct xcb_x_print_print_rehash_printer_list_request_t {
00162 uint8_t major_opcode;
00163 uint8_t minor_opcode;
00164 uint16_t length;
00165 } xcb_x_print_print_rehash_printer_list_request_t;
00166
00168 #define XCB_X_PRINT_CREATE_CONTEXT 2
00169
00173 typedef struct xcb_x_print_create_context_request_t {
00174 uint8_t major_opcode;
00175 uint8_t minor_opcode;
00176 uint16_t length;
00177 uint32_t context_id;
00178 uint32_t printerNameLen;
00179 uint32_t localeLen;
00180 } xcb_x_print_create_context_request_t;
00181
00183 #define XCB_X_PRINT_PRINT_SET_CONTEXT 3
00184
00188 typedef struct xcb_x_print_print_set_context_request_t {
00189 uint8_t major_opcode;
00190 uint8_t minor_opcode;
00191 uint16_t length;
00192 uint32_t context;
00193 } xcb_x_print_print_set_context_request_t;
00194
00198 typedef struct xcb_x_print_print_get_context_cookie_t {
00199 unsigned int sequence;
00200 } xcb_x_print_print_get_context_cookie_t;
00201
00203 #define XCB_X_PRINT_PRINT_GET_CONTEXT 4
00204
00208 typedef struct xcb_x_print_print_get_context_request_t {
00209 uint8_t major_opcode;
00210 uint8_t minor_opcode;
00211 uint16_t length;
00212 } xcb_x_print_print_get_context_request_t;
00213
00217 typedef struct xcb_x_print_print_get_context_reply_t {
00218 uint8_t response_type;
00219 uint8_t pad0;
00220 uint16_t sequence;
00221 uint32_t length;
00222 uint32_t context;
00223 } xcb_x_print_print_get_context_reply_t;
00224
00226 #define XCB_X_PRINT_PRINT_DESTROY_CONTEXT 5
00227
00231 typedef struct xcb_x_print_print_destroy_context_request_t {
00232 uint8_t major_opcode;
00233 uint8_t minor_opcode;
00234 uint16_t length;
00235 uint32_t context;
00236 } xcb_x_print_print_destroy_context_request_t;
00237
00241 typedef struct xcb_x_print_print_get_screen_of_context_cookie_t {
00242 unsigned int sequence;
00243 } xcb_x_print_print_get_screen_of_context_cookie_t;
00244
00246 #define XCB_X_PRINT_PRINT_GET_SCREEN_OF_CONTEXT 6
00247
00251 typedef struct xcb_x_print_print_get_screen_of_context_request_t {
00252 uint8_t major_opcode;
00253 uint8_t minor_opcode;
00254 uint16_t length;
00255 } xcb_x_print_print_get_screen_of_context_request_t;
00256
00260 typedef struct xcb_x_print_print_get_screen_of_context_reply_t {
00261 uint8_t response_type;
00262 uint8_t pad0;
00263 uint16_t sequence;
00264 uint32_t length;
00265 xcb_window_t root;
00266 } xcb_x_print_print_get_screen_of_context_reply_t;
00267
00269 #define XCB_X_PRINT_PRINT_START_JOB 7
00270
00274 typedef struct xcb_x_print_print_start_job_request_t {
00275 uint8_t major_opcode;
00276 uint8_t minor_opcode;
00277 uint16_t length;
00278 uint8_t output_mode;
00279 } xcb_x_print_print_start_job_request_t;
00280
00282 #define XCB_X_PRINT_PRINT_END_JOB 8
00283
00287 typedef struct xcb_x_print_print_end_job_request_t {
00288 uint8_t major_opcode;
00289 uint8_t minor_opcode;
00290 uint16_t length;
00291 uint8_t cancel;
00292 } xcb_x_print_print_end_job_request_t;
00293
00295 #define XCB_X_PRINT_PRINT_START_DOC 9
00296
00300 typedef struct xcb_x_print_print_start_doc_request_t {
00301 uint8_t major_opcode;
00302 uint8_t minor_opcode;
00303 uint16_t length;
00304 uint8_t driver_mode;
00305 } xcb_x_print_print_start_doc_request_t;
00306
00308 #define XCB_X_PRINT_PRINT_END_DOC 10
00309
00313 typedef struct xcb_x_print_print_end_doc_request_t {
00314 uint8_t major_opcode;
00315 uint8_t minor_opcode;
00316 uint16_t length;
00317 uint8_t cancel;
00318 } xcb_x_print_print_end_doc_request_t;
00319
00321 #define XCB_X_PRINT_PRINT_PUT_DOCUMENT_DATA 11
00322
00326 typedef struct xcb_x_print_print_put_document_data_request_t {
00327 uint8_t major_opcode;
00328 uint8_t minor_opcode;
00329 uint16_t length;
00330 xcb_drawable_t drawable;
00331 uint32_t len_data;
00332 uint16_t len_fmt;
00333 uint16_t len_options;
00334 } xcb_x_print_print_put_document_data_request_t;
00335
00339 typedef struct xcb_x_print_print_get_document_data_cookie_t {
00340 unsigned int sequence;
00341 } xcb_x_print_print_get_document_data_cookie_t;
00342
00344 #define XCB_X_PRINT_PRINT_GET_DOCUMENT_DATA 12
00345
00349 typedef struct xcb_x_print_print_get_document_data_request_t {
00350 uint8_t major_opcode;
00351 uint8_t minor_opcode;
00352 uint16_t length;
00353 xcb_x_print_pcontext_t context;
00354 uint32_t max_bytes;
00355 } xcb_x_print_print_get_document_data_request_t;
00356
00360 typedef struct xcb_x_print_print_get_document_data_reply_t {
00361 uint8_t response_type;
00362 uint8_t pad0;
00363 uint16_t sequence;
00364 uint32_t length;
00365 uint32_t status_code;
00366 uint32_t finished_flag;
00367 uint32_t dataLen;
00368 uint8_t pad1[12];
00369 } xcb_x_print_print_get_document_data_reply_t;
00370
00372 #define XCB_X_PRINT_PRINT_START_PAGE 13
00373
00377 typedef struct xcb_x_print_print_start_page_request_t {
00378 uint8_t major_opcode;
00379 uint8_t minor_opcode;
00380 uint16_t length;
00381 xcb_window_t window;
00382 } xcb_x_print_print_start_page_request_t;
00383
00385 #define XCB_X_PRINT_PRINT_END_PAGE 14
00386
00390 typedef struct xcb_x_print_print_end_page_request_t {
00391 uint8_t major_opcode;
00392 uint8_t minor_opcode;
00393 uint16_t length;
00394 uint8_t cancel;
00395 uint8_t pad0[3];
00396 } xcb_x_print_print_end_page_request_t;
00397
00399 #define XCB_X_PRINT_PRINT_SELECT_INPUT 15
00400
00404 typedef struct xcb_x_print_print_select_input_request_t {
00405 uint8_t major_opcode;
00406 uint8_t minor_opcode;
00407 uint16_t length;
00408 xcb_x_print_pcontext_t context;
00409 uint32_t event_mask;
00410 } xcb_x_print_print_select_input_request_t;
00411
00415 typedef struct xcb_x_print_print_input_selected_cookie_t {
00416 unsigned int sequence;
00417 } xcb_x_print_print_input_selected_cookie_t;
00418
00420 #define XCB_X_PRINT_PRINT_INPUT_SELECTED 16
00421
00425 typedef struct xcb_x_print_print_input_selected_request_t {
00426 uint8_t major_opcode;
00427 uint8_t minor_opcode;
00428 uint16_t length;
00429 xcb_x_print_pcontext_t context;
00430 } xcb_x_print_print_input_selected_request_t;
00431
00435 typedef struct xcb_x_print_print_input_selected_reply_t {
00436 uint8_t response_type;
00437 uint8_t pad0;
00438 uint16_t sequence;
00439 uint32_t length;
00440 uint32_t event_mask;
00441 } xcb_x_print_print_input_selected_reply_t;
00442
00446 typedef struct xcb_x_print_print_get_attributes_cookie_t {
00447 unsigned int sequence;
00448 } xcb_x_print_print_get_attributes_cookie_t;
00449
00451 #define XCB_X_PRINT_PRINT_GET_ATTRIBUTES 17
00452
00456 typedef struct xcb_x_print_print_get_attributes_request_t {
00457 uint8_t major_opcode;
00458 uint8_t minor_opcode;
00459 uint16_t length;
00460 xcb_x_print_pcontext_t context;
00461 uint8_t pool;
00462 uint8_t pad0[3];
00463 } xcb_x_print_print_get_attributes_request_t;
00464
00468 typedef struct xcb_x_print_print_get_attributes_reply_t {
00469 uint8_t response_type;
00470 uint8_t pad0;
00471 uint16_t sequence;
00472 uint32_t length;
00473 uint32_t stringLen;
00474 uint8_t pad1[20];
00475 xcb_x_print_string8_t attributes;
00476 } xcb_x_print_print_get_attributes_reply_t;
00477
00481 typedef struct xcb_x_print_print_get_one_attributes_cookie_t {
00482 unsigned int sequence;
00483 } xcb_x_print_print_get_one_attributes_cookie_t;
00484
00486 #define XCB_X_PRINT_PRINT_GET_ONE_ATTRIBUTES 19
00487
00491 typedef struct xcb_x_print_print_get_one_attributes_request_t {
00492 uint8_t major_opcode;
00493 uint8_t minor_opcode;
00494 uint16_t length;
00495 xcb_x_print_pcontext_t context;
00496 uint32_t nameLen;
00497 uint8_t pool;
00498 uint8_t pad0[3];
00499 } xcb_x_print_print_get_one_attributes_request_t;
00500
00504 typedef struct xcb_x_print_print_get_one_attributes_reply_t {
00505 uint8_t response_type;
00506 uint8_t pad0;
00507 uint16_t sequence;
00508 uint32_t length;
00509 uint32_t valueLen;
00510 uint8_t pad1[20];
00511 } xcb_x_print_print_get_one_attributes_reply_t;
00512
00514 #define XCB_X_PRINT_PRINT_SET_ATTRIBUTES 18
00515
00519 typedef struct xcb_x_print_print_set_attributes_request_t {
00520 uint8_t major_opcode;
00521 uint8_t minor_opcode;
00522 uint16_t length;
00523 xcb_x_print_pcontext_t context;
00524 uint32_t stringLen;
00525 uint8_t pool;
00526 uint8_t rule;
00527 uint8_t pad0[2];
00528 } xcb_x_print_print_set_attributes_request_t;
00529
00533 typedef struct xcb_x_print_print_get_page_dimensions_cookie_t {
00534 unsigned int sequence;
00535 } xcb_x_print_print_get_page_dimensions_cookie_t;
00536
00538 #define XCB_X_PRINT_PRINT_GET_PAGE_DIMENSIONS 21
00539
00543 typedef struct xcb_x_print_print_get_page_dimensions_request_t {
00544 uint8_t major_opcode;
00545 uint8_t minor_opcode;
00546 uint16_t length;
00547 xcb_x_print_pcontext_t context;
00548 } xcb_x_print_print_get_page_dimensions_request_t;
00549
00553 typedef struct xcb_x_print_print_get_page_dimensions_reply_t {
00554 uint8_t response_type;
00555 uint8_t pad0;
00556 uint16_t sequence;
00557 uint32_t length;
00558 uint16_t width;
00559 uint16_t height;
00560 uint16_t offset_x;
00561 uint16_t offset_y;
00562 uint16_t reproducible_width;
00563 uint16_t reproducible_height;
00564 } xcb_x_print_print_get_page_dimensions_reply_t;
00565
00569 typedef struct xcb_x_print_print_query_screens_cookie_t {
00570 unsigned int sequence;
00571 } xcb_x_print_print_query_screens_cookie_t;
00572
00574 #define XCB_X_PRINT_PRINT_QUERY_SCREENS 22
00575
00579 typedef struct xcb_x_print_print_query_screens_request_t {
00580 uint8_t major_opcode;
00581 uint8_t minor_opcode;
00582 uint16_t length;
00583 } xcb_x_print_print_query_screens_request_t;
00584
00588 typedef struct xcb_x_print_print_query_screens_reply_t {
00589 uint8_t response_type;
00590 uint8_t pad0;
00591 uint16_t sequence;
00592 uint32_t length;
00593 uint32_t listCount;
00594 uint8_t pad1[20];
00595 } xcb_x_print_print_query_screens_reply_t;
00596
00600 typedef struct xcb_x_print_print_set_image_resolution_cookie_t {
00601 unsigned int sequence;
00602 } xcb_x_print_print_set_image_resolution_cookie_t;
00603
00605 #define XCB_X_PRINT_PRINT_SET_IMAGE_RESOLUTION 23
00606
00610 typedef struct xcb_x_print_print_set_image_resolution_request_t {
00611 uint8_t major_opcode;
00612 uint8_t minor_opcode;
00613 uint16_t length;
00614 xcb_x_print_pcontext_t context;
00615 uint16_t image_resolution;
00616 } xcb_x_print_print_set_image_resolution_request_t;
00617
00621 typedef struct xcb_x_print_print_set_image_resolution_reply_t {
00622 uint8_t response_type;
00623 uint8_t status;
00624 uint16_t sequence;
00625 uint32_t length;
00626 uint16_t previous_resolutions;
00627 } xcb_x_print_print_set_image_resolution_reply_t;
00628
00632 typedef struct xcb_x_print_print_get_image_resolution_cookie_t {
00633 unsigned int sequence;
00634 } xcb_x_print_print_get_image_resolution_cookie_t;
00635
00637 #define XCB_X_PRINT_PRINT_GET_IMAGE_RESOLUTION 24
00638
00642 typedef struct xcb_x_print_print_get_image_resolution_request_t {
00643 uint8_t major_opcode;
00644 uint8_t minor_opcode;
00645 uint16_t length;
00646 xcb_x_print_pcontext_t context;
00647 } xcb_x_print_print_get_image_resolution_request_t;
00648
00652 typedef struct xcb_x_print_print_get_image_resolution_reply_t {
00653 uint8_t response_type;
00654 uint8_t pad0;
00655 uint16_t sequence;
00656 uint32_t length;
00657 uint16_t image_resolution;
00658 } xcb_x_print_print_get_image_resolution_reply_t;
00659
00661 #define XCB_X_PRINT_NOTIFY 0
00662
00666 typedef struct xcb_x_print_notify_event_t {
00667 uint8_t response_type;
00668 uint8_t detail;
00669 uint16_t sequence;
00670 xcb_x_print_pcontext_t context;
00671 uint8_t cancel;
00672 } xcb_x_print_notify_event_t;
00673
00675 #define XCB_X_PRINT_ATTRIBUT_NOTIFY 1
00676
00680 typedef struct xcb_x_print_attribut_notify_event_t {
00681 uint8_t response_type;
00682 uint8_t detail;
00683 uint16_t sequence;
00684 xcb_x_print_pcontext_t context;
00685 } xcb_x_print_attribut_notify_event_t;
00686
00688 #define XCB_X_PRINT_BAD_CONTEXT 0
00689
00693 typedef struct xcb_x_print_bad_context_error_t {
00694 uint8_t response_type;
00695 uint8_t error_code;
00696 uint16_t sequence;
00697 } xcb_x_print_bad_context_error_t;
00698
00700 #define XCB_X_PRINT_BAD_SEQUENCE 1
00701
00705 typedef struct xcb_x_print_bad_sequence_error_t {
00706 uint8_t response_type;
00707 uint8_t error_code;
00708 uint16_t sequence;
00709 } xcb_x_print_bad_sequence_error_t;
00710
00711
00712
00713
00714
00715
00716
00717
00718
00719
00720
00721 xcb_x_print_string8_t *
00722 xcb_x_print_printer_name (const xcb_x_print_printer_t *R );
00723
00724
00725
00726
00727
00728
00729
00730
00731
00732
00733
00734 int
00735 xcb_x_print_printer_name_length (const xcb_x_print_printer_t *R );
00736
00737
00738
00739
00740
00741
00742
00743
00744
00745
00746
00747 xcb_x_print_string8_iterator_t
00748 xcb_x_print_printer_name_iterator (const xcb_x_print_printer_t *R );
00749
00750
00751
00752
00753
00754
00755
00756
00757
00758
00759
00760 uint32_t
00761 xcb_x_print_printer_desc_len (const xcb_x_print_printer_t *R );
00762
00763
00764
00765
00766
00767
00768
00769
00770
00771
00772
00773 xcb_x_print_string8_t *
00774 xcb_x_print_printer_description (const xcb_x_print_printer_t *R );
00775
00776
00777
00778
00779
00780
00781
00782
00783
00784
00785
00786 int
00787 xcb_x_print_printer_description_length (const xcb_x_print_printer_t *R );
00788
00789
00790
00791
00792
00793
00794
00795
00796
00797
00798
00799 xcb_x_print_string8_iterator_t
00800 xcb_x_print_printer_description_iterator (const xcb_x_print_printer_t *R );
00801
00811
00812
00813
00814
00815
00816
00817
00818
00819
00820 void
00821 xcb_x_print_printer_next (xcb_x_print_printer_iterator_t *i );
00822
00833
00834
00835
00836
00837
00838
00839
00840
00841
00842 xcb_generic_iterator_t
00843 xcb_x_print_printer_end (xcb_x_print_printer_iterator_t i );
00844
00854
00855
00856
00857
00858
00859
00860
00861
00862
00863 void
00864 xcb_x_print_pcontext_next (xcb_x_print_pcontext_iterator_t *i );
00865
00876
00877
00878
00879
00880
00881
00882
00883
00884
00885 xcb_generic_iterator_t
00886 xcb_x_print_pcontext_end (xcb_x_print_pcontext_iterator_t i );
00887
00897
00898
00899
00900
00901
00902
00903
00904
00905
00906 void
00907 xcb_x_print_string8_next (xcb_x_print_string8_iterator_t *i );
00908
00919
00920
00921
00922
00923
00924
00925
00926
00927
00928 xcb_generic_iterator_t
00929 xcb_x_print_string8_end (xcb_x_print_string8_iterator_t i );
00930
00940
00941
00942
00943
00944
00945
00946
00947
00948
00949 xcb_x_print_print_query_version_cookie_t
00950 xcb_x_print_print_query_version (xcb_connection_t *c );
00951
00964
00965
00966
00967
00968
00969
00970
00971
00972
00973 xcb_x_print_print_query_version_cookie_t
00974 xcb_x_print_print_query_version_unchecked (xcb_connection_t *c );
00975
00991
00992
00993
00994
00995
00996
00997
00998
00999
01000
01001
01002 xcb_x_print_print_query_version_reply_t *
01003 xcb_x_print_print_query_version_reply (xcb_connection_t *c ,
01004 xcb_x_print_print_query_version_cookie_t cookie ,
01005 xcb_generic_error_t **e );
01006
01016
01017
01018
01019
01020
01021
01022
01023
01024
01025
01026
01027
01028
01029 xcb_x_print_print_get_printer_list_cookie_t
01030 xcb_x_print_print_get_printer_list (xcb_connection_t *c ,
01031 uint32_t printerNameLen ,
01032 uint32_t localeLen ,
01033 const xcb_x_print_string8_t *printer_name ,
01034 const xcb_x_print_string8_t *locale );
01035
01048
01049
01050
01051
01052
01053
01054
01055
01056
01057
01058
01059
01060
01061 xcb_x_print_print_get_printer_list_cookie_t
01062 xcb_x_print_print_get_printer_list_unchecked (xcb_connection_t *c ,
01063 uint32_t printerNameLen ,
01064 uint32_t localeLen ,
01065 const xcb_x_print_string8_t *printer_name ,
01066 const xcb_x_print_string8_t *locale );
01067
01068
01069
01070
01071
01072
01073
01074
01075
01076
01077
01078 int
01079 xcb_x_print_print_get_printer_list_printers_length (const xcb_x_print_print_get_printer_list_reply_t *R );
01080
01081
01082
01083
01084
01085
01086
01087
01088
01089
01090
01091 xcb_x_print_printer_iterator_t
01092 xcb_x_print_print_get_printer_list_printers_iterator (const xcb_x_print_print_get_printer_list_reply_t *R );
01093
01109
01110
01111
01112
01113
01114
01115
01116
01117
01118
01119
01120 xcb_x_print_print_get_printer_list_reply_t *
01121 xcb_x_print_print_get_printer_list_reply (xcb_connection_t *c ,
01122 xcb_x_print_print_get_printer_list_cookie_t cookie ,
01123 xcb_generic_error_t **e );
01124
01137
01138
01139
01140
01141
01142
01143
01144
01145
01146 xcb_void_cookie_t
01147 xcb_x_print_print_rehash_printer_list_checked (xcb_connection_t *c );
01148
01158
01159
01160
01161
01162
01163
01164
01165
01166
01167 xcb_void_cookie_t
01168 xcb_x_print_print_rehash_printer_list (xcb_connection_t *c );
01169
01182
01183
01184
01185
01186
01187
01188
01189
01190
01191
01192
01193
01194
01195
01196 xcb_void_cookie_t
01197 xcb_x_print_create_context_checked (xcb_connection_t *c ,
01198 uint32_t context_id ,
01199 uint32_t printerNameLen ,
01200 uint32_t localeLen ,
01201 const xcb_x_print_string8_t *printerName ,
01202 const xcb_x_print_string8_t *locale );
01203
01213
01214
01215
01216
01217
01218
01219
01220
01221
01222
01223
01224
01225
01226
01227 xcb_void_cookie_t
01228 xcb_x_print_create_context (xcb_connection_t *c ,
01229 uint32_t context_id ,
01230 uint32_t printerNameLen ,
01231 uint32_t localeLen ,
01232 const xcb_x_print_string8_t *printerName ,
01233 const xcb_x_print_string8_t *locale );
01234
01247
01248
01249
01250
01251
01252
01253
01254
01255
01256
01257 xcb_void_cookie_t
01258 xcb_x_print_print_set_context_checked (xcb_connection_t *c ,
01259 uint32_t context );
01260
01270
01271
01272
01273
01274
01275
01276
01277
01278
01279
01280 xcb_void_cookie_t
01281 xcb_x_print_print_set_context (xcb_connection_t *c ,
01282 uint32_t context );
01283
01293
01294
01295
01296
01297
01298
01299
01300
01301
01302 xcb_x_print_print_get_context_cookie_t
01303 xcb_x_print_print_get_context (xcb_connection_t *c );
01304
01317
01318
01319
01320
01321
01322
01323
01324
01325
01326 xcb_x_print_print_get_context_cookie_t
01327 xcb_x_print_print_get_context_unchecked (xcb_connection_t *c );
01328
01344
01345
01346
01347
01348
01349
01350
01351
01352
01353
01354
01355 xcb_x_print_print_get_context_reply_t *
01356 xcb_x_print_print_get_context_reply (xcb_connection_t *c ,
01357 xcb_x_print_print_get_context_cookie_t cookie ,
01358 xcb_generic_error_t **e );
01359
01372
01373
01374
01375
01376
01377
01378
01379
01380
01381
01382 xcb_void_cookie_t
01383 xcb_x_print_print_destroy_context_checked (xcb_connection_t *c ,
01384 uint32_t context );
01385
01395
01396
01397
01398
01399
01400
01401
01402
01403
01404
01405 xcb_void_cookie_t
01406 xcb_x_print_print_destroy_context (xcb_connection_t *c ,
01407 uint32_t context );
01408
01418
01419
01420
01421
01422
01423
01424
01425
01426
01427 xcb_x_print_print_get_screen_of_context_cookie_t
01428 xcb_x_print_print_get_screen_of_context (xcb_connection_t *c );
01429
01442
01443
01444
01445
01446
01447
01448
01449
01450
01451 xcb_x_print_print_get_screen_of_context_cookie_t
01452 xcb_x_print_print_get_screen_of_context_unchecked (xcb_connection_t *c );
01453
01469
01470
01471
01472
01473
01474
01475
01476
01477
01478
01479
01480 xcb_x_print_print_get_screen_of_context_reply_t *
01481 xcb_x_print_print_get_screen_of_context_reply (xcb_connection_t *c ,
01482 xcb_x_print_print_get_screen_of_context_cookie_t cookie ,
01483 xcb_generic_error_t **e );
01484
01497
01498
01499
01500
01501
01502
01503
01504
01505
01506
01507 xcb_void_cookie_t
01508 xcb_x_print_print_start_job_checked (xcb_connection_t *c ,
01509 uint8_t output_mode );
01510
01520
01521
01522
01523
01524
01525
01526
01527
01528
01529
01530 xcb_void_cookie_t
01531 xcb_x_print_print_start_job (xcb_connection_t *c ,
01532 uint8_t output_mode );
01533
01546
01547
01548
01549
01550
01551
01552
01553
01554
01555
01556 xcb_void_cookie_t
01557 xcb_x_print_print_end_job_checked (xcb_connection_t *c ,
01558 uint8_t cancel );
01559
01569
01570
01571
01572
01573
01574
01575
01576
01577
01578
01579 xcb_void_cookie_t
01580 xcb_x_print_print_end_job (xcb_connection_t *c ,
01581 uint8_t cancel );
01582
01595
01596
01597
01598
01599
01600
01601
01602
01603
01604
01605 xcb_void_cookie_t
01606 xcb_x_print_print_start_doc_checked (xcb_connection_t *c ,
01607 uint8_t driver_mode );
01608
01618
01619
01620
01621
01622
01623
01624
01625
01626
01627
01628 xcb_void_cookie_t
01629 xcb_x_print_print_start_doc (xcb_connection_t *c ,
01630 uint8_t driver_mode );
01631
01644
01645
01646
01647
01648
01649
01650
01651
01652
01653
01654 xcb_void_cookie_t
01655 xcb_x_print_print_end_doc_checked (xcb_connection_t *c ,
01656 uint8_t cancel );
01657
01667
01668
01669
01670
01671
01672
01673
01674
01675
01676
01677 xcb_void_cookie_t
01678 xcb_x_print_print_end_doc (xcb_connection_t *c ,
01679 uint8_t cancel );
01680
01693
01694
01695
01696
01697
01698
01699
01700
01701
01702
01703
01704
01705
01706
01707
01708
01709
01710
01711 xcb_void_cookie_t
01712 xcb_x_print_print_put_document_data_checked (xcb_connection_t *c ,
01713 xcb_drawable_t drawable ,
01714 uint32_t len_data ,
01715 uint16_t len_fmt ,
01716 uint16_t len_options ,
01717 const uint8_t *data ,
01718 uint32_t doc_format_len ,
01719 const xcb_x_print_string8_t *doc_format ,
01720 uint32_t options_len ,
01721 const xcb_x_print_string8_t *options );
01722
01732
01733
01734
01735
01736
01737
01738
01739
01740
01741
01742
01743
01744
01745
01746
01747
01748
01749
01750 xcb_void_cookie_t
01751 xcb_x_print_print_put_document_data (xcb_connection_t *c ,
01752 xcb_drawable_t drawable ,
01753 uint32_t len_data ,
01754 uint16_t len_fmt ,
01755 uint16_t len_options ,
01756 const uint8_t *data ,
01757 uint32_t doc_format_len ,
01758 const xcb_x_print_string8_t *doc_format ,
01759 uint32_t options_len ,
01760 const xcb_x_print_string8_t *options );
01761
01771
01772
01773
01774
01775
01776
01777
01778
01779
01780
01781
01782 xcb_x_print_print_get_document_data_cookie_t
01783 xcb_x_print_print_get_document_data (xcb_connection_t *c ,
01784 xcb_x_print_pcontext_t context ,
01785 uint32_t max_bytes );
01786
01799
01800
01801
01802
01803
01804
01805
01806
01807
01808
01809
01810 xcb_x_print_print_get_document_data_cookie_t
01811 xcb_x_print_print_get_document_data_unchecked (xcb_connection_t *c ,
01812 xcb_x_print_pcontext_t context ,
01813 uint32_t max_bytes );
01814
01815
01816
01817
01818
01819
01820
01821
01822
01823
01824
01825 uint8_t *
01826 xcb_x_print_print_get_document_data_data (const xcb_x_print_print_get_document_data_reply_t *R );
01827
01828
01829
01830
01831
01832
01833
01834
01835
01836
01837
01838 int
01839 xcb_x_print_print_get_document_data_data_length (const xcb_x_print_print_get_document_data_reply_t *R );
01840
01841
01842
01843
01844
01845
01846
01847
01848
01849
01850
01851 xcb_generic_iterator_t
01852 xcb_x_print_print_get_document_data_data_end (const xcb_x_print_print_get_document_data_reply_t *R );
01853
01869
01870
01871
01872
01873
01874
01875
01876
01877
01878
01879
01880 xcb_x_print_print_get_document_data_reply_t *
01881 xcb_x_print_print_get_document_data_reply (xcb_connection_t *c ,
01882 xcb_x_print_print_get_document_data_cookie_t cookie ,
01883 xcb_generic_error_t **e );
01884
01897
01898
01899
01900
01901
01902
01903
01904
01905
01906
01907 xcb_void_cookie_t
01908 xcb_x_print_print_start_page_checked (xcb_connection_t *c ,
01909 xcb_window_t window );
01910
01920
01921
01922
01923
01924
01925
01926
01927
01928
01929
01930 xcb_void_cookie_t
01931 xcb_x_print_print_start_page (xcb_connection_t *c ,
01932 xcb_window_t window );
01933
01946
01947
01948
01949
01950
01951
01952
01953
01954
01955
01956 xcb_void_cookie_t
01957 xcb_x_print_print_end_page_checked (xcb_connection_t *c ,
01958 uint8_t cancel );
01959
01969
01970
01971
01972
01973
01974
01975
01976
01977
01978
01979 xcb_void_cookie_t
01980 xcb_x_print_print_end_page (xcb_connection_t *c ,
01981 uint8_t cancel );
01982
01995
01996
01997
01998
01999
02000
02001
02002
02003
02004
02005
02006
02007 xcb_void_cookie_t
02008 xcb_x_print_print_select_input_checked (xcb_connection_t *c ,
02009 xcb_x_print_pcontext_t context ,
02010 uint32_t event_mask ,
02011 const uint32_t *event_list );
02012
02022
02023
02024
02025
02026
02027
02028
02029
02030
02031
02032
02033
02034 xcb_void_cookie_t
02035 xcb_x_print_print_select_input (xcb_connection_t *c ,
02036 xcb_x_print_pcontext_t context ,
02037 uint32_t event_mask ,
02038 const uint32_t *event_list );
02039
02049
02050
02051
02052
02053
02054
02055
02056
02057
02058
02059 xcb_x_print_print_input_selected_cookie_t
02060 xcb_x_print_print_input_selected (xcb_connection_t *c ,
02061 xcb_x_print_pcontext_t context );
02062
02075
02076
02077
02078
02079
02080
02081
02082
02083
02084
02085 xcb_x_print_print_input_selected_cookie_t
02086 xcb_x_print_print_input_selected_unchecked (xcb_connection_t *c ,
02087 xcb_x_print_pcontext_t context );
02088
02089
02090
02091
02092
02093
02094
02095
02096
02097
02098
02099 uint32_t *
02100 xcb_x_print_print_input_selected_event_list (const xcb_x_print_print_input_selected_reply_t *R );
02101
02102
02103
02104
02105
02106
02107
02108
02109
02110
02111
02112 int
02113 xcb_x_print_print_input_selected_event_list_length (const xcb_x_print_print_input_selected_reply_t *R );
02114
02115
02116
02117
02118
02119
02120
02121
02122
02123
02124
02125 xcb_generic_iterator_t
02126 xcb_x_print_print_input_selected_event_list_end (const xcb_x_print_print_input_selected_reply_t *R );
02127
02128
02129
02130
02131
02132
02133
02134
02135
02136
02137
02138 uint32_t
02139 xcb_x_print_print_input_selected_all_events_mask (const xcb_x_print_print_input_selected_reply_t *R );
02140
02141
02142
02143
02144
02145
02146
02147
02148
02149
02150
02151 uint32_t *
02152 xcb_x_print_print_input_selected_all_events_list (const xcb_x_print_print_input_selected_reply_t *R );
02153
02154
02155
02156
02157
02158
02159
02160
02161
02162
02163
02164 int
02165 xcb_x_print_print_input_selected_all_events_list_length (const xcb_x_print_print_input_selected_reply_t *R );
02166
02167
02168
02169
02170
02171
02172
02173
02174
02175
02176
02177 xcb_generic_iterator_t
02178 xcb_x_print_print_input_selected_all_events_list_end (const xcb_x_print_print_input_selected_reply_t *R );
02179
02195
02196
02197
02198
02199
02200
02201
02202
02203
02204
02205
02206 xcb_x_print_print_input_selected_reply_t *
02207 xcb_x_print_print_input_selected_reply (xcb_connection_t *c ,
02208 xcb_x_print_print_input_selected_cookie_t cookie ,
02209 xcb_generic_error_t **e );
02210
02220
02221
02222
02223
02224
02225
02226
02227
02228
02229
02230
02231 xcb_x_print_print_get_attributes_cookie_t
02232 xcb_x_print_print_get_attributes (xcb_connection_t *c ,
02233 xcb_x_print_pcontext_t context ,
02234 uint8_t pool );
02235
02248
02249
02250
02251
02252
02253
02254
02255
02256
02257
02258
02259 xcb_x_print_print_get_attributes_cookie_t
02260 xcb_x_print_print_get_attributes_unchecked (xcb_connection_t *c ,
02261 xcb_x_print_pcontext_t context ,
02262 uint8_t pool );
02263
02279
02280
02281
02282
02283
02284
02285
02286
02287
02288
02289
02290 xcb_x_print_print_get_attributes_reply_t *
02291 xcb_x_print_print_get_attributes_reply (xcb_connection_t *c ,
02292 xcb_x_print_print_get_attributes_cookie_t cookie ,
02293 xcb_generic_error_t **e );
02294
02304
02305
02306
02307
02308
02309
02310
02311
02312
02313
02314
02315
02316
02317 xcb_x_print_print_get_one_attributes_cookie_t
02318 xcb_x_print_print_get_one_attributes (xcb_connection_t *c ,
02319 xcb_x_print_pcontext_t context ,
02320 uint32_t nameLen ,
02321 uint8_t pool ,
02322 const xcb_x_print_string8_t *name );
02323
02336
02337
02338
02339
02340
02341
02342
02343
02344
02345
02346
02347
02348
02349 xcb_x_print_print_get_one_attributes_cookie_t
02350 xcb_x_print_print_get_one_attributes_unchecked (xcb_connection_t *c ,
02351 xcb_x_print_pcontext_t context ,
02352 uint32_t nameLen ,
02353 uint8_t pool ,
02354 const xcb_x_print_string8_t *name );
02355
02356
02357
02358
02359
02360
02361
02362
02363
02364
02365
02366 xcb_x_print_string8_t *
02367 xcb_x_print_print_get_one_attributes_value (const xcb_x_print_print_get_one_attributes_reply_t *R );
02368
02369
02370
02371
02372
02373
02374
02375
02376
02377
02378
02379 int
02380 xcb_x_print_print_get_one_attributes_value_length (const xcb_x_print_print_get_one_attributes_reply_t *R );
02381
02382
02383
02384
02385
02386
02387
02388
02389
02390
02391
02392 xcb_x_print_string8_iterator_t
02393 xcb_x_print_print_get_one_attributes_value_iterator (const xcb_x_print_print_get_one_attributes_reply_t *R );
02394
02410
02411
02412
02413
02414
02415
02416
02417
02418
02419
02420
02421 xcb_x_print_print_get_one_attributes_reply_t *
02422 xcb_x_print_print_get_one_attributes_reply (xcb_connection_t *c ,
02423 xcb_x_print_print_get_one_attributes_cookie_t cookie ,
02424 xcb_generic_error_t **e );
02425
02438
02439
02440
02441
02442
02443
02444
02445
02446
02447
02448
02449
02450
02451
02452
02453 xcb_void_cookie_t
02454 xcb_x_print_print_set_attributes_checked (xcb_connection_t *c ,
02455 xcb_x_print_pcontext_t context ,
02456 uint32_t stringLen ,
02457 uint8_t pool ,
02458 uint8_t rule ,
02459 uint32_t attributes_len ,
02460 const xcb_x_print_string8_t *attributes );
02461
02471
02472
02473
02474
02475
02476
02477
02478
02479
02480
02481
02482
02483
02484
02485
02486 xcb_void_cookie_t
02487 xcb_x_print_print_set_attributes (xcb_connection_t *c ,
02488 xcb_x_print_pcontext_t context ,
02489 uint32_t stringLen ,
02490 uint8_t pool ,
02491 uint8_t rule ,
02492 uint32_t attributes_len ,
02493 const xcb_x_print_string8_t *attributes );
02494
02504
02505
02506
02507
02508
02509
02510
02511
02512
02513
02514 xcb_x_print_print_get_page_dimensions_cookie_t
02515 xcb_x_print_print_get_page_dimensions (xcb_connection_t *c ,
02516 xcb_x_print_pcontext_t context );
02517
02530
02531
02532
02533
02534
02535
02536
02537
02538
02539
02540 xcb_x_print_print_get_page_dimensions_cookie_t
02541 xcb_x_print_print_get_page_dimensions_unchecked (xcb_connection_t *c ,
02542 xcb_x_print_pcontext_t context );
02543
02559
02560
02561
02562
02563
02564
02565
02566
02567
02568
02569
02570 xcb_x_print_print_get_page_dimensions_reply_t *
02571 xcb_x_print_print_get_page_dimensions_reply (xcb_connection_t *c ,
02572 xcb_x_print_print_get_page_dimensions_cookie_t cookie ,
02573 xcb_generic_error_t **e );
02574
02584
02585
02586
02587
02588
02589
02590
02591
02592
02593 xcb_x_print_print_query_screens_cookie_t
02594 xcb_x_print_print_query_screens (xcb_connection_t *c );
02595
02608
02609
02610
02611
02612
02613
02614
02615
02616
02617 xcb_x_print_print_query_screens_cookie_t
02618 xcb_x_print_print_query_screens_unchecked (xcb_connection_t *c );
02619
02620
02621
02622
02623
02624
02625
02626
02627
02628
02629
02630 xcb_window_t *
02631 xcb_x_print_print_query_screens_roots (const xcb_x_print_print_query_screens_reply_t *R );
02632
02633
02634
02635
02636
02637
02638
02639
02640
02641
02642
02643 int
02644 xcb_x_print_print_query_screens_roots_length (const xcb_x_print_print_query_screens_reply_t *R );
02645
02646
02647
02648
02649
02650
02651
02652
02653
02654
02655
02656 xcb_window_iterator_t
02657 xcb_x_print_print_query_screens_roots_iterator (const xcb_x_print_print_query_screens_reply_t *R );
02658
02674
02675
02676
02677
02678
02679
02680
02681
02682
02683
02684
02685 xcb_x_print_print_query_screens_reply_t *
02686 xcb_x_print_print_query_screens_reply (xcb_connection_t *c ,
02687 xcb_x_print_print_query_screens_cookie_t cookie ,
02688 xcb_generic_error_t **e );
02689
02699
02700
02701
02702
02703
02704
02705
02706
02707
02708
02709
02710 xcb_x_print_print_set_image_resolution_cookie_t
02711 xcb_x_print_print_set_image_resolution (xcb_connection_t *c ,
02712 xcb_x_print_pcontext_t context ,
02713 uint16_t image_resolution );
02714
02727
02728
02729
02730
02731
02732
02733
02734
02735
02736
02737
02738 xcb_x_print_print_set_image_resolution_cookie_t
02739 xcb_x_print_print_set_image_resolution_unchecked (xcb_connection_t *c ,
02740 xcb_x_print_pcontext_t context ,
02741 uint16_t image_resolution );
02742
02758
02759
02760
02761
02762
02763
02764
02765
02766
02767
02768
02769 xcb_x_print_print_set_image_resolution_reply_t *
02770 xcb_x_print_print_set_image_resolution_reply (xcb_connection_t *c ,
02771 xcb_x_print_print_set_image_resolution_cookie_t cookie ,
02772 xcb_generic_error_t **e );
02773
02783
02784
02785
02786
02787
02788
02789
02790
02791
02792
02793 xcb_x_print_print_get_image_resolution_cookie_t
02794 xcb_x_print_print_get_image_resolution (xcb_connection_t *c ,
02795 xcb_x_print_pcontext_t context );
02796
02809
02810
02811
02812
02813
02814
02815
02816
02817
02818
02819 xcb_x_print_print_get_image_resolution_cookie_t
02820 xcb_x_print_print_get_image_resolution_unchecked (xcb_connection_t *c ,
02821 xcb_x_print_pcontext_t context );
02822
02838
02839
02840
02841
02842
02843
02844
02845
02846
02847
02848
02849 xcb_x_print_print_get_image_resolution_reply_t *
02850 xcb_x_print_print_get_image_resolution_reply (xcb_connection_t *c ,
02851 xcb_x_print_print_get_image_resolution_cookie_t cookie ,
02852 xcb_generic_error_t **e );
02853
02854
02855 #endif
02856