File indexing completed on 2025-01-18 10:14:46
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012 #ifndef __XPRINT_H
0013 #define __XPRINT_H
0014
0015 #include "xcb.h"
0016 #include "xproto.h"
0017
0018 #ifdef __cplusplus
0019 extern "C" {
0020 #endif
0021
0022 #define XCB_XPRINT_MAJOR_VERSION 1
0023 #define XCB_XPRINT_MINOR_VERSION 0
0024
0025 extern xcb_extension_t xcb_x_print_id;
0026
0027 typedef char xcb_x_print_string8_t;
0028
0029
0030
0031
0032 typedef struct xcb_x_print_string8_iterator_t {
0033 xcb_x_print_string8_t *data;
0034 int rem;
0035 int index;
0036 } xcb_x_print_string8_iterator_t;
0037
0038
0039
0040
0041 typedef struct xcb_x_print_printer_t {
0042 uint32_t nameLen;
0043 uint32_t descLen;
0044 } xcb_x_print_printer_t;
0045
0046
0047
0048
0049 typedef struct xcb_x_print_printer_iterator_t {
0050 xcb_x_print_printer_t *data;
0051 int rem;
0052 int index;
0053 } xcb_x_print_printer_iterator_t;
0054
0055 typedef uint32_t xcb_x_print_pcontext_t;
0056
0057
0058
0059
0060 typedef struct xcb_x_print_pcontext_iterator_t {
0061 xcb_x_print_pcontext_t *data;
0062 int rem;
0063 int index;
0064 } xcb_x_print_pcontext_iterator_t;
0065
0066 typedef enum xcb_x_print_get_doc_t {
0067 XCB_X_PRINT_GET_DOC_FINISHED = 0,
0068 XCB_X_PRINT_GET_DOC_SECOND_CONSUMER = 1
0069 } xcb_x_print_get_doc_t;
0070
0071 typedef enum xcb_x_print_ev_mask_t {
0072 XCB_X_PRINT_EV_MASK_NO_EVENT_MASK = 0,
0073 XCB_X_PRINT_EV_MASK_PRINT_MASK = 1,
0074 XCB_X_PRINT_EV_MASK_ATTRIBUTE_MASK = 2
0075 } xcb_x_print_ev_mask_t;
0076
0077 typedef enum xcb_x_print_detail_t {
0078 XCB_X_PRINT_DETAIL_START_JOB_NOTIFY = 1,
0079 XCB_X_PRINT_DETAIL_END_JOB_NOTIFY = 2,
0080 XCB_X_PRINT_DETAIL_START_DOC_NOTIFY = 3,
0081 XCB_X_PRINT_DETAIL_END_DOC_NOTIFY = 4,
0082 XCB_X_PRINT_DETAIL_START_PAGE_NOTIFY = 5,
0083 XCB_X_PRINT_DETAIL_END_PAGE_NOTIFY = 6
0084 } xcb_x_print_detail_t;
0085
0086 typedef enum xcb_x_print_attr_t {
0087 XCB_X_PRINT_ATTR_JOB_ATTR = 1,
0088 XCB_X_PRINT_ATTR_DOC_ATTR = 2,
0089 XCB_X_PRINT_ATTR_PAGE_ATTR = 3,
0090 XCB_X_PRINT_ATTR_PRINTER_ATTR = 4,
0091 XCB_X_PRINT_ATTR_SERVER_ATTR = 5,
0092 XCB_X_PRINT_ATTR_MEDIUM_ATTR = 6,
0093 XCB_X_PRINT_ATTR_SPOOLER_ATTR = 7
0094 } xcb_x_print_attr_t;
0095
0096
0097
0098
0099 typedef struct xcb_x_print_print_query_version_cookie_t {
0100 unsigned int sequence;
0101 } xcb_x_print_print_query_version_cookie_t;
0102
0103
0104 #define XCB_X_PRINT_PRINT_QUERY_VERSION 0
0105
0106
0107
0108
0109 typedef struct xcb_x_print_print_query_version_request_t {
0110 uint8_t major_opcode;
0111 uint8_t minor_opcode;
0112 uint16_t length;
0113 } xcb_x_print_print_query_version_request_t;
0114
0115
0116
0117
0118 typedef struct xcb_x_print_print_query_version_reply_t {
0119 uint8_t response_type;
0120 uint8_t pad0;
0121 uint16_t sequence;
0122 uint32_t length;
0123 uint16_t major_version;
0124 uint16_t minor_version;
0125 } xcb_x_print_print_query_version_reply_t;
0126
0127
0128
0129
0130 typedef struct xcb_x_print_print_get_printer_list_cookie_t {
0131 unsigned int sequence;
0132 } xcb_x_print_print_get_printer_list_cookie_t;
0133
0134
0135 #define XCB_X_PRINT_PRINT_GET_PRINTER_LIST 1
0136
0137
0138
0139
0140 typedef struct xcb_x_print_print_get_printer_list_request_t {
0141 uint8_t major_opcode;
0142 uint8_t minor_opcode;
0143 uint16_t length;
0144 uint32_t printerNameLen;
0145 uint32_t localeLen;
0146 } xcb_x_print_print_get_printer_list_request_t;
0147
0148
0149
0150
0151 typedef struct xcb_x_print_print_get_printer_list_reply_t {
0152 uint8_t response_type;
0153 uint8_t pad0;
0154 uint16_t sequence;
0155 uint32_t length;
0156 uint32_t listCount;
0157 uint8_t pad1[20];
0158 } xcb_x_print_print_get_printer_list_reply_t;
0159
0160
0161 #define XCB_X_PRINT_PRINT_REHASH_PRINTER_LIST 20
0162
0163
0164
0165
0166 typedef struct xcb_x_print_print_rehash_printer_list_request_t {
0167 uint8_t major_opcode;
0168 uint8_t minor_opcode;
0169 uint16_t length;
0170 } xcb_x_print_print_rehash_printer_list_request_t;
0171
0172
0173 #define XCB_X_PRINT_CREATE_CONTEXT 2
0174
0175
0176
0177
0178 typedef struct xcb_x_print_create_context_request_t {
0179 uint8_t major_opcode;
0180 uint8_t minor_opcode;
0181 uint16_t length;
0182 uint32_t context_id;
0183 uint32_t printerNameLen;
0184 uint32_t localeLen;
0185 } xcb_x_print_create_context_request_t;
0186
0187
0188 #define XCB_X_PRINT_PRINT_SET_CONTEXT 3
0189
0190
0191
0192
0193 typedef struct xcb_x_print_print_set_context_request_t {
0194 uint8_t major_opcode;
0195 uint8_t minor_opcode;
0196 uint16_t length;
0197 uint32_t context;
0198 } xcb_x_print_print_set_context_request_t;
0199
0200
0201
0202
0203 typedef struct xcb_x_print_print_get_context_cookie_t {
0204 unsigned int sequence;
0205 } xcb_x_print_print_get_context_cookie_t;
0206
0207
0208 #define XCB_X_PRINT_PRINT_GET_CONTEXT 4
0209
0210
0211
0212
0213 typedef struct xcb_x_print_print_get_context_request_t {
0214 uint8_t major_opcode;
0215 uint8_t minor_opcode;
0216 uint16_t length;
0217 } xcb_x_print_print_get_context_request_t;
0218
0219
0220
0221
0222 typedef struct xcb_x_print_print_get_context_reply_t {
0223 uint8_t response_type;
0224 uint8_t pad0;
0225 uint16_t sequence;
0226 uint32_t length;
0227 uint32_t context;
0228 } xcb_x_print_print_get_context_reply_t;
0229
0230
0231 #define XCB_X_PRINT_PRINT_DESTROY_CONTEXT 5
0232
0233
0234
0235
0236 typedef struct xcb_x_print_print_destroy_context_request_t {
0237 uint8_t major_opcode;
0238 uint8_t minor_opcode;
0239 uint16_t length;
0240 uint32_t context;
0241 } xcb_x_print_print_destroy_context_request_t;
0242
0243
0244
0245
0246 typedef struct xcb_x_print_print_get_screen_of_context_cookie_t {
0247 unsigned int sequence;
0248 } xcb_x_print_print_get_screen_of_context_cookie_t;
0249
0250
0251 #define XCB_X_PRINT_PRINT_GET_SCREEN_OF_CONTEXT 6
0252
0253
0254
0255
0256 typedef struct xcb_x_print_print_get_screen_of_context_request_t {
0257 uint8_t major_opcode;
0258 uint8_t minor_opcode;
0259 uint16_t length;
0260 } xcb_x_print_print_get_screen_of_context_request_t;
0261
0262
0263
0264
0265 typedef struct xcb_x_print_print_get_screen_of_context_reply_t {
0266 uint8_t response_type;
0267 uint8_t pad0;
0268 uint16_t sequence;
0269 uint32_t length;
0270 xcb_window_t root;
0271 } xcb_x_print_print_get_screen_of_context_reply_t;
0272
0273
0274 #define XCB_X_PRINT_PRINT_START_JOB 7
0275
0276
0277
0278
0279 typedef struct xcb_x_print_print_start_job_request_t {
0280 uint8_t major_opcode;
0281 uint8_t minor_opcode;
0282 uint16_t length;
0283 uint8_t output_mode;
0284 } xcb_x_print_print_start_job_request_t;
0285
0286
0287 #define XCB_X_PRINT_PRINT_END_JOB 8
0288
0289
0290
0291
0292 typedef struct xcb_x_print_print_end_job_request_t {
0293 uint8_t major_opcode;
0294 uint8_t minor_opcode;
0295 uint16_t length;
0296 uint8_t cancel;
0297 } xcb_x_print_print_end_job_request_t;
0298
0299
0300 #define XCB_X_PRINT_PRINT_START_DOC 9
0301
0302
0303
0304
0305 typedef struct xcb_x_print_print_start_doc_request_t {
0306 uint8_t major_opcode;
0307 uint8_t minor_opcode;
0308 uint16_t length;
0309 uint8_t driver_mode;
0310 } xcb_x_print_print_start_doc_request_t;
0311
0312
0313 #define XCB_X_PRINT_PRINT_END_DOC 10
0314
0315
0316
0317
0318 typedef struct xcb_x_print_print_end_doc_request_t {
0319 uint8_t major_opcode;
0320 uint8_t minor_opcode;
0321 uint16_t length;
0322 uint8_t cancel;
0323 } xcb_x_print_print_end_doc_request_t;
0324
0325
0326 #define XCB_X_PRINT_PRINT_PUT_DOCUMENT_DATA 11
0327
0328
0329
0330
0331 typedef struct xcb_x_print_print_put_document_data_request_t {
0332 uint8_t major_opcode;
0333 uint8_t minor_opcode;
0334 uint16_t length;
0335 xcb_drawable_t drawable;
0336 uint32_t len_data;
0337 uint16_t len_fmt;
0338 uint16_t len_options;
0339 } xcb_x_print_print_put_document_data_request_t;
0340
0341
0342
0343
0344 typedef struct xcb_x_print_print_get_document_data_cookie_t {
0345 unsigned int sequence;
0346 } xcb_x_print_print_get_document_data_cookie_t;
0347
0348
0349 #define XCB_X_PRINT_PRINT_GET_DOCUMENT_DATA 12
0350
0351
0352
0353
0354 typedef struct xcb_x_print_print_get_document_data_request_t {
0355 uint8_t major_opcode;
0356 uint8_t minor_opcode;
0357 uint16_t length;
0358 xcb_x_print_pcontext_t context;
0359 uint32_t max_bytes;
0360 } xcb_x_print_print_get_document_data_request_t;
0361
0362
0363
0364
0365 typedef struct xcb_x_print_print_get_document_data_reply_t {
0366 uint8_t response_type;
0367 uint8_t pad0;
0368 uint16_t sequence;
0369 uint32_t length;
0370 uint32_t status_code;
0371 uint32_t finished_flag;
0372 uint32_t dataLen;
0373 uint8_t pad1[12];
0374 } xcb_x_print_print_get_document_data_reply_t;
0375
0376
0377 #define XCB_X_PRINT_PRINT_START_PAGE 13
0378
0379
0380
0381
0382 typedef struct xcb_x_print_print_start_page_request_t {
0383 uint8_t major_opcode;
0384 uint8_t minor_opcode;
0385 uint16_t length;
0386 xcb_window_t window;
0387 } xcb_x_print_print_start_page_request_t;
0388
0389
0390 #define XCB_X_PRINT_PRINT_END_PAGE 14
0391
0392
0393
0394
0395 typedef struct xcb_x_print_print_end_page_request_t {
0396 uint8_t major_opcode;
0397 uint8_t minor_opcode;
0398 uint16_t length;
0399 uint8_t cancel;
0400 uint8_t pad0[3];
0401 } xcb_x_print_print_end_page_request_t;
0402
0403
0404 #define XCB_X_PRINT_PRINT_SELECT_INPUT 15
0405
0406
0407
0408
0409 typedef struct xcb_x_print_print_select_input_request_t {
0410 uint8_t major_opcode;
0411 uint8_t minor_opcode;
0412 uint16_t length;
0413 xcb_x_print_pcontext_t context;
0414 uint32_t event_mask;
0415 } xcb_x_print_print_select_input_request_t;
0416
0417
0418
0419
0420 typedef struct xcb_x_print_print_input_selected_cookie_t {
0421 unsigned int sequence;
0422 } xcb_x_print_print_input_selected_cookie_t;
0423
0424
0425 #define XCB_X_PRINT_PRINT_INPUT_SELECTED 16
0426
0427
0428
0429
0430 typedef struct xcb_x_print_print_input_selected_request_t {
0431 uint8_t major_opcode;
0432 uint8_t minor_opcode;
0433 uint16_t length;
0434 xcb_x_print_pcontext_t context;
0435 } xcb_x_print_print_input_selected_request_t;
0436
0437
0438
0439
0440 typedef struct xcb_x_print_print_input_selected_reply_t {
0441 uint8_t response_type;
0442 uint8_t pad0;
0443 uint16_t sequence;
0444 uint32_t length;
0445 uint32_t event_mask;
0446 uint32_t all_events_mask;
0447 } xcb_x_print_print_input_selected_reply_t;
0448
0449
0450
0451
0452 typedef struct xcb_x_print_print_get_attributes_cookie_t {
0453 unsigned int sequence;
0454 } xcb_x_print_print_get_attributes_cookie_t;
0455
0456
0457 #define XCB_X_PRINT_PRINT_GET_ATTRIBUTES 17
0458
0459
0460
0461
0462 typedef struct xcb_x_print_print_get_attributes_request_t {
0463 uint8_t major_opcode;
0464 uint8_t minor_opcode;
0465 uint16_t length;
0466 xcb_x_print_pcontext_t context;
0467 uint8_t pool;
0468 uint8_t pad0[3];
0469 } xcb_x_print_print_get_attributes_request_t;
0470
0471
0472
0473
0474 typedef struct xcb_x_print_print_get_attributes_reply_t {
0475 uint8_t response_type;
0476 uint8_t pad0;
0477 uint16_t sequence;
0478 uint32_t length;
0479 uint32_t stringLen;
0480 uint8_t pad1[20];
0481 } xcb_x_print_print_get_attributes_reply_t;
0482
0483
0484
0485
0486 typedef struct xcb_x_print_print_get_one_attributes_cookie_t {
0487 unsigned int sequence;
0488 } xcb_x_print_print_get_one_attributes_cookie_t;
0489
0490
0491 #define XCB_X_PRINT_PRINT_GET_ONE_ATTRIBUTES 19
0492
0493
0494
0495
0496 typedef struct xcb_x_print_print_get_one_attributes_request_t {
0497 uint8_t major_opcode;
0498 uint8_t minor_opcode;
0499 uint16_t length;
0500 xcb_x_print_pcontext_t context;
0501 uint32_t nameLen;
0502 uint8_t pool;
0503 uint8_t pad0[3];
0504 } xcb_x_print_print_get_one_attributes_request_t;
0505
0506
0507
0508
0509 typedef struct xcb_x_print_print_get_one_attributes_reply_t {
0510 uint8_t response_type;
0511 uint8_t pad0;
0512 uint16_t sequence;
0513 uint32_t length;
0514 uint32_t valueLen;
0515 uint8_t pad1[20];
0516 } xcb_x_print_print_get_one_attributes_reply_t;
0517
0518
0519 #define XCB_X_PRINT_PRINT_SET_ATTRIBUTES 18
0520
0521
0522
0523
0524 typedef struct xcb_x_print_print_set_attributes_request_t {
0525 uint8_t major_opcode;
0526 uint8_t minor_opcode;
0527 uint16_t length;
0528 xcb_x_print_pcontext_t context;
0529 uint32_t stringLen;
0530 uint8_t pool;
0531 uint8_t rule;
0532 uint8_t pad0[2];
0533 } xcb_x_print_print_set_attributes_request_t;
0534
0535
0536
0537
0538 typedef struct xcb_x_print_print_get_page_dimensions_cookie_t {
0539 unsigned int sequence;
0540 } xcb_x_print_print_get_page_dimensions_cookie_t;
0541
0542
0543 #define XCB_X_PRINT_PRINT_GET_PAGE_DIMENSIONS 21
0544
0545
0546
0547
0548 typedef struct xcb_x_print_print_get_page_dimensions_request_t {
0549 uint8_t major_opcode;
0550 uint8_t minor_opcode;
0551 uint16_t length;
0552 xcb_x_print_pcontext_t context;
0553 } xcb_x_print_print_get_page_dimensions_request_t;
0554
0555
0556
0557
0558 typedef struct xcb_x_print_print_get_page_dimensions_reply_t {
0559 uint8_t response_type;
0560 uint8_t pad0;
0561 uint16_t sequence;
0562 uint32_t length;
0563 uint16_t width;
0564 uint16_t height;
0565 uint16_t offset_x;
0566 uint16_t offset_y;
0567 uint16_t reproducible_width;
0568 uint16_t reproducible_height;
0569 } xcb_x_print_print_get_page_dimensions_reply_t;
0570
0571
0572
0573
0574 typedef struct xcb_x_print_print_query_screens_cookie_t {
0575 unsigned int sequence;
0576 } xcb_x_print_print_query_screens_cookie_t;
0577
0578
0579 #define XCB_X_PRINT_PRINT_QUERY_SCREENS 22
0580
0581
0582
0583
0584 typedef struct xcb_x_print_print_query_screens_request_t {
0585 uint8_t major_opcode;
0586 uint8_t minor_opcode;
0587 uint16_t length;
0588 } xcb_x_print_print_query_screens_request_t;
0589
0590
0591
0592
0593 typedef struct xcb_x_print_print_query_screens_reply_t {
0594 uint8_t response_type;
0595 uint8_t pad0;
0596 uint16_t sequence;
0597 uint32_t length;
0598 uint32_t listCount;
0599 uint8_t pad1[20];
0600 } xcb_x_print_print_query_screens_reply_t;
0601
0602
0603
0604
0605 typedef struct xcb_x_print_print_set_image_resolution_cookie_t {
0606 unsigned int sequence;
0607 } xcb_x_print_print_set_image_resolution_cookie_t;
0608
0609
0610 #define XCB_X_PRINT_PRINT_SET_IMAGE_RESOLUTION 23
0611
0612
0613
0614
0615 typedef struct xcb_x_print_print_set_image_resolution_request_t {
0616 uint8_t major_opcode;
0617 uint8_t minor_opcode;
0618 uint16_t length;
0619 xcb_x_print_pcontext_t context;
0620 uint16_t image_resolution;
0621 } xcb_x_print_print_set_image_resolution_request_t;
0622
0623
0624
0625
0626 typedef struct xcb_x_print_print_set_image_resolution_reply_t {
0627 uint8_t response_type;
0628 uint8_t status;
0629 uint16_t sequence;
0630 uint32_t length;
0631 uint16_t previous_resolutions;
0632 } xcb_x_print_print_set_image_resolution_reply_t;
0633
0634
0635
0636
0637 typedef struct xcb_x_print_print_get_image_resolution_cookie_t {
0638 unsigned int sequence;
0639 } xcb_x_print_print_get_image_resolution_cookie_t;
0640
0641
0642 #define XCB_X_PRINT_PRINT_GET_IMAGE_RESOLUTION 24
0643
0644
0645
0646
0647 typedef struct xcb_x_print_print_get_image_resolution_request_t {
0648 uint8_t major_opcode;
0649 uint8_t minor_opcode;
0650 uint16_t length;
0651 xcb_x_print_pcontext_t context;
0652 } xcb_x_print_print_get_image_resolution_request_t;
0653
0654
0655
0656
0657 typedef struct xcb_x_print_print_get_image_resolution_reply_t {
0658 uint8_t response_type;
0659 uint8_t pad0;
0660 uint16_t sequence;
0661 uint32_t length;
0662 uint16_t image_resolution;
0663 } xcb_x_print_print_get_image_resolution_reply_t;
0664
0665
0666 #define XCB_X_PRINT_NOTIFY 0
0667
0668
0669
0670
0671 typedef struct xcb_x_print_notify_event_t {
0672 uint8_t response_type;
0673 uint8_t detail;
0674 uint16_t sequence;
0675 xcb_x_print_pcontext_t context;
0676 uint8_t cancel;
0677 } xcb_x_print_notify_event_t;
0678
0679
0680 #define XCB_X_PRINT_ATTRIBUT_NOTIFY 1
0681
0682
0683
0684
0685 typedef struct xcb_x_print_attribut_notify_event_t {
0686 uint8_t response_type;
0687 uint8_t detail;
0688 uint16_t sequence;
0689 xcb_x_print_pcontext_t context;
0690 } xcb_x_print_attribut_notify_event_t;
0691
0692
0693 #define XCB_X_PRINT_BAD_CONTEXT 0
0694
0695
0696
0697
0698 typedef struct xcb_x_print_bad_context_error_t {
0699 uint8_t response_type;
0700 uint8_t error_code;
0701 uint16_t sequence;
0702 uint32_t bad_value;
0703 uint16_t minor_opcode;
0704 uint8_t major_opcode;
0705 } xcb_x_print_bad_context_error_t;
0706
0707
0708 #define XCB_X_PRINT_BAD_SEQUENCE 1
0709
0710
0711
0712
0713 typedef struct xcb_x_print_bad_sequence_error_t {
0714 uint8_t response_type;
0715 uint8_t error_code;
0716 uint16_t sequence;
0717 uint32_t bad_value;
0718 uint16_t minor_opcode;
0719 uint8_t major_opcode;
0720 } xcb_x_print_bad_sequence_error_t;
0721
0722
0723
0724
0725
0726
0727
0728
0729
0730 void
0731 xcb_x_print_string8_next (xcb_x_print_string8_iterator_t *i);
0732
0733
0734
0735
0736
0737
0738
0739
0740
0741
0742 xcb_generic_iterator_t
0743 xcb_x_print_string8_end (xcb_x_print_string8_iterator_t i);
0744
0745 int
0746 xcb_x_print_printer_serialize (void **_buffer,
0747 const xcb_x_print_printer_t *_aux,
0748 const xcb_x_print_string8_t *name,
0749 const xcb_x_print_string8_t *description);
0750
0751 int
0752 xcb_x_print_printer_unserialize (const void *_buffer,
0753 xcb_x_print_printer_t **_aux);
0754
0755 int
0756 xcb_x_print_printer_sizeof (const void *_buffer);
0757
0758 xcb_x_print_string8_t *
0759 xcb_x_print_printer_name (const xcb_x_print_printer_t *R);
0760
0761 int
0762 xcb_x_print_printer_name_length (const xcb_x_print_printer_t *R);
0763
0764 xcb_generic_iterator_t
0765 xcb_x_print_printer_name_end (const xcb_x_print_printer_t *R);
0766
0767 xcb_x_print_string8_t *
0768 xcb_x_print_printer_description (const xcb_x_print_printer_t *R);
0769
0770 int
0771 xcb_x_print_printer_description_length (const xcb_x_print_printer_t *R);
0772
0773 xcb_generic_iterator_t
0774 xcb_x_print_printer_description_end (const xcb_x_print_printer_t *R);
0775
0776
0777
0778
0779
0780
0781
0782
0783
0784 void
0785 xcb_x_print_printer_next (xcb_x_print_printer_iterator_t *i);
0786
0787
0788
0789
0790
0791
0792
0793
0794
0795
0796 xcb_generic_iterator_t
0797 xcb_x_print_printer_end (xcb_x_print_printer_iterator_t i);
0798
0799
0800
0801
0802
0803
0804
0805
0806
0807 void
0808 xcb_x_print_pcontext_next (xcb_x_print_pcontext_iterator_t *i);
0809
0810
0811
0812
0813
0814
0815
0816
0817
0818
0819 xcb_generic_iterator_t
0820 xcb_x_print_pcontext_end (xcb_x_print_pcontext_iterator_t i);
0821
0822
0823
0824
0825
0826
0827
0828
0829
0830 xcb_x_print_print_query_version_cookie_t
0831 xcb_x_print_print_query_version (xcb_connection_t *c);
0832
0833
0834
0835
0836
0837
0838
0839
0840
0841
0842
0843
0844 xcb_x_print_print_query_version_cookie_t
0845 xcb_x_print_print_query_version_unchecked (xcb_connection_t *c);
0846
0847
0848
0849
0850
0851
0852
0853
0854
0855
0856
0857
0858
0859
0860
0861 xcb_x_print_print_query_version_reply_t *
0862 xcb_x_print_print_query_version_reply (xcb_connection_t *c,
0863 xcb_x_print_print_query_version_cookie_t cookie ,
0864 xcb_generic_error_t **e);
0865
0866 int
0867 xcb_x_print_print_get_printer_list_sizeof (const void *_buffer);
0868
0869
0870
0871
0872
0873
0874
0875
0876
0877 xcb_x_print_print_get_printer_list_cookie_t
0878 xcb_x_print_print_get_printer_list (xcb_connection_t *c,
0879 uint32_t printerNameLen,
0880 uint32_t localeLen,
0881 const xcb_x_print_string8_t *printer_name,
0882 const xcb_x_print_string8_t *locale);
0883
0884
0885
0886
0887
0888
0889
0890
0891
0892
0893
0894
0895 xcb_x_print_print_get_printer_list_cookie_t
0896 xcb_x_print_print_get_printer_list_unchecked (xcb_connection_t *c,
0897 uint32_t printerNameLen,
0898 uint32_t localeLen,
0899 const xcb_x_print_string8_t *printer_name,
0900 const xcb_x_print_string8_t *locale);
0901
0902 int
0903 xcb_x_print_print_get_printer_list_printers_length (const xcb_x_print_print_get_printer_list_reply_t *R);
0904
0905 xcb_x_print_printer_iterator_t
0906 xcb_x_print_print_get_printer_list_printers_iterator (const xcb_x_print_print_get_printer_list_reply_t *R);
0907
0908
0909
0910
0911
0912
0913
0914
0915
0916
0917
0918
0919
0920
0921
0922 xcb_x_print_print_get_printer_list_reply_t *
0923 xcb_x_print_print_get_printer_list_reply (xcb_connection_t *c,
0924 xcb_x_print_print_get_printer_list_cookie_t cookie ,
0925 xcb_generic_error_t **e);
0926
0927
0928
0929
0930
0931
0932
0933
0934
0935
0936
0937
0938 xcb_void_cookie_t
0939 xcb_x_print_print_rehash_printer_list_checked (xcb_connection_t *c);
0940
0941
0942
0943
0944
0945
0946
0947
0948
0949 xcb_void_cookie_t
0950 xcb_x_print_print_rehash_printer_list (xcb_connection_t *c);
0951
0952 int
0953 xcb_x_print_create_context_sizeof (const void *_buffer);
0954
0955
0956
0957
0958
0959
0960
0961
0962
0963
0964
0965
0966 xcb_void_cookie_t
0967 xcb_x_print_create_context_checked (xcb_connection_t *c,
0968 uint32_t context_id,
0969 uint32_t printerNameLen,
0970 uint32_t localeLen,
0971 const xcb_x_print_string8_t *printerName,
0972 const xcb_x_print_string8_t *locale);
0973
0974
0975
0976
0977
0978
0979
0980
0981
0982 xcb_void_cookie_t
0983 xcb_x_print_create_context (xcb_connection_t *c,
0984 uint32_t context_id,
0985 uint32_t printerNameLen,
0986 uint32_t localeLen,
0987 const xcb_x_print_string8_t *printerName,
0988 const xcb_x_print_string8_t *locale);
0989
0990 xcb_x_print_string8_t *
0991 xcb_x_print_create_context_printer_name (const xcb_x_print_create_context_request_t *R);
0992
0993 int
0994 xcb_x_print_create_context_printer_name_length (const xcb_x_print_create_context_request_t *R);
0995
0996 xcb_generic_iterator_t
0997 xcb_x_print_create_context_printer_name_end (const xcb_x_print_create_context_request_t *R);
0998
0999 xcb_x_print_string8_t *
1000 xcb_x_print_create_context_locale (const xcb_x_print_create_context_request_t *R);
1001
1002 int
1003 xcb_x_print_create_context_locale_length (const xcb_x_print_create_context_request_t *R);
1004
1005 xcb_generic_iterator_t
1006 xcb_x_print_create_context_locale_end (const xcb_x_print_create_context_request_t *R);
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019 xcb_void_cookie_t
1020 xcb_x_print_print_set_context_checked (xcb_connection_t *c,
1021 uint32_t context);
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031 xcb_void_cookie_t
1032 xcb_x_print_print_set_context (xcb_connection_t *c,
1033 uint32_t context);
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043 xcb_x_print_print_get_context_cookie_t
1044 xcb_x_print_print_get_context (xcb_connection_t *c);
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057 xcb_x_print_print_get_context_cookie_t
1058 xcb_x_print_print_get_context_unchecked (xcb_connection_t *c);
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074 xcb_x_print_print_get_context_reply_t *
1075 xcb_x_print_print_get_context_reply (xcb_connection_t *c,
1076 xcb_x_print_print_get_context_cookie_t cookie ,
1077 xcb_generic_error_t **e);
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090 xcb_void_cookie_t
1091 xcb_x_print_print_destroy_context_checked (xcb_connection_t *c,
1092 uint32_t context);
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102 xcb_void_cookie_t
1103 xcb_x_print_print_destroy_context (xcb_connection_t *c,
1104 uint32_t context);
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114 xcb_x_print_print_get_screen_of_context_cookie_t
1115 xcb_x_print_print_get_screen_of_context (xcb_connection_t *c);
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128 xcb_x_print_print_get_screen_of_context_cookie_t
1129 xcb_x_print_print_get_screen_of_context_unchecked (xcb_connection_t *c);
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145 xcb_x_print_print_get_screen_of_context_reply_t *
1146 xcb_x_print_print_get_screen_of_context_reply (xcb_connection_t *c,
1147 xcb_x_print_print_get_screen_of_context_cookie_t cookie ,
1148 xcb_generic_error_t **e);
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161 xcb_void_cookie_t
1162 xcb_x_print_print_start_job_checked (xcb_connection_t *c,
1163 uint8_t output_mode);
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173 xcb_void_cookie_t
1174 xcb_x_print_print_start_job (xcb_connection_t *c,
1175 uint8_t output_mode);
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188 xcb_void_cookie_t
1189 xcb_x_print_print_end_job_checked (xcb_connection_t *c,
1190 uint8_t cancel);
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200 xcb_void_cookie_t
1201 xcb_x_print_print_end_job (xcb_connection_t *c,
1202 uint8_t cancel);
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215 xcb_void_cookie_t
1216 xcb_x_print_print_start_doc_checked (xcb_connection_t *c,
1217 uint8_t driver_mode);
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227 xcb_void_cookie_t
1228 xcb_x_print_print_start_doc (xcb_connection_t *c,
1229 uint8_t driver_mode);
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242 xcb_void_cookie_t
1243 xcb_x_print_print_end_doc_checked (xcb_connection_t *c,
1244 uint8_t cancel);
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254 xcb_void_cookie_t
1255 xcb_x_print_print_end_doc (xcb_connection_t *c,
1256 uint8_t cancel);
1257
1258 int
1259 xcb_x_print_print_put_document_data_sizeof (const void *_buffer);
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272 xcb_void_cookie_t
1273 xcb_x_print_print_put_document_data_checked (xcb_connection_t *c,
1274 xcb_drawable_t drawable,
1275 uint32_t len_data,
1276 uint16_t len_fmt,
1277 uint16_t len_options,
1278 const uint8_t *data,
1279 const xcb_x_print_string8_t *doc_format,
1280 const xcb_x_print_string8_t *options);
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290 xcb_void_cookie_t
1291 xcb_x_print_print_put_document_data (xcb_connection_t *c,
1292 xcb_drawable_t drawable,
1293 uint32_t len_data,
1294 uint16_t len_fmt,
1295 uint16_t len_options,
1296 const uint8_t *data,
1297 const xcb_x_print_string8_t *doc_format,
1298 const xcb_x_print_string8_t *options);
1299
1300 uint8_t *
1301 xcb_x_print_print_put_document_data_data (const xcb_x_print_print_put_document_data_request_t *R);
1302
1303 int
1304 xcb_x_print_print_put_document_data_data_length (const xcb_x_print_print_put_document_data_request_t *R);
1305
1306 xcb_generic_iterator_t
1307 xcb_x_print_print_put_document_data_data_end (const xcb_x_print_print_put_document_data_request_t *R);
1308
1309 xcb_x_print_string8_t *
1310 xcb_x_print_print_put_document_data_doc_format (const xcb_x_print_print_put_document_data_request_t *R);
1311
1312 int
1313 xcb_x_print_print_put_document_data_doc_format_length (const xcb_x_print_print_put_document_data_request_t *R);
1314
1315 xcb_generic_iterator_t
1316 xcb_x_print_print_put_document_data_doc_format_end (const xcb_x_print_print_put_document_data_request_t *R);
1317
1318 xcb_x_print_string8_t *
1319 xcb_x_print_print_put_document_data_options (const xcb_x_print_print_put_document_data_request_t *R);
1320
1321 int
1322 xcb_x_print_print_put_document_data_options_length (const xcb_x_print_print_put_document_data_request_t *R);
1323
1324 xcb_generic_iterator_t
1325 xcb_x_print_print_put_document_data_options_end (const xcb_x_print_print_put_document_data_request_t *R);
1326
1327 int
1328 xcb_x_print_print_get_document_data_sizeof (const void *_buffer);
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338 xcb_x_print_print_get_document_data_cookie_t
1339 xcb_x_print_print_get_document_data (xcb_connection_t *c,
1340 xcb_x_print_pcontext_t context,
1341 uint32_t max_bytes);
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354 xcb_x_print_print_get_document_data_cookie_t
1355 xcb_x_print_print_get_document_data_unchecked (xcb_connection_t *c,
1356 xcb_x_print_pcontext_t context,
1357 uint32_t max_bytes);
1358
1359 uint8_t *
1360 xcb_x_print_print_get_document_data_data (const xcb_x_print_print_get_document_data_reply_t *R);
1361
1362 int
1363 xcb_x_print_print_get_document_data_data_length (const xcb_x_print_print_get_document_data_reply_t *R);
1364
1365 xcb_generic_iterator_t
1366 xcb_x_print_print_get_document_data_data_end (const xcb_x_print_print_get_document_data_reply_t *R);
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382 xcb_x_print_print_get_document_data_reply_t *
1383 xcb_x_print_print_get_document_data_reply (xcb_connection_t *c,
1384 xcb_x_print_print_get_document_data_cookie_t cookie ,
1385 xcb_generic_error_t **e);
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398 xcb_void_cookie_t
1399 xcb_x_print_print_start_page_checked (xcb_connection_t *c,
1400 xcb_window_t window);
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410 xcb_void_cookie_t
1411 xcb_x_print_print_start_page (xcb_connection_t *c,
1412 xcb_window_t window);
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425 xcb_void_cookie_t
1426 xcb_x_print_print_end_page_checked (xcb_connection_t *c,
1427 uint8_t cancel);
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437 xcb_void_cookie_t
1438 xcb_x_print_print_end_page (xcb_connection_t *c,
1439 uint8_t cancel);
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452 xcb_void_cookie_t
1453 xcb_x_print_print_select_input_checked (xcb_connection_t *c,
1454 xcb_x_print_pcontext_t context,
1455 uint32_t event_mask);
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465 xcb_void_cookie_t
1466 xcb_x_print_print_select_input (xcb_connection_t *c,
1467 xcb_x_print_pcontext_t context,
1468 uint32_t event_mask);
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478 xcb_x_print_print_input_selected_cookie_t
1479 xcb_x_print_print_input_selected (xcb_connection_t *c,
1480 xcb_x_print_pcontext_t context);
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493 xcb_x_print_print_input_selected_cookie_t
1494 xcb_x_print_print_input_selected_unchecked (xcb_connection_t *c,
1495 xcb_x_print_pcontext_t context);
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511 xcb_x_print_print_input_selected_reply_t *
1512 xcb_x_print_print_input_selected_reply (xcb_connection_t *c,
1513 xcb_x_print_print_input_selected_cookie_t cookie ,
1514 xcb_generic_error_t **e);
1515
1516 int
1517 xcb_x_print_print_get_attributes_sizeof (const void *_buffer);
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527 xcb_x_print_print_get_attributes_cookie_t
1528 xcb_x_print_print_get_attributes (xcb_connection_t *c,
1529 xcb_x_print_pcontext_t context,
1530 uint8_t pool);
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543 xcb_x_print_print_get_attributes_cookie_t
1544 xcb_x_print_print_get_attributes_unchecked (xcb_connection_t *c,
1545 xcb_x_print_pcontext_t context,
1546 uint8_t pool);
1547
1548 xcb_x_print_string8_t *
1549 xcb_x_print_print_get_attributes_attributes (const xcb_x_print_print_get_attributes_reply_t *R);
1550
1551 int
1552 xcb_x_print_print_get_attributes_attributes_length (const xcb_x_print_print_get_attributes_reply_t *R);
1553
1554 xcb_generic_iterator_t
1555 xcb_x_print_print_get_attributes_attributes_end (const xcb_x_print_print_get_attributes_reply_t *R);
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571 xcb_x_print_print_get_attributes_reply_t *
1572 xcb_x_print_print_get_attributes_reply (xcb_connection_t *c,
1573 xcb_x_print_print_get_attributes_cookie_t cookie ,
1574 xcb_generic_error_t **e);
1575
1576 int
1577 xcb_x_print_print_get_one_attributes_sizeof (const void *_buffer);
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587 xcb_x_print_print_get_one_attributes_cookie_t
1588 xcb_x_print_print_get_one_attributes (xcb_connection_t *c,
1589 xcb_x_print_pcontext_t context,
1590 uint32_t nameLen,
1591 uint8_t pool,
1592 const xcb_x_print_string8_t *name);
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605 xcb_x_print_print_get_one_attributes_cookie_t
1606 xcb_x_print_print_get_one_attributes_unchecked (xcb_connection_t *c,
1607 xcb_x_print_pcontext_t context,
1608 uint32_t nameLen,
1609 uint8_t pool,
1610 const xcb_x_print_string8_t *name);
1611
1612 xcb_x_print_string8_t *
1613 xcb_x_print_print_get_one_attributes_value (const xcb_x_print_print_get_one_attributes_reply_t *R);
1614
1615 int
1616 xcb_x_print_print_get_one_attributes_value_length (const xcb_x_print_print_get_one_attributes_reply_t *R);
1617
1618 xcb_generic_iterator_t
1619 xcb_x_print_print_get_one_attributes_value_end (const xcb_x_print_print_get_one_attributes_reply_t *R);
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635 xcb_x_print_print_get_one_attributes_reply_t *
1636 xcb_x_print_print_get_one_attributes_reply (xcb_connection_t *c,
1637 xcb_x_print_print_get_one_attributes_cookie_t cookie ,
1638 xcb_generic_error_t **e);
1639
1640 int
1641 xcb_x_print_print_set_attributes_sizeof (const void *_buffer,
1642 uint32_t attributes_len);
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655 xcb_void_cookie_t
1656 xcb_x_print_print_set_attributes_checked (xcb_connection_t *c,
1657 xcb_x_print_pcontext_t context,
1658 uint32_t stringLen,
1659 uint8_t pool,
1660 uint8_t rule,
1661 uint32_t attributes_len,
1662 const xcb_x_print_string8_t *attributes);
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672 xcb_void_cookie_t
1673 xcb_x_print_print_set_attributes (xcb_connection_t *c,
1674 xcb_x_print_pcontext_t context,
1675 uint32_t stringLen,
1676 uint8_t pool,
1677 uint8_t rule,
1678 uint32_t attributes_len,
1679 const xcb_x_print_string8_t *attributes);
1680
1681 xcb_x_print_string8_t *
1682 xcb_x_print_print_set_attributes_attributes (const xcb_x_print_print_set_attributes_request_t *R);
1683
1684 int
1685 xcb_x_print_print_set_attributes_attributes_length (const xcb_x_print_print_set_attributes_request_t *R);
1686
1687 xcb_generic_iterator_t
1688 xcb_x_print_print_set_attributes_attributes_end (const xcb_x_print_print_set_attributes_request_t *R);
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698 xcb_x_print_print_get_page_dimensions_cookie_t
1699 xcb_x_print_print_get_page_dimensions (xcb_connection_t *c,
1700 xcb_x_print_pcontext_t context);
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713 xcb_x_print_print_get_page_dimensions_cookie_t
1714 xcb_x_print_print_get_page_dimensions_unchecked (xcb_connection_t *c,
1715 xcb_x_print_pcontext_t context);
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731 xcb_x_print_print_get_page_dimensions_reply_t *
1732 xcb_x_print_print_get_page_dimensions_reply (xcb_connection_t *c,
1733 xcb_x_print_print_get_page_dimensions_cookie_t cookie ,
1734 xcb_generic_error_t **e);
1735
1736 int
1737 xcb_x_print_print_query_screens_sizeof (const void *_buffer);
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747 xcb_x_print_print_query_screens_cookie_t
1748 xcb_x_print_print_query_screens (xcb_connection_t *c);
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761 xcb_x_print_print_query_screens_cookie_t
1762 xcb_x_print_print_query_screens_unchecked (xcb_connection_t *c);
1763
1764 xcb_window_t *
1765 xcb_x_print_print_query_screens_roots (const xcb_x_print_print_query_screens_reply_t *R);
1766
1767 int
1768 xcb_x_print_print_query_screens_roots_length (const xcb_x_print_print_query_screens_reply_t *R);
1769
1770 xcb_generic_iterator_t
1771 xcb_x_print_print_query_screens_roots_end (const xcb_x_print_print_query_screens_reply_t *R);
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787 xcb_x_print_print_query_screens_reply_t *
1788 xcb_x_print_print_query_screens_reply (xcb_connection_t *c,
1789 xcb_x_print_print_query_screens_cookie_t cookie ,
1790 xcb_generic_error_t **e);
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800 xcb_x_print_print_set_image_resolution_cookie_t
1801 xcb_x_print_print_set_image_resolution (xcb_connection_t *c,
1802 xcb_x_print_pcontext_t context,
1803 uint16_t image_resolution);
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816 xcb_x_print_print_set_image_resolution_cookie_t
1817 xcb_x_print_print_set_image_resolution_unchecked (xcb_connection_t *c,
1818 xcb_x_print_pcontext_t context,
1819 uint16_t image_resolution);
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835 xcb_x_print_print_set_image_resolution_reply_t *
1836 xcb_x_print_print_set_image_resolution_reply (xcb_connection_t *c,
1837 xcb_x_print_print_set_image_resolution_cookie_t cookie ,
1838 xcb_generic_error_t **e);
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848 xcb_x_print_print_get_image_resolution_cookie_t
1849 xcb_x_print_print_get_image_resolution (xcb_connection_t *c,
1850 xcb_x_print_pcontext_t context);
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863 xcb_x_print_print_get_image_resolution_cookie_t
1864 xcb_x_print_print_get_image_resolution_unchecked (xcb_connection_t *c,
1865 xcb_x_print_pcontext_t context);
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881 xcb_x_print_print_get_image_resolution_reply_t *
1882 xcb_x_print_print_get_image_resolution_reply (xcb_connection_t *c,
1883 xcb_x_print_print_get_image_resolution_cookie_t cookie ,
1884 xcb_generic_error_t **e);
1885
1886
1887 #ifdef __cplusplus
1888 }
1889 #endif
1890
1891 #endif
1892
1893
1894
1895