This file is indexed.

/usr/lib/python2.7/dist-packages/Hamlib.py is in python-libhamlib2 3.1-7build1.

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
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
# 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, '_Hamlib')).lstrip('.')
        try:
            return importlib.import_module(mname)
        except ImportError:
            return importlib.import_module('_Hamlib')
    _Hamlib = 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('_Hamlib', [dirname(__file__)])
        except ImportError:
            import _Hamlib
            return _Hamlib
        try:
            _mod = imp.load_module('_Hamlib', fp, pathname, description)
        finally:
            if fp is not None:
                fp.close()
        return _mod
    _Hamlib = swig_import_helper()
    del swig_import_helper
else:
    import _Hamlib
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

RIG_MODEL_NONE = _Hamlib.RIG_MODEL_NONE
RIG_MODEL_DUMMY = _Hamlib.RIG_MODEL_DUMMY
RIG_MODEL_NETRIGCTL = _Hamlib.RIG_MODEL_NETRIGCTL
RIG_MODEL_ARMSTRONG = _Hamlib.RIG_MODEL_ARMSTRONG
RIG_MODEL_FT847 = _Hamlib.RIG_MODEL_FT847
RIG_MODEL_FT1000 = _Hamlib.RIG_MODEL_FT1000
RIG_MODEL_FT1000D = _Hamlib.RIG_MODEL_FT1000D
RIG_MODEL_FT1000MPMKV = _Hamlib.RIG_MODEL_FT1000MPMKV
RIG_MODEL_FT747 = _Hamlib.RIG_MODEL_FT747
RIG_MODEL_FT757 = _Hamlib.RIG_MODEL_FT757
RIG_MODEL_FT757GXII = _Hamlib.RIG_MODEL_FT757GXII
RIG_MODEL_FT575 = _Hamlib.RIG_MODEL_FT575
RIG_MODEL_FT767 = _Hamlib.RIG_MODEL_FT767
RIG_MODEL_FT736R = _Hamlib.RIG_MODEL_FT736R
RIG_MODEL_FT840 = _Hamlib.RIG_MODEL_FT840
RIG_MODEL_FT820 = _Hamlib.RIG_MODEL_FT820
RIG_MODEL_FT900 = _Hamlib.RIG_MODEL_FT900
RIG_MODEL_FT920 = _Hamlib.RIG_MODEL_FT920
RIG_MODEL_FT890 = _Hamlib.RIG_MODEL_FT890
RIG_MODEL_FT990 = _Hamlib.RIG_MODEL_FT990
RIG_MODEL_FRG100 = _Hamlib.RIG_MODEL_FRG100
RIG_MODEL_FRG9600 = _Hamlib.RIG_MODEL_FRG9600
RIG_MODEL_FRG8800 = _Hamlib.RIG_MODEL_FRG8800
RIG_MODEL_FT817 = _Hamlib.RIG_MODEL_FT817
RIG_MODEL_FT100 = _Hamlib.RIG_MODEL_FT100
RIG_MODEL_FT857 = _Hamlib.RIG_MODEL_FT857
RIG_MODEL_FT897 = _Hamlib.RIG_MODEL_FT897
RIG_MODEL_FT1000MP = _Hamlib.RIG_MODEL_FT1000MP
RIG_MODEL_FT1000MPMKVFLD = _Hamlib.RIG_MODEL_FT1000MPMKVFLD
RIG_MODEL_VR5000 = _Hamlib.RIG_MODEL_VR5000
RIG_MODEL_FT450 = _Hamlib.RIG_MODEL_FT450
RIG_MODEL_FT950 = _Hamlib.RIG_MODEL_FT950
RIG_MODEL_FT2000 = _Hamlib.RIG_MODEL_FT2000
RIG_MODEL_FT9000 = _Hamlib.RIG_MODEL_FT9000
RIG_MODEL_FT980 = _Hamlib.RIG_MODEL_FT980
RIG_MODEL_FTDX5000 = _Hamlib.RIG_MODEL_FTDX5000
RIG_MODEL_VX1700 = _Hamlib.RIG_MODEL_VX1700
RIG_MODEL_FT1200 = _Hamlib.RIG_MODEL_FT1200
RIG_MODEL_FT991 = _Hamlib.RIG_MODEL_FT991
RIG_MODEL_TS50 = _Hamlib.RIG_MODEL_TS50
RIG_MODEL_TS440 = _Hamlib.RIG_MODEL_TS440
RIG_MODEL_TS450S = _Hamlib.RIG_MODEL_TS450S
RIG_MODEL_TS570D = _Hamlib.RIG_MODEL_TS570D
RIG_MODEL_TS690S = _Hamlib.RIG_MODEL_TS690S
RIG_MODEL_TS711 = _Hamlib.RIG_MODEL_TS711
RIG_MODEL_TS790 = _Hamlib.RIG_MODEL_TS790
RIG_MODEL_TS811 = _Hamlib.RIG_MODEL_TS811
RIG_MODEL_TS850 = _Hamlib.RIG_MODEL_TS850
RIG_MODEL_TS870S = _Hamlib.RIG_MODEL_TS870S
RIG_MODEL_TS940 = _Hamlib.RIG_MODEL_TS940
RIG_MODEL_TS950 = _Hamlib.RIG_MODEL_TS950
RIG_MODEL_TS950SDX = _Hamlib.RIG_MODEL_TS950SDX
RIG_MODEL_TS2000 = _Hamlib.RIG_MODEL_TS2000
RIG_MODEL_R5000 = _Hamlib.RIG_MODEL_R5000
RIG_MODEL_TS570S = _Hamlib.RIG_MODEL_TS570S
RIG_MODEL_THD7A = _Hamlib.RIG_MODEL_THD7A
RIG_MODEL_THD7AG = _Hamlib.RIG_MODEL_THD7AG
RIG_MODEL_THF6A = _Hamlib.RIG_MODEL_THF6A
RIG_MODEL_THF7E = _Hamlib.RIG_MODEL_THF7E
RIG_MODEL_K2 = _Hamlib.RIG_MODEL_K2
RIG_MODEL_TS930 = _Hamlib.RIG_MODEL_TS930
RIG_MODEL_THG71 = _Hamlib.RIG_MODEL_THG71
RIG_MODEL_TS680S = _Hamlib.RIG_MODEL_TS680S
RIG_MODEL_TS140S = _Hamlib.RIG_MODEL_TS140S
RIG_MODEL_TMD700 = _Hamlib.RIG_MODEL_TMD700
RIG_MODEL_TMV7 = _Hamlib.RIG_MODEL_TMV7
RIG_MODEL_TS480 = _Hamlib.RIG_MODEL_TS480
RIG_MODEL_K3 = _Hamlib.RIG_MODEL_K3
RIG_MODEL_TRC80 = _Hamlib.RIG_MODEL_TRC80
RIG_MODEL_TS590S = _Hamlib.RIG_MODEL_TS590S
RIG_MODEL_TRANSFOX = _Hamlib.RIG_MODEL_TRANSFOX
RIG_MODEL_THD72A = _Hamlib.RIG_MODEL_THD72A
RIG_MODEL_TMD710 = _Hamlib.RIG_MODEL_TMD710
RIG_MODEL_TMV71 = _Hamlib.RIG_MODEL_TMV71
RIG_MODEL_F6K = _Hamlib.RIG_MODEL_F6K
RIG_MODEL_TS590SG = _Hamlib.RIG_MODEL_TS590SG
RIG_MODEL_XG3 = _Hamlib.RIG_MODEL_XG3
RIG_MODEL_TS990S = _Hamlib.RIG_MODEL_TS990S
RIG_MODEL_IC1271 = _Hamlib.RIG_MODEL_IC1271
RIG_MODEL_IC1275 = _Hamlib.RIG_MODEL_IC1275
RIG_MODEL_IC271 = _Hamlib.RIG_MODEL_IC271
RIG_MODEL_IC275 = _Hamlib.RIG_MODEL_IC275
RIG_MODEL_IC375 = _Hamlib.RIG_MODEL_IC375
RIG_MODEL_IC471 = _Hamlib.RIG_MODEL_IC471
RIG_MODEL_IC475 = _Hamlib.RIG_MODEL_IC475
RIG_MODEL_IC575 = _Hamlib.RIG_MODEL_IC575
RIG_MODEL_IC706 = _Hamlib.RIG_MODEL_IC706
RIG_MODEL_IC706MKII = _Hamlib.RIG_MODEL_IC706MKII
RIG_MODEL_IC706MKIIG = _Hamlib.RIG_MODEL_IC706MKIIG
RIG_MODEL_IC707 = _Hamlib.RIG_MODEL_IC707
RIG_MODEL_IC718 = _Hamlib.RIG_MODEL_IC718
RIG_MODEL_IC725 = _Hamlib.RIG_MODEL_IC725
RIG_MODEL_IC726 = _Hamlib.RIG_MODEL_IC726
RIG_MODEL_IC728 = _Hamlib.RIG_MODEL_IC728
RIG_MODEL_IC729 = _Hamlib.RIG_MODEL_IC729
RIG_MODEL_IC731 = _Hamlib.RIG_MODEL_IC731
RIG_MODEL_IC735 = _Hamlib.RIG_MODEL_IC735
RIG_MODEL_IC736 = _Hamlib.RIG_MODEL_IC736
RIG_MODEL_IC737 = _Hamlib.RIG_MODEL_IC737
RIG_MODEL_IC738 = _Hamlib.RIG_MODEL_IC738
RIG_MODEL_IC746 = _Hamlib.RIG_MODEL_IC746
RIG_MODEL_IC751 = _Hamlib.RIG_MODEL_IC751
RIG_MODEL_IC751A = _Hamlib.RIG_MODEL_IC751A
RIG_MODEL_IC756 = _Hamlib.RIG_MODEL_IC756
RIG_MODEL_IC756PRO = _Hamlib.RIG_MODEL_IC756PRO
RIG_MODEL_IC761 = _Hamlib.RIG_MODEL_IC761
RIG_MODEL_IC765 = _Hamlib.RIG_MODEL_IC765
RIG_MODEL_IC775 = _Hamlib.RIG_MODEL_IC775
RIG_MODEL_IC781 = _Hamlib.RIG_MODEL_IC781
RIG_MODEL_IC820 = _Hamlib.RIG_MODEL_IC820
RIG_MODEL_IC821 = _Hamlib.RIG_MODEL_IC821
RIG_MODEL_IC821H = _Hamlib.RIG_MODEL_IC821H
RIG_MODEL_IC970 = _Hamlib.RIG_MODEL_IC970
RIG_MODEL_ICR10 = _Hamlib.RIG_MODEL_ICR10
RIG_MODEL_ICR71 = _Hamlib.RIG_MODEL_ICR71
RIG_MODEL_ICR72 = _Hamlib.RIG_MODEL_ICR72
RIG_MODEL_ICR75 = _Hamlib.RIG_MODEL_ICR75
RIG_MODEL_ICR7000 = _Hamlib.RIG_MODEL_ICR7000
RIG_MODEL_ICR7100 = _Hamlib.RIG_MODEL_ICR7100
RIG_MODEL_ICR8500 = _Hamlib.RIG_MODEL_ICR8500
RIG_MODEL_ICR9000 = _Hamlib.RIG_MODEL_ICR9000
RIG_MODEL_IC910 = _Hamlib.RIG_MODEL_IC910
RIG_MODEL_IC78 = _Hamlib.RIG_MODEL_IC78
RIG_MODEL_IC746PRO = _Hamlib.RIG_MODEL_IC746PRO
RIG_MODEL_IC756PROII = _Hamlib.RIG_MODEL_IC756PROII
RIG_MODEL_ICID1 = _Hamlib.RIG_MODEL_ICID1
RIG_MODEL_IC703 = _Hamlib.RIG_MODEL_IC703
RIG_MODEL_IC7800 = _Hamlib.RIG_MODEL_IC7800
RIG_MODEL_IC756PROIII = _Hamlib.RIG_MODEL_IC756PROIII
RIG_MODEL_ICR20 = _Hamlib.RIG_MODEL_ICR20
RIG_MODEL_IC7000 = _Hamlib.RIG_MODEL_IC7000
RIG_MODEL_IC7200 = _Hamlib.RIG_MODEL_IC7200
RIG_MODEL_IC7700 = _Hamlib.RIG_MODEL_IC7700
RIG_MODEL_IC7600 = _Hamlib.RIG_MODEL_IC7600
RIG_MODEL_IC92D = _Hamlib.RIG_MODEL_IC92D
RIG_MODEL_ICR9500 = _Hamlib.RIG_MODEL_ICR9500
RIG_MODEL_IC7410 = _Hamlib.RIG_MODEL_IC7410
RIG_MODEL_IC9100 = _Hamlib.RIG_MODEL_IC9100
RIG_MODEL_ICRX7 = _Hamlib.RIG_MODEL_ICRX7
RIG_MODEL_IC7100 = _Hamlib.RIG_MODEL_IC7100
RIG_MODEL_ID5100 = _Hamlib.RIG_MODEL_ID5100
RIG_MODEL_IC2730 = _Hamlib.RIG_MODEL_IC2730
RIG_MODEL_IC7300 = _Hamlib.RIG_MODEL_IC7300
RIG_MODEL_PERSEUS = _Hamlib.RIG_MODEL_PERSEUS
RIG_MODEL_MINISCOUT = _Hamlib.RIG_MODEL_MINISCOUT
RIG_MODEL_XPLORER = _Hamlib.RIG_MODEL_XPLORER
RIG_MODEL_OS535 = _Hamlib.RIG_MODEL_OS535
RIG_MODEL_OS456 = _Hamlib.RIG_MODEL_OS456
RIG_MODEL_OMNIVI = _Hamlib.RIG_MODEL_OMNIVI
RIG_MODEL_OMNIVIP = _Hamlib.RIG_MODEL_OMNIVIP
RIG_MODEL_PARAGON2 = _Hamlib.RIG_MODEL_PARAGON2
RIG_MODEL_DELTAII = _Hamlib.RIG_MODEL_DELTAII
RIG_MODEL_PCR1000 = _Hamlib.RIG_MODEL_PCR1000
RIG_MODEL_PCR100 = _Hamlib.RIG_MODEL_PCR100
RIG_MODEL_PCR1500 = _Hamlib.RIG_MODEL_PCR1500
RIG_MODEL_PCR2500 = _Hamlib.RIG_MODEL_PCR2500
RIG_MODEL_AR8200 = _Hamlib.RIG_MODEL_AR8200
RIG_MODEL_AR8000 = _Hamlib.RIG_MODEL_AR8000
RIG_MODEL_AR7030 = _Hamlib.RIG_MODEL_AR7030
RIG_MODEL_AR5000 = _Hamlib.RIG_MODEL_AR5000
RIG_MODEL_AR3030 = _Hamlib.RIG_MODEL_AR3030
RIG_MODEL_AR3000A = _Hamlib.RIG_MODEL_AR3000A
RIG_MODEL_AR3000 = _Hamlib.RIG_MODEL_AR3000
RIG_MODEL_AR2700 = _Hamlib.RIG_MODEL_AR2700
RIG_MODEL_AR2500 = _Hamlib.RIG_MODEL_AR2500
RIG_MODEL_AR16 = _Hamlib.RIG_MODEL_AR16
RIG_MODEL_SDU5500 = _Hamlib.RIG_MODEL_SDU5500
RIG_MODEL_SDU5000 = _Hamlib.RIG_MODEL_SDU5000
RIG_MODEL_AR8600 = _Hamlib.RIG_MODEL_AR8600
RIG_MODEL_AR5000A = _Hamlib.RIG_MODEL_AR5000A
RIG_MODEL_AR7030P = _Hamlib.RIG_MODEL_AR7030P
RIG_MODEL_SR2200 = _Hamlib.RIG_MODEL_SR2200
RIG_MODEL_JST145 = _Hamlib.RIG_MODEL_JST145
RIG_MODEL_JST245 = _Hamlib.RIG_MODEL_JST245
RIG_MODEL_CMH530 = _Hamlib.RIG_MODEL_CMH530
RIG_MODEL_NRD345 = _Hamlib.RIG_MODEL_NRD345
RIG_MODEL_NRD525 = _Hamlib.RIG_MODEL_NRD525
RIG_MODEL_NRD535 = _Hamlib.RIG_MODEL_NRD535
RIG_MODEL_NRD545 = _Hamlib.RIG_MODEL_NRD545
RIG_MODEL_RS64 = _Hamlib.RIG_MODEL_RS64
RIG_MODEL_RS2005 = _Hamlib.RIG_MODEL_RS2005
RIG_MODEL_RS2006 = _Hamlib.RIG_MODEL_RS2006
RIG_MODEL_RS2035 = _Hamlib.RIG_MODEL_RS2035
RIG_MODEL_RS2042 = _Hamlib.RIG_MODEL_RS2042
RIG_MODEL_RS2041 = _Hamlib.RIG_MODEL_RS2041
RIG_MODEL_BC780 = _Hamlib.RIG_MODEL_BC780
RIG_MODEL_BC245 = _Hamlib.RIG_MODEL_BC245
RIG_MODEL_BC895 = _Hamlib.RIG_MODEL_BC895
RIG_MODEL_PRO2052 = _Hamlib.RIG_MODEL_PRO2052
RIG_MODEL_BC235 = _Hamlib.RIG_MODEL_BC235
RIG_MODEL_BC250 = _Hamlib.RIG_MODEL_BC250
RIG_MODEL_BC785 = _Hamlib.RIG_MODEL_BC785
RIG_MODEL_BC786 = _Hamlib.RIG_MODEL_BC786
RIG_MODEL_BCT8 = _Hamlib.RIG_MODEL_BCT8
RIG_MODEL_BCD396T = _Hamlib.RIG_MODEL_BCD396T
RIG_MODEL_BCD996T = _Hamlib.RIG_MODEL_BCD996T
RIG_MODEL_BC898 = _Hamlib.RIG_MODEL_BC898
RIG_MODEL_DKR8 = _Hamlib.RIG_MODEL_DKR8
RIG_MODEL_DKR8A = _Hamlib.RIG_MODEL_DKR8A
RIG_MODEL_DKR8B = _Hamlib.RIG_MODEL_DKR8B
RIG_MODEL_HF150 = _Hamlib.RIG_MODEL_HF150
RIG_MODEL_HF225 = _Hamlib.RIG_MODEL_HF225
RIG_MODEL_HF250 = _Hamlib.RIG_MODEL_HF250
RIG_MODEL_HF235 = _Hamlib.RIG_MODEL_HF235
RIG_MODEL_RA3790 = _Hamlib.RIG_MODEL_RA3790
RIG_MODEL_RA3720 = _Hamlib.RIG_MODEL_RA3720
RIG_MODEL_RA6790 = _Hamlib.RIG_MODEL_RA6790
RIG_MODEL_RA3710 = _Hamlib.RIG_MODEL_RA3710
RIG_MODEL_RA3702 = _Hamlib.RIG_MODEL_RA3702
RIG_MODEL_HF1000 = _Hamlib.RIG_MODEL_HF1000
RIG_MODEL_HF1000A = _Hamlib.RIG_MODEL_HF1000A
RIG_MODEL_WJ8711 = _Hamlib.RIG_MODEL_WJ8711
RIG_MODEL_WJ8888 = _Hamlib.RIG_MODEL_WJ8888
RIG_MODEL_ESM500 = _Hamlib.RIG_MODEL_ESM500
RIG_MODEL_EK890 = _Hamlib.RIG_MODEL_EK890
RIG_MODEL_EK891 = _Hamlib.RIG_MODEL_EK891
RIG_MODEL_EK895 = _Hamlib.RIG_MODEL_EK895
RIG_MODEL_EK070 = _Hamlib.RIG_MODEL_EK070
RIG_MODEL_TRP7000 = _Hamlib.RIG_MODEL_TRP7000
RIG_MODEL_TRP8000 = _Hamlib.RIG_MODEL_TRP8000
RIG_MODEL_TRP9000 = _Hamlib.RIG_MODEL_TRP9000
RIG_MODEL_TRP8255 = _Hamlib.RIG_MODEL_TRP8255
RIG_MODEL_WR1000 = _Hamlib.RIG_MODEL_WR1000
RIG_MODEL_WR1500 = _Hamlib.RIG_MODEL_WR1500
RIG_MODEL_WR1550 = _Hamlib.RIG_MODEL_WR1550
RIG_MODEL_WR3100 = _Hamlib.RIG_MODEL_WR3100
RIG_MODEL_WR3150 = _Hamlib.RIG_MODEL_WR3150
RIG_MODEL_WR3500 = _Hamlib.RIG_MODEL_WR3500
RIG_MODEL_WR3700 = _Hamlib.RIG_MODEL_WR3700
RIG_MODEL_G303 = _Hamlib.RIG_MODEL_G303
RIG_MODEL_G313 = _Hamlib.RIG_MODEL_G313
RIG_MODEL_G305 = _Hamlib.RIG_MODEL_G305
RIG_MODEL_G315 = _Hamlib.RIG_MODEL_G315
RIG_MODEL_TT550 = _Hamlib.RIG_MODEL_TT550
RIG_MODEL_TT538 = _Hamlib.RIG_MODEL_TT538
RIG_MODEL_RX320 = _Hamlib.RIG_MODEL_RX320
RIG_MODEL_RX340 = _Hamlib.RIG_MODEL_RX340
RIG_MODEL_RX350 = _Hamlib.RIG_MODEL_RX350
RIG_MODEL_TT526 = _Hamlib.RIG_MODEL_TT526
RIG_MODEL_TT516 = _Hamlib.RIG_MODEL_TT516
RIG_MODEL_TT565 = _Hamlib.RIG_MODEL_TT565
RIG_MODEL_TT585 = _Hamlib.RIG_MODEL_TT585
RIG_MODEL_TT588 = _Hamlib.RIG_MODEL_TT588
RIG_MODEL_RX331 = _Hamlib.RIG_MODEL_RX331
RIG_MODEL_TT599 = _Hamlib.RIG_MODEL_TT599
RIG_MODEL_DX77 = _Hamlib.RIG_MODEL_DX77
RIG_MODEL_505DSP = _Hamlib.RIG_MODEL_505DSP
RIG_MODEL_GNURADIO = _Hamlib.RIG_MODEL_GNURADIO
RIG_MODEL_MC4020 = _Hamlib.RIG_MODEL_MC4020
RIG_MODEL_GRAUDIO = _Hamlib.RIG_MODEL_GRAUDIO
RIG_MODEL_GRAUDIOIQ = _Hamlib.RIG_MODEL_GRAUDIOIQ
RIG_MODEL_USRP_G = _Hamlib.RIG_MODEL_USRP_G
RIG_MODEL_MICROTUNE_4937 = _Hamlib.RIG_MODEL_MICROTUNE_4937
RIG_MODEL_MICROTUNE_4702 = _Hamlib.RIG_MODEL_MICROTUNE_4702
RIG_MODEL_MICROTUNE_4707 = _Hamlib.RIG_MODEL_MICROTUNE_4707
RIG_MODEL_DSP10 = _Hamlib.RIG_MODEL_DSP10
RIG_MODEL_SDR1000 = _Hamlib.RIG_MODEL_SDR1000
RIG_MODEL_SDR1000RFE = _Hamlib.RIG_MODEL_SDR1000RFE
RIG_MODEL_DTTSP = _Hamlib.RIG_MODEL_DTTSP
RIG_MODEL_DTTSP_UDP = _Hamlib.RIG_MODEL_DTTSP_UDP
RIG_MODEL_EKD500 = _Hamlib.RIG_MODEL_EKD500
RIG_MODEL_ELEKTOR304 = _Hamlib.RIG_MODEL_ELEKTOR304
RIG_MODEL_DRT1 = _Hamlib.RIG_MODEL_DRT1
RIG_MODEL_DWT = _Hamlib.RIG_MODEL_DWT
RIG_MODEL_USRP0 = _Hamlib.RIG_MODEL_USRP0
RIG_MODEL_USRP = _Hamlib.RIG_MODEL_USRP
RIG_MODEL_DDS60 = _Hamlib.RIG_MODEL_DDS60
RIG_MODEL_ELEKTOR507 = _Hamlib.RIG_MODEL_ELEKTOR507
RIG_MODEL_MINIVNA = _Hamlib.RIG_MODEL_MINIVNA
RIG_MODEL_SI570AVRUSB = _Hamlib.RIG_MODEL_SI570AVRUSB
RIG_MODEL_PMSDR = _Hamlib.RIG_MODEL_PMSDR
RIG_MODEL_SI570PICUSB = _Hamlib.RIG_MODEL_SI570PICUSB
RIG_MODEL_FIFISDR = _Hamlib.RIG_MODEL_FIFISDR
RIG_MODEL_FUNCUBEDONGLE = _Hamlib.RIG_MODEL_FUNCUBEDONGLE
RIG_MODEL_HIQSDR = _Hamlib.RIG_MODEL_HIQSDR
RIG_MODEL_FASDR = _Hamlib.RIG_MODEL_FASDR
RIG_MODEL_SI570PEABERRY1 = _Hamlib.RIG_MODEL_SI570PEABERRY1
RIG_MODEL_SI570PEABERRY2 = _Hamlib.RIG_MODEL_SI570PEABERRY2
RIG_MODEL_FUNCUBEDONGLEPLUS = _Hamlib.RIG_MODEL_FUNCUBEDONGLEPLUS
RIG_MODEL_V4L = _Hamlib.RIG_MODEL_V4L
RIG_MODEL_V4L2 = _Hamlib.RIG_MODEL_V4L2
RIG_MODEL_ESMC = _Hamlib.RIG_MODEL_ESMC
RIG_MODEL_EB200 = _Hamlib.RIG_MODEL_EB200
RIG_MODEL_PRM8060 = _Hamlib.RIG_MODEL_PRM8060
RIG_MODEL_PRM8070 = _Hamlib.RIG_MODEL_PRM8070
RIG_MODEL_ADT_200A = _Hamlib.RIG_MODEL_ADT_200A
RIG_MODEL_IC_M700PRO = _Hamlib.RIG_MODEL_IC_M700PRO
RIG_MODEL_IC_M802 = _Hamlib.RIG_MODEL_IC_M802
RIG_MODEL_IC_M710 = _Hamlib.RIG_MODEL_IC_M710
RIG_OK = _Hamlib.RIG_OK
RIG_EINVAL = _Hamlib.RIG_EINVAL
RIG_ECONF = _Hamlib.RIG_ECONF
RIG_ENOMEM = _Hamlib.RIG_ENOMEM
RIG_ENIMPL = _Hamlib.RIG_ENIMPL
RIG_ETIMEOUT = _Hamlib.RIG_ETIMEOUT
RIG_EIO = _Hamlib.RIG_EIO
RIG_EINTERNAL = _Hamlib.RIG_EINTERNAL
RIG_EPROTO = _Hamlib.RIG_EPROTO
RIG_ERJCTED = _Hamlib.RIG_ERJCTED
RIG_ETRUNC = _Hamlib.RIG_ETRUNC
RIG_ENAVAIL = _Hamlib.RIG_ENAVAIL
RIG_ENTARGET = _Hamlib.RIG_ENTARGET
RIG_BUSERROR = _Hamlib.RIG_BUSERROR
RIG_BUSBUSY = _Hamlib.RIG_BUSBUSY
RIG_EARG = _Hamlib.RIG_EARG
RIG_EVFO = _Hamlib.RIG_EVFO
RIG_EDOM = _Hamlib.RIG_EDOM
NETRIGCTL_RET = _Hamlib.NETRIGCTL_RET
RIG_DEBUG_NONE = _Hamlib.RIG_DEBUG_NONE
RIG_DEBUG_BUG = _Hamlib.RIG_DEBUG_BUG
RIG_DEBUG_ERR = _Hamlib.RIG_DEBUG_ERR
RIG_DEBUG_WARN = _Hamlib.RIG_DEBUG_WARN
RIG_DEBUG_VERBOSE = _Hamlib.RIG_DEBUG_VERBOSE
RIG_DEBUG_TRACE = _Hamlib.RIG_DEBUG_TRACE
RIGNAMSIZ = _Hamlib.RIGNAMSIZ
RIGVERSIZ = _Hamlib.RIGVERSIZ
FILPATHLEN = _Hamlib.FILPATHLEN
FRQRANGESIZ = _Hamlib.FRQRANGESIZ
MAXCHANDESC = _Hamlib.MAXCHANDESC
TSLSTSIZ = _Hamlib.TSLSTSIZ
FLTLSTSIZ = _Hamlib.FLTLSTSIZ
MAXDBLSTSIZ = _Hamlib.MAXDBLSTSIZ
CHANLSTSIZ = _Hamlib.CHANLSTSIZ
MAX_CAL_LENGTH = _Hamlib.MAX_CAL_LENGTH
RIG_PORT_NONE = _Hamlib.RIG_PORT_NONE
RIG_PORT_SERIAL = _Hamlib.RIG_PORT_SERIAL
RIG_PORT_NETWORK = _Hamlib.RIG_PORT_NETWORK
RIG_PORT_DEVICE = _Hamlib.RIG_PORT_DEVICE
RIG_PORT_PACKET = _Hamlib.RIG_PORT_PACKET
RIG_PORT_DTMF = _Hamlib.RIG_PORT_DTMF
RIG_PORT_ULTRA = _Hamlib.RIG_PORT_ULTRA
RIG_PORT_RPC = _Hamlib.RIG_PORT_RPC
RIG_PORT_PARALLEL = _Hamlib.RIG_PORT_PARALLEL
RIG_PORT_USB = _Hamlib.RIG_PORT_USB
RIG_PORT_UDP_NETWORK = _Hamlib.RIG_PORT_UDP_NETWORK
RIG_PORT_CM108 = _Hamlib.RIG_PORT_CM108
RIG_PORT_GPIO = _Hamlib.RIG_PORT_GPIO
RIG_PORT_GPION = _Hamlib.RIG_PORT_GPION
RIG_PARITY_NONE = _Hamlib.RIG_PARITY_NONE
RIG_PARITY_ODD = _Hamlib.RIG_PARITY_ODD
RIG_PARITY_EVEN = _Hamlib.RIG_PARITY_EVEN
RIG_PARITY_MARK = _Hamlib.RIG_PARITY_MARK
RIG_PARITY_SPACE = _Hamlib.RIG_PARITY_SPACE
RIG_HANDSHAKE_NONE = _Hamlib.RIG_HANDSHAKE_NONE
RIG_HANDSHAKE_XONXOFF = _Hamlib.RIG_HANDSHAKE_XONXOFF
RIG_HANDSHAKE_HARDWARE = _Hamlib.RIG_HANDSHAKE_HARDWARE
RIG_SIGNAL_UNSET = _Hamlib.RIG_SIGNAL_UNSET
RIG_SIGNAL_ON = _Hamlib.RIG_SIGNAL_ON
RIG_SIGNAL_OFF = _Hamlib.RIG_SIGNAL_OFF
RIG_FLAG_RECEIVER = _Hamlib.RIG_FLAG_RECEIVER
RIG_FLAG_TRANSMITTER = _Hamlib.RIG_FLAG_TRANSMITTER
RIG_FLAG_SCANNER = _Hamlib.RIG_FLAG_SCANNER
RIG_FLAG_MOBILE = _Hamlib.RIG_FLAG_MOBILE
RIG_FLAG_HANDHELD = _Hamlib.RIG_FLAG_HANDHELD
RIG_FLAG_COMPUTER = _Hamlib.RIG_FLAG_COMPUTER
RIG_FLAG_TRUNKING = _Hamlib.RIG_FLAG_TRUNKING
RIG_FLAG_APRS = _Hamlib.RIG_FLAG_APRS
RIG_FLAG_TNC = _Hamlib.RIG_FLAG_TNC
RIG_FLAG_DXCLUSTER = _Hamlib.RIG_FLAG_DXCLUSTER
RIG_FLAG_TUNER = _Hamlib.RIG_FLAG_TUNER
RIG_TYPE_OTHER = _Hamlib.RIG_TYPE_OTHER
RIG_STATUS_ALPHA = _Hamlib.RIG_STATUS_ALPHA
RIG_STATUS_UNTESTED = _Hamlib.RIG_STATUS_UNTESTED
RIG_STATUS_BETA = _Hamlib.RIG_STATUS_BETA
RIG_STATUS_STABLE = _Hamlib.RIG_STATUS_STABLE
RIG_STATUS_BUGGY = _Hamlib.RIG_STATUS_BUGGY
RIG_RPT_SHIFT_NONE = _Hamlib.RIG_RPT_SHIFT_NONE
RIG_RPT_SHIFT_MINUS = _Hamlib.RIG_RPT_SHIFT_MINUS
RIG_RPT_SHIFT_PLUS = _Hamlib.RIG_RPT_SHIFT_PLUS
RIG_SPLIT_OFF = _Hamlib.RIG_SPLIT_OFF
RIG_SPLIT_ON = _Hamlib.RIG_SPLIT_ON
RIG_VFO_NONE = _Hamlib.RIG_VFO_NONE
RIG_VFO_TX_FLAG = _Hamlib.RIG_VFO_TX_FLAG
RIG_VFO_CURR = _Hamlib.RIG_VFO_CURR
RIG_VFO_MEM = _Hamlib.RIG_VFO_MEM
RIG_VFO_VFO = _Hamlib.RIG_VFO_VFO
RIG_VFO_TX = _Hamlib.RIG_VFO_TX
RIG_VFO_RX = _Hamlib.RIG_VFO_RX
RIG_VFO_MAIN = _Hamlib.RIG_VFO_MAIN
RIG_VFO_SUB = _Hamlib.RIG_VFO_SUB
RIG_VFO_A = _Hamlib.RIG_VFO_A
RIG_VFO_B = _Hamlib.RIG_VFO_B
RIG_VFO_C = _Hamlib.RIG_VFO_C
RIG_TARGETABLE_NONE = _Hamlib.RIG_TARGETABLE_NONE
RIG_TARGETABLE_FREQ = _Hamlib.RIG_TARGETABLE_FREQ
RIG_TARGETABLE_MODE = _Hamlib.RIG_TARGETABLE_MODE
RIG_TARGETABLE_PURE = _Hamlib.RIG_TARGETABLE_PURE
RIG_TARGETABLE_TONE = _Hamlib.RIG_TARGETABLE_TONE
RIG_TARGETABLE_FUNC = _Hamlib.RIG_TARGETABLE_FUNC
RIG_TARGETABLE_ALL = _Hamlib.RIG_TARGETABLE_ALL
RIG_DCD_OFF = _Hamlib.RIG_DCD_OFF
RIG_DCD_ON = _Hamlib.RIG_DCD_ON
RIG_DCD_NONE = _Hamlib.RIG_DCD_NONE
RIG_DCD_RIG = _Hamlib.RIG_DCD_RIG
RIG_DCD_SERIAL_DSR = _Hamlib.RIG_DCD_SERIAL_DSR
RIG_DCD_SERIAL_CTS = _Hamlib.RIG_DCD_SERIAL_CTS
RIG_DCD_SERIAL_CAR = _Hamlib.RIG_DCD_SERIAL_CAR
RIG_DCD_PARALLEL = _Hamlib.RIG_DCD_PARALLEL
RIG_DCD_CM108 = _Hamlib.RIG_DCD_CM108
RIG_PTT_OFF = _Hamlib.RIG_PTT_OFF
RIG_PTT_ON = _Hamlib.RIG_PTT_ON
RIG_PTT_ON_MIC = _Hamlib.RIG_PTT_ON_MIC
RIG_PTT_ON_DATA = _Hamlib.RIG_PTT_ON_DATA
RIG_PTT_NONE = _Hamlib.RIG_PTT_NONE
RIG_PTT_RIG = _Hamlib.RIG_PTT_RIG
RIG_PTT_SERIAL_DTR = _Hamlib.RIG_PTT_SERIAL_DTR
RIG_PTT_SERIAL_RTS = _Hamlib.RIG_PTT_SERIAL_RTS
RIG_PTT_PARALLEL = _Hamlib.RIG_PTT_PARALLEL
RIG_PTT_RIG_MICDATA = _Hamlib.RIG_PTT_RIG_MICDATA
RIG_PTT_CM108 = _Hamlib.RIG_PTT_CM108
RIG_PTT_GPIO = _Hamlib.RIG_PTT_GPIO
RIG_PTT_GPION = _Hamlib.RIG_PTT_GPION
RIG_POWER_OFF = _Hamlib.RIG_POWER_OFF
RIG_POWER_ON = _Hamlib.RIG_POWER_ON
RIG_POWER_STANDBY = _Hamlib.RIG_POWER_STANDBY
RIG_RESET_NONE = _Hamlib.RIG_RESET_NONE
RIG_RESET_SOFT = _Hamlib.RIG_RESET_SOFT
RIG_RESET_VFO = _Hamlib.RIG_RESET_VFO
RIG_RESET_MCALL = _Hamlib.RIG_RESET_MCALL
RIG_RESET_MASTER = _Hamlib.RIG_RESET_MASTER
RIG_OP_NONE = _Hamlib.RIG_OP_NONE
RIG_OP_CPY = _Hamlib.RIG_OP_CPY
RIG_OP_XCHG = _Hamlib.RIG_OP_XCHG
RIG_OP_FROM_VFO = _Hamlib.RIG_OP_FROM_VFO
RIG_OP_TO_VFO = _Hamlib.RIG_OP_TO_VFO
RIG_OP_MCL = _Hamlib.RIG_OP_MCL
RIG_OP_UP = _Hamlib.RIG_OP_UP
RIG_OP_DOWN = _Hamlib.RIG_OP_DOWN
RIG_OP_BAND_UP = _Hamlib.RIG_OP_BAND_UP
RIG_OP_BAND_DOWN = _Hamlib.RIG_OP_BAND_DOWN
RIG_OP_LEFT = _Hamlib.RIG_OP_LEFT
RIG_OP_RIGHT = _Hamlib.RIG_OP_RIGHT
RIG_OP_TUNE = _Hamlib.RIG_OP_TUNE
RIG_OP_TOGGLE = _Hamlib.RIG_OP_TOGGLE
RIG_SCAN_NONE = _Hamlib.RIG_SCAN_NONE
RIG_SCAN_MEM = _Hamlib.RIG_SCAN_MEM
RIG_SCAN_SLCT = _Hamlib.RIG_SCAN_SLCT
RIG_SCAN_PRIO = _Hamlib.RIG_SCAN_PRIO
RIG_SCAN_PROG = _Hamlib.RIG_SCAN_PROG
RIG_SCAN_DELTA = _Hamlib.RIG_SCAN_DELTA
RIG_SCAN_VFO = _Hamlib.RIG_SCAN_VFO
RIG_SCAN_PLT = _Hamlib.RIG_SCAN_PLT
RIG_SCAN_STOP = _Hamlib.RIG_SCAN_STOP
RIG_CONF_END = _Hamlib.RIG_CONF_END
RIG_CONF_STRING = _Hamlib.RIG_CONF_STRING
RIG_CONF_COMBO = _Hamlib.RIG_CONF_COMBO
RIG_CONF_NUMERIC = _Hamlib.RIG_CONF_NUMERIC
RIG_CONF_CHECKBUTTON = _Hamlib.RIG_CONF_CHECKBUTTON
RIG_CONF_BUTTON = _Hamlib.RIG_CONF_BUTTON
RIG_COMBO_MAX = _Hamlib.RIG_COMBO_MAX
class confparams(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, confparams, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, confparams, name)
    __repr__ = _swig_repr
    __swig_setmethods__["token"] = _Hamlib.confparams_token_set
    __swig_getmethods__["token"] = _Hamlib.confparams_token_get
    if _newclass:
        token = _swig_property(_Hamlib.confparams_token_get, _Hamlib.confparams_token_set)
    __swig_getmethods__["name"] = _Hamlib.confparams_name_get
    if _newclass:
        name = _swig_property(_Hamlib.confparams_name_get)
    __swig_getmethods__["label"] = _Hamlib.confparams_label_get
    if _newclass:
        label = _swig_property(_Hamlib.confparams_label_get)
    __swig_getmethods__["tooltip"] = _Hamlib.confparams_tooltip_get
    if _newclass:
        tooltip = _swig_property(_Hamlib.confparams_tooltip_get)
    __swig_getmethods__["dflt"] = _Hamlib.confparams_dflt_get
    if _newclass:
        dflt = _swig_property(_Hamlib.confparams_dflt_get)
    __swig_setmethods__["type"] = _Hamlib.confparams_type_set
    __swig_getmethods__["type"] = _Hamlib.confparams_type_get
    if _newclass:
        type = _swig_property(_Hamlib.confparams_type_get, _Hamlib.confparams_type_set)
    __swig_getmethods__["u"] = _Hamlib.confparams_u_get
    if _newclass:
        u = _swig_property(_Hamlib.confparams_u_get)

    def __init__(self):
        this = _Hamlib.new_confparams()
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this
    __swig_destroy__ = _Hamlib.delete_confparams
    __del__ = lambda self: None
confparams_swigregister = _Hamlib.confparams_swigregister
confparams_swigregister(confparams)
cvar = _Hamlib.cvar
hamlib_version = cvar.hamlib_version
hamlib_copyright = cvar.hamlib_copyright

class confparams_u(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, confparams_u, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, confparams_u, name)
    __repr__ = _swig_repr
    __swig_getmethods__["n"] = _Hamlib.confparams_u_n_get
    if _newclass:
        n = _swig_property(_Hamlib.confparams_u_n_get)
    __swig_getmethods__["c"] = _Hamlib.confparams_u_c_get
    if _newclass:
        c = _swig_property(_Hamlib.confparams_u_c_get)

    def __init__(self):
        this = _Hamlib.new_confparams_u()
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this
    __swig_destroy__ = _Hamlib.delete_confparams_u
    __del__ = lambda self: None
confparams_u_swigregister = _Hamlib.confparams_u_swigregister
confparams_u_swigregister(confparams_u)

class confparams_u_c(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, confparams_u_c, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, confparams_u_c, name)
    __repr__ = _swig_repr
    __swig_setmethods__["combostr"] = _Hamlib.confparams_u_c_combostr_set
    __swig_getmethods__["combostr"] = _Hamlib.confparams_u_c_combostr_get
    if _newclass:
        combostr = _swig_property(_Hamlib.confparams_u_c_combostr_get, _Hamlib.confparams_u_c_combostr_set)

    def __init__(self):
        this = _Hamlib.new_confparams_u_c()
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this
    __swig_destroy__ = _Hamlib.delete_confparams_u_c
    __del__ = lambda self: None
confparams_u_c_swigregister = _Hamlib.confparams_u_c_swigregister
confparams_u_c_swigregister(confparams_u_c)

class confparams_u_n(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, confparams_u_n, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, confparams_u_n, name)
    __repr__ = _swig_repr
    __swig_setmethods__["min"] = _Hamlib.confparams_u_n_min_set
    __swig_getmethods__["min"] = _Hamlib.confparams_u_n_min_get
    if _newclass:
        min = _swig_property(_Hamlib.confparams_u_n_min_get, _Hamlib.confparams_u_n_min_set)
    __swig_setmethods__["max"] = _Hamlib.confparams_u_n_max_set
    __swig_getmethods__["max"] = _Hamlib.confparams_u_n_max_get
    if _newclass:
        max = _swig_property(_Hamlib.confparams_u_n_max_get, _Hamlib.confparams_u_n_max_set)
    __swig_setmethods__["step"] = _Hamlib.confparams_u_n_step_set
    __swig_getmethods__["step"] = _Hamlib.confparams_u_n_step_get
    if _newclass:
        step = _swig_property(_Hamlib.confparams_u_n_step_get, _Hamlib.confparams_u_n_step_set)

    def __init__(self):
        this = _Hamlib.new_confparams_u_n()
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this
    __swig_destroy__ = _Hamlib.delete_confparams_u_n
    __del__ = lambda self: None
confparams_u_n_swigregister = _Hamlib.confparams_u_n_swigregister
confparams_u_n_swigregister(confparams_u_n)

RIG_ANN_NONE = _Hamlib.RIG_ANN_NONE
RIG_ANN_OFF = _Hamlib.RIG_ANN_OFF
RIG_ANN_FREQ = _Hamlib.RIG_ANN_FREQ
RIG_ANN_RXMODE = _Hamlib.RIG_ANN_RXMODE
RIG_ANN_CW = _Hamlib.RIG_ANN_CW
RIG_ANN_ENG = _Hamlib.RIG_ANN_ENG
RIG_ANN_JAP = _Hamlib.RIG_ANN_JAP
RIG_ANT_NONE = _Hamlib.RIG_ANT_NONE
RIG_AGC_OFF = _Hamlib.RIG_AGC_OFF
RIG_AGC_SUPERFAST = _Hamlib.RIG_AGC_SUPERFAST
RIG_AGC_FAST = _Hamlib.RIG_AGC_FAST
RIG_AGC_SLOW = _Hamlib.RIG_AGC_SLOW
RIG_AGC_USER = _Hamlib.RIG_AGC_USER
RIG_AGC_MEDIUM = _Hamlib.RIG_AGC_MEDIUM
RIG_AGC_AUTO = _Hamlib.RIG_AGC_AUTO
RIG_METER_NONE = _Hamlib.RIG_METER_NONE
RIG_METER_SWR = _Hamlib.RIG_METER_SWR
RIG_METER_COMP = _Hamlib.RIG_METER_COMP
RIG_METER_ALC = _Hamlib.RIG_METER_ALC
RIG_METER_IC = _Hamlib.RIG_METER_IC
RIG_METER_DB = _Hamlib.RIG_METER_DB
RIG_METER_PO = _Hamlib.RIG_METER_PO
RIG_METER_VDD = _Hamlib.RIG_METER_VDD
class value_t(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, value_t, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, value_t, name)
    __repr__ = _swig_repr
    __swig_setmethods__["i"] = _Hamlib.value_t_i_set
    __swig_getmethods__["i"] = _Hamlib.value_t_i_get
    if _newclass:
        i = _swig_property(_Hamlib.value_t_i_get, _Hamlib.value_t_i_set)
    __swig_setmethods__["f"] = _Hamlib.value_t_f_set
    __swig_getmethods__["f"] = _Hamlib.value_t_f_get
    if _newclass:
        f = _swig_property(_Hamlib.value_t_f_get, _Hamlib.value_t_f_set)
    __swig_setmethods__["s"] = _Hamlib.value_t_s_set
    __swig_getmethods__["s"] = _Hamlib.value_t_s_get
    if _newclass:
        s = _swig_property(_Hamlib.value_t_s_get, _Hamlib.value_t_s_set)
    __swig_getmethods__["cs"] = _Hamlib.value_t_cs_get
    if _newclass:
        cs = _swig_property(_Hamlib.value_t_cs_get)

    def __init__(self):
        this = _Hamlib.new_value_t()
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this
    __swig_destroy__ = _Hamlib.delete_value_t
    __del__ = lambda self: None
value_t_swigregister = _Hamlib.value_t_swigregister
value_t_swigregister(value_t)

RIG_LEVEL_NONE = _Hamlib.RIG_LEVEL_NONE
RIG_LEVEL_PREAMP = _Hamlib.RIG_LEVEL_PREAMP
RIG_LEVEL_ATT = _Hamlib.RIG_LEVEL_ATT
RIG_LEVEL_VOX = _Hamlib.RIG_LEVEL_VOX
RIG_LEVEL_AF = _Hamlib.RIG_LEVEL_AF
RIG_LEVEL_RF = _Hamlib.RIG_LEVEL_RF
RIG_LEVEL_SQL = _Hamlib.RIG_LEVEL_SQL
RIG_LEVEL_IF = _Hamlib.RIG_LEVEL_IF
RIG_LEVEL_APF = _Hamlib.RIG_LEVEL_APF
RIG_LEVEL_NR = _Hamlib.RIG_LEVEL_NR
RIG_LEVEL_PBT_IN = _Hamlib.RIG_LEVEL_PBT_IN
RIG_LEVEL_PBT_OUT = _Hamlib.RIG_LEVEL_PBT_OUT
RIG_LEVEL_CWPITCH = _Hamlib.RIG_LEVEL_CWPITCH
RIG_LEVEL_RFPOWER = _Hamlib.RIG_LEVEL_RFPOWER
RIG_LEVEL_MICGAIN = _Hamlib.RIG_LEVEL_MICGAIN
RIG_LEVEL_KEYSPD = _Hamlib.RIG_LEVEL_KEYSPD
RIG_LEVEL_NOTCHF = _Hamlib.RIG_LEVEL_NOTCHF
RIG_LEVEL_COMP = _Hamlib.RIG_LEVEL_COMP
RIG_LEVEL_AGC = _Hamlib.RIG_LEVEL_AGC
RIG_LEVEL_BKINDL = _Hamlib.RIG_LEVEL_BKINDL
RIG_LEVEL_BALANCE = _Hamlib.RIG_LEVEL_BALANCE
RIG_LEVEL_METER = _Hamlib.RIG_LEVEL_METER
RIG_LEVEL_VOXGAIN = _Hamlib.RIG_LEVEL_VOXGAIN
RIG_LEVEL_VOXDELAY = _Hamlib.RIG_LEVEL_VOXDELAY
RIG_LEVEL_ANTIVOX = _Hamlib.RIG_LEVEL_ANTIVOX
RIG_LEVEL_SLOPE_LOW = _Hamlib.RIG_LEVEL_SLOPE_LOW
RIG_LEVEL_SLOPE_HIGH = _Hamlib.RIG_LEVEL_SLOPE_HIGH
RIG_LEVEL_BKIN_DLYMS = _Hamlib.RIG_LEVEL_BKIN_DLYMS
RIG_LEVEL_RAWSTR = _Hamlib.RIG_LEVEL_RAWSTR
RIG_LEVEL_SQLSTAT = _Hamlib.RIG_LEVEL_SQLSTAT
RIG_LEVEL_SWR = _Hamlib.RIG_LEVEL_SWR
RIG_LEVEL_ALC = _Hamlib.RIG_LEVEL_ALC
RIG_LEVEL_STRENGTH = _Hamlib.RIG_LEVEL_STRENGTH
RIG_PARM_NONE = _Hamlib.RIG_PARM_NONE
RIG_PARM_ANN = _Hamlib.RIG_PARM_ANN
RIG_PARM_APO = _Hamlib.RIG_PARM_APO
RIG_PARM_BACKLIGHT = _Hamlib.RIG_PARM_BACKLIGHT
RIG_PARM_BEEP = _Hamlib.RIG_PARM_BEEP
RIG_PARM_TIME = _Hamlib.RIG_PARM_TIME
RIG_PARM_BAT = _Hamlib.RIG_PARM_BAT
RIG_PARM_KEYLIGHT = _Hamlib.RIG_PARM_KEYLIGHT
RIG_SETTING_MAX = _Hamlib.RIG_SETTING_MAX
RIG_TRN_OFF = _Hamlib.RIG_TRN_OFF
RIG_TRN_RIG = _Hamlib.RIG_TRN_RIG
RIG_TRN_POLL = _Hamlib.RIG_TRN_POLL
RIG_FUNC_NONE = _Hamlib.RIG_FUNC_NONE
RIG_FUNC_FAGC = _Hamlib.RIG_FUNC_FAGC
RIG_FUNC_NB = _Hamlib.RIG_FUNC_NB
RIG_FUNC_COMP = _Hamlib.RIG_FUNC_COMP
RIG_FUNC_VOX = _Hamlib.RIG_FUNC_VOX
RIG_FUNC_TONE = _Hamlib.RIG_FUNC_TONE
RIG_FUNC_TSQL = _Hamlib.RIG_FUNC_TSQL
RIG_FUNC_SBKIN = _Hamlib.RIG_FUNC_SBKIN
RIG_FUNC_FBKIN = _Hamlib.RIG_FUNC_FBKIN
RIG_FUNC_ANF = _Hamlib.RIG_FUNC_ANF
RIG_FUNC_NR = _Hamlib.RIG_FUNC_NR
RIG_FUNC_AIP = _Hamlib.RIG_FUNC_AIP
RIG_FUNC_APF = _Hamlib.RIG_FUNC_APF
RIG_FUNC_MON = _Hamlib.RIG_FUNC_MON
RIG_FUNC_MN = _Hamlib.RIG_FUNC_MN
RIG_FUNC_RF = _Hamlib.RIG_FUNC_RF
RIG_FUNC_ARO = _Hamlib.RIG_FUNC_ARO
RIG_FUNC_LOCK = _Hamlib.RIG_FUNC_LOCK
RIG_FUNC_MUTE = _Hamlib.RIG_FUNC_MUTE
RIG_FUNC_VSC = _Hamlib.RIG_FUNC_VSC
RIG_FUNC_REV = _Hamlib.RIG_FUNC_REV
RIG_FUNC_SQL = _Hamlib.RIG_FUNC_SQL
RIG_FUNC_ABM = _Hamlib.RIG_FUNC_ABM
RIG_FUNC_BC = _Hamlib.RIG_FUNC_BC
RIG_FUNC_MBC = _Hamlib.RIG_FUNC_MBC
RIG_FUNC_RIT = _Hamlib.RIG_FUNC_RIT
RIG_FUNC_AFC = _Hamlib.RIG_FUNC_AFC
RIG_FUNC_SATMODE = _Hamlib.RIG_FUNC_SATMODE
RIG_FUNC_SCOPE = _Hamlib.RIG_FUNC_SCOPE
RIG_FUNC_RESUME = _Hamlib.RIG_FUNC_RESUME
RIG_FUNC_TBURST = _Hamlib.RIG_FUNC_TBURST
RIG_FUNC_TUNER = _Hamlib.RIG_FUNC_TUNER
RIG_FUNC_XIT = _Hamlib.RIG_FUNC_XIT
RIG_MODE_NONE = _Hamlib.RIG_MODE_NONE
RIG_MODE_AM = _Hamlib.RIG_MODE_AM
RIG_MODE_CW = _Hamlib.RIG_MODE_CW
RIG_MODE_USB = _Hamlib.RIG_MODE_USB
RIG_MODE_LSB = _Hamlib.RIG_MODE_LSB
RIG_MODE_RTTY = _Hamlib.RIG_MODE_RTTY
RIG_MODE_FM = _Hamlib.RIG_MODE_FM
RIG_MODE_WFM = _Hamlib.RIG_MODE_WFM
RIG_MODE_CWR = _Hamlib.RIG_MODE_CWR
RIG_MODE_RTTYR = _Hamlib.RIG_MODE_RTTYR
RIG_MODE_AMS = _Hamlib.RIG_MODE_AMS
RIG_MODE_PKTLSB = _Hamlib.RIG_MODE_PKTLSB
RIG_MODE_PKTUSB = _Hamlib.RIG_MODE_PKTUSB
RIG_MODE_PKTFM = _Hamlib.RIG_MODE_PKTFM
RIG_MODE_ECSSUSB = _Hamlib.RIG_MODE_ECSSUSB
RIG_MODE_ECSSLSB = _Hamlib.RIG_MODE_ECSSLSB
RIG_MODE_FAX = _Hamlib.RIG_MODE_FAX
RIG_MODE_SAM = _Hamlib.RIG_MODE_SAM
RIG_MODE_SAL = _Hamlib.RIG_MODE_SAL
RIG_MODE_SAH = _Hamlib.RIG_MODE_SAH
RIG_MODE_DSB = _Hamlib.RIG_MODE_DSB
RIG_MODE_FMN = _Hamlib.RIG_MODE_FMN
RIG_MODE_TESTS_MAX = _Hamlib.RIG_MODE_TESTS_MAX
RIG_DBLST_END = _Hamlib.RIG_DBLST_END
class freq_range_t(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, freq_range_t, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, freq_range_t, name)
    __repr__ = _swig_repr
    __swig_setmethods__["start"] = _Hamlib.freq_range_t_start_set
    __swig_getmethods__["start"] = _Hamlib.freq_range_t_start_get
    if _newclass:
        start = _swig_property(_Hamlib.freq_range_t_start_get, _Hamlib.freq_range_t_start_set)
    __swig_setmethods__["end"] = _Hamlib.freq_range_t_end_set
    __swig_getmethods__["end"] = _Hamlib.freq_range_t_end_get
    if _newclass:
        end = _swig_property(_Hamlib.freq_range_t_end_get, _Hamlib.freq_range_t_end_set)
    __swig_setmethods__["modes"] = _Hamlib.freq_range_t_modes_set
    __swig_getmethods__["modes"] = _Hamlib.freq_range_t_modes_get
    if _newclass:
        modes = _swig_property(_Hamlib.freq_range_t_modes_get, _Hamlib.freq_range_t_modes_set)
    __swig_setmethods__["low_power"] = _Hamlib.freq_range_t_low_power_set
    __swig_getmethods__["low_power"] = _Hamlib.freq_range_t_low_power_get
    if _newclass:
        low_power = _swig_property(_Hamlib.freq_range_t_low_power_get, _Hamlib.freq_range_t_low_power_set)
    __swig_setmethods__["high_power"] = _Hamlib.freq_range_t_high_power_set
    __swig_getmethods__["high_power"] = _Hamlib.freq_range_t_high_power_get
    if _newclass:
        high_power = _swig_property(_Hamlib.freq_range_t_high_power_get, _Hamlib.freq_range_t_high_power_set)
    __swig_setmethods__["vfo"] = _Hamlib.freq_range_t_vfo_set
    __swig_getmethods__["vfo"] = _Hamlib.freq_range_t_vfo_get
    if _newclass:
        vfo = _swig_property(_Hamlib.freq_range_t_vfo_get, _Hamlib.freq_range_t_vfo_set)
    __swig_setmethods__["ant"] = _Hamlib.freq_range_t_ant_set
    __swig_getmethods__["ant"] = _Hamlib.freq_range_t_ant_get
    if _newclass:
        ant = _swig_property(_Hamlib.freq_range_t_ant_get, _Hamlib.freq_range_t_ant_set)

    def __init__(self):
        this = _Hamlib.new_freq_range_t()
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this
    __swig_destroy__ = _Hamlib.delete_freq_range_t
    __del__ = lambda self: None
freq_range_t_swigregister = _Hamlib.freq_range_t_swigregister
freq_range_t_swigregister(freq_range_t)

RIG_ITU_REGION1 = _Hamlib.RIG_ITU_REGION1
RIG_ITU_REGION2 = _Hamlib.RIG_ITU_REGION2
RIG_ITU_REGION3 = _Hamlib.RIG_ITU_REGION3
class tuning_step_list(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, tuning_step_list, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, tuning_step_list, name)
    __repr__ = _swig_repr
    __swig_setmethods__["modes"] = _Hamlib.tuning_step_list_modes_set
    __swig_getmethods__["modes"] = _Hamlib.tuning_step_list_modes_get
    if _newclass:
        modes = _swig_property(_Hamlib.tuning_step_list_modes_get, _Hamlib.tuning_step_list_modes_set)
    __swig_setmethods__["ts"] = _Hamlib.tuning_step_list_ts_set
    __swig_getmethods__["ts"] = _Hamlib.tuning_step_list_ts_get
    if _newclass:
        ts = _swig_property(_Hamlib.tuning_step_list_ts_get, _Hamlib.tuning_step_list_ts_set)

    def __init__(self):
        this = _Hamlib.new_tuning_step_list()
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this
    __swig_destroy__ = _Hamlib.delete_tuning_step_list
    __del__ = lambda self: None
tuning_step_list_swigregister = _Hamlib.tuning_step_list_swigregister
tuning_step_list_swigregister(tuning_step_list)

RIG_TS_ANY = _Hamlib.RIG_TS_ANY
class filter_list(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, filter_list, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, filter_list, name)
    __repr__ = _swig_repr
    __swig_setmethods__["modes"] = _Hamlib.filter_list_modes_set
    __swig_getmethods__["modes"] = _Hamlib.filter_list_modes_get
    if _newclass:
        modes = _swig_property(_Hamlib.filter_list_modes_get, _Hamlib.filter_list_modes_set)
    __swig_setmethods__["width"] = _Hamlib.filter_list_width_set
    __swig_getmethods__["width"] = _Hamlib.filter_list_width_get
    if _newclass:
        width = _swig_property(_Hamlib.filter_list_width_get, _Hamlib.filter_list_width_set)

    def __init__(self):
        this = _Hamlib.new_filter_list()
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this
    __swig_destroy__ = _Hamlib.delete_filter_list
    __del__ = lambda self: None
filter_list_swigregister = _Hamlib.filter_list_swigregister
filter_list_swigregister(filter_list)

RIG_FLT_ANY = _Hamlib.RIG_FLT_ANY
RIG_CHFLAG_NONE = _Hamlib.RIG_CHFLAG_NONE
RIG_CHFLAG_SKIP = _Hamlib.RIG_CHFLAG_SKIP
RIG_CHFLAG_DATA = _Hamlib.RIG_CHFLAG_DATA
class ext_list(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, ext_list, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, ext_list, name)
    __repr__ = _swig_repr
    __swig_setmethods__["token"] = _Hamlib.ext_list_token_set
    __swig_getmethods__["token"] = _Hamlib.ext_list_token_get
    if _newclass:
        token = _swig_property(_Hamlib.ext_list_token_get, _Hamlib.ext_list_token_set)
    __swig_setmethods__["val"] = _Hamlib.ext_list_val_set
    __swig_getmethods__["val"] = _Hamlib.ext_list_val_get
    if _newclass:
        val = _swig_property(_Hamlib.ext_list_val_get, _Hamlib.ext_list_val_set)

    def __init__(self):
        this = _Hamlib.new_ext_list()
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this
    __swig_destroy__ = _Hamlib.delete_ext_list
    __del__ = lambda self: None
ext_list_swigregister = _Hamlib.ext_list_swigregister
ext_list_swigregister(ext_list)

class channel(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, channel, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, channel, name)
    __repr__ = _swig_repr
    __swig_setmethods__["channel_num"] = _Hamlib.channel_channel_num_set
    __swig_getmethods__["channel_num"] = _Hamlib.channel_channel_num_get
    if _newclass:
        channel_num = _swig_property(_Hamlib.channel_channel_num_get, _Hamlib.channel_channel_num_set)
    __swig_setmethods__["bank_num"] = _Hamlib.channel_bank_num_set
    __swig_getmethods__["bank_num"] = _Hamlib.channel_bank_num_get
    if _newclass:
        bank_num = _swig_property(_Hamlib.channel_bank_num_get, _Hamlib.channel_bank_num_set)
    __swig_setmethods__["vfo"] = _Hamlib.channel_vfo_set
    __swig_getmethods__["vfo"] = _Hamlib.channel_vfo_get
    if _newclass:
        vfo = _swig_property(_Hamlib.channel_vfo_get, _Hamlib.channel_vfo_set)
    __swig_setmethods__["ant"] = _Hamlib.channel_ant_set
    __swig_getmethods__["ant"] = _Hamlib.channel_ant_get
    if _newclass:
        ant = _swig_property(_Hamlib.channel_ant_get, _Hamlib.channel_ant_set)
    __swig_setmethods__["freq"] = _Hamlib.channel_freq_set
    __swig_getmethods__["freq"] = _Hamlib.channel_freq_get
    if _newclass:
        freq = _swig_property(_Hamlib.channel_freq_get, _Hamlib.channel_freq_set)
    __swig_setmethods__["mode"] = _Hamlib.channel_mode_set
    __swig_getmethods__["mode"] = _Hamlib.channel_mode_get
    if _newclass:
        mode = _swig_property(_Hamlib.channel_mode_get, _Hamlib.channel_mode_set)
    __swig_setmethods__["width"] = _Hamlib.channel_width_set
    __swig_getmethods__["width"] = _Hamlib.channel_width_get
    if _newclass:
        width = _swig_property(_Hamlib.channel_width_get, _Hamlib.channel_width_set)
    __swig_setmethods__["tx_freq"] = _Hamlib.channel_tx_freq_set
    __swig_getmethods__["tx_freq"] = _Hamlib.channel_tx_freq_get
    if _newclass:
        tx_freq = _swig_property(_Hamlib.channel_tx_freq_get, _Hamlib.channel_tx_freq_set)
    __swig_setmethods__["tx_mode"] = _Hamlib.channel_tx_mode_set
    __swig_getmethods__["tx_mode"] = _Hamlib.channel_tx_mode_get
    if _newclass:
        tx_mode = _swig_property(_Hamlib.channel_tx_mode_get, _Hamlib.channel_tx_mode_set)
    __swig_setmethods__["tx_width"] = _Hamlib.channel_tx_width_set
    __swig_getmethods__["tx_width"] = _Hamlib.channel_tx_width_get
    if _newclass:
        tx_width = _swig_property(_Hamlib.channel_tx_width_get, _Hamlib.channel_tx_width_set)
    __swig_setmethods__["split"] = _Hamlib.channel_split_set
    __swig_getmethods__["split"] = _Hamlib.channel_split_get
    if _newclass:
        split = _swig_property(_Hamlib.channel_split_get, _Hamlib.channel_split_set)
    __swig_setmethods__["tx_vfo"] = _Hamlib.channel_tx_vfo_set
    __swig_getmethods__["tx_vfo"] = _Hamlib.channel_tx_vfo_get
    if _newclass:
        tx_vfo = _swig_property(_Hamlib.channel_tx_vfo_get, _Hamlib.channel_tx_vfo_set)
    __swig_setmethods__["rptr_shift"] = _Hamlib.channel_rptr_shift_set
    __swig_getmethods__["rptr_shift"] = _Hamlib.channel_rptr_shift_get
    if _newclass:
        rptr_shift = _swig_property(_Hamlib.channel_rptr_shift_get, _Hamlib.channel_rptr_shift_set)
    __swig_setmethods__["rptr_offs"] = _Hamlib.channel_rptr_offs_set
    __swig_getmethods__["rptr_offs"] = _Hamlib.channel_rptr_offs_get
    if _newclass:
        rptr_offs = _swig_property(_Hamlib.channel_rptr_offs_get, _Hamlib.channel_rptr_offs_set)
    __swig_setmethods__["tuning_step"] = _Hamlib.channel_tuning_step_set
    __swig_getmethods__["tuning_step"] = _Hamlib.channel_tuning_step_get
    if _newclass:
        tuning_step = _swig_property(_Hamlib.channel_tuning_step_get, _Hamlib.channel_tuning_step_set)
    __swig_setmethods__["rit"] = _Hamlib.channel_rit_set
    __swig_getmethods__["rit"] = _Hamlib.channel_rit_get
    if _newclass:
        rit = _swig_property(_Hamlib.channel_rit_get, _Hamlib.channel_rit_set)
    __swig_setmethods__["xit"] = _Hamlib.channel_xit_set
    __swig_getmethods__["xit"] = _Hamlib.channel_xit_get
    if _newclass:
        xit = _swig_property(_Hamlib.channel_xit_get, _Hamlib.channel_xit_set)
    __swig_setmethods__["funcs"] = _Hamlib.channel_funcs_set
    __swig_getmethods__["funcs"] = _Hamlib.channel_funcs_get
    if _newclass:
        funcs = _swig_property(_Hamlib.channel_funcs_get, _Hamlib.channel_funcs_set)
    __swig_setmethods__["levels"] = _Hamlib.channel_levels_set
    __swig_getmethods__["levels"] = _Hamlib.channel_levels_get
    if _newclass:
        levels = _swig_property(_Hamlib.channel_levels_get, _Hamlib.channel_levels_set)
    __swig_setmethods__["ctcss_tone"] = _Hamlib.channel_ctcss_tone_set
    __swig_getmethods__["ctcss_tone"] = _Hamlib.channel_ctcss_tone_get
    if _newclass:
        ctcss_tone = _swig_property(_Hamlib.channel_ctcss_tone_get, _Hamlib.channel_ctcss_tone_set)
    __swig_setmethods__["ctcss_sql"] = _Hamlib.channel_ctcss_sql_set
    __swig_getmethods__["ctcss_sql"] = _Hamlib.channel_ctcss_sql_get
    if _newclass:
        ctcss_sql = _swig_property(_Hamlib.channel_ctcss_sql_get, _Hamlib.channel_ctcss_sql_set)
    __swig_setmethods__["dcs_code"] = _Hamlib.channel_dcs_code_set
    __swig_getmethods__["dcs_code"] = _Hamlib.channel_dcs_code_get
    if _newclass:
        dcs_code = _swig_property(_Hamlib.channel_dcs_code_get, _Hamlib.channel_dcs_code_set)
    __swig_setmethods__["dcs_sql"] = _Hamlib.channel_dcs_sql_set
    __swig_getmethods__["dcs_sql"] = _Hamlib.channel_dcs_sql_get
    if _newclass:
        dcs_sql = _swig_property(_Hamlib.channel_dcs_sql_get, _Hamlib.channel_dcs_sql_set)
    __swig_setmethods__["scan_group"] = _Hamlib.channel_scan_group_set
    __swig_getmethods__["scan_group"] = _Hamlib.channel_scan_group_get
    if _newclass:
        scan_group = _swig_property(_Hamlib.channel_scan_group_get, _Hamlib.channel_scan_group_set)
    __swig_setmethods__["flags"] = _Hamlib.channel_flags_set
    __swig_getmethods__["flags"] = _Hamlib.channel_flags_get
    if _newclass:
        flags = _swig_property(_Hamlib.channel_flags_get, _Hamlib.channel_flags_set)
    __swig_setmethods__["channel_desc"] = _Hamlib.channel_channel_desc_set
    __swig_getmethods__["channel_desc"] = _Hamlib.channel_channel_desc_get
    if _newclass:
        channel_desc = _swig_property(_Hamlib.channel_channel_desc_get, _Hamlib.channel_channel_desc_set)
    __swig_setmethods__["ext_levels"] = _Hamlib.channel_ext_levels_set
    __swig_getmethods__["ext_levels"] = _Hamlib.channel_ext_levels_get
    if _newclass:
        ext_levels = _swig_property(_Hamlib.channel_ext_levels_get, _Hamlib.channel_ext_levels_set)

    def __init__(self, *args):
        this = _Hamlib.new_channel(*args)
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this
    __swig_destroy__ = _Hamlib.delete_channel
    __del__ = lambda self: None
channel_swigregister = _Hamlib.channel_swigregister
channel_swigregister(channel)

class channel_cap(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, channel_cap, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, channel_cap, name)
    __repr__ = _swig_repr
    __swig_setmethods__["bank_num"] = _Hamlib.channel_cap_bank_num_set
    __swig_getmethods__["bank_num"] = _Hamlib.channel_cap_bank_num_get
    if _newclass:
        bank_num = _swig_property(_Hamlib.channel_cap_bank_num_get, _Hamlib.channel_cap_bank_num_set)
    __swig_setmethods__["vfo"] = _Hamlib.channel_cap_vfo_set
    __swig_getmethods__["vfo"] = _Hamlib.channel_cap_vfo_get
    if _newclass:
        vfo = _swig_property(_Hamlib.channel_cap_vfo_get, _Hamlib.channel_cap_vfo_set)
    __swig_setmethods__["ant"] = _Hamlib.channel_cap_ant_set
    __swig_getmethods__["ant"] = _Hamlib.channel_cap_ant_get
    if _newclass:
        ant = _swig_property(_Hamlib.channel_cap_ant_get, _Hamlib.channel_cap_ant_set)
    __swig_setmethods__["freq"] = _Hamlib.channel_cap_freq_set
    __swig_getmethods__["freq"] = _Hamlib.channel_cap_freq_get
    if _newclass:
        freq = _swig_property(_Hamlib.channel_cap_freq_get, _Hamlib.channel_cap_freq_set)
    __swig_setmethods__["mode"] = _Hamlib.channel_cap_mode_set
    __swig_getmethods__["mode"] = _Hamlib.channel_cap_mode_get
    if _newclass:
        mode = _swig_property(_Hamlib.channel_cap_mode_get, _Hamlib.channel_cap_mode_set)
    __swig_setmethods__["width"] = _Hamlib.channel_cap_width_set
    __swig_getmethods__["width"] = _Hamlib.channel_cap_width_get
    if _newclass:
        width = _swig_property(_Hamlib.channel_cap_width_get, _Hamlib.channel_cap_width_set)
    __swig_setmethods__["tx_freq"] = _Hamlib.channel_cap_tx_freq_set
    __swig_getmethods__["tx_freq"] = _Hamlib.channel_cap_tx_freq_get
    if _newclass:
        tx_freq = _swig_property(_Hamlib.channel_cap_tx_freq_get, _Hamlib.channel_cap_tx_freq_set)
    __swig_setmethods__["tx_mode"] = _Hamlib.channel_cap_tx_mode_set
    __swig_getmethods__["tx_mode"] = _Hamlib.channel_cap_tx_mode_get
    if _newclass:
        tx_mode = _swig_property(_Hamlib.channel_cap_tx_mode_get, _Hamlib.channel_cap_tx_mode_set)
    __swig_setmethods__["tx_width"] = _Hamlib.channel_cap_tx_width_set
    __swig_getmethods__["tx_width"] = _Hamlib.channel_cap_tx_width_get
    if _newclass:
        tx_width = _swig_property(_Hamlib.channel_cap_tx_width_get, _Hamlib.channel_cap_tx_width_set)
    __swig_setmethods__["split"] = _Hamlib.channel_cap_split_set
    __swig_getmethods__["split"] = _Hamlib.channel_cap_split_get
    if _newclass:
        split = _swig_property(_Hamlib.channel_cap_split_get, _Hamlib.channel_cap_split_set)
    __swig_setmethods__["tx_vfo"] = _Hamlib.channel_cap_tx_vfo_set
    __swig_getmethods__["tx_vfo"] = _Hamlib.channel_cap_tx_vfo_get
    if _newclass:
        tx_vfo = _swig_property(_Hamlib.channel_cap_tx_vfo_get, _Hamlib.channel_cap_tx_vfo_set)
    __swig_setmethods__["rptr_shift"] = _Hamlib.channel_cap_rptr_shift_set
    __swig_getmethods__["rptr_shift"] = _Hamlib.channel_cap_rptr_shift_get
    if _newclass:
        rptr_shift = _swig_property(_Hamlib.channel_cap_rptr_shift_get, _Hamlib.channel_cap_rptr_shift_set)
    __swig_setmethods__["rptr_offs"] = _Hamlib.channel_cap_rptr_offs_set
    __swig_getmethods__["rptr_offs"] = _Hamlib.channel_cap_rptr_offs_get
    if _newclass:
        rptr_offs = _swig_property(_Hamlib.channel_cap_rptr_offs_get, _Hamlib.channel_cap_rptr_offs_set)
    __swig_setmethods__["tuning_step"] = _Hamlib.channel_cap_tuning_step_set
    __swig_getmethods__["tuning_step"] = _Hamlib.channel_cap_tuning_step_get
    if _newclass:
        tuning_step = _swig_property(_Hamlib.channel_cap_tuning_step_get, _Hamlib.channel_cap_tuning_step_set)
    __swig_setmethods__["rit"] = _Hamlib.channel_cap_rit_set
    __swig_getmethods__["rit"] = _Hamlib.channel_cap_rit_get
    if _newclass:
        rit = _swig_property(_Hamlib.channel_cap_rit_get, _Hamlib.channel_cap_rit_set)
    __swig_setmethods__["xit"] = _Hamlib.channel_cap_xit_set
    __swig_getmethods__["xit"] = _Hamlib.channel_cap_xit_get
    if _newclass:
        xit = _swig_property(_Hamlib.channel_cap_xit_get, _Hamlib.channel_cap_xit_set)
    __swig_setmethods__["funcs"] = _Hamlib.channel_cap_funcs_set
    __swig_getmethods__["funcs"] = _Hamlib.channel_cap_funcs_get
    if _newclass:
        funcs = _swig_property(_Hamlib.channel_cap_funcs_get, _Hamlib.channel_cap_funcs_set)
    __swig_setmethods__["levels"] = _Hamlib.channel_cap_levels_set
    __swig_getmethods__["levels"] = _Hamlib.channel_cap_levels_get
    if _newclass:
        levels = _swig_property(_Hamlib.channel_cap_levels_get, _Hamlib.channel_cap_levels_set)
    __swig_setmethods__["ctcss_tone"] = _Hamlib.channel_cap_ctcss_tone_set
    __swig_getmethods__["ctcss_tone"] = _Hamlib.channel_cap_ctcss_tone_get
    if _newclass:
        ctcss_tone = _swig_property(_Hamlib.channel_cap_ctcss_tone_get, _Hamlib.channel_cap_ctcss_tone_set)
    __swig_setmethods__["ctcss_sql"] = _Hamlib.channel_cap_ctcss_sql_set
    __swig_getmethods__["ctcss_sql"] = _Hamlib.channel_cap_ctcss_sql_get
    if _newclass:
        ctcss_sql = _swig_property(_Hamlib.channel_cap_ctcss_sql_get, _Hamlib.channel_cap_ctcss_sql_set)
    __swig_setmethods__["dcs_code"] = _Hamlib.channel_cap_dcs_code_set
    __swig_getmethods__["dcs_code"] = _Hamlib.channel_cap_dcs_code_get
    if _newclass:
        dcs_code = _swig_property(_Hamlib.channel_cap_dcs_code_get, _Hamlib.channel_cap_dcs_code_set)
    __swig_setmethods__["dcs_sql"] = _Hamlib.channel_cap_dcs_sql_set
    __swig_getmethods__["dcs_sql"] = _Hamlib.channel_cap_dcs_sql_get
    if _newclass:
        dcs_sql = _swig_property(_Hamlib.channel_cap_dcs_sql_get, _Hamlib.channel_cap_dcs_sql_set)
    __swig_setmethods__["scan_group"] = _Hamlib.channel_cap_scan_group_set
    __swig_getmethods__["scan_group"] = _Hamlib.channel_cap_scan_group_get
    if _newclass:
        scan_group = _swig_property(_Hamlib.channel_cap_scan_group_get, _Hamlib.channel_cap_scan_group_set)
    __swig_setmethods__["flags"] = _Hamlib.channel_cap_flags_set
    __swig_getmethods__["flags"] = _Hamlib.channel_cap_flags_get
    if _newclass:
        flags = _swig_property(_Hamlib.channel_cap_flags_get, _Hamlib.channel_cap_flags_set)
    __swig_setmethods__["channel_desc"] = _Hamlib.channel_cap_channel_desc_set
    __swig_getmethods__["channel_desc"] = _Hamlib.channel_cap_channel_desc_get
    if _newclass:
        channel_desc = _swig_property(_Hamlib.channel_cap_channel_desc_get, _Hamlib.channel_cap_channel_desc_set)
    __swig_setmethods__["ext_levels"] = _Hamlib.channel_cap_ext_levels_set
    __swig_getmethods__["ext_levels"] = _Hamlib.channel_cap_ext_levels_get
    if _newclass:
        ext_levels = _swig_property(_Hamlib.channel_cap_ext_levels_get, _Hamlib.channel_cap_ext_levels_set)

    def __init__(self):
        this = _Hamlib.new_channel_cap()
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this
    __swig_destroy__ = _Hamlib.delete_channel_cap
    __del__ = lambda self: None
channel_cap_swigregister = _Hamlib.channel_cap_swigregister
channel_cap_swigregister(channel_cap)

RIG_MTYPE_NONE = _Hamlib.RIG_MTYPE_NONE
RIG_MTYPE_MEM = _Hamlib.RIG_MTYPE_MEM
RIG_MTYPE_EDGE = _Hamlib.RIG_MTYPE_EDGE
RIG_MTYPE_CALL = _Hamlib.RIG_MTYPE_CALL
RIG_MTYPE_MEMOPAD = _Hamlib.RIG_MTYPE_MEMOPAD
RIG_MTYPE_SAT = _Hamlib.RIG_MTYPE_SAT
RIG_MTYPE_BAND = _Hamlib.RIG_MTYPE_BAND
RIG_MTYPE_PRIO = _Hamlib.RIG_MTYPE_PRIO
class chan_list(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, chan_list, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, chan_list, name)
    __repr__ = _swig_repr
    __swig_setmethods__["start"] = _Hamlib.chan_list_start_set
    __swig_getmethods__["start"] = _Hamlib.chan_list_start_get
    if _newclass:
        start = _swig_property(_Hamlib.chan_list_start_get, _Hamlib.chan_list_start_set)
    __swig_setmethods__["end"] = _Hamlib.chan_list_end_set
    __swig_getmethods__["end"] = _Hamlib.chan_list_end_get
    if _newclass:
        end = _swig_property(_Hamlib.chan_list_end_get, _Hamlib.chan_list_end_set)
    __swig_setmethods__["type"] = _Hamlib.chan_list_type_set
    __swig_getmethods__["type"] = _Hamlib.chan_list_type_get
    if _newclass:
        type = _swig_property(_Hamlib.chan_list_type_get, _Hamlib.chan_list_type_set)
    __swig_setmethods__["mem_caps"] = _Hamlib.chan_list_mem_caps_set
    __swig_getmethods__["mem_caps"] = _Hamlib.chan_list_mem_caps_get
    if _newclass:
        mem_caps = _swig_property(_Hamlib.chan_list_mem_caps_get, _Hamlib.chan_list_mem_caps_set)

    def __init__(self):
        this = _Hamlib.new_chan_list()
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this
    __swig_destroy__ = _Hamlib.delete_chan_list
    __del__ = lambda self: None
chan_list_swigregister = _Hamlib.chan_list_swigregister
chan_list_swigregister(chan_list)

RIG_MEM_CAPS_ALL = _Hamlib.RIG_MEM_CAPS_ALL
class gran(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, gran, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, gran, name)
    __repr__ = _swig_repr
    __swig_setmethods__["min"] = _Hamlib.gran_min_set
    __swig_getmethods__["min"] = _Hamlib.gran_min_get
    if _newclass:
        min = _swig_property(_Hamlib.gran_min_get, _Hamlib.gran_min_set)
    __swig_setmethods__["max"] = _Hamlib.gran_max_set
    __swig_getmethods__["max"] = _Hamlib.gran_max_get
    if _newclass:
        max = _swig_property(_Hamlib.gran_max_get, _Hamlib.gran_max_set)
    __swig_setmethods__["step"] = _Hamlib.gran_step_set
    __swig_getmethods__["step"] = _Hamlib.gran_step_get
    if _newclass:
        step = _swig_property(_Hamlib.gran_step_get, _Hamlib.gran_step_set)

    def __init__(self):
        this = _Hamlib.new_gran()
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this
    __swig_destroy__ = _Hamlib.delete_gran
    __del__ = lambda self: None
gran_swigregister = _Hamlib.gran_swigregister
gran_swigregister(gran)

class cal_table(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, cal_table, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, cal_table, name)
    __repr__ = _swig_repr
    __swig_setmethods__["size"] = _Hamlib.cal_table_size_set
    __swig_getmethods__["size"] = _Hamlib.cal_table_size_get
    if _newclass:
        size = _swig_property(_Hamlib.cal_table_size_get, _Hamlib.cal_table_size_set)
    __swig_getmethods__["table"] = _Hamlib.cal_table_table_get
    if _newclass:
        table = _swig_property(_Hamlib.cal_table_table_get)

    def __init__(self):
        this = _Hamlib.new_cal_table()
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this
    __swig_destroy__ = _Hamlib.delete_cal_table
    __del__ = lambda self: None
cal_table_swigregister = _Hamlib.cal_table_swigregister
cal_table_swigregister(cal_table)

class cal_table_table(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, cal_table_table, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, cal_table_table, name)
    __repr__ = _swig_repr
    __swig_setmethods__["raw"] = _Hamlib.cal_table_table_raw_set
    __swig_getmethods__["raw"] = _Hamlib.cal_table_table_raw_get
    if _newclass:
        raw = _swig_property(_Hamlib.cal_table_table_raw_get, _Hamlib.cal_table_table_raw_set)
    __swig_setmethods__["val"] = _Hamlib.cal_table_table_val_set
    __swig_getmethods__["val"] = _Hamlib.cal_table_table_val_get
    if _newclass:
        val = _swig_property(_Hamlib.cal_table_table_val_get, _Hamlib.cal_table_table_val_set)

    def __init__(self):
        this = _Hamlib.new_cal_table_table()
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this
    __swig_destroy__ = _Hamlib.delete_cal_table_table
    __del__ = lambda self: None
cal_table_table_swigregister = _Hamlib.cal_table_table_swigregister
cal_table_table_swigregister(cal_table_table)

class rig_caps(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, rig_caps, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, rig_caps, name)
    __repr__ = _swig_repr
    __swig_setmethods__["rig_model"] = _Hamlib.rig_caps_rig_model_set
    __swig_getmethods__["rig_model"] = _Hamlib.rig_caps_rig_model_get
    if _newclass:
        rig_model = _swig_property(_Hamlib.rig_caps_rig_model_get, _Hamlib.rig_caps_rig_model_set)
    __swig_getmethods__["model_name"] = _Hamlib.rig_caps_model_name_get
    if _newclass:
        model_name = _swig_property(_Hamlib.rig_caps_model_name_get)
    __swig_getmethods__["mfg_name"] = _Hamlib.rig_caps_mfg_name_get
    if _newclass:
        mfg_name = _swig_property(_Hamlib.rig_caps_mfg_name_get)
    __swig_getmethods__["version"] = _Hamlib.rig_caps_version_get
    if _newclass:
        version = _swig_property(_Hamlib.rig_caps_version_get)
    __swig_getmethods__["copyright"] = _Hamlib.rig_caps_copyright_get
    if _newclass:
        copyright = _swig_property(_Hamlib.rig_caps_copyright_get)
    __swig_setmethods__["status"] = _Hamlib.rig_caps_status_set
    __swig_getmethods__["status"] = _Hamlib.rig_caps_status_get
    if _newclass:
        status = _swig_property(_Hamlib.rig_caps_status_get, _Hamlib.rig_caps_status_set)
    __swig_setmethods__["rig_type"] = _Hamlib.rig_caps_rig_type_set
    __swig_getmethods__["rig_type"] = _Hamlib.rig_caps_rig_type_get
    if _newclass:
        rig_type = _swig_property(_Hamlib.rig_caps_rig_type_get, _Hamlib.rig_caps_rig_type_set)
    __swig_setmethods__["ptt_type"] = _Hamlib.rig_caps_ptt_type_set
    __swig_getmethods__["ptt_type"] = _Hamlib.rig_caps_ptt_type_get
    if _newclass:
        ptt_type = _swig_property(_Hamlib.rig_caps_ptt_type_get, _Hamlib.rig_caps_ptt_type_set)
    __swig_setmethods__["dcd_type"] = _Hamlib.rig_caps_dcd_type_set
    __swig_getmethods__["dcd_type"] = _Hamlib.rig_caps_dcd_type_get
    if _newclass:
        dcd_type = _swig_property(_Hamlib.rig_caps_dcd_type_get, _Hamlib.rig_caps_dcd_type_set)
    __swig_setmethods__["port_type"] = _Hamlib.rig_caps_port_type_set
    __swig_getmethods__["port_type"] = _Hamlib.rig_caps_port_type_get
    if _newclass:
        port_type = _swig_property(_Hamlib.rig_caps_port_type_get, _Hamlib.rig_caps_port_type_set)
    __swig_setmethods__["serial_rate_min"] = _Hamlib.rig_caps_serial_rate_min_set
    __swig_getmethods__["serial_rate_min"] = _Hamlib.rig_caps_serial_rate_min_get
    if _newclass:
        serial_rate_min = _swig_property(_Hamlib.rig_caps_serial_rate_min_get, _Hamlib.rig_caps_serial_rate_min_set)
    __swig_setmethods__["serial_rate_max"] = _Hamlib.rig_caps_serial_rate_max_set
    __swig_getmethods__["serial_rate_max"] = _Hamlib.rig_caps_serial_rate_max_get
    if _newclass:
        serial_rate_max = _swig_property(_Hamlib.rig_caps_serial_rate_max_get, _Hamlib.rig_caps_serial_rate_max_set)
    __swig_setmethods__["serial_data_bits"] = _Hamlib.rig_caps_serial_data_bits_set
    __swig_getmethods__["serial_data_bits"] = _Hamlib.rig_caps_serial_data_bits_get
    if _newclass:
        serial_data_bits = _swig_property(_Hamlib.rig_caps_serial_data_bits_get, _Hamlib.rig_caps_serial_data_bits_set)
    __swig_setmethods__["serial_stop_bits"] = _Hamlib.rig_caps_serial_stop_bits_set
    __swig_getmethods__["serial_stop_bits"] = _Hamlib.rig_caps_serial_stop_bits_get
    if _newclass:
        serial_stop_bits = _swig_property(_Hamlib.rig_caps_serial_stop_bits_get, _Hamlib.rig_caps_serial_stop_bits_set)
    __swig_setmethods__["serial_parity"] = _Hamlib.rig_caps_serial_parity_set
    __swig_getmethods__["serial_parity"] = _Hamlib.rig_caps_serial_parity_get
    if _newclass:
        serial_parity = _swig_property(_Hamlib.rig_caps_serial_parity_get, _Hamlib.rig_caps_serial_parity_set)
    __swig_setmethods__["serial_handshake"] = _Hamlib.rig_caps_serial_handshake_set
    __swig_getmethods__["serial_handshake"] = _Hamlib.rig_caps_serial_handshake_get
    if _newclass:
        serial_handshake = _swig_property(_Hamlib.rig_caps_serial_handshake_get, _Hamlib.rig_caps_serial_handshake_set)
    __swig_setmethods__["write_delay"] = _Hamlib.rig_caps_write_delay_set
    __swig_getmethods__["write_delay"] = _Hamlib.rig_caps_write_delay_get
    if _newclass:
        write_delay = _swig_property(_Hamlib.rig_caps_write_delay_get, _Hamlib.rig_caps_write_delay_set)
    __swig_setmethods__["post_write_delay"] = _Hamlib.rig_caps_post_write_delay_set
    __swig_getmethods__["post_write_delay"] = _Hamlib.rig_caps_post_write_delay_get
    if _newclass:
        post_write_delay = _swig_property(_Hamlib.rig_caps_post_write_delay_get, _Hamlib.rig_caps_post_write_delay_set)
    __swig_setmethods__["timeout"] = _Hamlib.rig_caps_timeout_set
    __swig_getmethods__["timeout"] = _Hamlib.rig_caps_timeout_get
    if _newclass:
        timeout = _swig_property(_Hamlib.rig_caps_timeout_get, _Hamlib.rig_caps_timeout_set)
    __swig_setmethods__["retry"] = _Hamlib.rig_caps_retry_set
    __swig_getmethods__["retry"] = _Hamlib.rig_caps_retry_get
    if _newclass:
        retry = _swig_property(_Hamlib.rig_caps_retry_get, _Hamlib.rig_caps_retry_set)
    __swig_setmethods__["has_get_func"] = _Hamlib.rig_caps_has_get_func_set
    __swig_getmethods__["has_get_func"] = _Hamlib.rig_caps_has_get_func_get
    if _newclass:
        has_get_func = _swig_property(_Hamlib.rig_caps_has_get_func_get, _Hamlib.rig_caps_has_get_func_set)
    __swig_setmethods__["has_set_func"] = _Hamlib.rig_caps_has_set_func_set
    __swig_getmethods__["has_set_func"] = _Hamlib.rig_caps_has_set_func_get
    if _newclass:
        has_set_func = _swig_property(_Hamlib.rig_caps_has_set_func_get, _Hamlib.rig_caps_has_set_func_set)
    __swig_setmethods__["has_get_level"] = _Hamlib.rig_caps_has_get_level_set
    __swig_getmethods__["has_get_level"] = _Hamlib.rig_caps_has_get_level_get
    if _newclass:
        has_get_level = _swig_property(_Hamlib.rig_caps_has_get_level_get, _Hamlib.rig_caps_has_get_level_set)
    __swig_setmethods__["has_set_level"] = _Hamlib.rig_caps_has_set_level_set
    __swig_getmethods__["has_set_level"] = _Hamlib.rig_caps_has_set_level_get
    if _newclass:
        has_set_level = _swig_property(_Hamlib.rig_caps_has_set_level_get, _Hamlib.rig_caps_has_set_level_set)
    __swig_setmethods__["has_get_parm"] = _Hamlib.rig_caps_has_get_parm_set
    __swig_getmethods__["has_get_parm"] = _Hamlib.rig_caps_has_get_parm_get
    if _newclass:
        has_get_parm = _swig_property(_Hamlib.rig_caps_has_get_parm_get, _Hamlib.rig_caps_has_get_parm_set)
    __swig_setmethods__["has_set_parm"] = _Hamlib.rig_caps_has_set_parm_set
    __swig_getmethods__["has_set_parm"] = _Hamlib.rig_caps_has_set_parm_get
    if _newclass:
        has_set_parm = _swig_property(_Hamlib.rig_caps_has_set_parm_get, _Hamlib.rig_caps_has_set_parm_set)
    __swig_setmethods__["level_gran"] = _Hamlib.rig_caps_level_gran_set
    __swig_getmethods__["level_gran"] = _Hamlib.rig_caps_level_gran_get
    if _newclass:
        level_gran = _swig_property(_Hamlib.rig_caps_level_gran_get, _Hamlib.rig_caps_level_gran_set)
    __swig_setmethods__["parm_gran"] = _Hamlib.rig_caps_parm_gran_set
    __swig_getmethods__["parm_gran"] = _Hamlib.rig_caps_parm_gran_get
    if _newclass:
        parm_gran = _swig_property(_Hamlib.rig_caps_parm_gran_get, _Hamlib.rig_caps_parm_gran_set)
    __swig_setmethods__["extparms"] = _Hamlib.rig_caps_extparms_set
    __swig_getmethods__["extparms"] = _Hamlib.rig_caps_extparms_get
    if _newclass:
        extparms = _swig_property(_Hamlib.rig_caps_extparms_get, _Hamlib.rig_caps_extparms_set)
    __swig_setmethods__["extlevels"] = _Hamlib.rig_caps_extlevels_set
    __swig_getmethods__["extlevels"] = _Hamlib.rig_caps_extlevels_get
    if _newclass:
        extlevels = _swig_property(_Hamlib.rig_caps_extlevels_get, _Hamlib.rig_caps_extlevels_set)
    __swig_setmethods__["ctcss_list"] = _Hamlib.rig_caps_ctcss_list_set
    __swig_getmethods__["ctcss_list"] = _Hamlib.rig_caps_ctcss_list_get
    if _newclass:
        ctcss_list = _swig_property(_Hamlib.rig_caps_ctcss_list_get, _Hamlib.rig_caps_ctcss_list_set)
    __swig_setmethods__["dcs_list"] = _Hamlib.rig_caps_dcs_list_set
    __swig_getmethods__["dcs_list"] = _Hamlib.rig_caps_dcs_list_get
    if _newclass:
        dcs_list = _swig_property(_Hamlib.rig_caps_dcs_list_get, _Hamlib.rig_caps_dcs_list_set)
    __swig_setmethods__["preamp"] = _Hamlib.rig_caps_preamp_set
    __swig_getmethods__["preamp"] = _Hamlib.rig_caps_preamp_get
    if _newclass:
        preamp = _swig_property(_Hamlib.rig_caps_preamp_get, _Hamlib.rig_caps_preamp_set)
    __swig_setmethods__["attenuator"] = _Hamlib.rig_caps_attenuator_set
    __swig_getmethods__["attenuator"] = _Hamlib.rig_caps_attenuator_get
    if _newclass:
        attenuator = _swig_property(_Hamlib.rig_caps_attenuator_get, _Hamlib.rig_caps_attenuator_set)
    __swig_setmethods__["max_rit"] = _Hamlib.rig_caps_max_rit_set
    __swig_getmethods__["max_rit"] = _Hamlib.rig_caps_max_rit_get
    if _newclass:
        max_rit = _swig_property(_Hamlib.rig_caps_max_rit_get, _Hamlib.rig_caps_max_rit_set)
    __swig_setmethods__["max_xit"] = _Hamlib.rig_caps_max_xit_set
    __swig_getmethods__["max_xit"] = _Hamlib.rig_caps_max_xit_get
    if _newclass:
        max_xit = _swig_property(_Hamlib.rig_caps_max_xit_get, _Hamlib.rig_caps_max_xit_set)
    __swig_setmethods__["max_ifshift"] = _Hamlib.rig_caps_max_ifshift_set
    __swig_getmethods__["max_ifshift"] = _Hamlib.rig_caps_max_ifshift_get
    if _newclass:
        max_ifshift = _swig_property(_Hamlib.rig_caps_max_ifshift_get, _Hamlib.rig_caps_max_ifshift_set)
    __swig_setmethods__["announces"] = _Hamlib.rig_caps_announces_set
    __swig_getmethods__["announces"] = _Hamlib.rig_caps_announces_get
    if _newclass:
        announces = _swig_property(_Hamlib.rig_caps_announces_get, _Hamlib.rig_caps_announces_set)
    __swig_setmethods__["vfo_ops"] = _Hamlib.rig_caps_vfo_ops_set
    __swig_getmethods__["vfo_ops"] = _Hamlib.rig_caps_vfo_ops_get
    if _newclass:
        vfo_ops = _swig_property(_Hamlib.rig_caps_vfo_ops_get, _Hamlib.rig_caps_vfo_ops_set)
    __swig_setmethods__["scan_ops"] = _Hamlib.rig_caps_scan_ops_set
    __swig_getmethods__["scan_ops"] = _Hamlib.rig_caps_scan_ops_get
    if _newclass:
        scan_ops = _swig_property(_Hamlib.rig_caps_scan_ops_get, _Hamlib.rig_caps_scan_ops_set)
    __swig_setmethods__["targetable_vfo"] = _Hamlib.rig_caps_targetable_vfo_set
    __swig_getmethods__["targetable_vfo"] = _Hamlib.rig_caps_targetable_vfo_get
    if _newclass:
        targetable_vfo = _swig_property(_Hamlib.rig_caps_targetable_vfo_get, _Hamlib.rig_caps_targetable_vfo_set)
    __swig_setmethods__["transceive"] = _Hamlib.rig_caps_transceive_set
    __swig_getmethods__["transceive"] = _Hamlib.rig_caps_transceive_get
    if _newclass:
        transceive = _swig_property(_Hamlib.rig_caps_transceive_get, _Hamlib.rig_caps_transceive_set)
    __swig_setmethods__["bank_qty"] = _Hamlib.rig_caps_bank_qty_set
    __swig_getmethods__["bank_qty"] = _Hamlib.rig_caps_bank_qty_get
    if _newclass:
        bank_qty = _swig_property(_Hamlib.rig_caps_bank_qty_get, _Hamlib.rig_caps_bank_qty_set)
    __swig_setmethods__["chan_desc_sz"] = _Hamlib.rig_caps_chan_desc_sz_set
    __swig_getmethods__["chan_desc_sz"] = _Hamlib.rig_caps_chan_desc_sz_get
    if _newclass:
        chan_desc_sz = _swig_property(_Hamlib.rig_caps_chan_desc_sz_get, _Hamlib.rig_caps_chan_desc_sz_set)
    __swig_setmethods__["chan_list"] = _Hamlib.rig_caps_chan_list_set
    __swig_getmethods__["chan_list"] = _Hamlib.rig_caps_chan_list_get
    if _newclass:
        chan_list = _swig_property(_Hamlib.rig_caps_chan_list_get, _Hamlib.rig_caps_chan_list_set)
    __swig_setmethods__["rx_range_list1"] = _Hamlib.rig_caps_rx_range_list1_set
    __swig_getmethods__["rx_range_list1"] = _Hamlib.rig_caps_rx_range_list1_get
    if _newclass:
        rx_range_list1 = _swig_property(_Hamlib.rig_caps_rx_range_list1_get, _Hamlib.rig_caps_rx_range_list1_set)
    __swig_setmethods__["tx_range_list1"] = _Hamlib.rig_caps_tx_range_list1_set
    __swig_getmethods__["tx_range_list1"] = _Hamlib.rig_caps_tx_range_list1_get
    if _newclass:
        tx_range_list1 = _swig_property(_Hamlib.rig_caps_tx_range_list1_get, _Hamlib.rig_caps_tx_range_list1_set)
    __swig_setmethods__["rx_range_list2"] = _Hamlib.rig_caps_rx_range_list2_set
    __swig_getmethods__["rx_range_list2"] = _Hamlib.rig_caps_rx_range_list2_get
    if _newclass:
        rx_range_list2 = _swig_property(_Hamlib.rig_caps_rx_range_list2_get, _Hamlib.rig_caps_rx_range_list2_set)
    __swig_setmethods__["tx_range_list2"] = _Hamlib.rig_caps_tx_range_list2_set
    __swig_getmethods__["tx_range_list2"] = _Hamlib.rig_caps_tx_range_list2_get
    if _newclass:
        tx_range_list2 = _swig_property(_Hamlib.rig_caps_tx_range_list2_get, _Hamlib.rig_caps_tx_range_list2_set)
    __swig_setmethods__["tuning_steps"] = _Hamlib.rig_caps_tuning_steps_set
    __swig_getmethods__["tuning_steps"] = _Hamlib.rig_caps_tuning_steps_get
    if _newclass:
        tuning_steps = _swig_property(_Hamlib.rig_caps_tuning_steps_get, _Hamlib.rig_caps_tuning_steps_set)
    __swig_setmethods__["filters"] = _Hamlib.rig_caps_filters_set
    __swig_getmethods__["filters"] = _Hamlib.rig_caps_filters_get
    if _newclass:
        filters = _swig_property(_Hamlib.rig_caps_filters_get, _Hamlib.rig_caps_filters_set)
    __swig_setmethods__["str_cal"] = _Hamlib.rig_caps_str_cal_set
    __swig_getmethods__["str_cal"] = _Hamlib.rig_caps_str_cal_get
    if _newclass:
        str_cal = _swig_property(_Hamlib.rig_caps_str_cal_get, _Hamlib.rig_caps_str_cal_set)
    __swig_setmethods__["cfgparams"] = _Hamlib.rig_caps_cfgparams_set
    __swig_getmethods__["cfgparams"] = _Hamlib.rig_caps_cfgparams_get
    if _newclass:
        cfgparams = _swig_property(_Hamlib.rig_caps_cfgparams_get, _Hamlib.rig_caps_cfgparams_set)
    __swig_setmethods__["priv"] = _Hamlib.rig_caps_priv_set
    __swig_getmethods__["priv"] = _Hamlib.rig_caps_priv_get
    if _newclass:
        priv = _swig_property(_Hamlib.rig_caps_priv_get, _Hamlib.rig_caps_priv_set)
    __swig_setmethods__["rig_init"] = _Hamlib.rig_caps_rig_init_set
    __swig_getmethods__["rig_init"] = _Hamlib.rig_caps_rig_init_get
    if _newclass:
        rig_init = _swig_property(_Hamlib.rig_caps_rig_init_get, _Hamlib.rig_caps_rig_init_set)
    __swig_setmethods__["set_freq"] = _Hamlib.rig_caps_set_freq_set
    __swig_getmethods__["set_freq"] = _Hamlib.rig_caps_set_freq_get
    if _newclass:
        set_freq = _swig_property(_Hamlib.rig_caps_set_freq_get, _Hamlib.rig_caps_set_freq_set)
    __swig_setmethods__["get_freq"] = _Hamlib.rig_caps_get_freq_set
    __swig_getmethods__["get_freq"] = _Hamlib.rig_caps_get_freq_get
    if _newclass:
        get_freq = _swig_property(_Hamlib.rig_caps_get_freq_get, _Hamlib.rig_caps_get_freq_set)
    __swig_setmethods__["set_mode"] = _Hamlib.rig_caps_set_mode_set
    __swig_getmethods__["set_mode"] = _Hamlib.rig_caps_set_mode_get
    if _newclass:
        set_mode = _swig_property(_Hamlib.rig_caps_set_mode_get, _Hamlib.rig_caps_set_mode_set)
    __swig_setmethods__["get_mode"] = _Hamlib.rig_caps_get_mode_set
    __swig_getmethods__["get_mode"] = _Hamlib.rig_caps_get_mode_get
    if _newclass:
        get_mode = _swig_property(_Hamlib.rig_caps_get_mode_get, _Hamlib.rig_caps_get_mode_set)
    __swig_setmethods__["set_vfo"] = _Hamlib.rig_caps_set_vfo_set
    __swig_getmethods__["set_vfo"] = _Hamlib.rig_caps_set_vfo_get
    if _newclass:
        set_vfo = _swig_property(_Hamlib.rig_caps_set_vfo_get, _Hamlib.rig_caps_set_vfo_set)
    __swig_setmethods__["get_vfo"] = _Hamlib.rig_caps_get_vfo_set
    __swig_getmethods__["get_vfo"] = _Hamlib.rig_caps_get_vfo_get
    if _newclass:
        get_vfo = _swig_property(_Hamlib.rig_caps_get_vfo_get, _Hamlib.rig_caps_get_vfo_set)
    __swig_setmethods__["set_ptt"] = _Hamlib.rig_caps_set_ptt_set
    __swig_getmethods__["set_ptt"] = _Hamlib.rig_caps_set_ptt_get
    if _newclass:
        set_ptt = _swig_property(_Hamlib.rig_caps_set_ptt_get, _Hamlib.rig_caps_set_ptt_set)
    __swig_setmethods__["get_ptt"] = _Hamlib.rig_caps_get_ptt_set
    __swig_getmethods__["get_ptt"] = _Hamlib.rig_caps_get_ptt_get
    if _newclass:
        get_ptt = _swig_property(_Hamlib.rig_caps_get_ptt_get, _Hamlib.rig_caps_get_ptt_set)
    __swig_setmethods__["get_dcd"] = _Hamlib.rig_caps_get_dcd_set
    __swig_getmethods__["get_dcd"] = _Hamlib.rig_caps_get_dcd_get
    if _newclass:
        get_dcd = _swig_property(_Hamlib.rig_caps_get_dcd_get, _Hamlib.rig_caps_get_dcd_set)
    __swig_setmethods__["set_rptr_shift"] = _Hamlib.rig_caps_set_rptr_shift_set
    __swig_getmethods__["set_rptr_shift"] = _Hamlib.rig_caps_set_rptr_shift_get
    if _newclass:
        set_rptr_shift = _swig_property(_Hamlib.rig_caps_set_rptr_shift_get, _Hamlib.rig_caps_set_rptr_shift_set)
    __swig_setmethods__["get_rptr_shift"] = _Hamlib.rig_caps_get_rptr_shift_set
    __swig_getmethods__["get_rptr_shift"] = _Hamlib.rig_caps_get_rptr_shift_get
    if _newclass:
        get_rptr_shift = _swig_property(_Hamlib.rig_caps_get_rptr_shift_get, _Hamlib.rig_caps_get_rptr_shift_set)
    __swig_setmethods__["set_rptr_offs"] = _Hamlib.rig_caps_set_rptr_offs_set
    __swig_getmethods__["set_rptr_offs"] = _Hamlib.rig_caps_set_rptr_offs_get
    if _newclass:
        set_rptr_offs = _swig_property(_Hamlib.rig_caps_set_rptr_offs_get, _Hamlib.rig_caps_set_rptr_offs_set)
    __swig_setmethods__["get_rptr_offs"] = _Hamlib.rig_caps_get_rptr_offs_set
    __swig_getmethods__["get_rptr_offs"] = _Hamlib.rig_caps_get_rptr_offs_get
    if _newclass:
        get_rptr_offs = _swig_property(_Hamlib.rig_caps_get_rptr_offs_get, _Hamlib.rig_caps_get_rptr_offs_set)
    __swig_setmethods__["set_split_freq"] = _Hamlib.rig_caps_set_split_freq_set
    __swig_getmethods__["set_split_freq"] = _Hamlib.rig_caps_set_split_freq_get
    if _newclass:
        set_split_freq = _swig_property(_Hamlib.rig_caps_set_split_freq_get, _Hamlib.rig_caps_set_split_freq_set)
    __swig_setmethods__["get_split_freq"] = _Hamlib.rig_caps_get_split_freq_set
    __swig_getmethods__["get_split_freq"] = _Hamlib.rig_caps_get_split_freq_get
    if _newclass:
        get_split_freq = _swig_property(_Hamlib.rig_caps_get_split_freq_get, _Hamlib.rig_caps_get_split_freq_set)
    __swig_setmethods__["set_split_mode"] = _Hamlib.rig_caps_set_split_mode_set
    __swig_getmethods__["set_split_mode"] = _Hamlib.rig_caps_set_split_mode_get
    if _newclass:
        set_split_mode = _swig_property(_Hamlib.rig_caps_set_split_mode_get, _Hamlib.rig_caps_set_split_mode_set)
    __swig_setmethods__["get_split_mode"] = _Hamlib.rig_caps_get_split_mode_set
    __swig_getmethods__["get_split_mode"] = _Hamlib.rig_caps_get_split_mode_get
    if _newclass:
        get_split_mode = _swig_property(_Hamlib.rig_caps_get_split_mode_get, _Hamlib.rig_caps_get_split_mode_set)
    __swig_setmethods__["set_split_freq_mode"] = _Hamlib.rig_caps_set_split_freq_mode_set
    __swig_getmethods__["set_split_freq_mode"] = _Hamlib.rig_caps_set_split_freq_mode_get
    if _newclass:
        set_split_freq_mode = _swig_property(_Hamlib.rig_caps_set_split_freq_mode_get, _Hamlib.rig_caps_set_split_freq_mode_set)
    __swig_setmethods__["get_split_freq_mode"] = _Hamlib.rig_caps_get_split_freq_mode_set
    __swig_getmethods__["get_split_freq_mode"] = _Hamlib.rig_caps_get_split_freq_mode_get
    if _newclass:
        get_split_freq_mode = _swig_property(_Hamlib.rig_caps_get_split_freq_mode_get, _Hamlib.rig_caps_get_split_freq_mode_set)
    __swig_setmethods__["set_split_vfo"] = _Hamlib.rig_caps_set_split_vfo_set
    __swig_getmethods__["set_split_vfo"] = _Hamlib.rig_caps_set_split_vfo_get
    if _newclass:
        set_split_vfo = _swig_property(_Hamlib.rig_caps_set_split_vfo_get, _Hamlib.rig_caps_set_split_vfo_set)
    __swig_setmethods__["get_split_vfo"] = _Hamlib.rig_caps_get_split_vfo_set
    __swig_getmethods__["get_split_vfo"] = _Hamlib.rig_caps_get_split_vfo_get
    if _newclass:
        get_split_vfo = _swig_property(_Hamlib.rig_caps_get_split_vfo_get, _Hamlib.rig_caps_get_split_vfo_set)
    __swig_setmethods__["set_rit"] = _Hamlib.rig_caps_set_rit_set
    __swig_getmethods__["set_rit"] = _Hamlib.rig_caps_set_rit_get
    if _newclass:
        set_rit = _swig_property(_Hamlib.rig_caps_set_rit_get, _Hamlib.rig_caps_set_rit_set)
    __swig_setmethods__["get_rit"] = _Hamlib.rig_caps_get_rit_set
    __swig_getmethods__["get_rit"] = _Hamlib.rig_caps_get_rit_get
    if _newclass:
        get_rit = _swig_property(_Hamlib.rig_caps_get_rit_get, _Hamlib.rig_caps_get_rit_set)
    __swig_setmethods__["set_xit"] = _Hamlib.rig_caps_set_xit_set
    __swig_getmethods__["set_xit"] = _Hamlib.rig_caps_set_xit_get
    if _newclass:
        set_xit = _swig_property(_Hamlib.rig_caps_set_xit_get, _Hamlib.rig_caps_set_xit_set)
    __swig_setmethods__["get_xit"] = _Hamlib.rig_caps_get_xit_set
    __swig_getmethods__["get_xit"] = _Hamlib.rig_caps_get_xit_get
    if _newclass:
        get_xit = _swig_property(_Hamlib.rig_caps_get_xit_get, _Hamlib.rig_caps_get_xit_set)
    __swig_setmethods__["set_ts"] = _Hamlib.rig_caps_set_ts_set
    __swig_getmethods__["set_ts"] = _Hamlib.rig_caps_set_ts_get
    if _newclass:
        set_ts = _swig_property(_Hamlib.rig_caps_set_ts_get, _Hamlib.rig_caps_set_ts_set)
    __swig_setmethods__["get_ts"] = _Hamlib.rig_caps_get_ts_set
    __swig_getmethods__["get_ts"] = _Hamlib.rig_caps_get_ts_get
    if _newclass:
        get_ts = _swig_property(_Hamlib.rig_caps_get_ts_get, _Hamlib.rig_caps_get_ts_set)
    __swig_setmethods__["set_dcs_code"] = _Hamlib.rig_caps_set_dcs_code_set
    __swig_getmethods__["set_dcs_code"] = _Hamlib.rig_caps_set_dcs_code_get
    if _newclass:
        set_dcs_code = _swig_property(_Hamlib.rig_caps_set_dcs_code_get, _Hamlib.rig_caps_set_dcs_code_set)
    __swig_setmethods__["get_dcs_code"] = _Hamlib.rig_caps_get_dcs_code_set
    __swig_getmethods__["get_dcs_code"] = _Hamlib.rig_caps_get_dcs_code_get
    if _newclass:
        get_dcs_code = _swig_property(_Hamlib.rig_caps_get_dcs_code_get, _Hamlib.rig_caps_get_dcs_code_set)
    __swig_setmethods__["set_tone"] = _Hamlib.rig_caps_set_tone_set
    __swig_getmethods__["set_tone"] = _Hamlib.rig_caps_set_tone_get
    if _newclass:
        set_tone = _swig_property(_Hamlib.rig_caps_set_tone_get, _Hamlib.rig_caps_set_tone_set)
    __swig_setmethods__["get_tone"] = _Hamlib.rig_caps_get_tone_set
    __swig_getmethods__["get_tone"] = _Hamlib.rig_caps_get_tone_get
    if _newclass:
        get_tone = _swig_property(_Hamlib.rig_caps_get_tone_get, _Hamlib.rig_caps_get_tone_set)
    __swig_setmethods__["set_ctcss_tone"] = _Hamlib.rig_caps_set_ctcss_tone_set
    __swig_getmethods__["set_ctcss_tone"] = _Hamlib.rig_caps_set_ctcss_tone_get
    if _newclass:
        set_ctcss_tone = _swig_property(_Hamlib.rig_caps_set_ctcss_tone_get, _Hamlib.rig_caps_set_ctcss_tone_set)
    __swig_setmethods__["get_ctcss_tone"] = _Hamlib.rig_caps_get_ctcss_tone_set
    __swig_getmethods__["get_ctcss_tone"] = _Hamlib.rig_caps_get_ctcss_tone_get
    if _newclass:
        get_ctcss_tone = _swig_property(_Hamlib.rig_caps_get_ctcss_tone_get, _Hamlib.rig_caps_get_ctcss_tone_set)
    __swig_setmethods__["set_dcs_sql"] = _Hamlib.rig_caps_set_dcs_sql_set
    __swig_getmethods__["set_dcs_sql"] = _Hamlib.rig_caps_set_dcs_sql_get
    if _newclass:
        set_dcs_sql = _swig_property(_Hamlib.rig_caps_set_dcs_sql_get, _Hamlib.rig_caps_set_dcs_sql_set)
    __swig_setmethods__["get_dcs_sql"] = _Hamlib.rig_caps_get_dcs_sql_set
    __swig_getmethods__["get_dcs_sql"] = _Hamlib.rig_caps_get_dcs_sql_get
    if _newclass:
        get_dcs_sql = _swig_property(_Hamlib.rig_caps_get_dcs_sql_get, _Hamlib.rig_caps_get_dcs_sql_set)
    __swig_setmethods__["set_tone_sql"] = _Hamlib.rig_caps_set_tone_sql_set
    __swig_getmethods__["set_tone_sql"] = _Hamlib.rig_caps_set_tone_sql_get
    if _newclass:
        set_tone_sql = _swig_property(_Hamlib.rig_caps_set_tone_sql_get, _Hamlib.rig_caps_set_tone_sql_set)
    __swig_setmethods__["get_tone_sql"] = _Hamlib.rig_caps_get_tone_sql_set
    __swig_getmethods__["get_tone_sql"] = _Hamlib.rig_caps_get_tone_sql_get
    if _newclass:
        get_tone_sql = _swig_property(_Hamlib.rig_caps_get_tone_sql_get, _Hamlib.rig_caps_get_tone_sql_set)
    __swig_setmethods__["set_ctcss_sql"] = _Hamlib.rig_caps_set_ctcss_sql_set
    __swig_getmethods__["set_ctcss_sql"] = _Hamlib.rig_caps_set_ctcss_sql_get
    if _newclass:
        set_ctcss_sql = _swig_property(_Hamlib.rig_caps_set_ctcss_sql_get, _Hamlib.rig_caps_set_ctcss_sql_set)
    __swig_setmethods__["get_ctcss_sql"] = _Hamlib.rig_caps_get_ctcss_sql_set
    __swig_getmethods__["get_ctcss_sql"] = _Hamlib.rig_caps_get_ctcss_sql_get
    if _newclass:
        get_ctcss_sql = _swig_property(_Hamlib.rig_caps_get_ctcss_sql_get, _Hamlib.rig_caps_get_ctcss_sql_set)
    __swig_setmethods__["power2mW"] = _Hamlib.rig_caps_power2mW_set
    __swig_getmethods__["power2mW"] = _Hamlib.rig_caps_power2mW_get
    if _newclass:
        power2mW = _swig_property(_Hamlib.rig_caps_power2mW_get, _Hamlib.rig_caps_power2mW_set)
    __swig_setmethods__["mW2power"] = _Hamlib.rig_caps_mW2power_set
    __swig_getmethods__["mW2power"] = _Hamlib.rig_caps_mW2power_get
    if _newclass:
        mW2power = _swig_property(_Hamlib.rig_caps_mW2power_get, _Hamlib.rig_caps_mW2power_set)
    __swig_setmethods__["set_powerstat"] = _Hamlib.rig_caps_set_powerstat_set
    __swig_getmethods__["set_powerstat"] = _Hamlib.rig_caps_set_powerstat_get
    if _newclass:
        set_powerstat = _swig_property(_Hamlib.rig_caps_set_powerstat_get, _Hamlib.rig_caps_set_powerstat_set)
    __swig_setmethods__["get_powerstat"] = _Hamlib.rig_caps_get_powerstat_set
    __swig_getmethods__["get_powerstat"] = _Hamlib.rig_caps_get_powerstat_get
    if _newclass:
        get_powerstat = _swig_property(_Hamlib.rig_caps_get_powerstat_get, _Hamlib.rig_caps_get_powerstat_set)
    __swig_setmethods__["reset"] = _Hamlib.rig_caps_reset_set
    __swig_getmethods__["reset"] = _Hamlib.rig_caps_reset_get
    if _newclass:
        reset = _swig_property(_Hamlib.rig_caps_reset_get, _Hamlib.rig_caps_reset_set)
    __swig_setmethods__["set_ant"] = _Hamlib.rig_caps_set_ant_set
    __swig_getmethods__["set_ant"] = _Hamlib.rig_caps_set_ant_get
    if _newclass:
        set_ant = _swig_property(_Hamlib.rig_caps_set_ant_get, _Hamlib.rig_caps_set_ant_set)
    __swig_setmethods__["get_ant"] = _Hamlib.rig_caps_get_ant_set
    __swig_getmethods__["get_ant"] = _Hamlib.rig_caps_get_ant_get
    if _newclass:
        get_ant = _swig_property(_Hamlib.rig_caps_get_ant_get, _Hamlib.rig_caps_get_ant_set)
    __swig_setmethods__["set_level"] = _Hamlib.rig_caps_set_level_set
    __swig_getmethods__["set_level"] = _Hamlib.rig_caps_set_level_get
    if _newclass:
        set_level = _swig_property(_Hamlib.rig_caps_set_level_get, _Hamlib.rig_caps_set_level_set)
    __swig_setmethods__["get_level"] = _Hamlib.rig_caps_get_level_set
    __swig_getmethods__["get_level"] = _Hamlib.rig_caps_get_level_get
    if _newclass:
        get_level = _swig_property(_Hamlib.rig_caps_get_level_get, _Hamlib.rig_caps_get_level_set)
    __swig_setmethods__["set_func"] = _Hamlib.rig_caps_set_func_set
    __swig_getmethods__["set_func"] = _Hamlib.rig_caps_set_func_get
    if _newclass:
        set_func = _swig_property(_Hamlib.rig_caps_set_func_get, _Hamlib.rig_caps_set_func_set)
    __swig_setmethods__["get_func"] = _Hamlib.rig_caps_get_func_set
    __swig_getmethods__["get_func"] = _Hamlib.rig_caps_get_func_get
    if _newclass:
        get_func = _swig_property(_Hamlib.rig_caps_get_func_get, _Hamlib.rig_caps_get_func_set)
    __swig_setmethods__["set_parm"] = _Hamlib.rig_caps_set_parm_set
    __swig_getmethods__["set_parm"] = _Hamlib.rig_caps_set_parm_get
    if _newclass:
        set_parm = _swig_property(_Hamlib.rig_caps_set_parm_get, _Hamlib.rig_caps_set_parm_set)
    __swig_setmethods__["get_parm"] = _Hamlib.rig_caps_get_parm_set
    __swig_getmethods__["get_parm"] = _Hamlib.rig_caps_get_parm_get
    if _newclass:
        get_parm = _swig_property(_Hamlib.rig_caps_get_parm_get, _Hamlib.rig_caps_get_parm_set)
    __swig_setmethods__["set_ext_level"] = _Hamlib.rig_caps_set_ext_level_set
    __swig_getmethods__["set_ext_level"] = _Hamlib.rig_caps_set_ext_level_get
    if _newclass:
        set_ext_level = _swig_property(_Hamlib.rig_caps_set_ext_level_get, _Hamlib.rig_caps_set_ext_level_set)
    __swig_setmethods__["get_ext_level"] = _Hamlib.rig_caps_get_ext_level_set
    __swig_getmethods__["get_ext_level"] = _Hamlib.rig_caps_get_ext_level_get
    if _newclass:
        get_ext_level = _swig_property(_Hamlib.rig_caps_get_ext_level_get, _Hamlib.rig_caps_get_ext_level_set)
    __swig_setmethods__["set_ext_parm"] = _Hamlib.rig_caps_set_ext_parm_set
    __swig_getmethods__["set_ext_parm"] = _Hamlib.rig_caps_set_ext_parm_get
    if _newclass:
        set_ext_parm = _swig_property(_Hamlib.rig_caps_set_ext_parm_get, _Hamlib.rig_caps_set_ext_parm_set)
    __swig_setmethods__["get_ext_parm"] = _Hamlib.rig_caps_get_ext_parm_set
    __swig_getmethods__["get_ext_parm"] = _Hamlib.rig_caps_get_ext_parm_get
    if _newclass:
        get_ext_parm = _swig_property(_Hamlib.rig_caps_get_ext_parm_get, _Hamlib.rig_caps_get_ext_parm_set)
    __swig_setmethods__["set_conf"] = _Hamlib.rig_caps_set_conf_set
    __swig_getmethods__["set_conf"] = _Hamlib.rig_caps_set_conf_get
    if _newclass:
        set_conf = _swig_property(_Hamlib.rig_caps_set_conf_get, _Hamlib.rig_caps_set_conf_set)
    __swig_setmethods__["get_conf"] = _Hamlib.rig_caps_get_conf_set
    __swig_getmethods__["get_conf"] = _Hamlib.rig_caps_get_conf_get
    if _newclass:
        get_conf = _swig_property(_Hamlib.rig_caps_get_conf_get, _Hamlib.rig_caps_get_conf_set)
    __swig_setmethods__["send_dtmf"] = _Hamlib.rig_caps_send_dtmf_set
    __swig_getmethods__["send_dtmf"] = _Hamlib.rig_caps_send_dtmf_get
    if _newclass:
        send_dtmf = _swig_property(_Hamlib.rig_caps_send_dtmf_get, _Hamlib.rig_caps_send_dtmf_set)
    __swig_setmethods__["recv_dtmf"] = _Hamlib.rig_caps_recv_dtmf_set
    __swig_getmethods__["recv_dtmf"] = _Hamlib.rig_caps_recv_dtmf_get
    if _newclass:
        recv_dtmf = _swig_property(_Hamlib.rig_caps_recv_dtmf_get, _Hamlib.rig_caps_recv_dtmf_set)
    __swig_setmethods__["send_morse"] = _Hamlib.rig_caps_send_morse_set
    __swig_getmethods__["send_morse"] = _Hamlib.rig_caps_send_morse_get
    if _newclass:
        send_morse = _swig_property(_Hamlib.rig_caps_send_morse_get, _Hamlib.rig_caps_send_morse_set)
    __swig_setmethods__["set_bank"] = _Hamlib.rig_caps_set_bank_set
    __swig_getmethods__["set_bank"] = _Hamlib.rig_caps_set_bank_get
    if _newclass:
        set_bank = _swig_property(_Hamlib.rig_caps_set_bank_get, _Hamlib.rig_caps_set_bank_set)
    __swig_setmethods__["set_mem"] = _Hamlib.rig_caps_set_mem_set
    __swig_getmethods__["set_mem"] = _Hamlib.rig_caps_set_mem_get
    if _newclass:
        set_mem = _swig_property(_Hamlib.rig_caps_set_mem_get, _Hamlib.rig_caps_set_mem_set)
    __swig_setmethods__["get_mem"] = _Hamlib.rig_caps_get_mem_set
    __swig_getmethods__["get_mem"] = _Hamlib.rig_caps_get_mem_get
    if _newclass:
        get_mem = _swig_property(_Hamlib.rig_caps_get_mem_get, _Hamlib.rig_caps_get_mem_set)
    __swig_setmethods__["vfo_op"] = _Hamlib.rig_caps_vfo_op_set
    __swig_getmethods__["vfo_op"] = _Hamlib.rig_caps_vfo_op_get
    if _newclass:
        vfo_op = _swig_property(_Hamlib.rig_caps_vfo_op_get, _Hamlib.rig_caps_vfo_op_set)
    __swig_setmethods__["scan"] = _Hamlib.rig_caps_scan_set
    __swig_getmethods__["scan"] = _Hamlib.rig_caps_scan_get
    if _newclass:
        scan = _swig_property(_Hamlib.rig_caps_scan_get, _Hamlib.rig_caps_scan_set)
    __swig_setmethods__["set_trn"] = _Hamlib.rig_caps_set_trn_set
    __swig_getmethods__["set_trn"] = _Hamlib.rig_caps_set_trn_get
    if _newclass:
        set_trn = _swig_property(_Hamlib.rig_caps_set_trn_get, _Hamlib.rig_caps_set_trn_set)
    __swig_setmethods__["get_trn"] = _Hamlib.rig_caps_get_trn_set
    __swig_getmethods__["get_trn"] = _Hamlib.rig_caps_get_trn_get
    if _newclass:
        get_trn = _swig_property(_Hamlib.rig_caps_get_trn_get, _Hamlib.rig_caps_get_trn_set)
    __swig_setmethods__["decode_event"] = _Hamlib.rig_caps_decode_event_set
    __swig_getmethods__["decode_event"] = _Hamlib.rig_caps_decode_event_get
    if _newclass:
        decode_event = _swig_property(_Hamlib.rig_caps_decode_event_get, _Hamlib.rig_caps_decode_event_set)
    __swig_setmethods__["set_channel"] = _Hamlib.rig_caps_set_channel_set
    __swig_getmethods__["set_channel"] = _Hamlib.rig_caps_set_channel_get
    if _newclass:
        set_channel = _swig_property(_Hamlib.rig_caps_set_channel_get, _Hamlib.rig_caps_set_channel_set)
    __swig_setmethods__["get_channel"] = _Hamlib.rig_caps_get_channel_set
    __swig_getmethods__["get_channel"] = _Hamlib.rig_caps_get_channel_get
    if _newclass:
        get_channel = _swig_property(_Hamlib.rig_caps_get_channel_get, _Hamlib.rig_caps_get_channel_set)
    __swig_setmethods__["get_info"] = _Hamlib.rig_caps_get_info_set
    __swig_getmethods__["get_info"] = _Hamlib.rig_caps_get_info_get
    if _newclass:
        get_info = _swig_property(_Hamlib.rig_caps_get_info_get, _Hamlib.rig_caps_get_info_set)
    __swig_setmethods__["set_chan_all_cb"] = _Hamlib.rig_caps_set_chan_all_cb_set
    __swig_getmethods__["set_chan_all_cb"] = _Hamlib.rig_caps_set_chan_all_cb_get
    if _newclass:
        set_chan_all_cb = _swig_property(_Hamlib.rig_caps_set_chan_all_cb_get, _Hamlib.rig_caps_set_chan_all_cb_set)
    __swig_setmethods__["get_chan_all_cb"] = _Hamlib.rig_caps_get_chan_all_cb_set
    __swig_getmethods__["get_chan_all_cb"] = _Hamlib.rig_caps_get_chan_all_cb_get
    if _newclass:
        get_chan_all_cb = _swig_property(_Hamlib.rig_caps_get_chan_all_cb_get, _Hamlib.rig_caps_get_chan_all_cb_set)
    __swig_setmethods__["set_mem_all_cb"] = _Hamlib.rig_caps_set_mem_all_cb_set
    __swig_getmethods__["set_mem_all_cb"] = _Hamlib.rig_caps_set_mem_all_cb_get
    if _newclass:
        set_mem_all_cb = _swig_property(_Hamlib.rig_caps_set_mem_all_cb_get, _Hamlib.rig_caps_set_mem_all_cb_set)
    __swig_setmethods__["get_mem_all_cb"] = _Hamlib.rig_caps_get_mem_all_cb_set
    __swig_getmethods__["get_mem_all_cb"] = _Hamlib.rig_caps_get_mem_all_cb_get
    if _newclass:
        get_mem_all_cb = _swig_property(_Hamlib.rig_caps_get_mem_all_cb_get, _Hamlib.rig_caps_get_mem_all_cb_set)
    __swig_getmethods__["clone_combo_set"] = _Hamlib.rig_caps_clone_combo_set_get
    if _newclass:
        clone_combo_set = _swig_property(_Hamlib.rig_caps_clone_combo_set_get)
    __swig_getmethods__["clone_combo_get"] = _Hamlib.rig_caps_clone_combo_get_get
    if _newclass:
        clone_combo_get = _swig_property(_Hamlib.rig_caps_clone_combo_get_get)

    def __init__(self):
        this = _Hamlib.new_rig_caps()
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this
    __swig_destroy__ = _Hamlib.delete_rig_caps
    __del__ = lambda self: None
rig_caps_swigregister = _Hamlib.rig_caps_swigregister
rig_caps_swigregister(rig_caps)

class hamlib_port_t(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, hamlib_port_t, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, hamlib_port_t, name)
    __repr__ = _swig_repr
    __swig_getmethods__["type"] = _Hamlib.hamlib_port_t_type_get
    if _newclass:
        type = _swig_property(_Hamlib.hamlib_port_t_type_get)
    __swig_setmethods__["fd"] = _Hamlib.hamlib_port_t_fd_set
    __swig_getmethods__["fd"] = _Hamlib.hamlib_port_t_fd_get
    if _newclass:
        fd = _swig_property(_Hamlib.hamlib_port_t_fd_get, _Hamlib.hamlib_port_t_fd_set)
    __swig_setmethods__["handle"] = _Hamlib.hamlib_port_t_handle_set
    __swig_getmethods__["handle"] = _Hamlib.hamlib_port_t_handle_get
    if _newclass:
        handle = _swig_property(_Hamlib.hamlib_port_t_handle_get, _Hamlib.hamlib_port_t_handle_set)
    __swig_setmethods__["write_delay"] = _Hamlib.hamlib_port_t_write_delay_set
    __swig_getmethods__["write_delay"] = _Hamlib.hamlib_port_t_write_delay_get
    if _newclass:
        write_delay = _swig_property(_Hamlib.hamlib_port_t_write_delay_get, _Hamlib.hamlib_port_t_write_delay_set)
    __swig_setmethods__["post_write_delay"] = _Hamlib.hamlib_port_t_post_write_delay_set
    __swig_getmethods__["post_write_delay"] = _Hamlib.hamlib_port_t_post_write_delay_get
    if _newclass:
        post_write_delay = _swig_property(_Hamlib.hamlib_port_t_post_write_delay_get, _Hamlib.hamlib_port_t_post_write_delay_set)
    __swig_getmethods__["post_write_date"] = _Hamlib.hamlib_port_t_post_write_date_get
    if _newclass:
        post_write_date = _swig_property(_Hamlib.hamlib_port_t_post_write_date_get)
    __swig_setmethods__["timeout"] = _Hamlib.hamlib_port_t_timeout_set
    __swig_getmethods__["timeout"] = _Hamlib.hamlib_port_t_timeout_get
    if _newclass:
        timeout = _swig_property(_Hamlib.hamlib_port_t_timeout_get, _Hamlib.hamlib_port_t_timeout_set)
    __swig_setmethods__["retry"] = _Hamlib.hamlib_port_t_retry_set
    __swig_getmethods__["retry"] = _Hamlib.hamlib_port_t_retry_get
    if _newclass:
        retry = _swig_property(_Hamlib.hamlib_port_t_retry_get, _Hamlib.hamlib_port_t_retry_set)
    __swig_setmethods__["pathname"] = _Hamlib.hamlib_port_t_pathname_set
    __swig_getmethods__["pathname"] = _Hamlib.hamlib_port_t_pathname_get
    if _newclass:
        pathname = _swig_property(_Hamlib.hamlib_port_t_pathname_get, _Hamlib.hamlib_port_t_pathname_set)
    __swig_getmethods__["parm"] = _Hamlib.hamlib_port_t_parm_get
    if _newclass:
        parm = _swig_property(_Hamlib.hamlib_port_t_parm_get)

    def __init__(self):
        this = _Hamlib.new_hamlib_port_t()
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this
    __swig_destroy__ = _Hamlib.delete_hamlib_port_t
    __del__ = lambda self: None
hamlib_port_t_swigregister = _Hamlib.hamlib_port_t_swigregister
hamlib_port_t_swigregister(hamlib_port_t)

class hamlib_port_parm(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, hamlib_port_parm, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, hamlib_port_parm, name)
    __repr__ = _swig_repr
    __swig_getmethods__["serial"] = _Hamlib.hamlib_port_parm_serial_get
    if _newclass:
        serial = _swig_property(_Hamlib.hamlib_port_parm_serial_get)
    __swig_getmethods__["parallel"] = _Hamlib.hamlib_port_parm_parallel_get
    if _newclass:
        parallel = _swig_property(_Hamlib.hamlib_port_parm_parallel_get)
    __swig_getmethods__["cm108"] = _Hamlib.hamlib_port_parm_cm108_get
    if _newclass:
        cm108 = _swig_property(_Hamlib.hamlib_port_parm_cm108_get)
    __swig_getmethods__["usb"] = _Hamlib.hamlib_port_parm_usb_get
    if _newclass:
        usb = _swig_property(_Hamlib.hamlib_port_parm_usb_get)
    __swig_getmethods__["gpio"] = _Hamlib.hamlib_port_parm_gpio_get
    if _newclass:
        gpio = _swig_property(_Hamlib.hamlib_port_parm_gpio_get)

    def __init__(self):
        this = _Hamlib.new_hamlib_port_parm()
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this
    __swig_destroy__ = _Hamlib.delete_hamlib_port_parm
    __del__ = lambda self: None
hamlib_port_parm_swigregister = _Hamlib.hamlib_port_parm_swigregister
hamlib_port_parm_swigregister(hamlib_port_parm)

class hamlib_port_parm_gpio(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, hamlib_port_parm_gpio, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, hamlib_port_parm_gpio, name)
    __repr__ = _swig_repr
    __swig_setmethods__["on_value"] = _Hamlib.hamlib_port_parm_gpio_on_value_set
    __swig_getmethods__["on_value"] = _Hamlib.hamlib_port_parm_gpio_on_value_get
    if _newclass:
        on_value = _swig_property(_Hamlib.hamlib_port_parm_gpio_on_value_get, _Hamlib.hamlib_port_parm_gpio_on_value_set)
    __swig_setmethods__["value"] = _Hamlib.hamlib_port_parm_gpio_value_set
    __swig_getmethods__["value"] = _Hamlib.hamlib_port_parm_gpio_value_get
    if _newclass:
        value = _swig_property(_Hamlib.hamlib_port_parm_gpio_value_get, _Hamlib.hamlib_port_parm_gpio_value_set)

    def __init__(self):
        this = _Hamlib.new_hamlib_port_parm_gpio()
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this
    __swig_destroy__ = _Hamlib.delete_hamlib_port_parm_gpio
    __del__ = lambda self: None
hamlib_port_parm_gpio_swigregister = _Hamlib.hamlib_port_parm_gpio_swigregister
hamlib_port_parm_gpio_swigregister(hamlib_port_parm_gpio)

class hamlib_port_parm_usb(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, hamlib_port_parm_usb, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, hamlib_port_parm_usb, name)
    __repr__ = _swig_repr
    __swig_setmethods__["vid"] = _Hamlib.hamlib_port_parm_usb_vid_set
    __swig_getmethods__["vid"] = _Hamlib.hamlib_port_parm_usb_vid_get
    if _newclass:
        vid = _swig_property(_Hamlib.hamlib_port_parm_usb_vid_get, _Hamlib.hamlib_port_parm_usb_vid_set)
    __swig_setmethods__["pid"] = _Hamlib.hamlib_port_parm_usb_pid_set
    __swig_getmethods__["pid"] = _Hamlib.hamlib_port_parm_usb_pid_get
    if _newclass:
        pid = _swig_property(_Hamlib.hamlib_port_parm_usb_pid_get, _Hamlib.hamlib_port_parm_usb_pid_set)
    __swig_setmethods__["conf"] = _Hamlib.hamlib_port_parm_usb_conf_set
    __swig_getmethods__["conf"] = _Hamlib.hamlib_port_parm_usb_conf_get
    if _newclass:
        conf = _swig_property(_Hamlib.hamlib_port_parm_usb_conf_get, _Hamlib.hamlib_port_parm_usb_conf_set)
    __swig_setmethods__["iface"] = _Hamlib.hamlib_port_parm_usb_iface_set
    __swig_getmethods__["iface"] = _Hamlib.hamlib_port_parm_usb_iface_get
    if _newclass:
        iface = _swig_property(_Hamlib.hamlib_port_parm_usb_iface_get, _Hamlib.hamlib_port_parm_usb_iface_set)
    __swig_setmethods__["alt"] = _Hamlib.hamlib_port_parm_usb_alt_set
    __swig_getmethods__["alt"] = _Hamlib.hamlib_port_parm_usb_alt_get
    if _newclass:
        alt = _swig_property(_Hamlib.hamlib_port_parm_usb_alt_get, _Hamlib.hamlib_port_parm_usb_alt_set)
    __swig_setmethods__["vendor_name"] = _Hamlib.hamlib_port_parm_usb_vendor_name_set
    __swig_getmethods__["vendor_name"] = _Hamlib.hamlib_port_parm_usb_vendor_name_get
    if _newclass:
        vendor_name = _swig_property(_Hamlib.hamlib_port_parm_usb_vendor_name_get, _Hamlib.hamlib_port_parm_usb_vendor_name_set)
    __swig_setmethods__["product"] = _Hamlib.hamlib_port_parm_usb_product_set
    __swig_getmethods__["product"] = _Hamlib.hamlib_port_parm_usb_product_get
    if _newclass:
        product = _swig_property(_Hamlib.hamlib_port_parm_usb_product_get, _Hamlib.hamlib_port_parm_usb_product_set)

    def __init__(self):
        this = _Hamlib.new_hamlib_port_parm_usb()
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this
    __swig_destroy__ = _Hamlib.delete_hamlib_port_parm_usb
    __del__ = lambda self: None
hamlib_port_parm_usb_swigregister = _Hamlib.hamlib_port_parm_usb_swigregister
hamlib_port_parm_usb_swigregister(hamlib_port_parm_usb)

class hamlib_port_parm_cm108(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, hamlib_port_parm_cm108, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, hamlib_port_parm_cm108, name)
    __repr__ = _swig_repr
    __swig_setmethods__["ptt_bitnum"] = _Hamlib.hamlib_port_parm_cm108_ptt_bitnum_set
    __swig_getmethods__["ptt_bitnum"] = _Hamlib.hamlib_port_parm_cm108_ptt_bitnum_get
    if _newclass:
        ptt_bitnum = _swig_property(_Hamlib.hamlib_port_parm_cm108_ptt_bitnum_get, _Hamlib.hamlib_port_parm_cm108_ptt_bitnum_set)

    def __init__(self):
        this = _Hamlib.new_hamlib_port_parm_cm108()
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this
    __swig_destroy__ = _Hamlib.delete_hamlib_port_parm_cm108
    __del__ = lambda self: None
hamlib_port_parm_cm108_swigregister = _Hamlib.hamlib_port_parm_cm108_swigregister
hamlib_port_parm_cm108_swigregister(hamlib_port_parm_cm108)

class hamlib_port_parm_parallel(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, hamlib_port_parm_parallel, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, hamlib_port_parm_parallel, name)
    __repr__ = _swig_repr
    __swig_setmethods__["pin"] = _Hamlib.hamlib_port_parm_parallel_pin_set
    __swig_getmethods__["pin"] = _Hamlib.hamlib_port_parm_parallel_pin_get
    if _newclass:
        pin = _swig_property(_Hamlib.hamlib_port_parm_parallel_pin_get, _Hamlib.hamlib_port_parm_parallel_pin_set)

    def __init__(self):
        this = _Hamlib.new_hamlib_port_parm_parallel()
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this
    __swig_destroy__ = _Hamlib.delete_hamlib_port_parm_parallel
    __del__ = lambda self: None
hamlib_port_parm_parallel_swigregister = _Hamlib.hamlib_port_parm_parallel_swigregister
hamlib_port_parm_parallel_swigregister(hamlib_port_parm_parallel)

class hamlib_port_parm_serial(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, hamlib_port_parm_serial, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, hamlib_port_parm_serial, name)
    __repr__ = _swig_repr
    __swig_setmethods__["rate"] = _Hamlib.hamlib_port_parm_serial_rate_set
    __swig_getmethods__["rate"] = _Hamlib.hamlib_port_parm_serial_rate_get
    if _newclass:
        rate = _swig_property(_Hamlib.hamlib_port_parm_serial_rate_get, _Hamlib.hamlib_port_parm_serial_rate_set)
    __swig_setmethods__["data_bits"] = _Hamlib.hamlib_port_parm_serial_data_bits_set
    __swig_getmethods__["data_bits"] = _Hamlib.hamlib_port_parm_serial_data_bits_get
    if _newclass:
        data_bits = _swig_property(_Hamlib.hamlib_port_parm_serial_data_bits_get, _Hamlib.hamlib_port_parm_serial_data_bits_set)
    __swig_setmethods__["stop_bits"] = _Hamlib.hamlib_port_parm_serial_stop_bits_set
    __swig_getmethods__["stop_bits"] = _Hamlib.hamlib_port_parm_serial_stop_bits_get
    if _newclass:
        stop_bits = _swig_property(_Hamlib.hamlib_port_parm_serial_stop_bits_get, _Hamlib.hamlib_port_parm_serial_stop_bits_set)
    __swig_setmethods__["parity"] = _Hamlib.hamlib_port_parm_serial_parity_set
    __swig_getmethods__["parity"] = _Hamlib.hamlib_port_parm_serial_parity_get
    if _newclass:
        parity = _swig_property(_Hamlib.hamlib_port_parm_serial_parity_get, _Hamlib.hamlib_port_parm_serial_parity_set)
    __swig_setmethods__["handshake"] = _Hamlib.hamlib_port_parm_serial_handshake_set
    __swig_getmethods__["handshake"] = _Hamlib.hamlib_port_parm_serial_handshake_get
    if _newclass:
        handshake = _swig_property(_Hamlib.hamlib_port_parm_serial_handshake_get, _Hamlib.hamlib_port_parm_serial_handshake_set)
    __swig_setmethods__["rts_state"] = _Hamlib.hamlib_port_parm_serial_rts_state_set
    __swig_getmethods__["rts_state"] = _Hamlib.hamlib_port_parm_serial_rts_state_get
    if _newclass:
        rts_state = _swig_property(_Hamlib.hamlib_port_parm_serial_rts_state_get, _Hamlib.hamlib_port_parm_serial_rts_state_set)
    __swig_setmethods__["dtr_state"] = _Hamlib.hamlib_port_parm_serial_dtr_state_set
    __swig_getmethods__["dtr_state"] = _Hamlib.hamlib_port_parm_serial_dtr_state_get
    if _newclass:
        dtr_state = _swig_property(_Hamlib.hamlib_port_parm_serial_dtr_state_get, _Hamlib.hamlib_port_parm_serial_dtr_state_set)

    def __init__(self):
        this = _Hamlib.new_hamlib_port_parm_serial()
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this
    __swig_destroy__ = _Hamlib.delete_hamlib_port_parm_serial
    __del__ = lambda self: None
hamlib_port_parm_serial_swigregister = _Hamlib.hamlib_port_parm_serial_swigregister
hamlib_port_parm_serial_swigregister(hamlib_port_parm_serial)

class hamlib_port_post_write_date(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, hamlib_port_post_write_date, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, hamlib_port_post_write_date, name)
    __repr__ = _swig_repr
    __swig_setmethods__["tv_sec"] = _Hamlib.hamlib_port_post_write_date_tv_sec_set
    __swig_getmethods__["tv_sec"] = _Hamlib.hamlib_port_post_write_date_tv_sec_get
    if _newclass:
        tv_sec = _swig_property(_Hamlib.hamlib_port_post_write_date_tv_sec_get, _Hamlib.hamlib_port_post_write_date_tv_sec_set)
    __swig_setmethods__["tv_usec"] = _Hamlib.hamlib_port_post_write_date_tv_usec_set
    __swig_getmethods__["tv_usec"] = _Hamlib.hamlib_port_post_write_date_tv_usec_get
    if _newclass:
        tv_usec = _swig_property(_Hamlib.hamlib_port_post_write_date_tv_usec_get, _Hamlib.hamlib_port_post_write_date_tv_usec_set)

    def __init__(self):
        this = _Hamlib.new_hamlib_port_post_write_date()
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this
    __swig_destroy__ = _Hamlib.delete_hamlib_port_post_write_date
    __del__ = lambda self: None
hamlib_port_post_write_date_swigregister = _Hamlib.hamlib_port_post_write_date_swigregister
hamlib_port_post_write_date_swigregister(hamlib_port_post_write_date)

class hamlib_port_type(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, hamlib_port_type, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, hamlib_port_type, name)
    __repr__ = _swig_repr
    __swig_setmethods__["rig"] = _Hamlib.hamlib_port_type_rig_set
    __swig_getmethods__["rig"] = _Hamlib.hamlib_port_type_rig_get
    if _newclass:
        rig = _swig_property(_Hamlib.hamlib_port_type_rig_get, _Hamlib.hamlib_port_type_rig_set)
    __swig_setmethods__["ptt"] = _Hamlib.hamlib_port_type_ptt_set
    __swig_getmethods__["ptt"] = _Hamlib.hamlib_port_type_ptt_get
    if _newclass:
        ptt = _swig_property(_Hamlib.hamlib_port_type_ptt_get, _Hamlib.hamlib_port_type_ptt_set)
    __swig_setmethods__["dcd"] = _Hamlib.hamlib_port_type_dcd_set
    __swig_getmethods__["dcd"] = _Hamlib.hamlib_port_type_dcd_get
    if _newclass:
        dcd = _swig_property(_Hamlib.hamlib_port_type_dcd_get, _Hamlib.hamlib_port_type_dcd_set)

    def __init__(self):
        this = _Hamlib.new_hamlib_port_type()
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this
    __swig_destroy__ = _Hamlib.delete_hamlib_port_type
    __del__ = lambda self: None
hamlib_port_type_swigregister = _Hamlib.hamlib_port_type_swigregister
hamlib_port_type_swigregister(hamlib_port_type)

class rig_state(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, rig_state, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, rig_state, name)
    __repr__ = _swig_repr
    __swig_setmethods__["rigport"] = _Hamlib.rig_state_rigport_set
    __swig_getmethods__["rigport"] = _Hamlib.rig_state_rigport_get
    if _newclass:
        rigport = _swig_property(_Hamlib.rig_state_rigport_get, _Hamlib.rig_state_rigport_set)
    __swig_setmethods__["pttport"] = _Hamlib.rig_state_pttport_set
    __swig_getmethods__["pttport"] = _Hamlib.rig_state_pttport_get
    if _newclass:
        pttport = _swig_property(_Hamlib.rig_state_pttport_get, _Hamlib.rig_state_pttport_set)
    __swig_setmethods__["dcdport"] = _Hamlib.rig_state_dcdport_set
    __swig_getmethods__["dcdport"] = _Hamlib.rig_state_dcdport_get
    if _newclass:
        dcdport = _swig_property(_Hamlib.rig_state_dcdport_get, _Hamlib.rig_state_dcdport_set)
    __swig_setmethods__["vfo_comp"] = _Hamlib.rig_state_vfo_comp_set
    __swig_getmethods__["vfo_comp"] = _Hamlib.rig_state_vfo_comp_get
    if _newclass:
        vfo_comp = _swig_property(_Hamlib.rig_state_vfo_comp_get, _Hamlib.rig_state_vfo_comp_set)
    __swig_setmethods__["itu_region"] = _Hamlib.rig_state_itu_region_set
    __swig_getmethods__["itu_region"] = _Hamlib.rig_state_itu_region_get
    if _newclass:
        itu_region = _swig_property(_Hamlib.rig_state_itu_region_get, _Hamlib.rig_state_itu_region_set)
    __swig_setmethods__["rx_range_list"] = _Hamlib.rig_state_rx_range_list_set
    __swig_getmethods__["rx_range_list"] = _Hamlib.rig_state_rx_range_list_get
    if _newclass:
        rx_range_list = _swig_property(_Hamlib.rig_state_rx_range_list_get, _Hamlib.rig_state_rx_range_list_set)
    __swig_setmethods__["tx_range_list"] = _Hamlib.rig_state_tx_range_list_set
    __swig_getmethods__["tx_range_list"] = _Hamlib.rig_state_tx_range_list_get
    if _newclass:
        tx_range_list = _swig_property(_Hamlib.rig_state_tx_range_list_get, _Hamlib.rig_state_tx_range_list_set)
    __swig_setmethods__["tuning_steps"] = _Hamlib.rig_state_tuning_steps_set
    __swig_getmethods__["tuning_steps"] = _Hamlib.rig_state_tuning_steps_get
    if _newclass:
        tuning_steps = _swig_property(_Hamlib.rig_state_tuning_steps_get, _Hamlib.rig_state_tuning_steps_set)
    __swig_setmethods__["filters"] = _Hamlib.rig_state_filters_set
    __swig_getmethods__["filters"] = _Hamlib.rig_state_filters_get
    if _newclass:
        filters = _swig_property(_Hamlib.rig_state_filters_get, _Hamlib.rig_state_filters_set)
    __swig_setmethods__["str_cal"] = _Hamlib.rig_state_str_cal_set
    __swig_getmethods__["str_cal"] = _Hamlib.rig_state_str_cal_get
    if _newclass:
        str_cal = _swig_property(_Hamlib.rig_state_str_cal_get, _Hamlib.rig_state_str_cal_set)
    __swig_setmethods__["chan_list"] = _Hamlib.rig_state_chan_list_set
    __swig_getmethods__["chan_list"] = _Hamlib.rig_state_chan_list_get
    if _newclass:
        chan_list = _swig_property(_Hamlib.rig_state_chan_list_get, _Hamlib.rig_state_chan_list_set)
    __swig_setmethods__["max_rit"] = _Hamlib.rig_state_max_rit_set
    __swig_getmethods__["max_rit"] = _Hamlib.rig_state_max_rit_get
    if _newclass:
        max_rit = _swig_property(_Hamlib.rig_state_max_rit_get, _Hamlib.rig_state_max_rit_set)
    __swig_setmethods__["max_xit"] = _Hamlib.rig_state_max_xit_set
    __swig_getmethods__["max_xit"] = _Hamlib.rig_state_max_xit_get
    if _newclass:
        max_xit = _swig_property(_Hamlib.rig_state_max_xit_get, _Hamlib.rig_state_max_xit_set)
    __swig_setmethods__["max_ifshift"] = _Hamlib.rig_state_max_ifshift_set
    __swig_getmethods__["max_ifshift"] = _Hamlib.rig_state_max_ifshift_get
    if _newclass:
        max_ifshift = _swig_property(_Hamlib.rig_state_max_ifshift_get, _Hamlib.rig_state_max_ifshift_set)
    __swig_setmethods__["announces"] = _Hamlib.rig_state_announces_set
    __swig_getmethods__["announces"] = _Hamlib.rig_state_announces_get
    if _newclass:
        announces = _swig_property(_Hamlib.rig_state_announces_get, _Hamlib.rig_state_announces_set)
    __swig_setmethods__["preamp"] = _Hamlib.rig_state_preamp_set
    __swig_getmethods__["preamp"] = _Hamlib.rig_state_preamp_get
    if _newclass:
        preamp = _swig_property(_Hamlib.rig_state_preamp_get, _Hamlib.rig_state_preamp_set)
    __swig_setmethods__["attenuator"] = _Hamlib.rig_state_attenuator_set
    __swig_getmethods__["attenuator"] = _Hamlib.rig_state_attenuator_get
    if _newclass:
        attenuator = _swig_property(_Hamlib.rig_state_attenuator_get, _Hamlib.rig_state_attenuator_set)
    __swig_setmethods__["has_get_func"] = _Hamlib.rig_state_has_get_func_set
    __swig_getmethods__["has_get_func"] = _Hamlib.rig_state_has_get_func_get
    if _newclass:
        has_get_func = _swig_property(_Hamlib.rig_state_has_get_func_get, _Hamlib.rig_state_has_get_func_set)
    __swig_setmethods__["has_set_func"] = _Hamlib.rig_state_has_set_func_set
    __swig_getmethods__["has_set_func"] = _Hamlib.rig_state_has_set_func_get
    if _newclass:
        has_set_func = _swig_property(_Hamlib.rig_state_has_set_func_get, _Hamlib.rig_state_has_set_func_set)
    __swig_setmethods__["has_get_level"] = _Hamlib.rig_state_has_get_level_set
    __swig_getmethods__["has_get_level"] = _Hamlib.rig_state_has_get_level_get
    if _newclass:
        has_get_level = _swig_property(_Hamlib.rig_state_has_get_level_get, _Hamlib.rig_state_has_get_level_set)
    __swig_setmethods__["has_set_level"] = _Hamlib.rig_state_has_set_level_set
    __swig_getmethods__["has_set_level"] = _Hamlib.rig_state_has_set_level_get
    if _newclass:
        has_set_level = _swig_property(_Hamlib.rig_state_has_set_level_get, _Hamlib.rig_state_has_set_level_set)
    __swig_setmethods__["has_get_parm"] = _Hamlib.rig_state_has_get_parm_set
    __swig_getmethods__["has_get_parm"] = _Hamlib.rig_state_has_get_parm_get
    if _newclass:
        has_get_parm = _swig_property(_Hamlib.rig_state_has_get_parm_get, _Hamlib.rig_state_has_get_parm_set)
    __swig_setmethods__["has_set_parm"] = _Hamlib.rig_state_has_set_parm_set
    __swig_getmethods__["has_set_parm"] = _Hamlib.rig_state_has_set_parm_get
    if _newclass:
        has_set_parm = _swig_property(_Hamlib.rig_state_has_set_parm_get, _Hamlib.rig_state_has_set_parm_set)
    __swig_setmethods__["level_gran"] = _Hamlib.rig_state_level_gran_set
    __swig_getmethods__["level_gran"] = _Hamlib.rig_state_level_gran_get
    if _newclass:
        level_gran = _swig_property(_Hamlib.rig_state_level_gran_get, _Hamlib.rig_state_level_gran_set)
    __swig_setmethods__["parm_gran"] = _Hamlib.rig_state_parm_gran_set
    __swig_getmethods__["parm_gran"] = _Hamlib.rig_state_parm_gran_get
    if _newclass:
        parm_gran = _swig_property(_Hamlib.rig_state_parm_gran_get, _Hamlib.rig_state_parm_gran_set)
    __swig_setmethods__["hold_decode"] = _Hamlib.rig_state_hold_decode_set
    __swig_getmethods__["hold_decode"] = _Hamlib.rig_state_hold_decode_get
    if _newclass:
        hold_decode = _swig_property(_Hamlib.rig_state_hold_decode_get, _Hamlib.rig_state_hold_decode_set)
    __swig_setmethods__["current_vfo"] = _Hamlib.rig_state_current_vfo_set
    __swig_getmethods__["current_vfo"] = _Hamlib.rig_state_current_vfo_get
    if _newclass:
        current_vfo = _swig_property(_Hamlib.rig_state_current_vfo_get, _Hamlib.rig_state_current_vfo_set)
    __swig_setmethods__["vfo_list"] = _Hamlib.rig_state_vfo_list_set
    __swig_getmethods__["vfo_list"] = _Hamlib.rig_state_vfo_list_get
    if _newclass:
        vfo_list = _swig_property(_Hamlib.rig_state_vfo_list_get, _Hamlib.rig_state_vfo_list_set)
    __swig_setmethods__["comm_state"] = _Hamlib.rig_state_comm_state_set
    __swig_getmethods__["comm_state"] = _Hamlib.rig_state_comm_state_get
    if _newclass:
        comm_state = _swig_property(_Hamlib.rig_state_comm_state_get, _Hamlib.rig_state_comm_state_set)
    __swig_setmethods__["priv"] = _Hamlib.rig_state_priv_set
    __swig_getmethods__["priv"] = _Hamlib.rig_state_priv_get
    if _newclass:
        priv = _swig_property(_Hamlib.rig_state_priv_get, _Hamlib.rig_state_priv_set)
    __swig_setmethods__["obj"] = _Hamlib.rig_state_obj_set
    __swig_getmethods__["obj"] = _Hamlib.rig_state_obj_get
    if _newclass:
        obj = _swig_property(_Hamlib.rig_state_obj_get, _Hamlib.rig_state_obj_set)
    __swig_setmethods__["transceive"] = _Hamlib.rig_state_transceive_set
    __swig_getmethods__["transceive"] = _Hamlib.rig_state_transceive_get
    if _newclass:
        transceive = _swig_property(_Hamlib.rig_state_transceive_get, _Hamlib.rig_state_transceive_set)
    __swig_setmethods__["poll_interval"] = _Hamlib.rig_state_poll_interval_set
    __swig_getmethods__["poll_interval"] = _Hamlib.rig_state_poll_interval_get
    if _newclass:
        poll_interval = _swig_property(_Hamlib.rig_state_poll_interval_get, _Hamlib.rig_state_poll_interval_set)
    __swig_setmethods__["current_freq"] = _Hamlib.rig_state_current_freq_set
    __swig_getmethods__["current_freq"] = _Hamlib.rig_state_current_freq_get
    if _newclass:
        current_freq = _swig_property(_Hamlib.rig_state_current_freq_get, _Hamlib.rig_state_current_freq_set)
    __swig_setmethods__["current_mode"] = _Hamlib.rig_state_current_mode_set
    __swig_getmethods__["current_mode"] = _Hamlib.rig_state_current_mode_get
    if _newclass:
        current_mode = _swig_property(_Hamlib.rig_state_current_mode_get, _Hamlib.rig_state_current_mode_set)
    __swig_setmethods__["current_width"] = _Hamlib.rig_state_current_width_set
    __swig_getmethods__["current_width"] = _Hamlib.rig_state_current_width_get
    if _newclass:
        current_width = _swig_property(_Hamlib.rig_state_current_width_get, _Hamlib.rig_state_current_width_set)
    __swig_setmethods__["tx_vfo"] = _Hamlib.rig_state_tx_vfo_set
    __swig_getmethods__["tx_vfo"] = _Hamlib.rig_state_tx_vfo_get
    if _newclass:
        tx_vfo = _swig_property(_Hamlib.rig_state_tx_vfo_get, _Hamlib.rig_state_tx_vfo_set)
    __swig_setmethods__["mode_list"] = _Hamlib.rig_state_mode_list_set
    __swig_getmethods__["mode_list"] = _Hamlib.rig_state_mode_list_get
    if _newclass:
        mode_list = _swig_property(_Hamlib.rig_state_mode_list_get, _Hamlib.rig_state_mode_list_set)

    def __init__(self):
        this = _Hamlib.new_rig_state()
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this
    __swig_destroy__ = _Hamlib.delete_rig_state
    __del__ = lambda self: None
rig_state_swigregister = _Hamlib.rig_state_swigregister
rig_state_swigregister(rig_state)

class rig_callbacks(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, rig_callbacks, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, rig_callbacks, name)
    __repr__ = _swig_repr
    __swig_setmethods__["freq_event"] = _Hamlib.rig_callbacks_freq_event_set
    __swig_getmethods__["freq_event"] = _Hamlib.rig_callbacks_freq_event_get
    if _newclass:
        freq_event = _swig_property(_Hamlib.rig_callbacks_freq_event_get, _Hamlib.rig_callbacks_freq_event_set)
    __swig_setmethods__["freq_arg"] = _Hamlib.rig_callbacks_freq_arg_set
    __swig_getmethods__["freq_arg"] = _Hamlib.rig_callbacks_freq_arg_get
    if _newclass:
        freq_arg = _swig_property(_Hamlib.rig_callbacks_freq_arg_get, _Hamlib.rig_callbacks_freq_arg_set)
    __swig_setmethods__["mode_event"] = _Hamlib.rig_callbacks_mode_event_set
    __swig_getmethods__["mode_event"] = _Hamlib.rig_callbacks_mode_event_get
    if _newclass:
        mode_event = _swig_property(_Hamlib.rig_callbacks_mode_event_get, _Hamlib.rig_callbacks_mode_event_set)
    __swig_setmethods__["mode_arg"] = _Hamlib.rig_callbacks_mode_arg_set
    __swig_getmethods__["mode_arg"] = _Hamlib.rig_callbacks_mode_arg_get
    if _newclass:
        mode_arg = _swig_property(_Hamlib.rig_callbacks_mode_arg_get, _Hamlib.rig_callbacks_mode_arg_set)
    __swig_setmethods__["vfo_event"] = _Hamlib.rig_callbacks_vfo_event_set
    __swig_getmethods__["vfo_event"] = _Hamlib.rig_callbacks_vfo_event_get
    if _newclass:
        vfo_event = _swig_property(_Hamlib.rig_callbacks_vfo_event_get, _Hamlib.rig_callbacks_vfo_event_set)
    __swig_setmethods__["vfo_arg"] = _Hamlib.rig_callbacks_vfo_arg_set
    __swig_getmethods__["vfo_arg"] = _Hamlib.rig_callbacks_vfo_arg_get
    if _newclass:
        vfo_arg = _swig_property(_Hamlib.rig_callbacks_vfo_arg_get, _Hamlib.rig_callbacks_vfo_arg_set)
    __swig_setmethods__["ptt_event"] = _Hamlib.rig_callbacks_ptt_event_set
    __swig_getmethods__["ptt_event"] = _Hamlib.rig_callbacks_ptt_event_get
    if _newclass:
        ptt_event = _swig_property(_Hamlib.rig_callbacks_ptt_event_get, _Hamlib.rig_callbacks_ptt_event_set)
    __swig_setmethods__["ptt_arg"] = _Hamlib.rig_callbacks_ptt_arg_set
    __swig_getmethods__["ptt_arg"] = _Hamlib.rig_callbacks_ptt_arg_get
    if _newclass:
        ptt_arg = _swig_property(_Hamlib.rig_callbacks_ptt_arg_get, _Hamlib.rig_callbacks_ptt_arg_set)
    __swig_setmethods__["dcd_event"] = _Hamlib.rig_callbacks_dcd_event_set
    __swig_getmethods__["dcd_event"] = _Hamlib.rig_callbacks_dcd_event_get
    if _newclass:
        dcd_event = _swig_property(_Hamlib.rig_callbacks_dcd_event_get, _Hamlib.rig_callbacks_dcd_event_set)
    __swig_setmethods__["dcd_arg"] = _Hamlib.rig_callbacks_dcd_arg_set
    __swig_getmethods__["dcd_arg"] = _Hamlib.rig_callbacks_dcd_arg_get
    if _newclass:
        dcd_arg = _swig_property(_Hamlib.rig_callbacks_dcd_arg_get, _Hamlib.rig_callbacks_dcd_arg_set)
    __swig_setmethods__["pltune"] = _Hamlib.rig_callbacks_pltune_set
    __swig_getmethods__["pltune"] = _Hamlib.rig_callbacks_pltune_get
    if _newclass:
        pltune = _swig_property(_Hamlib.rig_callbacks_pltune_get, _Hamlib.rig_callbacks_pltune_set)
    __swig_setmethods__["pltune_arg"] = _Hamlib.rig_callbacks_pltune_arg_set
    __swig_getmethods__["pltune_arg"] = _Hamlib.rig_callbacks_pltune_arg_get
    if _newclass:
        pltune_arg = _swig_property(_Hamlib.rig_callbacks_pltune_arg_get, _Hamlib.rig_callbacks_pltune_arg_set)

    def __init__(self):
        this = _Hamlib.new_rig_callbacks()
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this
    __swig_destroy__ = _Hamlib.delete_rig_callbacks
    __del__ = lambda self: None
rig_callbacks_swigregister = _Hamlib.rig_callbacks_swigregister
rig_callbacks_swigregister(rig_callbacks)

class rig(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, rig, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, rig, name)
    __repr__ = _swig_repr
    __swig_setmethods__["caps"] = _Hamlib.rig_caps_set
    __swig_getmethods__["caps"] = _Hamlib.rig_caps_get
    if _newclass:
        caps = _swig_property(_Hamlib.rig_caps_get, _Hamlib.rig_caps_set)
    __swig_setmethods__["state"] = _Hamlib.rig_state_set
    __swig_getmethods__["state"] = _Hamlib.rig_state_get
    if _newclass:
        state = _swig_property(_Hamlib.rig_state_get, _Hamlib.rig_state_set)
    __swig_setmethods__["callbacks"] = _Hamlib.rig_callbacks_set
    __swig_getmethods__["callbacks"] = _Hamlib.rig_callbacks_get
    if _newclass:
        callbacks = _swig_property(_Hamlib.rig_callbacks_get, _Hamlib.rig_callbacks_set)

    def __init__(self):
        this = _Hamlib.new_rig()
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this
    __swig_destroy__ = _Hamlib.delete_rig
    __del__ = lambda self: None
rig_swigregister = _Hamlib.rig_swigregister
rig_swigregister(rig)


def rig_init(rig_model):
    return _Hamlib.rig_init(rig_model)
rig_init = _Hamlib.rig_init

def rig_set_split_freq_mode(rig, vfo, tx_freq, tx_mode, tx_width):
    return _Hamlib.rig_set_split_freq_mode(rig, vfo, tx_freq, tx_mode, tx_width)
rig_set_split_freq_mode = _Hamlib.rig_set_split_freq_mode

def rig_get_split_freq_mode(rig, vfo, tx_freq, tx_mode, tx_width):
    return _Hamlib.rig_get_split_freq_mode(rig, vfo, tx_freq, tx_mode, tx_width)
rig_get_split_freq_mode = _Hamlib.rig_get_split_freq_mode

def rig_set_split_vfo(arg1, rx_vfo, split, tx_vfo):
    return _Hamlib.rig_set_split_vfo(arg1, rx_vfo, split, tx_vfo)
rig_set_split_vfo = _Hamlib.rig_set_split_vfo

def rig_get_split_vfo(arg1, rx_vfo, split, tx_vfo):
    return _Hamlib.rig_get_split_vfo(arg1, rx_vfo, split, tx_vfo)
rig_get_split_vfo = _Hamlib.rig_get_split_vfo

def rig_ext_lookup(rig, name):
    return _Hamlib.rig_ext_lookup(rig, name)
rig_ext_lookup = _Hamlib.rig_ext_lookup

def rig_ext_lookup_tok(rig, token):
    return _Hamlib.rig_ext_lookup_tok(rig, token)
rig_ext_lookup_tok = _Hamlib.rig_ext_lookup_tok

def rig_ext_token_lookup(rig, name):
    return _Hamlib.rig_ext_token_lookup(rig, name)
rig_ext_token_lookup = _Hamlib.rig_ext_token_lookup

def rig_token_foreach(rig, cfunc, data):
    return _Hamlib.rig_token_foreach(rig, cfunc, data)
rig_token_foreach = _Hamlib.rig_token_foreach

def rig_confparam_lookup(rig, name):
    return _Hamlib.rig_confparam_lookup(rig, name)
rig_confparam_lookup = _Hamlib.rig_confparam_lookup

def rig_set_chan_all(rig, chans):
    return _Hamlib.rig_set_chan_all(rig, chans)
rig_set_chan_all = _Hamlib.rig_set_chan_all

def rig_get_chan_all(rig, chans):
    return _Hamlib.rig_get_chan_all(rig, chans)
rig_get_chan_all = _Hamlib.rig_get_chan_all

def rig_set_chan_all_cb(rig, chan_cb, arg3):
    return _Hamlib.rig_set_chan_all_cb(rig, chan_cb, arg3)
rig_set_chan_all_cb = _Hamlib.rig_set_chan_all_cb

def rig_get_chan_all_cb(rig, chan_cb, arg3):
    return _Hamlib.rig_get_chan_all_cb(rig, chan_cb, arg3)
rig_get_chan_all_cb = _Hamlib.rig_get_chan_all_cb

def rig_set_mem_all_cb(rig, chan_cb, parm_cb, arg4):
    return _Hamlib.rig_set_mem_all_cb(rig, chan_cb, parm_cb, arg4)
rig_set_mem_all_cb = _Hamlib.rig_set_mem_all_cb

def rig_get_mem_all_cb(rig, chan_cb, parm_cb, arg4):
    return _Hamlib.rig_get_mem_all_cb(rig, chan_cb, parm_cb, arg4)
rig_get_mem_all_cb = _Hamlib.rig_get_mem_all_cb

def rig_set_mem_all(rig, chan, arg3, arg4):
    return _Hamlib.rig_set_mem_all(rig, chan, arg3, arg4)
rig_set_mem_all = _Hamlib.rig_set_mem_all

def rig_get_mem_all(rig, chan, arg3, arg4):
    return _Hamlib.rig_get_mem_all(rig, chan, arg3, arg4)
rig_get_mem_all = _Hamlib.rig_get_mem_all

def rig_lookup_mem_caps(rig, ch):
    return _Hamlib.rig_lookup_mem_caps(rig, ch)
rig_lookup_mem_caps = _Hamlib.rig_lookup_mem_caps

def rig_mem_count(rig):
    return _Hamlib.rig_mem_count(rig)
rig_mem_count = _Hamlib.rig_mem_count

def rig_get_caps(rig_model):
    return _Hamlib.rig_get_caps(rig_model)
rig_get_caps = _Hamlib.rig_get_caps

def rig_get_range(range_list, freq, mode):
    return _Hamlib.rig_get_range(range_list, freq, mode)
rig_get_range = _Hamlib.rig_get_range

def rigerror(errnum):
    return _Hamlib.rigerror(errnum)
rigerror = _Hamlib.rigerror

def rig_setting2idx(s):
    return _Hamlib.rig_setting2idx(s)
rig_setting2idx = _Hamlib.rig_setting2idx

def rig_set_debug(debug_level):
    return _Hamlib.rig_set_debug(debug_level)
rig_set_debug = _Hamlib.rig_set_debug

def rig_need_debug(debug_level):
    return _Hamlib.rig_need_debug(debug_level)
rig_need_debug = _Hamlib.rig_need_debug

def rig_debug(debug_level, fmt):
    return _Hamlib.rig_debug(debug_level, fmt)
rig_debug = _Hamlib.rig_debug

def rig_set_debug_callback(cb, arg):
    return _Hamlib.rig_set_debug_callback(cb, arg)
rig_set_debug_callback = _Hamlib.rig_set_debug_callback

def rig_set_debug_file(stream):
    return _Hamlib.rig_set_debug_file(stream)
rig_set_debug_file = _Hamlib.rig_set_debug_file

def rig_register(caps):
    return _Hamlib.rig_register(caps)
rig_register = _Hamlib.rig_register

def rig_unregister(rig_model):
    return _Hamlib.rig_unregister(rig_model)
rig_unregister = _Hamlib.rig_unregister

def rig_list_foreach(cfunc, data):
    return _Hamlib.rig_list_foreach(cfunc, data)
rig_list_foreach = _Hamlib.rig_list_foreach

def rig_load_backend(be_name):
    return _Hamlib.rig_load_backend(be_name)
rig_load_backend = _Hamlib.rig_load_backend

def rig_check_backend(rig_model):
    return _Hamlib.rig_check_backend(rig_model)
rig_check_backend = _Hamlib.rig_check_backend

def rig_load_all_backends():
    return _Hamlib.rig_load_all_backends()
rig_load_all_backends = _Hamlib.rig_load_all_backends

def rig_probe_all(p, arg2, arg3):
    return _Hamlib.rig_probe_all(p, arg2, arg3)
rig_probe_all = _Hamlib.rig_probe_all

def rig_strrmode(mode):
    return _Hamlib.rig_strrmode(mode)
rig_strrmode = _Hamlib.rig_strrmode

def rig_strvfo(vfo):
    return _Hamlib.rig_strvfo(vfo)
rig_strvfo = _Hamlib.rig_strvfo

def rig_strfunc(arg1):
    return _Hamlib.rig_strfunc(arg1)
rig_strfunc = _Hamlib.rig_strfunc

def rig_strlevel(arg1):
    return _Hamlib.rig_strlevel(arg1)
rig_strlevel = _Hamlib.rig_strlevel

def rig_strparm(arg1):
    return _Hamlib.rig_strparm(arg1)
rig_strparm = _Hamlib.rig_strparm

def rig_strptrshift(arg1):
    return _Hamlib.rig_strptrshift(arg1)
rig_strptrshift = _Hamlib.rig_strptrshift

def rig_strvfop(op):
    return _Hamlib.rig_strvfop(op)
rig_strvfop = _Hamlib.rig_strvfop

def rig_strscan(scan):
    return _Hamlib.rig_strscan(scan)
rig_strscan = _Hamlib.rig_strscan

def rig_strstatus(status):
    return _Hamlib.rig_strstatus(status)
rig_strstatus = _Hamlib.rig_strstatus

def rig_strmtype(mtype):
    return _Hamlib.rig_strmtype(mtype)
rig_strmtype = _Hamlib.rig_strmtype

def rig_parse_mode(s):
    return _Hamlib.rig_parse_mode(s)
rig_parse_mode = _Hamlib.rig_parse_mode

def rig_parse_vfo(s):
    return _Hamlib.rig_parse_vfo(s)
rig_parse_vfo = _Hamlib.rig_parse_vfo

def rig_parse_func(s):
    return _Hamlib.rig_parse_func(s)
rig_parse_func = _Hamlib.rig_parse_func

def rig_parse_level(s):
    return _Hamlib.rig_parse_level(s)
rig_parse_level = _Hamlib.rig_parse_level

def rig_parse_parm(s):
    return _Hamlib.rig_parse_parm(s)
rig_parse_parm = _Hamlib.rig_parse_parm

def rig_parse_vfo_op(s):
    return _Hamlib.rig_parse_vfo_op(s)
rig_parse_vfo_op = _Hamlib.rig_parse_vfo_op

def rig_parse_scan(s):
    return _Hamlib.rig_parse_scan(s)
rig_parse_scan = _Hamlib.rig_parse_scan

def rig_parse_rptr_shift(s):
    return _Hamlib.rig_parse_rptr_shift(s)
rig_parse_rptr_shift = _Hamlib.rig_parse_rptr_shift

def rig_parse_mtype(s):
    return _Hamlib.rig_parse_mtype(s)
rig_parse_mtype = _Hamlib.rig_parse_mtype

def rig_license():
    return _Hamlib.rig_license()
rig_license = _Hamlib.rig_license

def rig_version():
    return _Hamlib.rig_version()
rig_version = _Hamlib.rig_version

def rig_copyright():
    return _Hamlib.rig_copyright()
rig_copyright = _Hamlib.rig_copyright

def rig_no_restore_ai():
    return _Hamlib.rig_no_restore_ai()
rig_no_restore_ai = _Hamlib.rig_no_restore_ai
ROT_MODEL_NONE = _Hamlib.ROT_MODEL_NONE
ROT_MODEL_DUMMY = _Hamlib.ROT_MODEL_DUMMY
ROT_MODEL_NETROTCTL = _Hamlib.ROT_MODEL_NETROTCTL
ROT_MODEL_EASYCOMM1 = _Hamlib.ROT_MODEL_EASYCOMM1
ROT_MODEL_EASYCOMM2 = _Hamlib.ROT_MODEL_EASYCOMM2
ROT_MODEL_TRAKBOX = _Hamlib.ROT_MODEL_TRAKBOX
ROT_MODEL_EASYCOMM3 = _Hamlib.ROT_MODEL_EASYCOMM3
ROT_MODEL_FODTRACK = _Hamlib.ROT_MODEL_FODTRACK
ROT_MODEL_ROTOREZ = _Hamlib.ROT_MODEL_ROTOREZ
ROT_MODEL_ROTORCARD = _Hamlib.ROT_MODEL_ROTORCARD
ROT_MODEL_DCU = _Hamlib.ROT_MODEL_DCU
ROT_MODEL_ERC = _Hamlib.ROT_MODEL_ERC
ROT_MODEL_RT21 = _Hamlib.ROT_MODEL_RT21
ROT_MODEL_SARTEK1 = _Hamlib.ROT_MODEL_SARTEK1
ROT_MODEL_GS232A = _Hamlib.ROT_MODEL_GS232A
ROT_MODEL_GS232 = _Hamlib.ROT_MODEL_GS232
ROT_MODEL_GS232B = _Hamlib.ROT_MODEL_GS232B
ROT_MODEL_F1TETRACKER = _Hamlib.ROT_MODEL_F1TETRACKER
ROT_MODEL_PCROTOR = _Hamlib.ROT_MODEL_PCROTOR
ROT_MODEL_HD1780 = _Hamlib.ROT_MODEL_HD1780
ROT_MODEL_SPID_ROT2PROG = _Hamlib.ROT_MODEL_SPID_ROT2PROG
ROT_MODEL_SPID_ROT1PROG = _Hamlib.ROT_MODEL_SPID_ROT1PROG
ROT_MODEL_RC2800 = _Hamlib.ROT_MODEL_RC2800
ROT_MODEL_RCI_AZEL = _Hamlib.ROT_MODEL_RCI_AZEL
ROT_MODEL_RCI_AZ = _Hamlib.ROT_MODEL_RCI_AZ
ROT_MODEL_IF100 = _Hamlib.ROT_MODEL_IF100
ROT_MODEL_TS7400 = _Hamlib.ROT_MODEL_TS7400
ROT_MODEL_NEXSTAR = _Hamlib.ROT_MODEL_NEXSTAR
ROT_ETHER6 = _Hamlib.ROT_ETHER6
ROT_BACKEND_ETHER6 = _Hamlib.ROT_BACKEND_ETHER6
ROT_MODEL_ETHER6 = _Hamlib.ROT_MODEL_ETHER6
ROT_CNCTRK = _Hamlib.ROT_CNCTRK
ROT_BACKEND_CNCTRK = _Hamlib.ROT_BACKEND_CNCTRK
ROT_MODEL_CNCTRK = _Hamlib.ROT_MODEL_CNCTRK
ROT_PROSISTEL = _Hamlib.ROT_PROSISTEL
ROT_BACKEND_PROSISTEL = _Hamlib.ROT_BACKEND_PROSISTEL
ROT_MODEL_PROSISTEL = _Hamlib.ROT_MODEL_PROSISTEL
NETROTCTL_RET = _Hamlib.NETROTCTL_RET
ROT_RESET_ALL = _Hamlib.ROT_RESET_ALL
ROT_FLAG_AZIMUTH = _Hamlib.ROT_FLAG_AZIMUTH
ROT_FLAG_ELEVATION = _Hamlib.ROT_FLAG_ELEVATION
ROT_TYPE_OTHER = _Hamlib.ROT_TYPE_OTHER
ROT_MOVE_UP = _Hamlib.ROT_MOVE_UP
ROT_MOVE_DOWN = _Hamlib.ROT_MOVE_DOWN
ROT_MOVE_LEFT = _Hamlib.ROT_MOVE_LEFT
ROT_MOVE_CCW = _Hamlib.ROT_MOVE_CCW
ROT_MOVE_RIGHT = _Hamlib.ROT_MOVE_RIGHT
ROT_MOVE_CW = _Hamlib.ROT_MOVE_CW
class rot_caps(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, rot_caps, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, rot_caps, name)
    __repr__ = _swig_repr
    __swig_setmethods__["rot_model"] = _Hamlib.rot_caps_rot_model_set
    __swig_getmethods__["rot_model"] = _Hamlib.rot_caps_rot_model_get
    if _newclass:
        rot_model = _swig_property(_Hamlib.rot_caps_rot_model_get, _Hamlib.rot_caps_rot_model_set)
    __swig_getmethods__["model_name"] = _Hamlib.rot_caps_model_name_get
    if _newclass:
        model_name = _swig_property(_Hamlib.rot_caps_model_name_get)
    __swig_getmethods__["mfg_name"] = _Hamlib.rot_caps_mfg_name_get
    if _newclass:
        mfg_name = _swig_property(_Hamlib.rot_caps_mfg_name_get)
    __swig_getmethods__["version"] = _Hamlib.rot_caps_version_get
    if _newclass:
        version = _swig_property(_Hamlib.rot_caps_version_get)
    __swig_getmethods__["copyright"] = _Hamlib.rot_caps_copyright_get
    if _newclass:
        copyright = _swig_property(_Hamlib.rot_caps_copyright_get)
    __swig_setmethods__["status"] = _Hamlib.rot_caps_status_set
    __swig_getmethods__["status"] = _Hamlib.rot_caps_status_get
    if _newclass:
        status = _swig_property(_Hamlib.rot_caps_status_get, _Hamlib.rot_caps_status_set)
    __swig_setmethods__["rot_type"] = _Hamlib.rot_caps_rot_type_set
    __swig_getmethods__["rot_type"] = _Hamlib.rot_caps_rot_type_get
    if _newclass:
        rot_type = _swig_property(_Hamlib.rot_caps_rot_type_get, _Hamlib.rot_caps_rot_type_set)
    __swig_setmethods__["port_type"] = _Hamlib.rot_caps_port_type_set
    __swig_getmethods__["port_type"] = _Hamlib.rot_caps_port_type_get
    if _newclass:
        port_type = _swig_property(_Hamlib.rot_caps_port_type_get, _Hamlib.rot_caps_port_type_set)
    __swig_setmethods__["serial_rate_min"] = _Hamlib.rot_caps_serial_rate_min_set
    __swig_getmethods__["serial_rate_min"] = _Hamlib.rot_caps_serial_rate_min_get
    if _newclass:
        serial_rate_min = _swig_property(_Hamlib.rot_caps_serial_rate_min_get, _Hamlib.rot_caps_serial_rate_min_set)
    __swig_setmethods__["serial_rate_max"] = _Hamlib.rot_caps_serial_rate_max_set
    __swig_getmethods__["serial_rate_max"] = _Hamlib.rot_caps_serial_rate_max_get
    if _newclass:
        serial_rate_max = _swig_property(_Hamlib.rot_caps_serial_rate_max_get, _Hamlib.rot_caps_serial_rate_max_set)
    __swig_setmethods__["serial_data_bits"] = _Hamlib.rot_caps_serial_data_bits_set
    __swig_getmethods__["serial_data_bits"] = _Hamlib.rot_caps_serial_data_bits_get
    if _newclass:
        serial_data_bits = _swig_property(_Hamlib.rot_caps_serial_data_bits_get, _Hamlib.rot_caps_serial_data_bits_set)
    __swig_setmethods__["serial_stop_bits"] = _Hamlib.rot_caps_serial_stop_bits_set
    __swig_getmethods__["serial_stop_bits"] = _Hamlib.rot_caps_serial_stop_bits_get
    if _newclass:
        serial_stop_bits = _swig_property(_Hamlib.rot_caps_serial_stop_bits_get, _Hamlib.rot_caps_serial_stop_bits_set)
    __swig_setmethods__["serial_parity"] = _Hamlib.rot_caps_serial_parity_set
    __swig_getmethods__["serial_parity"] = _Hamlib.rot_caps_serial_parity_get
    if _newclass:
        serial_parity = _swig_property(_Hamlib.rot_caps_serial_parity_get, _Hamlib.rot_caps_serial_parity_set)
    __swig_setmethods__["serial_handshake"] = _Hamlib.rot_caps_serial_handshake_set
    __swig_getmethods__["serial_handshake"] = _Hamlib.rot_caps_serial_handshake_get
    if _newclass:
        serial_handshake = _swig_property(_Hamlib.rot_caps_serial_handshake_get, _Hamlib.rot_caps_serial_handshake_set)
    __swig_setmethods__["write_delay"] = _Hamlib.rot_caps_write_delay_set
    __swig_getmethods__["write_delay"] = _Hamlib.rot_caps_write_delay_get
    if _newclass:
        write_delay = _swig_property(_Hamlib.rot_caps_write_delay_get, _Hamlib.rot_caps_write_delay_set)
    __swig_setmethods__["post_write_delay"] = _Hamlib.rot_caps_post_write_delay_set
    __swig_getmethods__["post_write_delay"] = _Hamlib.rot_caps_post_write_delay_get
    if _newclass:
        post_write_delay = _swig_property(_Hamlib.rot_caps_post_write_delay_get, _Hamlib.rot_caps_post_write_delay_set)
    __swig_setmethods__["timeout"] = _Hamlib.rot_caps_timeout_set
    __swig_getmethods__["timeout"] = _Hamlib.rot_caps_timeout_get
    if _newclass:
        timeout = _swig_property(_Hamlib.rot_caps_timeout_get, _Hamlib.rot_caps_timeout_set)
    __swig_setmethods__["retry"] = _Hamlib.rot_caps_retry_set
    __swig_getmethods__["retry"] = _Hamlib.rot_caps_retry_get
    if _newclass:
        retry = _swig_property(_Hamlib.rot_caps_retry_get, _Hamlib.rot_caps_retry_set)
    __swig_setmethods__["min_az"] = _Hamlib.rot_caps_min_az_set
    __swig_getmethods__["min_az"] = _Hamlib.rot_caps_min_az_get
    if _newclass:
        min_az = _swig_property(_Hamlib.rot_caps_min_az_get, _Hamlib.rot_caps_min_az_set)
    __swig_setmethods__["max_az"] = _Hamlib.rot_caps_max_az_set
    __swig_getmethods__["max_az"] = _Hamlib.rot_caps_max_az_get
    if _newclass:
        max_az = _swig_property(_Hamlib.rot_caps_max_az_get, _Hamlib.rot_caps_max_az_set)
    __swig_setmethods__["min_el"] = _Hamlib.rot_caps_min_el_set
    __swig_getmethods__["min_el"] = _Hamlib.rot_caps_min_el_get
    if _newclass:
        min_el = _swig_property(_Hamlib.rot_caps_min_el_get, _Hamlib.rot_caps_min_el_set)
    __swig_setmethods__["max_el"] = _Hamlib.rot_caps_max_el_set
    __swig_getmethods__["max_el"] = _Hamlib.rot_caps_max_el_get
    if _newclass:
        max_el = _swig_property(_Hamlib.rot_caps_max_el_get, _Hamlib.rot_caps_max_el_set)
    __swig_setmethods__["cfgparams"] = _Hamlib.rot_caps_cfgparams_set
    __swig_getmethods__["cfgparams"] = _Hamlib.rot_caps_cfgparams_get
    if _newclass:
        cfgparams = _swig_property(_Hamlib.rot_caps_cfgparams_get, _Hamlib.rot_caps_cfgparams_set)
    __swig_setmethods__["priv"] = _Hamlib.rot_caps_priv_set
    __swig_getmethods__["priv"] = _Hamlib.rot_caps_priv_get
    if _newclass:
        priv = _swig_property(_Hamlib.rot_caps_priv_get, _Hamlib.rot_caps_priv_set)
    __swig_setmethods__["rot_init"] = _Hamlib.rot_caps_rot_init_set
    __swig_getmethods__["rot_init"] = _Hamlib.rot_caps_rot_init_get
    if _newclass:
        rot_init = _swig_property(_Hamlib.rot_caps_rot_init_get, _Hamlib.rot_caps_rot_init_set)
    __swig_setmethods__["set_conf"] = _Hamlib.rot_caps_set_conf_set
    __swig_getmethods__["set_conf"] = _Hamlib.rot_caps_set_conf_get
    if _newclass:
        set_conf = _swig_property(_Hamlib.rot_caps_set_conf_get, _Hamlib.rot_caps_set_conf_set)
    __swig_setmethods__["get_conf"] = _Hamlib.rot_caps_get_conf_set
    __swig_getmethods__["get_conf"] = _Hamlib.rot_caps_get_conf_get
    if _newclass:
        get_conf = _swig_property(_Hamlib.rot_caps_get_conf_get, _Hamlib.rot_caps_get_conf_set)
    __swig_setmethods__["set_position"] = _Hamlib.rot_caps_set_position_set
    __swig_getmethods__["set_position"] = _Hamlib.rot_caps_set_position_get
    if _newclass:
        set_position = _swig_property(_Hamlib.rot_caps_set_position_get, _Hamlib.rot_caps_set_position_set)
    __swig_setmethods__["get_position"] = _Hamlib.rot_caps_get_position_set
    __swig_getmethods__["get_position"] = _Hamlib.rot_caps_get_position_get
    if _newclass:
        get_position = _swig_property(_Hamlib.rot_caps_get_position_get, _Hamlib.rot_caps_get_position_set)
    __swig_setmethods__["stop"] = _Hamlib.rot_caps_stop_set
    __swig_getmethods__["stop"] = _Hamlib.rot_caps_stop_get
    if _newclass:
        stop = _swig_property(_Hamlib.rot_caps_stop_get, _Hamlib.rot_caps_stop_set)
    __swig_setmethods__["park"] = _Hamlib.rot_caps_park_set
    __swig_getmethods__["park"] = _Hamlib.rot_caps_park_get
    if _newclass:
        park = _swig_property(_Hamlib.rot_caps_park_get, _Hamlib.rot_caps_park_set)
    __swig_setmethods__["reset"] = _Hamlib.rot_caps_reset_set
    __swig_getmethods__["reset"] = _Hamlib.rot_caps_reset_get
    if _newclass:
        reset = _swig_property(_Hamlib.rot_caps_reset_get, _Hamlib.rot_caps_reset_set)
    __swig_setmethods__["move"] = _Hamlib.rot_caps_move_set
    __swig_getmethods__["move"] = _Hamlib.rot_caps_move_get
    if _newclass:
        move = _swig_property(_Hamlib.rot_caps_move_get, _Hamlib.rot_caps_move_set)
    __swig_setmethods__["get_info"] = _Hamlib.rot_caps_get_info_set
    __swig_getmethods__["get_info"] = _Hamlib.rot_caps_get_info_get
    if _newclass:
        get_info = _swig_property(_Hamlib.rot_caps_get_info_get, _Hamlib.rot_caps_get_info_set)

    def __init__(self):
        this = _Hamlib.new_rot_caps()
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this
    __swig_destroy__ = _Hamlib.delete_rot_caps
    __del__ = lambda self: None
rot_caps_swigregister = _Hamlib.rot_caps_swigregister
rot_caps_swigregister(rot_caps)

class rot_state(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, rot_state, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, rot_state, name)
    __repr__ = _swig_repr
    __swig_setmethods__["min_az"] = _Hamlib.rot_state_min_az_set
    __swig_getmethods__["min_az"] = _Hamlib.rot_state_min_az_get
    if _newclass:
        min_az = _swig_property(_Hamlib.rot_state_min_az_get, _Hamlib.rot_state_min_az_set)
    __swig_setmethods__["max_az"] = _Hamlib.rot_state_max_az_set
    __swig_getmethods__["max_az"] = _Hamlib.rot_state_max_az_get
    if _newclass:
        max_az = _swig_property(_Hamlib.rot_state_max_az_get, _Hamlib.rot_state_max_az_set)
    __swig_setmethods__["min_el"] = _Hamlib.rot_state_min_el_set
    __swig_getmethods__["min_el"] = _Hamlib.rot_state_min_el_get
    if _newclass:
        min_el = _swig_property(_Hamlib.rot_state_min_el_get, _Hamlib.rot_state_min_el_set)
    __swig_setmethods__["max_el"] = _Hamlib.rot_state_max_el_set
    __swig_getmethods__["max_el"] = _Hamlib.rot_state_max_el_get
    if _newclass:
        max_el = _swig_property(_Hamlib.rot_state_max_el_get, _Hamlib.rot_state_max_el_set)
    __swig_setmethods__["rotport"] = _Hamlib.rot_state_rotport_set
    __swig_getmethods__["rotport"] = _Hamlib.rot_state_rotport_get
    if _newclass:
        rotport = _swig_property(_Hamlib.rot_state_rotport_get, _Hamlib.rot_state_rotport_set)
    __swig_setmethods__["comm_state"] = _Hamlib.rot_state_comm_state_set
    __swig_getmethods__["comm_state"] = _Hamlib.rot_state_comm_state_get
    if _newclass:
        comm_state = _swig_property(_Hamlib.rot_state_comm_state_get, _Hamlib.rot_state_comm_state_set)
    __swig_setmethods__["priv"] = _Hamlib.rot_state_priv_set
    __swig_getmethods__["priv"] = _Hamlib.rot_state_priv_get
    if _newclass:
        priv = _swig_property(_Hamlib.rot_state_priv_get, _Hamlib.rot_state_priv_set)
    __swig_setmethods__["obj"] = _Hamlib.rot_state_obj_set
    __swig_getmethods__["obj"] = _Hamlib.rot_state_obj_get
    if _newclass:
        obj = _swig_property(_Hamlib.rot_state_obj_get, _Hamlib.rot_state_obj_set)

    def __init__(self):
        this = _Hamlib.new_rot_state()
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this
    __swig_destroy__ = _Hamlib.delete_rot_state
    __del__ = lambda self: None
rot_state_swigregister = _Hamlib.rot_state_swigregister
rot_state_swigregister(rot_state)

class rot(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, rot, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, rot, name)
    __repr__ = _swig_repr
    __swig_setmethods__["caps"] = _Hamlib.rot_caps_set
    __swig_getmethods__["caps"] = _Hamlib.rot_caps_get
    if _newclass:
        caps = _swig_property(_Hamlib.rot_caps_get, _Hamlib.rot_caps_set)
    __swig_setmethods__["state"] = _Hamlib.rot_state_set
    __swig_getmethods__["state"] = _Hamlib.rot_state_get
    if _newclass:
        state = _swig_property(_Hamlib.rot_state_get, _Hamlib.rot_state_set)

    def __init__(self):
        this = _Hamlib.new_rot()
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this
    __swig_destroy__ = _Hamlib.delete_rot
    __del__ = lambda self: None
rot_swigregister = _Hamlib.rot_swigregister
rot_swigregister(rot)


def rot_init(rot_model):
    return _Hamlib.rot_init(rot_model)
rot_init = _Hamlib.rot_init

def rot_register(caps):
    return _Hamlib.rot_register(caps)
rot_register = _Hamlib.rot_register

def rot_unregister(rot_model):
    return _Hamlib.rot_unregister(rot_model)
rot_unregister = _Hamlib.rot_unregister

def rot_list_foreach(cfunc, data):
    return _Hamlib.rot_list_foreach(cfunc, data)
rot_list_foreach = _Hamlib.rot_list_foreach

def rot_load_backend(be_name):
    return _Hamlib.rot_load_backend(be_name)
rot_load_backend = _Hamlib.rot_load_backend

def rot_check_backend(rot_model):
    return _Hamlib.rot_check_backend(rot_model)
rot_check_backend = _Hamlib.rot_check_backend

def rot_load_all_backends():
    return _Hamlib.rot_load_all_backends()
rot_load_all_backends = _Hamlib.rot_load_all_backends

def rot_probe_all(p):
    return _Hamlib.rot_probe_all(p)
rot_probe_all = _Hamlib.rot_probe_all

def rot_token_foreach(rot, cfunc, data):
    return _Hamlib.rot_token_foreach(rot, cfunc, data)
rot_token_foreach = _Hamlib.rot_token_foreach

def rot_confparam_lookup(rot, name):
    return _Hamlib.rot_confparam_lookup(rot, name)
rot_confparam_lookup = _Hamlib.rot_confparam_lookup

def rot_token_lookup(rot, name):
    return _Hamlib.rot_token_lookup(rot, name)
rot_token_lookup = _Hamlib.rot_token_lookup

def rot_get_caps(rot_model):
    return _Hamlib.rot_get_caps(rot_model)
rot_get_caps = _Hamlib.rot_get_caps

def qrb(lon1, lat1, lon2, lat2):
    return _Hamlib.qrb(lon1, lat1, lon2, lat2)
qrb = _Hamlib.qrb

def distance_long_path(distance):
    return _Hamlib.distance_long_path(distance)
distance_long_path = _Hamlib.distance_long_path

def azimuth_long_path(azimuth):
    return _Hamlib.azimuth_long_path(azimuth)
azimuth_long_path = _Hamlib.azimuth_long_path

def longlat2locator(longitude, latitude, pair_count):
    return _Hamlib.longlat2locator(longitude, latitude, pair_count)
longlat2locator = _Hamlib.longlat2locator

def locator2longlat(locator):
    return _Hamlib.locator2longlat(locator)
locator2longlat = _Hamlib.locator2longlat

def dms2dec(degrees, minutes, seconds, sw):
    return _Hamlib.dms2dec(degrees, minutes, seconds, sw)
dms2dec = _Hamlib.dms2dec

def dec2dms(dec):
    return _Hamlib.dec2dms(dec)
dec2dms = _Hamlib.dec2dms

def dec2dmmm(dec):
    return _Hamlib.dec2dmmm(dec)
dec2dmmm = _Hamlib.dec2dmmm

def dmmm2dec(degrees, minutes, sw):
    return _Hamlib.dmmm2dec(degrees, minutes, sw)
dmmm2dec = _Hamlib.dmmm2dec
class Rig(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, Rig, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, Rig, name)
    __repr__ = _swig_repr
    __swig_setmethods__["rig"] = _Hamlib.Rig_rig_set
    __swig_getmethods__["rig"] = _Hamlib.Rig_rig_get
    if _newclass:
        rig = _swig_property(_Hamlib.Rig_rig_get, _Hamlib.Rig_rig_set)
    __swig_setmethods__["caps"] = _Hamlib.Rig_caps_set
    __swig_getmethods__["caps"] = _Hamlib.Rig_caps_get
    if _newclass:
        caps = _swig_property(_Hamlib.Rig_caps_get, _Hamlib.Rig_caps_set)
    __swig_setmethods__["state"] = _Hamlib.Rig_state_set
    __swig_getmethods__["state"] = _Hamlib.Rig_state_get
    if _newclass:
        state = _swig_property(_Hamlib.Rig_state_get, _Hamlib.Rig_state_set)
    __swig_setmethods__["error_status"] = _Hamlib.Rig_error_status_set
    __swig_getmethods__["error_status"] = _Hamlib.Rig_error_status_get
    if _newclass:
        error_status = _swig_property(_Hamlib.Rig_error_status_get, _Hamlib.Rig_error_status_set)
    __swig_setmethods__["do_exception"] = _Hamlib.Rig_do_exception_set
    __swig_getmethods__["do_exception"] = _Hamlib.Rig_do_exception_get
    if _newclass:
        do_exception = _swig_property(_Hamlib.Rig_do_exception_get, _Hamlib.Rig_do_exception_set)

    def __init__(self, rig_model):
        this = _Hamlib.new_Rig(rig_model)
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this
    __swig_destroy__ = _Hamlib.delete_Rig
    __del__ = lambda self: None

    def open(self):
        return _Hamlib.Rig_open(self)

    def close(self):
        return _Hamlib.Rig_close(self)

    def set_freq(self, vfo, _freq_t):
        return _Hamlib.Rig_set_freq(self, vfo, _freq_t)

    def set_mode(self, *args):
        return _Hamlib.Rig_set_mode(self, *args)

    def set_ptt(self, vfo, _ptt_t):
        return _Hamlib.Rig_set_ptt(self, vfo, _ptt_t)

    def set_rptr_shift(self, vfo, _rptr_shift_t):
        return _Hamlib.Rig_set_rptr_shift(self, vfo, _rptr_shift_t)

    def set_rptr_offs(self, vfo, _shortfreq_t):
        return _Hamlib.Rig_set_rptr_offs(self, vfo, _shortfreq_t)

    def set_ctcss_tone(self, vfo, _tone_t):
        return _Hamlib.Rig_set_ctcss_tone(self, vfo, _tone_t)

    def set_dcs_code(self, vfo, _tone_t):
        return _Hamlib.Rig_set_dcs_code(self, vfo, _tone_t)

    def set_ctcss_sql(self, vfo, _tone_t):
        return _Hamlib.Rig_set_ctcss_sql(self, vfo, _tone_t)

    def set_dcs_sql(self, *args):
        return _Hamlib.Rig_set_dcs_sql(self, *args)

    def set_split_freq(self, vfo, _freq_t):
        return _Hamlib.Rig_set_split_freq(self, vfo, _freq_t)

    def set_split_mode(self, *args):
        return _Hamlib.Rig_set_split_mode(self, *args)

    def set_split_vfo(self, *args):
        return _Hamlib.Rig_set_split_vfo(self, *args)

    def set_rit(self, vfo, _shortfreq_t):
        return _Hamlib.Rig_set_rit(self, vfo, _shortfreq_t)

    def set_xit(self, vfo, _shortfreq_t):
        return _Hamlib.Rig_set_xit(self, vfo, _shortfreq_t)

    def set_ts(self, vfo, _shortfreq_t):
        return _Hamlib.Rig_set_ts(self, vfo, _shortfreq_t)

    def set_ant(self, vfo, _ant_t):
        return _Hamlib.Rig_set_ant(self, vfo, _ant_t)

    def set_func(self, *args):
        return _Hamlib.Rig_set_func(self, *args)

    def set_bank(self, vfo, _int):
        return _Hamlib.Rig_set_bank(self, vfo, _int)

    def set_mem(self, vfo, _int):
        return _Hamlib.Rig_set_mem(self, vfo, _int)

    def send_dtmf(self, vfo, _const_char_string):
        return _Hamlib.Rig_send_dtmf(self, vfo, _const_char_string)

    def send_morse(self, vfo, _const_char_string):
        return _Hamlib.Rig_send_morse(self, vfo, _const_char_string)

    def vfo_op(self, vfo, _vfo_op_t):
        return _Hamlib.Rig_vfo_op(self, vfo, _vfo_op_t)

    def scan(self, *args):
        return _Hamlib.Rig_scan(self, *args)

    def set_level(self, *args):
        return _Hamlib.Rig_set_level(self, *args)

    def set_ext_level(self, *args):
        return _Hamlib.Rig_set_ext_level(self, *args)

    def get_level_i(self, *args):
        return _Hamlib.Rig_get_level_i(self, *args)

    def get_level_f(self, *args):
        return _Hamlib.Rig_get_level_f(self, *args)

    def set_vfo(self, _vfo_t):
        return _Hamlib.Rig_set_vfo(self, _vfo_t)

    def set_powerstat(self, _powerstat_t):
        return _Hamlib.Rig_set_powerstat(self, _powerstat_t)

    def set_trn(self, _int):
        return _Hamlib.Rig_set_trn(self, _int)

    def has_set_level(self, _setting_t):
        return _Hamlib.Rig_has_set_level(self, _setting_t)

    def has_set_parm(self, _setting_t):
        return _Hamlib.Rig_has_set_parm(self, _setting_t)

    def has_set_func(self, _setting_t):
        return _Hamlib.Rig_has_set_func(self, _setting_t)

    def reset(self, _reset_t):
        return _Hamlib.Rig_reset(self, _reset_t)

    def has_scan(self, _scan_t):
        return _Hamlib.Rig_has_scan(self, _scan_t)

    def has_vfo_op(self, _vfo_op_t):
        return _Hamlib.Rig_has_vfo_op(self, _vfo_op_t)

    def passband_normal(self, _rmode_t):
        return _Hamlib.Rig_passband_normal(self, _rmode_t)

    def passband_narrow(self, _rmode_t):
        return _Hamlib.Rig_passband_narrow(self, _rmode_t)

    def passband_wide(self, _rmode_t):
        return _Hamlib.Rig_passband_wide(self, _rmode_t)

    def ext_token_lookup(self, _const_char_string):
        return _Hamlib.Rig_ext_token_lookup(self, _const_char_string)

    def token_lookup(self, _const_char_string):
        return _Hamlib.Rig_token_lookup(self, _const_char_string)

    def set_ext_parm(self, _token_t_1, _value_t_2):
        return _Hamlib.Rig_set_ext_parm(self, _token_t_1, _value_t_2)

    def set_parm(self, *args):
        return _Hamlib.Rig_set_parm(self, *args)

    def get_parm_i(self, *args):
        return _Hamlib.Rig_get_parm_i(self, *args)

    def get_parm_f(self, *args):
        return _Hamlib.Rig_get_parm_f(self, *args)

    def get_parm(self, name):
        return _Hamlib.Rig_get_parm(self, name)

    def set_conf(self, *args):
        return _Hamlib.Rig_set_conf(self, *args)

    def get_freq(self, *args):
        return _Hamlib.Rig_get_freq(self, *args)

    def get_mode(self, *args):
        return _Hamlib.Rig_get_mode(self, *args)

    def get_split_mode(self, *args):
        return _Hamlib.Rig_get_split_mode(self, *args)

    def get_vfo(self):
        return _Hamlib.Rig_get_vfo(self)

    def get_ptt(self, *args):
        return _Hamlib.Rig_get_ptt(self, *args)

    def get_rptr_shift(self, *args):
        return _Hamlib.Rig_get_rptr_shift(self, *args)

    def get_rptr_offs(self, *args):
        return _Hamlib.Rig_get_rptr_offs(self, *args)

    def get_ctcss_tone(self, *args):
        return _Hamlib.Rig_get_ctcss_tone(self, *args)

    def get_dcs_code(self, *args):
        return _Hamlib.Rig_get_dcs_code(self, *args)

    def get_ctcss_sql(self, *args):
        return _Hamlib.Rig_get_ctcss_sql(self, *args)

    def get_dcs_sql(self, *args):
        return _Hamlib.Rig_get_dcs_sql(self, *args)

    def get_split_freq(self, *args):
        return _Hamlib.Rig_get_split_freq(self, *args)

    def get_split_vfo(self, *args):
        return _Hamlib.Rig_get_split_vfo(self, *args)

    def get_rit(self, *args):
        return _Hamlib.Rig_get_rit(self, *args)

    def get_xit(self, *args):
        return _Hamlib.Rig_get_xit(self, *args)

    def get_ts(self, *args):
        return _Hamlib.Rig_get_ts(self, *args)

    def get_ant(self, *args):
        return _Hamlib.Rig_get_ant(self, *args)

    def get_mem(self, *args):
        return _Hamlib.Rig_get_mem(self, *args)

    def get_powerstat(self):
        return _Hamlib.Rig_get_powerstat(self)

    def get_trn(self):
        return _Hamlib.Rig_get_trn(self)

    def mem_count(self):
        return _Hamlib.Rig_mem_count(self)

    def lookup_mem_caps(self, channel_num=-1):
        return _Hamlib.Rig_lookup_mem_caps(self, channel_num)

    def set_channel(self, chan):
        return _Hamlib.Rig_set_channel(self, chan)

    def chan_clear(self, chans, nb_chans=1):
        return _Hamlib.Rig_chan_clear(self, chans, nb_chans)

    def get_chan_all(self, *args):
        return _Hamlib.Rig_get_chan_all(self, *args)

    def get_channel(self, *args):
        return _Hamlib.Rig_get_channel(self, *args)

    def get_conf(self, *args):
        return _Hamlib.Rig_get_conf(self, *args)

    def recv_dtmf(self, *args):
        return _Hamlib.Rig_recv_dtmf(self, *args)

    def get_info(self):
        return _Hamlib.Rig_get_info(self)

    def get_func(self, *args):
        return _Hamlib.Rig_get_func(self, *args)

    def get_level(self, *args):
        return _Hamlib.Rig_get_level(self, *args)
Rig_swigregister = _Hamlib.Rig_swigregister
Rig_swigregister(Rig)

class channelArray(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, channelArray, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, channelArray, name)
    __repr__ = _swig_repr

    def __init__(self, nelements):
        this = _Hamlib.new_channelArray(nelements)
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this
    __swig_destroy__ = _Hamlib.delete_channelArray
    __del__ = lambda self: None

    def __getitem__(self, index):
        return _Hamlib.channelArray___getitem__(self, index)

    def __setitem__(self, index, value):
        return _Hamlib.channelArray___setitem__(self, index, value)

    def cast(self):
        return _Hamlib.channelArray_cast(self)
    if _newclass:
        frompointer = staticmethod(_Hamlib.channelArray_frompointer)
    else:
        frompointer = _Hamlib.channelArray_frompointer
channelArray_swigregister = _Hamlib.channelArray_swigregister
channelArray_swigregister(channelArray)

def channelArray_frompointer(t):
    return _Hamlib.channelArray_frompointer(t)
channelArray_frompointer = _Hamlib.channelArray_frompointer

class toneArray(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, toneArray, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, toneArray, name)
    __repr__ = _swig_repr

    def __init__(self, nelements):
        this = _Hamlib.new_toneArray(nelements)
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this
    __swig_destroy__ = _Hamlib.delete_toneArray
    __del__ = lambda self: None

    def __getitem__(self, index):
        return _Hamlib.toneArray___getitem__(self, index)

    def __setitem__(self, index, value):
        return _Hamlib.toneArray___setitem__(self, index, value)

    def cast(self):
        return _Hamlib.toneArray_cast(self)
    if _newclass:
        frompointer = staticmethod(_Hamlib.toneArray_frompointer)
    else:
        frompointer = _Hamlib.toneArray_frompointer
toneArray_swigregister = _Hamlib.toneArray_swigregister
toneArray_swigregister(toneArray)

def toneArray_frompointer(t):
    return _Hamlib.toneArray_frompointer(t)
toneArray_frompointer = _Hamlib.toneArray_frompointer

class Rot(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, Rot, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, Rot, name)
    __repr__ = _swig_repr
    __swig_setmethods__["rot"] = _Hamlib.Rot_rot_set
    __swig_getmethods__["rot"] = _Hamlib.Rot_rot_get
    if _newclass:
        rot = _swig_property(_Hamlib.Rot_rot_get, _Hamlib.Rot_rot_set)
    __swig_setmethods__["caps"] = _Hamlib.Rot_caps_set
    __swig_getmethods__["caps"] = _Hamlib.Rot_caps_get
    if _newclass:
        caps = _swig_property(_Hamlib.Rot_caps_get, _Hamlib.Rot_caps_set)
    __swig_setmethods__["state"] = _Hamlib.Rot_state_set
    __swig_getmethods__["state"] = _Hamlib.Rot_state_get
    if _newclass:
        state = _swig_property(_Hamlib.Rot_state_get, _Hamlib.Rot_state_set)
    __swig_setmethods__["error_status"] = _Hamlib.Rot_error_status_set
    __swig_getmethods__["error_status"] = _Hamlib.Rot_error_status_get
    if _newclass:
        error_status = _swig_property(_Hamlib.Rot_error_status_get, _Hamlib.Rot_error_status_set)
    __swig_setmethods__["do_exception"] = _Hamlib.Rot_do_exception_set
    __swig_getmethods__["do_exception"] = _Hamlib.Rot_do_exception_get
    if _newclass:
        do_exception = _swig_property(_Hamlib.Rot_do_exception_get, _Hamlib.Rot_do_exception_set)

    def __init__(self, rot_model):
        this = _Hamlib.new_Rot(rot_model)
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this
    __swig_destroy__ = _Hamlib.delete_Rot
    __del__ = lambda self: None

    def open(self):
        return _Hamlib.Rot_open(self)

    def close(self):
        return _Hamlib.Rot_close(self)

    def set_position(self, _azimuth_t_1, _elevation_t_2):
        return _Hamlib.Rot_set_position(self, _azimuth_t_1, _elevation_t_2)

    def get_position(self):
        return _Hamlib.Rot_get_position(self)

    def stop(self):
        return _Hamlib.Rot_stop(self)

    def park(self):
        return _Hamlib.Rot_park(self)

    def reset(self, _rot_reset_t):
        return _Hamlib.Rot_reset(self, _rot_reset_t)

    def move(self, _int_1, _int_2):
        return _Hamlib.Rot_move(self, _int_1, _int_2)

    def token_lookup(self, _const_char_string):
        return _Hamlib.Rot_token_lookup(self, _const_char_string)

    def set_conf(self, *args):
        return _Hamlib.Rot_set_conf(self, *args)

    def get_conf(self, *args):
        return _Hamlib.Rot_get_conf(self, *args)

    def get_info(self):
        return _Hamlib.Rot_get_info(self)
Rot_swigregister = _Hamlib.Rot_swigregister
Rot_swigregister(Rot)

# This file is compatible with both classic and new-style classes.