This file is indexed.

/usr/lib/python3/dist-packages/cproton.py is in python3-qpid-proton 0.14.0-5.1ubuntu1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

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

from sys import version_info as _swig_python_version_info
if _swig_python_version_info >= (2, 7, 0):
    def swig_import_helper():
        import importlib
        pkg = __name__.rpartition('.')[0]
        mname = '.'.join((pkg, '_cproton')).lstrip('.')
        try:
            return importlib.import_module(mname)
        except ImportError:
            return importlib.import_module('_cproton')
    _cproton = swig_import_helper()
    del swig_import_helper
elif _swig_python_version_info >= (2, 6, 0):
    def swig_import_helper():
        from os.path import dirname
        import imp
        fp = None
        try:
            fp, pathname, description = imp.find_module('_cproton', [dirname(__file__)])
        except ImportError:
            import _cproton
            return _cproton
        try:
            _mod = imp.load_module('_cproton', fp, pathname, description)
        finally:
            if fp is not None:
                fp.close()
        return _mod
    _cproton = swig_import_helper()
    del swig_import_helper
else:
    import _cproton
del _swig_python_version_info

try:
    _swig_property = property
except NameError:
    pass  # Python < 2.2 doesn't have 'property'.

try:
    import builtins as __builtin__
except ImportError:
    import __builtin__

def _swig_setattr_nondynamic(self, class_type, name, value, static=1):
    if (name == "thisown"):
        return self.this.own(value)
    if (name == "this"):
        if type(value).__name__ == 'SwigPyObject':
            self.__dict__[name] = value
            return
    method = class_type.__swig_setmethods__.get(name, None)
    if method:
        return method(self, value)
    if (not static):
        if _newclass:
            object.__setattr__(self, name, value)
        else:
            self.__dict__[name] = value
    else:
        raise AttributeError("You cannot add attributes to %s" % self)


def _swig_setattr(self, class_type, name, value):
    return _swig_setattr_nondynamic(self, class_type, name, value, 0)


def _swig_getattr(self, class_type, name):
    if (name == "thisown"):
        return self.this.own()
    method = class_type.__swig_getmethods__.get(name, None)
    if method:
        return method(self)
    raise AttributeError("'%s' object has no attribute '%s'" % (class_type.__name__, name))


def _swig_repr(self):
    try:
        strthis = "proxy of " + self.this.__repr__()
    except __builtin__.Exception:
        strthis = ""
    return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)

try:
    _object = object
    _newclass = 1
except __builtin__.Exception:
    class _object:
        pass
    _newclass = 0


def pn_message_encode(msg, BIN_OUT):
    return _cproton.pn_message_encode(msg, BIN_OUT)
pn_message_encode = _cproton.pn_message_encode

def pn_message_decode(msg, BIN_IN):
    return _cproton.pn_message_decode(msg, BIN_IN)
pn_message_decode = _cproton.pn_message_decode

def pn_link_send(transport, BIN_IN):
    return _cproton.pn_link_send(transport, BIN_IN)
pn_link_send = _cproton.pn_link_send

def pn_link_recv(link, BIN_OUT):
    return _cproton.pn_link_recv(link, BIN_OUT)
pn_link_recv = _cproton.pn_link_recv

def pn_transport_push(transport, BIN_IN):
    return _cproton.pn_transport_push(transport, BIN_IN)
pn_transport_push = _cproton.pn_transport_push

def pn_transport_peek(transport, BIN_OUT):
    return _cproton.pn_transport_peek(transport, BIN_OUT)
pn_transport_peek = _cproton.pn_transport_peek

def pn_delivery(link, STRING):
    return _cproton.pn_delivery(link, STRING)
pn_delivery = _cproton.pn_delivery

def pn_delivery_tag(delivery):
    return _cproton.pn_delivery_tag(delivery)
pn_delivery_tag = _cproton.pn_delivery_tag

def pn_data_decode(data, BIN_IN):
    return _cproton.pn_data_decode(data, BIN_IN)
pn_data_decode = _cproton.pn_data_decode

def pn_data_encode(data, BIN_OUT):
    return _cproton.pn_data_encode(data, BIN_OUT)
pn_data_encode = _cproton.pn_data_encode

def pn_data_format(data, VTEXT_OUT):
    return _cproton.pn_data_format(data, VTEXT_OUT)
pn_data_format = _cproton.pn_data_format

def pn_ssl_get_cipher_name(ssl, OUTPUT):
    return _cproton.pn_ssl_get_cipher_name(ssl, OUTPUT)
pn_ssl_get_cipher_name = _cproton.pn_ssl_get_cipher_name

def pn_ssl_get_protocol_name(ssl, OUTPUT):
    return _cproton.pn_ssl_get_protocol_name(ssl, OUTPUT)
pn_ssl_get_protocol_name = _cproton.pn_ssl_get_protocol_name

def pn_ssl_get_remote_subject_subfield(ssl, field):
    return _cproton.pn_ssl_get_remote_subject_subfield(ssl, field)
pn_ssl_get_remote_subject_subfield = _cproton.pn_ssl_get_remote_subject_subfield

def pn_ssl_get_cert_fingerprint(ssl, OUTPUT, hash_alg):
    return _cproton.pn_ssl_get_cert_fingerprint(ssl, OUTPUT, hash_alg)
pn_ssl_get_cert_fingerprint = _cproton.pn_ssl_get_cert_fingerprint

def pn_ssl_get_peer_hostname(ssl, VTEXT_OUT):
    return _cproton.pn_ssl_get_peer_hostname(ssl, VTEXT_OUT)
pn_ssl_get_peer_hostname = _cproton.pn_ssl_get_peer_hostname

def pn_pyref_incref(object):
    return _cproton.pn_pyref_incref(object)
pn_pyref_incref = _cproton.pn_pyref_incref

def pn_pyref_decref(object):
    return _cproton.pn_pyref_decref(object)
pn_pyref_decref = _cproton.pn_pyref_decref

def pn_pyref_refcount(object):
    return _cproton.pn_pyref_refcount(object)
pn_pyref_refcount = _cproton.pn_pyref_refcount

def pn_pyref_reify(object):
    return _cproton.pn_pyref_reify(object)
pn_pyref_reify = _cproton.pn_pyref_reify

def pn_py2void(object):
    return _cproton.pn_py2void(object)
pn_py2void = _cproton.pn_py2void

def pn_void2py(object):
    return _cproton.pn_void2py(object)
pn_void2py = _cproton.pn_void2py

def pn_cast_pn_void(object):
    return _cproton.pn_cast_pn_void(object)
pn_cast_pn_void = _cproton.pn_cast_pn_void
class pni_pyh_t(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, pni_pyh_t, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, pni_pyh_t, name)
    __repr__ = _swig_repr
    __swig_setmethods__["handler"] = _cproton.pni_pyh_t_handler_set
    __swig_getmethods__["handler"] = _cproton.pni_pyh_t_handler_get
    if _newclass:
        handler = _swig_property(_cproton.pni_pyh_t_handler_get, _cproton.pni_pyh_t_handler_set)
    __swig_setmethods__["dispatch"] = _cproton.pni_pyh_t_dispatch_set
    __swig_getmethods__["dispatch"] = _cproton.pni_pyh_t_dispatch_get
    if _newclass:
        dispatch = _swig_property(_cproton.pni_pyh_t_dispatch_get, _cproton.pni_pyh_t_dispatch_set)
    __swig_setmethods__["exception"] = _cproton.pni_pyh_t_exception_set
    __swig_getmethods__["exception"] = _cproton.pni_pyh_t_exception_get
    if _newclass:
        exception = _swig_property(_cproton.pni_pyh_t_exception_get, _cproton.pni_pyh_t_exception_set)

    def __init__(self):
        this = _cproton.new_pni_pyh_t()
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this
    __swig_destroy__ = _cproton.delete_pni_pyh_t
    __del__ = lambda self: None
pni_pyh_t_swigregister = _cproton.pni_pyh_t_swigregister
pni_pyh_t_swigregister(pni_pyh_t)
cvar = _cproton.cvar
PN_PYREF = cvar.PN_PYREF
PNI_PYREF = cvar.PNI_PYREF


def pni_pyh(handler):
    return _cproton.pni_pyh(handler)
pni_pyh = _cproton.pni_pyh

def pni_pyh_finalize(handler):
    return _cproton.pni_pyh_finalize(handler)
pni_pyh_finalize = _cproton.pni_pyh_finalize

def pni_pydispatch(handler, event, type):
    return _cproton.pni_pydispatch(handler, event, type)
pni_pydispatch = _cproton.pni_pydispatch

def pn_pyhandler(handler):
    return _cproton.pn_pyhandler(handler)
pn_pyhandler = _cproton.pn_pyhandler

def pn_pytracer(transport, message):
    return _cproton.pn_pytracer(transport, message)
pn_pytracer = _cproton.pn_pytracer

def pn_transport_set_pytracer(transport, obj):
    return _cproton.pn_transport_set_pytracer(transport, obj)
pn_transport_set_pytracer = _cproton.pn_transport_set_pytracer

def pn_transport_get_pytracer(transport):
    return _cproton.pn_transport_get_pytracer(transport)
pn_transport_get_pytracer = _cproton.pn_transport_get_pytracer
PROTON_IMPORT_EXPORT_H = _cproton.PROTON_IMPORT_EXPORT_H
PN_VERSION_MAJOR = _cproton.PN_VERSION_MAJOR
PN_VERSION_MINOR = _cproton.PN_VERSION_MINOR
PN_VERSION_POINT = _cproton.PN_VERSION_POINT
PROTON_TYPES_H = _cproton.PROTON_TYPES_H
PN_MILLIS_MAX = _cproton.PN_MILLIS_MAX

def pn_timestamp_now():
    return _cproton.pn_timestamp_now()
pn_timestamp_now = _cproton.pn_timestamp_now

def pn_bytes(size, start):
    return _cproton.pn_bytes(size, start)
pn_bytes = _cproton.pn_bytes
PROTON_OBJECT_H = _cproton.PROTON_OBJECT_H

def pn_class_id(clazz):
    return _cproton.pn_class_id(clazz)
pn_class_id = _cproton.pn_class_id

def pn_class_name(clazz):
    return _cproton.pn_class_name(clazz)
pn_class_name = _cproton.pn_class_name

def pn_class_new(clazz, size):
    return _cproton.pn_class_new(clazz, size)
pn_class_new = _cproton.pn_class_new

def pn_class_incref(clazz, object):
    return _cproton.pn_class_incref(clazz, object)
pn_class_incref = _cproton.pn_class_incref

def pn_class_refcount(clazz, object):
    return _cproton.pn_class_refcount(clazz, object)
pn_class_refcount = _cproton.pn_class_refcount

def pn_class_decref(clazz, object):
    return _cproton.pn_class_decref(clazz, object)
pn_class_decref = _cproton.pn_class_decref

def pn_class_free(clazz, object):
    return _cproton.pn_class_free(clazz, object)
pn_class_free = _cproton.pn_class_free

def pn_class_reify(clazz, object):
    return _cproton.pn_class_reify(clazz, object)
pn_class_reify = _cproton.pn_class_reify

def pn_class_hashcode(clazz, object):
    return _cproton.pn_class_hashcode(clazz, object)
pn_class_hashcode = _cproton.pn_class_hashcode

def pn_class_compare(clazz, a, b):
    return _cproton.pn_class_compare(clazz, a, b)
pn_class_compare = _cproton.pn_class_compare

def pn_class_equals(clazz, a, b):
    return _cproton.pn_class_equals(clazz, a, b)
pn_class_equals = _cproton.pn_class_equals

def pn_class_inspect(clazz, object, dst):
    return _cproton.pn_class_inspect(clazz, object, dst)
pn_class_inspect = _cproton.pn_class_inspect

def pn_void_hashcode(object):
    return _cproton.pn_void_hashcode(object)
pn_void_hashcode = _cproton.pn_void_hashcode

def pn_void_compare(a, b):
    return _cproton.pn_void_compare(a, b)
pn_void_compare = _cproton.pn_void_compare

def pn_void_inspect(object, dst):
    return _cproton.pn_void_inspect(object, dst)
pn_void_inspect = _cproton.pn_void_inspect

def pn_object_new(clazz, size):
    return _cproton.pn_object_new(clazz, size)
pn_object_new = _cproton.pn_object_new

def pn_object_reify(object):
    return _cproton.pn_object_reify(object)
pn_object_reify = _cproton.pn_object_reify

def pn_object_incref(object):
    return _cproton.pn_object_incref(object)
pn_object_incref = _cproton.pn_object_incref

def pn_object_refcount(object):
    return _cproton.pn_object_refcount(object)
pn_object_refcount = _cproton.pn_object_refcount

def pn_object_decref(object):
    return _cproton.pn_object_decref(object)
pn_object_decref = _cproton.pn_object_decref

def pn_object_free(object):
    return _cproton.pn_object_free(object)
pn_object_free = _cproton.pn_object_free

def pn_incref(object):
    return _cproton.pn_incref(object)
pn_incref = _cproton.pn_incref

def pn_decref(object):
    return _cproton.pn_decref(object)
pn_decref = _cproton.pn_decref

def pn_refcount(object):
    return _cproton.pn_refcount(object)
pn_refcount = _cproton.pn_refcount

def pn_free(object):
    return _cproton.pn_free(object)
pn_free = _cproton.pn_free

def pn_class(object):
    return _cproton.pn_class(object)
pn_class = _cproton.pn_class

def pn_hashcode(object):
    return _cproton.pn_hashcode(object)
pn_hashcode = _cproton.pn_hashcode

def pn_compare(a, b):
    return _cproton.pn_compare(a, b)
pn_compare = _cproton.pn_compare

def pn_equals(a, b):
    return _cproton.pn_equals(a, b)
pn_equals = _cproton.pn_equals

def pn_inspect(object, dst):
    return _cproton.pn_inspect(object, dst)
pn_inspect = _cproton.pn_inspect
PN_REFCOUNT = _cproton.PN_REFCOUNT

def pn_list(clazz, capacity):
    return _cproton.pn_list(clazz, capacity)
pn_list = _cproton.pn_list

def pn_list_size(list):
    return _cproton.pn_list_size(list)
pn_list_size = _cproton.pn_list_size

def pn_list_get(list, index):
    return _cproton.pn_list_get(list, index)
pn_list_get = _cproton.pn_list_get

def pn_list_set(list, index, value):
    return _cproton.pn_list_set(list, index, value)
pn_list_set = _cproton.pn_list_set

def pn_list_add(list, value):
    return _cproton.pn_list_add(list, value)
pn_list_add = _cproton.pn_list_add

def pn_list_pop(list):
    return _cproton.pn_list_pop(list)
pn_list_pop = _cproton.pn_list_pop

def pn_list_index(list, value):
    return _cproton.pn_list_index(list, value)
pn_list_index = _cproton.pn_list_index

def pn_list_remove(list, value):
    return _cproton.pn_list_remove(list, value)
pn_list_remove = _cproton.pn_list_remove

def pn_list_del(list, index, n):
    return _cproton.pn_list_del(list, index, n)
pn_list_del = _cproton.pn_list_del

def pn_list_clear(list):
    return _cproton.pn_list_clear(list)
pn_list_clear = _cproton.pn_list_clear

def pn_list_iterator(list, iter):
    return _cproton.pn_list_iterator(list, iter)
pn_list_iterator = _cproton.pn_list_iterator

def pn_list_minpush(list, value):
    return _cproton.pn_list_minpush(list, value)
pn_list_minpush = _cproton.pn_list_minpush

def pn_list_minpop(list):
    return _cproton.pn_list_minpop(list)
pn_list_minpop = _cproton.pn_list_minpop
PN_REFCOUNT_KEY = _cproton.PN_REFCOUNT_KEY
PN_REFCOUNT_VALUE = _cproton.PN_REFCOUNT_VALUE

def pn_map(key, value, capacity, load_factor):
    return _cproton.pn_map(key, value, capacity, load_factor)
pn_map = _cproton.pn_map

def pn_map_size(map):
    return _cproton.pn_map_size(map)
pn_map_size = _cproton.pn_map_size

def pn_map_put(map, key, value):
    return _cproton.pn_map_put(map, key, value)
pn_map_put = _cproton.pn_map_put

def pn_map_get(map, key):
    return _cproton.pn_map_get(map, key)
pn_map_get = _cproton.pn_map_get

def pn_map_del(map, key):
    return _cproton.pn_map_del(map, key)
pn_map_del = _cproton.pn_map_del

def pn_map_head(map):
    return _cproton.pn_map_head(map)
pn_map_head = _cproton.pn_map_head

def pn_map_next(map, entry):
    return _cproton.pn_map_next(map, entry)
pn_map_next = _cproton.pn_map_next

def pn_map_key(map, entry):
    return _cproton.pn_map_key(map, entry)
pn_map_key = _cproton.pn_map_key

def pn_map_value(map, entry):
    return _cproton.pn_map_value(map, entry)
pn_map_value = _cproton.pn_map_value

def pn_hash(clazz, capacity, load_factor):
    return _cproton.pn_hash(clazz, capacity, load_factor)
pn_hash = _cproton.pn_hash

def pn_hash_size(hash):
    return _cproton.pn_hash_size(hash)
pn_hash_size = _cproton.pn_hash_size

def pn_hash_put(hash, key, value):
    return _cproton.pn_hash_put(hash, key, value)
pn_hash_put = _cproton.pn_hash_put

def pn_hash_get(hash, key):
    return _cproton.pn_hash_get(hash, key)
pn_hash_get = _cproton.pn_hash_get

def pn_hash_del(hash, key):
    return _cproton.pn_hash_del(hash, key)
pn_hash_del = _cproton.pn_hash_del

def pn_hash_head(hash):
    return _cproton.pn_hash_head(hash)
pn_hash_head = _cproton.pn_hash_head

def pn_hash_next(hash, entry):
    return _cproton.pn_hash_next(hash, entry)
pn_hash_next = _cproton.pn_hash_next

def pn_hash_key(hash, entry):
    return _cproton.pn_hash_key(hash, entry)
pn_hash_key = _cproton.pn_hash_key

def pn_hash_value(hash, entry):
    return _cproton.pn_hash_value(hash, entry)
pn_hash_value = _cproton.pn_hash_value

def pn_string(bytes):
    return _cproton.pn_string(bytes)
pn_string = _cproton.pn_string

def pn_stringn(bytes, n):
    return _cproton.pn_stringn(bytes, n)
pn_stringn = _cproton.pn_stringn

def pn_string_get(string):
    return _cproton.pn_string_get(string)
pn_string_get = _cproton.pn_string_get

def pn_string_size(string):
    return _cproton.pn_string_size(string)
pn_string_size = _cproton.pn_string_size

def pn_string_set(string, bytes):
    return _cproton.pn_string_set(string, bytes)
pn_string_set = _cproton.pn_string_set

def pn_string_setn(string, bytes, n):
    return _cproton.pn_string_setn(string, bytes, n)
pn_string_setn = _cproton.pn_string_setn

def pn_string_put(string, dst):
    return _cproton.pn_string_put(string, dst)
pn_string_put = _cproton.pn_string_put

def pn_string_clear(string):
    return _cproton.pn_string_clear(string)
pn_string_clear = _cproton.pn_string_clear

def pn_string_format(string, format):
    return _cproton.pn_string_format(string, format)
pn_string_format = _cproton.pn_string_format

def pn_string_addf(string, format):
    return _cproton.pn_string_addf(string, format)
pn_string_addf = _cproton.pn_string_addf

def pn_string_grow(string, capacity):
    return _cproton.pn_string_grow(string, capacity)
pn_string_grow = _cproton.pn_string_grow

def pn_string_buffer(string):
    return _cproton.pn_string_buffer(string)
pn_string_buffer = _cproton.pn_string_buffer

def pn_string_capacity(string):
    return _cproton.pn_string_capacity(string)
pn_string_capacity = _cproton.pn_string_capacity

def pn_string_resize(string, size):
    return _cproton.pn_string_resize(string, size)
pn_string_resize = _cproton.pn_string_resize

def pn_string_copy(string, src):
    return _cproton.pn_string_copy(string, src)
pn_string_copy = _cproton.pn_string_copy

def pn_iterator():
    return _cproton.pn_iterator()
pn_iterator = _cproton.pn_iterator

def pn_iterator_start(iterator, next, size):
    return _cproton.pn_iterator_start(iterator, next, size)
pn_iterator_start = _cproton.pn_iterator_start

def pn_iterator_next(iterator):
    return _cproton.pn_iterator_next(iterator)
pn_iterator_next = _cproton.pn_iterator_next

def pn_record():
    return _cproton.pn_record()
pn_record = _cproton.pn_record

def pn_record_def(record, key, clazz):
    return _cproton.pn_record_def(record, key, clazz)
pn_record_def = _cproton.pn_record_def

def pn_record_has(record, key):
    return _cproton.pn_record_has(record, key)
pn_record_has = _cproton.pn_record_has

def pn_record_get(record, key):
    return _cproton.pn_record_get(record, key)
pn_record_get = _cproton.pn_record_get

def pn_record_set(record, key, value):
    return _cproton.pn_record_set(record, key, value)
pn_record_set = _cproton.pn_record_set

def pn_record_clear(record):
    return _cproton.pn_record_clear(record)
pn_record_clear = _cproton.pn_record_clear
PROTON_ERROR_H = _cproton.PROTON_ERROR_H
PN_OK = _cproton.PN_OK
PN_EOS = _cproton.PN_EOS
PN_ERR = _cproton.PN_ERR
PN_OVERFLOW = _cproton.PN_OVERFLOW
PN_UNDERFLOW = _cproton.PN_UNDERFLOW
PN_STATE_ERR = _cproton.PN_STATE_ERR
PN_ARG_ERR = _cproton.PN_ARG_ERR
PN_TIMEOUT = _cproton.PN_TIMEOUT
PN_INTR = _cproton.PN_INTR
PN_INPROGRESS = _cproton.PN_INPROGRESS
PN_OUT_OF_MEMORY = _cproton.PN_OUT_OF_MEMORY

def pn_code(code):
    return _cproton.pn_code(code)
pn_code = _cproton.pn_code

def pn_error():
    return _cproton.pn_error()
pn_error = _cproton.pn_error

def pn_error_free(error):
    return _cproton.pn_error_free(error)
pn_error_free = _cproton.pn_error_free

def pn_error_clear(error):
    return _cproton.pn_error_clear(error)
pn_error_clear = _cproton.pn_error_clear

def pn_error_set(error, code, text):
    return _cproton.pn_error_set(error, code, text)
pn_error_set = _cproton.pn_error_set

def pn_error_code(error):
    return _cproton.pn_error_code(error)
pn_error_code = _cproton.pn_error_code

def pn_error_text(error):
    return _cproton.pn_error_text(error)
pn_error_text = _cproton.pn_error_text

def pn_error_copy(error, src):
    return _cproton.pn_error_copy(error, src)
pn_error_copy = _cproton.pn_error_copy
PROTON_CONDITION_H = _cproton.PROTON_CONDITION_H

def pn_condition_is_set(condition):
    return _cproton.pn_condition_is_set(condition)
pn_condition_is_set = _cproton.pn_condition_is_set

def pn_condition_clear(condition):
    return _cproton.pn_condition_clear(condition)
pn_condition_clear = _cproton.pn_condition_clear

def pn_condition_get_name(condition):
    return _cproton.pn_condition_get_name(condition)
pn_condition_get_name = _cproton.pn_condition_get_name

def pn_condition_set_name(condition, name):
    return _cproton.pn_condition_set_name(condition, name)
pn_condition_set_name = _cproton.pn_condition_set_name

def pn_condition_get_description(condition):
    return _cproton.pn_condition_get_description(condition)
pn_condition_get_description = _cproton.pn_condition_get_description

def pn_condition_set_description(condition, description):
    return _cproton.pn_condition_set_description(condition, description)
pn_condition_set_description = _cproton.pn_condition_set_description

def pn_condition_info(condition):
    return _cproton.pn_condition_info(condition)
pn_condition_info = _cproton.pn_condition_info

def pn_condition_is_redirect(condition):
    return _cproton.pn_condition_is_redirect(condition)
pn_condition_is_redirect = _cproton.pn_condition_is_redirect

def pn_condition_redirect_host(condition):
    return _cproton.pn_condition_redirect_host(condition)
pn_condition_redirect_host = _cproton.pn_condition_redirect_host

def pn_condition_redirect_port(condition):
    return _cproton.pn_condition_redirect_port(condition)
pn_condition_redirect_port = _cproton.pn_condition_redirect_port
PROTON_CONNECTION_H = _cproton.PROTON_CONNECTION_H
PN_LOCAL_UNINIT = _cproton.PN_LOCAL_UNINIT
PN_LOCAL_ACTIVE = _cproton.PN_LOCAL_ACTIVE
PN_LOCAL_CLOSED = _cproton.PN_LOCAL_CLOSED
PN_REMOTE_UNINIT = _cproton.PN_REMOTE_UNINIT
PN_REMOTE_ACTIVE = _cproton.PN_REMOTE_ACTIVE
PN_REMOTE_CLOSED = _cproton.PN_REMOTE_CLOSED
PN_LOCAL_MASK = _cproton.PN_LOCAL_MASK
PN_REMOTE_MASK = _cproton.PN_REMOTE_MASK

def pn_connection():
    return _cproton.pn_connection()
pn_connection = _cproton.pn_connection

def pn_connection_free(connection):
    return _cproton.pn_connection_free(connection)
pn_connection_free = _cproton.pn_connection_free

def pn_connection_release(connection):
    return _cproton.pn_connection_release(connection)
pn_connection_release = _cproton.pn_connection_release

def pn_connection_error(connection):
    return _cproton.pn_connection_error(connection)
pn_connection_error = _cproton.pn_connection_error

def pn_connection_collect(connection, collector):
    return _cproton.pn_connection_collect(connection, collector)
pn_connection_collect = _cproton.pn_connection_collect

def pn_connection_get_context(connection):
    return _cproton.pn_connection_get_context(connection)
pn_connection_get_context = _cproton.pn_connection_get_context

def pn_connection_set_context(connection, context):
    return _cproton.pn_connection_set_context(connection, context)
pn_connection_set_context = _cproton.pn_connection_set_context

def pn_connection_attachments(connection):
    return _cproton.pn_connection_attachments(connection)
pn_connection_attachments = _cproton.pn_connection_attachments

def pn_connection_state(connection):
    return _cproton.pn_connection_state(connection)
pn_connection_state = _cproton.pn_connection_state

def pn_connection_open(connection):
    return _cproton.pn_connection_open(connection)
pn_connection_open = _cproton.pn_connection_open

def pn_connection_close(connection):
    return _cproton.pn_connection_close(connection)
pn_connection_close = _cproton.pn_connection_close

def pn_connection_reset(connection):
    return _cproton.pn_connection_reset(connection)
pn_connection_reset = _cproton.pn_connection_reset

def pn_connection_condition(connection):
    return _cproton.pn_connection_condition(connection)
pn_connection_condition = _cproton.pn_connection_condition

def pn_connection_remote_condition(connection):
    return _cproton.pn_connection_remote_condition(connection)
pn_connection_remote_condition = _cproton.pn_connection_remote_condition

def pn_connection_get_container(connection):
    return _cproton.pn_connection_get_container(connection)
pn_connection_get_container = _cproton.pn_connection_get_container

def pn_connection_set_container(connection, container):
    return _cproton.pn_connection_set_container(connection, container)
pn_connection_set_container = _cproton.pn_connection_set_container

def pn_connection_set_user(connection, user):
    return _cproton.pn_connection_set_user(connection, user)
pn_connection_set_user = _cproton.pn_connection_set_user

def pn_connection_set_password(connection, password):
    return _cproton.pn_connection_set_password(connection, password)
pn_connection_set_password = _cproton.pn_connection_set_password

def pn_connection_get_user(connection):
    return _cproton.pn_connection_get_user(connection)
pn_connection_get_user = _cproton.pn_connection_get_user

def pn_connection_get_hostname(connection):
    return _cproton.pn_connection_get_hostname(connection)
pn_connection_get_hostname = _cproton.pn_connection_get_hostname

def pn_connection_set_hostname(connection, hostname):
    return _cproton.pn_connection_set_hostname(connection, hostname)
pn_connection_set_hostname = _cproton.pn_connection_set_hostname

def pn_connection_remote_container(connection):
    return _cproton.pn_connection_remote_container(connection)
pn_connection_remote_container = _cproton.pn_connection_remote_container

def pn_connection_remote_hostname(connection):
    return _cproton.pn_connection_remote_hostname(connection)
pn_connection_remote_hostname = _cproton.pn_connection_remote_hostname

def pn_connection_offered_capabilities(connection):
    return _cproton.pn_connection_offered_capabilities(connection)
pn_connection_offered_capabilities = _cproton.pn_connection_offered_capabilities

def pn_connection_desired_capabilities(connection):
    return _cproton.pn_connection_desired_capabilities(connection)
pn_connection_desired_capabilities = _cproton.pn_connection_desired_capabilities

def pn_connection_properties(connection):
    return _cproton.pn_connection_properties(connection)
pn_connection_properties = _cproton.pn_connection_properties

def pn_connection_remote_offered_capabilities(connection):
    return _cproton.pn_connection_remote_offered_capabilities(connection)
pn_connection_remote_offered_capabilities = _cproton.pn_connection_remote_offered_capabilities

def pn_connection_remote_desired_capabilities(connection):
    return _cproton.pn_connection_remote_desired_capabilities(connection)
pn_connection_remote_desired_capabilities = _cproton.pn_connection_remote_desired_capabilities

def pn_connection_remote_properties(connection):
    return _cproton.pn_connection_remote_properties(connection)
pn_connection_remote_properties = _cproton.pn_connection_remote_properties

def pn_connection_transport(connection):
    return _cproton.pn_connection_transport(connection)
pn_connection_transport = _cproton.pn_connection_transport
PROTON_SESSION_H = _cproton.PROTON_SESSION_H

def pn_session(connection):
    return _cproton.pn_session(connection)
pn_session = _cproton.pn_session

def pn_session_free(session):
    return _cproton.pn_session_free(session)
pn_session_free = _cproton.pn_session_free

def pn_session_get_context(session):
    return _cproton.pn_session_get_context(session)
pn_session_get_context = _cproton.pn_session_get_context

def pn_session_set_context(session, context):
    return _cproton.pn_session_set_context(session, context)
pn_session_set_context = _cproton.pn_session_set_context

def pn_session_attachments(session):
    return _cproton.pn_session_attachments(session)
pn_session_attachments = _cproton.pn_session_attachments

def pn_session_state(session):
    return _cproton.pn_session_state(session)
pn_session_state = _cproton.pn_session_state

def pn_session_error(session):
    return _cproton.pn_session_error(session)
pn_session_error = _cproton.pn_session_error

def pn_session_condition(session):
    return _cproton.pn_session_condition(session)
pn_session_condition = _cproton.pn_session_condition

def pn_session_remote_condition(session):
    return _cproton.pn_session_remote_condition(session)
pn_session_remote_condition = _cproton.pn_session_remote_condition

def pn_session_connection(session):
    return _cproton.pn_session_connection(session)
pn_session_connection = _cproton.pn_session_connection

def pn_session_open(session):
    return _cproton.pn_session_open(session)
pn_session_open = _cproton.pn_session_open

def pn_session_close(session):
    return _cproton.pn_session_close(session)
pn_session_close = _cproton.pn_session_close

def pn_session_get_incoming_capacity(session):
    return _cproton.pn_session_get_incoming_capacity(session)
pn_session_get_incoming_capacity = _cproton.pn_session_get_incoming_capacity

def pn_session_set_incoming_capacity(session, capacity):
    return _cproton.pn_session_set_incoming_capacity(session, capacity)
pn_session_set_incoming_capacity = _cproton.pn_session_set_incoming_capacity

def pn_session_get_outgoing_window(session):
    return _cproton.pn_session_get_outgoing_window(session)
pn_session_get_outgoing_window = _cproton.pn_session_get_outgoing_window

def pn_session_set_outgoing_window(session, window):
    return _cproton.pn_session_set_outgoing_window(session, window)
pn_session_set_outgoing_window = _cproton.pn_session_set_outgoing_window

def pn_session_outgoing_bytes(session):
    return _cproton.pn_session_outgoing_bytes(session)
pn_session_outgoing_bytes = _cproton.pn_session_outgoing_bytes

def pn_session_incoming_bytes(session):
    return _cproton.pn_session_incoming_bytes(session)
pn_session_incoming_bytes = _cproton.pn_session_incoming_bytes

def pn_session_head(connection, state):
    return _cproton.pn_session_head(connection, state)
pn_session_head = _cproton.pn_session_head

def pn_session_next(session, state):
    return _cproton.pn_session_next(session, state)
pn_session_next = _cproton.pn_session_next
PROTON_LINK_H = _cproton.PROTON_LINK_H

def pn_sender(session, name):
    return _cproton.pn_sender(session, name)
pn_sender = _cproton.pn_sender

def pn_receiver(session, name):
    return _cproton.pn_receiver(session, name)
pn_receiver = _cproton.pn_receiver

def pn_link_free(link):
    return _cproton.pn_link_free(link)
pn_link_free = _cproton.pn_link_free

def pn_link_get_context(link):
    return _cproton.pn_link_get_context(link)
pn_link_get_context = _cproton.pn_link_get_context

def pn_link_set_context(link, context):
    return _cproton.pn_link_set_context(link, context)
pn_link_set_context = _cproton.pn_link_set_context

def pn_link_attachments(link):
    return _cproton.pn_link_attachments(link)
pn_link_attachments = _cproton.pn_link_attachments

def pn_link_name(link):
    return _cproton.pn_link_name(link)
pn_link_name = _cproton.pn_link_name

def pn_link_is_sender(link):
    return _cproton.pn_link_is_sender(link)
pn_link_is_sender = _cproton.pn_link_is_sender

def pn_link_is_receiver(link):
    return _cproton.pn_link_is_receiver(link)
pn_link_is_receiver = _cproton.pn_link_is_receiver

def pn_link_state(link):
    return _cproton.pn_link_state(link)
pn_link_state = _cproton.pn_link_state

def pn_link_error(link):
    return _cproton.pn_link_error(link)
pn_link_error = _cproton.pn_link_error

def pn_link_condition(link):
    return _cproton.pn_link_condition(link)
pn_link_condition = _cproton.pn_link_condition

def pn_link_remote_condition(link):
    return _cproton.pn_link_remote_condition(link)
pn_link_remote_condition = _cproton.pn_link_remote_condition

def pn_link_session(link):
    return _cproton.pn_link_session(link)
pn_link_session = _cproton.pn_link_session

def pn_link_head(connection, state):
    return _cproton.pn_link_head(connection, state)
pn_link_head = _cproton.pn_link_head

def pn_link_next(link, state):
    return _cproton.pn_link_next(link, state)
pn_link_next = _cproton.pn_link_next

def pn_link_open(link):
    return _cproton.pn_link_open(link)
pn_link_open = _cproton.pn_link_open

def pn_link_close(link):
    return _cproton.pn_link_close(link)
pn_link_close = _cproton.pn_link_close

def pn_link_detach(link):
    return _cproton.pn_link_detach(link)
pn_link_detach = _cproton.pn_link_detach

def pn_link_source(link):
    return _cproton.pn_link_source(link)
pn_link_source = _cproton.pn_link_source

def pn_link_target(link):
    return _cproton.pn_link_target(link)
pn_link_target = _cproton.pn_link_target

def pn_link_remote_source(link):
    return _cproton.pn_link_remote_source(link)
pn_link_remote_source = _cproton.pn_link_remote_source

def pn_link_remote_target(link):
    return _cproton.pn_link_remote_target(link)
pn_link_remote_target = _cproton.pn_link_remote_target

def pn_link_current(link):
    return _cproton.pn_link_current(link)
pn_link_current = _cproton.pn_link_current

def pn_link_advance(link):
    return _cproton.pn_link_advance(link)
pn_link_advance = _cproton.pn_link_advance

def pn_link_credit(link):
    return _cproton.pn_link_credit(link)
pn_link_credit = _cproton.pn_link_credit

def pn_link_queued(link):
    return _cproton.pn_link_queued(link)
pn_link_queued = _cproton.pn_link_queued

def pn_link_remote_credit(link):
    return _cproton.pn_link_remote_credit(link)
pn_link_remote_credit = _cproton.pn_link_remote_credit

def pn_link_get_drain(link):
    return _cproton.pn_link_get_drain(link)
pn_link_get_drain = _cproton.pn_link_get_drain

def pn_link_drained(link):
    return _cproton.pn_link_drained(link)
pn_link_drained = _cproton.pn_link_drained

def pn_link_available(link):
    return _cproton.pn_link_available(link)
pn_link_available = _cproton.pn_link_available
PN_SND_UNSETTLED = _cproton.PN_SND_UNSETTLED
PN_SND_SETTLED = _cproton.PN_SND_SETTLED
PN_SND_MIXED = _cproton.PN_SND_MIXED
PN_RCV_FIRST = _cproton.PN_RCV_FIRST
PN_RCV_SECOND = _cproton.PN_RCV_SECOND

def pn_link_snd_settle_mode(link):
    return _cproton.pn_link_snd_settle_mode(link)
pn_link_snd_settle_mode = _cproton.pn_link_snd_settle_mode

def pn_link_rcv_settle_mode(link):
    return _cproton.pn_link_rcv_settle_mode(link)
pn_link_rcv_settle_mode = _cproton.pn_link_rcv_settle_mode

def pn_link_set_snd_settle_mode(link, mode):
    return _cproton.pn_link_set_snd_settle_mode(link, mode)
pn_link_set_snd_settle_mode = _cproton.pn_link_set_snd_settle_mode

def pn_link_set_rcv_settle_mode(link, mode):
    return _cproton.pn_link_set_rcv_settle_mode(link, mode)
pn_link_set_rcv_settle_mode = _cproton.pn_link_set_rcv_settle_mode

def pn_link_remote_snd_settle_mode(link):
    return _cproton.pn_link_remote_snd_settle_mode(link)
pn_link_remote_snd_settle_mode = _cproton.pn_link_remote_snd_settle_mode

def pn_link_remote_rcv_settle_mode(link):
    return _cproton.pn_link_remote_rcv_settle_mode(link)
pn_link_remote_rcv_settle_mode = _cproton.pn_link_remote_rcv_settle_mode

def pn_link_unsettled(link):
    return _cproton.pn_link_unsettled(link)
pn_link_unsettled = _cproton.pn_link_unsettled

def pn_unsettled_head(link):
    return _cproton.pn_unsettled_head(link)
pn_unsettled_head = _cproton.pn_unsettled_head

def pn_unsettled_next(delivery):
    return _cproton.pn_unsettled_next(delivery)
pn_unsettled_next = _cproton.pn_unsettled_next

def pn_link_offered(sender, credit):
    return _cproton.pn_link_offered(sender, credit)
pn_link_offered = _cproton.pn_link_offered

def pn_link_flow(receiver, credit):
    return _cproton.pn_link_flow(receiver, credit)
pn_link_flow = _cproton.pn_link_flow

def pn_link_drain(receiver, credit):
    return _cproton.pn_link_drain(receiver, credit)
pn_link_drain = _cproton.pn_link_drain

def pn_link_set_drain(receiver, drain):
    return _cproton.pn_link_set_drain(receiver, drain)
pn_link_set_drain = _cproton.pn_link_set_drain

def pn_link_draining(receiver):
    return _cproton.pn_link_draining(receiver)
pn_link_draining = _cproton.pn_link_draining
PROTON_TERMINUS_H = _cproton.PROTON_TERMINUS_H
PN_UNSPECIFIED = _cproton.PN_UNSPECIFIED
PN_SOURCE = _cproton.PN_SOURCE
PN_TARGET = _cproton.PN_TARGET
PN_COORDINATOR = _cproton.PN_COORDINATOR
PN_NONDURABLE = _cproton.PN_NONDURABLE
PN_CONFIGURATION = _cproton.PN_CONFIGURATION
PN_DELIVERIES = _cproton.PN_DELIVERIES
PN_EXPIRE_WITH_LINK = _cproton.PN_EXPIRE_WITH_LINK
PN_EXPIRE_WITH_SESSION = _cproton.PN_EXPIRE_WITH_SESSION
PN_EXPIRE_WITH_CONNECTION = _cproton.PN_EXPIRE_WITH_CONNECTION
PN_EXPIRE_NEVER = _cproton.PN_EXPIRE_NEVER
PN_DIST_MODE_UNSPECIFIED = _cproton.PN_DIST_MODE_UNSPECIFIED
PN_DIST_MODE_COPY = _cproton.PN_DIST_MODE_COPY
PN_DIST_MODE_MOVE = _cproton.PN_DIST_MODE_MOVE

def pn_terminus_get_type(terminus):
    return _cproton.pn_terminus_get_type(terminus)
pn_terminus_get_type = _cproton.pn_terminus_get_type

def pn_terminus_set_type(terminus, type):
    return _cproton.pn_terminus_set_type(terminus, type)
pn_terminus_set_type = _cproton.pn_terminus_set_type

def pn_terminus_get_address(terminus):
    return _cproton.pn_terminus_get_address(terminus)
pn_terminus_get_address = _cproton.pn_terminus_get_address

def pn_terminus_set_address(terminus, address):
    return _cproton.pn_terminus_set_address(terminus, address)
pn_terminus_set_address = _cproton.pn_terminus_set_address

def pn_terminus_get_distribution_mode(terminus):
    return _cproton.pn_terminus_get_distribution_mode(terminus)
pn_terminus_get_distribution_mode = _cproton.pn_terminus_get_distribution_mode

def pn_terminus_set_distribution_mode(terminus, mode):
    return _cproton.pn_terminus_set_distribution_mode(terminus, mode)
pn_terminus_set_distribution_mode = _cproton.pn_terminus_set_distribution_mode

def pn_terminus_get_durability(terminus):
    return _cproton.pn_terminus_get_durability(terminus)
pn_terminus_get_durability = _cproton.pn_terminus_get_durability

def pn_terminus_set_durability(terminus, durability):
    return _cproton.pn_terminus_set_durability(terminus, durability)
pn_terminus_set_durability = _cproton.pn_terminus_set_durability

def pn_terminus_get_expiry_policy(terminus):
    return _cproton.pn_terminus_get_expiry_policy(terminus)
pn_terminus_get_expiry_policy = _cproton.pn_terminus_get_expiry_policy

def pn_terminus_set_expiry_policy(terminus, policy):
    return _cproton.pn_terminus_set_expiry_policy(terminus, policy)
pn_terminus_set_expiry_policy = _cproton.pn_terminus_set_expiry_policy

def pn_terminus_get_timeout(terminus):
    return _cproton.pn_terminus_get_timeout(terminus)
pn_terminus_get_timeout = _cproton.pn_terminus_get_timeout

def pn_terminus_set_timeout(terminus, timeout):
    return _cproton.pn_terminus_set_timeout(terminus, timeout)
pn_terminus_set_timeout = _cproton.pn_terminus_set_timeout

def pn_terminus_is_dynamic(terminus):
    return _cproton.pn_terminus_is_dynamic(terminus)
pn_terminus_is_dynamic = _cproton.pn_terminus_is_dynamic

def pn_terminus_set_dynamic(terminus, dynamic):
    return _cproton.pn_terminus_set_dynamic(terminus, dynamic)
pn_terminus_set_dynamic = _cproton.pn_terminus_set_dynamic

def pn_terminus_properties(terminus):
    return _cproton.pn_terminus_properties(terminus)
pn_terminus_properties = _cproton.pn_terminus_properties

def pn_terminus_capabilities(terminus):
    return _cproton.pn_terminus_capabilities(terminus)
pn_terminus_capabilities = _cproton.pn_terminus_capabilities

def pn_terminus_outcomes(terminus):
    return _cproton.pn_terminus_outcomes(terminus)
pn_terminus_outcomes = _cproton.pn_terminus_outcomes

def pn_terminus_filter(terminus):
    return _cproton.pn_terminus_filter(terminus)
pn_terminus_filter = _cproton.pn_terminus_filter

def pn_terminus_copy(terminus, src):
    return _cproton.pn_terminus_copy(terminus, src)
pn_terminus_copy = _cproton.pn_terminus_copy
PROTON_DELIVERY_H = _cproton.PROTON_DELIVERY_H

def pn_delivery_get_context(delivery):
    return _cproton.pn_delivery_get_context(delivery)
pn_delivery_get_context = _cproton.pn_delivery_get_context

def pn_delivery_set_context(delivery, context):
    return _cproton.pn_delivery_set_context(delivery, context)
pn_delivery_set_context = _cproton.pn_delivery_set_context

def pn_delivery_attachments(delivery):
    return _cproton.pn_delivery_attachments(delivery)
pn_delivery_attachments = _cproton.pn_delivery_attachments

def pn_delivery_link(delivery):
    return _cproton.pn_delivery_link(delivery)
pn_delivery_link = _cproton.pn_delivery_link

def pn_delivery_local(delivery):
    return _cproton.pn_delivery_local(delivery)
pn_delivery_local = _cproton.pn_delivery_local

def pn_delivery_local_state(delivery):
    return _cproton.pn_delivery_local_state(delivery)
pn_delivery_local_state = _cproton.pn_delivery_local_state

def pn_delivery_remote(delivery):
    return _cproton.pn_delivery_remote(delivery)
pn_delivery_remote = _cproton.pn_delivery_remote

def pn_delivery_remote_state(delivery):
    return _cproton.pn_delivery_remote_state(delivery)
pn_delivery_remote_state = _cproton.pn_delivery_remote_state

def pn_delivery_settled(delivery):
    return _cproton.pn_delivery_settled(delivery)
pn_delivery_settled = _cproton.pn_delivery_settled

def pn_delivery_pending(delivery):
    return _cproton.pn_delivery_pending(delivery)
pn_delivery_pending = _cproton.pn_delivery_pending

def pn_delivery_partial(delivery):
    return _cproton.pn_delivery_partial(delivery)
pn_delivery_partial = _cproton.pn_delivery_partial

def pn_delivery_writable(delivery):
    return _cproton.pn_delivery_writable(delivery)
pn_delivery_writable = _cproton.pn_delivery_writable

def pn_delivery_readable(delivery):
    return _cproton.pn_delivery_readable(delivery)
pn_delivery_readable = _cproton.pn_delivery_readable

def pn_delivery_updated(delivery):
    return _cproton.pn_delivery_updated(delivery)
pn_delivery_updated = _cproton.pn_delivery_updated

def pn_delivery_update(delivery, state):
    return _cproton.pn_delivery_update(delivery, state)
pn_delivery_update = _cproton.pn_delivery_update

def pn_delivery_clear(delivery):
    return _cproton.pn_delivery_clear(delivery)
pn_delivery_clear = _cproton.pn_delivery_clear

def pn_delivery_current(delivery):
    return _cproton.pn_delivery_current(delivery)
pn_delivery_current = _cproton.pn_delivery_current

def pn_delivery_settle(delivery):
    return _cproton.pn_delivery_settle(delivery)
pn_delivery_settle = _cproton.pn_delivery_settle

def pn_delivery_dump(delivery):
    return _cproton.pn_delivery_dump(delivery)
pn_delivery_dump = _cproton.pn_delivery_dump

def pn_delivery_buffered(delivery):
    return _cproton.pn_delivery_buffered(delivery)
pn_delivery_buffered = _cproton.pn_delivery_buffered

def pn_work_head(connection):
    return _cproton.pn_work_head(connection)
pn_work_head = _cproton.pn_work_head

def pn_work_next(delivery):
    return _cproton.pn_work_next(delivery)
pn_work_next = _cproton.pn_work_next
PROTON_DISPOSITION_H = _cproton.PROTON_DISPOSITION_H
PN_RECEIVED = _cproton.PN_RECEIVED
PN_ACCEPTED = _cproton.PN_ACCEPTED
PN_REJECTED = _cproton.PN_REJECTED
PN_RELEASED = _cproton.PN_RELEASED
PN_MODIFIED = _cproton.PN_MODIFIED

def pn_disposition_type(disposition):
    return _cproton.pn_disposition_type(disposition)
pn_disposition_type = _cproton.pn_disposition_type

def pn_disposition_condition(disposition):
    return _cproton.pn_disposition_condition(disposition)
pn_disposition_condition = _cproton.pn_disposition_condition

def pn_disposition_data(disposition):
    return _cproton.pn_disposition_data(disposition)
pn_disposition_data = _cproton.pn_disposition_data

def pn_disposition_get_section_number(disposition):
    return _cproton.pn_disposition_get_section_number(disposition)
pn_disposition_get_section_number = _cproton.pn_disposition_get_section_number

def pn_disposition_set_section_number(disposition, section_number):
    return _cproton.pn_disposition_set_section_number(disposition, section_number)
pn_disposition_set_section_number = _cproton.pn_disposition_set_section_number

def pn_disposition_get_section_offset(disposition):
    return _cproton.pn_disposition_get_section_offset(disposition)
pn_disposition_get_section_offset = _cproton.pn_disposition_get_section_offset

def pn_disposition_set_section_offset(disposition, section_offset):
    return _cproton.pn_disposition_set_section_offset(disposition, section_offset)
pn_disposition_set_section_offset = _cproton.pn_disposition_set_section_offset

def pn_disposition_is_failed(disposition):
    return _cproton.pn_disposition_is_failed(disposition)
pn_disposition_is_failed = _cproton.pn_disposition_is_failed

def pn_disposition_set_failed(disposition, failed):
    return _cproton.pn_disposition_set_failed(disposition, failed)
pn_disposition_set_failed = _cproton.pn_disposition_set_failed

def pn_disposition_is_undeliverable(disposition):
    return _cproton.pn_disposition_is_undeliverable(disposition)
pn_disposition_is_undeliverable = _cproton.pn_disposition_is_undeliverable

def pn_disposition_set_undeliverable(disposition, undeliverable):
    return _cproton.pn_disposition_set_undeliverable(disposition, undeliverable)
pn_disposition_set_undeliverable = _cproton.pn_disposition_set_undeliverable

def pn_disposition_annotations(disposition):
    return _cproton.pn_disposition_annotations(disposition)
pn_disposition_annotations = _cproton.pn_disposition_annotations
PROTON_TRANSPORT_H = _cproton.PROTON_TRANSPORT_H
PN_TRACE_OFF = _cproton.PN_TRACE_OFF
PN_TRACE_RAW = _cproton.PN_TRACE_RAW
PN_TRACE_FRM = _cproton.PN_TRACE_FRM
PN_TRACE_DRV = _cproton.PN_TRACE_DRV
PN_TRACE_EVT = _cproton.PN_TRACE_EVT

def pn_transport():
    return _cproton.pn_transport()
pn_transport = _cproton.pn_transport

def pn_transport_set_server(transport):
    return _cproton.pn_transport_set_server(transport)
pn_transport_set_server = _cproton.pn_transport_set_server

def pn_transport_free(transport):
    return _cproton.pn_transport_free(transport)
pn_transport_free = _cproton.pn_transport_free

def pn_transport_get_user(transport):
    return _cproton.pn_transport_get_user(transport)
pn_transport_get_user = _cproton.pn_transport_get_user

def pn_transport_require_auth(transport, required):
    return _cproton.pn_transport_require_auth(transport, required)
pn_transport_require_auth = _cproton.pn_transport_require_auth

def pn_transport_is_authenticated(transport):
    return _cproton.pn_transport_is_authenticated(transport)
pn_transport_is_authenticated = _cproton.pn_transport_is_authenticated

def pn_transport_require_encryption(transport, required):
    return _cproton.pn_transport_require_encryption(transport, required)
pn_transport_require_encryption = _cproton.pn_transport_require_encryption

def pn_transport_is_encrypted(transport):
    return _cproton.pn_transport_is_encrypted(transport)
pn_transport_is_encrypted = _cproton.pn_transport_is_encrypted

def pn_transport_condition(transport):
    return _cproton.pn_transport_condition(transport)
pn_transport_condition = _cproton.pn_transport_condition

def pn_transport_error(transport):
    return _cproton.pn_transport_error(transport)
pn_transport_error = _cproton.pn_transport_error

def pn_transport_bind(transport, connection):
    return _cproton.pn_transport_bind(transport, connection)
pn_transport_bind = _cproton.pn_transport_bind

def pn_transport_unbind(transport):
    return _cproton.pn_transport_unbind(transport)
pn_transport_unbind = _cproton.pn_transport_unbind

def pn_transport_trace(transport, trace):
    return _cproton.pn_transport_trace(transport, trace)
pn_transport_trace = _cproton.pn_transport_trace

def pn_transport_set_tracer(transport, tracer):
    return _cproton.pn_transport_set_tracer(transport, tracer)
pn_transport_set_tracer = _cproton.pn_transport_set_tracer

def pn_transport_get_tracer(transport):
    return _cproton.pn_transport_get_tracer(transport)
pn_transport_get_tracer = _cproton.pn_transport_get_tracer

def pn_transport_get_context(transport):
    return _cproton.pn_transport_get_context(transport)
pn_transport_get_context = _cproton.pn_transport_get_context

def pn_transport_set_context(transport, context):
    return _cproton.pn_transport_set_context(transport, context)
pn_transport_set_context = _cproton.pn_transport_set_context

def pn_transport_attachments(transport):
    return _cproton.pn_transport_attachments(transport)
pn_transport_attachments = _cproton.pn_transport_attachments

def pn_transport_log(transport, message):
    return _cproton.pn_transport_log(transport, message)
pn_transport_log = _cproton.pn_transport_log

def pn_transport_logf(transport, fmt):
    return _cproton.pn_transport_logf(transport, fmt)
pn_transport_logf = _cproton.pn_transport_logf

def pn_transport_get_channel_max(transport):
    return _cproton.pn_transport_get_channel_max(transport)
pn_transport_get_channel_max = _cproton.pn_transport_get_channel_max

def pn_transport_set_channel_max(transport, channel_max):
    return _cproton.pn_transport_set_channel_max(transport, channel_max)
pn_transport_set_channel_max = _cproton.pn_transport_set_channel_max

def pn_transport_remote_channel_max(transport):
    return _cproton.pn_transport_remote_channel_max(transport)
pn_transport_remote_channel_max = _cproton.pn_transport_remote_channel_max

def pn_transport_get_max_frame(transport):
    return _cproton.pn_transport_get_max_frame(transport)
pn_transport_get_max_frame = _cproton.pn_transport_get_max_frame

def pn_transport_set_max_frame(transport, size):
    return _cproton.pn_transport_set_max_frame(transport, size)
pn_transport_set_max_frame = _cproton.pn_transport_set_max_frame

def pn_transport_get_remote_max_frame(transport):
    return _cproton.pn_transport_get_remote_max_frame(transport)
pn_transport_get_remote_max_frame = _cproton.pn_transport_get_remote_max_frame

def pn_transport_get_idle_timeout(transport):
    return _cproton.pn_transport_get_idle_timeout(transport)
pn_transport_get_idle_timeout = _cproton.pn_transport_get_idle_timeout

def pn_transport_set_idle_timeout(transport, timeout):
    return _cproton.pn_transport_set_idle_timeout(transport, timeout)
pn_transport_set_idle_timeout = _cproton.pn_transport_set_idle_timeout

def pn_transport_get_remote_idle_timeout(transport):
    return _cproton.pn_transport_get_remote_idle_timeout(transport)
pn_transport_get_remote_idle_timeout = _cproton.pn_transport_get_remote_idle_timeout

def pn_transport_input(transport, bytes, available):
    return _cproton.pn_transport_input(transport, bytes, available)
pn_transport_input = _cproton.pn_transport_input

def pn_transport_output(transport, bytes, size):
    return _cproton.pn_transport_output(transport, bytes, size)
pn_transport_output = _cproton.pn_transport_output

def pn_transport_capacity(transport):
    return _cproton.pn_transport_capacity(transport)
pn_transport_capacity = _cproton.pn_transport_capacity

def pn_transport_tail(transport):
    return _cproton.pn_transport_tail(transport)
pn_transport_tail = _cproton.pn_transport_tail

def pn_transport_process(transport, size):
    return _cproton.pn_transport_process(transport, size)
pn_transport_process = _cproton.pn_transport_process

def pn_transport_close_tail(transport):
    return _cproton.pn_transport_close_tail(transport)
pn_transport_close_tail = _cproton.pn_transport_close_tail

def pn_transport_pending(transport):
    return _cproton.pn_transport_pending(transport)
pn_transport_pending = _cproton.pn_transport_pending

def pn_transport_head(transport):
    return _cproton.pn_transport_head(transport)
pn_transport_head = _cproton.pn_transport_head

def pn_transport_pop(transport, size):
    return _cproton.pn_transport_pop(transport, size)
pn_transport_pop = _cproton.pn_transport_pop

def pn_transport_close_head(transport):
    return _cproton.pn_transport_close_head(transport)
pn_transport_close_head = _cproton.pn_transport_close_head

def pn_transport_quiesced(transport):
    return _cproton.pn_transport_quiesced(transport)
pn_transport_quiesced = _cproton.pn_transport_quiesced

def pn_transport_closed(transport):
    return _cproton.pn_transport_closed(transport)
pn_transport_closed = _cproton.pn_transport_closed

def pn_transport_tick(transport, now):
    return _cproton.pn_transport_tick(transport, now)
pn_transport_tick = _cproton.pn_transport_tick

def pn_transport_get_frames_output(transport):
    return _cproton.pn_transport_get_frames_output(transport)
pn_transport_get_frames_output = _cproton.pn_transport_get_frames_output

def pn_transport_get_frames_input(transport):
    return _cproton.pn_transport_get_frames_input(transport)
pn_transport_get_frames_input = _cproton.pn_transport_get_frames_input

def pn_transport_connection(transport):
    return _cproton.pn_transport_connection(transport)
pn_transport_connection = _cproton.pn_transport_connection
PROTON_EVENT_H = _cproton.PROTON_EVENT_H
PN_EVENT_NONE = _cproton.PN_EVENT_NONE
PN_REACTOR_INIT = _cproton.PN_REACTOR_INIT
PN_REACTOR_QUIESCED = _cproton.PN_REACTOR_QUIESCED
PN_REACTOR_FINAL = _cproton.PN_REACTOR_FINAL
PN_TIMER_TASK = _cproton.PN_TIMER_TASK
PN_CONNECTION_INIT = _cproton.PN_CONNECTION_INIT
PN_CONNECTION_BOUND = _cproton.PN_CONNECTION_BOUND
PN_CONNECTION_UNBOUND = _cproton.PN_CONNECTION_UNBOUND
PN_CONNECTION_LOCAL_OPEN = _cproton.PN_CONNECTION_LOCAL_OPEN
PN_CONNECTION_REMOTE_OPEN = _cproton.PN_CONNECTION_REMOTE_OPEN
PN_CONNECTION_LOCAL_CLOSE = _cproton.PN_CONNECTION_LOCAL_CLOSE
PN_CONNECTION_REMOTE_CLOSE = _cproton.PN_CONNECTION_REMOTE_CLOSE
PN_CONNECTION_FINAL = _cproton.PN_CONNECTION_FINAL
PN_SESSION_INIT = _cproton.PN_SESSION_INIT
PN_SESSION_LOCAL_OPEN = _cproton.PN_SESSION_LOCAL_OPEN
PN_SESSION_REMOTE_OPEN = _cproton.PN_SESSION_REMOTE_OPEN
PN_SESSION_LOCAL_CLOSE = _cproton.PN_SESSION_LOCAL_CLOSE
PN_SESSION_REMOTE_CLOSE = _cproton.PN_SESSION_REMOTE_CLOSE
PN_SESSION_FINAL = _cproton.PN_SESSION_FINAL
PN_LINK_INIT = _cproton.PN_LINK_INIT
PN_LINK_LOCAL_OPEN = _cproton.PN_LINK_LOCAL_OPEN
PN_LINK_REMOTE_OPEN = _cproton.PN_LINK_REMOTE_OPEN
PN_LINK_LOCAL_CLOSE = _cproton.PN_LINK_LOCAL_CLOSE
PN_LINK_REMOTE_CLOSE = _cproton.PN_LINK_REMOTE_CLOSE
PN_LINK_LOCAL_DETACH = _cproton.PN_LINK_LOCAL_DETACH
PN_LINK_REMOTE_DETACH = _cproton.PN_LINK_REMOTE_DETACH
PN_LINK_FLOW = _cproton.PN_LINK_FLOW
PN_LINK_FINAL = _cproton.PN_LINK_FINAL
PN_DELIVERY = _cproton.PN_DELIVERY
PN_TRANSPORT = _cproton.PN_TRANSPORT
PN_TRANSPORT_AUTHENTICATED = _cproton.PN_TRANSPORT_AUTHENTICATED
PN_TRANSPORT_ERROR = _cproton.PN_TRANSPORT_ERROR
PN_TRANSPORT_HEAD_CLOSED = _cproton.PN_TRANSPORT_HEAD_CLOSED
PN_TRANSPORT_TAIL_CLOSED = _cproton.PN_TRANSPORT_TAIL_CLOSED
PN_TRANSPORT_CLOSED = _cproton.PN_TRANSPORT_CLOSED
PN_SELECTABLE_INIT = _cproton.PN_SELECTABLE_INIT
PN_SELECTABLE_UPDATED = _cproton.PN_SELECTABLE_UPDATED
PN_SELECTABLE_READABLE = _cproton.PN_SELECTABLE_READABLE
PN_SELECTABLE_WRITABLE = _cproton.PN_SELECTABLE_WRITABLE
PN_SELECTABLE_ERROR = _cproton.PN_SELECTABLE_ERROR
PN_SELECTABLE_EXPIRED = _cproton.PN_SELECTABLE_EXPIRED
PN_SELECTABLE_FINAL = _cproton.PN_SELECTABLE_FINAL

def pn_event_type_name(type):
    return _cproton.pn_event_type_name(type)
pn_event_type_name = _cproton.pn_event_type_name

def pn_collector():
    return _cproton.pn_collector()
pn_collector = _cproton.pn_collector

def pn_collector_free(collector):
    return _cproton.pn_collector_free(collector)
pn_collector_free = _cproton.pn_collector_free

def pn_collector_release(collector):
    return _cproton.pn_collector_release(collector)
pn_collector_release = _cproton.pn_collector_release

def pn_collector_put(collector, clazz, context, type):
    return _cproton.pn_collector_put(collector, clazz, context, type)
pn_collector_put = _cproton.pn_collector_put

def pn_collector_peek(collector):
    return _cproton.pn_collector_peek(collector)
pn_collector_peek = _cproton.pn_collector_peek

def pn_collector_pop(collector):
    return _cproton.pn_collector_pop(collector)
pn_collector_pop = _cproton.pn_collector_pop

def pn_collector_more(collector):
    return _cproton.pn_collector_more(collector)
pn_collector_more = _cproton.pn_collector_more

def pn_event_type(event):
    return _cproton.pn_event_type(event)
pn_event_type = _cproton.pn_event_type

def pn_event_class(event):
    return _cproton.pn_event_class(event)
pn_event_class = _cproton.pn_event_class

def pn_event_context(event):
    return _cproton.pn_event_context(event)
pn_event_context = _cproton.pn_event_context

def pn_event_root(event):
    return _cproton.pn_event_root(event)
pn_event_root = _cproton.pn_event_root

def pn_event_connection(event):
    return _cproton.pn_event_connection(event)
pn_event_connection = _cproton.pn_event_connection

def pn_event_session(event):
    return _cproton.pn_event_session(event)
pn_event_session = _cproton.pn_event_session

def pn_event_link(event):
    return _cproton.pn_event_link(event)
pn_event_link = _cproton.pn_event_link

def pn_event_delivery(event):
    return _cproton.pn_event_delivery(event)
pn_event_delivery = _cproton.pn_event_delivery

def pn_event_transport(event):
    return _cproton.pn_event_transport(event)
pn_event_transport = _cproton.pn_event_transport

def pn_event_attachments(event):
    return _cproton.pn_event_attachments(event)
pn_event_attachments = _cproton.pn_event_attachments

def pn_event_copy(evt):
    return _cproton.pn_event_copy(evt)
pn_event_copy = _cproton.pn_event_copy
PROTON_MESSAGE_H = _cproton.PROTON_MESSAGE_H
PN_DEFAULT_PRIORITY = _cproton.PN_DEFAULT_PRIORITY

def pn_message():
    return _cproton.pn_message()
pn_message = _cproton.pn_message

def pn_message_free(msg):
    return _cproton.pn_message_free(msg)
pn_message_free = _cproton.pn_message_free

def pn_message_clear(msg):
    return _cproton.pn_message_clear(msg)
pn_message_clear = _cproton.pn_message_clear

def pn_message_errno(msg):
    return _cproton.pn_message_errno(msg)
pn_message_errno = _cproton.pn_message_errno

def pn_message_error(msg):
    return _cproton.pn_message_error(msg)
pn_message_error = _cproton.pn_message_error

def pn_message_is_inferred(msg):
    return _cproton.pn_message_is_inferred(msg)
pn_message_is_inferred = _cproton.pn_message_is_inferred

def pn_message_set_inferred(msg, inferred):
    return _cproton.pn_message_set_inferred(msg, inferred)
pn_message_set_inferred = _cproton.pn_message_set_inferred

def pn_message_is_durable(msg):
    return _cproton.pn_message_is_durable(msg)
pn_message_is_durable = _cproton.pn_message_is_durable

def pn_message_set_durable(msg, durable):
    return _cproton.pn_message_set_durable(msg, durable)
pn_message_set_durable = _cproton.pn_message_set_durable

def pn_message_get_priority(msg):
    return _cproton.pn_message_get_priority(msg)
pn_message_get_priority = _cproton.pn_message_get_priority

def pn_message_set_priority(msg, priority):
    return _cproton.pn_message_set_priority(msg, priority)
pn_message_set_priority = _cproton.pn_message_set_priority

def pn_message_get_ttl(msg):
    return _cproton.pn_message_get_ttl(msg)
pn_message_get_ttl = _cproton.pn_message_get_ttl

def pn_message_set_ttl(msg, ttl):
    return _cproton.pn_message_set_ttl(msg, ttl)
pn_message_set_ttl = _cproton.pn_message_set_ttl

def pn_message_is_first_acquirer(msg):
    return _cproton.pn_message_is_first_acquirer(msg)
pn_message_is_first_acquirer = _cproton.pn_message_is_first_acquirer

def pn_message_set_first_acquirer(msg, first):
    return _cproton.pn_message_set_first_acquirer(msg, first)
pn_message_set_first_acquirer = _cproton.pn_message_set_first_acquirer

def pn_message_get_delivery_count(msg):
    return _cproton.pn_message_get_delivery_count(msg)
pn_message_get_delivery_count = _cproton.pn_message_get_delivery_count

def pn_message_set_delivery_count(msg, count):
    return _cproton.pn_message_set_delivery_count(msg, count)
pn_message_set_delivery_count = _cproton.pn_message_set_delivery_count

def pn_message_id(msg):
    return _cproton.pn_message_id(msg)
pn_message_id = _cproton.pn_message_id

def pn_message_get_user_id(msg):
    return _cproton.pn_message_get_user_id(msg)
pn_message_get_user_id = _cproton.pn_message_get_user_id

def pn_message_set_user_id(msg, user_id):
    return _cproton.pn_message_set_user_id(msg, user_id)
pn_message_set_user_id = _cproton.pn_message_set_user_id

def pn_message_get_address(msg):
    return _cproton.pn_message_get_address(msg)
pn_message_get_address = _cproton.pn_message_get_address

def pn_message_set_address(msg, address):
    return _cproton.pn_message_set_address(msg, address)
pn_message_set_address = _cproton.pn_message_set_address

def pn_message_get_subject(msg):
    return _cproton.pn_message_get_subject(msg)
pn_message_get_subject = _cproton.pn_message_get_subject

def pn_message_set_subject(msg, subject):
    return _cproton.pn_message_set_subject(msg, subject)
pn_message_set_subject = _cproton.pn_message_set_subject

def pn_message_get_reply_to(msg):
    return _cproton.pn_message_get_reply_to(msg)
pn_message_get_reply_to = _cproton.pn_message_get_reply_to

def pn_message_set_reply_to(msg, reply_to):
    return _cproton.pn_message_set_reply_to(msg, reply_to)
pn_message_set_reply_to = _cproton.pn_message_set_reply_to

def pn_message_correlation_id(msg):
    return _cproton.pn_message_correlation_id(msg)
pn_message_correlation_id = _cproton.pn_message_correlation_id

def pn_message_get_content_type(msg):
    return _cproton.pn_message_get_content_type(msg)
pn_message_get_content_type = _cproton.pn_message_get_content_type

def pn_message_set_content_type(msg, type):
    return _cproton.pn_message_set_content_type(msg, type)
pn_message_set_content_type = _cproton.pn_message_set_content_type

def pn_message_get_content_encoding(msg):
    return _cproton.pn_message_get_content_encoding(msg)
pn_message_get_content_encoding = _cproton.pn_message_get_content_encoding

def pn_message_set_content_encoding(msg, encoding):
    return _cproton.pn_message_set_content_encoding(msg, encoding)
pn_message_set_content_encoding = _cproton.pn_message_set_content_encoding

def pn_message_get_expiry_time(msg):
    return _cproton.pn_message_get_expiry_time(msg)
pn_message_get_expiry_time = _cproton.pn_message_get_expiry_time

def pn_message_set_expiry_time(msg, time):
    return _cproton.pn_message_set_expiry_time(msg, time)
pn_message_set_expiry_time = _cproton.pn_message_set_expiry_time

def pn_message_get_creation_time(msg):
    return _cproton.pn_message_get_creation_time(msg)
pn_message_get_creation_time = _cproton.pn_message_get_creation_time

def pn_message_set_creation_time(msg, time):
    return _cproton.pn_message_set_creation_time(msg, time)
pn_message_set_creation_time = _cproton.pn_message_set_creation_time

def pn_message_get_group_id(msg):
    return _cproton.pn_message_get_group_id(msg)
pn_message_get_group_id = _cproton.pn_message_get_group_id

def pn_message_set_group_id(msg, group_id):
    return _cproton.pn_message_set_group_id(msg, group_id)
pn_message_set_group_id = _cproton.pn_message_set_group_id

def pn_message_get_group_sequence(msg):
    return _cproton.pn_message_get_group_sequence(msg)
pn_message_get_group_sequence = _cproton.pn_message_get_group_sequence

def pn_message_set_group_sequence(msg, n):
    return _cproton.pn_message_set_group_sequence(msg, n)
pn_message_set_group_sequence = _cproton.pn_message_set_group_sequence

def pn_message_get_reply_to_group_id(msg):
    return _cproton.pn_message_get_reply_to_group_id(msg)
pn_message_get_reply_to_group_id = _cproton.pn_message_get_reply_to_group_id

def pn_message_set_reply_to_group_id(msg, reply_to_group_id):
    return _cproton.pn_message_set_reply_to_group_id(msg, reply_to_group_id)
pn_message_set_reply_to_group_id = _cproton.pn_message_set_reply_to_group_id

def pn_message_instructions(msg):
    return _cproton.pn_message_instructions(msg)
pn_message_instructions = _cproton.pn_message_instructions

def pn_message_annotations(msg):
    return _cproton.pn_message_annotations(msg)
pn_message_annotations = _cproton.pn_message_annotations

def pn_message_properties(msg):
    return _cproton.pn_message_properties(msg)
pn_message_properties = _cproton.pn_message_properties

def pn_message_body(msg):
    return _cproton.pn_message_body(msg)
pn_message_body = _cproton.pn_message_body

def pn_message_data(msg, data):
    return _cproton.pn_message_data(msg, data)
pn_message_data = _cproton.pn_message_data
PROTON_SASL_H = _cproton.PROTON_SASL_H
PN_SASL_NONE = _cproton.PN_SASL_NONE
PN_SASL_OK = _cproton.PN_SASL_OK
PN_SASL_AUTH = _cproton.PN_SASL_AUTH
PN_SASL_SYS = _cproton.PN_SASL_SYS
PN_SASL_PERM = _cproton.PN_SASL_PERM
PN_SASL_TEMP = _cproton.PN_SASL_TEMP

def pn_sasl(transport):
    return _cproton.pn_sasl(transport)
pn_sasl = _cproton.pn_sasl

def pn_sasl_extended():
    return _cproton.pn_sasl_extended()
pn_sasl_extended = _cproton.pn_sasl_extended

def pn_sasl_done(sasl, outcome):
    return _cproton.pn_sasl_done(sasl, outcome)
pn_sasl_done = _cproton.pn_sasl_done

def pn_sasl_outcome(sasl):
    return _cproton.pn_sasl_outcome(sasl)
pn_sasl_outcome = _cproton.pn_sasl_outcome

def pn_sasl_get_user(sasl):
    return _cproton.pn_sasl_get_user(sasl)
pn_sasl_get_user = _cproton.pn_sasl_get_user

def pn_sasl_get_mech(sasl):
    return _cproton.pn_sasl_get_mech(sasl)
pn_sasl_get_mech = _cproton.pn_sasl_get_mech

def pn_sasl_allowed_mechs(sasl, mechs):
    return _cproton.pn_sasl_allowed_mechs(sasl, mechs)
pn_sasl_allowed_mechs = _cproton.pn_sasl_allowed_mechs

def pn_sasl_set_allow_insecure_mechs(sasl, insecure):
    return _cproton.pn_sasl_set_allow_insecure_mechs(sasl, insecure)
pn_sasl_set_allow_insecure_mechs = _cproton.pn_sasl_set_allow_insecure_mechs

def pn_sasl_get_allow_insecure_mechs(sasl):
    return _cproton.pn_sasl_get_allow_insecure_mechs(sasl)
pn_sasl_get_allow_insecure_mechs = _cproton.pn_sasl_get_allow_insecure_mechs

def pn_sasl_config_name(sasl, name):
    return _cproton.pn_sasl_config_name(sasl, name)
pn_sasl_config_name = _cproton.pn_sasl_config_name

def pn_sasl_config_path(sasl, path):
    return _cproton.pn_sasl_config_path(sasl, path)
pn_sasl_config_path = _cproton.pn_sasl_config_path
PROTON_MESSENGER_H = _cproton.PROTON_MESSENGER_H
PN_STATUS_UNKNOWN = _cproton.PN_STATUS_UNKNOWN
PN_STATUS_PENDING = _cproton.PN_STATUS_PENDING
PN_STATUS_ACCEPTED = _cproton.PN_STATUS_ACCEPTED
PN_STATUS_REJECTED = _cproton.PN_STATUS_REJECTED
PN_STATUS_RELEASED = _cproton.PN_STATUS_RELEASED
PN_STATUS_MODIFIED = _cproton.PN_STATUS_MODIFIED
PN_STATUS_ABORTED = _cproton.PN_STATUS_ABORTED
PN_STATUS_SETTLED = _cproton.PN_STATUS_SETTLED

def pn_messenger(name):
    return _cproton.pn_messenger(name)
pn_messenger = _cproton.pn_messenger

def pn_messenger_name(messenger):
    return _cproton.pn_messenger_name(messenger)
pn_messenger_name = _cproton.pn_messenger_name

def pn_messenger_set_certificate(messenger, certificate):
    return _cproton.pn_messenger_set_certificate(messenger, certificate)
pn_messenger_set_certificate = _cproton.pn_messenger_set_certificate

def pn_messenger_get_certificate(messenger):
    return _cproton.pn_messenger_get_certificate(messenger)
pn_messenger_get_certificate = _cproton.pn_messenger_get_certificate

def pn_messenger_set_private_key(messenger, private_key):
    return _cproton.pn_messenger_set_private_key(messenger, private_key)
pn_messenger_set_private_key = _cproton.pn_messenger_set_private_key

def pn_messenger_get_private_key(messenger):
    return _cproton.pn_messenger_get_private_key(messenger)
pn_messenger_get_private_key = _cproton.pn_messenger_get_private_key

def pn_messenger_set_password(messenger, password):
    return _cproton.pn_messenger_set_password(messenger, password)
pn_messenger_set_password = _cproton.pn_messenger_set_password

def pn_messenger_get_password(messenger):
    return _cproton.pn_messenger_get_password(messenger)
pn_messenger_get_password = _cproton.pn_messenger_get_password

def pn_messenger_set_trusted_certificates(messenger, cert_db):
    return _cproton.pn_messenger_set_trusted_certificates(messenger, cert_db)
pn_messenger_set_trusted_certificates = _cproton.pn_messenger_set_trusted_certificates

def pn_messenger_get_trusted_certificates(messenger):
    return _cproton.pn_messenger_get_trusted_certificates(messenger)
pn_messenger_get_trusted_certificates = _cproton.pn_messenger_get_trusted_certificates

def pn_messenger_set_timeout(messenger, timeout):
    return _cproton.pn_messenger_set_timeout(messenger, timeout)
pn_messenger_set_timeout = _cproton.pn_messenger_set_timeout

def pn_messenger_get_timeout(messenger):
    return _cproton.pn_messenger_get_timeout(messenger)
pn_messenger_get_timeout = _cproton.pn_messenger_get_timeout

def pn_messenger_is_blocking(messenger):
    return _cproton.pn_messenger_is_blocking(messenger)
pn_messenger_is_blocking = _cproton.pn_messenger_is_blocking

def pn_messenger_set_blocking(messenger, blocking):
    return _cproton.pn_messenger_set_blocking(messenger, blocking)
pn_messenger_set_blocking = _cproton.pn_messenger_set_blocking

def pn_messenger_is_passive(messenger):
    return _cproton.pn_messenger_is_passive(messenger)
pn_messenger_is_passive = _cproton.pn_messenger_is_passive

def pn_messenger_set_passive(messenger, passive):
    return _cproton.pn_messenger_set_passive(messenger, passive)
pn_messenger_set_passive = _cproton.pn_messenger_set_passive

def pn_messenger_free(messenger):
    return _cproton.pn_messenger_free(messenger)
pn_messenger_free = _cproton.pn_messenger_free

def pn_messenger_errno(messenger):
    return _cproton.pn_messenger_errno(messenger)
pn_messenger_errno = _cproton.pn_messenger_errno

def pn_messenger_error(messenger):
    return _cproton.pn_messenger_error(messenger)
pn_messenger_error = _cproton.pn_messenger_error

def pn_messenger_get_outgoing_window(messenger):
    return _cproton.pn_messenger_get_outgoing_window(messenger)
pn_messenger_get_outgoing_window = _cproton.pn_messenger_get_outgoing_window

def pn_messenger_set_outgoing_window(messenger, window):
    return _cproton.pn_messenger_set_outgoing_window(messenger, window)
pn_messenger_set_outgoing_window = _cproton.pn_messenger_set_outgoing_window

def pn_messenger_get_incoming_window(messenger):
    return _cproton.pn_messenger_get_incoming_window(messenger)
pn_messenger_get_incoming_window = _cproton.pn_messenger_get_incoming_window

def pn_messenger_set_incoming_window(messenger, window):
    return _cproton.pn_messenger_set_incoming_window(messenger, window)
pn_messenger_set_incoming_window = _cproton.pn_messenger_set_incoming_window

def pn_messenger_start(messenger):
    return _cproton.pn_messenger_start(messenger)
pn_messenger_start = _cproton.pn_messenger_start

def pn_messenger_stop(messenger):
    return _cproton.pn_messenger_stop(messenger)
pn_messenger_stop = _cproton.pn_messenger_stop

def pn_messenger_stopped(messenger):
    return _cproton.pn_messenger_stopped(messenger)
pn_messenger_stopped = _cproton.pn_messenger_stopped

def pn_messenger_subscribe(messenger, source):
    return _cproton.pn_messenger_subscribe(messenger, source)
pn_messenger_subscribe = _cproton.pn_messenger_subscribe

def pn_messenger_subscribe_ttl(messenger, source, timeout):
    return _cproton.pn_messenger_subscribe_ttl(messenger, source, timeout)
pn_messenger_subscribe_ttl = _cproton.pn_messenger_subscribe_ttl

def pn_messenger_get_link(messenger, address, sender):
    return _cproton.pn_messenger_get_link(messenger, address, sender)
pn_messenger_get_link = _cproton.pn_messenger_get_link

def pn_subscription_get_context(sub):
    return _cproton.pn_subscription_get_context(sub)
pn_subscription_get_context = _cproton.pn_subscription_get_context

def pn_subscription_set_context(sub, context):
    return _cproton.pn_subscription_set_context(sub, context)
pn_subscription_set_context = _cproton.pn_subscription_set_context

def pn_subscription_address(sub):
    return _cproton.pn_subscription_address(sub)
pn_subscription_address = _cproton.pn_subscription_address

def pn_messenger_put(messenger, msg):
    return _cproton.pn_messenger_put(messenger, msg)
pn_messenger_put = _cproton.pn_messenger_put

def pn_messenger_status(messenger, tracker):
    return _cproton.pn_messenger_status(messenger, tracker)
pn_messenger_status = _cproton.pn_messenger_status

def pn_messenger_delivery(messenger, tracker):
    return _cproton.pn_messenger_delivery(messenger, tracker)
pn_messenger_delivery = _cproton.pn_messenger_delivery

def pn_messenger_buffered(messenger, tracker):
    return _cproton.pn_messenger_buffered(messenger, tracker)
pn_messenger_buffered = _cproton.pn_messenger_buffered

def pn_messenger_settle(messenger, tracker, flags):
    return _cproton.pn_messenger_settle(messenger, tracker, flags)
pn_messenger_settle = _cproton.pn_messenger_settle

def pn_messenger_outgoing_tracker(messenger):
    return _cproton.pn_messenger_outgoing_tracker(messenger)
pn_messenger_outgoing_tracker = _cproton.pn_messenger_outgoing_tracker

def pn_messenger_work(messenger, timeout):
    return _cproton.pn_messenger_work(messenger, timeout)
pn_messenger_work = _cproton.pn_messenger_work

def pn_messenger_interrupt(messenger):
    return _cproton.pn_messenger_interrupt(messenger)
pn_messenger_interrupt = _cproton.pn_messenger_interrupt

def pn_messenger_send(messenger, n):
    return _cproton.pn_messenger_send(messenger, n)
pn_messenger_send = _cproton.pn_messenger_send

def pn_messenger_recv(messenger, limit):
    return _cproton.pn_messenger_recv(messenger, limit)
pn_messenger_recv = _cproton.pn_messenger_recv

def pn_messenger_receiving(messenger):
    return _cproton.pn_messenger_receiving(messenger)
pn_messenger_receiving = _cproton.pn_messenger_receiving

def pn_messenger_get(messenger, message):
    return _cproton.pn_messenger_get(messenger, message)
pn_messenger_get = _cproton.pn_messenger_get

def pn_messenger_incoming_tracker(messenger):
    return _cproton.pn_messenger_incoming_tracker(messenger)
pn_messenger_incoming_tracker = _cproton.pn_messenger_incoming_tracker

def pn_messenger_incoming_subscription(messenger):
    return _cproton.pn_messenger_incoming_subscription(messenger)
pn_messenger_incoming_subscription = _cproton.pn_messenger_incoming_subscription
PN_CUMULATIVE = _cproton.PN_CUMULATIVE

def pn_messenger_accept(messenger, tracker, flags):
    return _cproton.pn_messenger_accept(messenger, tracker, flags)
pn_messenger_accept = _cproton.pn_messenger_accept

def pn_messenger_reject(messenger, tracker, flags):
    return _cproton.pn_messenger_reject(messenger, tracker, flags)
pn_messenger_reject = _cproton.pn_messenger_reject

def pn_messenger_tracker_link(messenger, tracker):
    return _cproton.pn_messenger_tracker_link(messenger, tracker)
pn_messenger_tracker_link = _cproton.pn_messenger_tracker_link

def pn_messenger_outgoing(messenger):
    return _cproton.pn_messenger_outgoing(messenger)
pn_messenger_outgoing = _cproton.pn_messenger_outgoing

def pn_messenger_incoming(messenger):
    return _cproton.pn_messenger_incoming(messenger)
pn_messenger_incoming = _cproton.pn_messenger_incoming

def pn_messenger_route(messenger, pattern, address):
    return _cproton.pn_messenger_route(messenger, pattern, address)
pn_messenger_route = _cproton.pn_messenger_route

def pn_messenger_rewrite(messenger, pattern, address):
    return _cproton.pn_messenger_rewrite(messenger, pattern, address)
pn_messenger_rewrite = _cproton.pn_messenger_rewrite

def pn_messenger_selectable(messenger):
    return _cproton.pn_messenger_selectable(messenger)
pn_messenger_selectable = _cproton.pn_messenger_selectable

def pn_messenger_deadline(messenger):
    return _cproton.pn_messenger_deadline(messenger)
pn_messenger_deadline = _cproton.pn_messenger_deadline
PN_FLAGS_CHECK_ROUTES = _cproton.PN_FLAGS_CHECK_ROUTES
PN_FLAGS_ALLOW_INSECURE_MECHS = _cproton.PN_FLAGS_ALLOW_INSECURE_MECHS

def pn_messenger_set_flags(messenger, flags):
    return _cproton.pn_messenger_set_flags(messenger, flags)
pn_messenger_set_flags = _cproton.pn_messenger_set_flags

def pn_messenger_get_flags(messenger):
    return _cproton.pn_messenger_get_flags(messenger)
pn_messenger_get_flags = _cproton.pn_messenger_get_flags

def pn_messenger_set_snd_settle_mode(messenger, mode):
    return _cproton.pn_messenger_set_snd_settle_mode(messenger, mode)
pn_messenger_set_snd_settle_mode = _cproton.pn_messenger_set_snd_settle_mode

def pn_messenger_set_rcv_settle_mode(messenger, mode):
    return _cproton.pn_messenger_set_rcv_settle_mode(messenger, mode)
pn_messenger_set_rcv_settle_mode = _cproton.pn_messenger_set_rcv_settle_mode

def pn_messenger_set_tracer(messenger, tracer):
    return _cproton.pn_messenger_set_tracer(messenger, tracer)
pn_messenger_set_tracer = _cproton.pn_messenger_set_tracer

def pn_messenger_get_remote_idle_timeout(messenger, address):
    return _cproton.pn_messenger_get_remote_idle_timeout(messenger, address)
pn_messenger_get_remote_idle_timeout = _cproton.pn_messenger_get_remote_idle_timeout

def pn_messenger_set_ssl_peer_authentication_mode(messenger, mode):
    return _cproton.pn_messenger_set_ssl_peer_authentication_mode(messenger, mode)
pn_messenger_set_ssl_peer_authentication_mode = _cproton.pn_messenger_set_ssl_peer_authentication_mode
PROTON_IO_H = _cproton.PROTON_IO_H
PN_INVALID_SOCKET = _cproton.PN_INVALID_SOCKET

def pn_io():
    return _cproton.pn_io()
pn_io = _cproton.pn_io

def pn_io_free(io):
    return _cproton.pn_io_free(io)
pn_io_free = _cproton.pn_io_free

def pn_io_error(io):
    return _cproton.pn_io_error(io)
pn_io_error = _cproton.pn_io_error

def pn_connect(io, host, port):
    return _cproton.pn_connect(io, host, port)
pn_connect = _cproton.pn_connect

def pn_listen(io, host, port):
    return _cproton.pn_listen(io, host, port)
pn_listen = _cproton.pn_listen

def pn_accept(io, socket, name, size):
    return _cproton.pn_accept(io, socket, name, size)
pn_accept = _cproton.pn_accept

def pn_close(io, socket):
    return _cproton.pn_close(io, socket)
pn_close = _cproton.pn_close

def pn_send(io, socket, buf, size):
    return _cproton.pn_send(io, socket, buf, size)
pn_send = _cproton.pn_send

def pn_recv(io, socket, buf, size):
    return _cproton.pn_recv(io, socket, buf, size)
pn_recv = _cproton.pn_recv

def pn_pipe(io, dest):
    return _cproton.pn_pipe(io, dest)
pn_pipe = _cproton.pn_pipe

def pn_read(io, socket, buf, size):
    return _cproton.pn_read(io, socket, buf, size)
pn_read = _cproton.pn_read

def pn_write(io, socket, buf, size):
    return _cproton.pn_write(io, socket, buf, size)
pn_write = _cproton.pn_write

def pn_wouldblock(io):
    return _cproton.pn_wouldblock(io)
pn_wouldblock = _cproton.pn_wouldblock

def pn_io_selector(io):
    return _cproton.pn_io_selector(io)
pn_io_selector = _cproton.pn_io_selector
PROTON_SELECTABLE_H = _cproton.PROTON_SELECTABLE_H

def pn_selectables():
    return _cproton.pn_selectables()
pn_selectables = _cproton.pn_selectables

def pn_selectables_next(selectables):
    return _cproton.pn_selectables_next(selectables)
pn_selectables_next = _cproton.pn_selectables_next

def pn_selectables_free(selectables):
    return _cproton.pn_selectables_free(selectables)
pn_selectables_free = _cproton.pn_selectables_free

def pn_selectable():
    return _cproton.pn_selectable()
pn_selectable = _cproton.pn_selectable

def pn_selectable_on_readable(sel, readable):
    return _cproton.pn_selectable_on_readable(sel, readable)
pn_selectable_on_readable = _cproton.pn_selectable_on_readable

def pn_selectable_on_writable(sel, writable):
    return _cproton.pn_selectable_on_writable(sel, writable)
pn_selectable_on_writable = _cproton.pn_selectable_on_writable

def pn_selectable_on_expired(sel, expired):
    return _cproton.pn_selectable_on_expired(sel, expired)
pn_selectable_on_expired = _cproton.pn_selectable_on_expired

def pn_selectable_on_error(sel, error):
    return _cproton.pn_selectable_on_error(sel, error)
pn_selectable_on_error = _cproton.pn_selectable_on_error

def pn_selectable_on_release(sel, release):
    return _cproton.pn_selectable_on_release(sel, release)
pn_selectable_on_release = _cproton.pn_selectable_on_release

def pn_selectable_on_finalize(sel, finalize):
    return _cproton.pn_selectable_on_finalize(sel, finalize)
pn_selectable_on_finalize = _cproton.pn_selectable_on_finalize

def pn_selectable_attachments(sel):
    return _cproton.pn_selectable_attachments(sel)
pn_selectable_attachments = _cproton.pn_selectable_attachments

def pn_selectable_get_fd(selectable):
    return _cproton.pn_selectable_get_fd(selectable)
pn_selectable_get_fd = _cproton.pn_selectable_get_fd

def pn_selectable_set_fd(selectable, fd):
    return _cproton.pn_selectable_set_fd(selectable, fd)
pn_selectable_set_fd = _cproton.pn_selectable_set_fd

def pn_selectable_is_reading(selectable):
    return _cproton.pn_selectable_is_reading(selectable)
pn_selectable_is_reading = _cproton.pn_selectable_is_reading

def pn_selectable_set_reading(sel, reading):
    return _cproton.pn_selectable_set_reading(sel, reading)
pn_selectable_set_reading = _cproton.pn_selectable_set_reading

def pn_selectable_is_writing(selectable):
    return _cproton.pn_selectable_is_writing(selectable)
pn_selectable_is_writing = _cproton.pn_selectable_is_writing

def pn_selectable_set_writing(sel, writing):
    return _cproton.pn_selectable_set_writing(sel, writing)
pn_selectable_set_writing = _cproton.pn_selectable_set_writing

def pn_selectable_get_deadline(selectable):
    return _cproton.pn_selectable_get_deadline(selectable)
pn_selectable_get_deadline = _cproton.pn_selectable_get_deadline

def pn_selectable_set_deadline(sel, deadline):
    return _cproton.pn_selectable_set_deadline(sel, deadline)
pn_selectable_set_deadline = _cproton.pn_selectable_set_deadline

def pn_selectable_readable(selectable):
    return _cproton.pn_selectable_readable(selectable)
pn_selectable_readable = _cproton.pn_selectable_readable

def pn_selectable_writable(selectable):
    return _cproton.pn_selectable_writable(selectable)
pn_selectable_writable = _cproton.pn_selectable_writable

def pn_selectable_error(selectable):
    return _cproton.pn_selectable_error(selectable)
pn_selectable_error = _cproton.pn_selectable_error

def pn_selectable_expired(selectable):
    return _cproton.pn_selectable_expired(selectable)
pn_selectable_expired = _cproton.pn_selectable_expired

def pn_selectable_is_registered(selectable):
    return _cproton.pn_selectable_is_registered(selectable)
pn_selectable_is_registered = _cproton.pn_selectable_is_registered

def pn_selectable_set_registered(selectable, registered):
    return _cproton.pn_selectable_set_registered(selectable, registered)
pn_selectable_set_registered = _cproton.pn_selectable_set_registered

def pn_selectable_is_terminal(selectable):
    return _cproton.pn_selectable_is_terminal(selectable)
pn_selectable_is_terminal = _cproton.pn_selectable_is_terminal

def pn_selectable_terminate(selectable):
    return _cproton.pn_selectable_terminate(selectable)
pn_selectable_terminate = _cproton.pn_selectable_terminate

def pn_selectable_release(selectable):
    return _cproton.pn_selectable_release(selectable)
pn_selectable_release = _cproton.pn_selectable_release

def pn_selectable_free(selectable):
    return _cproton.pn_selectable_free(selectable)
pn_selectable_free = _cproton.pn_selectable_free

def pn_selectable_collect(selectable, collector):
    return _cproton.pn_selectable_collect(selectable, collector)
pn_selectable_collect = _cproton.pn_selectable_collect
PROTON_SSL_H = _cproton.PROTON_SSL_H
PN_SSL_MODE_CLIENT = _cproton.PN_SSL_MODE_CLIENT
PN_SSL_MODE_SERVER = _cproton.PN_SSL_MODE_SERVER
PN_SSL_RESUME_UNKNOWN = _cproton.PN_SSL_RESUME_UNKNOWN
PN_SSL_RESUME_NEW = _cproton.PN_SSL_RESUME_NEW
PN_SSL_RESUME_REUSED = _cproton.PN_SSL_RESUME_REUSED

def pn_ssl_present():
    return _cproton.pn_ssl_present()
pn_ssl_present = _cproton.pn_ssl_present

def pn_ssl_domain(mode):
    return _cproton.pn_ssl_domain(mode)
pn_ssl_domain = _cproton.pn_ssl_domain

def pn_ssl_domain_free(domain):
    return _cproton.pn_ssl_domain_free(domain)
pn_ssl_domain_free = _cproton.pn_ssl_domain_free

def pn_ssl_domain_set_credentials(domain, credential_1, credential_2, password):
    return _cproton.pn_ssl_domain_set_credentials(domain, credential_1, credential_2, password)
pn_ssl_domain_set_credentials = _cproton.pn_ssl_domain_set_credentials

def pn_ssl_domain_set_trusted_ca_db(domain, certificate_db):
    return _cproton.pn_ssl_domain_set_trusted_ca_db(domain, certificate_db)
pn_ssl_domain_set_trusted_ca_db = _cproton.pn_ssl_domain_set_trusted_ca_db
PN_SSL_VERIFY_NULL = _cproton.PN_SSL_VERIFY_NULL
PN_SSL_VERIFY_PEER = _cproton.PN_SSL_VERIFY_PEER
PN_SSL_ANONYMOUS_PEER = _cproton.PN_SSL_ANONYMOUS_PEER
PN_SSL_VERIFY_PEER_NAME = _cproton.PN_SSL_VERIFY_PEER_NAME

def pn_ssl_domain_set_peer_authentication(domain, mode, trusted_CAs):
    return _cproton.pn_ssl_domain_set_peer_authentication(domain, mode, trusted_CAs)
pn_ssl_domain_set_peer_authentication = _cproton.pn_ssl_domain_set_peer_authentication

def pn_ssl_domain_allow_unsecured_client(domain):
    return _cproton.pn_ssl_domain_allow_unsecured_client(domain)
pn_ssl_domain_allow_unsecured_client = _cproton.pn_ssl_domain_allow_unsecured_client

def pn_ssl(transport):
    return _cproton.pn_ssl(transport)
pn_ssl = _cproton.pn_ssl

def pn_ssl_init(ssl, domain, session_id):
    return _cproton.pn_ssl_init(ssl, domain, session_id)
pn_ssl_init = _cproton.pn_ssl_init

def pn_ssl_get_ssf(ssl):
    return _cproton.pn_ssl_get_ssf(ssl)
pn_ssl_get_ssf = _cproton.pn_ssl_get_ssf

def pn_ssl_resume_status(ssl):
    return _cproton.pn_ssl_resume_status(ssl)
pn_ssl_resume_status = _cproton.pn_ssl_resume_status

def pn_ssl_set_peer_hostname(ssl, hostname):
    return _cproton.pn_ssl_set_peer_hostname(ssl, hostname)
pn_ssl_set_peer_hostname = _cproton.pn_ssl_set_peer_hostname

def pn_ssl_get_remote_subject(ssl):
    return _cproton.pn_ssl_get_remote_subject(ssl)
pn_ssl_get_remote_subject = _cproton.pn_ssl_get_remote_subject
PN_SSL_CERT_SUBJECT_COUNTRY_NAME = _cproton.PN_SSL_CERT_SUBJECT_COUNTRY_NAME
PN_SSL_CERT_SUBJECT_STATE_OR_PROVINCE = _cproton.PN_SSL_CERT_SUBJECT_STATE_OR_PROVINCE
PN_SSL_CERT_SUBJECT_CITY_OR_LOCALITY = _cproton.PN_SSL_CERT_SUBJECT_CITY_OR_LOCALITY
PN_SSL_CERT_SUBJECT_ORGANIZATION_NAME = _cproton.PN_SSL_CERT_SUBJECT_ORGANIZATION_NAME
PN_SSL_CERT_SUBJECT_ORGANIZATION_UNIT = _cproton.PN_SSL_CERT_SUBJECT_ORGANIZATION_UNIT
PN_SSL_CERT_SUBJECT_COMMON_NAME = _cproton.PN_SSL_CERT_SUBJECT_COMMON_NAME
PN_SSL_SHA1 = _cproton.PN_SSL_SHA1
PN_SSL_SHA256 = _cproton.PN_SSL_SHA256
PN_SSL_SHA512 = _cproton.PN_SSL_SHA512
PN_SSL_MD5 = _cproton.PN_SSL_MD5
PROTON_CODEC_H = _cproton.PROTON_CODEC_H
PN_NULL = _cproton.PN_NULL
PN_BOOL = _cproton.PN_BOOL
PN_UBYTE = _cproton.PN_UBYTE
PN_BYTE = _cproton.PN_BYTE
PN_USHORT = _cproton.PN_USHORT
PN_SHORT = _cproton.PN_SHORT
PN_UINT = _cproton.PN_UINT
PN_INT = _cproton.PN_INT
PN_CHAR = _cproton.PN_CHAR
PN_ULONG = _cproton.PN_ULONG
PN_LONG = _cproton.PN_LONG
PN_TIMESTAMP = _cproton.PN_TIMESTAMP
PN_FLOAT = _cproton.PN_FLOAT
PN_DOUBLE = _cproton.PN_DOUBLE
PN_DECIMAL32 = _cproton.PN_DECIMAL32
PN_DECIMAL64 = _cproton.PN_DECIMAL64
PN_DECIMAL128 = _cproton.PN_DECIMAL128
PN_UUID = _cproton.PN_UUID
PN_BINARY = _cproton.PN_BINARY
PN_STRING = _cproton.PN_STRING
PN_SYMBOL = _cproton.PN_SYMBOL
PN_DESCRIBED = _cproton.PN_DESCRIBED
PN_ARRAY = _cproton.PN_ARRAY
PN_LIST = _cproton.PN_LIST
PN_MAP = _cproton.PN_MAP
PN_INVALID = _cproton.PN_INVALID

def pn_type_name(type):
    return _cproton.pn_type_name(type)
pn_type_name = _cproton.pn_type_name

def pn_data(capacity):
    return _cproton.pn_data(capacity)
pn_data = _cproton.pn_data

def pn_data_free(data):
    return _cproton.pn_data_free(data)
pn_data_free = _cproton.pn_data_free

def pn_data_errno(data):
    return _cproton.pn_data_errno(data)
pn_data_errno = _cproton.pn_data_errno

def pn_data_error(data):
    return _cproton.pn_data_error(data)
pn_data_error = _cproton.pn_data_error

def pn_data_fill(data, fmt):
    return _cproton.pn_data_fill(data, fmt)
pn_data_fill = _cproton.pn_data_fill

def pn_data_scan(data, fmt):
    return _cproton.pn_data_scan(data, fmt)
pn_data_scan = _cproton.pn_data_scan

def pn_data_clear(data):
    return _cproton.pn_data_clear(data)
pn_data_clear = _cproton.pn_data_clear

def pn_data_size(data):
    return _cproton.pn_data_size(data)
pn_data_size = _cproton.pn_data_size

def pn_data_rewind(data):
    return _cproton.pn_data_rewind(data)
pn_data_rewind = _cproton.pn_data_rewind

def pn_data_next(data):
    return _cproton.pn_data_next(data)
pn_data_next = _cproton.pn_data_next

def pn_data_prev(data):
    return _cproton.pn_data_prev(data)
pn_data_prev = _cproton.pn_data_prev

def pn_data_enter(data):
    return _cproton.pn_data_enter(data)
pn_data_enter = _cproton.pn_data_enter

def pn_data_exit(data):
    return _cproton.pn_data_exit(data)
pn_data_exit = _cproton.pn_data_exit

def pn_data_lookup(data, name):
    return _cproton.pn_data_lookup(data, name)
pn_data_lookup = _cproton.pn_data_lookup

def pn_data_type(data):
    return _cproton.pn_data_type(data)
pn_data_type = _cproton.pn_data_type

def pn_data_print(data):
    return _cproton.pn_data_print(data)
pn_data_print = _cproton.pn_data_print

def pn_data_encoded_size(data):
    return _cproton.pn_data_encoded_size(data)
pn_data_encoded_size = _cproton.pn_data_encoded_size

def pn_data_put_list(data):
    return _cproton.pn_data_put_list(data)
pn_data_put_list = _cproton.pn_data_put_list

def pn_data_put_map(data):
    return _cproton.pn_data_put_map(data)
pn_data_put_map = _cproton.pn_data_put_map

def pn_data_put_array(data, described, type):
    return _cproton.pn_data_put_array(data, described, type)
pn_data_put_array = _cproton.pn_data_put_array

def pn_data_put_described(data):
    return _cproton.pn_data_put_described(data)
pn_data_put_described = _cproton.pn_data_put_described

def pn_data_put_null(data):
    return _cproton.pn_data_put_null(data)
pn_data_put_null = _cproton.pn_data_put_null

def pn_data_put_bool(data, b):
    return _cproton.pn_data_put_bool(data, b)
pn_data_put_bool = _cproton.pn_data_put_bool

def pn_data_put_ubyte(data, ub):
    return _cproton.pn_data_put_ubyte(data, ub)
pn_data_put_ubyte = _cproton.pn_data_put_ubyte

def pn_data_put_byte(data, b):
    return _cproton.pn_data_put_byte(data, b)
pn_data_put_byte = _cproton.pn_data_put_byte

def pn_data_put_ushort(data, us):
    return _cproton.pn_data_put_ushort(data, us)
pn_data_put_ushort = _cproton.pn_data_put_ushort

def pn_data_put_short(data, s):
    return _cproton.pn_data_put_short(data, s)
pn_data_put_short = _cproton.pn_data_put_short

def pn_data_put_uint(data, ui):
    return _cproton.pn_data_put_uint(data, ui)
pn_data_put_uint = _cproton.pn_data_put_uint

def pn_data_put_int(data, i):
    return _cproton.pn_data_put_int(data, i)
pn_data_put_int = _cproton.pn_data_put_int

def pn_data_put_char(data, c):
    return _cproton.pn_data_put_char(data, c)
pn_data_put_char = _cproton.pn_data_put_char

def pn_data_put_ulong(data, ul):
    return _cproton.pn_data_put_ulong(data, ul)
pn_data_put_ulong = _cproton.pn_data_put_ulong

def pn_data_put_long(data, l):
    return _cproton.pn_data_put_long(data, l)
pn_data_put_long = _cproton.pn_data_put_long

def pn_data_put_timestamp(data, t):
    return _cproton.pn_data_put_timestamp(data, t)
pn_data_put_timestamp = _cproton.pn_data_put_timestamp

def pn_data_put_float(data, f):
    return _cproton.pn_data_put_float(data, f)
pn_data_put_float = _cproton.pn_data_put_float

def pn_data_put_double(data, d):
    return _cproton.pn_data_put_double(data, d)
pn_data_put_double = _cproton.pn_data_put_double

def pn_data_put_decimal32(data, d):
    return _cproton.pn_data_put_decimal32(data, d)
pn_data_put_decimal32 = _cproton.pn_data_put_decimal32

def pn_data_put_decimal64(data, d):
    return _cproton.pn_data_put_decimal64(data, d)
pn_data_put_decimal64 = _cproton.pn_data_put_decimal64

def pn_data_put_decimal128(data, d):
    return _cproton.pn_data_put_decimal128(data, d)
pn_data_put_decimal128 = _cproton.pn_data_put_decimal128

def pn_data_put_uuid(data, u):
    return _cproton.pn_data_put_uuid(data, u)
pn_data_put_uuid = _cproton.pn_data_put_uuid

def pn_data_put_binary(data, bytes):
    return _cproton.pn_data_put_binary(data, bytes)
pn_data_put_binary = _cproton.pn_data_put_binary

def pn_data_put_string(data, string):
    return _cproton.pn_data_put_string(data, string)
pn_data_put_string = _cproton.pn_data_put_string

def pn_data_put_symbol(data, symbol):
    return _cproton.pn_data_put_symbol(data, symbol)
pn_data_put_symbol = _cproton.pn_data_put_symbol

def pn_data_get_list(data):
    return _cproton.pn_data_get_list(data)
pn_data_get_list = _cproton.pn_data_get_list

def pn_data_get_map(data):
    return _cproton.pn_data_get_map(data)
pn_data_get_map = _cproton.pn_data_get_map

def pn_data_get_array(data):
    return _cproton.pn_data_get_array(data)
pn_data_get_array = _cproton.pn_data_get_array

def pn_data_is_array_described(data):
    return _cproton.pn_data_is_array_described(data)
pn_data_is_array_described = _cproton.pn_data_is_array_described

def pn_data_get_array_type(data):
    return _cproton.pn_data_get_array_type(data)
pn_data_get_array_type = _cproton.pn_data_get_array_type

def pn_data_is_described(data):
    return _cproton.pn_data_is_described(data)
pn_data_is_described = _cproton.pn_data_is_described

def pn_data_is_null(data):
    return _cproton.pn_data_is_null(data)
pn_data_is_null = _cproton.pn_data_is_null

def pn_data_get_bool(data):
    return _cproton.pn_data_get_bool(data)
pn_data_get_bool = _cproton.pn_data_get_bool

def pn_data_get_ubyte(data):
    return _cproton.pn_data_get_ubyte(data)
pn_data_get_ubyte = _cproton.pn_data_get_ubyte

def pn_data_get_byte(data):
    return _cproton.pn_data_get_byte(data)
pn_data_get_byte = _cproton.pn_data_get_byte

def pn_data_get_ushort(data):
    return _cproton.pn_data_get_ushort(data)
pn_data_get_ushort = _cproton.pn_data_get_ushort

def pn_data_get_short(data):
    return _cproton.pn_data_get_short(data)
pn_data_get_short = _cproton.pn_data_get_short

def pn_data_get_uint(data):
    return _cproton.pn_data_get_uint(data)
pn_data_get_uint = _cproton.pn_data_get_uint

def pn_data_get_int(data):
    return _cproton.pn_data_get_int(data)
pn_data_get_int = _cproton.pn_data_get_int

def pn_data_get_char(data):
    return _cproton.pn_data_get_char(data)
pn_data_get_char = _cproton.pn_data_get_char

def pn_data_get_ulong(data):
    return _cproton.pn_data_get_ulong(data)
pn_data_get_ulong = _cproton.pn_data_get_ulong

def pn_data_get_long(data):
    return _cproton.pn_data_get_long(data)
pn_data_get_long = _cproton.pn_data_get_long

def pn_data_get_timestamp(data):
    return _cproton.pn_data_get_timestamp(data)
pn_data_get_timestamp = _cproton.pn_data_get_timestamp

def pn_data_get_float(data):
    return _cproton.pn_data_get_float(data)
pn_data_get_float = _cproton.pn_data_get_float

def pn_data_get_double(data):
    return _cproton.pn_data_get_double(data)
pn_data_get_double = _cproton.pn_data_get_double

def pn_data_get_decimal32(data):
    return _cproton.pn_data_get_decimal32(data)
pn_data_get_decimal32 = _cproton.pn_data_get_decimal32

def pn_data_get_decimal64(data):
    return _cproton.pn_data_get_decimal64(data)
pn_data_get_decimal64 = _cproton.pn_data_get_decimal64

def pn_data_get_decimal128(data):
    return _cproton.pn_data_get_decimal128(data)
pn_data_get_decimal128 = _cproton.pn_data_get_decimal128

def pn_data_get_uuid(data):
    return _cproton.pn_data_get_uuid(data)
pn_data_get_uuid = _cproton.pn_data_get_uuid

def pn_data_get_binary(data):
    return _cproton.pn_data_get_binary(data)
pn_data_get_binary = _cproton.pn_data_get_binary

def pn_data_get_string(data):
    return _cproton.pn_data_get_string(data)
pn_data_get_string = _cproton.pn_data_get_string

def pn_data_get_symbol(data):
    return _cproton.pn_data_get_symbol(data)
pn_data_get_symbol = _cproton.pn_data_get_symbol

def pn_data_get_bytes(data):
    return _cproton.pn_data_get_bytes(data)
pn_data_get_bytes = _cproton.pn_data_get_bytes

def pn_data_copy(data, src):
    return _cproton.pn_data_copy(data, src)
pn_data_copy = _cproton.pn_data_copy

def pn_data_append(data, src):
    return _cproton.pn_data_append(data, src)
pn_data_append = _cproton.pn_data_append

def pn_data_appendn(data, src, limit):
    return _cproton.pn_data_appendn(data, src, limit)
pn_data_appendn = _cproton.pn_data_appendn

def pn_data_narrow(data):
    return _cproton.pn_data_narrow(data)
pn_data_narrow = _cproton.pn_data_narrow

def pn_data_widen(data):
    return _cproton.pn_data_widen(data)
pn_data_widen = _cproton.pn_data_widen

def pn_data_point(data):
    return _cproton.pn_data_point(data)
pn_data_point = _cproton.pn_data_point

def pn_data_restore(data, point):
    return _cproton.pn_data_restore(data, point)
pn_data_restore = _cproton.pn_data_restore

def pn_data_dump(data):
    return _cproton.pn_data_dump(data)
pn_data_dump = _cproton.pn_data_dump

def pn_cast_pn_connection(x):
    return _cproton.pn_cast_pn_connection(x)
pn_cast_pn_connection = _cproton.pn_cast_pn_connection

def pn_cast_pn_session(x):
    return _cproton.pn_cast_pn_session(x)
pn_cast_pn_session = _cproton.pn_cast_pn_session

def pn_cast_pn_link(x):
    return _cproton.pn_cast_pn_link(x)
pn_cast_pn_link = _cproton.pn_cast_pn_link

def pn_cast_pn_delivery(x):
    return _cproton.pn_cast_pn_delivery(x)
pn_cast_pn_delivery = _cproton.pn_cast_pn_delivery

def pn_cast_pn_transport(x):
    return _cproton.pn_cast_pn_transport(x)
pn_cast_pn_transport = _cproton.pn_cast_pn_transport

def pn_cast_pn_reactor(x):
    return _cproton.pn_cast_pn_reactor(x)
pn_cast_pn_reactor = _cproton.pn_cast_pn_reactor

def pn_cast_pn_task(x):
    return _cproton.pn_cast_pn_task(x)
pn_cast_pn_task = _cproton.pn_cast_pn_task

def pn_cast_pn_selectable(x):
    return _cproton.pn_cast_pn_selectable(x)
pn_cast_pn_selectable = _cproton.pn_cast_pn_selectable

def pn_url():
    return _cproton.pn_url()
pn_url = _cproton.pn_url

def pn_url_parse(url):
    return _cproton.pn_url_parse(url)
pn_url_parse = _cproton.pn_url_parse

def pn_url_free(url):
    return _cproton.pn_url_free(url)
pn_url_free = _cproton.pn_url_free

def pn_url_clear(url):
    return _cproton.pn_url_clear(url)
pn_url_clear = _cproton.pn_url_clear

def pn_url_str(url):
    return _cproton.pn_url_str(url)
pn_url_str = _cproton.pn_url_str

def pn_url_get_scheme(url):
    return _cproton.pn_url_get_scheme(url)
pn_url_get_scheme = _cproton.pn_url_get_scheme

def pn_url_get_username(url):
    return _cproton.pn_url_get_username(url)
pn_url_get_username = _cproton.pn_url_get_username

def pn_url_get_password(url):
    return _cproton.pn_url_get_password(url)
pn_url_get_password = _cproton.pn_url_get_password

def pn_url_get_host(url):
    return _cproton.pn_url_get_host(url)
pn_url_get_host = _cproton.pn_url_get_host

def pn_url_get_port(url):
    return _cproton.pn_url_get_port(url)
pn_url_get_port = _cproton.pn_url_get_port

def pn_url_get_path(url):
    return _cproton.pn_url_get_path(url)
pn_url_get_path = _cproton.pn_url_get_path

def pn_url_set_scheme(url, scheme):
    return _cproton.pn_url_set_scheme(url, scheme)
pn_url_set_scheme = _cproton.pn_url_set_scheme

def pn_url_set_username(url, username):
    return _cproton.pn_url_set_username(url, username)
pn_url_set_username = _cproton.pn_url_set_username

def pn_url_set_password(url, password):
    return _cproton.pn_url_set_password(url, password)
pn_url_set_password = _cproton.pn_url_set_password

def pn_url_set_host(url, host):
    return _cproton.pn_url_set_host(url, host)
pn_url_set_host = _cproton.pn_url_set_host

def pn_url_set_port(url, port):
    return _cproton.pn_url_set_port(url, port)
pn_url_set_port = _cproton.pn_url_set_port

def pn_url_set_path(url, path):
    return _cproton.pn_url_set_path(url, path)
pn_url_set_path = _cproton.pn_url_set_path
PROTON_REACTOR_H = _cproton.PROTON_REACTOR_H

def pn_handler(dispatch):
    return _cproton.pn_handler(dispatch)
pn_handler = _cproton.pn_handler

def pn_handler_new(dispatch, size, finalize):
    return _cproton.pn_handler_new(dispatch, size, finalize)
pn_handler_new = _cproton.pn_handler_new

def pn_handler_free(handler):
    return _cproton.pn_handler_free(handler)
pn_handler_free = _cproton.pn_handler_free

def pn_handler_mem(handler):
    return _cproton.pn_handler_mem(handler)
pn_handler_mem = _cproton.pn_handler_mem

def pn_handler_add(handler, child):
    return _cproton.pn_handler_add(handler, child)
pn_handler_add = _cproton.pn_handler_add

def pn_handler_clear(handler):
    return _cproton.pn_handler_clear(handler)
pn_handler_clear = _cproton.pn_handler_clear

def pn_handler_dispatch(handler, event, type):
    return _cproton.pn_handler_dispatch(handler, event, type)
pn_handler_dispatch = _cproton.pn_handler_dispatch

def pn_reactor():
    return _cproton.pn_reactor()
pn_reactor = _cproton.pn_reactor

def pn_reactor_attachments(reactor):
    return _cproton.pn_reactor_attachments(reactor)
pn_reactor_attachments = _cproton.pn_reactor_attachments

def pn_reactor_get_timeout(reactor):
    return _cproton.pn_reactor_get_timeout(reactor)
pn_reactor_get_timeout = _cproton.pn_reactor_get_timeout

def pn_reactor_set_timeout(reactor, timeout):
    return _cproton.pn_reactor_set_timeout(reactor, timeout)
pn_reactor_set_timeout = _cproton.pn_reactor_set_timeout

def pn_reactor_mark(reactor):
    return _cproton.pn_reactor_mark(reactor)
pn_reactor_mark = _cproton.pn_reactor_mark

def pn_reactor_now(reactor):
    return _cproton.pn_reactor_now(reactor)
pn_reactor_now = _cproton.pn_reactor_now

def pn_reactor_yield(reactor):
    return _cproton.pn_reactor_yield(reactor)
pn_reactor_yield = _cproton.pn_reactor_yield

def pn_reactor_free(reactor):
    return _cproton.pn_reactor_free(reactor)
pn_reactor_free = _cproton.pn_reactor_free

def pn_reactor_collector(reactor):
    return _cproton.pn_reactor_collector(reactor)
pn_reactor_collector = _cproton.pn_reactor_collector

def pn_reactor_get_global_handler(reactor):
    return _cproton.pn_reactor_get_global_handler(reactor)
pn_reactor_get_global_handler = _cproton.pn_reactor_get_global_handler

def pn_reactor_set_global_handler(reactor, handler):
    return _cproton.pn_reactor_set_global_handler(reactor, handler)
pn_reactor_set_global_handler = _cproton.pn_reactor_set_global_handler

def pn_reactor_get_handler(reactor):
    return _cproton.pn_reactor_get_handler(reactor)
pn_reactor_get_handler = _cproton.pn_reactor_get_handler

def pn_reactor_set_handler(reactor, handler):
    return _cproton.pn_reactor_set_handler(reactor, handler)
pn_reactor_set_handler = _cproton.pn_reactor_set_handler

def pn_reactor_io(reactor):
    return _cproton.pn_reactor_io(reactor)
pn_reactor_io = _cproton.pn_reactor_io

def pn_reactor_children(reactor):
    return _cproton.pn_reactor_children(reactor)
pn_reactor_children = _cproton.pn_reactor_children

def pn_reactor_selectable(reactor):
    return _cproton.pn_reactor_selectable(reactor)
pn_reactor_selectable = _cproton.pn_reactor_selectable

def pn_reactor_update(reactor, selectable):
    return _cproton.pn_reactor_update(reactor, selectable)
pn_reactor_update = _cproton.pn_reactor_update

def pn_reactor_acceptor(reactor, host, port, handler):
    return _cproton.pn_reactor_acceptor(reactor, host, port, handler)
pn_reactor_acceptor = _cproton.pn_reactor_acceptor

def pn_reactor_connection_to_host(reactor, host, port, handler):
    return _cproton.pn_reactor_connection_to_host(reactor, host, port, handler)
pn_reactor_connection_to_host = _cproton.pn_reactor_connection_to_host

def pn_reactor_connection(reactor, handler):
    return _cproton.pn_reactor_connection(reactor, handler)
pn_reactor_connection = _cproton.pn_reactor_connection

def pn_reactor_set_connection_host(reactor, connection, host, port):
    return _cproton.pn_reactor_set_connection_host(reactor, connection, host, port)
pn_reactor_set_connection_host = _cproton.pn_reactor_set_connection_host

def pn_reactor_get_connection_address(reactor, connection):
    return _cproton.pn_reactor_get_connection_address(reactor, connection)
pn_reactor_get_connection_address = _cproton.pn_reactor_get_connection_address

def pn_reactor_wakeup(reactor):
    return _cproton.pn_reactor_wakeup(reactor)
pn_reactor_wakeup = _cproton.pn_reactor_wakeup

def pn_reactor_start(reactor):
    return _cproton.pn_reactor_start(reactor)
pn_reactor_start = _cproton.pn_reactor_start

def pn_reactor_quiesced(reactor):
    return _cproton.pn_reactor_quiesced(reactor)
pn_reactor_quiesced = _cproton.pn_reactor_quiesced

def pn_reactor_process(reactor):
    return _cproton.pn_reactor_process(reactor)
pn_reactor_process = _cproton.pn_reactor_process

def pn_reactor_stop(reactor):
    return _cproton.pn_reactor_stop(reactor)
pn_reactor_stop = _cproton.pn_reactor_stop

def pn_reactor_run(reactor):
    return _cproton.pn_reactor_run(reactor)
pn_reactor_run = _cproton.pn_reactor_run

def pn_reactor_schedule(reactor, delay, handler):
    return _cproton.pn_reactor_schedule(reactor, delay, handler)
pn_reactor_schedule = _cproton.pn_reactor_schedule

def pn_acceptor_set_ssl_domain(acceptor, domain):
    return _cproton.pn_acceptor_set_ssl_domain(acceptor, domain)
pn_acceptor_set_ssl_domain = _cproton.pn_acceptor_set_ssl_domain

def pn_acceptor_close(acceptor):
    return _cproton.pn_acceptor_close(acceptor)
pn_acceptor_close = _cproton.pn_acceptor_close

def pn_connection_acceptor(connection):
    return _cproton.pn_connection_acceptor(connection)
pn_connection_acceptor = _cproton.pn_connection_acceptor

def pn_timer(collector):
    return _cproton.pn_timer(collector)
pn_timer = _cproton.pn_timer

def pn_timer_deadline(timer):
    return _cproton.pn_timer_deadline(timer)
pn_timer_deadline = _cproton.pn_timer_deadline

def pn_timer_tick(timer, now):
    return _cproton.pn_timer_tick(timer, now)
pn_timer_tick = _cproton.pn_timer_tick

def pn_timer_schedule(timer, deadline):
    return _cproton.pn_timer_schedule(timer, deadline)
pn_timer_schedule = _cproton.pn_timer_schedule

def pn_timer_tasks(timer):
    return _cproton.pn_timer_tasks(timer)
pn_timer_tasks = _cproton.pn_timer_tasks

def pn_task_attachments(task):
    return _cproton.pn_task_attachments(task)
pn_task_attachments = _cproton.pn_task_attachments

def pn_task_cancel(task):
    return _cproton.pn_task_cancel(task)
pn_task_cancel = _cproton.pn_task_cancel

def pn_class_reactor(clazz, object):
    return _cproton.pn_class_reactor(clazz, object)
pn_class_reactor = _cproton.pn_class_reactor

def pn_object_reactor(object):
    return _cproton.pn_object_reactor(object)
pn_object_reactor = _cproton.pn_object_reactor

def pn_event_reactor(event):
    return _cproton.pn_event_reactor(event)
pn_event_reactor = _cproton.pn_event_reactor

def pn_record_get_handler(record):
    return _cproton.pn_record_get_handler(record)
pn_record_get_handler = _cproton.pn_record_get_handler

def pn_record_set_handler(record, handler):
    return _cproton.pn_record_set_handler(record, handler)
pn_record_set_handler = _cproton.pn_record_set_handler
PROTON_HANDLERS_H = _cproton.PROTON_HANDLERS_H

def pn_handshaker():
    return _cproton.pn_handshaker()
pn_handshaker = _cproton.pn_handshaker

def pn_iohandler():
    return _cproton.pn_iohandler()
pn_iohandler = _cproton.pn_iohandler

def pn_flowcontroller(window):
    return _cproton.pn_flowcontroller(window)
pn_flowcontroller = _cproton.pn_flowcontroller
# This file is compatible with both classic and new-style classes.

PN_OBJECT = cvar.PN_OBJECT
PN_VOID = cvar.PN_VOID
PN_WEAKREF = cvar.PN_WEAKREF