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 uint32_t descLen;
00029 } xcb_x_print_printer_t;
00030
00034 typedef struct xcb_x_print_printer_iterator_t {
00035 xcb_x_print_printer_t *data;
00036 int rem;
00037 int index;
00038 } xcb_x_print_printer_iterator_t;
00039
00040 typedef uint32_t xcb_x_print_pcontext_t;
00041
00045 typedef struct xcb_x_print_pcontext_iterator_t {
00046 xcb_x_print_pcontext_t *data;
00047 int rem;
00048 int index;
00049 } xcb_x_print_pcontext_iterator_t;
00050
00051 typedef char xcb_x_print_string8_t;
00052
00056 typedef struct xcb_x_print_string8_iterator_t {
00057 xcb_x_print_string8_t *data;
00058 int rem;
00059 int index;
00060 } xcb_x_print_string8_iterator_t;
00061
00062 typedef enum xcb_x_print_get_doc_t {
00063 XCB_X_PRINT_GET_DOC_FINISHED = 0,
00064 XCB_X_PRINT_GET_DOC_SECOND_CONSUMER = 1
00065 } xcb_x_print_get_doc_t;
00066
00067 typedef enum xcb_x_print_ev_mask_t {
00068 XCB_X_PRINT_EV_MASK_NO_EVENT_MASK = 0x00000000,
00069 XCB_X_PRINT_EV_MASK_PRINT_MASK = 0x00000001,
00070 XCB_X_PRINT_EV_MASK_ATTRIBUTE_MASK = 0x00000002
00071 } xcb_x_print_ev_mask_t;
00072
00073 typedef enum xcb_x_print_detail_t {
00074 XCB_X_PRINT_DETAIL_START_JOB_NOTIFY = 1,
00075 XCB_X_PRINT_DETAIL_END_JOB_NOTIFY = 2,
00076 XCB_X_PRINT_DETAIL_START_DOC_NOTIFY = 3,
00077 XCB_X_PRINT_DETAIL_END_DOC_NOTIFY = 4,
00078 XCB_X_PRINT_DETAIL_START_PAGE_NOTIFY = 5,
00079 XCB_X_PRINT_DETAIL_END_PAGE_NOTIFY = 6
00080 } xcb_x_print_detail_t;
00081
00082 typedef enum xcb_x_print_attr_t {
00083 XCB_X_PRINT_ATTR_JOB_ATTR = 1,
00084 XCB_X_PRINT_ATTR_DOC_ATTR = 2,
00085 XCB_X_PRINT_ATTR_PAGE_ATTR = 3,
00086 XCB_X_PRINT_ATTR_PRINTER_ATTR = 4,
00087 XCB_X_PRINT_ATTR_SERVER_ATTR = 5,
00088 XCB_X_PRINT_ATTR_MEDIUM_ATTR = 6,
00089 XCB_X_PRINT_ATTR_SPOOLER_ATTR = 7
00090 } xcb_x_print_attr_t;
00091
00095 typedef struct xcb_x_print_print_query_version_cookie_t {
00096 unsigned int sequence;
00097 } xcb_x_print_print_query_version_cookie_t;
00098
00100 #define XCB_X_PRINT_PRINT_QUERY_VERSION 0
00101
00105 typedef struct xcb_x_print_print_query_version_request_t {
00106 uint8_t major_opcode;
00107 uint8_t minor_opcode;
00108 uint16_t length;
00109 } xcb_x_print_print_query_version_request_t;
00110
00114 typedef struct xcb_x_print_print_query_version_reply_t {
00115 uint8_t response_type;
00116 uint8_t pad0;
00117 uint16_t sequence;
00118 uint32_t length;
00119 uint16_t major_version;
00120 uint16_t minor_version;
00121 } xcb_x_print_print_query_version_reply_t;
00122
00126 typedef struct xcb_x_print_print_get_printer_list_cookie_t {
00127 unsigned int sequence;
00128 } xcb_x_print_print_get_printer_list_cookie_t;
00129
00131 #define XCB_X_PRINT_PRINT_GET_PRINTER_LIST 1
00132
00136 typedef struct xcb_x_print_print_get_printer_list_request_t {
00137 uint8_t major_opcode;
00138 uint8_t minor_opcode;
00139 uint16_t length;
00140 uint32_t printerNameLen;
00141 uint32_t localeLen;
00142 } xcb_x_print_print_get_printer_list_request_t;
00143
00147 typedef struct xcb_x_print_print_get_printer_list_reply_t {
00148 uint8_t response_type;
00149 uint8_t pad0;
00150 uint16_t sequence;
00151 uint32_t length;
00152 uint32_t listCount;
00153 uint8_t pad1[20];
00154 } xcb_x_print_print_get_printer_list_reply_t;
00155
00157 #define XCB_X_PRINT_PRINT_REHASH_PRINTER_LIST 20
00158
00162 typedef struct xcb_x_print_print_rehash_printer_list_request_t {
00163 uint8_t major_opcode;
00164 uint8_t minor_opcode;
00165 uint16_t length;
00166 } xcb_x_print_print_rehash_printer_list_request_t;
00167
00169 #define XCB_X_PRINT_CREATE_CONTEXT 2
00170
00174 typedef struct xcb_x_print_create_context_request_t {
00175 uint8_t major_opcode;
00176 uint8_t minor_opcode;
00177 uint16_t length;
00178 uint32_t context_id;
00179 uint32_t printerNameLen;
00180 uint32_t localeLen;
00181 } xcb_x_print_create_context_request_t;
00182
00184 #define XCB_X_PRINT_PRINT_SET_CONTEXT 3
00185
00189 typedef struct xcb_x_print_print_set_context_request_t {
00190 uint8_t major_opcode;
00191 uint8_t minor_opcode;
00192 uint16_t length;
00193 uint32_t context;
00194 } xcb_x_print_print_set_context_request_t;
00195
00199 typedef struct xcb_x_print_print_get_context_cookie_t {
00200 unsigned int sequence;
00201 } xcb_x_print_print_get_context_cookie_t;
00202
00204 #define XCB_X_PRINT_PRINT_GET_CONTEXT 4
00205
00209 typedef struct xcb_x_print_print_get_context_request_t {
00210 uint8_t major_opcode;
00211 uint8_t minor_opcode;
00212 uint16_t length;
00213 } xcb_x_print_print_get_context_request_t;
00214
00218 typedef struct xcb_x_print_print_get_context_reply_t {
00219 uint8_t response_type;
00220 uint8_t pad0;
00221 uint16_t sequence;
00222 uint32_t length;
00223 uint32_t context;
00224 } xcb_x_print_print_get_context_reply_t;
00225
00227 #define XCB_X_PRINT_PRINT_DESTROY_CONTEXT 5
00228
00232 typedef struct xcb_x_print_print_destroy_context_request_t {
00233 uint8_t major_opcode;
00234 uint8_t minor_opcode;
00235 uint16_t length;
00236 uint32_t context;
00237 } xcb_x_print_print_destroy_context_request_t;
00238
00242 typedef struct xcb_x_print_print_get_screen_of_context_cookie_t {
00243 unsigned int sequence;
00244 } xcb_x_print_print_get_screen_of_context_cookie_t;
00245
00247 #define XCB_X_PRINT_PRINT_GET_SCREEN_OF_CONTEXT 6
00248
00252 typedef struct xcb_x_print_print_get_screen_of_context_request_t {
00253 uint8_t major_opcode;
00254 uint8_t minor_opcode;
00255 uint16_t length;
00256 } xcb_x_print_print_get_screen_of_context_request_t;
00257
00261 typedef struct xcb_x_print_print_get_screen_of_context_reply_t {
00262 uint8_t response_type;
00263 uint8_t pad0;
00264 uint16_t sequence;
00265 uint32_t length;
00266 xcb_window_t root;
00267 } xcb_x_print_print_get_screen_of_context_reply_t;
00268
00270 #define XCB_X_PRINT_PRINT_START_JOB 7
00271
00275 typedef struct xcb_x_print_print_start_job_request_t {
00276 uint8_t major_opcode;
00277 uint8_t minor_opcode;
00278 uint16_t length;
00279 uint8_t output_mode;
00280 } xcb_x_print_print_start_job_request_t;
00281
00283 #define XCB_X_PRINT_PRINT_END_JOB 8
00284
00288 typedef struct xcb_x_print_print_end_job_request_t {
00289 uint8_t major_opcode;
00290 uint8_t minor_opcode;
00291 uint16_t length;
00292 uint8_t cancel;
00293 } xcb_x_print_print_end_job_request_t;
00294
00296 #define XCB_X_PRINT_PRINT_START_DOC 9
00297
00301 typedef struct xcb_x_print_print_start_doc_request_t {
00302 uint8_t major_opcode;
00303 uint8_t minor_opcode;
00304 uint16_t length;
00305 uint8_t driver_mode;
00306 } xcb_x_print_print_start_doc_request_t;
00307
00309 #define XCB_X_PRINT_PRINT_END_DOC 10
00310
00314 typedef struct xcb_x_print_print_end_doc_request_t {
00315 uint8_t major_opcode;
00316 uint8_t minor_opcode;
00317 uint16_t length;
00318 uint8_t cancel;
00319 } xcb_x_print_print_end_doc_request_t;
00320
00322 #define XCB_X_PRINT_PRINT_PUT_DOCUMENT_DATA 11
00323
00327 typedef struct xcb_x_print_print_put_document_data_request_t {
00328 uint8_t major_opcode;
00329 uint8_t minor_opcode;
00330 uint16_t length;
00331 xcb_drawable_t drawable;
00332 uint32_t len_data;
00333 uint16_t len_fmt;
00334 uint16_t len_options;
00335 } xcb_x_print_print_put_document_data_request_t;
00336
00340 typedef struct xcb_x_print_print_get_document_data_cookie_t {
00341 unsigned int sequence;
00342 } xcb_x_print_print_get_document_data_cookie_t;
00343
00345 #define XCB_X_PRINT_PRINT_GET_DOCUMENT_DATA 12
00346
00350 typedef struct xcb_x_print_print_get_document_data_request_t {
00351 uint8_t major_opcode;
00352 uint8_t minor_opcode;
00353 uint16_t length;
00354 xcb_x_print_pcontext_t context;
00355 uint32_t max_bytes;
00356 } xcb_x_print_print_get_document_data_request_t;
00357
00361 typedef struct xcb_x_print_print_get_document_data_reply_t {
00362 uint8_t response_type;
00363 uint8_t pad0;
00364 uint16_t sequence;
00365 uint32_t length;
00366 uint32_t status_code;
00367 uint32_t finished_flag;
00368 uint32_t dataLen;
00369 uint8_t pad1[12];
00370 } xcb_x_print_print_get_document_data_reply_t;
00371
00373 #define XCB_X_PRINT_PRINT_START_PAGE 13
00374
00378 typedef struct xcb_x_print_print_start_page_request_t {
00379 uint8_t major_opcode;
00380 uint8_t minor_opcode;
00381 uint16_t length;
00382 xcb_window_t window;
00383 } xcb_x_print_print_start_page_request_t;
00384
00386 #define XCB_X_PRINT_PRINT_END_PAGE 14
00387
00391 typedef struct xcb_x_print_print_end_page_request_t {
00392 uint8_t major_opcode;
00393 uint8_t minor_opcode;
00394 uint16_t length;
00395 uint8_t cancel;
00396 uint8_t pad0[3];
00397 } xcb_x_print_print_end_page_request_t;
00398
00400 #define XCB_X_PRINT_PRINT_SELECT_INPUT 15
00401
00405 typedef struct xcb_x_print_print_select_input_request_t {
00406 uint8_t major_opcode;
00407 uint8_t minor_opcode;
00408 uint16_t length;
00409 xcb_x_print_pcontext_t context;
00410 uint32_t event_mask;
00411 } xcb_x_print_print_select_input_request_t;
00412
00416 typedef struct xcb_x_print_print_input_selected_cookie_t {
00417 unsigned int sequence;
00418 } xcb_x_print_print_input_selected_cookie_t;
00419
00421 #define XCB_X_PRINT_PRINT_INPUT_SELECTED 16
00422
00426 typedef struct xcb_x_print_print_input_selected_request_t {
00427 uint8_t major_opcode;
00428 uint8_t minor_opcode;
00429 uint16_t length;
00430 xcb_x_print_pcontext_t context;
00431 } xcb_x_print_print_input_selected_request_t;
00432
00436 typedef struct xcb_x_print_print_input_selected_reply_t {
00437 uint8_t response_type;
00438 uint8_t pad0;
00439 uint16_t sequence;
00440 uint32_t length;
00441 uint32_t event_mask;
00442 uint32_t all_events_mask;
00443 } xcb_x_print_print_input_selected_reply_t;
00444
00448 typedef struct xcb_x_print_print_get_attributes_cookie_t {
00449 unsigned int sequence;
00450 } xcb_x_print_print_get_attributes_cookie_t;
00451
00453 #define XCB_X_PRINT_PRINT_GET_ATTRIBUTES 17
00454
00458 typedef struct xcb_x_print_print_get_attributes_request_t {
00459 uint8_t major_opcode;
00460 uint8_t minor_opcode;
00461 uint16_t length;
00462 xcb_x_print_pcontext_t context;
00463 uint8_t pool;
00464 uint8_t pad0[3];
00465 } xcb_x_print_print_get_attributes_request_t;
00466
00470 typedef struct xcb_x_print_print_get_attributes_reply_t {
00471 uint8_t response_type;
00472 uint8_t pad0;
00473 uint16_t sequence;
00474 uint32_t length;
00475 uint32_t stringLen;
00476 uint8_t pad1[20];
00477 xcb_x_print_string8_t attributes;
00478 } xcb_x_print_print_get_attributes_reply_t;
00479
00483 typedef struct xcb_x_print_print_get_one_attributes_cookie_t {
00484 unsigned int sequence;
00485 } xcb_x_print_print_get_one_attributes_cookie_t;
00486
00488 #define XCB_X_PRINT_PRINT_GET_ONE_ATTRIBUTES 19
00489
00493 typedef struct xcb_x_print_print_get_one_attributes_request_t {
00494 uint8_t major_opcode;
00495 uint8_t minor_opcode;
00496 uint16_t length;
00497 xcb_x_print_pcontext_t context;
00498 uint32_t nameLen;
00499 uint8_t pool;
00500 uint8_t pad0[3];
00501 } xcb_x_print_print_get_one_attributes_request_t;
00502
00506 typedef struct xcb_x_print_print_get_one_attributes_reply_t {
00507 uint8_t response_type;
00508 uint8_t pad0;
00509 uint16_t sequence;
00510 uint32_t length;
00511 uint32_t valueLen;
00512 uint8_t pad1[20];
00513 } xcb_x_print_print_get_one_attributes_reply_t;
00514
00516 #define XCB_X_PRINT_PRINT_SET_ATTRIBUTES 18
00517
00521 typedef struct xcb_x_print_print_set_attributes_request_t {
00522 uint8_t major_opcode;
00523 uint8_t minor_opcode;
00524 uint16_t length;
00525 xcb_x_print_pcontext_t context;
00526 uint32_t stringLen;
00527 uint8_t pool;
00528 uint8_t rule;
00529 uint8_t pad0[2];
00530 } xcb_x_print_print_set_attributes_request_t;
00531
00535 typedef struct xcb_x_print_print_get_page_dimensions_cookie_t {
00536 unsigned int sequence;
00537 } xcb_x_print_print_get_page_dimensions_cookie_t;
00538
00540 #define XCB_X_PRINT_PRINT_GET_PAGE_DIMENSIONS 21
00541
00545 typedef struct xcb_x_print_print_get_page_dimensions_request_t {
00546 uint8_t major_opcode;
00547 uint8_t minor_opcode;
00548 uint16_t length;
00549 xcb_x_print_pcontext_t context;
00550 } xcb_x_print_print_get_page_dimensions_request_t;
00551
00555 typedef struct xcb_x_print_print_get_page_dimensions_reply_t {
00556 uint8_t response_type;
00557 uint8_t pad0;
00558 uint16_t sequence;
00559 uint32_t length;
00560 uint16_t width;
00561 uint16_t height;
00562 uint16_t offset_x;
00563 uint16_t offset_y;
00564 uint16_t reproducible_width;
00565 uint16_t reproducible_height;
00566 } xcb_x_print_print_get_page_dimensions_reply_t;
00567
00571 typedef struct xcb_x_print_print_query_screens_cookie_t {
00572 unsigned int sequence;
00573 } xcb_x_print_print_query_screens_cookie_t;
00574
00576 #define XCB_X_PRINT_PRINT_QUERY_SCREENS 22
00577
00581 typedef struct xcb_x_print_print_query_screens_request_t {
00582 uint8_t major_opcode;
00583 uint8_t minor_opcode;
00584 uint16_t length;
00585 } xcb_x_print_print_query_screens_request_t;
00586
00590 typedef struct xcb_x_print_print_query_screens_reply_t {
00591 uint8_t response_type;
00592 uint8_t pad0;
00593 uint16_t sequence;
00594 uint32_t length;
00595 uint32_t listCount;
00596 uint8_t pad1[20];
00597 } xcb_x_print_print_query_screens_reply_t;
00598
00602 typedef struct xcb_x_print_print_set_image_resolution_cookie_t {
00603 unsigned int sequence;
00604 } xcb_x_print_print_set_image_resolution_cookie_t;
00605
00607 #define XCB_X_PRINT_PRINT_SET_IMAGE_RESOLUTION 23
00608
00612 typedef struct xcb_x_print_print_set_image_resolution_request_t {
00613 uint8_t major_opcode;
00614 uint8_t minor_opcode;
00615 uint16_t length;
00616 xcb_x_print_pcontext_t context;
00617 uint16_t image_resolution;
00618 } xcb_x_print_print_set_image_resolution_request_t;
00619
00623 typedef struct xcb_x_print_print_set_image_resolution_reply_t {
00624 uint8_t response_type;
00625 uint8_t status;
00626 uint16_t sequence;
00627 uint32_t length;
00628 uint16_t previous_resolutions;
00629 } xcb_x_print_print_set_image_resolution_reply_t;
00630
00634 typedef struct xcb_x_print_print_get_image_resolution_cookie_t {
00635 unsigned int sequence;
00636 } xcb_x_print_print_get_image_resolution_cookie_t;
00637
00639 #define XCB_X_PRINT_PRINT_GET_IMAGE_RESOLUTION 24
00640
00644 typedef struct xcb_x_print_print_get_image_resolution_request_t {
00645 uint8_t major_opcode;
00646 uint8_t minor_opcode;
00647 uint16_t length;
00648 xcb_x_print_pcontext_t context;
00649 } xcb_x_print_print_get_image_resolution_request_t;
00650
00654 typedef struct xcb_x_print_print_get_image_resolution_reply_t {
00655 uint8_t response_type;
00656 uint8_t pad0;
00657 uint16_t sequence;
00658 uint32_t length;
00659 uint16_t image_resolution;
00660 } xcb_x_print_print_get_image_resolution_reply_t;
00661
00663 #define XCB_X_PRINT_NOTIFY 0
00664
00668 typedef struct xcb_x_print_notify_event_t {
00669 uint8_t response_type;
00670 uint8_t detail;
00671 uint16_t sequence;
00672 xcb_x_print_pcontext_t context;
00673 uint8_t cancel;
00674 } xcb_x_print_notify_event_t;
00675
00677 #define XCB_X_PRINT_ATTRIBUT_NOTIFY 1
00678
00682 typedef struct xcb_x_print_attribut_notify_event_t {
00683 uint8_t response_type;
00684 uint8_t detail;
00685 uint16_t sequence;
00686 xcb_x_print_pcontext_t context;
00687 } xcb_x_print_attribut_notify_event_t;
00688
00690 #define XCB_X_PRINT_BAD_CONTEXT 0
00691
00695 typedef struct xcb_x_print_bad_context_error_t {
00696 uint8_t response_type;
00697 uint8_t error_code;
00698 uint16_t sequence;
00699 } xcb_x_print_bad_context_error_t;
00700
00702 #define XCB_X_PRINT_BAD_SEQUENCE 1
00703
00707 typedef struct xcb_x_print_bad_sequence_error_t {
00708 uint8_t response_type;
00709 uint8_t error_code;
00710 uint16_t sequence;
00711 } xcb_x_print_bad_sequence_error_t;
00712
00713
00714
00715
00716
00717
00718
00719
00720
00721
00722
00723 xcb_x_print_string8_t *
00724 xcb_x_print_printer_name (const xcb_x_print_printer_t *R );
00725
00726
00727
00728
00729
00730
00731
00732
00733
00734
00735
00736 int
00737 xcb_x_print_printer_name_length (const xcb_x_print_printer_t *R );
00738
00739
00740
00741
00742
00743
00744
00745
00746
00747
00748
00749 xcb_x_print_string8_iterator_t
00750 xcb_x_print_printer_name_iterator (const xcb_x_print_printer_t *R );
00751
00752
00753
00754
00755
00756
00757
00758
00759
00760
00761
00762 xcb_x_print_string8_t *
00763 xcb_x_print_printer_description (const xcb_x_print_printer_t *R );
00764
00765
00766
00767
00768
00769
00770
00771
00772
00773
00774
00775 int
00776 xcb_x_print_printer_description_length (const xcb_x_print_printer_t *R );
00777
00778
00779
00780
00781
00782
00783
00784
00785
00786
00787
00788 xcb_x_print_string8_iterator_t
00789 xcb_x_print_printer_description_iterator (const xcb_x_print_printer_t *R );
00790
00791
00792
00793
00794
00795
00796
00797
00798
00799
00800
00801 void
00802 xcb_x_print_printer_next (xcb_x_print_printer_iterator_t *i );
00803
00804
00805
00806
00807
00808
00809
00810
00811
00812
00813
00814 xcb_generic_iterator_t
00815 xcb_x_print_printer_end (xcb_x_print_printer_iterator_t i );
00816
00817
00818
00819
00820
00821
00822
00823
00824
00825
00826
00827 void
00828 xcb_x_print_pcontext_next (xcb_x_print_pcontext_iterator_t *i );
00829
00830
00831
00832
00833
00834
00835
00836
00837
00838
00839
00840 xcb_generic_iterator_t
00841 xcb_x_print_pcontext_end (xcb_x_print_pcontext_iterator_t i );
00842
00843
00844
00845
00846
00847
00848
00849
00850
00851
00852
00853 void
00854 xcb_x_print_string8_next (xcb_x_print_string8_iterator_t *i );
00855
00856
00857
00858
00859
00860
00861
00862
00863
00864
00865
00866 xcb_generic_iterator_t
00867 xcb_x_print_string8_end (xcb_x_print_string8_iterator_t i );
00868
00869
00870
00871
00872
00873
00874
00875
00876
00877
00878
00879 xcb_x_print_print_query_version_cookie_t
00880 xcb_x_print_print_query_version (xcb_connection_t *c );
00881
00882
00883
00884
00885
00886
00887
00888
00889
00890
00891
00892 xcb_x_print_print_query_version_cookie_t
00893 xcb_x_print_print_query_version_unchecked (xcb_connection_t *c );
00894
00895
00896
00897
00898
00899
00900
00901
00902
00903
00904
00905
00906
00907 xcb_x_print_print_query_version_reply_t *
00908 xcb_x_print_print_query_version_reply (xcb_connection_t *c ,
00909 xcb_x_print_print_query_version_cookie_t cookie ,
00910 xcb_generic_error_t **e );
00911
00912
00913
00914
00915
00916
00917
00918
00919
00920
00921
00922
00923
00924
00925
00926 xcb_x_print_print_get_printer_list_cookie_t
00927 xcb_x_print_print_get_printer_list (xcb_connection_t *c ,
00928 uint32_t printerNameLen ,
00929 uint32_t localeLen ,
00930 const xcb_x_print_string8_t *printer_name ,
00931 const xcb_x_print_string8_t *locale );
00932
00933
00934
00935
00936
00937
00938
00939
00940
00941
00942
00943
00944
00945
00946
00947 xcb_x_print_print_get_printer_list_cookie_t
00948 xcb_x_print_print_get_printer_list_unchecked (xcb_connection_t *c ,
00949 uint32_t printerNameLen ,
00950 uint32_t localeLen ,
00951 const xcb_x_print_string8_t *printer_name ,
00952 const xcb_x_print_string8_t *locale );
00953
00954
00955
00956
00957
00958
00959
00960
00961
00962
00963
00964 int
00965 xcb_x_print_print_get_printer_list_printers_length (const xcb_x_print_print_get_printer_list_reply_t *R );
00966
00967
00968
00969
00970
00971
00972
00973
00974
00975
00976
00977 xcb_x_print_printer_iterator_t
00978 xcb_x_print_print_get_printer_list_printers_iterator (const xcb_x_print_print_get_printer_list_reply_t *R );
00979
00980
00981
00982
00983
00984
00985
00986
00987
00988
00989
00990
00991
00992 xcb_x_print_print_get_printer_list_reply_t *
00993 xcb_x_print_print_get_printer_list_reply (xcb_connection_t *c ,
00994 xcb_x_print_print_get_printer_list_cookie_t cookie ,
00995 xcb_generic_error_t **e );
00996
00997
00998
00999
01000
01001
01002
01003
01004
01005
01006
01007 xcb_void_cookie_t
01008 xcb_x_print_print_rehash_printer_list_checked (xcb_connection_t *c );
01009
01010
01011
01012
01013
01014
01015
01016
01017
01018
01019
01020 xcb_void_cookie_t
01021 xcb_x_print_print_rehash_printer_list (xcb_connection_t *c );
01022
01023
01024
01025
01026
01027
01028
01029
01030
01031
01032
01033
01034
01035
01036
01037
01038 xcb_void_cookie_t
01039 xcb_x_print_create_context_checked (xcb_connection_t *c ,
01040 uint32_t context_id ,
01041 uint32_t printerNameLen ,
01042 uint32_t localeLen ,
01043 const xcb_x_print_string8_t *printerName ,
01044 const xcb_x_print_string8_t *locale );
01045
01046
01047
01048
01049
01050
01051
01052
01053
01054
01055
01056
01057
01058
01059
01060
01061 xcb_void_cookie_t
01062 xcb_x_print_create_context (xcb_connection_t *c ,
01063 uint32_t context_id ,
01064 uint32_t printerNameLen ,
01065 uint32_t localeLen ,
01066 const xcb_x_print_string8_t *printerName ,
01067 const xcb_x_print_string8_t *locale );
01068
01069
01070
01071
01072
01073
01074
01075
01076
01077
01078
01079
01080 xcb_void_cookie_t
01081 xcb_x_print_print_set_context_checked (xcb_connection_t *c ,
01082 uint32_t context );
01083
01084
01085
01086
01087
01088
01089
01090
01091
01092
01093
01094
01095 xcb_void_cookie_t
01096 xcb_x_print_print_set_context (xcb_connection_t *c ,
01097 uint32_t context );
01098
01099
01100
01101
01102
01103
01104
01105
01106
01107
01108
01109 xcb_x_print_print_get_context_cookie_t
01110 xcb_x_print_print_get_context (xcb_connection_t *c );
01111
01112
01113
01114
01115
01116
01117
01118
01119
01120
01121
01122 xcb_x_print_print_get_context_cookie_t
01123 xcb_x_print_print_get_context_unchecked (xcb_connection_t *c );
01124
01125
01126
01127
01128
01129
01130
01131
01132
01133
01134
01135
01136
01137 xcb_x_print_print_get_context_reply_t *
01138 xcb_x_print_print_get_context_reply (xcb_connection_t *c ,
01139 xcb_x_print_print_get_context_cookie_t cookie ,
01140 xcb_generic_error_t **e );
01141
01142
01143
01144
01145
01146
01147
01148
01149
01150
01151
01152
01153 xcb_void_cookie_t
01154 xcb_x_print_print_destroy_context_checked (xcb_connection_t *c ,
01155 uint32_t context );
01156
01157
01158
01159
01160
01161
01162
01163
01164
01165
01166
01167
01168 xcb_void_cookie_t
01169 xcb_x_print_print_destroy_context (xcb_connection_t *c ,
01170 uint32_t context );
01171
01172
01173
01174
01175
01176
01177
01178
01179
01180
01181
01182 xcb_x_print_print_get_screen_of_context_cookie_t
01183 xcb_x_print_print_get_screen_of_context (xcb_connection_t *c );
01184
01185
01186
01187
01188
01189
01190
01191
01192
01193
01194
01195 xcb_x_print_print_get_screen_of_context_cookie_t
01196 xcb_x_print_print_get_screen_of_context_unchecked (xcb_connection_t *c );
01197
01198
01199
01200
01201
01202
01203
01204
01205
01206
01207
01208
01209
01210 xcb_x_print_print_get_screen_of_context_reply_t *
01211 xcb_x_print_print_get_screen_of_context_reply (xcb_connection_t *c ,
01212 xcb_x_print_print_get_screen_of_context_cookie_t cookie ,
01213 xcb_generic_error_t **e );
01214
01215
01216
01217
01218
01219
01220
01221
01222
01223
01224
01225
01226 xcb_void_cookie_t
01227 xcb_x_print_print_start_job_checked (xcb_connection_t *c ,
01228 uint8_t output_mode );
01229
01230
01231
01232
01233
01234
01235
01236
01237
01238
01239
01240
01241 xcb_void_cookie_t
01242 xcb_x_print_print_start_job (xcb_connection_t *c ,
01243 uint8_t output_mode );
01244
01245
01246
01247
01248
01249
01250
01251
01252
01253
01254
01255
01256 xcb_void_cookie_t
01257 xcb_x_print_print_end_job_checked (xcb_connection_t *c ,
01258 uint8_t cancel );
01259
01260
01261
01262
01263
01264
01265
01266
01267
01268
01269
01270
01271 xcb_void_cookie_t
01272 xcb_x_print_print_end_job (xcb_connection_t *c ,
01273 uint8_t cancel );
01274
01275
01276
01277
01278
01279
01280
01281
01282
01283
01284
01285
01286 xcb_void_cookie_t
01287 xcb_x_print_print_start_doc_checked (xcb_connection_t *c ,
01288 uint8_t driver_mode );
01289
01290
01291
01292
01293
01294
01295
01296
01297
01298
01299
01300
01301 xcb_void_cookie_t
01302 xcb_x_print_print_start_doc (xcb_connection_t *c ,
01303 uint8_t driver_mode );
01304
01305
01306
01307
01308
01309
01310
01311
01312
01313
01314
01315
01316 xcb_void_cookie_t
01317 xcb_x_print_print_end_doc_checked (xcb_connection_t *c ,
01318 uint8_t cancel );
01319
01320
01321
01322
01323
01324
01325
01326
01327
01328
01329
01330
01331 xcb_void_cookie_t
01332 xcb_x_print_print_end_doc (xcb_connection_t *c ,
01333 uint8_t cancel );
01334
01335
01336
01337
01338
01339
01340
01341
01342
01343
01344
01345
01346
01347
01348
01349
01350
01351
01352
01353
01354 xcb_void_cookie_t
01355 xcb_x_print_print_put_document_data_checked (xcb_connection_t *c ,
01356 xcb_drawable_t drawable ,
01357 uint32_t len_data ,
01358 uint16_t len_fmt ,
01359 uint16_t len_options ,
01360 const uint8_t *data ,
01361 uint32_t doc_format_len ,
01362 const xcb_x_print_string8_t *doc_format ,
01363 uint32_t options_len ,
01364 const xcb_x_print_string8_t *options );
01365
01366
01367
01368
01369
01370
01371
01372
01373
01374
01375
01376
01377
01378
01379
01380
01381
01382
01383
01384
01385 xcb_void_cookie_t
01386 xcb_x_print_print_put_document_data (xcb_connection_t *c ,
01387 xcb_drawable_t drawable ,
01388 uint32_t len_data ,
01389 uint16_t len_fmt ,
01390 uint16_t len_options ,
01391 const uint8_t *data ,
01392 uint32_t doc_format_len ,
01393 const xcb_x_print_string8_t *doc_format ,
01394 uint32_t options_len ,
01395 const xcb_x_print_string8_t *options );
01396
01397
01398
01399
01400
01401
01402
01403
01404
01405
01406
01407
01408
01409 xcb_x_print_print_get_document_data_cookie_t
01410 xcb_x_print_print_get_document_data (xcb_connection_t *c ,
01411 xcb_x_print_pcontext_t context ,
01412 uint32_t max_bytes );
01413
01414
01415
01416
01417
01418
01419
01420
01421
01422
01423
01424
01425
01426 xcb_x_print_print_get_document_data_cookie_t
01427 xcb_x_print_print_get_document_data_unchecked (xcb_connection_t *c ,
01428 xcb_x_print_pcontext_t context ,
01429 uint32_t max_bytes );
01430
01431
01432
01433
01434
01435
01436
01437
01438
01439
01440
01441 uint8_t *
01442 xcb_x_print_print_get_document_data_data (const xcb_x_print_print_get_document_data_reply_t *R );
01443
01444
01445
01446
01447
01448
01449
01450
01451
01452
01453
01454 int
01455 xcb_x_print_print_get_document_data_data_length (const xcb_x_print_print_get_document_data_reply_t *R );
01456
01457
01458
01459
01460
01461
01462
01463
01464
01465
01466
01467 xcb_generic_iterator_t
01468 xcb_x_print_print_get_document_data_data_end (const xcb_x_print_print_get_document_data_reply_t *R );
01469
01470
01471
01472
01473
01474
01475
01476
01477
01478
01479
01480
01481
01482 xcb_x_print_print_get_document_data_reply_t *
01483 xcb_x_print_print_get_document_data_reply (xcb_connection_t *c ,
01484 xcb_x_print_print_get_document_data_cookie_t cookie ,
01485 xcb_generic_error_t **e );
01486
01487
01488
01489
01490
01491
01492
01493
01494
01495
01496
01497
01498 xcb_void_cookie_t
01499 xcb_x_print_print_start_page_checked (xcb_connection_t *c ,
01500 xcb_window_t window );
01501
01502
01503
01504
01505
01506
01507
01508
01509
01510
01511
01512
01513 xcb_void_cookie_t
01514 xcb_x_print_print_start_page (xcb_connection_t *c ,
01515 xcb_window_t window );
01516
01517
01518
01519
01520
01521
01522
01523
01524
01525
01526
01527
01528 xcb_void_cookie_t
01529 xcb_x_print_print_end_page_checked (xcb_connection_t *c ,
01530 uint8_t cancel );
01531
01532
01533
01534
01535
01536
01537
01538
01539
01540
01541
01542
01543 xcb_void_cookie_t
01544 xcb_x_print_print_end_page (xcb_connection_t *c ,
01545 uint8_t cancel );
01546
01547
01548
01549
01550
01551
01552
01553
01554
01555
01556
01557
01558
01559
01560 xcb_void_cookie_t
01561 xcb_x_print_print_select_input_checked (xcb_connection_t *c ,
01562 xcb_x_print_pcontext_t context ,
01563 uint32_t event_mask ,
01564 const uint32_t *event_list );
01565
01566
01567
01568
01569
01570
01571
01572
01573
01574
01575
01576
01577
01578
01579 xcb_void_cookie_t
01580 xcb_x_print_print_select_input (xcb_connection_t *c ,
01581 xcb_x_print_pcontext_t context ,
01582 uint32_t event_mask ,
01583 const uint32_t *event_list );
01584
01585
01586
01587
01588
01589
01590
01591
01592
01593
01594
01595
01596 xcb_x_print_print_input_selected_cookie_t
01597 xcb_x_print_print_input_selected (xcb_connection_t *c ,
01598 xcb_x_print_pcontext_t context );
01599
01600
01601
01602
01603
01604
01605
01606
01607
01608
01609
01610
01611 xcb_x_print_print_input_selected_cookie_t
01612 xcb_x_print_print_input_selected_unchecked (xcb_connection_t *c ,
01613 xcb_x_print_pcontext_t context );
01614
01615
01616
01617
01618
01619
01620
01621
01622
01623
01624
01625 uint32_t *
01626 xcb_x_print_print_input_selected_event_list (const xcb_x_print_print_input_selected_reply_t *R );
01627
01628
01629
01630
01631
01632
01633
01634
01635
01636
01637
01638 int
01639 xcb_x_print_print_input_selected_event_list_length (const xcb_x_print_print_input_selected_reply_t *R );
01640
01641
01642
01643
01644
01645
01646
01647
01648
01649
01650
01651 xcb_generic_iterator_t
01652 xcb_x_print_print_input_selected_event_list_end (const xcb_x_print_print_input_selected_reply_t *R );
01653
01654
01655
01656
01657
01658
01659
01660
01661
01662
01663
01664 uint32_t *
01665 xcb_x_print_print_input_selected_all_events_list (const xcb_x_print_print_input_selected_reply_t *R );
01666
01667
01668
01669
01670
01671
01672
01673
01674
01675
01676
01677 int
01678 xcb_x_print_print_input_selected_all_events_list_length (const xcb_x_print_print_input_selected_reply_t *R );
01679
01680
01681
01682
01683
01684
01685
01686
01687
01688
01689
01690 xcb_generic_iterator_t
01691 xcb_x_print_print_input_selected_all_events_list_end (const xcb_x_print_print_input_selected_reply_t *R );
01692
01693
01694
01695
01696
01697
01698
01699
01700
01701
01702
01703
01704
01705 xcb_x_print_print_input_selected_reply_t *
01706 xcb_x_print_print_input_selected_reply (xcb_connection_t *c ,
01707 xcb_x_print_print_input_selected_cookie_t cookie ,
01708 xcb_generic_error_t **e );
01709
01710
01711
01712
01713
01714
01715
01716
01717
01718
01719
01720
01721
01722 xcb_x_print_print_get_attributes_cookie_t
01723 xcb_x_print_print_get_attributes (xcb_connection_t *c ,
01724 xcb_x_print_pcontext_t context ,
01725 uint8_t pool );
01726
01727
01728
01729
01730
01731
01732
01733
01734
01735
01736
01737
01738
01739 xcb_x_print_print_get_attributes_cookie_t
01740 xcb_x_print_print_get_attributes_unchecked (xcb_connection_t *c ,
01741 xcb_x_print_pcontext_t context ,
01742 uint8_t pool );
01743
01744
01745
01746
01747
01748
01749
01750
01751
01752
01753
01754
01755
01756 xcb_x_print_print_get_attributes_reply_t *
01757 xcb_x_print_print_get_attributes_reply (xcb_connection_t *c ,
01758 xcb_x_print_print_get_attributes_cookie_t cookie ,
01759 xcb_generic_error_t **e );
01760
01761
01762
01763
01764
01765
01766
01767
01768
01769
01770
01771
01772
01773
01774
01775 xcb_x_print_print_get_one_attributes_cookie_t
01776 xcb_x_print_print_get_one_attributes (xcb_connection_t *c ,
01777 xcb_x_print_pcontext_t context ,
01778 uint32_t nameLen ,
01779 uint8_t pool ,
01780 const xcb_x_print_string8_t *name );
01781
01782
01783
01784
01785
01786
01787
01788
01789
01790
01791
01792
01793
01794
01795
01796 xcb_x_print_print_get_one_attributes_cookie_t
01797 xcb_x_print_print_get_one_attributes_unchecked (xcb_connection_t *c ,
01798 xcb_x_print_pcontext_t context ,
01799 uint32_t nameLen ,
01800 uint8_t pool ,
01801 const xcb_x_print_string8_t *name );
01802
01803
01804
01805
01806
01807
01808
01809
01810
01811
01812
01813 xcb_x_print_string8_t *
01814 xcb_x_print_print_get_one_attributes_value (const xcb_x_print_print_get_one_attributes_reply_t *R );
01815
01816
01817
01818
01819
01820
01821
01822
01823
01824
01825
01826 int
01827 xcb_x_print_print_get_one_attributes_value_length (const xcb_x_print_print_get_one_attributes_reply_t *R );
01828
01829
01830
01831
01832
01833
01834
01835
01836
01837
01838
01839 xcb_x_print_string8_iterator_t
01840 xcb_x_print_print_get_one_attributes_value_iterator (const xcb_x_print_print_get_one_attributes_reply_t *R );
01841
01842
01843
01844
01845
01846
01847
01848
01849
01850
01851
01852
01853
01854 xcb_x_print_print_get_one_attributes_reply_t *
01855 xcb_x_print_print_get_one_attributes_reply (xcb_connection_t *c ,
01856 xcb_x_print_print_get_one_attributes_cookie_t cookie ,
01857 xcb_generic_error_t **e );
01858
01859
01860
01861
01862
01863
01864
01865
01866
01867
01868
01869
01870
01871
01872
01873
01874
01875 xcb_void_cookie_t
01876 xcb_x_print_print_set_attributes_checked (xcb_connection_t *c ,
01877 xcb_x_print_pcontext_t context ,
01878 uint32_t stringLen ,
01879 uint8_t pool ,
01880 uint8_t rule ,
01881 uint32_t attributes_len ,
01882 const xcb_x_print_string8_t *attributes );
01883
01884
01885
01886
01887
01888
01889
01890
01891
01892
01893
01894
01895
01896
01897
01898
01899
01900 xcb_void_cookie_t
01901 xcb_x_print_print_set_attributes (xcb_connection_t *c ,
01902 xcb_x_print_pcontext_t context ,
01903 uint32_t stringLen ,
01904 uint8_t pool ,
01905 uint8_t rule ,
01906 uint32_t attributes_len ,
01907 const xcb_x_print_string8_t *attributes );
01908
01909
01910
01911
01912
01913
01914
01915
01916
01917
01918
01919
01920 xcb_x_print_print_get_page_dimensions_cookie_t
01921 xcb_x_print_print_get_page_dimensions (xcb_connection_t *c ,
01922 xcb_x_print_pcontext_t context );
01923
01924
01925
01926
01927
01928
01929
01930
01931
01932
01933
01934
01935 xcb_x_print_print_get_page_dimensions_cookie_t
01936 xcb_x_print_print_get_page_dimensions_unchecked (xcb_connection_t *c ,
01937 xcb_x_print_pcontext_t context );
01938
01939
01940
01941
01942
01943
01944
01945
01946
01947
01948
01949
01950
01951 xcb_x_print_print_get_page_dimensions_reply_t *
01952 xcb_x_print_print_get_page_dimensions_reply (xcb_connection_t *c ,
01953 xcb_x_print_print_get_page_dimensions_cookie_t cookie ,
01954 xcb_generic_error_t **e );
01955
01956
01957
01958
01959
01960
01961
01962
01963
01964
01965
01966 xcb_x_print_print_query_screens_cookie_t
01967 xcb_x_print_print_query_screens (xcb_connection_t *c );
01968
01969
01970
01971
01972
01973
01974
01975
01976
01977
01978
01979 xcb_x_print_print_query_screens_cookie_t
01980 xcb_x_print_print_query_screens_unchecked (xcb_connection_t *c );
01981
01982
01983
01984
01985
01986
01987
01988
01989
01990
01991
01992 xcb_window_t *
01993 xcb_x_print_print_query_screens_roots (const xcb_x_print_print_query_screens_reply_t *R );
01994
01995
01996
01997
01998
01999
02000
02001
02002
02003
02004
02005 int
02006 xcb_x_print_print_query_screens_roots_length (const xcb_x_print_print_query_screens_reply_t *R );
02007
02008
02009
02010
02011
02012
02013
02014
02015
02016
02017
02018 xcb_window_iterator_t
02019 xcb_x_print_print_query_screens_roots_iterator (const xcb_x_print_print_query_screens_reply_t *R );
02020
02021
02022
02023
02024
02025
02026
02027
02028
02029
02030
02031
02032
02033 xcb_x_print_print_query_screens_reply_t *
02034 xcb_x_print_print_query_screens_reply (xcb_connection_t *c ,
02035 xcb_x_print_print_query_screens_cookie_t cookie ,
02036 xcb_generic_error_t **e );
02037
02038
02039
02040
02041
02042
02043
02044
02045
02046
02047
02048
02049
02050 xcb_x_print_print_set_image_resolution_cookie_t
02051 xcb_x_print_print_set_image_resolution (xcb_connection_t *c ,
02052 xcb_x_print_pcontext_t context ,
02053 uint16_t image_resolution );
02054
02055
02056
02057
02058
02059
02060
02061
02062
02063
02064
02065
02066
02067 xcb_x_print_print_set_image_resolution_cookie_t
02068 xcb_x_print_print_set_image_resolution_unchecked (xcb_connection_t *c ,
02069 xcb_x_print_pcontext_t context ,
02070 uint16_t image_resolution );
02071
02072
02073
02074
02075
02076
02077
02078
02079
02080
02081
02082
02083
02084 xcb_x_print_print_set_image_resolution_reply_t *
02085 xcb_x_print_print_set_image_resolution_reply (xcb_connection_t *c ,
02086 xcb_x_print_print_set_image_resolution_cookie_t cookie ,
02087 xcb_generic_error_t **e );
02088
02089
02090
02091
02092
02093
02094
02095
02096
02097
02098
02099
02100 xcb_x_print_print_get_image_resolution_cookie_t
02101 xcb_x_print_print_get_image_resolution (xcb_connection_t *c ,
02102 xcb_x_print_pcontext_t context );
02103
02104
02105
02106
02107
02108
02109
02110
02111
02112
02113
02114
02115 xcb_x_print_print_get_image_resolution_cookie_t
02116 xcb_x_print_print_get_image_resolution_unchecked (xcb_connection_t *c ,
02117 xcb_x_print_pcontext_t context );
02118
02119
02120
02121
02122
02123
02124
02125
02126
02127
02128
02129
02130
02131 xcb_x_print_print_get_image_resolution_reply_t *
02132 xcb_x_print_print_get_image_resolution_reply (xcb_connection_t *c ,
02133 xcb_x_print_print_get_image_resolution_cookie_t cookie ,
02134 xcb_generic_error_t **e );
02135
02136
02137 #endif
02138