~ubuntu-branches/ubuntu/lucid/libxcb/lucid-security

« back to all changes in this revision

Viewing changes to src/xprint.h

  • Committer: Bazaar Package Importer
  • Author(s): Jamey Sharp
  • Date: 2007-11-24 14:59:42 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20071124145942-gce8qu0vw9itcyqa
Tags: 1.1-1
* New upstream release.
* Depend on xcb-proto between 1.1 and 2.0.
* Lintian fix: ${binary:Version}, not ${Source-Version}.
* Update Vcs-* and Homepage: headers for dpkg 1.14.6.

Show diffs side-by-side

added added

removed removed

Lines of Context:
788
788
xcb_x_print_string8_iterator_t
789
789
xcb_x_print_printer_description_iterator (const xcb_x_print_printer_t *R  /**< */);
790
790
 
 
791
/**
 
792
 * Get the next element of the iterator
 
793
 * @param i Pointer to a xcb_x_print_printer_iterator_t
 
794
 *
 
795
 * Get the next element in the iterator. The member rem is
 
796
 * decreased by one. The member data points to the next
 
797
 * element. The member index is increased by sizeof(xcb_x_print_printer_t)
 
798
 */
791
799
 
792
800
/*****************************************************************************
793
801
 **
801
809
void
802
810
xcb_x_print_printer_next (xcb_x_print_printer_iterator_t *i  /**< */);
803
811
 
 
812
/**
 
813
 * Return the iterator pointing to the last element
 
814
 * @param i An xcb_x_print_printer_iterator_t
 
815
 * @return  The iterator pointing to the last element
 
816
 *
 
817
 * Set the current element in the iterator to the last element.
 
818
 * The member rem is set to 0. The member data points to the
 
819
 * last element.
 
820
 */
804
821
 
805
822
/*****************************************************************************
806
823
 **
814
831
xcb_generic_iterator_t
815
832
xcb_x_print_printer_end (xcb_x_print_printer_iterator_t i  /**< */);
816
833
 
 
834
/**
 
835
 * Get the next element of the iterator
 
836
 * @param i Pointer to a xcb_x_print_pcontext_iterator_t
 
837
 *
 
838
 * Get the next element in the iterator. The member rem is
 
839
 * decreased by one. The member data points to the next
 
840
 * element. The member index is increased by sizeof(xcb_x_print_pcontext_t)
 
841
 */
817
842
 
818
843
/*****************************************************************************
819
844
 **
827
852
void
828
853
xcb_x_print_pcontext_next (xcb_x_print_pcontext_iterator_t *i  /**< */);
829
854
 
 
855
/**
 
856
 * Return the iterator pointing to the last element
 
857
 * @param i An xcb_x_print_pcontext_iterator_t
 
858
 * @return  The iterator pointing to the last element
 
859
 *
 
860
 * Set the current element in the iterator to the last element.
 
861
 * The member rem is set to 0. The member data points to the
 
862
 * last element.
 
863
 */
830
864
 
831
865
/*****************************************************************************
832
866
 **
840
874
xcb_generic_iterator_t
841
875
xcb_x_print_pcontext_end (xcb_x_print_pcontext_iterator_t i  /**< */);
842
876
 
 
877
/**
 
878
 * Get the next element of the iterator
 
879
 * @param i Pointer to a xcb_x_print_string8_iterator_t
 
880
 *
 
881
 * Get the next element in the iterator. The member rem is
 
882
 * decreased by one. The member data points to the next
 
883
 * element. The member index is increased by sizeof(xcb_x_print_string8_t)
 
884
 */
843
885
 
844
886
/*****************************************************************************
845
887
 **
853
895
void
854
896
xcb_x_print_string8_next (xcb_x_print_string8_iterator_t *i  /**< */);
855
897
 
 
898
/**
 
899
 * Return the iterator pointing to the last element
 
900
 * @param i An xcb_x_print_string8_iterator_t
 
901
 * @return  The iterator pointing to the last element
 
902
 *
 
903
 * Set the current element in the iterator to the last element.
 
904
 * The member rem is set to 0. The member data points to the
 
905
 * last element.
 
906
 */
856
907
 
857
908
/*****************************************************************************
858
909
 **
866
917
xcb_generic_iterator_t
867
918
xcb_x_print_string8_end (xcb_x_print_string8_iterator_t i  /**< */);
868
919
 
 
920
/**
 
921
 * Delivers a request to the X server
 
922
 * @param c The connection
 
923
 * @return A cookie
 
924
 *
 
925
 * Delivers a request to the X server.
 
926
 * 
 
927
 */
869
928
 
870
929
/*****************************************************************************
871
930
 **
879
938
xcb_x_print_print_query_version_cookie_t
880
939
xcb_x_print_print_query_version (xcb_connection_t *c  /**< */);
881
940
 
 
941
/**
 
942
 * Delivers a request to the X server
 
943
 * @param c The connection
 
944
 * @return A cookie
 
945
 *
 
946
 * Delivers a request to the X server.
 
947
 * 
 
948
 * This form can be used only if the request will cause
 
949
 * a reply to be generated. Any returned error will be
 
950
 * placed in the event queue.
 
951
 */
882
952
 
883
953
/*****************************************************************************
884
954
 **
892
962
xcb_x_print_print_query_version_cookie_t
893
963
xcb_x_print_print_query_version_unchecked (xcb_connection_t *c  /**< */);
894
964
 
 
965
/**
 
966
 * Return the reply
 
967
 * @param c      The connection
 
968
 * @param cookie The cookie
 
969
 * @param e      The xcb_generic_error_t supplied
 
970
 *
 
971
 * Returns the reply of the request asked by
 
972
 * 
 
973
 * The parameter @p e supplied to this function must be NULL if
 
974
 * xcb_x_print_print_query_version_unchecked(). is used.
 
975
 * Otherwise, it stores the error if any.
 
976
 */
895
977
 
896
978
/*****************************************************************************
897
979
 **
909
991
                                       xcb_x_print_print_query_version_cookie_t   cookie  /**< */,
910
992
                                       xcb_generic_error_t                      **e  /**< */);
911
993
 
 
994
/**
 
995
 * Delivers a request to the X server
 
996
 * @param c The connection
 
997
 * @return A cookie
 
998
 *
 
999
 * Delivers a request to the X server.
 
1000
 * 
 
1001
 */
912
1002
 
913
1003
/*****************************************************************************
914
1004
 **
930
1020
                                    const xcb_x_print_string8_t *printer_name  /**< */,
931
1021
                                    const xcb_x_print_string8_t *locale  /**< */);
932
1022
 
 
1023
/**
 
1024
 * Delivers a request to the X server
 
1025
 * @param c The connection
 
1026
 * @return A cookie
 
1027
 *
 
1028
 * Delivers a request to the X server.
 
1029
 * 
 
1030
 * This form can be used only if the request will cause
 
1031
 * a reply to be generated. Any returned error will be
 
1032
 * placed in the event queue.
 
1033
 */
933
1034
 
934
1035
/*****************************************************************************
935
1036
 **
977
1078
xcb_x_print_printer_iterator_t
978
1079
xcb_x_print_print_get_printer_list_printers_iterator (const xcb_x_print_print_get_printer_list_reply_t *R  /**< */);
979
1080
 
 
1081
/**
 
1082
 * Return the reply
 
1083
 * @param c      The connection
 
1084
 * @param cookie The cookie
 
1085
 * @param e      The xcb_generic_error_t supplied
 
1086
 *
 
1087
 * Returns the reply of the request asked by
 
1088
 * 
 
1089
 * The parameter @p e supplied to this function must be NULL if
 
1090
 * xcb_x_print_print_get_printer_list_unchecked(). is used.
 
1091
 * Otherwise, it stores the error if any.
 
1092
 */
980
1093
 
981
1094
/*****************************************************************************
982
1095
 **
994
1107
                                          xcb_x_print_print_get_printer_list_cookie_t   cookie  /**< */,
995
1108
                                          xcb_generic_error_t                         **e  /**< */);
996
1109
 
 
1110
/**
 
1111
 * Delivers a request to the X server
 
1112
 * @param c The connection
 
1113
 * @return A cookie
 
1114
 *
 
1115
 * Delivers a request to the X server.
 
1116
 * 
 
1117
 * This form can be used only if the request will not cause
 
1118
 * a reply to be generated. Any returned error will be
 
1119
 * saved for handling by xcb_request_check().
 
1120
 */
997
1121
 
998
1122
/*****************************************************************************
999
1123
 **
1007
1131
xcb_void_cookie_t
1008
1132
xcb_x_print_print_rehash_printer_list_checked (xcb_connection_t *c  /**< */);
1009
1133
 
 
1134
/**
 
1135
 * Delivers a request to the X server
 
1136
 * @param c The connection
 
1137
 * @return A cookie
 
1138
 *
 
1139
 * Delivers a request to the X server.
 
1140
 * 
 
1141
 */
1010
1142
 
1011
1143
/*****************************************************************************
1012
1144
 **
1020
1152
xcb_void_cookie_t
1021
1153
xcb_x_print_print_rehash_printer_list (xcb_connection_t *c  /**< */);
1022
1154
 
 
1155
/**
 
1156
 * Delivers a request to the X server
 
1157
 * @param c The connection
 
1158
 * @return A cookie
 
1159
 *
 
1160
 * Delivers a request to the X server.
 
1161
 * 
 
1162
 * This form can be used only if the request will not cause
 
1163
 * a reply to be generated. Any returned error will be
 
1164
 * saved for handling by xcb_request_check().
 
1165
 */
1023
1166
 
1024
1167
/*****************************************************************************
1025
1168
 **
1043
1186
                                    const xcb_x_print_string8_t *printerName  /**< */,
1044
1187
                                    const xcb_x_print_string8_t *locale  /**< */);
1045
1188
 
 
1189
/**
 
1190
 * Delivers a request to the X server
 
1191
 * @param c The connection
 
1192
 * @return A cookie
 
1193
 *
 
1194
 * Delivers a request to the X server.
 
1195
 * 
 
1196
 */
1046
1197
 
1047
1198
/*****************************************************************************
1048
1199
 **
1066
1217
                            const xcb_x_print_string8_t *printerName  /**< */,
1067
1218
                            const xcb_x_print_string8_t *locale  /**< */);
1068
1219
 
 
1220
/**
 
1221
 * Delivers a request to the X server
 
1222
 * @param c The connection
 
1223
 * @return A cookie
 
1224
 *
 
1225
 * Delivers a request to the X server.
 
1226
 * 
 
1227
 * This form can be used only if the request will not cause
 
1228
 * a reply to be generated. Any returned error will be
 
1229
 * saved for handling by xcb_request_check().
 
1230
 */
1069
1231
 
1070
1232
/*****************************************************************************
1071
1233
 **
1081
1243
xcb_x_print_print_set_context_checked (xcb_connection_t *c  /**< */,
1082
1244
                                       uint32_t          context  /**< */);
1083
1245
 
 
1246
/**
 
1247
 * Delivers a request to the X server
 
1248
 * @param c The connection
 
1249
 * @return A cookie
 
1250
 *
 
1251
 * Delivers a request to the X server.
 
1252
 * 
 
1253
 */
1084
1254
 
1085
1255
/*****************************************************************************
1086
1256
 **
1096
1266
xcb_x_print_print_set_context (xcb_connection_t *c  /**< */,
1097
1267
                               uint32_t          context  /**< */);
1098
1268
 
 
1269
/**
 
1270
 * Delivers a request to the X server
 
1271
 * @param c The connection
 
1272
 * @return A cookie
 
1273
 *
 
1274
 * Delivers a request to the X server.
 
1275
 * 
 
1276
 */
1099
1277
 
1100
1278
/*****************************************************************************
1101
1279
 **
1109
1287
xcb_x_print_print_get_context_cookie_t
1110
1288
xcb_x_print_print_get_context (xcb_connection_t *c  /**< */);
1111
1289
 
 
1290
/**
 
1291
 * Delivers a request to the X server
 
1292
 * @param c The connection
 
1293
 * @return A cookie
 
1294
 *
 
1295
 * Delivers a request to the X server.
 
1296
 * 
 
1297
 * This form can be used only if the request will cause
 
1298
 * a reply to be generated. Any returned error will be
 
1299
 * placed in the event queue.
 
1300
 */
1112
1301
 
1113
1302
/*****************************************************************************
1114
1303
 **
1122
1311
xcb_x_print_print_get_context_cookie_t
1123
1312
xcb_x_print_print_get_context_unchecked (xcb_connection_t *c  /**< */);
1124
1313
 
 
1314
/**
 
1315
 * Return the reply
 
1316
 * @param c      The connection
 
1317
 * @param cookie The cookie
 
1318
 * @param e      The xcb_generic_error_t supplied
 
1319
 *
 
1320
 * Returns the reply of the request asked by
 
1321
 * 
 
1322
 * The parameter @p e supplied to this function must be NULL if
 
1323
 * xcb_x_print_print_get_context_unchecked(). is used.
 
1324
 * Otherwise, it stores the error if any.
 
1325
 */
1125
1326
 
1126
1327
/*****************************************************************************
1127
1328
 **
1139
1340
                                     xcb_x_print_print_get_context_cookie_t   cookie  /**< */,
1140
1341
                                     xcb_generic_error_t                    **e  /**< */);
1141
1342
 
 
1343
/**
 
1344
 * Delivers a request to the X server
 
1345
 * @param c The connection
 
1346
 * @return A cookie
 
1347
 *
 
1348
 * Delivers a request to the X server.
 
1349
 * 
 
1350
 * This form can be used only if the request will not cause
 
1351
 * a reply to be generated. Any returned error will be
 
1352
 * saved for handling by xcb_request_check().
 
1353
 */
1142
1354
 
1143
1355
/*****************************************************************************
1144
1356
 **
1154
1366
xcb_x_print_print_destroy_context_checked (xcb_connection_t *c  /**< */,
1155
1367
                                           uint32_t          context  /**< */);
1156
1368
 
 
1369
/**
 
1370
 * Delivers a request to the X server
 
1371
 * @param c The connection
 
1372
 * @return A cookie
 
1373
 *
 
1374
 * Delivers a request to the X server.
 
1375
 * 
 
1376
 */
1157
1377
 
1158
1378
/*****************************************************************************
1159
1379
 **
1169
1389
xcb_x_print_print_destroy_context (xcb_connection_t *c  /**< */,
1170
1390
                                   uint32_t          context  /**< */);
1171
1391
 
 
1392
/**
 
1393
 * Delivers a request to the X server
 
1394
 * @param c The connection
 
1395
 * @return A cookie
 
1396
 *
 
1397
 * Delivers a request to the X server.
 
1398
 * 
 
1399
 */
1172
1400
 
1173
1401
/*****************************************************************************
1174
1402
 **
1182
1410
xcb_x_print_print_get_screen_of_context_cookie_t
1183
1411
xcb_x_print_print_get_screen_of_context (xcb_connection_t *c  /**< */);
1184
1412
 
 
1413
/**
 
1414
 * Delivers a request to the X server
 
1415
 * @param c The connection
 
1416
 * @return A cookie
 
1417
 *
 
1418
 * Delivers a request to the X server.
 
1419
 * 
 
1420
 * This form can be used only if the request will cause
 
1421
 * a reply to be generated. Any returned error will be
 
1422
 * placed in the event queue.
 
1423
 */
1185
1424
 
1186
1425
/*****************************************************************************
1187
1426
 **
1195
1434
xcb_x_print_print_get_screen_of_context_cookie_t
1196
1435
xcb_x_print_print_get_screen_of_context_unchecked (xcb_connection_t *c  /**< */);
1197
1436
 
 
1437
/**
 
1438
 * Return the reply
 
1439
 * @param c      The connection
 
1440
 * @param cookie The cookie
 
1441
 * @param e      The xcb_generic_error_t supplied
 
1442
 *
 
1443
 * Returns the reply of the request asked by
 
1444
 * 
 
1445
 * The parameter @p e supplied to this function must be NULL if
 
1446
 * xcb_x_print_print_get_screen_of_context_unchecked(). is used.
 
1447
 * Otherwise, it stores the error if any.
 
1448
 */
1198
1449
 
1199
1450
/*****************************************************************************
1200
1451
 **
1212
1463
                                               xcb_x_print_print_get_screen_of_context_cookie_t   cookie  /**< */,
1213
1464
                                               xcb_generic_error_t                              **e  /**< */);
1214
1465
 
 
1466
/**
 
1467
 * Delivers a request to the X server
 
1468
 * @param c The connection
 
1469
 * @return A cookie
 
1470
 *
 
1471
 * Delivers a request to the X server.
 
1472
 * 
 
1473
 * This form can be used only if the request will not cause
 
1474
 * a reply to be generated. Any returned error will be
 
1475
 * saved for handling by xcb_request_check().
 
1476
 */
1215
1477
 
1216
1478
/*****************************************************************************
1217
1479
 **
1227
1489
xcb_x_print_print_start_job_checked (xcb_connection_t *c  /**< */,
1228
1490
                                     uint8_t           output_mode  /**< */);
1229
1491
 
 
1492
/**
 
1493
 * Delivers a request to the X server
 
1494
 * @param c The connection
 
1495
 * @return A cookie
 
1496
 *
 
1497
 * Delivers a request to the X server.
 
1498
 * 
 
1499
 */
1230
1500
 
1231
1501
/*****************************************************************************
1232
1502
 **
1242
1512
xcb_x_print_print_start_job (xcb_connection_t *c  /**< */,
1243
1513
                             uint8_t           output_mode  /**< */);
1244
1514
 
 
1515
/**
 
1516
 * Delivers a request to the X server
 
1517
 * @param c The connection
 
1518
 * @return A cookie
 
1519
 *
 
1520
 * Delivers a request to the X server.
 
1521
 * 
 
1522
 * This form can be used only if the request will not cause
 
1523
 * a reply to be generated. Any returned error will be
 
1524
 * saved for handling by xcb_request_check().
 
1525
 */
1245
1526
 
1246
1527
/*****************************************************************************
1247
1528
 **
1257
1538
xcb_x_print_print_end_job_checked (xcb_connection_t *c  /**< */,
1258
1539
                                   uint8_t           cancel  /**< */);
1259
1540
 
 
1541
/**
 
1542
 * Delivers a request to the X server
 
1543
 * @param c The connection
 
1544
 * @return A cookie
 
1545
 *
 
1546
 * Delivers a request to the X server.
 
1547
 * 
 
1548
 */
1260
1549
 
1261
1550
/*****************************************************************************
1262
1551
 **
1272
1561
xcb_x_print_print_end_job (xcb_connection_t *c  /**< */,
1273
1562
                           uint8_t           cancel  /**< */);
1274
1563
 
 
1564
/**
 
1565
 * Delivers a request to the X server
 
1566
 * @param c The connection
 
1567
 * @return A cookie
 
1568
 *
 
1569
 * Delivers a request to the X server.
 
1570
 * 
 
1571
 * This form can be used only if the request will not cause
 
1572
 * a reply to be generated. Any returned error will be
 
1573
 * saved for handling by xcb_request_check().
 
1574
 */
1275
1575
 
1276
1576
/*****************************************************************************
1277
1577
 **
1287
1587
xcb_x_print_print_start_doc_checked (xcb_connection_t *c  /**< */,
1288
1588
                                     uint8_t           driver_mode  /**< */);
1289
1589
 
 
1590
/**
 
1591
 * Delivers a request to the X server
 
1592
 * @param c The connection
 
1593
 * @return A cookie
 
1594
 *
 
1595
 * Delivers a request to the X server.
 
1596
 * 
 
1597
 */
1290
1598
 
1291
1599
/*****************************************************************************
1292
1600
 **
1302
1610
xcb_x_print_print_start_doc (xcb_connection_t *c  /**< */,
1303
1611
                             uint8_t           driver_mode  /**< */);
1304
1612
 
 
1613
/**
 
1614
 * Delivers a request to the X server
 
1615
 * @param c The connection
 
1616
 * @return A cookie
 
1617
 *
 
1618
 * Delivers a request to the X server.
 
1619
 * 
 
1620
 * This form can be used only if the request will not cause
 
1621
 * a reply to be generated. Any returned error will be
 
1622
 * saved for handling by xcb_request_check().
 
1623
 */
1305
1624
 
1306
1625
/*****************************************************************************
1307
1626
 **
1317
1636
xcb_x_print_print_end_doc_checked (xcb_connection_t *c  /**< */,
1318
1637
                                   uint8_t           cancel  /**< */);
1319
1638
 
 
1639
/**
 
1640
 * Delivers a request to the X server
 
1641
 * @param c The connection
 
1642
 * @return A cookie
 
1643
 *
 
1644
 * Delivers a request to the X server.
 
1645
 * 
 
1646
 */
1320
1647
 
1321
1648
/*****************************************************************************
1322
1649
 **
1332
1659
xcb_x_print_print_end_doc (xcb_connection_t *c  /**< */,
1333
1660
                           uint8_t           cancel  /**< */);
1334
1661
 
 
1662
/**
 
1663
 * Delivers a request to the X server
 
1664
 * @param c The connection
 
1665
 * @return A cookie
 
1666
 *
 
1667
 * Delivers a request to the X server.
 
1668
 * 
 
1669
 * This form can be used only if the request will not cause
 
1670
 * a reply to be generated. Any returned error will be
 
1671
 * saved for handling by xcb_request_check().
 
1672
 */
1335
1673
 
1336
1674
/*****************************************************************************
1337
1675
 **
1363
1701
                                             uint32_t                     options_len  /**< */,
1364
1702
                                             const xcb_x_print_string8_t *options  /**< */);
1365
1703
 
 
1704
/**
 
1705
 * Delivers a request to the X server
 
1706
 * @param c The connection
 
1707
 * @return A cookie
 
1708
 *
 
1709
 * Delivers a request to the X server.
 
1710
 * 
 
1711
 */
1366
1712
 
1367
1713
/*****************************************************************************
1368
1714
 **
1394
1740
                                     uint32_t                     options_len  /**< */,
1395
1741
                                     const xcb_x_print_string8_t *options  /**< */);
1396
1742
 
 
1743
/**
 
1744
 * Delivers a request to the X server
 
1745
 * @param c The connection
 
1746
 * @return A cookie
 
1747
 *
 
1748
 * Delivers a request to the X server.
 
1749
 * 
 
1750
 */
1397
1751
 
1398
1752
/*****************************************************************************
1399
1753
 **
1411
1765
                                     xcb_x_print_pcontext_t  context  /**< */,
1412
1766
                                     uint32_t                max_bytes  /**< */);
1413
1767
 
 
1768
/**
 
1769
 * Delivers a request to the X server
 
1770
 * @param c The connection
 
1771
 * @return A cookie
 
1772
 *
 
1773
 * Delivers a request to the X server.
 
1774
 * 
 
1775
 * This form can be used only if the request will cause
 
1776
 * a reply to be generated. Any returned error will be
 
1777
 * placed in the event queue.
 
1778
 */
1414
1779
 
1415
1780
/*****************************************************************************
1416
1781
 **
1467
1832
xcb_generic_iterator_t
1468
1833
xcb_x_print_print_get_document_data_data_end (const xcb_x_print_print_get_document_data_reply_t *R  /**< */);
1469
1834
 
 
1835
/**
 
1836
 * Return the reply
 
1837
 * @param c      The connection
 
1838
 * @param cookie The cookie
 
1839
 * @param e      The xcb_generic_error_t supplied
 
1840
 *
 
1841
 * Returns the reply of the request asked by
 
1842
 * 
 
1843
 * The parameter @p e supplied to this function must be NULL if
 
1844
 * xcb_x_print_print_get_document_data_unchecked(). is used.
 
1845
 * Otherwise, it stores the error if any.
 
1846
 */
1470
1847
 
1471
1848
/*****************************************************************************
1472
1849
 **
1484
1861
                                           xcb_x_print_print_get_document_data_cookie_t   cookie  /**< */,
1485
1862
                                           xcb_generic_error_t                          **e  /**< */);
1486
1863
 
 
1864
/**
 
1865
 * Delivers a request to the X server
 
1866
 * @param c The connection
 
1867
 * @return A cookie
 
1868
 *
 
1869
 * Delivers a request to the X server.
 
1870
 * 
 
1871
 * This form can be used only if the request will not cause
 
1872
 * a reply to be generated. Any returned error will be
 
1873
 * saved for handling by xcb_request_check().
 
1874
 */
1487
1875
 
1488
1876
/*****************************************************************************
1489
1877
 **
1499
1887
xcb_x_print_print_start_page_checked (xcb_connection_t *c  /**< */,
1500
1888
                                      xcb_window_t      window  /**< */);
1501
1889
 
 
1890
/**
 
1891
 * Delivers a request to the X server
 
1892
 * @param c The connection
 
1893
 * @return A cookie
 
1894
 *
 
1895
 * Delivers a request to the X server.
 
1896
 * 
 
1897
 */
1502
1898
 
1503
1899
/*****************************************************************************
1504
1900
 **
1514
1910
xcb_x_print_print_start_page (xcb_connection_t *c  /**< */,
1515
1911
                              xcb_window_t      window  /**< */);
1516
1912
 
 
1913
/**
 
1914
 * Delivers a request to the X server
 
1915
 * @param c The connection
 
1916
 * @return A cookie
 
1917
 *
 
1918
 * Delivers a request to the X server.
 
1919
 * 
 
1920
 * This form can be used only if the request will not cause
 
1921
 * a reply to be generated. Any returned error will be
 
1922
 * saved for handling by xcb_request_check().
 
1923
 */
1517
1924
 
1518
1925
/*****************************************************************************
1519
1926
 **
1529
1936
xcb_x_print_print_end_page_checked (xcb_connection_t *c  /**< */,
1530
1937
                                    uint8_t           cancel  /**< */);
1531
1938
 
 
1939
/**
 
1940
 * Delivers a request to the X server
 
1941
 * @param c The connection
 
1942
 * @return A cookie
 
1943
 *
 
1944
 * Delivers a request to the X server.
 
1945
 * 
 
1946
 */
1532
1947
 
1533
1948
/*****************************************************************************
1534
1949
 **
1544
1959
xcb_x_print_print_end_page (xcb_connection_t *c  /**< */,
1545
1960
                            uint8_t           cancel  /**< */);
1546
1961
 
 
1962
/**
 
1963
 * Delivers a request to the X server
 
1964
 * @param c The connection
 
1965
 * @return A cookie
 
1966
 *
 
1967
 * Delivers a request to the X server.
 
1968
 * 
 
1969
 * This form can be used only if the request will not cause
 
1970
 * a reply to be generated. Any returned error will be
 
1971
 * saved for handling by xcb_request_check().
 
1972
 */
1547
1973
 
1548
1974
/*****************************************************************************
1549
1975
 **
1563
1989
                                        uint32_t                event_mask  /**< */,
1564
1990
                                        const uint32_t         *event_list  /**< */);
1565
1991
 
 
1992
/**
 
1993
 * Delivers a request to the X server
 
1994
 * @param c The connection
 
1995
 * @return A cookie
 
1996
 *
 
1997
 * Delivers a request to the X server.
 
1998
 * 
 
1999
 */
1566
2000
 
1567
2001
/*****************************************************************************
1568
2002
 **
1582
2016
                                uint32_t                event_mask  /**< */,
1583
2017
                                const uint32_t         *event_list  /**< */);
1584
2018
 
 
2019
/**
 
2020
 * Delivers a request to the X server
 
2021
 * @param c The connection
 
2022
 * @return A cookie
 
2023
 *
 
2024
 * Delivers a request to the X server.
 
2025
 * 
 
2026
 */
1585
2027
 
1586
2028
/*****************************************************************************
1587
2029
 **
1597
2039
xcb_x_print_print_input_selected (xcb_connection_t       *c  /**< */,
1598
2040
                                  xcb_x_print_pcontext_t  context  /**< */);
1599
2041
 
 
2042
/**
 
2043
 * Delivers a request to the X server
 
2044
 * @param c The connection
 
2045
 * @return A cookie
 
2046
 *
 
2047
 * Delivers a request to the X server.
 
2048
 * 
 
2049
 * This form can be used only if the request will cause
 
2050
 * a reply to be generated. Any returned error will be
 
2051
 * placed in the event queue.
 
2052
 */
1600
2053
 
1601
2054
/*****************************************************************************
1602
2055
 **
1690
2143
xcb_generic_iterator_t
1691
2144
xcb_x_print_print_input_selected_all_events_list_end (const xcb_x_print_print_input_selected_reply_t *R  /**< */);
1692
2145
 
 
2146
/**
 
2147
 * Return the reply
 
2148
 * @param c      The connection
 
2149
 * @param cookie The cookie
 
2150
 * @param e      The xcb_generic_error_t supplied
 
2151
 *
 
2152
 * Returns the reply of the request asked by
 
2153
 * 
 
2154
 * The parameter @p e supplied to this function must be NULL if
 
2155
 * xcb_x_print_print_input_selected_unchecked(). is used.
 
2156
 * Otherwise, it stores the error if any.
 
2157
 */
1693
2158
 
1694
2159
/*****************************************************************************
1695
2160
 **
1707
2172
                                        xcb_x_print_print_input_selected_cookie_t   cookie  /**< */,
1708
2173
                                        xcb_generic_error_t                       **e  /**< */);
1709
2174
 
 
2175
/**
 
2176
 * Delivers a request to the X server
 
2177
 * @param c The connection
 
2178
 * @return A cookie
 
2179
 *
 
2180
 * Delivers a request to the X server.
 
2181
 * 
 
2182
 */
1710
2183
 
1711
2184
/*****************************************************************************
1712
2185
 **
1724
2197
                                  xcb_x_print_pcontext_t  context  /**< */,
1725
2198
                                  uint8_t                 pool  /**< */);
1726
2199
 
 
2200
/**
 
2201
 * Delivers a request to the X server
 
2202
 * @param c The connection
 
2203
 * @return A cookie
 
2204
 *
 
2205
 * Delivers a request to the X server.
 
2206
 * 
 
2207
 * This form can be used only if the request will cause
 
2208
 * a reply to be generated. Any returned error will be
 
2209
 * placed in the event queue.
 
2210
 */
1727
2211
 
1728
2212
/*****************************************************************************
1729
2213
 **
1741
2225
                                            xcb_x_print_pcontext_t  context  /**< */,
1742
2226
                                            uint8_t                 pool  /**< */);
1743
2227
 
 
2228
/**
 
2229
 * Return the reply
 
2230
 * @param c      The connection
 
2231
 * @param cookie The cookie
 
2232
 * @param e      The xcb_generic_error_t supplied
 
2233
 *
 
2234
 * Returns the reply of the request asked by
 
2235
 * 
 
2236
 * The parameter @p e supplied to this function must be NULL if
 
2237
 * xcb_x_print_print_get_attributes_unchecked(). is used.
 
2238
 * Otherwise, it stores the error if any.
 
2239
 */
1744
2240
 
1745
2241
/*****************************************************************************
1746
2242
 **
1758
2254
                                        xcb_x_print_print_get_attributes_cookie_t   cookie  /**< */,
1759
2255
                                        xcb_generic_error_t                       **e  /**< */);
1760
2256
 
 
2257
/**
 
2258
 * Delivers a request to the X server
 
2259
 * @param c The connection
 
2260
 * @return A cookie
 
2261
 *
 
2262
 * Delivers a request to the X server.
 
2263
 * 
 
2264
 */
1761
2265
 
1762
2266
/*****************************************************************************
1763
2267
 **
1779
2283
                                      uint8_t                      pool  /**< */,
1780
2284
                                      const xcb_x_print_string8_t *name  /**< */);
1781
2285
 
 
2286
/**
 
2287
 * Delivers a request to the X server
 
2288
 * @param c The connection
 
2289
 * @return A cookie
 
2290
 *
 
2291
 * Delivers a request to the X server.
 
2292
 * 
 
2293
 * This form can be used only if the request will cause
 
2294
 * a reply to be generated. Any returned error will be
 
2295
 * placed in the event queue.
 
2296
 */
1782
2297
 
1783
2298
/*****************************************************************************
1784
2299
 **
1839
2354
xcb_x_print_string8_iterator_t
1840
2355
xcb_x_print_print_get_one_attributes_value_iterator (const xcb_x_print_print_get_one_attributes_reply_t *R  /**< */);
1841
2356
 
 
2357
/**
 
2358
 * Return the reply
 
2359
 * @param c      The connection
 
2360
 * @param cookie The cookie
 
2361
 * @param e      The xcb_generic_error_t supplied
 
2362
 *
 
2363
 * Returns the reply of the request asked by
 
2364
 * 
 
2365
 * The parameter @p e supplied to this function must be NULL if
 
2366
 * xcb_x_print_print_get_one_attributes_unchecked(). is used.
 
2367
 * Otherwise, it stores the error if any.
 
2368
 */
1842
2369
 
1843
2370
/*****************************************************************************
1844
2371
 **
1856
2383
                                            xcb_x_print_print_get_one_attributes_cookie_t   cookie  /**< */,
1857
2384
                                            xcb_generic_error_t                           **e  /**< */);
1858
2385
 
 
2386
/**
 
2387
 * Delivers a request to the X server
 
2388
 * @param c The connection
 
2389
 * @return A cookie
 
2390
 *
 
2391
 * Delivers a request to the X server.
 
2392
 * 
 
2393
 * This form can be used only if the request will not cause
 
2394
 * a reply to be generated. Any returned error will be
 
2395
 * saved for handling by xcb_request_check().
 
2396
 */
1859
2397
 
1860
2398
/*****************************************************************************
1861
2399
 **
1881
2419
                                          uint32_t                     attributes_len  /**< */,
1882
2420
                                          const xcb_x_print_string8_t *attributes  /**< */);
1883
2421
 
 
2422
/**
 
2423
 * Delivers a request to the X server
 
2424
 * @param c The connection
 
2425
 * @return A cookie
 
2426
 *
 
2427
 * Delivers a request to the X server.
 
2428
 * 
 
2429
 */
1884
2430
 
1885
2431
/*****************************************************************************
1886
2432
 **
1906
2452
                                  uint32_t                     attributes_len  /**< */,
1907
2453
                                  const xcb_x_print_string8_t *attributes  /**< */);
1908
2454
 
 
2455
/**
 
2456
 * Delivers a request to the X server
 
2457
 * @param c The connection
 
2458
 * @return A cookie
 
2459
 *
 
2460
 * Delivers a request to the X server.
 
2461
 * 
 
2462
 */
1909
2463
 
1910
2464
/*****************************************************************************
1911
2465
 **
1921
2475
xcb_x_print_print_get_page_dimensions (xcb_connection_t       *c  /**< */,
1922
2476
                                       xcb_x_print_pcontext_t  context  /**< */);
1923
2477
 
 
2478
/**
 
2479
 * Delivers a request to the X server
 
2480
 * @param c The connection
 
2481
 * @return A cookie
 
2482
 *
 
2483
 * Delivers a request to the X server.
 
2484
 * 
 
2485
 * This form can be used only if the request will cause
 
2486
 * a reply to be generated. Any returned error will be
 
2487
 * placed in the event queue.
 
2488
 */
1924
2489
 
1925
2490
/*****************************************************************************
1926
2491
 **
1936
2501
xcb_x_print_print_get_page_dimensions_unchecked (xcb_connection_t       *c  /**< */,
1937
2502
                                                 xcb_x_print_pcontext_t  context  /**< */);
1938
2503
 
 
2504
/**
 
2505
 * Return the reply
 
2506
 * @param c      The connection
 
2507
 * @param cookie The cookie
 
2508
 * @param e      The xcb_generic_error_t supplied
 
2509
 *
 
2510
 * Returns the reply of the request asked by
 
2511
 * 
 
2512
 * The parameter @p e supplied to this function must be NULL if
 
2513
 * xcb_x_print_print_get_page_dimensions_unchecked(). is used.
 
2514
 * Otherwise, it stores the error if any.
 
2515
 */
1939
2516
 
1940
2517
/*****************************************************************************
1941
2518
 **
1953
2530
                                             xcb_x_print_print_get_page_dimensions_cookie_t   cookie  /**< */,
1954
2531
                                             xcb_generic_error_t                            **e  /**< */);
1955
2532
 
 
2533
/**
 
2534
 * Delivers a request to the X server
 
2535
 * @param c The connection
 
2536
 * @return A cookie
 
2537
 *
 
2538
 * Delivers a request to the X server.
 
2539
 * 
 
2540
 */
1956
2541
 
1957
2542
/*****************************************************************************
1958
2543
 **
1966
2551
xcb_x_print_print_query_screens_cookie_t
1967
2552
xcb_x_print_print_query_screens (xcb_connection_t *c  /**< */);
1968
2553
 
 
2554
/**
 
2555
 * Delivers a request to the X server
 
2556
 * @param c The connection
 
2557
 * @return A cookie
 
2558
 *
 
2559
 * Delivers a request to the X server.
 
2560
 * 
 
2561
 * This form can be used only if the request will cause
 
2562
 * a reply to be generated. Any returned error will be
 
2563
 * placed in the event queue.
 
2564
 */
1969
2565
 
1970
2566
/*****************************************************************************
1971
2567
 **
2018
2614
xcb_window_iterator_t
2019
2615
xcb_x_print_print_query_screens_roots_iterator (const xcb_x_print_print_query_screens_reply_t *R  /**< */);
2020
2616
 
 
2617
/**
 
2618
 * Return the reply
 
2619
 * @param c      The connection
 
2620
 * @param cookie The cookie
 
2621
 * @param e      The xcb_generic_error_t supplied
 
2622
 *
 
2623
 * Returns the reply of the request asked by
 
2624
 * 
 
2625
 * The parameter @p e supplied to this function must be NULL if
 
2626
 * xcb_x_print_print_query_screens_unchecked(). is used.
 
2627
 * Otherwise, it stores the error if any.
 
2628
 */
2021
2629
 
2022
2630
/*****************************************************************************
2023
2631
 **
2035
2643
                                       xcb_x_print_print_query_screens_cookie_t   cookie  /**< */,
2036
2644
                                       xcb_generic_error_t                      **e  /**< */);
2037
2645
 
 
2646
/**
 
2647
 * Delivers a request to the X server
 
2648
 * @param c The connection
 
2649
 * @return A cookie
 
2650
 *
 
2651
 * Delivers a request to the X server.
 
2652
 * 
 
2653
 */
2038
2654
 
2039
2655
/*****************************************************************************
2040
2656
 **
2052
2668
                                        xcb_x_print_pcontext_t  context  /**< */,
2053
2669
                                        uint16_t                image_resolution  /**< */);
2054
2670
 
 
2671
/**
 
2672
 * Delivers a request to the X server
 
2673
 * @param c The connection
 
2674
 * @return A cookie
 
2675
 *
 
2676
 * Delivers a request to the X server.
 
2677
 * 
 
2678
 * This form can be used only if the request will cause
 
2679
 * a reply to be generated. Any returned error will be
 
2680
 * placed in the event queue.
 
2681
 */
2055
2682
 
2056
2683
/*****************************************************************************
2057
2684
 **
2069
2696
                                                  xcb_x_print_pcontext_t  context  /**< */,
2070
2697
                                                  uint16_t                image_resolution  /**< */);
2071
2698
 
 
2699
/**
 
2700
 * Return the reply
 
2701
 * @param c      The connection
 
2702
 * @param cookie The cookie
 
2703
 * @param e      The xcb_generic_error_t supplied
 
2704
 *
 
2705
 * Returns the reply of the request asked by
 
2706
 * 
 
2707
 * The parameter @p e supplied to this function must be NULL if
 
2708
 * xcb_x_print_print_set_image_resolution_unchecked(). is used.
 
2709
 * Otherwise, it stores the error if any.
 
2710
 */
2072
2711
 
2073
2712
/*****************************************************************************
2074
2713
 **
2086
2725
                                              xcb_x_print_print_set_image_resolution_cookie_t   cookie  /**< */,
2087
2726
                                              xcb_generic_error_t                             **e  /**< */);
2088
2727
 
 
2728
/**
 
2729
 * Delivers a request to the X server
 
2730
 * @param c The connection
 
2731
 * @return A cookie
 
2732
 *
 
2733
 * Delivers a request to the X server.
 
2734
 * 
 
2735
 */
2089
2736
 
2090
2737
/*****************************************************************************
2091
2738
 **
2101
2748
xcb_x_print_print_get_image_resolution (xcb_connection_t       *c  /**< */,
2102
2749
                                        xcb_x_print_pcontext_t  context  /**< */);
2103
2750
 
 
2751
/**
 
2752
 * Delivers a request to the X server
 
2753
 * @param c The connection
 
2754
 * @return A cookie
 
2755
 *
 
2756
 * Delivers a request to the X server.
 
2757
 * 
 
2758
 * This form can be used only if the request will cause
 
2759
 * a reply to be generated. Any returned error will be
 
2760
 * placed in the event queue.
 
2761
 */
2104
2762
 
2105
2763
/*****************************************************************************
2106
2764
 **
2116
2774
xcb_x_print_print_get_image_resolution_unchecked (xcb_connection_t       *c  /**< */,
2117
2775
                                                  xcb_x_print_pcontext_t  context  /**< */);
2118
2776
 
 
2777
/**
 
2778
 * Return the reply
 
2779
 * @param c      The connection
 
2780
 * @param cookie The cookie
 
2781
 * @param e      The xcb_generic_error_t supplied
 
2782
 *
 
2783
 * Returns the reply of the request asked by
 
2784
 * 
 
2785
 * The parameter @p e supplied to this function must be NULL if
 
2786
 * xcb_x_print_print_get_image_resolution_unchecked(). is used.
 
2787
 * Otherwise, it stores the error if any.
 
2788
 */
2119
2789
 
2120
2790
/*****************************************************************************
2121
2791
 **