This file is indexed.

/usr/lib/python2.7/dist-packages/gnucash/gnucash_core_c.py is in python-gnucash 1:2.6.12-1.

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
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
3762
3763
3764
3765
3766
3767
3768
3769
3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
3782
3783
3784
3785
3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
3802
3803
3804
3805
3806
3807
3808
3809
3810
3811
3812
3813
3814
3815
3816
3817
3818
3819
3820
3821
3822
3823
3824
3825
3826
3827
3828
3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
3847
3848
3849
3850
3851
3852
3853
3854
3855
3856
3857
3858
3859
3860
3861
3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
3872
3873
3874
3875
3876
3877
3878
3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
3907
3908
3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921
3922
3923
3924
3925
3926
3927
3928
3929
3930
3931
3932
3933
3934
3935
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946
3947
3948
3949
3950
3951
3952
3953
3954
3955
3956
3957
3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
3995
3996
3997
3998
3999
4000
4001
4002
4003
4004
4005
4006
4007
4008
4009
4010
4011
4012
4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
4023
4024
4025
4026
4027
4028
4029
4030
4031
4032
4033
4034
4035
4036
4037
4038
4039
4040
4041
4042
4043
4044
4045
4046
4047
4048
4049
4050
4051
4052
4053
4054
4055
4056
4057
4058
4059
4060
4061
4062
4063
4064
4065
4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
4086
4087
4088
4089
4090
4091
4092
4093
4094
4095
4096
4097
4098
4099
4100
4101
4102
4103
4104
4105
4106
4107
4108
4109
4110
4111
4112
4113
4114
4115
4116
4117
4118
4119
4120
4121
4122
4123
4124
4125
4126
4127
4128
4129
4130
4131
4132
4133
4134
4135
4136
4137
4138
4139
4140
4141
4142
4143
4144
4145
4146
4147
4148
4149
4150
4151
4152
4153
4154
4155
4156
4157
4158
4159
4160
4161
4162
4163
4164
4165
4166
4167
4168
4169
4170
4171
4172
4173
4174
4175
4176
4177
4178
4179
4180
4181
4182
4183
4184
4185
4186
4187
4188
4189
4190
4191
4192
4193
4194
4195
4196
4197
4198
4199
4200
4201
4202
4203
4204
4205
4206
4207
4208
4209
4210
4211
4212
4213
4214
4215
4216
4217
4218
4219
4220
4221
4222
4223
4224
4225
4226
4227
4228
4229
4230
4231
4232
4233
4234
4235
4236
4237
4238
4239
4240
4241
4242
4243
4244
4245
4246
4247
4248
4249
4250
4251
4252
4253
4254
4255
4256
4257
4258
4259
4260
4261
4262
4263
4264
4265
4266
4267
4268
4269
4270
4271
4272
4273
4274
4275
4276
4277
4278
4279
4280
4281
4282
4283
4284
4285
4286
4287
4288
4289
4290
4291
4292
4293
4294
4295
4296
4297
4298
4299
4300
4301
4302
4303
4304
4305
4306
4307
4308
4309
4310
4311
4312
4313
4314
4315
4316
4317
4318
4319
4320
4321
4322
4323
4324
4325
4326
4327
4328
4329
4330
4331
4332
4333
4334
4335
4336
4337
4338
4339
4340
4341
4342
4343
4344
4345
4346
4347
4348
4349
4350
4351
4352
4353
4354
4355
4356
4357
4358
4359
4360
4361
4362
4363
4364
4365
4366
4367
4368
4369
4370
4371
4372
4373
4374
4375
4376
4377
4378
4379
4380
4381
4382
4383
4384
4385
4386
4387
4388
4389
4390
4391
4392
4393
4394
4395
4396
4397
4398
4399
4400
4401
4402
4403
4404
4405
4406
4407
4408
4409
4410
4411
4412
4413
4414
4415
4416
4417
4418
4419
4420
4421
4422
4423
4424
4425
4426
4427
4428
4429
4430
4431
4432
4433
4434
4435
4436
4437
4438
4439
4440
4441
4442
4443
4444
4445
4446
4447
4448
4449
4450
4451
4452
4453
4454
4455
4456
4457
4458
4459
4460
4461
4462
4463
4464
4465
4466
4467
4468
4469
4470
4471
4472
4473
4474
4475
4476
4477
4478
4479
4480
4481
4482
4483
4484
4485
4486
4487
4488
4489
4490
4491
4492
4493
4494
4495
4496
4497
4498
4499
4500
4501
4502
4503
4504
4505
4506
4507
4508
4509
4510
4511
4512
4513
4514
4515
4516
4517
4518
4519
4520
4521
4522
4523
4524
4525
4526
4527
4528
4529
4530
4531
4532
4533
4534
4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
4547
4548
4549
4550
4551
4552
4553
4554
4555
4556
4557
4558
4559
4560
4561
4562
4563
4564
4565
4566
4567
4568
4569
4570
4571
4572
4573
4574
4575
4576
4577
4578
4579
4580
4581
4582
4583
4584
4585
4586
4587
4588
4589
4590
4591
4592
4593
4594
4595
4596
4597
4598
4599
4600
4601
4602
4603
4604
4605
4606
4607
4608
4609
4610
4611
4612
4613
4614
4615
4616
4617
4618
4619
4620
4621
4622
4623
4624
4625
4626
4627
4628
4629
4630
4631
4632
4633
4634
4635
4636
4637
4638
4639
4640
4641
4642
4643
4644
4645
4646
4647
4648
4649
4650
4651
4652
4653
4654
4655
4656
4657
4658
4659
4660
4661
4662
4663
4664
4665
4666
4667
4668
4669
4670
4671
4672
4673
4674
4675
4676
4677
4678
4679
4680
4681
4682
4683
4684
4685
4686
4687
4688
4689
4690
4691
4692
4693
4694
4695
4696
4697
4698
4699
4700
4701
4702
4703
4704
4705
4706
4707
4708
4709
4710
4711
4712
4713
4714
4715
4716
4717
4718
4719
4720
4721
4722
4723
4724
4725
4726
4727
4728
4729
4730
4731
4732
4733
4734
4735
4736
4737
4738
4739
4740
4741
4742
4743
4744
4745
4746
4747
4748
4749
4750
4751
4752
4753
4754
4755
4756
4757
4758
4759
4760
4761
4762
4763
4764
4765
4766
4767
4768
4769
4770
4771
4772
4773
4774
4775
4776
4777
4778
4779
4780
4781
4782
4783
4784
4785
4786
4787
4788
4789
4790
4791
4792
4793
4794
4795
4796
4797
4798
4799
4800
4801
4802
4803
4804
4805
4806
4807
4808
4809
4810
4811
4812
4813
4814
4815
4816
4817
4818
4819
4820
4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
4839
4840
4841
4842
4843
4844
4845
4846
4847
4848
4849
4850
4851
4852
4853
4854
4855
4856
4857
4858
4859
4860
4861
4862
4863
4864
4865
4866
4867
4868
4869
4870
4871
4872
4873
4874
4875
4876
4877
4878
4879
4880
4881
4882
4883
4884
4885
4886
4887
4888
4889
4890
4891
4892
4893
4894
4895
4896
4897
4898
4899
4900
4901
4902
4903
4904
4905
4906
4907
4908
4909
4910
4911
# This file was automatically generated by SWIG (http://www.swig.org).
# Version 2.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
if 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('_gnucash_core_c', [dirname(__file__)])
        except ImportError:
            import _gnucash_core_c
            return _gnucash_core_c
        if fp is not None:
            try:
                _mod = imp.load_module('_gnucash_core_c', fp, pathname, description)
            finally:
                fp.close()
            return _mod
    _gnucash_core_c = swig_import_helper()
    del swig_import_helper
else:
    import _gnucash_core_c
del version_info
try:
    _swig_property = property
except NameError:
    pass # Python < 2.2 doesn't have 'property'.
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):
        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(name)

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

try:
    _object = object
    _newclass = 1
except AttributeError:
    class _object : pass
    _newclass = 0



def gncSplitGetGUID(*args):
  """gncSplitGetGUID(Split * x) -> GncGUID"""
  return _gnucash_core_c.gncSplitGetGUID(*args)

def gncTransGetGUID(*args):
  """gncTransGetGUID(Transaction * x) -> GncGUID"""
  return _gnucash_core_c.gncTransGetGUID(*args)

def gncAccountGetGUID(*args):
  """gncAccountGetGUID(Account * x) -> GncGUID"""
  return _gnucash_core_c.gncAccountGetGUID(*args)

def gnc_split_get_type():
  """gnc_split_get_type() -> GType"""
  return _gnucash_core_c.gnc_split_get_type()
CREC = _gnucash_core_c.CREC
YREC = _gnucash_core_c.YREC
FREC = _gnucash_core_c.FREC
NREC = _gnucash_core_c.NREC
VREC = _gnucash_core_c.VREC

def xaccSplitConvertAmount(*args):
  """xaccSplitConvertAmount(Split const * split, Account const * account) -> _gnc_numeric"""
  return _gnucash_core_c.xaccSplitConvertAmount(*args)

def xaccMallocSplit(*args):
  """xaccMallocSplit(QofBook * book) -> Split *"""
  return _gnucash_core_c.xaccMallocSplit(*args)

def xaccSplitReinit(*args):
  """xaccSplitReinit(Split * split)"""
  return _gnucash_core_c.xaccSplitReinit(*args)

def xaccSplitDestroy(*args):
  """xaccSplitDestroy(Split * split) -> gboolean"""
  return _gnucash_core_c.xaccSplitDestroy(*args)

def xaccSplitCopyOnto(*args):
  """xaccSplitCopyOnto(Split const * from_split, Split * to_split)"""
  return _gnucash_core_c.xaccSplitCopyOnto(*args)

def xaccSplitGetBook(*args):
  """xaccSplitGetBook(Split const * split) -> QofBook *"""
  return _gnucash_core_c.xaccSplitGetBook(*args)

def xaccSplitGetAccount(*args):
  """xaccSplitGetAccount(Split const * split) -> Account *"""
  return _gnucash_core_c.xaccSplitGetAccount(*args)

def xaccSplitSetAccount(*args):
  """xaccSplitSetAccount(Split * s, Account * acc)"""
  return _gnucash_core_c.xaccSplitSetAccount(*args)

def xaccSplitGetParent(*args):
  """xaccSplitGetParent(Split const * split) -> Transaction *"""
  return _gnucash_core_c.xaccSplitGetParent(*args)

def xaccSplitSetParent(*args):
  """xaccSplitSetParent(Split * split, Transaction * trans)"""
  return _gnucash_core_c.xaccSplitSetParent(*args)

def xaccSplitGetLot(*args):
  """xaccSplitGetLot(Split const * split) -> GNCLot *"""
  return _gnucash_core_c.xaccSplitGetLot(*args)

def xaccSplitSetLot(*args):
  """xaccSplitSetLot(Split * split, GNCLot * lot)"""
  return _gnucash_core_c.xaccSplitSetLot(*args)

def xaccSplitGetSlots(*args):
  """xaccSplitGetSlots(Split const * split) -> KvpFrame *"""
  return _gnucash_core_c.xaccSplitGetSlots(*args)

def xaccSplitSetSlots_nc(*args):
  """xaccSplitSetSlots_nc(Split * s, KvpFrame * frm)"""
  return _gnucash_core_c.xaccSplitSetSlots_nc(*args)

def xaccSplitSetMemo(*args):
  """xaccSplitSetMemo(Split * split, char const * memo)"""
  return _gnucash_core_c.xaccSplitSetMemo(*args)

def xaccSplitGetMemo(*args):
  """xaccSplitGetMemo(Split const * split) -> char const *"""
  return _gnucash_core_c.xaccSplitGetMemo(*args)

def xaccSplitSetAction(*args):
  """xaccSplitSetAction(Split * split, char const * action)"""
  return _gnucash_core_c.xaccSplitSetAction(*args)

def xaccSplitGetAction(*args):
  """xaccSplitGetAction(Split const * split) -> char const *"""
  return _gnucash_core_c.xaccSplitGetAction(*args)

def xaccSplitSetReconcile(*args):
  """xaccSplitSetReconcile(Split * split, char reconciled_flag)"""
  return _gnucash_core_c.xaccSplitSetReconcile(*args)

def xaccSplitGetReconcile(*args):
  """xaccSplitGetReconcile(Split const * split) -> char"""
  return _gnucash_core_c.xaccSplitGetReconcile(*args)

def xaccSplitSetDateReconciledSecs(*args):
  """xaccSplitSetDateReconciledSecs(Split * split, time64 time)"""
  return _gnucash_core_c.xaccSplitSetDateReconciledSecs(*args)

def xaccSplitSetDateReconciledTS(*args):
  """xaccSplitSetDateReconciledTS(Split * split, Timespec * ts)"""
  return _gnucash_core_c.xaccSplitSetDateReconciledTS(*args)

def xaccSplitGetDateReconciledTS(*args):
  """xaccSplitGetDateReconciledTS(Split const * split, Timespec * ts)"""
  return _gnucash_core_c.xaccSplitGetDateReconciledTS(*args)

def xaccSplitRetDateReconciledTS(*args):
  """xaccSplitRetDateReconciledTS(Split const * split) -> Timespec"""
  return _gnucash_core_c.xaccSplitRetDateReconciledTS(*args)

def xaccSplitGetDateReconciled(*args):
  """xaccSplitGetDateReconciled(Split const * split) -> time64"""
  return _gnucash_core_c.xaccSplitGetDateReconciled(*args)

def xaccSplitSetAmount(*args):
  """xaccSplitSetAmount(Split * split, _gnc_numeric amount)"""
  return _gnucash_core_c.xaccSplitSetAmount(*args)

def xaccSplitGetAmount(*args):
  """xaccSplitGetAmount(Split const * split) -> _gnc_numeric"""
  return _gnucash_core_c.xaccSplitGetAmount(*args)

def xaccSplitSetValue(*args):
  """xaccSplitSetValue(Split * split, _gnc_numeric value)"""
  return _gnucash_core_c.xaccSplitSetValue(*args)

def xaccSplitGetValue(*args):
  """xaccSplitGetValue(Split const * split) -> _gnc_numeric"""
  return _gnucash_core_c.xaccSplitGetValue(*args)

def xaccSplitSetSharePriceAndAmount(*args):
  """xaccSplitSetSharePriceAndAmount(Split * split, _gnc_numeric price, _gnc_numeric amount)"""
  return _gnucash_core_c.xaccSplitSetSharePriceAndAmount(*args)

def xaccSplitGetSharePrice(*args):
  """xaccSplitGetSharePrice(Split const * split) -> _gnc_numeric"""
  return _gnucash_core_c.xaccSplitGetSharePrice(*args)

def xaccSplitSetBaseValue(*args):
  """xaccSplitSetBaseValue(Split * split, _gnc_numeric value, gnc_commodity const * base_currency)"""
  return _gnucash_core_c.xaccSplitSetBaseValue(*args)

def xaccSplitGetBaseValue(*args):
  """xaccSplitGetBaseValue(Split const * split, gnc_commodity const * base_currency) -> _gnc_numeric"""
  return _gnucash_core_c.xaccSplitGetBaseValue(*args)

def xaccSplitGetBalance(*args):
  """xaccSplitGetBalance(Split const * split) -> _gnc_numeric"""
  return _gnucash_core_c.xaccSplitGetBalance(*args)

def xaccSplitGetClearedBalance(*args):
  """xaccSplitGetClearedBalance(Split const * split) -> _gnc_numeric"""
  return _gnucash_core_c.xaccSplitGetClearedBalance(*args)

def xaccSplitGetReconciledBalance(*args):
  """xaccSplitGetReconciledBalance(Split const * split) -> _gnc_numeric"""
  return _gnucash_core_c.xaccSplitGetReconciledBalance(*args)

def xaccSplitEqual(*args):
  """
    xaccSplitEqual(Split const * sa, Split const * sb, gboolean check_guids, gboolean check_balances, 
        gboolean check_txn_splits) -> gboolean
    """
  return _gnucash_core_c.xaccSplitEqual(*args)

def xaccSplitLookup(*args):
  """xaccSplitLookup(GncGUID guid, QofBook * book) -> Split *"""
  return _gnucash_core_c.xaccSplitLookup(*args)

def xaccSplitListGetUniqueTransactions(*args):
  """xaccSplitListGetUniqueTransactions(GList const * splits) -> GList *"""
  return _gnucash_core_c.xaccSplitListGetUniqueTransactions(*args)

def xaccSplitGetOtherSplit(*args):
  """xaccSplitGetOtherSplit(Split const * split) -> Split *"""
  return _gnucash_core_c.xaccSplitGetOtherSplit(*args)

def xaccSplitGetType(*args):
  """xaccSplitGetType(Split const * s) -> char const *"""
  return _gnucash_core_c.xaccSplitGetType(*args)

def xaccSplitMakeStockSplit(*args):
  """xaccSplitMakeStockSplit(Split * s)"""
  return _gnucash_core_c.xaccSplitMakeStockSplit(*args)

def xaccSplitOrder(*args):
  """xaccSplitOrder(Split const * sa, Split const * sb) -> gint"""
  return _gnucash_core_c.xaccSplitOrder(*args)

def xaccSplitOrderDateOnly(*args):
  """xaccSplitOrderDateOnly(Split const * sa, Split const * sb) -> gint"""
  return _gnucash_core_c.xaccSplitOrderDateOnly(*args)

def xaccSplitCompareAccountFullNames(*args):
  """xaccSplitCompareAccountFullNames(Split const * sa, Split const * sb) -> int"""
  return _gnucash_core_c.xaccSplitCompareAccountFullNames(*args)

def xaccSplitCompareAccountCodes(*args):
  """xaccSplitCompareAccountCodes(Split const * sa, Split const * sb) -> int"""
  return _gnucash_core_c.xaccSplitCompareAccountCodes(*args)

def xaccSplitCompareOtherAccountFullNames(*args):
  """xaccSplitCompareOtherAccountFullNames(Split const * sa, Split const * sb) -> int"""
  return _gnucash_core_c.xaccSplitCompareOtherAccountFullNames(*args)

def xaccSplitCompareOtherAccountCodes(*args):
  """xaccSplitCompareOtherAccountCodes(Split const * sa, Split const * sb) -> int"""
  return _gnucash_core_c.xaccSplitCompareOtherAccountCodes(*args)

def xaccSplitGetCorrAccountFullName(*args):
  """xaccSplitGetCorrAccountFullName(Split const * sa) -> char *"""
  return _gnucash_core_c.xaccSplitGetCorrAccountFullName(*args)

def xaccSplitGetCorrAccountName(*args):
  """xaccSplitGetCorrAccountName(Split const * sa) -> char const *"""
  return _gnucash_core_c.xaccSplitGetCorrAccountName(*args)

def xaccSplitGetCorrAccountCode(*args):
  """xaccSplitGetCorrAccountCode(Split const * sa) -> char const *"""
  return _gnucash_core_c.xaccSplitGetCorrAccountCode(*args)

def xaccSplitSetSharePrice(*args):
  """xaccSplitSetSharePrice(Split * split, _gnc_numeric price)"""
  return _gnucash_core_c.xaccSplitSetSharePrice(*args)

def xaccSplitVoidFormerAmount(*args):
  """xaccSplitVoidFormerAmount(Split const * split) -> _gnc_numeric"""
  return _gnucash_core_c.xaccSplitVoidFormerAmount(*args)

def xaccSplitVoidFormerValue(*args):
  """xaccSplitVoidFormerValue(Split const * split) -> _gnc_numeric"""
  return _gnucash_core_c.xaccSplitVoidFormerValue(*args)
SPLIT_KVP = _gnucash_core_c.SPLIT_KVP
SPLIT_DATE_RECONCILED = _gnucash_core_c.SPLIT_DATE_RECONCILED
SPLIT_BALANCE = _gnucash_core_c.SPLIT_BALANCE
SPLIT_CLEARED_BALANCE = _gnucash_core_c.SPLIT_CLEARED_BALANCE
SPLIT_RECONCILED_BALANCE = _gnucash_core_c.SPLIT_RECONCILED_BALANCE
SPLIT_MEMO = _gnucash_core_c.SPLIT_MEMO
SPLIT_ACTION = _gnucash_core_c.SPLIT_ACTION
SPLIT_RECONCILE = _gnucash_core_c.SPLIT_RECONCILE
SPLIT_AMOUNT = _gnucash_core_c.SPLIT_AMOUNT
SPLIT_SHARE_PRICE = _gnucash_core_c.SPLIT_SHARE_PRICE
SPLIT_VALUE = _gnucash_core_c.SPLIT_VALUE
SPLIT_TYPE = _gnucash_core_c.SPLIT_TYPE
SPLIT_VOIDED_AMOUNT = _gnucash_core_c.SPLIT_VOIDED_AMOUNT
SPLIT_VOIDED_VALUE = _gnucash_core_c.SPLIT_VOIDED_VALUE
SPLIT_LOT = _gnucash_core_c.SPLIT_LOT
SPLIT_TRANS = _gnucash_core_c.SPLIT_TRANS
SPLIT_ACCOUNT = _gnucash_core_c.SPLIT_ACCOUNT
SPLIT_ACCOUNT_GUID = _gnucash_core_c.SPLIT_ACCOUNT_GUID
SPLIT_ACCT_FULLNAME = _gnucash_core_c.SPLIT_ACCT_FULLNAME
SPLIT_CORR_ACCT_NAME = _gnucash_core_c.SPLIT_CORR_ACCT_NAME
SPLIT_CORR_ACCT_CODE = _gnucash_core_c.SPLIT_CORR_ACCT_CODE

def gnc_account_get_children(*args):
  """gnc_account_get_children(Account const * account) -> AccountList *"""
  return _gnucash_core_c.gnc_account_get_children(*args)

def gnc_account_get_children_sorted(*args):
  """gnc_account_get_children_sorted(Account const * account) -> AccountList *"""
  return _gnucash_core_c.gnc_account_get_children_sorted(*args)

def gnc_account_get_descendants(*args):
  """gnc_account_get_descendants(Account const * account) -> AccountList *"""
  return _gnucash_core_c.gnc_account_get_descendants(*args)

def gnc_account_get_descendants_sorted(*args):
  """gnc_account_get_descendants_sorted(Account const * account) -> AccountList *"""
  return _gnucash_core_c.gnc_account_get_descendants_sorted(*args)
class AccountClass(_object):
    """Proxy of C AccountClass struct"""
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, AccountClass, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, AccountClass, name)
    __repr__ = _swig_repr
    __swig_setmethods__["parent_class"] = _gnucash_core_c.AccountClass_parent_class_set
    __swig_getmethods__["parent_class"] = _gnucash_core_c.AccountClass_parent_class_get
    if _newclass:parent_class = _swig_property(_gnucash_core_c.AccountClass_parent_class_get, _gnucash_core_c.AccountClass_parent_class_set)
    def __init__(self): 
        """__init__(AccountClass self) -> AccountClass"""
        this = _gnucash_core_c.new_AccountClass()
        try: self.this.append(this)
        except: self.this = this
    __swig_destroy__ = _gnucash_core_c.delete_AccountClass
    __del__ = lambda self : None;
AccountClass_swigregister = _gnucash_core_c.AccountClass_swigregister
AccountClass_swigregister(AccountClass)


def gnc_account_get_type():
  """gnc_account_get_type() -> GType"""
  return _gnucash_core_c.gnc_account_get_type()
ACCT_TYPE_INVALID = _gnucash_core_c.ACCT_TYPE_INVALID
ACCT_TYPE_NONE = _gnucash_core_c.ACCT_TYPE_NONE
ACCT_TYPE_BANK = _gnucash_core_c.ACCT_TYPE_BANK
ACCT_TYPE_CASH = _gnucash_core_c.ACCT_TYPE_CASH
ACCT_TYPE_CREDIT = _gnucash_core_c.ACCT_TYPE_CREDIT
ACCT_TYPE_ASSET = _gnucash_core_c.ACCT_TYPE_ASSET
ACCT_TYPE_LIABILITY = _gnucash_core_c.ACCT_TYPE_LIABILITY
ACCT_TYPE_STOCK = _gnucash_core_c.ACCT_TYPE_STOCK
ACCT_TYPE_MUTUAL = _gnucash_core_c.ACCT_TYPE_MUTUAL
ACCT_TYPE_CURRENCY = _gnucash_core_c.ACCT_TYPE_CURRENCY
ACCT_TYPE_INCOME = _gnucash_core_c.ACCT_TYPE_INCOME
ACCT_TYPE_EXPENSE = _gnucash_core_c.ACCT_TYPE_EXPENSE
ACCT_TYPE_EQUITY = _gnucash_core_c.ACCT_TYPE_EQUITY
ACCT_TYPE_RECEIVABLE = _gnucash_core_c.ACCT_TYPE_RECEIVABLE
ACCT_TYPE_PAYABLE = _gnucash_core_c.ACCT_TYPE_PAYABLE
ACCT_TYPE_ROOT = _gnucash_core_c.ACCT_TYPE_ROOT
ACCT_TYPE_TRADING = _gnucash_core_c.ACCT_TYPE_TRADING
NUM_ACCOUNT_TYPES = _gnucash_core_c.NUM_ACCOUNT_TYPES
ACCT_TYPE_CHECKING = _gnucash_core_c.ACCT_TYPE_CHECKING
ACCT_TYPE_SAVINGS = _gnucash_core_c.ACCT_TYPE_SAVINGS
ACCT_TYPE_MONEYMRKT = _gnucash_core_c.ACCT_TYPE_MONEYMRKT
ACCT_TYPE_CREDITLINE = _gnucash_core_c.ACCT_TYPE_CREDITLINE
ACCT_TYPE_LAST = _gnucash_core_c.ACCT_TYPE_LAST

def xaccMallocAccount(*args):
  """xaccMallocAccount(QofBook * book) -> Account *"""
  return _gnucash_core_c.xaccMallocAccount(*args)

def gnc_account_create_root(*args):
  """gnc_account_create_root(QofBook * book) -> Account *"""
  return _gnucash_core_c.gnc_account_create_root(*args)

def xaccCloneAccount(*args):
  """xaccCloneAccount(Account const * source, QofBook * book) -> Account *"""
  return _gnucash_core_c.xaccCloneAccount(*args)

def xaccAccountBeginEdit(*args):
  """xaccAccountBeginEdit(Account * account)"""
  return _gnucash_core_c.xaccAccountBeginEdit(*args)

def xaccAccountCommitEdit(*args):
  """xaccAccountCommitEdit(Account * account)"""
  return _gnucash_core_c.xaccAccountCommitEdit(*args)

def xaccAccountDestroy(*args):
  """xaccAccountDestroy(Account * account)"""
  return _gnucash_core_c.xaccAccountDestroy(*args)

def xaccAccountEqual(*args):
  """xaccAccountEqual(Account const * a, Account const * b, gboolean check_guids) -> gboolean"""
  return _gnucash_core_c.xaccAccountEqual(*args)

def xaccAccountOrder(*args):
  """xaccAccountOrder(Account const * account_1, Account const * account_2) -> int"""
  return _gnucash_core_c.xaccAccountOrder(*args)

def gnc_get_account_separator_string():
  """gnc_get_account_separator_string() -> gchar const *"""
  return _gnucash_core_c.gnc_get_account_separator_string()

def gnc_get_account_separator():
  """gnc_get_account_separator() -> gunichar"""
  return _gnucash_core_c.gnc_get_account_separator()

def gnc_set_account_separator(*args):
  """gnc_set_account_separator(gchar const * separator)"""
  return _gnucash_core_c.gnc_set_account_separator(*args)

def gnc_book_get_root_account(*args):
  """gnc_book_get_root_account(QofBook * book) -> Account *"""
  return _gnucash_core_c.gnc_book_get_root_account(*args)

def gnc_book_set_root_account(*args):
  """gnc_book_set_root_account(QofBook * book, Account * root)"""
  return _gnucash_core_c.gnc_book_set_root_account(*args)

def xaccAccountLookup(*args):
  """xaccAccountLookup(GncGUID guid, QofBook * book) -> Account *"""
  return _gnucash_core_c.xaccAccountLookup(*args)

def gnc_account_name_violations_errmsg(*args):
  """gnc_account_name_violations_errmsg(gchar const * separator, GList * invalid_account_names) -> gchar *"""
  return _gnucash_core_c.gnc_account_name_violations_errmsg(*args)

def gnc_account_list_name_violations(*args):
  """gnc_account_list_name_violations(QofBook * book, gchar const * separator) -> GList *"""
  return _gnucash_core_c.gnc_account_list_name_violations(*args)

def gnc_account_get_book(*args):
  """gnc_account_get_book(Account const * account) -> QofBook *"""
  return _gnucash_core_c.gnc_account_get_book(*args)

def xaccAccountSetType(*args):
  """xaccAccountSetType(Account * account, GNCAccountType arg2)"""
  return _gnucash_core_c.xaccAccountSetType(*args)

def xaccAccountSetName(*args):
  """xaccAccountSetName(Account * account, char const * name)"""
  return _gnucash_core_c.xaccAccountSetName(*args)

def xaccAccountSetCode(*args):
  """xaccAccountSetCode(Account * account, char const * code)"""
  return _gnucash_core_c.xaccAccountSetCode(*args)

def xaccAccountSetDescription(*args):
  """xaccAccountSetDescription(Account * account, char const * desc)"""
  return _gnucash_core_c.xaccAccountSetDescription(*args)

def xaccAccountSetColor(*args):
  """xaccAccountSetColor(Account * account, char const * color)"""
  return _gnucash_core_c.xaccAccountSetColor(*args)

def xaccAccountSetFilter(*args):
  """xaccAccountSetFilter(Account * account, char const * filter)"""
  return _gnucash_core_c.xaccAccountSetFilter(*args)

def xaccAccountSetSortOrder(*args):
  """xaccAccountSetSortOrder(Account * account, char const * sortorder)"""
  return _gnucash_core_c.xaccAccountSetSortOrder(*args)

def xaccAccountSetNotes(*args):
  """xaccAccountSetNotes(Account * account, char const * notes)"""
  return _gnucash_core_c.xaccAccountSetNotes(*args)

def xaccAccountSetLastNum(*args):
  """xaccAccountSetLastNum(Account * account, char const * num)"""
  return _gnucash_core_c.xaccAccountSetLastNum(*args)

def gnc_account_set_policy(*args):
  """gnc_account_set_policy(Account * account, GNCPolicy * policy)"""
  return _gnucash_core_c.gnc_account_set_policy(*args)

def xaccAccountGetType(*args):
  """xaccAccountGetType(Account const * account) -> GNCAccountType"""
  return _gnucash_core_c.xaccAccountGetType(*args)

def xaccAccountIsPriced(*args):
  """xaccAccountIsPriced(Account const * acc) -> gboolean"""
  return _gnucash_core_c.xaccAccountIsPriced(*args)

def gnc_account_set_start_balance(*args):
  """gnc_account_set_start_balance(Account * acc, _gnc_numeric start_baln)"""
  return _gnucash_core_c.gnc_account_set_start_balance(*args)

def gnc_account_set_start_cleared_balance(*args):
  """gnc_account_set_start_cleared_balance(Account * acc, _gnc_numeric start_baln)"""
  return _gnucash_core_c.gnc_account_set_start_cleared_balance(*args)

def gnc_account_set_start_reconciled_balance(*args):
  """gnc_account_set_start_reconciled_balance(Account * acc, _gnc_numeric start_baln)"""
  return _gnucash_core_c.gnc_account_set_start_reconciled_balance(*args)

def gnc_account_set_balance_dirty(*args):
  """gnc_account_set_balance_dirty(Account * acc)"""
  return _gnucash_core_c.gnc_account_set_balance_dirty(*args)

def gnc_account_set_sort_dirty(*args):
  """gnc_account_set_sort_dirty(Account * acc)"""
  return _gnucash_core_c.gnc_account_set_sort_dirty(*args)

def gnc_account_insert_split(*args):
  """gnc_account_insert_split(Account * acc, Split * s) -> gboolean"""
  return _gnucash_core_c.gnc_account_insert_split(*args)

def gnc_account_remove_split(*args):
  """gnc_account_remove_split(Account * acc, Split * s) -> gboolean"""
  return _gnucash_core_c.gnc_account_remove_split(*args)

def xaccAccountGetName(*args):
  """xaccAccountGetName(Account const * account) -> char const *"""
  return _gnucash_core_c.xaccAccountGetName(*args)

def xaccAccountGetCode(*args):
  """xaccAccountGetCode(Account const * account) -> char const *"""
  return _gnucash_core_c.xaccAccountGetCode(*args)

def xaccAccountGetDescription(*args):
  """xaccAccountGetDescription(Account const * account) -> char const *"""
  return _gnucash_core_c.xaccAccountGetDescription(*args)

def xaccAccountGetColor(*args):
  """xaccAccountGetColor(Account const * account) -> char const *"""
  return _gnucash_core_c.xaccAccountGetColor(*args)

def xaccAccountGetFilter(*args):
  """xaccAccountGetFilter(Account const * account) -> char const *"""
  return _gnucash_core_c.xaccAccountGetFilter(*args)

def xaccAccountGetSortOrder(*args):
  """xaccAccountGetSortOrder(Account const * account) -> char const *"""
  return _gnucash_core_c.xaccAccountGetSortOrder(*args)

def xaccAccountGetNotes(*args):
  """xaccAccountGetNotes(Account const * account) -> char const *"""
  return _gnucash_core_c.xaccAccountGetNotes(*args)

def xaccAccountGetLastNum(*args):
  """xaccAccountGetLastNum(Account const * account) -> char const *"""
  return _gnucash_core_c.xaccAccountGetLastNum(*args)

def gnc_account_get_policy(*args):
  """gnc_account_get_policy(Account * account) -> GNCPolicy *"""
  return _gnucash_core_c.gnc_account_get_policy(*args)

def xaccAccountRecomputeBalance(*args):
  """xaccAccountRecomputeBalance(Account * arg1)"""
  return _gnucash_core_c.xaccAccountRecomputeBalance(*args)

def xaccAccountSortSplits(*args):
  """xaccAccountSortSplits(Account * acc, gboolean force)"""
  return _gnucash_core_c.xaccAccountSortSplits(*args)

def gnc_account_get_full_name(*args):
  """gnc_account_get_full_name(Account const * account) -> gchar *"""
  return _gnucash_core_c.gnc_account_get_full_name(*args)

def dxaccAccountSetPriceSrc(*args):
  """dxaccAccountSetPriceSrc(Account * account, char const * src)"""
  return _gnucash_core_c.dxaccAccountSetPriceSrc(*args)

def dxaccAccountGetPriceSrc(*args):
  """dxaccAccountGetPriceSrc(Account const * account) -> char const *"""
  return _gnucash_core_c.dxaccAccountGetPriceSrc(*args)

def xaccAccountGetAutoInterestXfer(*args):
  """xaccAccountGetAutoInterestXfer(Account const * account, gboolean default_value) -> gboolean"""
  return _gnucash_core_c.xaccAccountGetAutoInterestXfer(*args)

def xaccAccountSetAutoInterestXfer(*args):
  """xaccAccountSetAutoInterestXfer(Account * account, gboolean value)"""
  return _gnucash_core_c.xaccAccountSetAutoInterestXfer(*args)

def xaccAccountSetCommodity(*args):
  """xaccAccountSetCommodity(Account * account, gnc_commodity * comm)"""
  return _gnucash_core_c.xaccAccountSetCommodity(*args)

def xaccAccountGetCommodity(*args):
  """xaccAccountGetCommodity(Account const * account) -> gnc_commodity *"""
  return _gnucash_core_c.xaccAccountGetCommodity(*args)

def gnc_account_get_currency_or_parent(*args):
  """gnc_account_get_currency_or_parent(Account const * account) -> gnc_commodity *"""
  return _gnucash_core_c.gnc_account_get_currency_or_parent(*args)

def xaccAccountGetCommoditySCU(*args):
  """xaccAccountGetCommoditySCU(Account const * account) -> int"""
  return _gnucash_core_c.xaccAccountGetCommoditySCU(*args)

def xaccAccountGetCommoditySCUi(*args):
  """xaccAccountGetCommoditySCUi(Account const * account) -> int"""
  return _gnucash_core_c.xaccAccountGetCommoditySCUi(*args)

def xaccAccountSetCommoditySCU(*args):
  """xaccAccountSetCommoditySCU(Account * account, int frac)"""
  return _gnucash_core_c.xaccAccountSetCommoditySCU(*args)

def xaccAccountSetNonStdSCU(*args):
  """xaccAccountSetNonStdSCU(Account * account, gboolean flag)"""
  return _gnucash_core_c.xaccAccountSetNonStdSCU(*args)

def xaccAccountGetNonStdSCU(*args):
  """xaccAccountGetNonStdSCU(Account const * account) -> gboolean"""
  return _gnucash_core_c.xaccAccountGetNonStdSCU(*args)

def xaccAccountGetBalance(*args):
  """xaccAccountGetBalance(Account const * account) -> _gnc_numeric"""
  return _gnucash_core_c.xaccAccountGetBalance(*args)

def xaccAccountGetClearedBalance(*args):
  """xaccAccountGetClearedBalance(Account const * account) -> _gnc_numeric"""
  return _gnucash_core_c.xaccAccountGetClearedBalance(*args)

def xaccAccountGetReconciledBalance(*args):
  """xaccAccountGetReconciledBalance(Account const * account) -> _gnc_numeric"""
  return _gnucash_core_c.xaccAccountGetReconciledBalance(*args)

def xaccAccountGetPresentBalance(*args):
  """xaccAccountGetPresentBalance(Account const * account) -> _gnc_numeric"""
  return _gnucash_core_c.xaccAccountGetPresentBalance(*args)

def xaccAccountGetProjectedMinimumBalance(*args):
  """xaccAccountGetProjectedMinimumBalance(Account const * account) -> _gnc_numeric"""
  return _gnucash_core_c.xaccAccountGetProjectedMinimumBalance(*args)

def xaccAccountGetBalanceAsOfDate(*args):
  """xaccAccountGetBalanceAsOfDate(Account * account, time64 date) -> _gnc_numeric"""
  return _gnucash_core_c.xaccAccountGetBalanceAsOfDate(*args)

def xaccAccountConvertBalanceToCurrency(*args):
  """
    xaccAccountConvertBalanceToCurrency(Account const * account, _gnc_numeric balance, gnc_commodity const * balance_currency, 
        gnc_commodity const * new_currency) -> _gnc_numeric
    """
  return _gnucash_core_c.xaccAccountConvertBalanceToCurrency(*args)

def xaccAccountConvertBalanceToCurrencyAsOfDate(*args):
  """
    xaccAccountConvertBalanceToCurrencyAsOfDate(Account const * account, _gnc_numeric balance, gnc_commodity * balance_currency, 
        gnc_commodity * new_currency, time64 date) -> _gnc_numeric
    """
  return _gnucash_core_c.xaccAccountConvertBalanceToCurrencyAsOfDate(*args)

def xaccAccountGetBalanceInCurrency(*args):
  """xaccAccountGetBalanceInCurrency(Account const * account, gnc_commodity const * report_commodity, gboolean include_children) -> _gnc_numeric"""
  return _gnucash_core_c.xaccAccountGetBalanceInCurrency(*args)

def xaccAccountGetClearedBalanceInCurrency(*args):
  """xaccAccountGetClearedBalanceInCurrency(Account const * account, gnc_commodity const * report_commodity, gboolean include_children) -> _gnc_numeric"""
  return _gnucash_core_c.xaccAccountGetClearedBalanceInCurrency(*args)

def xaccAccountGetReconciledBalanceInCurrency(*args):
  """xaccAccountGetReconciledBalanceInCurrency(Account const * account, gnc_commodity const * report_commodity, gboolean include_children) -> _gnc_numeric"""
  return _gnucash_core_c.xaccAccountGetReconciledBalanceInCurrency(*args)

def xaccAccountGetPresentBalanceInCurrency(*args):
  """xaccAccountGetPresentBalanceInCurrency(Account const * account, gnc_commodity const * report_commodity, gboolean include_children) -> _gnc_numeric"""
  return _gnucash_core_c.xaccAccountGetPresentBalanceInCurrency(*args)

def xaccAccountGetProjectedMinimumBalanceInCurrency(*args):
  """xaccAccountGetProjectedMinimumBalanceInCurrency(Account const * account, gnc_commodity const * report_commodity, gboolean include_children) -> _gnc_numeric"""
  return _gnucash_core_c.xaccAccountGetProjectedMinimumBalanceInCurrency(*args)

def xaccAccountGetBalanceAsOfDateInCurrency(*args):
  """xaccAccountGetBalanceAsOfDateInCurrency(Account * account, time64 date, gnc_commodity * report_commodity, gboolean include_children) -> _gnc_numeric"""
  return _gnucash_core_c.xaccAccountGetBalanceAsOfDateInCurrency(*args)

def xaccAccountGetBalanceChangeForPeriod(*args):
  """xaccAccountGetBalanceChangeForPeriod(Account * acc, time64 date1, time64 date2, gboolean recurse) -> _gnc_numeric"""
  return _gnucash_core_c.xaccAccountGetBalanceChangeForPeriod(*args)

def gnc_account_append_child(*args):
  """gnc_account_append_child(Account * new_parent, Account * child)"""
  return _gnucash_core_c.gnc_account_append_child(*args)

def gnc_account_remove_child(*args):
  """gnc_account_remove_child(Account * parent, Account * child)"""
  return _gnucash_core_c.gnc_account_remove_child(*args)

def gnc_account_get_parent(*args):
  """gnc_account_get_parent(Account const * account) -> Account *"""
  return _gnucash_core_c.gnc_account_get_parent(*args)

def gnc_account_get_root(*args):
  """gnc_account_get_root(Account * account) -> Account *"""
  return _gnucash_core_c.gnc_account_get_root(*args)

def gnc_account_is_root(*args):
  """gnc_account_is_root(Account const * account) -> gboolean"""
  return _gnucash_core_c.gnc_account_is_root(*args)

def gnc_account_n_children(*args):
  """gnc_account_n_children(Account const * account) -> gint"""
  return _gnucash_core_c.gnc_account_n_children(*args)

def gnc_account_child_index(*args):
  """gnc_account_child_index(Account const * parent, Account const * child) -> gint"""
  return _gnucash_core_c.gnc_account_child_index(*args)

def gnc_account_nth_child(*args):
  """gnc_account_nth_child(Account const * parent, gint num) -> Account *"""
  return _gnucash_core_c.gnc_account_nth_child(*args)

def gnc_account_n_descendants(*args):
  """gnc_account_n_descendants(Account const * account) -> gint"""
  return _gnucash_core_c.gnc_account_n_descendants(*args)

def gnc_account_get_current_depth(*args):
  """gnc_account_get_current_depth(Account const * account) -> gint"""
  return _gnucash_core_c.gnc_account_get_current_depth(*args)

def gnc_account_get_tree_depth(*args):
  """gnc_account_get_tree_depth(Account const * account) -> gint"""
  return _gnucash_core_c.gnc_account_get_tree_depth(*args)

def gnc_account_foreach_child(*args):
  """gnc_account_foreach_child(Account const * account, AccountCb func, gpointer user_data)"""
  return _gnucash_core_c.gnc_account_foreach_child(*args)

def gnc_account_foreach_descendant(*args):
  """gnc_account_foreach_descendant(Account const * account, AccountCb func, gpointer user_data)"""
  return _gnucash_core_c.gnc_account_foreach_descendant(*args)

def gnc_account_foreach_descendant_until(*args):
  """gnc_account_foreach_descendant_until(Account const * account, AccountCb2 func, gpointer user_data) -> gpointer"""
  return _gnucash_core_c.gnc_account_foreach_descendant_until(*args)

def gnc_account_join_children(*args):
  """gnc_account_join_children(Account * to_parent, Account * from_parent)"""
  return _gnucash_core_c.gnc_account_join_children(*args)

def gnc_account_merge_children(*args):
  """gnc_account_merge_children(Account * parent)"""
  return _gnucash_core_c.gnc_account_merge_children(*args)

def xaccAccountSetReconcileChildrenStatus(*args):
  """xaccAccountSetReconcileChildrenStatus(Account * account, gboolean status)"""
  return _gnucash_core_c.xaccAccountSetReconcileChildrenStatus(*args)

def xaccAccountGetReconcileChildrenStatus(*args):
  """xaccAccountGetReconcileChildrenStatus(Account const * account) -> gboolean"""
  return _gnucash_core_c.xaccAccountGetReconcileChildrenStatus(*args)

def xaccAccountHasAncestor(*args):
  """xaccAccountHasAncestor(Account const * acc, Account const * ancestor) -> gboolean"""
  return _gnucash_core_c.xaccAccountHasAncestor(*args)

def gnc_account_lookup_by_name(*args):
  """gnc_account_lookup_by_name(Account const * parent, char const * name) -> Account *"""
  return _gnucash_core_c.gnc_account_lookup_by_name(*args)

def gnc_account_lookup_by_full_name(*args):
  """gnc_account_lookup_by_full_name(Account const * any_account, gchar const * name) -> Account *"""
  return _gnucash_core_c.gnc_account_lookup_by_full_name(*args)

def gnc_account_lookup_by_code(*args):
  """gnc_account_lookup_by_code(Account const * parent, char const * code) -> Account *"""
  return _gnucash_core_c.gnc_account_lookup_by_code(*args)

def xaccAccountTypeEnumAsString(*args):
  """xaccAccountTypeEnumAsString(GNCAccountType type) -> char const *"""
  return _gnucash_core_c.xaccAccountTypeEnumAsString(*args)

def xaccAccountStringToType(*args):
  """xaccAccountStringToType(char const * str, GNCAccountType * type) -> gboolean"""
  return _gnucash_core_c.xaccAccountStringToType(*args)

def xaccAccountStringToEnum(*args):
  """xaccAccountStringToEnum(char const * str) -> GNCAccountType"""
  return _gnucash_core_c.xaccAccountStringToEnum(*args)

def xaccAccountGetTypeStr(*args):
  """xaccAccountGetTypeStr(GNCAccountType type) -> char const *"""
  return _gnucash_core_c.xaccAccountGetTypeStr(*args)

def xaccParentAccountTypesCompatibleWith(*args):
  """xaccParentAccountTypesCompatibleWith(GNCAccountType type) -> guint32"""
  return _gnucash_core_c.xaccParentAccountTypesCompatibleWith(*args)

def xaccAccountTypesCompatible(*args):
  """xaccAccountTypesCompatible(GNCAccountType parent_type, GNCAccountType child_type) -> gboolean"""
  return _gnucash_core_c.xaccAccountTypesCompatible(*args)

def xaccAccountTypesValid():
  """xaccAccountTypesValid() -> guint32"""
  return _gnucash_core_c.xaccAccountTypesValid()

def xaccAccountIsAssetLiabType(*args):
  """xaccAccountIsAssetLiabType(GNCAccountType t) -> gboolean"""
  return _gnucash_core_c.xaccAccountIsAssetLiabType(*args)

def xaccAccountIsAPARType(*args):
  """xaccAccountIsAPARType(GNCAccountType t) -> gboolean"""
  return _gnucash_core_c.xaccAccountIsAPARType(*args)

def xaccAccountIsEquityType(*args):
  """xaccAccountIsEquityType(GNCAccountType t) -> gboolean"""
  return _gnucash_core_c.xaccAccountIsEquityType(*args)

def xaccAccountGetSplitList(*args):
  """xaccAccountGetSplitList(Account const * account) -> SplitList *"""
  return _gnucash_core_c.xaccAccountGetSplitList(*args)

def xaccAccountMoveAllSplits(*args):
  """xaccAccountMoveAllSplits(Account * accfrom, Account * accto)"""
  return _gnucash_core_c.xaccAccountMoveAllSplits(*args)

def xaccAccountForEachTransaction(*args):
  """xaccAccountForEachTransaction(Account const * account, TransactionCallback proc, void * data) -> gint"""
  return _gnucash_core_c.xaccAccountForEachTransaction(*args)

def xaccAccountFindTransByDesc(*args):
  """xaccAccountFindTransByDesc(Account const * account, char const * description) -> Transaction *"""
  return _gnucash_core_c.xaccAccountFindTransByDesc(*args)

def xaccAccountFindSplitByDesc(*args):
  """xaccAccountFindSplitByDesc(Account const * account, char const * description) -> Split *"""
  return _gnucash_core_c.xaccAccountFindSplitByDesc(*args)

def xaccAccountInsertLot(*args):
  """xaccAccountInsertLot(Account * arg1, GNCLot * arg2)"""
  return _gnucash_core_c.xaccAccountInsertLot(*args)

def xaccAccountRemoveLot(*args):
  """xaccAccountRemoveLot(Account * arg1, GNCLot * arg2)"""
  return _gnucash_core_c.xaccAccountRemoveLot(*args)

def xaccAccountGetLotList(*args):
  """xaccAccountGetLotList(Account const * account) -> LotList *"""
  return _gnucash_core_c.xaccAccountGetLotList(*args)

def xaccAccountForEachLot(*args):
  """xaccAccountForEachLot(Account const * acc, gpointer (*)(GNCLot *,gpointer) proc, gpointer user_data) -> gpointer"""
  return _gnucash_core_c.xaccAccountForEachLot(*args)

def xaccAccountFindOpenLots(*args):
  """
    xaccAccountFindOpenLots(Account const * acc, gboolean (*)(GNCLot *,gpointer) match_func, gpointer user_data, 
        GCompareFunc sort_func) -> LotList *
    """
  return _gnucash_core_c.xaccAccountFindOpenLots(*args)

def xaccAccountGetReconcileLastDate(*args):
  """xaccAccountGetReconcileLastDate(Account const * account, time64 * last_date) -> gboolean"""
  return _gnucash_core_c.xaccAccountGetReconcileLastDate(*args)

def xaccAccountSetReconcileLastDate(*args):
  """xaccAccountSetReconcileLastDate(Account * account, time64 last_date)"""
  return _gnucash_core_c.xaccAccountSetReconcileLastDate(*args)

def xaccAccountGetReconcileLastInterval(*args):
  """xaccAccountGetReconcileLastInterval(Account const * account, int * months, int * days) -> gboolean"""
  return _gnucash_core_c.xaccAccountGetReconcileLastInterval(*args)

def xaccAccountSetReconcileLastInterval(*args):
  """xaccAccountSetReconcileLastInterval(Account * account, int months, int days)"""
  return _gnucash_core_c.xaccAccountSetReconcileLastInterval(*args)

def xaccAccountGetReconcilePostponeDate(*args):
  """xaccAccountGetReconcilePostponeDate(Account const * account, time64 * postpone_date) -> gboolean"""
  return _gnucash_core_c.xaccAccountGetReconcilePostponeDate(*args)

def xaccAccountSetReconcilePostponeDate(*args):
  """xaccAccountSetReconcilePostponeDate(Account * account, time64 postpone_date)"""
  return _gnucash_core_c.xaccAccountSetReconcilePostponeDate(*args)

def xaccAccountGetReconcilePostponeBalance(*args):
  """xaccAccountGetReconcilePostponeBalance(Account const * account, _gnc_numeric balance) -> gboolean"""
  return _gnucash_core_c.xaccAccountGetReconcilePostponeBalance(*args)

def xaccAccountSetReconcilePostponeBalance(*args):
  """xaccAccountSetReconcilePostponeBalance(Account * account, _gnc_numeric balance)"""
  return _gnucash_core_c.xaccAccountSetReconcilePostponeBalance(*args)

def xaccAccountClearReconcilePostpone(*args):
  """xaccAccountClearReconcilePostpone(Account * account)"""
  return _gnucash_core_c.xaccAccountClearReconcilePostpone(*args)
PLACEHOLDER_NONE = _gnucash_core_c.PLACEHOLDER_NONE
PLACEHOLDER_THIS = _gnucash_core_c.PLACEHOLDER_THIS
PLACEHOLDER_CHILD = _gnucash_core_c.PLACEHOLDER_CHILD

def xaccAccountGetPlaceholder(*args):
  """xaccAccountGetPlaceholder(Account const * account) -> gboolean"""
  return _gnucash_core_c.xaccAccountGetPlaceholder(*args)

def xaccAccountSetPlaceholder(*args):
  """xaccAccountSetPlaceholder(Account * account, gboolean val)"""
  return _gnucash_core_c.xaccAccountSetPlaceholder(*args)

def xaccAccountGetDescendantPlaceholder(*args):
  """xaccAccountGetDescendantPlaceholder(Account const * account) -> GNCPlaceholderType"""
  return _gnucash_core_c.xaccAccountGetDescendantPlaceholder(*args)

def xaccAccountGetHidden(*args):
  """xaccAccountGetHidden(Account const * acc) -> gboolean"""
  return _gnucash_core_c.xaccAccountGetHidden(*args)

def xaccAccountSetHidden(*args):
  """xaccAccountSetHidden(Account * acc, gboolean val)"""
  return _gnucash_core_c.xaccAccountSetHidden(*args)

def xaccAccountIsHidden(*args):
  """xaccAccountIsHidden(Account const * acc) -> gboolean"""
  return _gnucash_core_c.xaccAccountIsHidden(*args)

def xaccAccountGetTaxRelated(*args):
  """xaccAccountGetTaxRelated(Account const * account) -> gboolean"""
  return _gnucash_core_c.xaccAccountGetTaxRelated(*args)

def xaccAccountSetTaxRelated(*args):
  """xaccAccountSetTaxRelated(Account * account, gboolean tax_related)"""
  return _gnucash_core_c.xaccAccountSetTaxRelated(*args)

def xaccAccountGetTaxUSCode(*args):
  """xaccAccountGetTaxUSCode(Account const * account) -> char const *"""
  return _gnucash_core_c.xaccAccountGetTaxUSCode(*args)

def xaccAccountSetTaxUSCode(*args):
  """xaccAccountSetTaxUSCode(Account * account, char const * code)"""
  return _gnucash_core_c.xaccAccountSetTaxUSCode(*args)

def xaccAccountGetTaxUSPayerNameSource(*args):
  """xaccAccountGetTaxUSPayerNameSource(Account const * account) -> char const *"""
  return _gnucash_core_c.xaccAccountGetTaxUSPayerNameSource(*args)

def xaccAccountSetTaxUSPayerNameSource(*args):
  """xaccAccountSetTaxUSPayerNameSource(Account * account, char const * source)"""
  return _gnucash_core_c.xaccAccountSetTaxUSPayerNameSource(*args)

def xaccAccountGetTaxUSCopyNumber(*args):
  """xaccAccountGetTaxUSCopyNumber(Account const * account) -> gint64"""
  return _gnucash_core_c.xaccAccountGetTaxUSCopyNumber(*args)

def xaccAccountSetTaxUSCopyNumber(*args):
  """xaccAccountSetTaxUSCopyNumber(Account * account, gint64 copy_number)"""
  return _gnucash_core_c.xaccAccountSetTaxUSCopyNumber(*args)

def xaccAccountSetMark(*args):
  """xaccAccountSetMark(Account * account, short mark)"""
  return _gnucash_core_c.xaccAccountSetMark(*args)

def xaccClearMark(*args):
  """xaccClearMark(Account * account, short val)"""
  return _gnucash_core_c.xaccClearMark(*args)

def xaccClearMarkDown(*args):
  """xaccClearMarkDown(Account * account, short val)"""
  return _gnucash_core_c.xaccClearMarkDown(*args)

def gnc_account_tree_begin_staged_transaction_traversals(*args):
  """gnc_account_tree_begin_staged_transaction_traversals(Account * acc)"""
  return _gnucash_core_c.gnc_account_tree_begin_staged_transaction_traversals(*args)

def xaccSplitsBeginStagedTransactionTraversals(*args):
  """xaccSplitsBeginStagedTransactionTraversals(SplitList * splits)"""
  return _gnucash_core_c.xaccSplitsBeginStagedTransactionTraversals(*args)

def xaccAccountBeginStagedTransactionTraversals(*args):
  """xaccAccountBeginStagedTransactionTraversals(Account const * account)"""
  return _gnucash_core_c.xaccAccountBeginStagedTransactionTraversals(*args)

def xaccTransactionTraverse(*args):
  """xaccTransactionTraverse(Transaction * trans, int stage) -> gboolean"""
  return _gnucash_core_c.xaccTransactionTraverse(*args)

def xaccAccountStagedTransactionTraversal(*args):
  """xaccAccountStagedTransactionTraversal(Account const * a, unsigned int stage, TransactionCallback thunk, void * data) -> int"""
  return _gnucash_core_c.xaccAccountStagedTransactionTraversal(*args)

def gnc_account_tree_staged_transaction_traversal(*args):
  """gnc_account_tree_staged_transaction_traversal(Account const * account, unsigned int stage, TransactionCallback thunk, void * data) -> int"""
  return _gnucash_core_c.gnc_account_tree_staged_transaction_traversal(*args)

def xaccAccountTreeForEachTransaction(*args):
  """xaccAccountTreeForEachTransaction(Account * acc, TransactionCallback proc, void * data) -> int"""
  return _gnucash_core_c.xaccAccountTreeForEachTransaction(*args)

def DxaccAccountSetCurrency(*args):
  """DxaccAccountSetCurrency(Account * account, gnc_commodity * currency)"""
  return _gnucash_core_c.DxaccAccountSetCurrency(*args)

def DxaccAccountGetCurrency(*args):
  """DxaccAccountGetCurrency(Account const * account) -> gnc_commodity *"""
  return _gnucash_core_c.DxaccAccountGetCurrency(*args)

def dxaccAccountSetQuoteTZ(*args):
  """dxaccAccountSetQuoteTZ(Account * account, char const * tz)"""
  return _gnucash_core_c.dxaccAccountSetQuoteTZ(*args)

def dxaccAccountGetQuoteTZ(*args):
  """dxaccAccountGetQuoteTZ(Account const * account) -> char const *"""
  return _gnucash_core_c.dxaccAccountGetQuoteTZ(*args)
ACCOUNT_KVP = _gnucash_core_c.ACCOUNT_KVP
ACCOUNT_NAME_ = _gnucash_core_c.ACCOUNT_NAME_
ACCOUNT_CODE_ = _gnucash_core_c.ACCOUNT_CODE_
ACCOUNT_DESCRIPTION_ = _gnucash_core_c.ACCOUNT_DESCRIPTION_
ACCOUNT_COLOR_ = _gnucash_core_c.ACCOUNT_COLOR_
ACCOUNT_FILTER_ = _gnucash_core_c.ACCOUNT_FILTER_
ACCOUNT_SORT_ORDER_ = _gnucash_core_c.ACCOUNT_SORT_ORDER_
ACCOUNT_NOTES_ = _gnucash_core_c.ACCOUNT_NOTES_
ACCOUNT_BALANCE_ = _gnucash_core_c.ACCOUNT_BALANCE_
ACCOUNT_CLEARED_ = _gnucash_core_c.ACCOUNT_CLEARED_
ACCOUNT_RECONCILED_ = _gnucash_core_c.ACCOUNT_RECONCILED_
ACCOUNT_PRESENT_ = _gnucash_core_c.ACCOUNT_PRESENT_
ACCOUNT_FUTURE_MINIMUM_ = _gnucash_core_c.ACCOUNT_FUTURE_MINIMUM_
ACCOUNT_TAX_RELATED = _gnucash_core_c.ACCOUNT_TAX_RELATED
ACCOUNT_TYPE_ = _gnucash_core_c.ACCOUNT_TYPE_
ACCOUNT_SCU = _gnucash_core_c.ACCOUNT_SCU
ACCOUNT_NSCU = _gnucash_core_c.ACCOUNT_NSCU
ACCOUNT_PARENT = _gnucash_core_c.ACCOUNT_PARENT
ACCOUNT_MATCH_ALL_TYPE = _gnucash_core_c.ACCOUNT_MATCH_ALL_TYPE

def gnc_transaction_get_type():
  """gnc_transaction_get_type() -> GType"""
  return _gnucash_core_c.gnc_transaction_get_type()
TXN_TYPE_NONE = _gnucash_core_c.TXN_TYPE_NONE
TXN_TYPE_INVOICE = _gnucash_core_c.TXN_TYPE_INVOICE
TXN_TYPE_PAYMENT = _gnucash_core_c.TXN_TYPE_PAYMENT
TXN_TYPE_LINK = _gnucash_core_c.TXN_TYPE_LINK

def xaccMallocTransaction(*args):
  """xaccMallocTransaction(QofBook * book) -> Transaction *"""
  return _gnucash_core_c.xaccMallocTransaction(*args)

def xaccTransDestroy(*args):
  """xaccTransDestroy(Transaction * trans)"""
  return _gnucash_core_c.xaccTransDestroy(*args)

def xaccTransClone(*args):
  """xaccTransClone(Transaction const * t) -> Transaction *"""
  return _gnucash_core_c.xaccTransClone(*args)

def xaccTransEqual(*args):
  """
    xaccTransEqual(Transaction const * ta, Transaction const * tb, gboolean check_guids, gboolean check_splits, 
        gboolean check_balances, gboolean assume_ordered) -> gboolean
    """
  return _gnucash_core_c.xaccTransEqual(*args)

def xaccTransBeginEdit(*args):
  """xaccTransBeginEdit(Transaction * trans)"""
  return _gnucash_core_c.xaccTransBeginEdit(*args)

def xaccTransCommitEdit(*args):
  """xaccTransCommitEdit(Transaction * trans)"""
  return _gnucash_core_c.xaccTransCommitEdit(*args)

def xaccTransRollbackEdit(*args):
  """xaccTransRollbackEdit(Transaction * trans)"""
  return _gnucash_core_c.xaccTransRollbackEdit(*args)

def xaccTransIsOpen(*args):
  """xaccTransIsOpen(Transaction const * trans) -> gboolean"""
  return _gnucash_core_c.xaccTransIsOpen(*args)

def xaccTransLookup(*args):
  """xaccTransLookup(GncGUID guid, QofBook * book) -> Transaction *"""
  return _gnucash_core_c.xaccTransLookup(*args)

def xaccTransCopyToClipBoard(*args):
  """xaccTransCopyToClipBoard(Transaction const * from_trans) -> Transaction *"""
  return _gnucash_core_c.xaccTransCopyToClipBoard(*args)

def xaccTransCopyOnto(*args):
  """xaccTransCopyOnto(Transaction const * from_trans, Transaction * to_trans)"""
  return _gnucash_core_c.xaccTransCopyOnto(*args)

def xaccTransCopyFromClipBoard(*args):
  """
    xaccTransCopyFromClipBoard(Transaction const * from_trans, Transaction * to_trans, Account const * from_acc, 
        Account * to_acc, gboolean no_date)
    """
  return _gnucash_core_c.xaccTransCopyFromClipBoard(*args)

def xaccTransFindSplitByAccount(*args):
  """xaccTransFindSplitByAccount(Transaction const * trans, Account const * acc) -> Split *"""
  return _gnucash_core_c.xaccTransFindSplitByAccount(*args)

def xaccTransScrubGains(*args):
  """xaccTransScrubGains(Transaction * trans, Account * gain_acc)"""
  return _gnucash_core_c.xaccTransScrubGains(*args)

def gnc_book_count_transactions(*args):
  """gnc_book_count_transactions(QofBook * book) -> guint"""
  return _gnucash_core_c.gnc_book_count_transactions(*args)

def xaccTransUseTradingAccounts(*args):
  """xaccTransUseTradingAccounts(Transaction const * trans) -> gboolean"""
  return _gnucash_core_c.xaccTransUseTradingAccounts(*args)

def xaccTransSortSplits(*args):
  """xaccTransSortSplits(Transaction * trans)"""
  return _gnucash_core_c.xaccTransSortSplits(*args)

def xaccTransSetTxnType(*args):
  """xaccTransSetTxnType(Transaction * trans, char type)"""
  return _gnucash_core_c.xaccTransSetTxnType(*args)

def xaccTransGetTxnType(*args):
  """xaccTransGetTxnType(Transaction const * trans) -> char"""
  return _gnucash_core_c.xaccTransGetTxnType(*args)

def xaccTransSetNum(*args):
  """xaccTransSetNum(Transaction * trans, char const * num)"""
  return _gnucash_core_c.xaccTransSetNum(*args)

def xaccTransSetDescription(*args):
  """xaccTransSetDescription(Transaction * trans, char const * desc)"""
  return _gnucash_core_c.xaccTransSetDescription(*args)

def xaccTransSetAssociation(*args):
  """xaccTransSetAssociation(Transaction * trans, char const * assoc)"""
  return _gnucash_core_c.xaccTransSetAssociation(*args)

def xaccTransSetNotes(*args):
  """xaccTransSetNotes(Transaction * trans, char const * notes)"""
  return _gnucash_core_c.xaccTransSetNotes(*args)

def xaccTransGetNum(*args):
  """xaccTransGetNum(Transaction const * trans) -> char const *"""
  return _gnucash_core_c.xaccTransGetNum(*args)

def xaccTransGetDescription(*args):
  """xaccTransGetDescription(Transaction const * trans) -> char const *"""
  return _gnucash_core_c.xaccTransGetDescription(*args)

def xaccTransGetAssociation(*args):
  """xaccTransGetAssociation(Transaction const * trans) -> char const *"""
  return _gnucash_core_c.xaccTransGetAssociation(*args)

def xaccTransGetNotes(*args):
  """xaccTransGetNotes(Transaction const * trans) -> char const *"""
  return _gnucash_core_c.xaccTransGetNotes(*args)

def xaccTransSetIsClosingTxn(*args):
  """xaccTransSetIsClosingTxn(Transaction * trans, gboolean is_closing)"""
  return _gnucash_core_c.xaccTransSetIsClosingTxn(*args)

def xaccTransGetIsClosingTxn(*args):
  """xaccTransGetIsClosingTxn(Transaction const * trans) -> gboolean"""
  return _gnucash_core_c.xaccTransGetIsClosingTxn(*args)

def xaccTransGetSplit(*args):
  """xaccTransGetSplit(Transaction const * trans, int i) -> Split *"""
  return _gnucash_core_c.xaccTransGetSplit(*args)

def xaccTransGetSplitIndex(*args):
  """xaccTransGetSplitIndex(Transaction const * trans, Split const * split) -> int"""
  return _gnucash_core_c.xaccTransGetSplitIndex(*args)

def xaccTransGetSplitList(*args):
  """xaccTransGetSplitList(Transaction const * trans) -> SplitList *"""
  return _gnucash_core_c.xaccTransGetSplitList(*args)

def xaccTransStillHasSplit(*args):
  """xaccTransStillHasSplit(Transaction const * trans, Split const * s) -> gboolean"""
  return _gnucash_core_c.xaccTransStillHasSplit(*args)

def xaccTransGetFirstPaymentAcctSplit(*args):
  """xaccTransGetFirstPaymentAcctSplit(Transaction const * trans) -> Split *"""
  return _gnucash_core_c.xaccTransGetFirstPaymentAcctSplit(*args)

def xaccTransGetFirstAPARAcctSplit(*args):
  """xaccTransGetFirstAPARAcctSplit(Transaction const * trans) -> Split *"""
  return _gnucash_core_c.xaccTransGetFirstAPARAcctSplit(*args)

def xaccTransSetReadOnly(*args):
  """xaccTransSetReadOnly(Transaction * trans, char const * reason)"""
  return _gnucash_core_c.xaccTransSetReadOnly(*args)

def xaccTransClearReadOnly(*args):
  """xaccTransClearReadOnly(Transaction * trans)"""
  return _gnucash_core_c.xaccTransClearReadOnly(*args)

def xaccTransGetReadOnly(*args):
  """xaccTransGetReadOnly(Transaction const * trans) -> char const *"""
  return _gnucash_core_c.xaccTransGetReadOnly(*args)

def xaccTransIsReadonlyByPostedDate(*args):
  """xaccTransIsReadonlyByPostedDate(Transaction const * trans) -> gboolean"""
  return _gnucash_core_c.xaccTransIsReadonlyByPostedDate(*args)

def xaccTransInFutureByPostedDate(*args):
  """xaccTransInFutureByPostedDate(Transaction const * trans) -> gboolean"""
  return _gnucash_core_c.xaccTransInFutureByPostedDate(*args)

def xaccTransCountSplits(*args):
  """xaccTransCountSplits(Transaction const * trans) -> int"""
  return _gnucash_core_c.xaccTransCountSplits(*args)

def xaccTransHasReconciledSplits(*args):
  """xaccTransHasReconciledSplits(Transaction const * trans) -> gboolean"""
  return _gnucash_core_c.xaccTransHasReconciledSplits(*args)

def xaccTransHasReconciledSplitsByAccount(*args):
  """xaccTransHasReconciledSplitsByAccount(Transaction const * trans, Account const * account) -> gboolean"""
  return _gnucash_core_c.xaccTransHasReconciledSplitsByAccount(*args)

def xaccTransHasSplitsInState(*args):
  """xaccTransHasSplitsInState(Transaction const * trans, char const state) -> gboolean"""
  return _gnucash_core_c.xaccTransHasSplitsInState(*args)

def xaccTransHasSplitsInStateByAccount(*args):
  """xaccTransHasSplitsInStateByAccount(Transaction const * trans, char const state, Account const * account) -> gboolean"""
  return _gnucash_core_c.xaccTransHasSplitsInStateByAccount(*args)

def xaccTransGetCurrency(*args):
  """xaccTransGetCurrency(Transaction const * trans) -> gnc_commodity *"""
  return _gnucash_core_c.xaccTransGetCurrency(*args)

def xaccTransSetCurrency(*args):
  """xaccTransSetCurrency(Transaction * trans, gnc_commodity * curr)"""
  return _gnucash_core_c.xaccTransSetCurrency(*args)

def xaccTransGetImbalanceValue(*args):
  """xaccTransGetImbalanceValue(Transaction const * trans) -> _gnc_numeric"""
  return _gnucash_core_c.xaccTransGetImbalanceValue(*args)

def xaccTransGetImbalance(*args):
  """xaccTransGetImbalance(Transaction const * trans) -> MonetaryList *"""
  return _gnucash_core_c.xaccTransGetImbalance(*args)

def xaccTransIsBalanced(*args):
  """xaccTransIsBalanced(Transaction const * trans) -> gboolean"""
  return _gnucash_core_c.xaccTransIsBalanced(*args)

def xaccTransGetAccountValue(*args):
  """xaccTransGetAccountValue(Transaction const * trans, Account const * account) -> _gnc_numeric"""
  return _gnucash_core_c.xaccTransGetAccountValue(*args)

def xaccTransGetAccountAmount(*args):
  """xaccTransGetAccountAmount(Transaction const * trans, Account const * account) -> _gnc_numeric"""
  return _gnucash_core_c.xaccTransGetAccountAmount(*args)

def xaccTransGetRateForCommodity(*args):
  """
    xaccTransGetRateForCommodity(Transaction const * trans, gnc_commodity const * split_com, Split const * split_to_exclude, 
        _gnc_numeric rate) -> gboolean
    """
  return _gnucash_core_c.xaccTransGetRateForCommodity(*args)

def xaccTransGetAccountConvRate(*args):
  """xaccTransGetAccountConvRate(Transaction const * txn, Account const * acc) -> _gnc_numeric"""
  return _gnucash_core_c.xaccTransGetAccountConvRate(*args)

def xaccTransGetAccountBalance(*args):
  """xaccTransGetAccountBalance(Transaction const * trans, Account const * account) -> _gnc_numeric"""
  return _gnucash_core_c.xaccTransGetAccountBalance(*args)

def xaccTransOrder(*args):
  """xaccTransOrder(Transaction const * ta, Transaction const * tb) -> int"""
  return _gnucash_core_c.xaccTransOrder(*args)

def xaccTransOrder_num_action(*args):
  """xaccTransOrder_num_action(Transaction const * ta, char const * actna, Transaction const * tb, char const * actnb) -> int"""
  return _gnucash_core_c.xaccTransOrder_num_action(*args)

def xaccTransSetDate(*args):
  """xaccTransSetDate(Transaction * trans, int day, int mon, int year)"""
  return _gnucash_core_c.xaccTransSetDate(*args)

def xaccTransSetDatePostedGDate(*args):
  """xaccTransSetDatePostedGDate(Transaction * trans, GDate date)"""
  return _gnucash_core_c.xaccTransSetDatePostedGDate(*args)

def xaccTransSetDatePostedSecs(*args):
  """xaccTransSetDatePostedSecs(Transaction * trans, time64 time)"""
  return _gnucash_core_c.xaccTransSetDatePostedSecs(*args)

def xaccTransSetDatePostedSecsNormalized(*args):
  """xaccTransSetDatePostedSecsNormalized(Transaction * trans, time64 time)"""
  return _gnucash_core_c.xaccTransSetDatePostedSecsNormalized(*args)

def xaccTransSetDatePostedTS(*args):
  """xaccTransSetDatePostedTS(Transaction * trans, Timespec const * ts)"""
  return _gnucash_core_c.xaccTransSetDatePostedTS(*args)

def xaccTransSetDateEnteredSecs(*args):
  """xaccTransSetDateEnteredSecs(Transaction * trans, time64 time)"""
  return _gnucash_core_c.xaccTransSetDateEnteredSecs(*args)

def xaccTransSetDateEnteredTS(*args):
  """xaccTransSetDateEnteredTS(Transaction * trans, Timespec const * ts)"""
  return _gnucash_core_c.xaccTransSetDateEnteredTS(*args)

def xaccTransSetDateDueTS(*args):
  """xaccTransSetDateDueTS(Transaction * trans, Timespec const * ts)"""
  return _gnucash_core_c.xaccTransSetDateDueTS(*args)

def xaccTransGetDate(*args):
  """xaccTransGetDate(Transaction const * trans) -> time64"""
  return _gnucash_core_c.xaccTransGetDate(*args)

def xaccTransGetDatePostedTS(*args):
  """xaccTransGetDatePostedTS(Transaction const * trans, Timespec * ts)"""
  return _gnucash_core_c.xaccTransGetDatePostedTS(*args)

def xaccTransRetDatePostedTS(*args):
  """xaccTransRetDatePostedTS(Transaction const * trans) -> Timespec"""
  return _gnucash_core_c.xaccTransRetDatePostedTS(*args)

def xaccTransGetDatePostedGDate(*args):
  """xaccTransGetDatePostedGDate(Transaction const * trans) -> GDate"""
  return _gnucash_core_c.xaccTransGetDatePostedGDate(*args)

def xaccTransGetDateEntered(*args):
  """xaccTransGetDateEntered(Transaction const * trans) -> time64"""
  return _gnucash_core_c.xaccTransGetDateEntered(*args)

def xaccTransGetDateEnteredTS(*args):
  """xaccTransGetDateEnteredTS(Transaction const * trans, Timespec * ts)"""
  return _gnucash_core_c.xaccTransGetDateEnteredTS(*args)

def xaccTransRetDateEnteredTS(*args):
  """xaccTransRetDateEnteredTS(Transaction const * trans) -> Timespec"""
  return _gnucash_core_c.xaccTransRetDateEnteredTS(*args)

def xaccTransRetDateDueTS(*args):
  """xaccTransRetDateDueTS(Transaction const * trans) -> Timespec"""
  return _gnucash_core_c.xaccTransRetDateDueTS(*args)

def xaccTransGetDateDueTS(*args):
  """xaccTransGetDateDueTS(Transaction const * trans, Timespec * ts)"""
  return _gnucash_core_c.xaccTransGetDateDueTS(*args)

def xaccTransVoid(*args):
  """xaccTransVoid(Transaction * transaction, char const * reason)"""
  return _gnucash_core_c.xaccTransVoid(*args)

def xaccTransUnvoid(*args):
  """xaccTransUnvoid(Transaction * transaction)"""
  return _gnucash_core_c.xaccTransUnvoid(*args)

def xaccTransReverse(*args):
  """xaccTransReverse(Transaction * transaction) -> Transaction *"""
  return _gnucash_core_c.xaccTransReverse(*args)

def xaccTransGetReversedBy(*args):
  """xaccTransGetReversedBy(Transaction const * trans) -> Transaction *"""
  return _gnucash_core_c.xaccTransGetReversedBy(*args)

def xaccTransGetVoidStatus(*args):
  """xaccTransGetVoidStatus(Transaction const * transaction) -> gboolean"""
  return _gnucash_core_c.xaccTransGetVoidStatus(*args)

def xaccTransGetVoidReason(*args):
  """xaccTransGetVoidReason(Transaction const * transaction) -> char const *"""
  return _gnucash_core_c.xaccTransGetVoidReason(*args)

def xaccTransGetVoidTime(*args):
  """xaccTransGetVoidTime(Transaction const * tr) -> Timespec"""
  return _gnucash_core_c.xaccTransGetVoidTime(*args)
TRANS_KVP = _gnucash_core_c.TRANS_KVP
TRANS_NUM = _gnucash_core_c.TRANS_NUM
TRANS_DESCRIPTION = _gnucash_core_c.TRANS_DESCRIPTION
TRANS_DATE_ENTERED = _gnucash_core_c.TRANS_DATE_ENTERED
TRANS_DATE_POSTED = _gnucash_core_c.TRANS_DATE_POSTED
TRANS_DATE_DUE = _gnucash_core_c.TRANS_DATE_DUE
TRANS_IMBALANCE = _gnucash_core_c.TRANS_IMBALANCE
TRANS_IS_BALANCED = _gnucash_core_c.TRANS_IS_BALANCED
TRANS_IS_CLOSING = _gnucash_core_c.TRANS_IS_CLOSING
TRANS_NOTES = _gnucash_core_c.TRANS_NOTES
TRANS_ASSOCIATION = _gnucash_core_c.TRANS_ASSOCIATION
TRANS_TYPE = _gnucash_core_c.TRANS_TYPE
TRANS_VOID_STATUS = _gnucash_core_c.TRANS_VOID_STATUS
TRANS_VOID_REASON = _gnucash_core_c.TRANS_VOID_REASON
TRANS_VOID_TIME = _gnucash_core_c.TRANS_VOID_TIME
TRANS_SPLITLIST = _gnucash_core_c.TRANS_SPLITLIST
RECONCILED_MATCH_TYPE = _gnucash_core_c.RECONCILED_MATCH_TYPE
class GncLotClass(_object):
    """Proxy of C GncLotClass struct"""
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, GncLotClass, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, GncLotClass, name)
    __repr__ = _swig_repr
    __swig_setmethods__["parent_class"] = _gnucash_core_c.GncLotClass_parent_class_set
    __swig_getmethods__["parent_class"] = _gnucash_core_c.GncLotClass_parent_class_get
    if _newclass:parent_class = _swig_property(_gnucash_core_c.GncLotClass_parent_class_get, _gnucash_core_c.GncLotClass_parent_class_set)
    def __init__(self): 
        """__init__(GncLotClass self) -> GncLotClass"""
        this = _gnucash_core_c.new_GncLotClass()
        try: self.this.append(this)
        except: self.this = this
    __swig_destroy__ = _gnucash_core_c.delete_GncLotClass
    __del__ = lambda self : None;
GncLotClass_swigregister = _gnucash_core_c.GncLotClass_swigregister
GncLotClass_swigregister(GncLotClass)


def gnc_lot_get_type():
  """gnc_lot_get_type() -> GType"""
  return _gnucash_core_c.gnc_lot_get_type()

def gnc_lot_new(*args):
  """gnc_lot_new(QofBook * arg1) -> GNCLot *"""
  return _gnucash_core_c.gnc_lot_new(*args)

def gnc_lot_destroy(*args):
  """gnc_lot_destroy(GNCLot * arg1)"""
  return _gnucash_core_c.gnc_lot_destroy(*args)

def gnc_lot_lookup(*args):
  """gnc_lot_lookup(GncGUID guid, QofBook * book) -> GNCLot *"""
  return _gnucash_core_c.gnc_lot_lookup(*args)

def gnc_lot_get_book(*args):
  """gnc_lot_get_book(GNCLot * arg1) -> QofBook *"""
  return _gnucash_core_c.gnc_lot_get_book(*args)

def gnc_lot_begin_edit(*args):
  """gnc_lot_begin_edit(GNCLot * lot)"""
  return _gnucash_core_c.gnc_lot_begin_edit(*args)

def gnc_lot_commit_edit(*args):
  """gnc_lot_commit_edit(GNCLot * lot)"""
  return _gnucash_core_c.gnc_lot_commit_edit(*args)

def gnc_lot_add_split(*args):
  """gnc_lot_add_split(GNCLot * arg1, Split * arg2)"""
  return _gnucash_core_c.gnc_lot_add_split(*args)

def gnc_lot_remove_split(*args):
  """gnc_lot_remove_split(GNCLot * arg1, Split * arg2)"""
  return _gnucash_core_c.gnc_lot_remove_split(*args)

def gnc_lot_get_split_list(*args):
  """gnc_lot_get_split_list(GNCLot const * arg1) -> SplitList *"""
  return _gnucash_core_c.gnc_lot_get_split_list(*args)

def gnc_lot_count_splits(*args):
  """gnc_lot_count_splits(GNCLot const * arg1) -> gint"""
  return _gnucash_core_c.gnc_lot_count_splits(*args)

def gnc_lot_get_account(*args):
  """gnc_lot_get_account(GNCLot const * arg1) -> Account *"""
  return _gnucash_core_c.gnc_lot_get_account(*args)

def gnc_lot_set_account(*args):
  """gnc_lot_set_account(GNCLot * arg1, Account * arg2)"""
  return _gnucash_core_c.gnc_lot_set_account(*args)

def gnc_lot_get_balance(*args):
  """gnc_lot_get_balance(GNCLot * arg1) -> _gnc_numeric"""
  return _gnucash_core_c.gnc_lot_get_balance(*args)

def gnc_lot_get_balance_before(*args):
  """gnc_lot_get_balance_before(GNCLot const * arg1, Split const * arg2, _gnc_numeric arg3, _gnc_numeric arg4)"""
  return _gnucash_core_c.gnc_lot_get_balance_before(*args)

def gnc_lot_is_closed(*args):
  """gnc_lot_is_closed(GNCLot * arg1) -> gboolean"""
  return _gnucash_core_c.gnc_lot_is_closed(*args)

def gnc_lot_get_earliest_split(*args):
  """gnc_lot_get_earliest_split(GNCLot * lot) -> Split *"""
  return _gnucash_core_c.gnc_lot_get_earliest_split(*args)

def gnc_lot_get_latest_split(*args):
  """gnc_lot_get_latest_split(GNCLot * lot) -> Split *"""
  return _gnucash_core_c.gnc_lot_get_latest_split(*args)

def gnc_lot_set_closed_unknown(*args):
  """gnc_lot_set_closed_unknown(GNCLot * arg1)"""
  return _gnucash_core_c.gnc_lot_set_closed_unknown(*args)

def gnc_lot_get_title(*args):
  """gnc_lot_get_title(GNCLot const * arg1) -> char const *"""
  return _gnucash_core_c.gnc_lot_get_title(*args)

def gnc_lot_get_notes(*args):
  """gnc_lot_get_notes(GNCLot const * arg1) -> char const *"""
  return _gnucash_core_c.gnc_lot_get_notes(*args)

def gnc_lot_set_title(*args):
  """gnc_lot_set_title(GNCLot * arg1, char const * arg2)"""
  return _gnucash_core_c.gnc_lot_set_title(*args)

def gnc_lot_set_notes(*args):
  """gnc_lot_set_notes(GNCLot * arg1, char const * arg2)"""
  return _gnucash_core_c.gnc_lot_set_notes(*args)

def gnc_lot_get_slots(*args):
  """gnc_lot_get_slots(GNCLot const * arg1) -> KvpFrame *"""
  return _gnucash_core_c.gnc_lot_get_slots(*args)

def gnc_lot_make_default(*args):
  """gnc_lot_make_default(Account * acc) -> GNCLot *"""
  return _gnucash_core_c.gnc_lot_make_default(*args)
LOT_IS_CLOSED = _gnucash_core_c.LOT_IS_CLOSED
LOT_BALANCE = _gnucash_core_c.LOT_BALANCE
LOT_TITLE = _gnucash_core_c.LOT_TITLE
LOT_NOTES = _gnucash_core_c.LOT_NOTES
QOF_MOD_BACKEND = _gnucash_core_c.QOF_MOD_BACKEND
ERR_BACKEND_NO_ERR = _gnucash_core_c.ERR_BACKEND_NO_ERR
ERR_BACKEND_NO_HANDLER = _gnucash_core_c.ERR_BACKEND_NO_HANDLER
ERR_BACKEND_NO_BACKEND = _gnucash_core_c.ERR_BACKEND_NO_BACKEND
ERR_BACKEND_BAD_URL = _gnucash_core_c.ERR_BACKEND_BAD_URL
ERR_BACKEND_NO_SUCH_DB = _gnucash_core_c.ERR_BACKEND_NO_SUCH_DB
ERR_BACKEND_CANT_CONNECT = _gnucash_core_c.ERR_BACKEND_CANT_CONNECT
ERR_BACKEND_CONN_LOST = _gnucash_core_c.ERR_BACKEND_CONN_LOST
ERR_BACKEND_LOCKED = _gnucash_core_c.ERR_BACKEND_LOCKED
ERR_BACKEND_STORE_EXISTS = _gnucash_core_c.ERR_BACKEND_STORE_EXISTS
ERR_BACKEND_READONLY = _gnucash_core_c.ERR_BACKEND_READONLY
ERR_BACKEND_TOO_NEW = _gnucash_core_c.ERR_BACKEND_TOO_NEW
ERR_BACKEND_DATA_CORRUPT = _gnucash_core_c.ERR_BACKEND_DATA_CORRUPT
ERR_BACKEND_SERVER_ERR = _gnucash_core_c.ERR_BACKEND_SERVER_ERR
ERR_BACKEND_ALLOC = _gnucash_core_c.ERR_BACKEND_ALLOC
ERR_BACKEND_PERM = _gnucash_core_c.ERR_BACKEND_PERM
ERR_BACKEND_MODIFIED = _gnucash_core_c.ERR_BACKEND_MODIFIED
ERR_BACKEND_MOD_DESTROY = _gnucash_core_c.ERR_BACKEND_MOD_DESTROY
ERR_BACKEND_MISC = _gnucash_core_c.ERR_BACKEND_MISC
ERR_QOF_OVERFLOW = _gnucash_core_c.ERR_QOF_OVERFLOW
ERR_FILEIO_FILE_BAD_READ = _gnucash_core_c.ERR_FILEIO_FILE_BAD_READ
ERR_FILEIO_FILE_EMPTY = _gnucash_core_c.ERR_FILEIO_FILE_EMPTY
ERR_FILEIO_FILE_LOCKERR = _gnucash_core_c.ERR_FILEIO_FILE_LOCKERR
ERR_FILEIO_FILE_NOT_FOUND = _gnucash_core_c.ERR_FILEIO_FILE_NOT_FOUND
ERR_FILEIO_FILE_TOO_OLD = _gnucash_core_c.ERR_FILEIO_FILE_TOO_OLD
ERR_FILEIO_UNKNOWN_FILE_TYPE = _gnucash_core_c.ERR_FILEIO_UNKNOWN_FILE_TYPE
ERR_FILEIO_PARSE_ERROR = _gnucash_core_c.ERR_FILEIO_PARSE_ERROR
ERR_FILEIO_BACKUP_ERROR = _gnucash_core_c.ERR_FILEIO_BACKUP_ERROR
ERR_FILEIO_WRITE_ERROR = _gnucash_core_c.ERR_FILEIO_WRITE_ERROR
ERR_FILEIO_READ_ERROR = _gnucash_core_c.ERR_FILEIO_READ_ERROR
ERR_FILEIO_NO_ENCODING = _gnucash_core_c.ERR_FILEIO_NO_ENCODING
ERR_FILEIO_FILE_EACCES = _gnucash_core_c.ERR_FILEIO_FILE_EACCES
ERR_FILEIO_RESERVED_WRITE = _gnucash_core_c.ERR_FILEIO_RESERVED_WRITE
ERR_FILEIO_FILE_UPGRADE = _gnucash_core_c.ERR_FILEIO_FILE_UPGRADE
ERR_NETIO_SHORT_READ = _gnucash_core_c.ERR_NETIO_SHORT_READ
ERR_NETIO_WRONG_CONTENT_TYPE = _gnucash_core_c.ERR_NETIO_WRONG_CONTENT_TYPE
ERR_NETIO_NOT_GNCXML = _gnucash_core_c.ERR_NETIO_NOT_GNCXML
ERR_SQL_MISSING_DATA = _gnucash_core_c.ERR_SQL_MISSING_DATA
ERR_SQL_DB_TOO_OLD = _gnucash_core_c.ERR_SQL_DB_TOO_OLD
ERR_SQL_DB_TOO_NEW = _gnucash_core_c.ERR_SQL_DB_TOO_NEW
ERR_SQL_DB_BUSY = _gnucash_core_c.ERR_SQL_DB_BUSY
ERR_SQL_BAD_DBI = _gnucash_core_c.ERR_SQL_BAD_DBI
ERR_SQL_DBI_UNTESTABLE = _gnucash_core_c.ERR_SQL_DBI_UNTESTABLE
ERR_RPC_HOST_UNK = _gnucash_core_c.ERR_RPC_HOST_UNK
ERR_RPC_CANT_BIND = _gnucash_core_c.ERR_RPC_CANT_BIND
ERR_RPC_CANT_ACCEPT = _gnucash_core_c.ERR_RPC_CANT_ACCEPT
ERR_RPC_NO_CONNECTION = _gnucash_core_c.ERR_RPC_NO_CONNECTION
ERR_RPC_BAD_VERSION = _gnucash_core_c.ERR_RPC_BAD_VERSION
ERR_RPC_FAILED = _gnucash_core_c.ERR_RPC_FAILED
ERR_RPC_NOT_ADDED = _gnucash_core_c.ERR_RPC_NOT_ADDED

def qof_backend_run_begin(*args):
  """qof_backend_run_begin(QofBackend * be, QofInstance * inst)"""
  return _gnucash_core_c.qof_backend_run_begin(*args)

def qof_backend_begin_exists(*args):
  """qof_backend_begin_exists(QofBackend const * be) -> gboolean"""
  return _gnucash_core_c.qof_backend_begin_exists(*args)

def qof_backend_run_commit(*args):
  """qof_backend_run_commit(QofBackend * be, QofInstance * inst)"""
  return _gnucash_core_c.qof_backend_run_commit(*args)

def qof_backend_commit_exists(*args):
  """qof_backend_commit_exists(QofBackend const * be) -> gboolean"""
  return _gnucash_core_c.qof_backend_commit_exists(*args)

def qof_backend_set_error(*args):
  """qof_backend_set_error(QofBackend * be, QofBackendError err)"""
  return _gnucash_core_c.qof_backend_set_error(*args)

def qof_backend_get_error(*args):
  """qof_backend_get_error(QofBackend * be) -> QofBackendError"""
  return _gnucash_core_c.qof_backend_get_error(*args)

def qof_backend_check_error(*args):
  """qof_backend_check_error(QofBackend * be) -> gboolean"""
  return _gnucash_core_c.qof_backend_check_error(*args)

def qof_load_backend_library(*args):
  """qof_load_backend_library(gchar const * directory, gchar const * module_name) -> gboolean"""
  return _gnucash_core_c.qof_load_backend_library(*args)

def qof_finalize_backend_libraries():
  """qof_finalize_backend_libraries()"""
  return _gnucash_core_c.qof_finalize_backend_libraries()

def qof_book_get_backend(*args):
  """qof_book_get_backend(QofBook const * book) -> QofBackend *"""
  return _gnucash_core_c.qof_book_get_backend(*args)

def qof_book_set_backend(*args):
  """qof_book_set_backend(QofBook * book, QofBackend * arg2)"""
  return _gnucash_core_c.qof_book_set_backend(*args)
QOF_MOD_SESSION = _gnucash_core_c.QOF_MOD_SESSION

def qof_session_new():
  """qof_session_new() -> QofSession *"""
  return _gnucash_core_c.qof_session_new()

def qof_session_destroy(*args):
  """qof_session_destroy(QofSession * session)"""
  return _gnucash_core_c.qof_session_destroy(*args)

def qof_session_swap_data(*args):
  """qof_session_swap_data(QofSession * session_1, QofSession * session_2)"""
  return _gnucash_core_c.qof_session_swap_data(*args)

def qof_session_begin(*args):
  """
    qof_session_begin(QofSession * session, char const * book_id, gboolean ignore_lock, gboolean create, 
        gboolean force)
    """
  return _gnucash_core_c.qof_session_begin(*args)

def qof_session_load(*args):
  """qof_session_load(QofSession * session, QofPercentageFunc percentage_func)"""
  return _gnucash_core_c.qof_session_load(*args)

def qof_session_get_error(*args):
  """qof_session_get_error(QofSession * session) -> QofBackendError"""
  return _gnucash_core_c.qof_session_get_error(*args)

def qof_session_get_error_message(*args):
  """qof_session_get_error_message(QofSession const * session) -> char const *"""
  return _gnucash_core_c.qof_session_get_error_message(*args)

def qof_session_pop_error(*args):
  """qof_session_pop_error(QofSession * session) -> QofBackendError"""
  return _gnucash_core_c.qof_session_pop_error(*args)

def qof_session_get_book(*args):
  """qof_session_get_book(QofSession const * session) -> QofBook *"""
  return _gnucash_core_c.qof_session_get_book(*args)

def qof_session_get_file_path(*args):
  """qof_session_get_file_path(QofSession const * session) -> char const *"""
  return _gnucash_core_c.qof_session_get_file_path(*args)

def qof_session_get_url(*args):
  """qof_session_get_url(QofSession const * session) -> char const *"""
  return _gnucash_core_c.qof_session_get_url(*args)

def qof_session_save_in_progress(*args):
  """qof_session_save_in_progress(QofSession const * session) -> gboolean"""
  return _gnucash_core_c.qof_session_save_in_progress(*args)

def qof_session_save(*args):
  """qof_session_save(QofSession * session, QofPercentageFunc percentage_func)"""
  return _gnucash_core_c.qof_session_save(*args)

def qof_session_safe_save(*args):
  """qof_session_safe_save(QofSession * session, QofPercentageFunc percentage_func)"""
  return _gnucash_core_c.qof_session_safe_save(*args)

def qof_session_end(*args):
  """qof_session_end(QofSession * session)"""
  return _gnucash_core_c.qof_session_end(*args)
QOF_STDOUT = _gnucash_core_c.QOF_STDOUT

def qof_session_events_pending(*args):
  """qof_session_events_pending(QofSession const * session) -> gboolean"""
  return _gnucash_core_c.qof_session_events_pending(*args)

def qof_session_process_events(*args):
  """qof_session_process_events(QofSession * session) -> gboolean"""
  return _gnucash_core_c.qof_session_process_events(*args)

def qof_session_add_close_hook(*args):
  """qof_session_add_close_hook(GFunc fn, gpointer data)"""
  return _gnucash_core_c.qof_session_add_close_hook(*args)

def qof_session_call_close_hooks(*args):
  """qof_session_call_close_hooks(QofSession * session)"""
  return _gnucash_core_c.qof_session_call_close_hooks(*args)

def qof_session_export(*args):
  """qof_session_export(QofSession * tmp_session, QofSession * real_session, QofPercentageFunc percentage_func) -> gboolean"""
  return _gnucash_core_c.qof_session_export(*args)

def qof_backend_get_registered_access_method_list():
  """qof_backend_get_registered_access_method_list() -> GList *"""
  return _gnucash_core_c.qof_backend_get_registered_access_method_list()

def qof_session_ensure_all_data_loaded(*args):
  """qof_session_ensure_all_data_loaded(QofSession * session)"""
  return _gnucash_core_c.qof_session_ensure_all_data_loaded(*args)

def qof_book_use_trading_accounts(*args):
  """qof_book_use_trading_accounts(QofBook const * book) -> gboolean"""
  return _gnucash_core_c.qof_book_use_trading_accounts(*args)

def qof_book_uses_autoreadonly(*args):
  """qof_book_uses_autoreadonly(QofBook const * book) -> gboolean"""
  return _gnucash_core_c.qof_book_uses_autoreadonly(*args)

def qof_book_get_num_days_autoreadonly(*args):
  """qof_book_get_num_days_autoreadonly(QofBook const * book) -> gint"""
  return _gnucash_core_c.qof_book_get_num_days_autoreadonly(*args)

def qof_book_get_autoreadonly_gdate(*args):
  """qof_book_get_autoreadonly_gdate(QofBook const * book) -> GDate *"""
  return _gnucash_core_c.qof_book_get_autoreadonly_gdate(*args)

def qof_book_use_split_action_for_num_field(*args):
  """qof_book_use_split_action_for_num_field(QofBook const * book) -> gboolean"""
  return _gnucash_core_c.qof_book_use_split_action_for_num_field(*args)

def qof_book_shutting_down(*args):
  """qof_book_shutting_down(QofBook const * book) -> gboolean"""
  return _gnucash_core_c.qof_book_shutting_down(*args)

def qof_book_session_not_saved(*args):
  """qof_book_session_not_saved(QofBook const * book) -> gboolean"""
  return _gnucash_core_c.qof_book_session_not_saved(*args)
QOF_ID_NULL = _gnucash_core_c.QOF_ID_NULL
QOF_ID_BOOK = _gnucash_core_c.QOF_ID_BOOK
QOF_ID_SESSION = _gnucash_core_c.QOF_ID_SESSION

def qof_collection_new(*args):
  """qof_collection_new(QofIdType type) -> QofCollection *"""
  return _gnucash_core_c.qof_collection_new(*args)

def qof_collection_count(*args):
  """qof_collection_count(QofCollection const * col) -> guint"""
  return _gnucash_core_c.qof_collection_count(*args)

def qof_collection_destroy(*args):
  """qof_collection_destroy(QofCollection * col)"""
  return _gnucash_core_c.qof_collection_destroy(*args)

def qof_collection_get_type(*args):
  """qof_collection_get_type(QofCollection const * arg1) -> QofIdType"""
  return _gnucash_core_c.qof_collection_get_type(*args)

def qof_collection_lookup_entity(*args):
  """qof_collection_lookup_entity(QofCollection const * arg1, GncGUID arg2) -> QofInstance *"""
  return _gnucash_core_c.qof_collection_lookup_entity(*args)

def qof_collection_foreach(*args):
  """qof_collection_foreach(QofCollection const * arg1, QofInstanceForeachCB arg2, gpointer user_data)"""
  return _gnucash_core_c.qof_collection_foreach(*args)

def qof_collection_get_data(*args):
  """qof_collection_get_data(QofCollection const * col) -> gpointer"""
  return _gnucash_core_c.qof_collection_get_data(*args)

def qof_collection_set_data(*args):
  """qof_collection_set_data(QofCollection * col, gpointer user_data)"""
  return _gnucash_core_c.qof_collection_set_data(*args)

def qof_collection_is_dirty(*args):
  """qof_collection_is_dirty(QofCollection const * col) -> gboolean"""
  return _gnucash_core_c.qof_collection_is_dirty(*args)

def qof_collection_add_entity(*args):
  """qof_collection_add_entity(QofCollection * coll, QofInstance * ent) -> gboolean"""
  return _gnucash_core_c.qof_collection_add_entity(*args)

def qof_collection_remove_entity(*args):
  """qof_collection_remove_entity(QofInstance * ent)"""
  return _gnucash_core_c.qof_collection_remove_entity(*args)

def qof_collection_compare(*args):
  """qof_collection_compare(QofCollection * target, QofCollection * merge) -> gint"""
  return _gnucash_core_c.qof_collection_compare(*args)

def qof_collection_from_glist(*args):
  """qof_collection_from_glist(QofIdType type, GList const * glist) -> QofCollection *"""
  return _gnucash_core_c.qof_collection_from_glist(*args)
QOF_MOD_QUERY = _gnucash_core_c.QOF_MOD_QUERY
QOF_QUERY_AND = _gnucash_core_c.QOF_QUERY_AND
QOF_QUERY_OR = _gnucash_core_c.QOF_QUERY_OR
QOF_QUERY_NAND = _gnucash_core_c.QOF_QUERY_NAND
QOF_QUERY_NOR = _gnucash_core_c.QOF_QUERY_NOR
QOF_QUERY_XOR = _gnucash_core_c.QOF_QUERY_XOR
QUERY_DEFAULT_SORT = _gnucash_core_c.QUERY_DEFAULT_SORT
QOF_PARAM_BOOK = _gnucash_core_c.QOF_PARAM_BOOK
QOF_PARAM_GUID = _gnucash_core_c.QOF_PARAM_GUID
QOF_PARAM_KVP = _gnucash_core_c.QOF_PARAM_KVP
QOF_PARAM_ACTIVE = _gnucash_core_c.QOF_PARAM_ACTIVE
QOF_PARAM_VERSION = _gnucash_core_c.QOF_PARAM_VERSION

def qof_query_init():
  """qof_query_init()"""
  return _gnucash_core_c.qof_query_init()

def qof_query_shutdown():
  """qof_query_shutdown()"""
  return _gnucash_core_c.qof_query_shutdown()

def qof_query_build_param_list(*args):
  """qof_query_build_param_list(char const * param) -> QofQueryParamList *"""
  return _gnucash_core_c.qof_query_build_param_list(*args)

def qof_query_create():
  """qof_query_create() -> QofQuery *"""
  return _gnucash_core_c.qof_query_create()

def qof_query_create_for(*args):
  """qof_query_create_for(QofIdTypeConst obj_type) -> QofQuery *"""
  return _gnucash_core_c.qof_query_create_for(*args)

def qof_query_destroy(*args):
  """qof_query_destroy(QofQuery * q)"""
  return _gnucash_core_c.qof_query_destroy(*args)

def qof_query_search_for(*args):
  """qof_query_search_for(QofQuery * query, QofIdTypeConst obj_type)"""
  return _gnucash_core_c.qof_query_search_for(*args)

def qof_query_set_book(*args):
  """qof_query_set_book(QofQuery * q, QofBook * book)"""
  return _gnucash_core_c.qof_query_set_book(*args)

def qof_query_add_term(*args):
  """qof_query_add_term(QofQuery * query, QofQueryParamList * param_list, _QofQueryPredData pred_data, QofQueryOp op)"""
  return _gnucash_core_c.qof_query_add_term(*args)

def qof_query_add_guid_match(*args):
  """qof_query_add_guid_match(QofQuery * q, QofQueryParamList * param_list, GncGUID guid, QofQueryOp op)"""
  return _gnucash_core_c.qof_query_add_guid_match(*args)

def qof_query_add_guid_list_match(*args):
  """
    qof_query_add_guid_list_match(QofQuery * q, QofQueryParamList * param_list, GList * guid_list, QofGuidMatch options, 
        QofQueryOp op)
    """
  return _gnucash_core_c.qof_query_add_guid_list_match(*args)

def qof_query_add_boolean_match(*args):
  """qof_query_add_boolean_match(QofQuery * q, QofQueryParamList * param_list, gboolean value, QofQueryOp op)"""
  return _gnucash_core_c.qof_query_add_boolean_match(*args)

def qof_query_run(*args):
  """qof_query_run(QofQuery * query) -> GList *"""
  return _gnucash_core_c.qof_query_run(*args)

def qof_query_last_run(*args):
  """qof_query_last_run(QofQuery * query) -> GList *"""
  return _gnucash_core_c.qof_query_last_run(*args)

def qof_query_run_subquery(*args):
  """qof_query_run_subquery(QofQuery * subquery, QofQuery const * primary_query) -> GList *"""
  return _gnucash_core_c.qof_query_run_subquery(*args)

def qof_query_clear(*args):
  """qof_query_clear(QofQuery * query)"""
  return _gnucash_core_c.qof_query_clear(*args)

def qof_query_purge_terms(*args):
  """qof_query_purge_terms(QofQuery * q, QofQueryParamList * param_list)"""
  return _gnucash_core_c.qof_query_purge_terms(*args)

def qof_query_has_terms(*args):
  """qof_query_has_terms(QofQuery * q) -> int"""
  return _gnucash_core_c.qof_query_has_terms(*args)

def qof_query_num_terms(*args):
  """qof_query_num_terms(QofQuery * q) -> int"""
  return _gnucash_core_c.qof_query_num_terms(*args)

def qof_query_has_term_type(*args):
  """qof_query_has_term_type(QofQuery * q, QofQueryParamList * term_param) -> gboolean"""
  return _gnucash_core_c.qof_query_has_term_type(*args)

def qof_query_get_term_type(*args):
  """qof_query_get_term_type(QofQuery * q, QofQueryParamList * term_param) -> GSList *"""
  return _gnucash_core_c.qof_query_get_term_type(*args)

def qof_query_copy(*args):
  """qof_query_copy(QofQuery * q) -> QofQuery *"""
  return _gnucash_core_c.qof_query_copy(*args)

def qof_query_invert(*args):
  """qof_query_invert(QofQuery * q) -> QofQuery *"""
  return _gnucash_core_c.qof_query_invert(*args)

def qof_query_merge(*args):
  """qof_query_merge(QofQuery * q1, QofQuery * q2, QofQueryOp op) -> QofQuery *"""
  return _gnucash_core_c.qof_query_merge(*args)

def qof_query_merge_in_place(*args):
  """qof_query_merge_in_place(QofQuery * q1, QofQuery * q2, QofQueryOp op)"""
  return _gnucash_core_c.qof_query_merge_in_place(*args)

def qof_query_set_sort_order(*args):
  """
    qof_query_set_sort_order(QofQuery * q, QofQueryParamList * primary_sort_params, QofQueryParamList * secondary_sort_params, 
        QofQueryParamList * tertiary_sort_params)
    """
  return _gnucash_core_c.qof_query_set_sort_order(*args)

def qof_query_set_sort_options(*args):
  """qof_query_set_sort_options(QofQuery * q, gint prim_op, gint sec_op, gint tert_op)"""
  return _gnucash_core_c.qof_query_set_sort_options(*args)

def qof_query_set_sort_increasing(*args):
  """qof_query_set_sort_increasing(QofQuery * q, gboolean prim_inc, gboolean sec_inc, gboolean tert_inc)"""
  return _gnucash_core_c.qof_query_set_sort_increasing(*args)

def qof_query_set_max_results(*args):
  """qof_query_set_max_results(QofQuery * q, int n)"""
  return _gnucash_core_c.qof_query_set_max_results(*args)

def qof_query_equal(*args):
  """qof_query_equal(QofQuery const * q1, QofQuery const * q2) -> gboolean"""
  return _gnucash_core_c.qof_query_equal(*args)

def qof_query_print(*args):
  """qof_query_print(QofQuery * query)"""
  return _gnucash_core_c.qof_query_print(*args)

def qof_query_get_search_for(*args):
  """qof_query_get_search_for(QofQuery const * q) -> QofIdType"""
  return _gnucash_core_c.qof_query_get_search_for(*args)

def qof_query_get_books(*args):
  """qof_query_get_books(QofQuery * q) -> GList *"""
  return _gnucash_core_c.qof_query_get_books(*args)
QOF_COMPARE_LT = _gnucash_core_c.QOF_COMPARE_LT
QOF_COMPARE_LTE = _gnucash_core_c.QOF_COMPARE_LTE
QOF_COMPARE_EQUAL = _gnucash_core_c.QOF_COMPARE_EQUAL
QOF_COMPARE_GT = _gnucash_core_c.QOF_COMPARE_GT
QOF_COMPARE_GTE = _gnucash_core_c.QOF_COMPARE_GTE
QOF_COMPARE_NEQ = _gnucash_core_c.QOF_COMPARE_NEQ
QOF_STRING_MATCH_NORMAL = _gnucash_core_c.QOF_STRING_MATCH_NORMAL
QOF_STRING_MATCH_CASEINSENSITIVE = _gnucash_core_c.QOF_STRING_MATCH_CASEINSENSITIVE
QOF_DATE_MATCH_NORMAL = _gnucash_core_c.QOF_DATE_MATCH_NORMAL
QOF_DATE_MATCH_DAY = _gnucash_core_c.QOF_DATE_MATCH_DAY
QOF_NUMERIC_MATCH_DEBIT = _gnucash_core_c.QOF_NUMERIC_MATCH_DEBIT
QOF_NUMERIC_MATCH_CREDIT = _gnucash_core_c.QOF_NUMERIC_MATCH_CREDIT
QOF_NUMERIC_MATCH_ANY = _gnucash_core_c.QOF_NUMERIC_MATCH_ANY
QOF_GUID_MATCH_ANY = _gnucash_core_c.QOF_GUID_MATCH_ANY
QOF_GUID_MATCH_NONE = _gnucash_core_c.QOF_GUID_MATCH_NONE
QOF_GUID_MATCH_NULL = _gnucash_core_c.QOF_GUID_MATCH_NULL
QOF_GUID_MATCH_ALL = _gnucash_core_c.QOF_GUID_MATCH_ALL
QOF_GUID_MATCH_LIST_ANY = _gnucash_core_c.QOF_GUID_MATCH_LIST_ANY
QOF_CHAR_MATCH_ANY = _gnucash_core_c.QOF_CHAR_MATCH_ANY
QOF_CHAR_MATCH_NONE = _gnucash_core_c.QOF_CHAR_MATCH_NONE
class _QofQueryPredData(_object):
    """Proxy of C _QofQueryPredData struct"""
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, _QofQueryPredData, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, _QofQueryPredData, name)
    __repr__ = _swig_repr
    __swig_setmethods__["type_name"] = _gnucash_core_c._QofQueryPredData_type_name_set
    __swig_getmethods__["type_name"] = _gnucash_core_c._QofQueryPredData_type_name_get
    if _newclass:type_name = _swig_property(_gnucash_core_c._QofQueryPredData_type_name_get, _gnucash_core_c._QofQueryPredData_type_name_set)
    __swig_setmethods__["how"] = _gnucash_core_c._QofQueryPredData_how_set
    __swig_getmethods__["how"] = _gnucash_core_c._QofQueryPredData_how_get
    if _newclass:how = _swig_property(_gnucash_core_c._QofQueryPredData_how_get, _gnucash_core_c._QofQueryPredData_how_set)
    def __init__(self): 
        """__init__(_QofQueryPredData self) -> _QofQueryPredData"""
        this = _gnucash_core_c.new__QofQueryPredData()
        try: self.this.append(this)
        except: self.this = this
    __swig_destroy__ = _gnucash_core_c.delete__QofQueryPredData
    __del__ = lambda self : None;
_QofQueryPredData_swigregister = _gnucash_core_c._QofQueryPredData_swigregister
_QofQueryPredData_swigregister(_QofQueryPredData)


def qof_query_string_predicate(*args):
  """qof_query_string_predicate(QofQueryCompare how, gchar const * str, QofStringMatch options, gboolean is_regex) -> _QofQueryPredData"""
  return _gnucash_core_c.qof_query_string_predicate(*args)

def qof_query_date_predicate(*args):
  """qof_query_date_predicate(QofQueryCompare how, QofDateMatch options, Timespec date) -> _QofQueryPredData"""
  return _gnucash_core_c.qof_query_date_predicate(*args)

def qof_query_numeric_predicate(*args):
  """qof_query_numeric_predicate(QofQueryCompare how, QofNumericMatch options, _gnc_numeric value) -> _QofQueryPredData"""
  return _gnucash_core_c.qof_query_numeric_predicate(*args)

def qof_query_guid_predicate(*args):
  """qof_query_guid_predicate(QofGuidMatch options, GList * guids) -> _QofQueryPredData"""
  return _gnucash_core_c.qof_query_guid_predicate(*args)

def qof_query_int32_predicate(*args):
  """qof_query_int32_predicate(QofQueryCompare how, gint32 val) -> _QofQueryPredData"""
  return _gnucash_core_c.qof_query_int32_predicate(*args)

def qof_query_int64_predicate(*args):
  """qof_query_int64_predicate(QofQueryCompare how, gint64 val) -> _QofQueryPredData"""
  return _gnucash_core_c.qof_query_int64_predicate(*args)

def qof_query_double_predicate(*args):
  """qof_query_double_predicate(QofQueryCompare how, double val) -> _QofQueryPredData"""
  return _gnucash_core_c.qof_query_double_predicate(*args)

def qof_query_boolean_predicate(*args):
  """qof_query_boolean_predicate(QofQueryCompare how, gboolean val) -> _QofQueryPredData"""
  return _gnucash_core_c.qof_query_boolean_predicate(*args)

def qof_query_char_predicate(*args):
  """qof_query_char_predicate(QofCharMatch options, gchar const * chars) -> _QofQueryPredData"""
  return _gnucash_core_c.qof_query_char_predicate(*args)

def qof_query_collect_predicate(*args):
  """qof_query_collect_predicate(QofGuidMatch options, QofCollection * coll) -> _QofQueryPredData"""
  return _gnucash_core_c.qof_query_collect_predicate(*args)

def qof_query_choice_predicate(*args):
  """qof_query_choice_predicate(QofGuidMatch options, GList * guids) -> _QofQueryPredData"""
  return _gnucash_core_c.qof_query_choice_predicate(*args)

def qof_query_kvp_predicate(*args):
  """qof_query_kvp_predicate(QofQueryCompare how, QofQueryParamList * path, KvpValue const * value) -> _QofQueryPredData"""
  return _gnucash_core_c.qof_query_kvp_predicate(*args)

def qof_query_kvp_predicate_path(*args):
  """qof_query_kvp_predicate_path(QofQueryCompare how, gchar const * path, KvpValue const * value) -> _QofQueryPredData"""
  return _gnucash_core_c.qof_query_kvp_predicate_path(*args)

def qof_query_core_predicate_copy(*args):
  """qof_query_core_predicate_copy(_QofQueryPredData pdata) -> _QofQueryPredData"""
  return _gnucash_core_c.qof_query_core_predicate_copy(*args)

def qof_query_core_predicate_free(*args):
  """qof_query_core_predicate_free(_QofQueryPredData pdata)"""
  return _gnucash_core_c.qof_query_core_predicate_free(*args)

def qof_query_date_predicate_get_date(*args):
  """qof_query_date_predicate_get_date(_QofQueryPredData pd, Timespec * date) -> gboolean"""
  return _gnucash_core_c.qof_query_date_predicate_get_date(*args)

def qof_query_core_to_string(*args):
  """qof_query_core_to_string(QofType arg1, gpointer object, QofParam * getter) -> char *"""
  return _gnucash_core_c.qof_query_core_to_string(*args)

def qof_string_number_compare_func(*args):
  """qof_string_number_compare_func(gpointer a, gpointer b, gint options, QofParam * this_param) -> int"""
  return _gnucash_core_c.qof_string_number_compare_func(*args)
GUID_DATA_SIZE = _gnucash_core_c.GUID_DATA_SIZE
class GncGUID(_object):
    """Proxy of C GNC_INTERNAL_GUID struct"""
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, GncGUID, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, GncGUID, name)
    __repr__ = _swig_repr
    __swig_setmethods__["data"] = _gnucash_core_c.GncGUID_data_set
    __swig_getmethods__["data"] = _gnucash_core_c.GncGUID_data_get
    if _newclass:data = _swig_property(_gnucash_core_c.GncGUID_data_get, _gnucash_core_c.GncGUID_data_set)
    __swig_setmethods__["__align_me"] = _gnucash_core_c.GncGUID___align_me_set
    __swig_getmethods__["__align_me"] = _gnucash_core_c.GncGUID___align_me_get
    if _newclass:__align_me = _swig_property(_gnucash_core_c.GncGUID___align_me_get, _gnucash_core_c.GncGUID___align_me_set)
    def __init__(self): 
        """__init__(GNC_INTERNAL_GUID self) -> GncGUID"""
        this = _gnucash_core_c.new_GncGUID()
        try: self.this.append(this)
        except: self.this = this
    __swig_destroy__ = _gnucash_core_c.delete_GncGUID
    __del__ = lambda self : None;
GncGUID_swigregister = _gnucash_core_c.GncGUID_swigregister
GncGUID_swigregister(GncGUID)


def gnc_guid_get_type():
  """gnc_guid_get_type() -> GType"""
  return _gnucash_core_c.gnc_guid_get_type()

def gnc_value_get_guid(*args):
  """gnc_value_get_guid(GValue const * value) -> GncGUID"""
  return _gnucash_core_c.gnc_value_get_guid(*args)
GUID_ENCODING_LENGTH = _gnucash_core_c.GUID_ENCODING_LENGTH

def guid_init():
  """guid_init()"""
  return _gnucash_core_c.guid_init()

def guid_shutdown():
  """guid_shutdown()"""
  return _gnucash_core_c.guid_shutdown()

def guid_new(*args):
  """guid_new(GncGUID guid)"""
  return _gnucash_core_c.guid_new(*args)

def guid_new_return():
  """guid_new_return() -> GncGUID"""
  return _gnucash_core_c.guid_new_return()

def guid_null():
  """guid_null() -> GncGUID"""
  return _gnucash_core_c.guid_null()

def guid_malloc():
  """guid_malloc() -> GncGUID"""
  return _gnucash_core_c.guid_malloc()

def guid_free(*args):
  """guid_free(GncGUID guid)"""
  return _gnucash_core_c.guid_free(*args)

def guid_copy(*args):
  """guid_copy(GncGUID guid) -> GncGUID"""
  return _gnucash_core_c.guid_copy(*args)

def guid_to_string(*args):
  """guid_to_string(GncGUID guid) -> gchar const *"""
  return _gnucash_core_c.guid_to_string(*args)

def guid_to_string_buff(*args):
  """guid_to_string_buff(GncGUID guid, gchar * buff) -> gchar *"""
  return _gnucash_core_c.guid_to_string_buff(*args)

def string_to_guid(*args):
  """string_to_guid(gchar const * string, GncGUID guid) -> gboolean"""
  return _gnucash_core_c.string_to_guid(*args)

def guid_equal(*args):
  """guid_equal(GncGUID guid_1, GncGUID guid_2) -> gboolean"""
  return _gnucash_core_c.guid_equal(*args)

def guid_compare(*args):
  """guid_compare(GncGUID g1, GncGUID g2) -> gint"""
  return _gnucash_core_c.guid_compare(*args)

def guid_hash_to_guint(*args):
  """guid_hash_to_guint(gconstpointer ptr) -> guint"""
  return _gnucash_core_c.guid_hash_to_guint(*args)

def guid_g_hash_table_equal(*args):
  """guid_g_hash_table_equal(gconstpointer guid_a, gconstpointer guid_b) -> gint"""
  return _gnucash_core_c.guid_g_hash_table_equal(*args)

def guid_hash_table_new():
  """guid_hash_table_new() -> GHashTable *"""
  return _gnucash_core_c.guid_hash_table_new()
class _gnc_numeric(_object):
    """Proxy of C _gnc_numeric struct"""
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, _gnc_numeric, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, _gnc_numeric, name)
    __repr__ = _swig_repr
    __swig_setmethods__["num"] = _gnucash_core_c._gnc_numeric_num_set
    __swig_getmethods__["num"] = _gnucash_core_c._gnc_numeric_num_get
    if _newclass:num = _swig_property(_gnucash_core_c._gnc_numeric_num_get, _gnucash_core_c._gnc_numeric_num_set)
    __swig_setmethods__["denom"] = _gnucash_core_c._gnc_numeric_denom_set
    __swig_getmethods__["denom"] = _gnucash_core_c._gnc_numeric_denom_get
    if _newclass:denom = _swig_property(_gnucash_core_c._gnc_numeric_denom_get, _gnucash_core_c._gnc_numeric_denom_set)
    def __init__(self): 
        """__init__(_gnc_numeric self) -> _gnc_numeric"""
        this = _gnucash_core_c.new__gnc_numeric()
        try: self.this.append(this)
        except: self.this = this
    __swig_destroy__ = _gnucash_core_c.delete__gnc_numeric
    __del__ = lambda self : None;
_gnc_numeric_swigregister = _gnucash_core_c._gnc_numeric_swigregister
_gnc_numeric_swigregister(_gnc_numeric)

GNC_NUMERIC_RND_MASK = _gnucash_core_c.GNC_NUMERIC_RND_MASK
GNC_NUMERIC_DENOM_MASK = _gnucash_core_c.GNC_NUMERIC_DENOM_MASK
GNC_NUMERIC_SIGFIGS_MASK = _gnucash_core_c.GNC_NUMERIC_SIGFIGS_MASK
GNC_HOW_RND_FLOOR = _gnucash_core_c.GNC_HOW_RND_FLOOR
GNC_HOW_RND_CEIL = _gnucash_core_c.GNC_HOW_RND_CEIL
GNC_HOW_RND_TRUNC = _gnucash_core_c.GNC_HOW_RND_TRUNC
GNC_HOW_RND_PROMOTE = _gnucash_core_c.GNC_HOW_RND_PROMOTE
GNC_HOW_RND_ROUND_HALF_DOWN = _gnucash_core_c.GNC_HOW_RND_ROUND_HALF_DOWN
GNC_HOW_RND_ROUND_HALF_UP = _gnucash_core_c.GNC_HOW_RND_ROUND_HALF_UP
GNC_HOW_RND_ROUND = _gnucash_core_c.GNC_HOW_RND_ROUND
GNC_HOW_RND_NEVER = _gnucash_core_c.GNC_HOW_RND_NEVER
GNC_HOW_DENOM_EXACT = _gnucash_core_c.GNC_HOW_DENOM_EXACT
GNC_HOW_DENOM_REDUCE = _gnucash_core_c.GNC_HOW_DENOM_REDUCE
GNC_HOW_DENOM_LCD = _gnucash_core_c.GNC_HOW_DENOM_LCD
GNC_HOW_DENOM_FIXED = _gnucash_core_c.GNC_HOW_DENOM_FIXED
GNC_HOW_DENOM_SIGFIG = _gnucash_core_c.GNC_HOW_DENOM_SIGFIG
GNC_ERROR_OK = _gnucash_core_c.GNC_ERROR_OK
GNC_ERROR_ARG = _gnucash_core_c.GNC_ERROR_ARG
GNC_ERROR_OVERFLOW = _gnucash_core_c.GNC_ERROR_OVERFLOW
GNC_ERROR_DENOM_DIFF = _gnucash_core_c.GNC_ERROR_DENOM_DIFF
GNC_ERROR_REMAINDER = _gnucash_core_c.GNC_ERROR_REMAINDER
GNC_DENOM_AUTO = _gnucash_core_c.GNC_DENOM_AUTO

def gnc_numeric_create(*args):
  """gnc_numeric_create(gint64 num, gint64 denom) -> _gnc_numeric"""
  return _gnucash_core_c.gnc_numeric_create(*args)

def gnc_numeric_zero():
  """gnc_numeric_zero() -> _gnc_numeric"""
  return _gnucash_core_c.gnc_numeric_zero()

def double_to_gnc_numeric(*args):
  """double_to_gnc_numeric(double n, gint64 denom, gint how) -> _gnc_numeric"""
  return _gnucash_core_c.double_to_gnc_numeric(*args)

def string_to_gnc_numeric(*args):
  """string_to_gnc_numeric(gchar const * str, _gnc_numeric n) -> gboolean"""
  return _gnucash_core_c.string_to_gnc_numeric(*args)

def gnc_numeric_error(*args):
  """gnc_numeric_error(GNCNumericErrorCode error_code) -> _gnc_numeric"""
  return _gnucash_core_c.gnc_numeric_error(*args)

def gnc_numeric_errorCode_to_string(*args):
  """gnc_numeric_errorCode_to_string(GNCNumericErrorCode error_code) -> char const *"""
  return _gnucash_core_c.gnc_numeric_errorCode_to_string(*args)

def gnc_numeric_num(*args):
  """gnc_numeric_num(_gnc_numeric a) -> gint64"""
  return _gnucash_core_c.gnc_numeric_num(*args)

def gnc_numeric_denom(*args):
  """gnc_numeric_denom(_gnc_numeric a) -> gint64"""
  return _gnucash_core_c.gnc_numeric_denom(*args)

def gnc_numeric_to_double(*args):
  """gnc_numeric_to_double(_gnc_numeric n) -> gdouble"""
  return _gnucash_core_c.gnc_numeric_to_double(*args)

def gnc_numeric_to_string(*args):
  """gnc_numeric_to_string(_gnc_numeric n) -> gchar *"""
  return _gnucash_core_c.gnc_numeric_to_string(*args)

def gnc_num_dbg_to_string(*args):
  """gnc_num_dbg_to_string(_gnc_numeric n) -> gchar *"""
  return _gnucash_core_c.gnc_num_dbg_to_string(*args)

def gnc_numeric_check(*args):
  """gnc_numeric_check(_gnc_numeric a) -> GNCNumericErrorCode"""
  return _gnucash_core_c.gnc_numeric_check(*args)

def gnc_numeric_compare(*args):
  """gnc_numeric_compare(_gnc_numeric a, _gnc_numeric b) -> gint"""
  return _gnucash_core_c.gnc_numeric_compare(*args)

def gnc_numeric_zero_p(*args):
  """gnc_numeric_zero_p(_gnc_numeric a) -> gboolean"""
  return _gnucash_core_c.gnc_numeric_zero_p(*args)

def gnc_numeric_negative_p(*args):
  """gnc_numeric_negative_p(_gnc_numeric a) -> gboolean"""
  return _gnucash_core_c.gnc_numeric_negative_p(*args)

def gnc_numeric_positive_p(*args):
  """gnc_numeric_positive_p(_gnc_numeric a) -> gboolean"""
  return _gnucash_core_c.gnc_numeric_positive_p(*args)

def gnc_numeric_eq(*args):
  """gnc_numeric_eq(_gnc_numeric a, _gnc_numeric b) -> gboolean"""
  return _gnucash_core_c.gnc_numeric_eq(*args)

def gnc_numeric_equal(*args):
  """gnc_numeric_equal(_gnc_numeric a, _gnc_numeric b) -> gboolean"""
  return _gnucash_core_c.gnc_numeric_equal(*args)

def gnc_numeric_same(*args):
  """gnc_numeric_same(_gnc_numeric a, _gnc_numeric b, gint64 denom, gint how) -> gint"""
  return _gnucash_core_c.gnc_numeric_same(*args)

def gnc_numeric_add(*args):
  """gnc_numeric_add(_gnc_numeric a, _gnc_numeric b, gint64 denom, gint how) -> _gnc_numeric"""
  return _gnucash_core_c.gnc_numeric_add(*args)

def gnc_numeric_sub(*args):
  """gnc_numeric_sub(_gnc_numeric a, _gnc_numeric b, gint64 denom, gint how) -> _gnc_numeric"""
  return _gnucash_core_c.gnc_numeric_sub(*args)

def gnc_numeric_mul(*args):
  """gnc_numeric_mul(_gnc_numeric a, _gnc_numeric b, gint64 denom, gint how) -> _gnc_numeric"""
  return _gnucash_core_c.gnc_numeric_mul(*args)

def gnc_numeric_div(*args):
  """gnc_numeric_div(_gnc_numeric x, _gnc_numeric y, gint64 denom, gint how) -> _gnc_numeric"""
  return _gnucash_core_c.gnc_numeric_div(*args)

def gnc_numeric_neg(*args):
  """gnc_numeric_neg(_gnc_numeric a) -> _gnc_numeric"""
  return _gnucash_core_c.gnc_numeric_neg(*args)

def gnc_numeric_abs(*args):
  """gnc_numeric_abs(_gnc_numeric a) -> _gnc_numeric"""
  return _gnucash_core_c.gnc_numeric_abs(*args)

def gnc_numeric_add_fixed(*args):
  """gnc_numeric_add_fixed(_gnc_numeric a, _gnc_numeric b) -> _gnc_numeric"""
  return _gnucash_core_c.gnc_numeric_add_fixed(*args)

def gnc_numeric_sub_fixed(*args):
  """gnc_numeric_sub_fixed(_gnc_numeric a, _gnc_numeric b) -> _gnc_numeric"""
  return _gnucash_core_c.gnc_numeric_sub_fixed(*args)

def gnc_numeric_add_with_error(*args):
  """gnc_numeric_add_with_error(_gnc_numeric a, _gnc_numeric b, gint64 denom, gint how, _gnc_numeric error) -> _gnc_numeric"""
  return _gnucash_core_c.gnc_numeric_add_with_error(*args)

def gnc_numeric_sub_with_error(*args):
  """gnc_numeric_sub_with_error(_gnc_numeric a, _gnc_numeric b, gint64 denom, gint how, _gnc_numeric error) -> _gnc_numeric"""
  return _gnucash_core_c.gnc_numeric_sub_with_error(*args)

def gnc_numeric_mul_with_error(*args):
  """gnc_numeric_mul_with_error(_gnc_numeric a, _gnc_numeric b, gint64 denom, gint how, _gnc_numeric error) -> _gnc_numeric"""
  return _gnucash_core_c.gnc_numeric_mul_with_error(*args)

def gnc_numeric_div_with_error(*args):
  """gnc_numeric_div_with_error(_gnc_numeric a, _gnc_numeric b, gint64 denom, gint how, _gnc_numeric error) -> _gnc_numeric"""
  return _gnucash_core_c.gnc_numeric_div_with_error(*args)

def gnc_numeric_convert(*args):
  """gnc_numeric_convert(_gnc_numeric n, gint64 denom, gint how) -> _gnc_numeric"""
  return _gnucash_core_c.gnc_numeric_convert(*args)

def gnc_numeric_reduce(*args):
  """gnc_numeric_reduce(_gnc_numeric n) -> _gnc_numeric"""
  return _gnucash_core_c.gnc_numeric_reduce(*args)

def gnc_numeric_to_decimal(*args):
  """gnc_numeric_to_decimal(_gnc_numeric a, guint8 * max_decimal_places) -> gboolean"""
  return _gnucash_core_c.gnc_numeric_to_decimal(*args)

def gnc_numeric_invert(*args):
  """gnc_numeric_invert(_gnc_numeric num) -> _gnc_numeric"""
  return _gnucash_core_c.gnc_numeric_invert(*args)

def gnc_numeric_get_type():
  """gnc_numeric_get_type() -> GType"""
  return _gnucash_core_c.gnc_numeric_get_type()

def pwr64(*args):
  """pwr64(gint64 op, int exp) -> gint64"""
  return _gnucash_core_c.pwr64(*args)

def gnc_commodity_get_type():
  """gnc_commodity_get_type() -> GType"""
  return _gnucash_core_c.gnc_commodity_get_type()

def gnc_commodity_namespace_get_type():
  """gnc_commodity_namespace_get_type() -> GType"""
  return _gnucash_core_c.gnc_commodity_namespace_get_type()
GNC_COMMODITY_TABLE = _gnucash_core_c.GNC_COMMODITY_TABLE
GNC_COMMODITY_NS_LEGACY = _gnucash_core_c.GNC_COMMODITY_NS_LEGACY
GNC_COMMODITY_NS_ISO = _gnucash_core_c.GNC_COMMODITY_NS_ISO
GNC_COMMODITY_NS_CURRENCY = _gnucash_core_c.GNC_COMMODITY_NS_CURRENCY
GNC_COMMODITY_NS_NASDAQ = _gnucash_core_c.GNC_COMMODITY_NS_NASDAQ
GNC_COMMODITY_NS_NYSE = _gnucash_core_c.GNC_COMMODITY_NS_NYSE
GNC_COMMODITY_NS_EUREX = _gnucash_core_c.GNC_COMMODITY_NS_EUREX
GNC_COMMODITY_NS_MUTUAL = _gnucash_core_c.GNC_COMMODITY_NS_MUTUAL
GNC_COMMODITY_NS_AMEX = _gnucash_core_c.GNC_COMMODITY_NS_AMEX
GNC_COMMODITY_NS_ASX = _gnucash_core_c.GNC_COMMODITY_NS_ASX
SOURCE_SINGLE = _gnucash_core_c.SOURCE_SINGLE
SOURCE_MULTI = _gnucash_core_c.SOURCE_MULTI
SOURCE_UNKNOWN = _gnucash_core_c.SOURCE_UNKNOWN
SOURCE_MAX = _gnucash_core_c.SOURCE_MAX
SOURCE_CURRENCY = _gnucash_core_c.SOURCE_CURRENCY

def gnc_quote_source_fq_installed():
  """gnc_quote_source_fq_installed() -> gboolean"""
  return _gnucash_core_c.gnc_quote_source_fq_installed()

def gnc_quote_source_set_fq_installed(*args):
  """gnc_quote_source_set_fq_installed(GList const * sources_list)"""
  return _gnucash_core_c.gnc_quote_source_set_fq_installed(*args)

def gnc_quote_source_num_entries(*args):
  """gnc_quote_source_num_entries(QuoteSourceType type) -> gint"""
  return _gnucash_core_c.gnc_quote_source_num_entries(*args)

def gnc_quote_source_add_new(*args):
  """gnc_quote_source_add_new(char const * name, gboolean supported) -> gnc_quote_source *"""
  return _gnucash_core_c.gnc_quote_source_add_new(*args)

def gnc_quote_source_lookup_by_internal(*args):
  """gnc_quote_source_lookup_by_internal(char const * internal_name) -> gnc_quote_source *"""
  return _gnucash_core_c.gnc_quote_source_lookup_by_internal(*args)

def gnc_quote_source_lookup_by_ti(*args):
  """gnc_quote_source_lookup_by_ti(QuoteSourceType type, gint index) -> gnc_quote_source *"""
  return _gnucash_core_c.gnc_quote_source_lookup_by_ti(*args)

def gnc_quote_source_get_supported(*args):
  """gnc_quote_source_get_supported(gnc_quote_source const * source) -> gboolean"""
  return _gnucash_core_c.gnc_quote_source_get_supported(*args)

def gnc_quote_source_get_type(*args):
  """gnc_quote_source_get_type(gnc_quote_source const * source) -> QuoteSourceType"""
  return _gnucash_core_c.gnc_quote_source_get_type(*args)

def gnc_quote_source_get_index(*args):
  """gnc_quote_source_get_index(gnc_quote_source const * source) -> gint"""
  return _gnucash_core_c.gnc_quote_source_get_index(*args)

def gnc_quote_source_get_user_name(*args):
  """gnc_quote_source_get_user_name(gnc_quote_source const * source) -> char const *"""
  return _gnucash_core_c.gnc_quote_source_get_user_name(*args)

def gnc_quote_source_get_internal_name(*args):
  """gnc_quote_source_get_internal_name(gnc_quote_source const * source) -> char const *"""
  return _gnucash_core_c.gnc_quote_source_get_internal_name(*args)

def gnc_commodity_new(*args):
  """
    gnc_commodity_new(QofBook * book, char const * fullname, char const * commodity_namespace, char const * mnemonic, 
        char const * cusip, int fraction) -> gnc_commodity *
    """
  return _gnucash_core_c.gnc_commodity_new(*args)

def gnc_commodity_destroy(*args):
  """gnc_commodity_destroy(gnc_commodity * cm)"""
  return _gnucash_core_c.gnc_commodity_destroy(*args)

def gnc_commodity_copy(*args):
  """gnc_commodity_copy(gnc_commodity * dest, gnc_commodity const * src)"""
  return _gnucash_core_c.gnc_commodity_copy(*args)

def gnc_commodity_clone(*args):
  """gnc_commodity_clone(gnc_commodity const * src, QofBook * dest_book) -> gnc_commodity *"""
  return _gnucash_core_c.gnc_commodity_clone(*args)

def gnc_commodity_get_mnemonic(*args):
  """gnc_commodity_get_mnemonic(gnc_commodity const * cm) -> char const *"""
  return _gnucash_core_c.gnc_commodity_get_mnemonic(*args)

def gnc_commodity_get_namespace(*args):
  """gnc_commodity_get_namespace(gnc_commodity const * cm) -> char const *"""
  return _gnucash_core_c.gnc_commodity_get_namespace(*args)

def gnc_commodity_get_namespace_compat(*args):
  """gnc_commodity_get_namespace_compat(gnc_commodity const * cm) -> char const *"""
  return _gnucash_core_c.gnc_commodity_get_namespace_compat(*args)

def gnc_commodity_get_namespace_ds(*args):
  """gnc_commodity_get_namespace_ds(gnc_commodity const * cm) -> gnc_commodity_namespace *"""
  return _gnucash_core_c.gnc_commodity_get_namespace_ds(*args)

def gnc_commodity_get_fullname(*args):
  """gnc_commodity_get_fullname(gnc_commodity const * cm) -> char const *"""
  return _gnucash_core_c.gnc_commodity_get_fullname(*args)

def gnc_commodity_get_printname(*args):
  """gnc_commodity_get_printname(gnc_commodity const * cm) -> char const *"""
  return _gnucash_core_c.gnc_commodity_get_printname(*args)

def gnc_commodity_get_cusip(*args):
  """gnc_commodity_get_cusip(gnc_commodity const * cm) -> char const *"""
  return _gnucash_core_c.gnc_commodity_get_cusip(*args)

def gnc_commodity_get_unique_name(*args):
  """gnc_commodity_get_unique_name(gnc_commodity const * cm) -> char const *"""
  return _gnucash_core_c.gnc_commodity_get_unique_name(*args)

def gnc_commodity_get_fraction(*args):
  """gnc_commodity_get_fraction(gnc_commodity const * cm) -> int"""
  return _gnucash_core_c.gnc_commodity_get_fraction(*args)

def gnc_commodity_get_quote_flag(*args):
  """gnc_commodity_get_quote_flag(gnc_commodity const * cm) -> gboolean"""
  return _gnucash_core_c.gnc_commodity_get_quote_flag(*args)

def gnc_commodity_get_quote_source(*args):
  """gnc_commodity_get_quote_source(gnc_commodity const * cm) -> gnc_quote_source *"""
  return _gnucash_core_c.gnc_commodity_get_quote_source(*args)

def gnc_commodity_get_default_quote_source(*args):
  """gnc_commodity_get_default_quote_source(gnc_commodity const * cm) -> gnc_quote_source *"""
  return _gnucash_core_c.gnc_commodity_get_default_quote_source(*args)

def gnc_commodity_get_quote_tz(*args):
  """gnc_commodity_get_quote_tz(gnc_commodity const * cm) -> char const *"""
  return _gnucash_core_c.gnc_commodity_get_quote_tz(*args)

def gnc_commodity_get_user_symbol(*args):
  """gnc_commodity_get_user_symbol(gnc_commodity const * cm) -> char const *"""
  return _gnucash_core_c.gnc_commodity_get_user_symbol(*args)

def gnc_commodity_get_default_symbol(*args):
  """gnc_commodity_get_default_symbol(gnc_commodity const * cm) -> char const *"""
  return _gnucash_core_c.gnc_commodity_get_default_symbol(*args)

def gnc_commodity_get_nice_symbol(*args):
  """gnc_commodity_get_nice_symbol(gnc_commodity const * cm) -> char const *"""
  return _gnucash_core_c.gnc_commodity_get_nice_symbol(*args)

def gnc_commodity_set_mnemonic(*args):
  """gnc_commodity_set_mnemonic(gnc_commodity * cm, char const * mnemonic)"""
  return _gnucash_core_c.gnc_commodity_set_mnemonic(*args)

def gnc_commodity_set_namespace(*args):
  """gnc_commodity_set_namespace(gnc_commodity * cm, char const * new_namespace)"""
  return _gnucash_core_c.gnc_commodity_set_namespace(*args)

def gnc_commodity_set_fullname(*args):
  """gnc_commodity_set_fullname(gnc_commodity * cm, char const * fullname)"""
  return _gnucash_core_c.gnc_commodity_set_fullname(*args)

def gnc_commodity_set_cusip(*args):
  """gnc_commodity_set_cusip(gnc_commodity * cm, char const * cusip)"""
  return _gnucash_core_c.gnc_commodity_set_cusip(*args)

def gnc_commodity_set_fraction(*args):
  """gnc_commodity_set_fraction(gnc_commodity * cm, int smallest_fraction)"""
  return _gnucash_core_c.gnc_commodity_set_fraction(*args)

def gnc_commodity_user_set_quote_flag(*args):
  """gnc_commodity_user_set_quote_flag(gnc_commodity * cm, gboolean const flag)"""
  return _gnucash_core_c.gnc_commodity_user_set_quote_flag(*args)

def gnc_commodity_set_quote_flag(*args):
  """gnc_commodity_set_quote_flag(gnc_commodity * cm, gboolean const flag)"""
  return _gnucash_core_c.gnc_commodity_set_quote_flag(*args)

def gnc_commodity_set_quote_source(*args):
  """gnc_commodity_set_quote_source(gnc_commodity * cm, gnc_quote_source * src)"""
  return _gnucash_core_c.gnc_commodity_set_quote_source(*args)

def gnc_commodity_set_quote_tz(*args):
  """gnc_commodity_set_quote_tz(gnc_commodity * cm, char const * tz)"""
  return _gnucash_core_c.gnc_commodity_set_quote_tz(*args)

def gnc_commodity_set_user_symbol(*args):
  """gnc_commodity_set_user_symbol(gnc_commodity * cm, char const * user_symbol)"""
  return _gnucash_core_c.gnc_commodity_set_user_symbol(*args)

def gnc_commodity_increment_usage_count(*args):
  """gnc_commodity_increment_usage_count(gnc_commodity * cm)"""
  return _gnucash_core_c.gnc_commodity_increment_usage_count(*args)

def gnc_commodity_decrement_usage_count(*args):
  """gnc_commodity_decrement_usage_count(gnc_commodity * cm)"""
  return _gnucash_core_c.gnc_commodity_decrement_usage_count(*args)

def gnc_commodity_equiv(*args):
  """gnc_commodity_equiv(gnc_commodity const * a, gnc_commodity const * b) -> gboolean"""
  return _gnucash_core_c.gnc_commodity_equiv(*args)

def gnc_commodity_equal(*args):
  """gnc_commodity_equal(gnc_commodity const * a, gnc_commodity const * b) -> gboolean"""
  return _gnucash_core_c.gnc_commodity_equal(*args)

def gnc_commodity_compare(*args):
  """gnc_commodity_compare(gnc_commodity const * a, gnc_commodity const * b) -> int"""
  return _gnucash_core_c.gnc_commodity_compare(*args)

def gnc_commodity_compare_void(*args):
  """gnc_commodity_compare_void(void const * a, void const * b) -> int"""
  return _gnucash_core_c.gnc_commodity_compare_void(*args)

def gnc_commodity_namespace_is_iso(*args):
  """gnc_commodity_namespace_is_iso(char const * commodity_namespace) -> gboolean"""
  return _gnucash_core_c.gnc_commodity_namespace_is_iso(*args)

def gnc_commodity_is_iso(*args):
  """gnc_commodity_is_iso(gnc_commodity const * cm) -> gboolean"""
  return _gnucash_core_c.gnc_commodity_is_iso(*args)

def gnc_commodity_is_currency(*args):
  """gnc_commodity_is_currency(gnc_commodity const * cm) -> gboolean"""
  return _gnucash_core_c.gnc_commodity_is_currency(*args)

def gnc_commodity_table_get_table(*args):
  """gnc_commodity_table_get_table(QofBook * book) -> gnc_commodity_table *"""
  return _gnucash_core_c.gnc_commodity_table_get_table(*args)

def gnc_commodity_table_lookup(*args):
  """gnc_commodity_table_lookup(gnc_commodity_table const * table, char const * commodity_namespace, char const * mnemonic) -> gnc_commodity *"""
  return _gnucash_core_c.gnc_commodity_table_lookup(*args)

def gnc_commodity_table_lookup_unique(*args):
  """gnc_commodity_table_lookup_unique(gnc_commodity_table const * table, char const * unique_name) -> gnc_commodity *"""
  return _gnucash_core_c.gnc_commodity_table_lookup_unique(*args)

def gnc_commodity_table_find_full(*args):
  """gnc_commodity_table_find_full(gnc_commodity_table const * t, char const * commodity_namespace, char const * fullname) -> gnc_commodity *"""
  return _gnucash_core_c.gnc_commodity_table_find_full(*args)

def gnc_commodity_find_commodity_by_guid(*args):
  """gnc_commodity_find_commodity_by_guid(GncGUID guid, QofBook * book) -> gnc_commodity *"""
  return _gnucash_core_c.gnc_commodity_find_commodity_by_guid(*args)

def gnc_commodity_table_insert(*args):
  """gnc_commodity_table_insert(gnc_commodity_table * table, gnc_commodity * comm) -> gnc_commodity *"""
  return _gnucash_core_c.gnc_commodity_table_insert(*args)

def gnc_commodity_table_remove(*args):
  """gnc_commodity_table_remove(gnc_commodity_table * table, gnc_commodity * comm)"""
  return _gnucash_core_c.gnc_commodity_table_remove(*args)

def gnc_commodity_table_add_default_data(*args):
  """gnc_commodity_table_add_default_data(gnc_commodity_table * table, QofBook * book) -> gboolean"""
  return _gnucash_core_c.gnc_commodity_table_add_default_data(*args)

def gnc_commodity_namespace_get_name(*args):
  """gnc_commodity_namespace_get_name(gnc_commodity_namespace const * ns) -> char const *"""
  return _gnucash_core_c.gnc_commodity_namespace_get_name(*args)

def gnc_commodity_namespace_get_commodity_list(*args):
  """gnc_commodity_namespace_get_commodity_list(gnc_commodity_namespace const * ns) -> GList *"""
  return _gnucash_core_c.gnc_commodity_namespace_get_commodity_list(*args)

def gnc_commodity_table_has_namespace(*args):
  """gnc_commodity_table_has_namespace(gnc_commodity_table const * table, char const * commodity_namespace) -> int"""
  return _gnucash_core_c.gnc_commodity_table_has_namespace(*args)

def gnc_commodity_table_get_namespaces(*args):
  """gnc_commodity_table_get_namespaces(gnc_commodity_table const * t) -> GList *"""
  return _gnucash_core_c.gnc_commodity_table_get_namespaces(*args)

def gnc_commodity_table_get_namespaces_list(*args):
  """gnc_commodity_table_get_namespaces_list(gnc_commodity_table const * t) -> GList *"""
  return _gnucash_core_c.gnc_commodity_table_get_namespaces_list(*args)

def gnc_commodity_table_add_namespace(*args):
  """gnc_commodity_table_add_namespace(gnc_commodity_table * table, char const * commodity_namespace, QofBook * book) -> gnc_commodity_namespace *"""
  return _gnucash_core_c.gnc_commodity_table_add_namespace(*args)

def gnc_commodity_table_find_namespace(*args):
  """gnc_commodity_table_find_namespace(gnc_commodity_table const * table, char const * commodity_namespace) -> gnc_commodity_namespace *"""
  return _gnucash_core_c.gnc_commodity_table_find_namespace(*args)

def gnc_commodity_table_delete_namespace(*args):
  """gnc_commodity_table_delete_namespace(gnc_commodity_table * table, char const * commodity_namespace)"""
  return _gnucash_core_c.gnc_commodity_table_delete_namespace(*args)

def gnc_commodity_table_get_size(*args):
  """gnc_commodity_table_get_size(gnc_commodity_table const * tbl) -> guint"""
  return _gnucash_core_c.gnc_commodity_table_get_size(*args)

def gnc_commodity_table_get_commodities(*args):
  """gnc_commodity_table_get_commodities(gnc_commodity_table const * table, char const * commodity_namespace) -> CommodityList *"""
  return _gnucash_core_c.gnc_commodity_table_get_commodities(*args)

def gnc_commodity_table_get_quotable_commodities(*args):
  """gnc_commodity_table_get_quotable_commodities(gnc_commodity_table const * table) -> CommodityList *"""
  return _gnucash_core_c.gnc_commodity_table_get_quotable_commodities(*args)

def gnc_commodity_table_foreach_commodity(*args):
  """gnc_commodity_table_foreach_commodity(gnc_commodity_table const * table, gboolean (*)(gnc_commodity *,gpointer) f, gpointer user_data) -> gboolean"""
  return _gnucash_core_c.gnc_commodity_table_foreach_commodity(*args)

def gnc_commodity_table_new():
  """gnc_commodity_table_new() -> gnc_commodity_table *"""
  return _gnucash_core_c.gnc_commodity_table_new()

def gnc_commodity_table_destroy(*args):
  """gnc_commodity_table_destroy(gnc_commodity_table * table)"""
  return _gnucash_core_c.gnc_commodity_table_destroy(*args)

def gnc_commodity_obtain_twin(*args):
  """gnc_commodity_obtain_twin(gnc_commodity const * findlike, QofBook * book) -> gnc_commodity *"""
  return _gnucash_core_c.gnc_commodity_obtain_twin(*args)

def gnc_commodity_table_register():
  """gnc_commodity_table_register() -> gboolean"""
  return _gnucash_core_c.gnc_commodity_table_register()

def gnc_commodity_begin_edit(*args):
  """gnc_commodity_begin_edit(gnc_commodity * cm)"""
  return _gnucash_core_c.gnc_commodity_begin_edit(*args)

def gnc_commodity_commit_edit(*args):
  """gnc_commodity_commit_edit(gnc_commodity * cm)"""
  return _gnucash_core_c.gnc_commodity_commit_edit(*args)
class _gnc_monetary(_object):
    """Proxy of C _gnc_monetary struct"""
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, _gnc_monetary, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, _gnc_monetary, name)
    __repr__ = _swig_repr
    __swig_setmethods__["commodity"] = _gnucash_core_c._gnc_monetary_commodity_set
    __swig_getmethods__["commodity"] = _gnucash_core_c._gnc_monetary_commodity_get
    if _newclass:commodity = _swig_property(_gnucash_core_c._gnc_monetary_commodity_get, _gnucash_core_c._gnc_monetary_commodity_set)
    __swig_setmethods__["value"] = _gnucash_core_c._gnc_monetary_value_set
    __swig_getmethods__["value"] = _gnucash_core_c._gnc_monetary_value_get
    if _newclass:value = _swig_property(_gnucash_core_c._gnc_monetary_value_get, _gnucash_core_c._gnc_monetary_value_set)
    def __init__(self): 
        """__init__(_gnc_monetary self) -> _gnc_monetary"""
        this = _gnucash_core_c.new__gnc_monetary()
        try: self.this.append(this)
        except: self.this = this
    __swig_destroy__ = _gnucash_core_c.delete__gnc_monetary
    __del__ = lambda self : None;
_gnc_monetary_swigregister = _gnucash_core_c._gnc_monetary_swigregister
_gnc_monetary_swigregister(_gnc_monetary)


def gnc_monetary_create(*args):
  """gnc_monetary_create(gnc_commodity * commod, _gnc_numeric val) -> _gnc_monetary"""
  return _gnucash_core_c.gnc_monetary_create(*args)

def gnc_monetary_commodity(*args):
  """gnc_monetary_commodity(_gnc_monetary a) -> gnc_commodity *"""
  return _gnucash_core_c.gnc_monetary_commodity(*args)

def gnc_monetary_value(*args):
  """gnc_monetary_value(_gnc_monetary a) -> _gnc_numeric"""
  return _gnucash_core_c.gnc_monetary_value(*args)

def gnc_monetary_list_add_monetary(*args):
  """gnc_monetary_list_add_monetary(MonetaryList * list, _gnc_monetary mon) -> MonetaryList *"""
  return _gnucash_core_c.gnc_monetary_list_add_monetary(*args)

def gnc_monetary_list_add_value(*args):
  """gnc_monetary_list_add_value(MonetaryList * list, gnc_commodity * commod, _gnc_numeric value) -> MonetaryList *"""
  return _gnucash_core_c.gnc_monetary_list_add_value(*args)

def gnc_monetary_list_delete_zeros(*args):
  """gnc_monetary_list_delete_zeros(MonetaryList * list) -> MonetaryList *"""
  return _gnucash_core_c.gnc_monetary_list_delete_zeros(*args)

def gnc_monetary_list_free(*args):
  """gnc_monetary_list_free(MonetaryList * list)"""
  return _gnucash_core_c.gnc_monetary_list_free(*args)
GNC_ID_OWNER = _gnucash_core_c.GNC_ID_OWNER
GNC_OWNER_NONE = _gnucash_core_c.GNC_OWNER_NONE
GNC_OWNER_UNDEFINED = _gnucash_core_c.GNC_OWNER_UNDEFINED
GNC_OWNER_CUSTOMER = _gnucash_core_c.GNC_OWNER_CUSTOMER
GNC_OWNER_JOB = _gnucash_core_c.GNC_OWNER_JOB
GNC_OWNER_VENDOR = _gnucash_core_c.GNC_OWNER_VENDOR
GNC_OWNER_EMPLOYEE = _gnucash_core_c.GNC_OWNER_EMPLOYEE

def qofOwnerGetType(*args):
  """qofOwnerGetType(GncOwner const * owner) -> QofIdTypeConst"""
  return _gnucash_core_c.qofOwnerGetType(*args)

def qofOwnerGetOwner(*args):
  """qofOwnerGetOwner(GncOwner const * owner) -> QofInstance *"""
  return _gnucash_core_c.qofOwnerGetOwner(*args)

def qofOwnerSetEntity(*args):
  """qofOwnerSetEntity(GncOwner * owner, QofInstance * ent)"""
  return _gnucash_core_c.qofOwnerSetEntity(*args)

def GNC_IS_OWNER(*args):
  """GNC_IS_OWNER(QofInstance * ent) -> gboolean"""
  return _gnucash_core_c.GNC_IS_OWNER(*args)

def gncOwnerTypeToQofIdType(*args):
  """gncOwnerTypeToQofIdType(GncOwnerType t) -> QofIdTypeConst"""
  return _gnucash_core_c.gncOwnerTypeToQofIdType(*args)

def gncOwnerRegister():
  """gncOwnerRegister() -> gboolean"""
  return _gnucash_core_c.gncOwnerRegister()

def gncOwnerInitUndefined(*args):
  """gncOwnerInitUndefined(GncOwner * owner, gpointer obj)"""
  return _gnucash_core_c.gncOwnerInitUndefined(*args)

def gncOwnerInitCustomer(*args):
  """gncOwnerInitCustomer(GncOwner * owner, GncCustomer * customer)"""
  return _gnucash_core_c.gncOwnerInitCustomer(*args)

def gncOwnerInitJob(*args):
  """gncOwnerInitJob(GncOwner * owner, GncJob * job)"""
  return _gnucash_core_c.gncOwnerInitJob(*args)

def gncOwnerInitVendor(*args):
  """gncOwnerInitVendor(GncOwner * owner, GncVendor * vendor)"""
  return _gnucash_core_c.gncOwnerInitVendor(*args)

def gncOwnerInitEmployee(*args):
  """gncOwnerInitEmployee(GncOwner * owner, GncEmployee * employee)"""
  return _gnucash_core_c.gncOwnerInitEmployee(*args)

def gncOwnerGetType(*args):
  """gncOwnerGetType(GncOwner const * owner) -> GncOwnerType"""
  return _gnucash_core_c.gncOwnerGetType(*args)

def gncOwnerIsValid(*args):
  """gncOwnerIsValid(GncOwner const * owner) -> gboolean"""
  return _gnucash_core_c.gncOwnerIsValid(*args)

def gncOwnerGetUndefined(*args):
  """gncOwnerGetUndefined(GncOwner const * owner) -> gpointer"""
  return _gnucash_core_c.gncOwnerGetUndefined(*args)

def gncOwnerGetCustomer(*args):
  """gncOwnerGetCustomer(GncOwner const * owner) -> GncCustomer *"""
  return _gnucash_core_c.gncOwnerGetCustomer(*args)

def gncOwnerGetJob(*args):
  """gncOwnerGetJob(GncOwner const * owner) -> GncJob *"""
  return _gnucash_core_c.gncOwnerGetJob(*args)

def gncOwnerGetVendor(*args):
  """gncOwnerGetVendor(GncOwner const * owner) -> GncVendor *"""
  return _gnucash_core_c.gncOwnerGetVendor(*args)

def gncOwnerGetEmployee(*args):
  """gncOwnerGetEmployee(GncOwner const * owner) -> GncEmployee *"""
  return _gnucash_core_c.gncOwnerGetEmployee(*args)

def gncOwnerGetID(*args):
  """gncOwnerGetID(GncOwner const * owner) -> char const *"""
  return _gnucash_core_c.gncOwnerGetID(*args)

def gncOwnerGetName(*args):
  """gncOwnerGetName(GncOwner const * owner) -> char const *"""
  return _gnucash_core_c.gncOwnerGetName(*args)

def gncOwnerGetAddr(*args):
  """gncOwnerGetAddr(GncOwner const * owner) -> GncAddress *"""
  return _gnucash_core_c.gncOwnerGetAddr(*args)

def gncOwnerGetActive(*args):
  """gncOwnerGetActive(GncOwner const * owner) -> gboolean"""
  return _gnucash_core_c.gncOwnerGetActive(*args)

def gncOwnerGetCurrency(*args):
  """gncOwnerGetCurrency(GncOwner const * owner) -> gnc_commodity *"""
  return _gnucash_core_c.gncOwnerGetCurrency(*args)

def gncOwnerSetActive(*args):
  """gncOwnerSetActive(GncOwner const * owner, gboolean active)"""
  return _gnucash_core_c.gncOwnerSetActive(*args)

def gncOwnerCopy(*args):
  """gncOwnerCopy(GncOwner const * src, GncOwner * dest)"""
  return _gnucash_core_c.gncOwnerCopy(*args)

def gncOwnerEqual(*args):
  """gncOwnerEqual(GncOwner const * a, GncOwner const * b) -> gboolean"""
  return _gnucash_core_c.gncOwnerEqual(*args)

def gncOwnerGCompareFunc(*args):
  """gncOwnerGCompareFunc(GncOwner const * a, GncOwner const * b) -> int"""
  return _gnucash_core_c.gncOwnerGCompareFunc(*args)

def gncOwnerCompare(*args):
  """gncOwnerCompare(GncOwner const * a, GncOwner const * b) -> int"""
  return _gnucash_core_c.gncOwnerCompare(*args)

def gncOwnerGetGUID(*args):
  """gncOwnerGetGUID(GncOwner const * owner) -> GncGUID"""
  return _gnucash_core_c.gncOwnerGetGUID(*args)

def gncOwnerRetGUID(*args):
  """gncOwnerRetGUID(GncOwner * owner) -> GncGUID"""
  return _gnucash_core_c.gncOwnerRetGUID(*args)

def gncOwnerGetEndOwner(*args):
  """gncOwnerGetEndOwner(GncOwner const * owner) -> GncOwner const *"""
  return _gnucash_core_c.gncOwnerGetEndOwner(*args)

def gncOwnerGetEndGUID(*args):
  """gncOwnerGetEndGUID(GncOwner const * owner) -> GncGUID"""
  return _gnucash_core_c.gncOwnerGetEndGUID(*args)

def gncOwnerAttachToLot(*args):
  """gncOwnerAttachToLot(GncOwner const * owner, GNCLot * lot)"""
  return _gnucash_core_c.gncOwnerAttachToLot(*args)

def gncOwnerLotMatchOwnerFunc(*args):
  """gncOwnerLotMatchOwnerFunc(GNCLot * lot, gpointer user_data) -> gboolean"""
  return _gnucash_core_c.gncOwnerLotMatchOwnerFunc(*args)

def gncOwnerLotsSortFunc(*args):
  """gncOwnerLotsSortFunc(GNCLot * lotA, GNCLot * lotB) -> gint"""
  return _gnucash_core_c.gncOwnerLotsSortFunc(*args)

def gncOwnerGetOwnerFromLot(*args):
  """gncOwnerGetOwnerFromLot(GNCLot * lot, GncOwner * owner) -> gboolean"""
  return _gnucash_core_c.gncOwnerGetOwnerFromLot(*args)

def gncOwnerGetOwnerFromTxn(*args):
  """gncOwnerGetOwnerFromTxn(Transaction * txn, GncOwner * owner) -> gboolean"""
  return _gnucash_core_c.gncOwnerGetOwnerFromTxn(*args)

def gncOwnerGetOwnerFromTypeGuid(*args):
  """gncOwnerGetOwnerFromTypeGuid(QofBook * book, GncOwner * owner, QofIdType type, GncGUID guid) -> gboolean"""
  return _gnucash_core_c.gncOwnerGetOwnerFromTypeGuid(*args)

def gncOwnerGetSlots(*args):
  """gncOwnerGetSlots(GncOwner * owner) -> KvpFrame *"""
  return _gnucash_core_c.gncOwnerGetSlots(*args)

def gncOwnerCreatePaymentLot(*args):
  """
    gncOwnerCreatePaymentLot(GncOwner const * owner, Transaction ** preset_txn, Account * posted_acc, Account * xfer_acc, 
        _gnc_numeric amount, _gnc_numeric exch, Timespec date, char const * memo, 
        char const * num) -> GNCLot *
    """
  return _gnucash_core_c.gncOwnerCreatePaymentLot(*args)

def gncOwnerAutoApplyPaymentsWithLots(*args):
  """gncOwnerAutoApplyPaymentsWithLots(GncOwner const * owner, GList * lots)"""
  return _gnucash_core_c.gncOwnerAutoApplyPaymentsWithLots(*args)

def gncOwnerApplyPayment(*args):
  """
    gncOwnerApplyPayment(GncOwner const * owner, Transaction ** preset_txn, GList * lots, Account * posted_acc, 
        Account * xfer_acc, _gnc_numeric amount, _gnc_numeric exch, Timespec date, 
        char const * memo, char const * num, gboolean auto_pay)
    """
  return _gnucash_core_c.gncOwnerApplyPayment(*args)

def gncOwnerFindOffsettingSplit(*args):
  """gncOwnerFindOffsettingSplit(GNCLot * pay_lot, _gnc_numeric target_value) -> Split *"""
  return _gnucash_core_c.gncOwnerFindOffsettingSplit(*args)

def gncOwnerReduceSplitTo(*args):
  """gncOwnerReduceSplitTo(Split * split, _gnc_numeric target_value) -> gboolean"""
  return _gnucash_core_c.gncOwnerReduceSplitTo(*args)

def gncOwnerSetLotLinkMemo(*args):
  """gncOwnerSetLotLinkMemo(Transaction * ll_txn)"""
  return _gnucash_core_c.gncOwnerSetLotLinkMemo(*args)

def gncOwnerGetAccountTypesList(*args):
  """gncOwnerGetAccountTypesList(GncOwner const * owner) -> GList *"""
  return _gnucash_core_c.gncOwnerGetAccountTypesList(*args)

def gncOwnerGetCommoditiesList(*args):
  """gncOwnerGetCommoditiesList(GncOwner const * owner) -> GList *"""
  return _gnucash_core_c.gncOwnerGetCommoditiesList(*args)

def gncOwnerGetBalanceInCurrency(*args):
  """gncOwnerGetBalanceInCurrency(GncOwner const * owner, gnc_commodity const * report_currency) -> _gnc_numeric"""
  return _gnucash_core_c.gncOwnerGetBalanceInCurrency(*args)
OWNER_TYPE = _gnucash_core_c.OWNER_TYPE
OWNER_TYPE_STRING = _gnucash_core_c.OWNER_TYPE_STRING
OWNER_CUSTOMER = _gnucash_core_c.OWNER_CUSTOMER
OWNER_JOB = _gnucash_core_c.OWNER_JOB
OWNER_VENDOR = _gnucash_core_c.OWNER_VENDOR
OWNER_EMPLOYEE = _gnucash_core_c.OWNER_EMPLOYEE
OWNER_PARENT = _gnucash_core_c.OWNER_PARENT
OWNER_PARENTG = _gnucash_core_c.OWNER_PARENTG
OWNER_NAME = _gnucash_core_c.OWNER_NAME
OWNER_FROM_LOT = _gnucash_core_c.OWNER_FROM_LOT

def gncOwnerNew():
  """gncOwnerNew() -> GncOwner *"""
  return _gnucash_core_c.gncOwnerNew()

def gncOwnerFree(*args):
  """gncOwnerFree(GncOwner * owner)"""
  return _gnucash_core_c.gncOwnerFree(*args)

def gncOwnerBeginEdit(*args):
  """gncOwnerBeginEdit(GncOwner * owner)"""
  return _gnucash_core_c.gncOwnerBeginEdit(*args)

def gncOwnerDestroy(*args):
  """gncOwnerDestroy(GncOwner * owner)"""
  return _gnucash_core_c.gncOwnerDestroy(*args)
GNC_ID_CUSTOMER = _gnucash_core_c.GNC_ID_CUSTOMER

def gnc_customer_get_type():
  """gnc_customer_get_type() -> GType"""
  return _gnucash_core_c.gnc_customer_get_type()

def gncCustomerCreate(*args):
  """gncCustomerCreate(QofBook * book) -> GncCustomer *"""
  return _gnucash_core_c.gncCustomerCreate(*args)

def gncCustomerDestroy(*args):
  """gncCustomerDestroy(GncCustomer * customer)"""
  return _gnucash_core_c.gncCustomerDestroy(*args)

def gncCustomerBeginEdit(*args):
  """gncCustomerBeginEdit(GncCustomer * customer)"""
  return _gnucash_core_c.gncCustomerBeginEdit(*args)

def gncCustomerCommitEdit(*args):
  """gncCustomerCommitEdit(GncCustomer * customer)"""
  return _gnucash_core_c.gncCustomerCommitEdit(*args)

def gncCustomerSetID(*args):
  """gncCustomerSetID(GncCustomer * customer, char const * id)"""
  return _gnucash_core_c.gncCustomerSetID(*args)

def gncCustomerSetName(*args):
  """gncCustomerSetName(GncCustomer * customer, char const * name)"""
  return _gnucash_core_c.gncCustomerSetName(*args)

def gncCustomerSetNotes(*args):
  """gncCustomerSetNotes(GncCustomer * customer, char const * notes)"""
  return _gnucash_core_c.gncCustomerSetNotes(*args)

def gncCustomerSetTerms(*args):
  """gncCustomerSetTerms(GncCustomer * customer, GncBillTerm * term)"""
  return _gnucash_core_c.gncCustomerSetTerms(*args)

def gncCustomerSetTaxIncluded(*args):
  """gncCustomerSetTaxIncluded(GncCustomer * customer, GncTaxIncluded taxincl)"""
  return _gnucash_core_c.gncCustomerSetTaxIncluded(*args)

def gncCustomerSetActive(*args):
  """gncCustomerSetActive(GncCustomer * customer, gboolean active)"""
  return _gnucash_core_c.gncCustomerSetActive(*args)

def gncCustomerSetDiscount(*args):
  """gncCustomerSetDiscount(GncCustomer * customer, _gnc_numeric discount)"""
  return _gnucash_core_c.gncCustomerSetDiscount(*args)

def gncCustomerSetCredit(*args):
  """gncCustomerSetCredit(GncCustomer * customer, _gnc_numeric credit)"""
  return _gnucash_core_c.gncCustomerSetCredit(*args)

def gncCustomerSetCurrency(*args):
  """gncCustomerSetCurrency(GncCustomer * customer, gnc_commodity * currency)"""
  return _gnucash_core_c.gncCustomerSetCurrency(*args)

def gncCustomerSetTaxTableOverride(*args):
  """gncCustomerSetTaxTableOverride(GncCustomer * customer, gboolean override)"""
  return _gnucash_core_c.gncCustomerSetTaxTableOverride(*args)

def gncCustomerSetTaxTable(*args):
  """gncCustomerSetTaxTable(GncCustomer * customer, GncTaxTable * table)"""
  return _gnucash_core_c.gncCustomerSetTaxTable(*args)

def gncCustomerAddJob(*args):
  """gncCustomerAddJob(GncCustomer * customer, GncJob * job)"""
  return _gnucash_core_c.gncCustomerAddJob(*args)

def gncCustomerRemoveJob(*args):
  """gncCustomerRemoveJob(GncCustomer * customer, GncJob * job)"""
  return _gnucash_core_c.gncCustomerRemoveJob(*args)

def gncCustomerLookup(*args):
  """gncCustomerLookup(QofBook const * book, GncGUID guid) -> GncCustomer *"""
  return _gnucash_core_c.gncCustomerLookup(*args)

def gncCustomerGetID(*args):
  """gncCustomerGetID(GncCustomer const * customer) -> char const *"""
  return _gnucash_core_c.gncCustomerGetID(*args)

def gncCustomerGetName(*args):
  """gncCustomerGetName(GncCustomer const * customer) -> char const *"""
  return _gnucash_core_c.gncCustomerGetName(*args)

def gncCustomerGetAddr(*args):
  """gncCustomerGetAddr(GncCustomer const * customer) -> GncAddress *"""
  return _gnucash_core_c.gncCustomerGetAddr(*args)

def gncCustomerGetShipAddr(*args):
  """gncCustomerGetShipAddr(GncCustomer const * customer) -> GncAddress *"""
  return _gnucash_core_c.gncCustomerGetShipAddr(*args)

def gncCustomerGetNotes(*args):
  """gncCustomerGetNotes(GncCustomer const * customer) -> char const *"""
  return _gnucash_core_c.gncCustomerGetNotes(*args)

def gncCustomerGetTerms(*args):
  """gncCustomerGetTerms(GncCustomer const * customer) -> GncBillTerm *"""
  return _gnucash_core_c.gncCustomerGetTerms(*args)

def gncCustomerGetTaxIncluded(*args):
  """gncCustomerGetTaxIncluded(GncCustomer const * customer) -> GncTaxIncluded"""
  return _gnucash_core_c.gncCustomerGetTaxIncluded(*args)

def gncCustomerGetActive(*args):
  """gncCustomerGetActive(GncCustomer const * customer) -> gboolean"""
  return _gnucash_core_c.gncCustomerGetActive(*args)

def gncCustomerGetDiscount(*args):
  """gncCustomerGetDiscount(GncCustomer const * customer) -> _gnc_numeric"""
  return _gnucash_core_c.gncCustomerGetDiscount(*args)

def gncCustomerGetCredit(*args):
  """gncCustomerGetCredit(GncCustomer const * customer) -> _gnc_numeric"""
  return _gnucash_core_c.gncCustomerGetCredit(*args)

def gncCustomerGetCurrency(*args):
  """gncCustomerGetCurrency(GncCustomer const * customer) -> gnc_commodity *"""
  return _gnucash_core_c.gncCustomerGetCurrency(*args)

def gncCustomerGetTaxTableOverride(*args):
  """gncCustomerGetTaxTableOverride(GncCustomer const * customer) -> gboolean"""
  return _gnucash_core_c.gncCustomerGetTaxTableOverride(*args)

def gncCustomerGetTaxTable(*args):
  """gncCustomerGetTaxTable(GncCustomer const * customer) -> GncTaxTable *"""
  return _gnucash_core_c.gncCustomerGetTaxTable(*args)

def gncCustomerCompare(*args):
  """gncCustomerCompare(GncCustomer const * a, GncCustomer const * b) -> int"""
  return _gnucash_core_c.gncCustomerCompare(*args)
CUSTOMER_ID = _gnucash_core_c.CUSTOMER_ID
CUSTOMER_NAME = _gnucash_core_c.CUSTOMER_NAME
CUSTOMER_ADDR = _gnucash_core_c.CUSTOMER_ADDR
CUSTOMER_SHIPADDR = _gnucash_core_c.CUSTOMER_SHIPADDR
CUSTOMER_NOTES = _gnucash_core_c.CUSTOMER_NOTES
CUSTOMER_DISCOUNT = _gnucash_core_c.CUSTOMER_DISCOUNT
CUSTOMER_CREDIT = _gnucash_core_c.CUSTOMER_CREDIT
CUSTOMER_TT_OVER = _gnucash_core_c.CUSTOMER_TT_OVER
CUSTOMER_TAX_INC = _gnucash_core_c.CUSTOMER_TAX_INC
CUSTOMER_TERMS = _gnucash_core_c.CUSTOMER_TERMS
CUSTOMER_ACTIVE = _gnucash_core_c.CUSTOMER_ACTIVE
CUSTOMER_SLOTS = _gnucash_core_c.CUSTOMER_SLOTS

def gncCustomerEqual(*args):
  """gncCustomerEqual(GncCustomer const * a, GncCustomer const * b) -> gboolean"""
  return _gnucash_core_c.gncCustomerEqual(*args)

def gncCustomerGetJoblist(*args):
  """gncCustomerGetJoblist(GncCustomer const * customer, gboolean show_all) -> GList *"""
  return _gnucash_core_c.gncCustomerGetJoblist(*args)

def gncCustomerIsDirty(*args):
  """gncCustomerIsDirty(GncCustomer * customer) -> gboolean"""
  return _gnucash_core_c.gncCustomerIsDirty(*args)

def gncCustomerRegister():
  """gncCustomerRegister() -> gboolean"""
  return _gnucash_core_c.gncCustomerRegister()

def gncCustomerNextID(*args):
  """gncCustomerNextID(QofBook * book) -> gchar *"""
  return _gnucash_core_c.gncCustomerNextID(*args)
GNC_ID_EMPLOYEE = _gnucash_core_c.GNC_ID_EMPLOYEE

def gnc_employee_get_type():
  """gnc_employee_get_type() -> GType"""
  return _gnucash_core_c.gnc_employee_get_type()

def gncEmployeeCreate(*args):
  """gncEmployeeCreate(QofBook * book) -> GncEmployee *"""
  return _gnucash_core_c.gncEmployeeCreate(*args)

def gncEmployeeDestroy(*args):
  """gncEmployeeDestroy(GncEmployee * employee)"""
  return _gnucash_core_c.gncEmployeeDestroy(*args)

def gncEmployeeBeginEdit(*args):
  """gncEmployeeBeginEdit(GncEmployee * employee)"""
  return _gnucash_core_c.gncEmployeeBeginEdit(*args)

def gncEmployeeCommitEdit(*args):
  """gncEmployeeCommitEdit(GncEmployee * employee)"""
  return _gnucash_core_c.gncEmployeeCommitEdit(*args)

def gncEmployeeCompare(*args):
  """gncEmployeeCompare(GncEmployee const * a, GncEmployee const * b) -> int"""
  return _gnucash_core_c.gncEmployeeCompare(*args)

def gncEmployeeSetID(*args):
  """gncEmployeeSetID(GncEmployee * employee, char const * id)"""
  return _gnucash_core_c.gncEmployeeSetID(*args)

def gncEmployeeSetUsername(*args):
  """gncEmployeeSetUsername(GncEmployee * employee, char const * username)"""
  return _gnucash_core_c.gncEmployeeSetUsername(*args)

def gncEmployeeSetName(*args):
  """gncEmployeeSetName(GncEmployee * employee, char const * name)"""
  return _gnucash_core_c.gncEmployeeSetName(*args)

def gncEmployeeSetLanguage(*args):
  """gncEmployeeSetLanguage(GncEmployee * employee, char const * language)"""
  return _gnucash_core_c.gncEmployeeSetLanguage(*args)

def gncEmployeeSetAcl(*args):
  """gncEmployeeSetAcl(GncEmployee * employee, char const * acl)"""
  return _gnucash_core_c.gncEmployeeSetAcl(*args)

def gncEmployeeSetWorkday(*args):
  """gncEmployeeSetWorkday(GncEmployee * employee, _gnc_numeric workday)"""
  return _gnucash_core_c.gncEmployeeSetWorkday(*args)

def gncEmployeeSetRate(*args):
  """gncEmployeeSetRate(GncEmployee * employee, _gnc_numeric rate)"""
  return _gnucash_core_c.gncEmployeeSetRate(*args)

def gncEmployeeSetCurrency(*args):
  """gncEmployeeSetCurrency(GncEmployee * employee, gnc_commodity * currency)"""
  return _gnucash_core_c.gncEmployeeSetCurrency(*args)

def gncEmployeeSetActive(*args):
  """gncEmployeeSetActive(GncEmployee * employee, gboolean active)"""
  return _gnucash_core_c.gncEmployeeSetActive(*args)

def gncEmployeeSetCCard(*args):
  """gncEmployeeSetCCard(GncEmployee * employee, Account * ccard_acc)"""
  return _gnucash_core_c.gncEmployeeSetCCard(*args)

def qofEmployeeSetAddr(*args):
  """qofEmployeeSetAddr(GncEmployee * employee, QofInstance * addr_ent)"""
  return _gnucash_core_c.qofEmployeeSetAddr(*args)

def gncEmployeeGetBook(*args):
  """gncEmployeeGetBook(GncEmployee * employee) -> QofBook *"""
  return _gnucash_core_c.gncEmployeeGetBook(*args)

def gncEmployeeGetID(*args):
  """gncEmployeeGetID(GncEmployee const * employee) -> char const *"""
  return _gnucash_core_c.gncEmployeeGetID(*args)

def gncEmployeeGetUsername(*args):
  """gncEmployeeGetUsername(GncEmployee const * employee) -> char const *"""
  return _gnucash_core_c.gncEmployeeGetUsername(*args)

def gncEmployeeGetName(*args):
  """gncEmployeeGetName(GncEmployee const * employee) -> char const *"""
  return _gnucash_core_c.gncEmployeeGetName(*args)

def gncEmployeeGetAddr(*args):
  """gncEmployeeGetAddr(GncEmployee const * employee) -> GncAddress *"""
  return _gnucash_core_c.gncEmployeeGetAddr(*args)

def gncEmployeeGetLanguage(*args):
  """gncEmployeeGetLanguage(GncEmployee const * employee) -> char const *"""
  return _gnucash_core_c.gncEmployeeGetLanguage(*args)

def gncEmployeeGetAcl(*args):
  """gncEmployeeGetAcl(GncEmployee const * employee) -> char const *"""
  return _gnucash_core_c.gncEmployeeGetAcl(*args)

def gncEmployeeGetWorkday(*args):
  """gncEmployeeGetWorkday(GncEmployee const * employee) -> _gnc_numeric"""
  return _gnucash_core_c.gncEmployeeGetWorkday(*args)

def gncEmployeeGetRate(*args):
  """gncEmployeeGetRate(GncEmployee const * employee) -> _gnc_numeric"""
  return _gnucash_core_c.gncEmployeeGetRate(*args)

def gncEmployeeGetCurrency(*args):
  """gncEmployeeGetCurrency(GncEmployee const * employee) -> gnc_commodity *"""
  return _gnucash_core_c.gncEmployeeGetCurrency(*args)

def gncEmployeeGetActive(*args):
  """gncEmployeeGetActive(GncEmployee const * employee) -> gboolean"""
  return _gnucash_core_c.gncEmployeeGetActive(*args)

def gncEmployeeGetCCard(*args):
  """gncEmployeeGetCCard(GncEmployee const * employee) -> Account *"""
  return _gnucash_core_c.gncEmployeeGetCCard(*args)

def gncEmployeeLookup(*args):
  """gncEmployeeLookup(QofBook const * book, GncGUID guid) -> GncEmployee *"""
  return _gnucash_core_c.gncEmployeeLookup(*args)
EMPLOYEE_ID = _gnucash_core_c.EMPLOYEE_ID
EMPLOYEE_USERNAME = _gnucash_core_c.EMPLOYEE_USERNAME
EMPLOYEE_NAME = _gnucash_core_c.EMPLOYEE_NAME
EMPLOYEE_ADDR = _gnucash_core_c.EMPLOYEE_ADDR
EMPLOYEE_LANGUAGE = _gnucash_core_c.EMPLOYEE_LANGUAGE
EMPLOYEE_ACL = _gnucash_core_c.EMPLOYEE_ACL
EMPLOYEE_WORKDAY = _gnucash_core_c.EMPLOYEE_WORKDAY
EMPLOYEE_RATE = _gnucash_core_c.EMPLOYEE_RATE
EMPLOYEE_CC = _gnucash_core_c.EMPLOYEE_CC

def gncEmployeeEqual(*args):
  """gncEmployeeEqual(GncEmployee const * e1, GncEmployee const * e2) -> gboolean"""
  return _gnucash_core_c.gncEmployeeEqual(*args)

def gncEmployeeIsDirty(*args):
  """gncEmployeeIsDirty(GncEmployee const * employee) -> gboolean"""
  return _gnucash_core_c.gncEmployeeIsDirty(*args)
GNC_ID_VENDOR = _gnucash_core_c.GNC_ID_VENDOR

def gnc_vendor_get_type():
  """gnc_vendor_get_type() -> GType"""
  return _gnucash_core_c.gnc_vendor_get_type()

def gncVendorCreate(*args):
  """gncVendorCreate(QofBook * book) -> GncVendor *"""
  return _gnucash_core_c.gncVendorCreate(*args)

def gncVendorDestroy(*args):
  """gncVendorDestroy(GncVendor * vendor)"""
  return _gnucash_core_c.gncVendorDestroy(*args)

def gncVendorSetID(*args):
  """gncVendorSetID(GncVendor * vendor, char const * id)"""
  return _gnucash_core_c.gncVendorSetID(*args)

def gncVendorSetName(*args):
  """gncVendorSetName(GncVendor * vendor, char const * name)"""
  return _gnucash_core_c.gncVendorSetName(*args)

def gncVendorSetNotes(*args):
  """gncVendorSetNotes(GncVendor * vendor, char const * notes)"""
  return _gnucash_core_c.gncVendorSetNotes(*args)

def gncVendorSetTerms(*args):
  """gncVendorSetTerms(GncVendor * vendor, GncBillTerm * terms)"""
  return _gnucash_core_c.gncVendorSetTerms(*args)

def gncVendorSetTaxIncluded(*args):
  """gncVendorSetTaxIncluded(GncVendor * vendor, GncTaxIncluded taxincl)"""
  return _gnucash_core_c.gncVendorSetTaxIncluded(*args)

def gncVendorSetCurrency(*args):
  """gncVendorSetCurrency(GncVendor * vendor, gnc_commodity * currency)"""
  return _gnucash_core_c.gncVendorSetCurrency(*args)

def gncVendorSetActive(*args):
  """gncVendorSetActive(GncVendor * vendor, gboolean active)"""
  return _gnucash_core_c.gncVendorSetActive(*args)

def gncVendorSetTaxTableOverride(*args):
  """gncVendorSetTaxTableOverride(GncVendor * vendor, gboolean override)"""
  return _gnucash_core_c.gncVendorSetTaxTableOverride(*args)

def gncVendorSetTaxTable(*args):
  """gncVendorSetTaxTable(GncVendor * vendor, GncTaxTable * table)"""
  return _gnucash_core_c.gncVendorSetTaxTable(*args)

def gncVendorAddJob(*args):
  """gncVendorAddJob(GncVendor * vendor, GncJob * job)"""
  return _gnucash_core_c.gncVendorAddJob(*args)

def gncVendorRemoveJob(*args):
  """gncVendorRemoveJob(GncVendor * vendor, GncJob * job)"""
  return _gnucash_core_c.gncVendorRemoveJob(*args)

def gncVendorBeginEdit(*args):
  """gncVendorBeginEdit(GncVendor * vendor)"""
  return _gnucash_core_c.gncVendorBeginEdit(*args)

def gncVendorCommitEdit(*args):
  """gncVendorCommitEdit(GncVendor * vendor)"""
  return _gnucash_core_c.gncVendorCommitEdit(*args)

def gncVendorGetID(*args):
  """gncVendorGetID(GncVendor const * vendor) -> char const *"""
  return _gnucash_core_c.gncVendorGetID(*args)

def gncVendorGetName(*args):
  """gncVendorGetName(GncVendor const * vendor) -> char const *"""
  return _gnucash_core_c.gncVendorGetName(*args)

def gncVendorGetAddr(*args):
  """gncVendorGetAddr(GncVendor const * vendor) -> GncAddress *"""
  return _gnucash_core_c.gncVendorGetAddr(*args)

def gncVendorGetNotes(*args):
  """gncVendorGetNotes(GncVendor const * vendor) -> char const *"""
  return _gnucash_core_c.gncVendorGetNotes(*args)

def gncVendorGetTerms(*args):
  """gncVendorGetTerms(GncVendor const * vendor) -> GncBillTerm *"""
  return _gnucash_core_c.gncVendorGetTerms(*args)

def gncVendorGetTaxIncluded(*args):
  """gncVendorGetTaxIncluded(GncVendor const * vendor) -> GncTaxIncluded"""
  return _gnucash_core_c.gncVendorGetTaxIncluded(*args)

def gncVendorGetCurrency(*args):
  """gncVendorGetCurrency(GncVendor const * vendor) -> gnc_commodity *"""
  return _gnucash_core_c.gncVendorGetCurrency(*args)

def gncVendorGetActive(*args):
  """gncVendorGetActive(GncVendor const * vendor) -> gboolean"""
  return _gnucash_core_c.gncVendorGetActive(*args)

def gncVendorGetTaxTableOverride(*args):
  """gncVendorGetTaxTableOverride(GncVendor const * vendor) -> gboolean"""
  return _gnucash_core_c.gncVendorGetTaxTableOverride(*args)

def gncVendorGetTaxTable(*args):
  """gncVendorGetTaxTable(GncVendor const * vendor) -> GncTaxTable *"""
  return _gnucash_core_c.gncVendorGetTaxTable(*args)

def gncVendorCompare(*args):
  """gncVendorCompare(GncVendor const * a, GncVendor const * b) -> int"""
  return _gnucash_core_c.gncVendorCompare(*args)

def gncVendorLookup(*args):
  """gncVendorLookup(QofBook const * book, GncGUID guid) -> GncVendor *"""
  return _gnucash_core_c.gncVendorLookup(*args)
VENDOR_ID = _gnucash_core_c.VENDOR_ID
VENDOR_NAME = _gnucash_core_c.VENDOR_NAME
VENDOR_ADDR = _gnucash_core_c.VENDOR_ADDR
VENDOR_NOTES = _gnucash_core_c.VENDOR_NOTES
VENDOR_TERMS = _gnucash_core_c.VENDOR_TERMS
VENDOR_TAX_INC = _gnucash_core_c.VENDOR_TAX_INC
VENDOR_ACTIVE = _gnucash_core_c.VENDOR_ACTIVE
VENDOR_TAX_OVERRIDE = _gnucash_core_c.VENDOR_TAX_OVERRIDE
VENDOR_TAX_TABLE = _gnucash_core_c.VENDOR_TAX_TABLE

def gncVendorEqual(*args):
  """gncVendorEqual(GncVendor const * a, GncVendor const * b) -> gboolean"""
  return _gnucash_core_c.gncVendorEqual(*args)

def gncVendorIsDirty(*args):
  """gncVendorIsDirty(GncVendor const * vendor) -> gboolean"""
  return _gnucash_core_c.gncVendorIsDirty(*args)

def gncVendorRegister():
  """gncVendorRegister() -> gboolean"""
  return _gnucash_core_c.gncVendorRegister()

def gncVendorNextID(*args):
  """gncVendorNextID(QofBook * book) -> gchar *"""
  return _gnucash_core_c.gncVendorNextID(*args)
GNC_ADDRESS_MODULE_NAME = _gnucash_core_c.GNC_ADDRESS_MODULE_NAME
GNC_ID_ADDRESS = _gnucash_core_c.GNC_ID_ADDRESS

def gnc_address_get_type():
  """gnc_address_get_type() -> GType"""
  return _gnucash_core_c.gnc_address_get_type()

def gncAddressCreate(*args):
  """gncAddressCreate(QofBook * book, QofInstance * parent) -> GncAddress *"""
  return _gnucash_core_c.gncAddressCreate(*args)

def gncAddressDestroy(*args):
  """gncAddressDestroy(GncAddress * addr)"""
  return _gnucash_core_c.gncAddressDestroy(*args)

def gncAddressBeginEdit(*args):
  """gncAddressBeginEdit(GncAddress * addr)"""
  return _gnucash_core_c.gncAddressBeginEdit(*args)

def gncAddressCommitEdit(*args):
  """gncAddressCommitEdit(GncAddress * addr)"""
  return _gnucash_core_c.gncAddressCommitEdit(*args)

def gncAddressSetName(*args):
  """gncAddressSetName(GncAddress * addr, char const * name)"""
  return _gnucash_core_c.gncAddressSetName(*args)

def gncAddressSetAddr1(*args):
  """gncAddressSetAddr1(GncAddress * addr, char const * addr1)"""
  return _gnucash_core_c.gncAddressSetAddr1(*args)

def gncAddressSetAddr2(*args):
  """gncAddressSetAddr2(GncAddress * addr, char const * addr2)"""
  return _gnucash_core_c.gncAddressSetAddr2(*args)

def gncAddressSetAddr3(*args):
  """gncAddressSetAddr3(GncAddress * addr, char const * addr3)"""
  return _gnucash_core_c.gncAddressSetAddr3(*args)

def gncAddressSetAddr4(*args):
  """gncAddressSetAddr4(GncAddress * addr, char const * addr4)"""
  return _gnucash_core_c.gncAddressSetAddr4(*args)

def gncAddressSetPhone(*args):
  """gncAddressSetPhone(GncAddress * addr, char const * phone)"""
  return _gnucash_core_c.gncAddressSetPhone(*args)

def gncAddressSetFax(*args):
  """gncAddressSetFax(GncAddress * addr, char const * fax)"""
  return _gnucash_core_c.gncAddressSetFax(*args)

def gncAddressSetEmail(*args):
  """gncAddressSetEmail(GncAddress * addr, char const * email)"""
  return _gnucash_core_c.gncAddressSetEmail(*args)

def gncAddressClearDirty(*args):
  """gncAddressClearDirty(GncAddress * address)"""
  return _gnucash_core_c.gncAddressClearDirty(*args)

def gncAddressGetName(*args):
  """gncAddressGetName(GncAddress const * addr) -> char const *"""
  return _gnucash_core_c.gncAddressGetName(*args)

def gncAddressGetAddr1(*args):
  """gncAddressGetAddr1(GncAddress const * addr) -> char const *"""
  return _gnucash_core_c.gncAddressGetAddr1(*args)

def gncAddressGetAddr2(*args):
  """gncAddressGetAddr2(GncAddress const * addr) -> char const *"""
  return _gnucash_core_c.gncAddressGetAddr2(*args)

def gncAddressGetAddr3(*args):
  """gncAddressGetAddr3(GncAddress const * addr) -> char const *"""
  return _gnucash_core_c.gncAddressGetAddr3(*args)

def gncAddressGetAddr4(*args):
  """gncAddressGetAddr4(GncAddress const * addr) -> char const *"""
  return _gnucash_core_c.gncAddressGetAddr4(*args)

def gncAddressGetPhone(*args):
  """gncAddressGetPhone(GncAddress const * addr) -> char const *"""
  return _gnucash_core_c.gncAddressGetPhone(*args)

def gncAddressGetFax(*args):
  """gncAddressGetFax(GncAddress const * addr) -> char const *"""
  return _gnucash_core_c.gncAddressGetFax(*args)

def gncAddressGetEmail(*args):
  """gncAddressGetEmail(GncAddress const * addr) -> char const *"""
  return _gnucash_core_c.gncAddressGetEmail(*args)

def gncAddressIsDirty(*args):
  """gncAddressIsDirty(GncAddress const * addr) -> gboolean"""
  return _gnucash_core_c.gncAddressIsDirty(*args)

def gncAddressCompare(*args):
  """gncAddressCompare(GncAddress const * a, GncAddress const * b) -> int"""
  return _gnucash_core_c.gncAddressCompare(*args)

def gncAddressEqual(*args):
  """gncAddressEqual(GncAddress const * a, GncAddress const * b) -> gboolean"""
  return _gnucash_core_c.gncAddressEqual(*args)
ADDRESS_NAME = _gnucash_core_c.ADDRESS_NAME
ADDRESS_ONE = _gnucash_core_c.ADDRESS_ONE
ADDRESS_TWO = _gnucash_core_c.ADDRESS_TWO
ADDRESS_THREE = _gnucash_core_c.ADDRESS_THREE
ADDRESS_FOUR = _gnucash_core_c.ADDRESS_FOUR
ADDRESS_PHONE = _gnucash_core_c.ADDRESS_PHONE
ADDRESS_FAX = _gnucash_core_c.ADDRESS_FAX
ADDRESS_EMAIL = _gnucash_core_c.ADDRESS_EMAIL
ADDRESS_OWNER = _gnucash_core_c.ADDRESS_OWNER
GNC_ID_BILLTERM = _gnucash_core_c.GNC_ID_BILLTERM

def gnc_billterm_get_type():
  """gnc_billterm_get_type() -> GType"""
  return _gnucash_core_c.gnc_billterm_get_type()
GNC_BILLTERM_NAME = _gnucash_core_c.GNC_BILLTERM_NAME
GNC_BILLTERM_DESC = _gnucash_core_c.GNC_BILLTERM_DESC
GNC_BILLTERM_DUEDAYS = _gnucash_core_c.GNC_BILLTERM_DUEDAYS
GNC_BILLTERM_DISCDAYS = _gnucash_core_c.GNC_BILLTERM_DISCDAYS
GNC_BILLTERM_CUTOFF = _gnucash_core_c.GNC_BILLTERM_CUTOFF
GNC_BILLTERM_TYPE = _gnucash_core_c.GNC_BILLTERM_TYPE
GNC_BILLTERM_DISCOUNT = _gnucash_core_c.GNC_BILLTERM_DISCOUNT
GNC_BILLTERM_REFCOUNT = _gnucash_core_c.GNC_BILLTERM_REFCOUNT
GNC_TERM_TYPE_DAYS = _gnucash_core_c.GNC_TERM_TYPE_DAYS
GNC_TERM_TYPE_PROXIMO = _gnucash_core_c.GNC_TERM_TYPE_PROXIMO

def gncBillTermCreate(*args):
  """gncBillTermCreate(QofBook * book) -> GncBillTerm *"""
  return _gnucash_core_c.gncBillTermCreate(*args)

def gncBillTermDestroy(*args):
  """gncBillTermDestroy(GncBillTerm * term)"""
  return _gnucash_core_c.gncBillTermDestroy(*args)

def gncBillTermIncRef(*args):
  """gncBillTermIncRef(GncBillTerm * term)"""
  return _gnucash_core_c.gncBillTermIncRef(*args)

def gncBillTermDecRef(*args):
  """gncBillTermDecRef(GncBillTerm * term)"""
  return _gnucash_core_c.gncBillTermDecRef(*args)

def gncBillTermChanged(*args):
  """gncBillTermChanged(GncBillTerm * term)"""
  return _gnucash_core_c.gncBillTermChanged(*args)

def gncBillTermBeginEdit(*args):
  """gncBillTermBeginEdit(GncBillTerm * term)"""
  return _gnucash_core_c.gncBillTermBeginEdit(*args)

def gncBillTermCommitEdit(*args):
  """gncBillTermCommitEdit(GncBillTerm * term)"""
  return _gnucash_core_c.gncBillTermCommitEdit(*args)

def gncBillTermSetName(*args):
  """gncBillTermSetName(GncBillTerm * term, char const * name)"""
  return _gnucash_core_c.gncBillTermSetName(*args)

def gncBillTermSetDescription(*args):
  """gncBillTermSetDescription(GncBillTerm * term, char const * name)"""
  return _gnucash_core_c.gncBillTermSetDescription(*args)

def gncBillTermSetType(*args):
  """gncBillTermSetType(GncBillTerm * term, GncBillTermType type)"""
  return _gnucash_core_c.gncBillTermSetType(*args)

def gncBillTermSetDueDays(*args):
  """gncBillTermSetDueDays(GncBillTerm * term, gint days)"""
  return _gnucash_core_c.gncBillTermSetDueDays(*args)

def gncBillTermSetDiscountDays(*args):
  """gncBillTermSetDiscountDays(GncBillTerm * term, gint days)"""
  return _gnucash_core_c.gncBillTermSetDiscountDays(*args)

def gncBillTermSetDiscount(*args):
  """gncBillTermSetDiscount(GncBillTerm * term, _gnc_numeric discount)"""
  return _gnucash_core_c.gncBillTermSetDiscount(*args)

def gncBillTermSetCutoff(*args):
  """gncBillTermSetCutoff(GncBillTerm * term, gint cutoff)"""
  return _gnucash_core_c.gncBillTermSetCutoff(*args)

def gncBillTermLookup(*args):
  """gncBillTermLookup(QofBook const * book, GncGUID guid) -> GncBillTerm *"""
  return _gnucash_core_c.gncBillTermLookup(*args)

def gncBillTermLookupByName(*args):
  """gncBillTermLookupByName(QofBook * book, char const * name) -> GncBillTerm *"""
  return _gnucash_core_c.gncBillTermLookupByName(*args)

def gncBillTermGetTerms(*args):
  """gncBillTermGetTerms(QofBook * book) -> GList *"""
  return _gnucash_core_c.gncBillTermGetTerms(*args)

def gncBillTermGetName(*args):
  """gncBillTermGetName(GncBillTerm const * term) -> char const *"""
  return _gnucash_core_c.gncBillTermGetName(*args)

def gncBillTermGetDescription(*args):
  """gncBillTermGetDescription(GncBillTerm const * term) -> char const *"""
  return _gnucash_core_c.gncBillTermGetDescription(*args)

def gncBillTermGetType(*args):
  """gncBillTermGetType(GncBillTerm const * term) -> GncBillTermType"""
  return _gnucash_core_c.gncBillTermGetType(*args)

def gncBillTermGetDueDays(*args):
  """gncBillTermGetDueDays(GncBillTerm const * term) -> gint"""
  return _gnucash_core_c.gncBillTermGetDueDays(*args)

def gncBillTermGetDiscountDays(*args):
  """gncBillTermGetDiscountDays(GncBillTerm const * term) -> gint"""
  return _gnucash_core_c.gncBillTermGetDiscountDays(*args)

def gncBillTermGetDiscount(*args):
  """gncBillTermGetDiscount(GncBillTerm const * term) -> _gnc_numeric"""
  return _gnucash_core_c.gncBillTermGetDiscount(*args)

def gncBillTermGetCutoff(*args):
  """gncBillTermGetCutoff(GncBillTerm const * term) -> gint"""
  return _gnucash_core_c.gncBillTermGetCutoff(*args)

def gncBillTermIsDirty(*args):
  """gncBillTermIsDirty(GncBillTerm const * term) -> gboolean"""
  return _gnucash_core_c.gncBillTermIsDirty(*args)

def gncBillTermGetParent(*args):
  """gncBillTermGetParent(GncBillTerm const * term) -> GncBillTerm *"""
  return _gnucash_core_c.gncBillTermGetParent(*args)

def gncBillTermReturnChild(*args):
  """gncBillTermReturnChild(GncBillTerm * term, gboolean make_new) -> GncBillTerm *"""
  return _gnucash_core_c.gncBillTermReturnChild(*args)

def gncBillTermGetRefcount(*args):
  """gncBillTermGetRefcount(GncBillTerm const * term) -> gint64"""
  return _gnucash_core_c.gncBillTermGetRefcount(*args)

def gncBillTermCompare(*args):
  """gncBillTermCompare(GncBillTerm const * a, GncBillTerm const * b) -> int"""
  return _gnucash_core_c.gncBillTermCompare(*args)

def gncBillTermEqual(*args):
  """gncBillTermEqual(GncBillTerm const * a, GncBillTerm const * b) -> gboolean"""
  return _gnucash_core_c.gncBillTermEqual(*args)

def gncBillTermIsFamily(*args):
  """gncBillTermIsFamily(GncBillTerm const * a, GncBillTerm const * b) -> gboolean"""
  return _gnucash_core_c.gncBillTermIsFamily(*args)

def gncBillTermComputeDueDate(*args):
  """gncBillTermComputeDueDate(GncBillTerm const * term, Timespec post_date) -> Timespec"""
  return _gnucash_core_c.gncBillTermComputeDueDate(*args)
GNC_ID_INVOICE = _gnucash_core_c.GNC_ID_INVOICE
GNC_INVOICE_UNDEFINED = _gnucash_core_c.GNC_INVOICE_UNDEFINED
GNC_INVOICE_CUST_INVOICE = _gnucash_core_c.GNC_INVOICE_CUST_INVOICE
GNC_INVOICE_VEND_INVOICE = _gnucash_core_c.GNC_INVOICE_VEND_INVOICE
GNC_INVOICE_EMPL_INVOICE = _gnucash_core_c.GNC_INVOICE_EMPL_INVOICE
GNC_INVOICE_CUST_CREDIT_NOTE = _gnucash_core_c.GNC_INVOICE_CUST_CREDIT_NOTE
GNC_INVOICE_VEND_CREDIT_NOTE = _gnucash_core_c.GNC_INVOICE_VEND_CREDIT_NOTE
GNC_INVOICE_EMPL_CREDIT_NOTE = _gnucash_core_c.GNC_INVOICE_EMPL_CREDIT_NOTE
GNC_INVOICE_NUM_TYPES = _gnucash_core_c.GNC_INVOICE_NUM_TYPES

def gnc_invoice_get_type():
  """gnc_invoice_get_type() -> GType"""
  return _gnucash_core_c.gnc_invoice_get_type()

def gncInvoiceCreate(*args):
  """gncInvoiceCreate(QofBook * book) -> GncInvoice *"""
  return _gnucash_core_c.gncInvoiceCreate(*args)

def gncInvoiceDestroy(*args):
  """gncInvoiceDestroy(GncInvoice * invoice)"""
  return _gnucash_core_c.gncInvoiceDestroy(*args)

def gncInvoiceCopy(*args):
  """gncInvoiceCopy(GncInvoice const * other_invoice) -> GncInvoice *"""
  return _gnucash_core_c.gncInvoiceCopy(*args)

def gncInvoiceSetID(*args):
  """gncInvoiceSetID(GncInvoice * invoice, char const * id)"""
  return _gnucash_core_c.gncInvoiceSetID(*args)

def gncInvoiceSetOwner(*args):
  """gncInvoiceSetOwner(GncInvoice * invoice, GncOwner * owner)"""
  return _gnucash_core_c.gncInvoiceSetOwner(*args)

def gncInvoiceSetDateOpenedGDate(*args):
  """gncInvoiceSetDateOpenedGDate(GncInvoice * invoice, GDate const * date)"""
  return _gnucash_core_c.gncInvoiceSetDateOpenedGDate(*args)

def gncInvoiceSetDateOpened(*args):
  """gncInvoiceSetDateOpened(GncInvoice * invoice, Timespec date)"""
  return _gnucash_core_c.gncInvoiceSetDateOpened(*args)

def gncInvoiceSetDatePosted(*args):
  """gncInvoiceSetDatePosted(GncInvoice * invoice, Timespec date)"""
  return _gnucash_core_c.gncInvoiceSetDatePosted(*args)

def gncInvoiceSetTerms(*args):
  """gncInvoiceSetTerms(GncInvoice * invoice, GncBillTerm * terms)"""
  return _gnucash_core_c.gncInvoiceSetTerms(*args)

def gncInvoiceSetBillingID(*args):
  """gncInvoiceSetBillingID(GncInvoice * invoice, char const * billing_id)"""
  return _gnucash_core_c.gncInvoiceSetBillingID(*args)

def gncInvoiceSetNotes(*args):
  """gncInvoiceSetNotes(GncInvoice * invoice, char const * notes)"""
  return _gnucash_core_c.gncInvoiceSetNotes(*args)

def gncInvoiceSetCurrency(*args):
  """gncInvoiceSetCurrency(GncInvoice * invoice, gnc_commodity * currency)"""
  return _gnucash_core_c.gncInvoiceSetCurrency(*args)

def gncInvoiceSetActive(*args):
  """gncInvoiceSetActive(GncInvoice * invoice, gboolean active)"""
  return _gnucash_core_c.gncInvoiceSetActive(*args)

def gncInvoiceSetIsCreditNote(*args):
  """gncInvoiceSetIsCreditNote(GncInvoice * invoice, gboolean credit_note)"""
  return _gnucash_core_c.gncInvoiceSetIsCreditNote(*args)

def gncInvoiceSetBillTo(*args):
  """gncInvoiceSetBillTo(GncInvoice * invoice, GncOwner * billto)"""
  return _gnucash_core_c.gncInvoiceSetBillTo(*args)

def gncInvoiceSetToChargeAmount(*args):
  """gncInvoiceSetToChargeAmount(GncInvoice * invoice, _gnc_numeric amount)"""
  return _gnucash_core_c.gncInvoiceSetToChargeAmount(*args)

def gncInvoiceAddEntry(*args):
  """gncInvoiceAddEntry(GncInvoice * invoice, GncEntry * entry)"""
  return _gnucash_core_c.gncInvoiceAddEntry(*args)

def gncInvoiceRemoveEntry(*args):
  """gncInvoiceRemoveEntry(GncInvoice * invoice, GncEntry * entry)"""
  return _gnucash_core_c.gncInvoiceRemoveEntry(*args)

def gncInvoiceAddPrice(*args):
  """gncInvoiceAddPrice(GncInvoice * invoice, GNCPrice * price)"""
  return _gnucash_core_c.gncInvoiceAddPrice(*args)

def gncBillAddEntry(*args):
  """gncBillAddEntry(GncInvoice * bill, GncEntry * entry)"""
  return _gnucash_core_c.gncBillAddEntry(*args)

def gncBillRemoveEntry(*args):
  """gncBillRemoveEntry(GncInvoice * bill, GncEntry * entry)"""
  return _gnucash_core_c.gncBillRemoveEntry(*args)

def gncInvoiceSortEntries(*args):
  """gncInvoiceSortEntries(GncInvoice * invoice)"""
  return _gnucash_core_c.gncInvoiceSortEntries(*args)

def gncInvoiceRemoveEntries(*args):
  """gncInvoiceRemoveEntries(GncInvoice * invoice)"""
  return _gnucash_core_c.gncInvoiceRemoveEntries(*args)

def gncInvoiceGetID(*args):
  """gncInvoiceGetID(GncInvoice const * invoice) -> char const *"""
  return _gnucash_core_c.gncInvoiceGetID(*args)

def gncInvoiceGetOwner(*args):
  """gncInvoiceGetOwner(GncInvoice const * invoice) -> GncOwner const *"""
  return _gnucash_core_c.gncInvoiceGetOwner(*args)

def gncInvoiceGetDateOpened(*args):
  """gncInvoiceGetDateOpened(GncInvoice const * invoice) -> Timespec"""
  return _gnucash_core_c.gncInvoiceGetDateOpened(*args)

def gncInvoiceGetDatePosted(*args):
  """gncInvoiceGetDatePosted(GncInvoice const * invoice) -> Timespec"""
  return _gnucash_core_c.gncInvoiceGetDatePosted(*args)

def gncInvoiceGetDateDue(*args):
  """gncInvoiceGetDateDue(GncInvoice const * invoice) -> Timespec"""
  return _gnucash_core_c.gncInvoiceGetDateDue(*args)

def gncInvoiceGetTerms(*args):
  """gncInvoiceGetTerms(GncInvoice const * invoice) -> GncBillTerm *"""
  return _gnucash_core_c.gncInvoiceGetTerms(*args)

def gncInvoiceGetBillingID(*args):
  """gncInvoiceGetBillingID(GncInvoice const * invoice) -> char const *"""
  return _gnucash_core_c.gncInvoiceGetBillingID(*args)

def gncInvoiceGetNotes(*args):
  """gncInvoiceGetNotes(GncInvoice const * invoice) -> char const *"""
  return _gnucash_core_c.gncInvoiceGetNotes(*args)

def gncInvoiceGetOwnerType(*args):
  """gncInvoiceGetOwnerType(GncInvoice const * invoice) -> GncOwnerType"""
  return _gnucash_core_c.gncInvoiceGetOwnerType(*args)

def gncInvoiceGetTypeListForOwnerType(*args):
  """gncInvoiceGetTypeListForOwnerType(GncOwnerType const type) -> GList *"""
  return _gnucash_core_c.gncInvoiceGetTypeListForOwnerType(*args)

def gncInvoiceGetType(*args):
  """gncInvoiceGetType(GncInvoice const * invoice) -> GncInvoiceType"""
  return _gnucash_core_c.gncInvoiceGetType(*args)

def gncInvoiceGetTypeString(*args):
  """gncInvoiceGetTypeString(GncInvoice const * invoice) -> char const *"""
  return _gnucash_core_c.gncInvoiceGetTypeString(*args)

def gncInvoiceGetCurrency(*args):
  """gncInvoiceGetCurrency(GncInvoice const * invoice) -> gnc_commodity *"""
  return _gnucash_core_c.gncInvoiceGetCurrency(*args)

def gncInvoiceGetBillTo(*args):
  """gncInvoiceGetBillTo(GncInvoice * invoice) -> GncOwner *"""
  return _gnucash_core_c.gncInvoiceGetBillTo(*args)

def gncInvoiceGetToChargeAmount(*args):
  """gncInvoiceGetToChargeAmount(GncInvoice const * invoice) -> _gnc_numeric"""
  return _gnucash_core_c.gncInvoiceGetToChargeAmount(*args)

def gncInvoiceGetActive(*args):
  """gncInvoiceGetActive(GncInvoice const * invoice) -> gboolean"""
  return _gnucash_core_c.gncInvoiceGetActive(*args)

def gncInvoiceGetIsCreditNote(*args):
  """gncInvoiceGetIsCreditNote(GncInvoice const * invoice) -> gboolean"""
  return _gnucash_core_c.gncInvoiceGetIsCreditNote(*args)

def gncInvoiceGetPostedLot(*args):
  """gncInvoiceGetPostedLot(GncInvoice const * invoice) -> GNCLot *"""
  return _gnucash_core_c.gncInvoiceGetPostedLot(*args)

def gncInvoiceGetPostedTxn(*args):
  """gncInvoiceGetPostedTxn(GncInvoice const * invoice) -> Transaction *"""
  return _gnucash_core_c.gncInvoiceGetPostedTxn(*args)

def gncInvoiceGetPostedAcc(*args):
  """gncInvoiceGetPostedAcc(GncInvoice const * invoice) -> Account *"""
  return _gnucash_core_c.gncInvoiceGetPostedAcc(*args)

def gncInvoiceGetTotal(*args):
  """gncInvoiceGetTotal(GncInvoice * invoice) -> _gnc_numeric"""
  return _gnucash_core_c.gncInvoiceGetTotal(*args)

def gncInvoiceGetTotalOf(*args):
  """gncInvoiceGetTotalOf(GncInvoice * invoice, GncEntryPaymentType type) -> _gnc_numeric"""
  return _gnucash_core_c.gncInvoiceGetTotalOf(*args)

def gncInvoiceGetTotalSubtotal(*args):
  """gncInvoiceGetTotalSubtotal(GncInvoice * invoice) -> _gnc_numeric"""
  return _gnucash_core_c.gncInvoiceGetTotalSubtotal(*args)

def gncInvoiceGetTotalTax(*args):
  """gncInvoiceGetTotalTax(GncInvoice * invoice) -> _gnc_numeric"""
  return _gnucash_core_c.gncInvoiceGetTotalTax(*args)

def gncInvoiceGetEntries(*args):
  """gncInvoiceGetEntries(GncInvoice * invoice) -> EntryList *"""
  return _gnucash_core_c.gncInvoiceGetEntries(*args)

def gncInvoiceGetPrice(*args):
  """gncInvoiceGetPrice(GncInvoice * invoice, gnc_commodity * commodity) -> GNCPrice *"""
  return _gnucash_core_c.gncInvoiceGetPrice(*args)

def gncInvoiceAmountPositive(*args):
  """gncInvoiceAmountPositive(GncInvoice const * invoice) -> gboolean"""
  return _gnucash_core_c.gncInvoiceAmountPositive(*args)

def gncInvoiceGetForeignCurrencies(*args):
  """gncInvoiceGetForeignCurrencies(GncInvoice const * invoice) -> GHashTable *"""
  return _gnucash_core_c.gncInvoiceGetForeignCurrencies(*args)

def gncInvoicePostToAccount(*args):
  """
    gncInvoicePostToAccount(GncInvoice * invoice, Account * acc, Timespec * posted_date, Timespec * due_date, 
        char const * memo, gboolean accumulatesplits, gboolean autopay) -> Transaction *
    """
  return _gnucash_core_c.gncInvoicePostToAccount(*args)

def gncInvoiceUnpost(*args):
  """gncInvoiceUnpost(GncInvoice * invoice, gboolean reset_tax_tables) -> gboolean"""
  return _gnucash_core_c.gncInvoiceUnpost(*args)

def gncInvoiceAutoApplyPayments(*args):
  """gncInvoiceAutoApplyPayments(GncInvoice * invoice)"""
  return _gnucash_core_c.gncInvoiceAutoApplyPayments(*args)

def gncInvoiceApplyPayment(*args):
  """
    gncInvoiceApplyPayment(GncInvoice const * invoice, Transaction * txn, Account * xfer_acc, _gnc_numeric amount, 
        _gnc_numeric exch, Timespec date, char const * memo, char const * num)
    """
  return _gnucash_core_c.gncInvoiceApplyPayment(*args)

def gncInvoiceGetInvoiceFromTxn(*args):
  """gncInvoiceGetInvoiceFromTxn(Transaction const * txn) -> GncInvoice *"""
  return _gnucash_core_c.gncInvoiceGetInvoiceFromTxn(*args)

def gncInvoiceGetInvoiceFromLot(*args):
  """gncInvoiceGetInvoiceFromLot(GNCLot * lot) -> GncInvoice *"""
  return _gnucash_core_c.gncInvoiceGetInvoiceFromLot(*args)

def gncInvoiceLookup(*args):
  """gncInvoiceLookup(QofBook const * book, GncGUID guid) -> GncInvoice *"""
  return _gnucash_core_c.gncInvoiceLookup(*args)

def gncInvoiceBeginEdit(*args):
  """gncInvoiceBeginEdit(GncInvoice * invoice)"""
  return _gnucash_core_c.gncInvoiceBeginEdit(*args)

def gncInvoiceCommitEdit(*args):
  """gncInvoiceCommitEdit(GncInvoice * invoice)"""
  return _gnucash_core_c.gncInvoiceCommitEdit(*args)

def gncInvoiceCompare(*args):
  """gncInvoiceCompare(GncInvoice const * a, GncInvoice const * b) -> int"""
  return _gnucash_core_c.gncInvoiceCompare(*args)

def gncInvoiceIsPosted(*args):
  """gncInvoiceIsPosted(GncInvoice const * invoice) -> gboolean"""
  return _gnucash_core_c.gncInvoiceIsPosted(*args)

def gncInvoiceIsPaid(*args):
  """gncInvoiceIsPaid(GncInvoice const * invoice) -> gboolean"""
  return _gnucash_core_c.gncInvoiceIsPaid(*args)
INVOICE_ID = _gnucash_core_c.INVOICE_ID
INVOICE_OWNER = _gnucash_core_c.INVOICE_OWNER
INVOICE_OPENED = _gnucash_core_c.INVOICE_OPENED
INVOICE_POSTED = _gnucash_core_c.INVOICE_POSTED
INVOICE_DUE = _gnucash_core_c.INVOICE_DUE
INVOICE_IS_POSTED = _gnucash_core_c.INVOICE_IS_POSTED
INVOICE_IS_PAID = _gnucash_core_c.INVOICE_IS_PAID
INVOICE_TERMS = _gnucash_core_c.INVOICE_TERMS
INVOICE_BILLINGID = _gnucash_core_c.INVOICE_BILLINGID
INVOICE_NOTES = _gnucash_core_c.INVOICE_NOTES
INVOICE_ACC = _gnucash_core_c.INVOICE_ACC
INVOICE_POST_TXN = _gnucash_core_c.INVOICE_POST_TXN
INVOICE_POST_LOT = _gnucash_core_c.INVOICE_POST_LOT
INVOICE_IS_CN = _gnucash_core_c.INVOICE_IS_CN
INVOICE_TYPE = _gnucash_core_c.INVOICE_TYPE
INVOICE_TYPE_STRING = _gnucash_core_c.INVOICE_TYPE_STRING
INVOICE_BILLTO = _gnucash_core_c.INVOICE_BILLTO
INVOICE_ENTRIES = _gnucash_core_c.INVOICE_ENTRIES
INVOICE_JOB = _gnucash_core_c.INVOICE_JOB
INVOICE_FROM_LOT = _gnucash_core_c.INVOICE_FROM_LOT
INVOICE_FROM_TXN = _gnucash_core_c.INVOICE_FROM_TXN

def gncInvoiceGetBook(*args):
  """gncInvoiceGetBook(GncInvoice * x) -> QofBook *"""
  return _gnucash_core_c.gncInvoiceGetBook(*args)

def gncInvoiceEqual(*args):
  """gncInvoiceEqual(GncInvoice const * a, GncInvoice const * b) -> gboolean"""
  return _gnucash_core_c.gncInvoiceEqual(*args)

def gncInvoiceRegister():
  """gncInvoiceRegister() -> gboolean"""
  return _gnucash_core_c.gncInvoiceRegister()

def gncInvoiceNextID(*args):
  """gncInvoiceNextID(QofBook * book, GncOwner const * owner) -> gchar *"""
  return _gnucash_core_c.gncInvoiceNextID(*args)

def gncInvoiceSetPostedAcc(*args):
  """gncInvoiceSetPostedAcc(GncInvoice * invoice, Account * acc)"""
  return _gnucash_core_c.gncInvoiceSetPostedAcc(*args)

def gncInvoiceSetPostedTxn(*args):
  """gncInvoiceSetPostedTxn(GncInvoice * invoice, Transaction * txn)"""
  return _gnucash_core_c.gncInvoiceSetPostedTxn(*args)

def gncInvoiceSetPostedLot(*args):
  """gncInvoiceSetPostedLot(GncInvoice * invoice, GNCLot * lot)"""
  return _gnucash_core_c.gncInvoiceSetPostedLot(*args)
GNC_ID_JOB = _gnucash_core_c.GNC_ID_JOB

def gnc_job_get_type():
  """gnc_job_get_type() -> GType"""
  return _gnucash_core_c.gnc_job_get_type()

def gncJobCreate(*args):
  """gncJobCreate(QofBook * book) -> GncJob *"""
  return _gnucash_core_c.gncJobCreate(*args)

def gncJobDestroy(*args):
  """gncJobDestroy(GncJob * job)"""
  return _gnucash_core_c.gncJobDestroy(*args)

def gncJobSetID(*args):
  """gncJobSetID(GncJob * job, char const * id)"""
  return _gnucash_core_c.gncJobSetID(*args)

def gncJobSetName(*args):
  """gncJobSetName(GncJob * job, char const * jobname)"""
  return _gnucash_core_c.gncJobSetName(*args)

def gncJobSetReference(*args):
  """gncJobSetReference(GncJob * job, char const * owner_reference)"""
  return _gnucash_core_c.gncJobSetReference(*args)

def gncJobSetOwner(*args):
  """gncJobSetOwner(GncJob * job, GncOwner * owner)"""
  return _gnucash_core_c.gncJobSetOwner(*args)

def gncJobSetActive(*args):
  """gncJobSetActive(GncJob * job, gboolean active)"""
  return _gnucash_core_c.gncJobSetActive(*args)

def gncJobBeginEdit(*args):
  """gncJobBeginEdit(GncJob * job)"""
  return _gnucash_core_c.gncJobBeginEdit(*args)

def gncJobCommitEdit(*args):
  """gncJobCommitEdit(GncJob * job)"""
  return _gnucash_core_c.gncJobCommitEdit(*args)

def gncJobGetID(*args):
  """gncJobGetID(GncJob const * job) -> char const *"""
  return _gnucash_core_c.gncJobGetID(*args)

def gncJobGetName(*args):
  """gncJobGetName(GncJob const * job) -> char const *"""
  return _gnucash_core_c.gncJobGetName(*args)

def gncJobGetReference(*args):
  """gncJobGetReference(GncJob const * job) -> char const *"""
  return _gnucash_core_c.gncJobGetReference(*args)

def gncJobGetOwner(*args):
  """gncJobGetOwner(GncJob * job) -> GncOwner *"""
  return _gnucash_core_c.gncJobGetOwner(*args)

def gncJobGetActive(*args):
  """gncJobGetActive(GncJob const * job) -> gboolean"""
  return _gnucash_core_c.gncJobGetActive(*args)

def gncJobLookup(*args):
  """gncJobLookup(QofBook const * book, GncGUID guid) -> GncJob *"""
  return _gnucash_core_c.gncJobLookup(*args)

def gncJobCompare(*args):
  """gncJobCompare(GncJob const * a, GncJob const * b) -> int"""
  return _gnucash_core_c.gncJobCompare(*args)

def gncJobEqual(*args):
  """gncJobEqual(GncJob const * a, GncJob const * b) -> gboolean"""
  return _gnucash_core_c.gncJobEqual(*args)
JOB_ID = _gnucash_core_c.JOB_ID
JOB_NAME = _gnucash_core_c.JOB_NAME
JOB_REFERENCE = _gnucash_core_c.JOB_REFERENCE
JOB_OWNER = _gnucash_core_c.JOB_OWNER
Q_JOB_OWNER = _gnucash_core_c.Q_JOB_OWNER
JOB_ACTIVE = _gnucash_core_c.JOB_ACTIVE
GNC_PAYMENT_CASH = _gnucash_core_c.GNC_PAYMENT_CASH
GNC_PAYMENT_CARD = _gnucash_core_c.GNC_PAYMENT_CARD
GNC_DISC_PRETAX = _gnucash_core_c.GNC_DISC_PRETAX
GNC_DISC_SAMETIME = _gnucash_core_c.GNC_DISC_SAMETIME
GNC_DISC_POSTTAX = _gnucash_core_c.GNC_DISC_POSTTAX
GNC_ID_ENTRY = _gnucash_core_c.GNC_ID_ENTRY

def gnc_entry_get_type():
  """gnc_entry_get_type() -> GType"""
  return _gnucash_core_c.gnc_entry_get_type()

def gncEntryDiscountHowToString(*args):
  """gncEntryDiscountHowToString(GncDiscountHow how) -> char const *"""
  return _gnucash_core_c.gncEntryDiscountHowToString(*args)

def gncEntryDiscountStringToHow(*args):
  """gncEntryDiscountStringToHow(char const * str, GncDiscountHow * how) -> gboolean"""
  return _gnucash_core_c.gncEntryDiscountStringToHow(*args)

def gncEntryPaymentTypeToString(*args):
  """gncEntryPaymentTypeToString(GncEntryPaymentType type) -> char const *"""
  return _gnucash_core_c.gncEntryPaymentTypeToString(*args)

def gncEntryPaymentStringToType(*args):
  """gncEntryPaymentStringToType(char const * str, GncEntryPaymentType * type) -> gboolean"""
  return _gnucash_core_c.gncEntryPaymentStringToType(*args)

def gncEntryCreate(*args):
  """gncEntryCreate(QofBook * book) -> GncEntry *"""
  return _gnucash_core_c.gncEntryCreate(*args)

def gncEntryDestroy(*args):
  """gncEntryDestroy(GncEntry * entry)"""
  return _gnucash_core_c.gncEntryDestroy(*args)

def gncEntrySetDateGDate(*args):
  """gncEntrySetDateGDate(GncEntry * entry, GDate const * date)"""
  return _gnucash_core_c.gncEntrySetDateGDate(*args)

def gncEntrySetDate(*args):
  """gncEntrySetDate(GncEntry * entry, Timespec date)"""
  return _gnucash_core_c.gncEntrySetDate(*args)

def gncEntrySetDateEntered(*args):
  """gncEntrySetDateEntered(GncEntry * entry, Timespec date)"""
  return _gnucash_core_c.gncEntrySetDateEntered(*args)

def gncEntrySetDescription(*args):
  """gncEntrySetDescription(GncEntry * entry, char const * desc)"""
  return _gnucash_core_c.gncEntrySetDescription(*args)

def gncEntrySetAction(*args):
  """gncEntrySetAction(GncEntry * entry, char const * action)"""
  return _gnucash_core_c.gncEntrySetAction(*args)

def gncEntrySetNotes(*args):
  """gncEntrySetNotes(GncEntry * entry, char const * notes)"""
  return _gnucash_core_c.gncEntrySetNotes(*args)

def gncEntrySetQuantity(*args):
  """gncEntrySetQuantity(GncEntry * entry, _gnc_numeric quantity)"""
  return _gnucash_core_c.gncEntrySetQuantity(*args)

def gncEntrySetDocQuantity(*args):
  """gncEntrySetDocQuantity(GncEntry * entry, _gnc_numeric quantity, gboolean is_cn)"""
  return _gnucash_core_c.gncEntrySetDocQuantity(*args)

def gncEntrySetInvAccount(*args):
  """gncEntrySetInvAccount(GncEntry * entry, Account * acc)"""
  return _gnucash_core_c.gncEntrySetInvAccount(*args)

def gncEntrySetInvPrice(*args):
  """gncEntrySetInvPrice(GncEntry * entry, _gnc_numeric price)"""
  return _gnucash_core_c.gncEntrySetInvPrice(*args)

def gncEntrySetInvTaxable(*args):
  """gncEntrySetInvTaxable(GncEntry * entry, gboolean taxable)"""
  return _gnucash_core_c.gncEntrySetInvTaxable(*args)

def gncEntrySetInvTaxIncluded(*args):
  """gncEntrySetInvTaxIncluded(GncEntry * entry, gboolean tax_included)"""
  return _gnucash_core_c.gncEntrySetInvTaxIncluded(*args)

def gncEntrySetInvTaxTable(*args):
  """gncEntrySetInvTaxTable(GncEntry * entry, GncTaxTable * table)"""
  return _gnucash_core_c.gncEntrySetInvTaxTable(*args)

def gncEntrySetInvDiscount(*args):
  """gncEntrySetInvDiscount(GncEntry * entry, _gnc_numeric discount)"""
  return _gnucash_core_c.gncEntrySetInvDiscount(*args)

def gncEntrySetInvDiscountType(*args):
  """gncEntrySetInvDiscountType(GncEntry * entry, GncAmountType type)"""
  return _gnucash_core_c.gncEntrySetInvDiscountType(*args)

def gncEntrySetInvDiscountHow(*args):
  """gncEntrySetInvDiscountHow(GncEntry * entry, GncDiscountHow how)"""
  return _gnucash_core_c.gncEntrySetInvDiscountHow(*args)

def qofEntrySetInvDiscType(*args):
  """qofEntrySetInvDiscType(GncEntry * entry, char const * type)"""
  return _gnucash_core_c.qofEntrySetInvDiscType(*args)

def qofEntrySetInvDiscHow(*args):
  """qofEntrySetInvDiscHow(GncEntry * entry, char const * type)"""
  return _gnucash_core_c.qofEntrySetInvDiscHow(*args)

def gncEntrySetBillAccount(*args):
  """gncEntrySetBillAccount(GncEntry * entry, Account * acc)"""
  return _gnucash_core_c.gncEntrySetBillAccount(*args)

def gncEntrySetBillPrice(*args):
  """gncEntrySetBillPrice(GncEntry * entry, _gnc_numeric price)"""
  return _gnucash_core_c.gncEntrySetBillPrice(*args)

def gncEntrySetBillTaxable(*args):
  """gncEntrySetBillTaxable(GncEntry * entry, gboolean taxable)"""
  return _gnucash_core_c.gncEntrySetBillTaxable(*args)

def gncEntrySetBillTaxIncluded(*args):
  """gncEntrySetBillTaxIncluded(GncEntry * entry, gboolean tax_included)"""
  return _gnucash_core_c.gncEntrySetBillTaxIncluded(*args)

def gncEntrySetBillTaxTable(*args):
  """gncEntrySetBillTaxTable(GncEntry * entry, GncTaxTable * table)"""
  return _gnucash_core_c.gncEntrySetBillTaxTable(*args)

def gncEntrySetBillable(*args):
  """gncEntrySetBillable(GncEntry * entry, gboolean billable)"""
  return _gnucash_core_c.gncEntrySetBillable(*args)

def gncEntrySetBillTo(*args):
  """gncEntrySetBillTo(GncEntry * entry, GncOwner * billto)"""
  return _gnucash_core_c.gncEntrySetBillTo(*args)

def gncEntrySetBillPayment(*args):
  """gncEntrySetBillPayment(GncEntry * entry, GncEntryPaymentType type)"""
  return _gnucash_core_c.gncEntrySetBillPayment(*args)

def gncEntryGetDateGDate(*args):
  """gncEntryGetDateGDate(GncEntry const * entry) -> GDate"""
  return _gnucash_core_c.gncEntryGetDateGDate(*args)

def gncEntryGetDate(*args):
  """gncEntryGetDate(GncEntry const * entry) -> Timespec"""
  return _gnucash_core_c.gncEntryGetDate(*args)

def gncEntryGetDateEntered(*args):
  """gncEntryGetDateEntered(GncEntry const * entry) -> Timespec"""
  return _gnucash_core_c.gncEntryGetDateEntered(*args)

def gncEntryGetDescription(*args):
  """gncEntryGetDescription(GncEntry const * entry) -> char const *"""
  return _gnucash_core_c.gncEntryGetDescription(*args)

def gncEntryGetAction(*args):
  """gncEntryGetAction(GncEntry const * entry) -> char const *"""
  return _gnucash_core_c.gncEntryGetAction(*args)

def gncEntryGetNotes(*args):
  """gncEntryGetNotes(GncEntry const * notes) -> char const *"""
  return _gnucash_core_c.gncEntryGetNotes(*args)

def gncEntryGetQuantity(*args):
  """gncEntryGetQuantity(GncEntry const * entry) -> _gnc_numeric"""
  return _gnucash_core_c.gncEntryGetQuantity(*args)

def gncEntryGetDocQuantity(*args):
  """gncEntryGetDocQuantity(GncEntry const * entry, gboolean is_cn) -> _gnc_numeric"""
  return _gnucash_core_c.gncEntryGetDocQuantity(*args)

def gncEntryGetInvAccount(*args):
  """gncEntryGetInvAccount(GncEntry const * entry) -> Account *"""
  return _gnucash_core_c.gncEntryGetInvAccount(*args)

def gncEntryGetInvPrice(*args):
  """gncEntryGetInvPrice(GncEntry const * entry) -> _gnc_numeric"""
  return _gnucash_core_c.gncEntryGetInvPrice(*args)

def gncEntryGetInvDiscount(*args):
  """gncEntryGetInvDiscount(GncEntry const * entry) -> _gnc_numeric"""
  return _gnucash_core_c.gncEntryGetInvDiscount(*args)

def gncEntryGetInvDiscountType(*args):
  """gncEntryGetInvDiscountType(GncEntry const * entry) -> GncAmountType"""
  return _gnucash_core_c.gncEntryGetInvDiscountType(*args)

def gncEntryGetInvDiscountHow(*args):
  """gncEntryGetInvDiscountHow(GncEntry const * entry) -> GncDiscountHow"""
  return _gnucash_core_c.gncEntryGetInvDiscountHow(*args)

def qofEntryGetInvDiscType(*args):
  """qofEntryGetInvDiscType(GncEntry const * entry) -> char *"""
  return _gnucash_core_c.qofEntryGetInvDiscType(*args)

def qofEntryGetInvDiscHow(*args):
  """qofEntryGetInvDiscHow(GncEntry const * entry) -> char *"""
  return _gnucash_core_c.qofEntryGetInvDiscHow(*args)

def gncEntryGetInvTaxable(*args):
  """gncEntryGetInvTaxable(GncEntry const * entry) -> gboolean"""
  return _gnucash_core_c.gncEntryGetInvTaxable(*args)

def gncEntryGetInvTaxIncluded(*args):
  """gncEntryGetInvTaxIncluded(GncEntry const * entry) -> gboolean"""
  return _gnucash_core_c.gncEntryGetInvTaxIncluded(*args)

def gncEntryGetInvTaxTable(*args):
  """gncEntryGetInvTaxTable(GncEntry const * entry) -> GncTaxTable *"""
  return _gnucash_core_c.gncEntryGetInvTaxTable(*args)

def gncEntryGetBillAccount(*args):
  """gncEntryGetBillAccount(GncEntry const * entry) -> Account *"""
  return _gnucash_core_c.gncEntryGetBillAccount(*args)

def gncEntryGetBillPrice(*args):
  """gncEntryGetBillPrice(GncEntry const * entry) -> _gnc_numeric"""
  return _gnucash_core_c.gncEntryGetBillPrice(*args)

def gncEntryGetBillTaxable(*args):
  """gncEntryGetBillTaxable(GncEntry const * entry) -> gboolean"""
  return _gnucash_core_c.gncEntryGetBillTaxable(*args)

def gncEntryGetBillTaxIncluded(*args):
  """gncEntryGetBillTaxIncluded(GncEntry const * entry) -> gboolean"""
  return _gnucash_core_c.gncEntryGetBillTaxIncluded(*args)

def gncEntryGetBillTaxTable(*args):
  """gncEntryGetBillTaxTable(GncEntry const * entry) -> GncTaxTable *"""
  return _gnucash_core_c.gncEntryGetBillTaxTable(*args)

def gncEntryGetBillable(*args):
  """gncEntryGetBillable(GncEntry const * entry) -> gboolean"""
  return _gnucash_core_c.gncEntryGetBillable(*args)

def gncEntryGetBillTo(*args):
  """gncEntryGetBillTo(GncEntry * entry) -> GncOwner *"""
  return _gnucash_core_c.gncEntryGetBillTo(*args)

def gncEntryGetBillPayment(*args):
  """gncEntryGetBillPayment(GncEntry const * entry) -> GncEntryPaymentType"""
  return _gnucash_core_c.gncEntryGetBillPayment(*args)

def gncEntryCopy(*args):
  """gncEntryCopy(GncEntry const * src, GncEntry * dest, gboolean add_entry)"""
  return _gnucash_core_c.gncEntryCopy(*args)

def gncEntryGetDocValue(*args):
  """gncEntryGetDocValue(GncEntry * entry, gboolean round, gboolean is_cust_doc, gboolean is_cn) -> _gnc_numeric"""
  return _gnucash_core_c.gncEntryGetDocValue(*args)

def gncEntryGetDocTaxValue(*args):
  """gncEntryGetDocTaxValue(GncEntry * entry, gboolean round, gboolean is_cust_doc, gboolean is_cn) -> _gnc_numeric"""
  return _gnucash_core_c.gncEntryGetDocTaxValue(*args)

def gncEntryGetDocTaxValues(*args):
  """gncEntryGetDocTaxValues(GncEntry * entry, gboolean is_cust_doc, gboolean is_cn) -> AccountValueList *"""
  return _gnucash_core_c.gncEntryGetDocTaxValues(*args)

def gncEntryGetDocDiscountValue(*args):
  """gncEntryGetDocDiscountValue(GncEntry * entry, gboolean round, gboolean is_cust_doc, gboolean is_cn) -> _gnc_numeric"""
  return _gnucash_core_c.gncEntryGetDocDiscountValue(*args)

def gncEntryGetBalValue(*args):
  """gncEntryGetBalValue(GncEntry * entry, gboolean round, gboolean is_cust_doc) -> _gnc_numeric"""
  return _gnucash_core_c.gncEntryGetBalValue(*args)

def gncEntryGetBalTaxValue(*args):
  """gncEntryGetBalTaxValue(GncEntry * entry, gboolean round, gboolean is_cust_doc) -> _gnc_numeric"""
  return _gnucash_core_c.gncEntryGetBalTaxValue(*args)

def gncEntryGetBalTaxValues(*args):
  """gncEntryGetBalTaxValues(GncEntry * entry, gboolean is_cust_doc) -> AccountValueList *"""
  return _gnucash_core_c.gncEntryGetBalTaxValues(*args)

def gncEntryGetBalDiscountValue(*args):
  """gncEntryGetBalDiscountValue(GncEntry * entry, gboolean round, gboolean is_cust_doc) -> _gnc_numeric"""
  return _gnucash_core_c.gncEntryGetBalDiscountValue(*args)

def gncEntryComputeValue(*args):
  """
    gncEntryComputeValue(_gnc_numeric qty, _gnc_numeric price, GncTaxTable const * tax_table, gboolean tax_included, 
        _gnc_numeric discount, GncAmountType discount_type, GncDiscountHow discount_how, 
        int SCU, _gnc_numeric value, _gnc_numeric discount_value, 
        GList ** tax_values)
    """
  return _gnucash_core_c.gncEntryComputeValue(*args)

def gncEntryGetOrder(*args):
  """gncEntryGetOrder(GncEntry const * entry) -> GncOrder *"""
  return _gnucash_core_c.gncEntryGetOrder(*args)

def gncEntryGetInvoice(*args):
  """gncEntryGetInvoice(GncEntry const * entry) -> GncInvoice *"""
  return _gnucash_core_c.gncEntryGetInvoice(*args)

def gncEntryGetBill(*args):
  """gncEntryGetBill(GncEntry const * entry) -> GncInvoice *"""
  return _gnucash_core_c.gncEntryGetBill(*args)

def gncEntryLookup(*args):
  """gncEntryLookup(QofBook const * book, GncGUID guid) -> GncEntry *"""
  return _gnucash_core_c.gncEntryLookup(*args)

def gncEntryIsOpen(*args):
  """gncEntryIsOpen(GncEntry const * entry) -> gboolean"""
  return _gnucash_core_c.gncEntryIsOpen(*args)

def gncEntryBeginEdit(*args):
  """gncEntryBeginEdit(GncEntry * entry)"""
  return _gnucash_core_c.gncEntryBeginEdit(*args)

def gncEntryCommitEdit(*args):
  """gncEntryCommitEdit(GncEntry * entry)"""
  return _gnucash_core_c.gncEntryCommitEdit(*args)

def gncEntryCompare(*args):
  """gncEntryCompare(GncEntry const * a, GncEntry const * b) -> int"""
  return _gnucash_core_c.gncEntryCompare(*args)
ENTRY_DATE = _gnucash_core_c.ENTRY_DATE
ENTRY_DATE_ENTERED = _gnucash_core_c.ENTRY_DATE_ENTERED
ENTRY_DESC = _gnucash_core_c.ENTRY_DESC
ENTRY_ACTION = _gnucash_core_c.ENTRY_ACTION
ENTRY_NOTES = _gnucash_core_c.ENTRY_NOTES
ENTRY_QTY = _gnucash_core_c.ENTRY_QTY
ENTRY_IPRICE = _gnucash_core_c.ENTRY_IPRICE
ENTRY_IACCT = _gnucash_core_c.ENTRY_IACCT
ENTRY_BACCT = _gnucash_core_c.ENTRY_BACCT
ENTRY_BPRICE = _gnucash_core_c.ENTRY_BPRICE
ENTRY_BILLABLE = _gnucash_core_c.ENTRY_BILLABLE
ENTRY_BILLTO = _gnucash_core_c.ENTRY_BILLTO
ENTRY_ORDER = _gnucash_core_c.ENTRY_ORDER
ENTRY_INVOICE = _gnucash_core_c.ENTRY_INVOICE
ENTRY_BILL = _gnucash_core_c.ENTRY_BILL
ENTRY_INV_DISC_TYPE = _gnucash_core_c.ENTRY_INV_DISC_TYPE
ENTRY_INV_DISC_HOW = _gnucash_core_c.ENTRY_INV_DISC_HOW
ENTRY_INV_TAXABLE = _gnucash_core_c.ENTRY_INV_TAXABLE
ENTRY_BILL_TAXABLE = _gnucash_core_c.ENTRY_BILL_TAXABLE
ENTRY_INV_TAX_INC = _gnucash_core_c.ENTRY_INV_TAX_INC
ENTRY_BILL_TAX_INC = _gnucash_core_c.ENTRY_BILL_TAX_INC
ENTRY_INV_DISCOUNT = _gnucash_core_c.ENTRY_INV_DISCOUNT
ENTRY_BILL_PAY_TYPE = _gnucash_core_c.ENTRY_BILL_PAY_TYPE
GNC_ID_TAXTABLE = _gnucash_core_c.GNC_ID_TAXTABLE

def gnc_taxtable_get_type():
  """gnc_taxtable_get_type() -> GType"""
  return _gnucash_core_c.gnc_taxtable_get_type()
GNC_AMT_TYPE_VALUE = _gnucash_core_c.GNC_AMT_TYPE_VALUE
GNC_AMT_TYPE_PERCENT = _gnucash_core_c.GNC_AMT_TYPE_PERCENT
GNC_TAXINCLUDED_YES = _gnucash_core_c.GNC_TAXINCLUDED_YES
GNC_TAXINCLUDED_NO = _gnucash_core_c.GNC_TAXINCLUDED_NO
GNC_TAXINCLUDED_USEGLOBAL = _gnucash_core_c.GNC_TAXINCLUDED_USEGLOBAL

def gncAmountTypeToString(*args):
  """gncAmountTypeToString(GncAmountType type) -> char const *"""
  return _gnucash_core_c.gncAmountTypeToString(*args)

def gncAmountStringToType(*args):
  """gncAmountStringToType(char const * str, GncAmountType * type) -> gboolean"""
  return _gnucash_core_c.gncAmountStringToType(*args)

def gncTaxIncludedTypeToString(*args):
  """gncTaxIncludedTypeToString(GncTaxIncluded type) -> char const *"""
  return _gnucash_core_c.gncTaxIncludedTypeToString(*args)

def gncTaxIncludedStringToType(*args):
  """gncTaxIncludedStringToType(char const * str, GncTaxIncluded * type) -> gboolean"""
  return _gnucash_core_c.gncTaxIncludedStringToType(*args)

def gncTaxTableCreate(*args):
  """gncTaxTableCreate(QofBook * book) -> GncTaxTable *"""
  return _gnucash_core_c.gncTaxTableCreate(*args)

def gncTaxTableDestroy(*args):
  """gncTaxTableDestroy(GncTaxTable * table)"""
  return _gnucash_core_c.gncTaxTableDestroy(*args)

def gncTaxTableEntryCreate():
  """gncTaxTableEntryCreate() -> GncTaxTableEntry *"""
  return _gnucash_core_c.gncTaxTableEntryCreate()

def gncTaxTableEntryDestroy(*args):
  """gncTaxTableEntryDestroy(GncTaxTableEntry * entry)"""
  return _gnucash_core_c.gncTaxTableEntryDestroy(*args)

def gncTaxTableSetName(*args):
  """gncTaxTableSetName(GncTaxTable * table, char const * name)"""
  return _gnucash_core_c.gncTaxTableSetName(*args)

def gncTaxTableIncRef(*args):
  """gncTaxTableIncRef(GncTaxTable * table)"""
  return _gnucash_core_c.gncTaxTableIncRef(*args)

def gncTaxTableDecRef(*args):
  """gncTaxTableDecRef(GncTaxTable * table)"""
  return _gnucash_core_c.gncTaxTableDecRef(*args)

def gncTaxTableEntrySetAccount(*args):
  """gncTaxTableEntrySetAccount(GncTaxTableEntry * entry, Account * account)"""
  return _gnucash_core_c.gncTaxTableEntrySetAccount(*args)

def gncTaxTableEntrySetType(*args):
  """gncTaxTableEntrySetType(GncTaxTableEntry * entry, GncAmountType type)"""
  return _gnucash_core_c.gncTaxTableEntrySetType(*args)

def gncTaxTableEntrySetAmount(*args):
  """gncTaxTableEntrySetAmount(GncTaxTableEntry * entry, _gnc_numeric amount)"""
  return _gnucash_core_c.gncTaxTableEntrySetAmount(*args)

def gncTaxTableAddEntry(*args):
  """gncTaxTableAddEntry(GncTaxTable * table, GncTaxTableEntry * entry)"""
  return _gnucash_core_c.gncTaxTableAddEntry(*args)

def gncTaxTableRemoveEntry(*args):
  """gncTaxTableRemoveEntry(GncTaxTable * table, GncTaxTableEntry * entry)"""
  return _gnucash_core_c.gncTaxTableRemoveEntry(*args)

def gncTaxTableChanged(*args):
  """gncTaxTableChanged(GncTaxTable * table)"""
  return _gnucash_core_c.gncTaxTableChanged(*args)

def gncTaxTableBeginEdit(*args):
  """gncTaxTableBeginEdit(GncTaxTable * table)"""
  return _gnucash_core_c.gncTaxTableBeginEdit(*args)

def gncTaxTableCommitEdit(*args):
  """gncTaxTableCommitEdit(GncTaxTable * table)"""
  return _gnucash_core_c.gncTaxTableCommitEdit(*args)

def gncTaxTableEqual(*args):
  """gncTaxTableEqual(GncTaxTable const * a, GncTaxTable const * b) -> gboolean"""
  return _gnucash_core_c.gncTaxTableEqual(*args)

def gncTaxTableLookup(*args):
  """gncTaxTableLookup(QofBook const * book, GncGUID guid) -> GncTaxTable *"""
  return _gnucash_core_c.gncTaxTableLookup(*args)

def gncTaxTableLookupByName(*args):
  """gncTaxTableLookupByName(QofBook * book, char const * name) -> GncTaxTable *"""
  return _gnucash_core_c.gncTaxTableLookupByName(*args)

def gncTaxTableGetTables(*args):
  """gncTaxTableGetTables(QofBook * book) -> GList *"""
  return _gnucash_core_c.gncTaxTableGetTables(*args)

def gncTaxTableGetName(*args):
  """gncTaxTableGetName(GncTaxTable const * table) -> char const *"""
  return _gnucash_core_c.gncTaxTableGetName(*args)

def gncTaxTableGetParent(*args):
  """gncTaxTableGetParent(GncTaxTable const * table) -> GncTaxTable *"""
  return _gnucash_core_c.gncTaxTableGetParent(*args)

def gncTaxTableReturnChild(*args):
  """gncTaxTableReturnChild(GncTaxTable * table, gboolean make_new) -> GncTaxTable *"""
  return _gnucash_core_c.gncTaxTableReturnChild(*args)

def gncTaxTableGetEntries(*args):
  """gncTaxTableGetEntries(GncTaxTable const * table) -> GncTaxTableEntryList *"""
  return _gnucash_core_c.gncTaxTableGetEntries(*args)

def gncTaxTableGetRefcount(*args):
  """gncTaxTableGetRefcount(GncTaxTable const * table) -> gint64"""
  return _gnucash_core_c.gncTaxTableGetRefcount(*args)

def gncTaxTableLastModified(*args):
  """gncTaxTableLastModified(GncTaxTable const * table) -> Timespec"""
  return _gnucash_core_c.gncTaxTableLastModified(*args)

def gncTaxTableEntryGetAccount(*args):
  """gncTaxTableEntryGetAccount(GncTaxTableEntry const * entry) -> Account *"""
  return _gnucash_core_c.gncTaxTableEntryGetAccount(*args)

def gncTaxTableEntryGetType(*args):
  """gncTaxTableEntryGetType(GncTaxTableEntry const * entry) -> GncAmountType"""
  return _gnucash_core_c.gncTaxTableEntryGetType(*args)

def gncTaxTableEntryGetAmount(*args):
  """gncTaxTableEntryGetAmount(GncTaxTableEntry const * entry) -> _gnc_numeric"""
  return _gnucash_core_c.gncTaxTableEntryGetAmount(*args)

def gncTaxTableCompare(*args):
  """gncTaxTableCompare(GncTaxTable const * a, GncTaxTable const * b) -> int"""
  return _gnucash_core_c.gncTaxTableCompare(*args)

def gncTaxTableEntryCompare(*args):
  """gncTaxTableEntryCompare(GncTaxTableEntry const * a, GncTaxTableEntry const * b) -> int"""
  return _gnucash_core_c.gncTaxTableEntryCompare(*args)

def gncTaxTableEntryEqual(*args):
  """gncTaxTableEntryEqual(GncTaxTableEntry const * a, GncTaxTableEntry const * b) -> gboolean"""
  return _gnucash_core_c.gncTaxTableEntryEqual(*args)
class _gncAccountValue(_object):
    """Proxy of C _gncAccountValue struct"""
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, _gncAccountValue, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, _gncAccountValue, name)
    __repr__ = _swig_repr
    __swig_setmethods__["account"] = _gnucash_core_c._gncAccountValue_account_set
    __swig_getmethods__["account"] = _gnucash_core_c._gncAccountValue_account_get
    if _newclass:account = _swig_property(_gnucash_core_c._gncAccountValue_account_get, _gnucash_core_c._gncAccountValue_account_set)
    __swig_setmethods__["value"] = _gnucash_core_c._gncAccountValue_value_set
    __swig_getmethods__["value"] = _gnucash_core_c._gncAccountValue_value_get
    if _newclass:value = _swig_property(_gnucash_core_c._gncAccountValue_value_get, _gnucash_core_c._gncAccountValue_value_set)
    def __init__(self): 
        """__init__(_gncAccountValue self) -> _gncAccountValue"""
        this = _gnucash_core_c.new__gncAccountValue()
        try: self.this.append(this)
        except: self.this = this
    __swig_destroy__ = _gnucash_core_c.delete__gncAccountValue
    __del__ = lambda self : None;
_gncAccountValue_swigregister = _gnucash_core_c._gncAccountValue_swigregister
_gncAccountValue_swigregister(_gncAccountValue)


def gncAccountValueAdd(*args):
  """gncAccountValueAdd(GList * list, Account * acc, _gnc_numeric value) -> GList *"""
  return _gnucash_core_c.gncAccountValueAdd(*args)

def gncAccountValueAddList(*args):
  """gncAccountValueAddList(GList * l1, GList * l2) -> GList *"""
  return _gnucash_core_c.gncAccountValueAddList(*args)

def gncAccountValueTotal(*args):
  """gncAccountValueTotal(GList * list) -> _gnc_numeric"""
  return _gnucash_core_c.gncAccountValueTotal(*args)

def gncAccountValueDestroy(*args):
  """gncAccountValueDestroy(GList * list)"""
  return _gnucash_core_c.gncAccountValueDestroy(*args)
GNC_TT_NAME = _gnucash_core_c.GNC_TT_NAME
GNC_TT_REFCOUNT = _gnucash_core_c.GNC_TT_REFCOUNT

def gnc_search_customer_on_id(*args):
  """gnc_search_customer_on_id(QofBook * book, gchar const * id) -> GncCustomer *"""
  return _gnucash_core_c.gnc_search_customer_on_id(*args)

def gnc_search_invoice_on_id(*args):
  """gnc_search_invoice_on_id(QofBook * book, gchar const * id) -> GncInvoice *"""
  return _gnucash_core_c.gnc_search_invoice_on_id(*args)

def gnc_search_bill_on_id(*args):
  """gnc_search_bill_on_id(QofBook * book, gchar const * id) -> GncInvoice *"""
  return _gnucash_core_c.gnc_search_bill_on_id(*args)

def gnc_search_vendor_on_id(*args):
  """gnc_search_vendor_on_id(QofBook * book, gchar const * id) -> GncVendor *"""
  return _gnucash_core_c.gnc_search_vendor_on_id(*args)

def gnc_price_get_type():
  """gnc_price_get_type() -> GType"""
  return _gnucash_core_c.gnc_price_get_type()

def gnc_pricedb_get_type():
  """gnc_pricedb_get_type() -> GType"""
  return _gnucash_core_c.gnc_pricedb_get_type()
PRICE_SOURCE_EDIT_DLG = _gnucash_core_c.PRICE_SOURCE_EDIT_DLG
PRICE_SOURCE_FQ = _gnucash_core_c.PRICE_SOURCE_FQ
PRICE_SOURCE_USER_PRICE = _gnucash_core_c.PRICE_SOURCE_USER_PRICE
PRICE_SOURCE_XFER_DLG_VAL = _gnucash_core_c.PRICE_SOURCE_XFER_DLG_VAL
PRICE_SOURCE_SPLIT_REG = _gnucash_core_c.PRICE_SOURCE_SPLIT_REG
PRICE_SOURCE_STOCK_SPLIT = _gnucash_core_c.PRICE_SOURCE_STOCK_SPLIT
PRICE_SOURCE_INVOICE = _gnucash_core_c.PRICE_SOURCE_INVOICE
PRICE_SOURCE_INVALID = _gnucash_core_c.PRICE_SOURCE_INVALID
PRICE_TYPE_LAST = _gnucash_core_c.PRICE_TYPE_LAST
PRICE_TYPE_UNK = _gnucash_core_c.PRICE_TYPE_UNK
PRICE_TYPE_TRN = _gnucash_core_c.PRICE_TYPE_TRN

def gnc_price_create(*args):
  """gnc_price_create(QofBook * book) -> GNCPrice *"""
  return _gnucash_core_c.gnc_price_create(*args)

def gnc_price_clone(*args):
  """gnc_price_clone(GNCPrice * p, QofBook * book) -> GNCPrice *"""
  return _gnucash_core_c.gnc_price_clone(*args)

def gnc_price_ref(*args):
  """gnc_price_ref(GNCPrice * p)"""
  return _gnucash_core_c.gnc_price_ref(*args)

def gnc_price_unref(*args):
  """gnc_price_unref(GNCPrice * p)"""
  return _gnucash_core_c.gnc_price_unref(*args)

def gnc_price_begin_edit(*args):
  """gnc_price_begin_edit(GNCPrice * p)"""
  return _gnucash_core_c.gnc_price_begin_edit(*args)

def gnc_price_commit_edit(*args):
  """gnc_price_commit_edit(GNCPrice * p)"""
  return _gnucash_core_c.gnc_price_commit_edit(*args)

def gnc_price_set_commodity(*args):
  """gnc_price_set_commodity(GNCPrice * p, gnc_commodity * c)"""
  return _gnucash_core_c.gnc_price_set_commodity(*args)

def gnc_price_set_currency(*args):
  """gnc_price_set_currency(GNCPrice * p, gnc_commodity * c)"""
  return _gnucash_core_c.gnc_price_set_currency(*args)

def gnc_price_set_time(*args):
  """gnc_price_set_time(GNCPrice * p, Timespec t)"""
  return _gnucash_core_c.gnc_price_set_time(*args)

def gnc_price_set_source(*args):
  """gnc_price_set_source(GNCPrice * p, PriceSource source)"""
  return _gnucash_core_c.gnc_price_set_source(*args)

def gnc_price_set_source_string(*args):
  """gnc_price_set_source_string(GNCPrice * p, char const * s)"""
  return _gnucash_core_c.gnc_price_set_source_string(*args)

def gnc_price_set_typestr(*args):
  """gnc_price_set_typestr(GNCPrice * p, char const * type)"""
  return _gnucash_core_c.gnc_price_set_typestr(*args)

def gnc_price_set_value(*args):
  """gnc_price_set_value(GNCPrice * p, _gnc_numeric value)"""
  return _gnucash_core_c.gnc_price_set_value(*args)

def gnc_price_lookup(*args):
  """gnc_price_lookup(GncGUID guid, QofBook * book) -> GNCPrice *"""
  return _gnucash_core_c.gnc_price_lookup(*args)

def gnc_price_get_commodity(*args):
  """gnc_price_get_commodity(GNCPrice const * p) -> gnc_commodity *"""
  return _gnucash_core_c.gnc_price_get_commodity(*args)

def gnc_price_get_currency(*args):
  """gnc_price_get_currency(GNCPrice const * p) -> gnc_commodity *"""
  return _gnucash_core_c.gnc_price_get_currency(*args)

def gnc_price_get_time(*args):
  """gnc_price_get_time(GNCPrice const * p) -> Timespec"""
  return _gnucash_core_c.gnc_price_get_time(*args)

def gnc_price_get_source(*args):
  """gnc_price_get_source(GNCPrice const * p) -> PriceSource"""
  return _gnucash_core_c.gnc_price_get_source(*args)

def gnc_price_get_source_string(*args):
  """gnc_price_get_source_string(GNCPrice const * p) -> char const *"""
  return _gnucash_core_c.gnc_price_get_source_string(*args)

def gnc_price_get_typestr(*args):
  """gnc_price_get_typestr(GNCPrice const * p) -> char const *"""
  return _gnucash_core_c.gnc_price_get_typestr(*args)

def gnc_price_get_value(*args):
  """gnc_price_get_value(GNCPrice const * p) -> _gnc_numeric"""
  return _gnucash_core_c.gnc_price_get_value(*args)

def gnc_price_equal(*args):
  """gnc_price_equal(GNCPrice const * p1, GNCPrice const * p2) -> gboolean"""
  return _gnucash_core_c.gnc_price_equal(*args)

def gnc_price_print(*args):
  """gnc_price_print(GNCPrice * db, FILE * f, int indent)"""
  return _gnucash_core_c.gnc_price_print(*args)
CURRENCY_DENOM = _gnucash_core_c.CURRENCY_DENOM
COMMODITY_DENOM_MULT = _gnucash_core_c.COMMODITY_DENOM_MULT

def gnc_price_list_insert(*args):
  """gnc_price_list_insert(PriceList ** prices, GNCPrice * p, gboolean check_dupl) -> gboolean"""
  return _gnucash_core_c.gnc_price_list_insert(*args)

def gnc_price_list_remove(*args):
  """gnc_price_list_remove(PriceList ** prices, GNCPrice * p) -> gboolean"""
  return _gnucash_core_c.gnc_price_list_remove(*args)

def gnc_price_list_destroy(*args):
  """gnc_price_list_destroy(PriceList * prices)"""
  return _gnucash_core_c.gnc_price_list_destroy(*args)

def gnc_price_list_equal(*args):
  """gnc_price_list_equal(PriceList * prices1, PriceList * prices2) -> gboolean"""
  return _gnucash_core_c.gnc_price_list_equal(*args)

def gnc_pricedb_get_db(*args):
  """gnc_pricedb_get_db(QofBook * book) -> GNCPriceDB *"""
  return _gnucash_core_c.gnc_pricedb_get_db(*args)

def gnc_collection_get_pricedb(*args):
  """gnc_collection_get_pricedb(QofCollection * col) -> GNCPriceDB *"""
  return _gnucash_core_c.gnc_collection_get_pricedb(*args)

def gnc_pricedb_destroy(*args):
  """gnc_pricedb_destroy(GNCPriceDB * db)"""
  return _gnucash_core_c.gnc_pricedb_destroy(*args)

def gnc_pricedb_begin_edit(*args):
  """gnc_pricedb_begin_edit(GNCPriceDB * arg1)"""
  return _gnucash_core_c.gnc_pricedb_begin_edit(*args)

def gnc_pricedb_commit_edit(*args):
  """gnc_pricedb_commit_edit(GNCPriceDB * arg1)"""
  return _gnucash_core_c.gnc_pricedb_commit_edit(*args)

def gnc_pricedb_set_bulk_update(*args):
  """gnc_pricedb_set_bulk_update(GNCPriceDB * db, gboolean bulk_update)"""
  return _gnucash_core_c.gnc_pricedb_set_bulk_update(*args)

def gnc_pricedb_add_price(*args):
  """gnc_pricedb_add_price(GNCPriceDB * db, GNCPrice * p) -> gboolean"""
  return _gnucash_core_c.gnc_pricedb_add_price(*args)

def gnc_pricedb_remove_price(*args):
  """gnc_pricedb_remove_price(GNCPriceDB * db, GNCPrice * p) -> gboolean"""
  return _gnucash_core_c.gnc_pricedb_remove_price(*args)

def gnc_pricedb_remove_old_prices(*args):
  """gnc_pricedb_remove_old_prices(GNCPriceDB * db, Timespec cutoff, gboolean const delete_user, gboolean delete_last) -> gboolean"""
  return _gnucash_core_c.gnc_pricedb_remove_old_prices(*args)

def gnc_pricedb_lookup_latest(*args):
  """gnc_pricedb_lookup_latest(GNCPriceDB * db, gnc_commodity const * commodity, gnc_commodity const * currency) -> GNCPrice *"""
  return _gnucash_core_c.gnc_pricedb_lookup_latest(*args)

def gnc_pricedb_lookup_latest_any_currency(*args):
  """gnc_pricedb_lookup_latest_any_currency(GNCPriceDB * db, gnc_commodity const * commodity) -> PriceList *"""
  return _gnucash_core_c.gnc_pricedb_lookup_latest_any_currency(*args)

def gnc_pricedb_has_prices(*args):
  """gnc_pricedb_has_prices(GNCPriceDB * db, gnc_commodity const * commodity, gnc_commodity const * currency) -> gboolean"""
  return _gnucash_core_c.gnc_pricedb_has_prices(*args)

def gnc_pricedb_get_prices(*args):
  """gnc_pricedb_get_prices(GNCPriceDB * db, gnc_commodity const * commodity, gnc_commodity const * currency) -> PriceList *"""
  return _gnucash_core_c.gnc_pricedb_get_prices(*args)

def gnc_pricedb_lookup_at_time(*args):
  """
    gnc_pricedb_lookup_at_time(GNCPriceDB * db, gnc_commodity const * commodity, gnc_commodity const * currency, 
        Timespec t) -> PriceList *
    """
  return _gnucash_core_c.gnc_pricedb_lookup_at_time(*args)

def gnc_pricedb_lookup_day(*args):
  """
    gnc_pricedb_lookup_day(GNCPriceDB * db, gnc_commodity const * commodity, gnc_commodity const * currency, 
        Timespec t) -> GNCPrice *
    """
  return _gnucash_core_c.gnc_pricedb_lookup_day(*args)

def gnc_pricedb_lookup_nearest_in_time(*args):
  """gnc_pricedb_lookup_nearest_in_time(GNCPriceDB * db, gnc_commodity const * c, gnc_commodity const * currency, Timespec t) -> GNCPrice *"""
  return _gnucash_core_c.gnc_pricedb_lookup_nearest_in_time(*args)

def gnc_pricedb_lookup_nearest_in_time_any_currency(*args):
  """gnc_pricedb_lookup_nearest_in_time_any_currency(GNCPriceDB * db, gnc_commodity const * c, Timespec t) -> PriceList *"""
  return _gnucash_core_c.gnc_pricedb_lookup_nearest_in_time_any_currency(*args)

def gnc_pricedb_lookup_latest_before(*args):
  """gnc_pricedb_lookup_latest_before(GNCPriceDB * db, gnc_commodity * c, gnc_commodity * currency, Timespec t) -> GNCPrice *"""
  return _gnucash_core_c.gnc_pricedb_lookup_latest_before(*args)

def gnc_pricedb_lookup_latest_before_any_currency(*args):
  """gnc_pricedb_lookup_latest_before_any_currency(GNCPriceDB * db, gnc_commodity * c, Timespec t) -> PriceList *"""
  return _gnucash_core_c.gnc_pricedb_lookup_latest_before_any_currency(*args)

def gnc_pricedb_convert_balance_latest_price(*args):
  """gnc_pricedb_convert_balance_latest_price(GNCPriceDB * pdb, _gnc_numeric balance, gnc_commodity const * balance_currency, gnc_commodity const * new_currency) -> _gnc_numeric"""
  return _gnucash_core_c.gnc_pricedb_convert_balance_latest_price(*args)

def gnc_pricedb_convert_balance_nearest_price(*args):
  """
    gnc_pricedb_convert_balance_nearest_price(GNCPriceDB * pdb, _gnc_numeric balance, gnc_commodity const * balance_currency, gnc_commodity const * new_currency, 
        Timespec t) -> _gnc_numeric
    """
  return _gnucash_core_c.gnc_pricedb_convert_balance_nearest_price(*args)

def gnc_pricedb_foreach_price(*args):
  """gnc_pricedb_foreach_price(GNCPriceDB * db, gboolean (*)(GNCPrice *,gpointer) f, gpointer user_data, gboolean stable_order) -> gboolean"""
  return _gnucash_core_c.gnc_pricedb_foreach_price(*args)

def gnc_pricedb_get_num_prices(*args):
  """gnc_pricedb_get_num_prices(GNCPriceDB * db) -> guint"""
  return _gnucash_core_c.gnc_pricedb_get_num_prices(*args)

def gnc_pricedb_equal(*args):
  """gnc_pricedb_equal(GNCPriceDB * db1, GNCPriceDB * db2) -> gboolean"""
  return _gnucash_core_c.gnc_pricedb_equal(*args)

def gnc_pricedb_print_contents(*args):
  """gnc_pricedb_print_contents(GNCPriceDB * db, FILE * f)"""
  return _gnucash_core_c.gnc_pricedb_print_contents(*args)
PRICE_COMMODITY = _gnucash_core_c.PRICE_COMMODITY
PRICE_CURRENCY = _gnucash_core_c.PRICE_CURRENCY
PRICE_DATE = _gnucash_core_c.PRICE_DATE
PRICE_SOURCE = _gnucash_core_c.PRICE_SOURCE
PRICE_TYPE = _gnucash_core_c.PRICE_TYPE
PRICE_VALUE = _gnucash_core_c.PRICE_VALUE

def xaccSplitGetCapGains(*args):
  """xaccSplitGetCapGains(Split * arg1) -> _gnc_numeric"""
  return _gnucash_core_c.xaccSplitGetCapGains(*args)

def xaccAccountHasTrades(*args):
  """xaccAccountHasTrades(Account const * arg1) -> gboolean"""
  return _gnucash_core_c.xaccAccountHasTrades(*args)

def xaccAccountFindEarliestOpenLot(*args):
  """xaccAccountFindEarliestOpenLot(Account * acc, _gnc_numeric sign, gnc_commodity * currency) -> GNCLot *"""
  return _gnucash_core_c.xaccAccountFindEarliestOpenLot(*args)

def xaccAccountFindLatestOpenLot(*args):
  """xaccAccountFindLatestOpenLot(Account * acc, _gnc_numeric sign, gnc_commodity * currency) -> GNCLot *"""
  return _gnucash_core_c.xaccAccountFindLatestOpenLot(*args)

def xaccAccountGetDefaultGainAccount(*args):
  """xaccAccountGetDefaultGainAccount(Account const * acc, gnc_commodity const * currency) -> Account *"""
  return _gnucash_core_c.xaccAccountGetDefaultGainAccount(*args)

def xaccAccountSetDefaultGainAccount(*args):
  """xaccAccountSetDefaultGainAccount(Account * acc, Account const * gains_acct)"""
  return _gnucash_core_c.xaccAccountSetDefaultGainAccount(*args)

def xaccSplitGetCapGainsSplit(*args):
  """xaccSplitGetCapGainsSplit(Split const * arg1) -> Split *"""
  return _gnucash_core_c.xaccSplitGetCapGainsSplit(*args)

def xaccSplitGetGainsSourceSplit(*args):
  """xaccSplitGetGainsSourceSplit(Split const * arg1) -> Split *"""
  return _gnucash_core_c.xaccSplitGetGainsSourceSplit(*args)

def xaccSplitAssign(*args):
  """xaccSplitAssign(Split * split) -> gboolean"""
  return _gnucash_core_c.xaccSplitAssign(*args)

def xaccSplitAssignToLot(*args):
  """xaccSplitAssignToLot(Split * split, GNCLot * lot) -> Split *"""
  return _gnucash_core_c.xaccSplitAssignToLot(*args)

def xaccSplitComputeCapGains(*args):
  """xaccSplitComputeCapGains(Split * split, Account * gain_acc)"""
  return _gnucash_core_c.xaccSplitComputeCapGains(*args)

def xaccLotComputeCapGains(*args):
  """xaccLotComputeCapGains(GNCLot * lot, Account * gain_acc)"""
  return _gnucash_core_c.xaccLotComputeCapGains(*args)

def xaccScrubLot(*args):
  """xaccScrubLot(GNCLot * lot) -> gboolean"""
  return _gnucash_core_c.xaccScrubLot(*args)

def xaccAccountScrubLots(*args):
  """xaccAccountScrubLots(Account * acc)"""
  return _gnucash_core_c.xaccAccountScrubLots(*args)

def xaccAccountTreeScrubLots(*args):
  """xaccAccountTreeScrubLots(Account * acc)"""
  return _gnucash_core_c.xaccAccountTreeScrubLots(*args)
# This file is compatible with both classic and new-style classes.