This file is indexed.

/usr/lib/python2.7/dist-packages/dpm2.py is in python-dpm 1.10.0-2.

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
# This file was automatically generated by SWIG (http://www.swig.org).
# Version 3.0.12
#
# Do not make changes to this file unless you know what you are doing--modify
# the SWIG interface file instead.

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

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

try:
    import builtins as __builtin__
except ImportError:
    import __builtin__

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


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


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


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

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


def version():
    return _dpm2.version()
version = _dpm2.version

def C__dpns_errno():
    return _dpm2.C__dpns_errno()
C__dpns_errno = _dpm2.C__dpns_errno
CNS_LIST_BEGIN = _dpm2.CNS_LIST_BEGIN
CNS_LIST_CONTINUE = _dpm2.CNS_LIST_CONTINUE
CNS_LIST_END = _dpm2.CNS_LIST_END
class dpns_api_thread_info(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, dpns_api_thread_info, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, dpns_api_thread_info, name)
    __repr__ = _swig_repr
    __swig_setmethods__["cwd"] = _dpm2.dpns_api_thread_info_cwd_set
    __swig_getmethods__["cwd"] = _dpm2.dpns_api_thread_info_cwd_get
    if _newclass:
        cwd = _swig_property(_dpm2.dpns_api_thread_info_cwd_get, _dpm2.dpns_api_thread_info_cwd_set)
    __swig_setmethods__["errbufp"] = _dpm2.dpns_api_thread_info_errbufp_set
    __swig_getmethods__["errbufp"] = _dpm2.dpns_api_thread_info_errbufp_get
    if _newclass:
        errbufp = _swig_property(_dpm2.dpns_api_thread_info_errbufp_get, _dpm2.dpns_api_thread_info_errbufp_set)
    __swig_setmethods__["errbuflen"] = _dpm2.dpns_api_thread_info_errbuflen_set
    __swig_getmethods__["errbuflen"] = _dpm2.dpns_api_thread_info_errbuflen_get
    if _newclass:
        errbuflen = _swig_property(_dpm2.dpns_api_thread_info_errbuflen_get, _dpm2.dpns_api_thread_info_errbuflen_set)
    __swig_setmethods__["initialized"] = _dpm2.dpns_api_thread_info_initialized_set
    __swig_getmethods__["initialized"] = _dpm2.dpns_api_thread_info_initialized_get
    if _newclass:
        initialized = _swig_property(_dpm2.dpns_api_thread_info_initialized_get, _dpm2.dpns_api_thread_info_initialized_set)
    __swig_setmethods__["ns_errno"] = _dpm2.dpns_api_thread_info_ns_errno_set
    __swig_getmethods__["ns_errno"] = _dpm2.dpns_api_thread_info_ns_errno_get
    if _newclass:
        ns_errno = _swig_property(_dpm2.dpns_api_thread_info_ns_errno_get, _dpm2.dpns_api_thread_info_ns_errno_set)
    __swig_setmethods__["fd"] = _dpm2.dpns_api_thread_info_fd_set
    __swig_getmethods__["fd"] = _dpm2.dpns_api_thread_info_fd_get
    if _newclass:
        fd = _swig_property(_dpm2.dpns_api_thread_info_fd_get, _dpm2.dpns_api_thread_info_fd_set)
    __swig_setmethods__["mask"] = _dpm2.dpns_api_thread_info_mask_set
    __swig_getmethods__["mask"] = _dpm2.dpns_api_thread_info_mask_get
    if _newclass:
        mask = _swig_property(_dpm2.dpns_api_thread_info_mask_get, _dpm2.dpns_api_thread_info_mask_set)
    __swig_setmethods__["server"] = _dpm2.dpns_api_thread_info_server_set
    __swig_getmethods__["server"] = _dpm2.dpns_api_thread_info_server_get
    if _newclass:
        server = _swig_property(_dpm2.dpns_api_thread_info_server_get, _dpm2.dpns_api_thread_info_server_set)

    def __init__(self):
        this = _dpm2.new_dpns_api_thread_info()
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this
    __swig_destroy__ = _dpm2.delete_dpns_api_thread_info
    __del__ = lambda self: None
dpns_api_thread_info_swigregister = _dpm2.dpns_api_thread_info_swigregister
dpns_api_thread_info_swigregister(dpns_api_thread_info)

class dpns_DIR(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, dpns_DIR, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, dpns_DIR, name)
    __repr__ = _swig_repr
    __swig_setmethods__["dd_fd"] = _dpm2.dpns_DIR_dd_fd_set
    __swig_getmethods__["dd_fd"] = _dpm2.dpns_DIR_dd_fd_get
    if _newclass:
        dd_fd = _swig_property(_dpm2.dpns_DIR_dd_fd_get, _dpm2.dpns_DIR_dd_fd_set)
    __swig_setmethods__["fileid"] = _dpm2.dpns_DIR_fileid_set
    __swig_getmethods__["fileid"] = _dpm2.dpns_DIR_fileid_get
    if _newclass:
        fileid = _swig_property(_dpm2.dpns_DIR_fileid_get, _dpm2.dpns_DIR_fileid_set)
    __swig_setmethods__["bod"] = _dpm2.dpns_DIR_bod_set
    __swig_getmethods__["bod"] = _dpm2.dpns_DIR_bod_get
    if _newclass:
        bod = _swig_property(_dpm2.dpns_DIR_bod_get, _dpm2.dpns_DIR_bod_set)
    __swig_setmethods__["eod"] = _dpm2.dpns_DIR_eod_set
    __swig_getmethods__["eod"] = _dpm2.dpns_DIR_eod_get
    if _newclass:
        eod = _swig_property(_dpm2.dpns_DIR_eod_get, _dpm2.dpns_DIR_eod_set)
    __swig_setmethods__["dd_loc"] = _dpm2.dpns_DIR_dd_loc_set
    __swig_getmethods__["dd_loc"] = _dpm2.dpns_DIR_dd_loc_get
    if _newclass:
        dd_loc = _swig_property(_dpm2.dpns_DIR_dd_loc_get, _dpm2.dpns_DIR_dd_loc_set)
    __swig_setmethods__["dd_size"] = _dpm2.dpns_DIR_dd_size_set
    __swig_getmethods__["dd_size"] = _dpm2.dpns_DIR_dd_size_get
    if _newclass:
        dd_size = _swig_property(_dpm2.dpns_DIR_dd_size_get, _dpm2.dpns_DIR_dd_size_set)
    __swig_setmethods__["dd_buf"] = _dpm2.dpns_DIR_dd_buf_set
    __swig_getmethods__["dd_buf"] = _dpm2.dpns_DIR_dd_buf_get
    if _newclass:
        dd_buf = _swig_property(_dpm2.dpns_DIR_dd_buf_get, _dpm2.dpns_DIR_dd_buf_set)
    __swig_setmethods__["nbreplicas"] = _dpm2.dpns_DIR_nbreplicas_set
    __swig_getmethods__["nbreplicas"] = _dpm2.dpns_DIR_nbreplicas_get
    if _newclass:
        nbreplicas = _swig_property(_dpm2.dpns_DIR_nbreplicas_get, _dpm2.dpns_DIR_nbreplicas_set)
    __swig_setmethods__["replicas"] = _dpm2.dpns_DIR_replicas_set
    __swig_getmethods__["replicas"] = _dpm2.dpns_DIR_replicas_get
    if _newclass:
        replicas = _swig_property(_dpm2.dpns_DIR_replicas_get, _dpm2.dpns_DIR_replicas_set)
    __swig_setmethods__["direntsz"] = _dpm2.dpns_DIR_direntsz_set
    __swig_getmethods__["direntsz"] = _dpm2.dpns_DIR_direntsz_get
    if _newclass:
        direntsz = _swig_property(_dpm2.dpns_DIR_direntsz_get, _dpm2.dpns_DIR_direntsz_set)

    def __init__(self):
        this = _dpm2.new_dpns_DIR()
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this
    __swig_destroy__ = _dpm2.delete_dpns_DIR
    __del__ = lambda self: None
dpns_DIR_swigregister = _dpm2.dpns_DIR_swigregister
dpns_DIR_swigregister(dpns_DIR)

class dpns_direncomm(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, dpns_direncomm, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, dpns_direncomm, name)
    __repr__ = _swig_repr
    __swig_setmethods__["comment"] = _dpm2.dpns_direncomm_comment_set
    __swig_getmethods__["comment"] = _dpm2.dpns_direncomm_comment_get
    if _newclass:
        comment = _swig_property(_dpm2.dpns_direncomm_comment_get, _dpm2.dpns_direncomm_comment_set)
    __swig_setmethods__["d_reclen"] = _dpm2.dpns_direncomm_d_reclen_set
    __swig_getmethods__["d_reclen"] = _dpm2.dpns_direncomm_d_reclen_get
    if _newclass:
        d_reclen = _swig_property(_dpm2.dpns_direncomm_d_reclen_get, _dpm2.dpns_direncomm_d_reclen_set)
    __swig_setmethods__["d_name"] = _dpm2.dpns_direncomm_d_name_set
    __swig_getmethods__["d_name"] = _dpm2.dpns_direncomm_d_name_get
    if _newclass:
        d_name = _swig_property(_dpm2.dpns_direncomm_d_name_get, _dpm2.dpns_direncomm_d_name_set)

    def __init__(self):
        this = _dpm2.new_dpns_direncomm()
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this
    __swig_destroy__ = _dpm2.delete_dpns_direncomm
    __del__ = lambda self: None
dpns_direncomm_swigregister = _dpm2.dpns_direncomm_swigregister
dpns_direncomm_swigregister(dpns_direncomm)

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

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined")
    __repr__ = _swig_repr
    __swig_setmethods__["fileid"] = _dpm2.dpns_rep_info_fileid_set
    __swig_getmethods__["fileid"] = _dpm2.dpns_rep_info_fileid_get
    if _newclass:
        fileid = _swig_property(_dpm2.dpns_rep_info_fileid_get, _dpm2.dpns_rep_info_fileid_set)
    __swig_setmethods__["status"] = _dpm2.dpns_rep_info_status_set
    __swig_getmethods__["status"] = _dpm2.dpns_rep_info_status_get
    if _newclass:
        status = _swig_property(_dpm2.dpns_rep_info_status_get, _dpm2.dpns_rep_info_status_set)
    __swig_setmethods__["host"] = _dpm2.dpns_rep_info_host_set
    __swig_getmethods__["host"] = _dpm2.dpns_rep_info_host_get
    if _newclass:
        host = _swig_property(_dpm2.dpns_rep_info_host_get, _dpm2.dpns_rep_info_host_set)
    __swig_setmethods__["sfn"] = _dpm2.dpns_rep_info_sfn_set
    __swig_getmethods__["sfn"] = _dpm2.dpns_rep_info_sfn_get
    if _newclass:
        sfn = _swig_property(_dpm2.dpns_rep_info_sfn_get, _dpm2.dpns_rep_info_sfn_set)
dpns_rep_info_swigregister = _dpm2.dpns_rep_info_swigregister
dpns_rep_info_swigregister(dpns_rep_info)

class dpns_direnrep(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, dpns_direnrep, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, dpns_direnrep, name)
    __repr__ = _swig_repr
    __swig_setmethods__["fileid"] = _dpm2.dpns_direnrep_fileid_set
    __swig_getmethods__["fileid"] = _dpm2.dpns_direnrep_fileid_get
    if _newclass:
        fileid = _swig_property(_dpm2.dpns_direnrep_fileid_get, _dpm2.dpns_direnrep_fileid_set)
    __swig_setmethods__["guid"] = _dpm2.dpns_direnrep_guid_set
    __swig_getmethods__["guid"] = _dpm2.dpns_direnrep_guid_get
    if _newclass:
        guid = _swig_property(_dpm2.dpns_direnrep_guid_get, _dpm2.dpns_direnrep_guid_set)
    __swig_setmethods__["filemode"] = _dpm2.dpns_direnrep_filemode_set
    __swig_getmethods__["filemode"] = _dpm2.dpns_direnrep_filemode_get
    if _newclass:
        filemode = _swig_property(_dpm2.dpns_direnrep_filemode_get, _dpm2.dpns_direnrep_filemode_set)
    __swig_setmethods__["filesize"] = _dpm2.dpns_direnrep_filesize_set
    __swig_getmethods__["filesize"] = _dpm2.dpns_direnrep_filesize_get
    if _newclass:
        filesize = _swig_property(_dpm2.dpns_direnrep_filesize_get, _dpm2.dpns_direnrep_filesize_set)
    __swig_setmethods__["nbreplicas"] = _dpm2.dpns_direnrep_nbreplicas_set
    __swig_getmethods__["nbreplicas"] = _dpm2.dpns_direnrep_nbreplicas_get
    if _newclass:
        nbreplicas = _swig_property(_dpm2.dpns_direnrep_nbreplicas_get, _dpm2.dpns_direnrep_nbreplicas_set)
    __swig_setmethods__["rep"] = _dpm2.dpns_direnrep_rep_set
    __swig_getmethods__["rep"] = _dpm2.dpns_direnrep_rep_get
    if _newclass:
        rep = _swig_property(_dpm2.dpns_direnrep_rep_get, _dpm2.dpns_direnrep_rep_set)
    __swig_setmethods__["d_reclen"] = _dpm2.dpns_direnrep_d_reclen_set
    __swig_getmethods__["d_reclen"] = _dpm2.dpns_direnrep_d_reclen_get
    if _newclass:
        d_reclen = _swig_property(_dpm2.dpns_direnrep_d_reclen_get, _dpm2.dpns_direnrep_d_reclen_set)
    __swig_setmethods__["d_name"] = _dpm2.dpns_direnrep_d_name_set
    __swig_getmethods__["d_name"] = _dpm2.dpns_direnrep_d_name_get
    if _newclass:
        d_name = _swig_property(_dpm2.dpns_direnrep_d_name_get, _dpm2.dpns_direnrep_d_name_set)

    def __init__(self):
        this = _dpm2.new_dpns_direnrep()
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this
    __swig_destroy__ = _dpm2.delete_dpns_direnrep
    __del__ = lambda self: None
dpns_direnrep_swigregister = _dpm2.dpns_direnrep_swigregister
dpns_direnrep_swigregister(dpns_direnrep)

class dpns_direnstat(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, dpns_direnstat, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, dpns_direnstat, name)
    __repr__ = _swig_repr
    __swig_setmethods__["fileid"] = _dpm2.dpns_direnstat_fileid_set
    __swig_getmethods__["fileid"] = _dpm2.dpns_direnstat_fileid_get
    if _newclass:
        fileid = _swig_property(_dpm2.dpns_direnstat_fileid_get, _dpm2.dpns_direnstat_fileid_set)
    __swig_setmethods__["filemode"] = _dpm2.dpns_direnstat_filemode_set
    __swig_getmethods__["filemode"] = _dpm2.dpns_direnstat_filemode_get
    if _newclass:
        filemode = _swig_property(_dpm2.dpns_direnstat_filemode_get, _dpm2.dpns_direnstat_filemode_set)
    __swig_setmethods__["nlink"] = _dpm2.dpns_direnstat_nlink_set
    __swig_getmethods__["nlink"] = _dpm2.dpns_direnstat_nlink_get
    if _newclass:
        nlink = _swig_property(_dpm2.dpns_direnstat_nlink_get, _dpm2.dpns_direnstat_nlink_set)
    __swig_setmethods__["uid"] = _dpm2.dpns_direnstat_uid_set
    __swig_getmethods__["uid"] = _dpm2.dpns_direnstat_uid_get
    if _newclass:
        uid = _swig_property(_dpm2.dpns_direnstat_uid_get, _dpm2.dpns_direnstat_uid_set)
    __swig_setmethods__["gid"] = _dpm2.dpns_direnstat_gid_set
    __swig_getmethods__["gid"] = _dpm2.dpns_direnstat_gid_get
    if _newclass:
        gid = _swig_property(_dpm2.dpns_direnstat_gid_get, _dpm2.dpns_direnstat_gid_set)
    __swig_setmethods__["filesize"] = _dpm2.dpns_direnstat_filesize_set
    __swig_getmethods__["filesize"] = _dpm2.dpns_direnstat_filesize_get
    if _newclass:
        filesize = _swig_property(_dpm2.dpns_direnstat_filesize_get, _dpm2.dpns_direnstat_filesize_set)
    __swig_setmethods__["atime"] = _dpm2.dpns_direnstat_atime_set
    __swig_getmethods__["atime"] = _dpm2.dpns_direnstat_atime_get
    if _newclass:
        atime = _swig_property(_dpm2.dpns_direnstat_atime_get, _dpm2.dpns_direnstat_atime_set)
    __swig_setmethods__["mtime"] = _dpm2.dpns_direnstat_mtime_set
    __swig_getmethods__["mtime"] = _dpm2.dpns_direnstat_mtime_get
    if _newclass:
        mtime = _swig_property(_dpm2.dpns_direnstat_mtime_get, _dpm2.dpns_direnstat_mtime_set)
    __swig_setmethods__["ctime"] = _dpm2.dpns_direnstat_ctime_set
    __swig_getmethods__["ctime"] = _dpm2.dpns_direnstat_ctime_get
    if _newclass:
        ctime = _swig_property(_dpm2.dpns_direnstat_ctime_get, _dpm2.dpns_direnstat_ctime_set)
    __swig_setmethods__["fileclass"] = _dpm2.dpns_direnstat_fileclass_set
    __swig_getmethods__["fileclass"] = _dpm2.dpns_direnstat_fileclass_get
    if _newclass:
        fileclass = _swig_property(_dpm2.dpns_direnstat_fileclass_get, _dpm2.dpns_direnstat_fileclass_set)
    __swig_setmethods__["status"] = _dpm2.dpns_direnstat_status_set
    __swig_getmethods__["status"] = _dpm2.dpns_direnstat_status_get
    if _newclass:
        status = _swig_property(_dpm2.dpns_direnstat_status_get, _dpm2.dpns_direnstat_status_set)
    __swig_setmethods__["d_reclen"] = _dpm2.dpns_direnstat_d_reclen_set
    __swig_getmethods__["d_reclen"] = _dpm2.dpns_direnstat_d_reclen_get
    if _newclass:
        d_reclen = _swig_property(_dpm2.dpns_direnstat_d_reclen_get, _dpm2.dpns_direnstat_d_reclen_set)
    __swig_setmethods__["d_name"] = _dpm2.dpns_direnstat_d_name_set
    __swig_getmethods__["d_name"] = _dpm2.dpns_direnstat_d_name_get
    if _newclass:
        d_name = _swig_property(_dpm2.dpns_direnstat_d_name_get, _dpm2.dpns_direnstat_d_name_set)

    def __init__(self):
        this = _dpm2.new_dpns_direnstat()
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this
    __swig_destroy__ = _dpm2.delete_dpns_direnstat
    __del__ = lambda self: None
dpns_direnstat_swigregister = _dpm2.dpns_direnstat_swigregister
dpns_direnstat_swigregister(dpns_direnstat)

class dpns_direnstatc(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, dpns_direnstatc, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, dpns_direnstatc, name)
    __repr__ = _swig_repr
    __swig_setmethods__["fileid"] = _dpm2.dpns_direnstatc_fileid_set
    __swig_getmethods__["fileid"] = _dpm2.dpns_direnstatc_fileid_get
    if _newclass:
        fileid = _swig_property(_dpm2.dpns_direnstatc_fileid_get, _dpm2.dpns_direnstatc_fileid_set)
    __swig_setmethods__["filemode"] = _dpm2.dpns_direnstatc_filemode_set
    __swig_getmethods__["filemode"] = _dpm2.dpns_direnstatc_filemode_get
    if _newclass:
        filemode = _swig_property(_dpm2.dpns_direnstatc_filemode_get, _dpm2.dpns_direnstatc_filemode_set)
    __swig_setmethods__["nlink"] = _dpm2.dpns_direnstatc_nlink_set
    __swig_getmethods__["nlink"] = _dpm2.dpns_direnstatc_nlink_get
    if _newclass:
        nlink = _swig_property(_dpm2.dpns_direnstatc_nlink_get, _dpm2.dpns_direnstatc_nlink_set)
    __swig_setmethods__["uid"] = _dpm2.dpns_direnstatc_uid_set
    __swig_getmethods__["uid"] = _dpm2.dpns_direnstatc_uid_get
    if _newclass:
        uid = _swig_property(_dpm2.dpns_direnstatc_uid_get, _dpm2.dpns_direnstatc_uid_set)
    __swig_setmethods__["gid"] = _dpm2.dpns_direnstatc_gid_set
    __swig_getmethods__["gid"] = _dpm2.dpns_direnstatc_gid_get
    if _newclass:
        gid = _swig_property(_dpm2.dpns_direnstatc_gid_get, _dpm2.dpns_direnstatc_gid_set)
    __swig_setmethods__["filesize"] = _dpm2.dpns_direnstatc_filesize_set
    __swig_getmethods__["filesize"] = _dpm2.dpns_direnstatc_filesize_get
    if _newclass:
        filesize = _swig_property(_dpm2.dpns_direnstatc_filesize_get, _dpm2.dpns_direnstatc_filesize_set)
    __swig_setmethods__["atime"] = _dpm2.dpns_direnstatc_atime_set
    __swig_getmethods__["atime"] = _dpm2.dpns_direnstatc_atime_get
    if _newclass:
        atime = _swig_property(_dpm2.dpns_direnstatc_atime_get, _dpm2.dpns_direnstatc_atime_set)
    __swig_setmethods__["mtime"] = _dpm2.dpns_direnstatc_mtime_set
    __swig_getmethods__["mtime"] = _dpm2.dpns_direnstatc_mtime_get
    if _newclass:
        mtime = _swig_property(_dpm2.dpns_direnstatc_mtime_get, _dpm2.dpns_direnstatc_mtime_set)
    __swig_setmethods__["ctime"] = _dpm2.dpns_direnstatc_ctime_set
    __swig_getmethods__["ctime"] = _dpm2.dpns_direnstatc_ctime_get
    if _newclass:
        ctime = _swig_property(_dpm2.dpns_direnstatc_ctime_get, _dpm2.dpns_direnstatc_ctime_set)
    __swig_setmethods__["fileclass"] = _dpm2.dpns_direnstatc_fileclass_set
    __swig_getmethods__["fileclass"] = _dpm2.dpns_direnstatc_fileclass_get
    if _newclass:
        fileclass = _swig_property(_dpm2.dpns_direnstatc_fileclass_get, _dpm2.dpns_direnstatc_fileclass_set)
    __swig_setmethods__["status"] = _dpm2.dpns_direnstatc_status_set
    __swig_getmethods__["status"] = _dpm2.dpns_direnstatc_status_get
    if _newclass:
        status = _swig_property(_dpm2.dpns_direnstatc_status_get, _dpm2.dpns_direnstatc_status_set)
    __swig_setmethods__["comment"] = _dpm2.dpns_direnstatc_comment_set
    __swig_getmethods__["comment"] = _dpm2.dpns_direnstatc_comment_get
    if _newclass:
        comment = _swig_property(_dpm2.dpns_direnstatc_comment_get, _dpm2.dpns_direnstatc_comment_set)
    __swig_setmethods__["d_reclen"] = _dpm2.dpns_direnstatc_d_reclen_set
    __swig_getmethods__["d_reclen"] = _dpm2.dpns_direnstatc_d_reclen_get
    if _newclass:
        d_reclen = _swig_property(_dpm2.dpns_direnstatc_d_reclen_get, _dpm2.dpns_direnstatc_d_reclen_set)
    __swig_setmethods__["d_name"] = _dpm2.dpns_direnstatc_d_name_set
    __swig_getmethods__["d_name"] = _dpm2.dpns_direnstatc_d_name_get
    if _newclass:
        d_name = _swig_property(_dpm2.dpns_direnstatc_d_name_get, _dpm2.dpns_direnstatc_d_name_set)

    def __init__(self):
        this = _dpm2.new_dpns_direnstatc()
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this
    __swig_destroy__ = _dpm2.delete_dpns_direnstatc
    __del__ = lambda self: None
dpns_direnstatc_swigregister = _dpm2.dpns_direnstatc_swigregister
dpns_direnstatc_swigregister(dpns_direnstatc)

class dpns_direnstatg(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, dpns_direnstatg, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, dpns_direnstatg, name)
    __repr__ = _swig_repr
    __swig_setmethods__["fileid"] = _dpm2.dpns_direnstatg_fileid_set
    __swig_getmethods__["fileid"] = _dpm2.dpns_direnstatg_fileid_get
    if _newclass:
        fileid = _swig_property(_dpm2.dpns_direnstatg_fileid_get, _dpm2.dpns_direnstatg_fileid_set)
    __swig_setmethods__["guid"] = _dpm2.dpns_direnstatg_guid_set
    __swig_getmethods__["guid"] = _dpm2.dpns_direnstatg_guid_get
    if _newclass:
        guid = _swig_property(_dpm2.dpns_direnstatg_guid_get, _dpm2.dpns_direnstatg_guid_set)
    __swig_setmethods__["filemode"] = _dpm2.dpns_direnstatg_filemode_set
    __swig_getmethods__["filemode"] = _dpm2.dpns_direnstatg_filemode_get
    if _newclass:
        filemode = _swig_property(_dpm2.dpns_direnstatg_filemode_get, _dpm2.dpns_direnstatg_filemode_set)
    __swig_setmethods__["nlink"] = _dpm2.dpns_direnstatg_nlink_set
    __swig_getmethods__["nlink"] = _dpm2.dpns_direnstatg_nlink_get
    if _newclass:
        nlink = _swig_property(_dpm2.dpns_direnstatg_nlink_get, _dpm2.dpns_direnstatg_nlink_set)
    __swig_setmethods__["uid"] = _dpm2.dpns_direnstatg_uid_set
    __swig_getmethods__["uid"] = _dpm2.dpns_direnstatg_uid_get
    if _newclass:
        uid = _swig_property(_dpm2.dpns_direnstatg_uid_get, _dpm2.dpns_direnstatg_uid_set)
    __swig_setmethods__["gid"] = _dpm2.dpns_direnstatg_gid_set
    __swig_getmethods__["gid"] = _dpm2.dpns_direnstatg_gid_get
    if _newclass:
        gid = _swig_property(_dpm2.dpns_direnstatg_gid_get, _dpm2.dpns_direnstatg_gid_set)
    __swig_setmethods__["filesize"] = _dpm2.dpns_direnstatg_filesize_set
    __swig_getmethods__["filesize"] = _dpm2.dpns_direnstatg_filesize_get
    if _newclass:
        filesize = _swig_property(_dpm2.dpns_direnstatg_filesize_get, _dpm2.dpns_direnstatg_filesize_set)
    __swig_setmethods__["atime"] = _dpm2.dpns_direnstatg_atime_set
    __swig_getmethods__["atime"] = _dpm2.dpns_direnstatg_atime_get
    if _newclass:
        atime = _swig_property(_dpm2.dpns_direnstatg_atime_get, _dpm2.dpns_direnstatg_atime_set)
    __swig_setmethods__["mtime"] = _dpm2.dpns_direnstatg_mtime_set
    __swig_getmethods__["mtime"] = _dpm2.dpns_direnstatg_mtime_get
    if _newclass:
        mtime = _swig_property(_dpm2.dpns_direnstatg_mtime_get, _dpm2.dpns_direnstatg_mtime_set)
    __swig_setmethods__["ctime"] = _dpm2.dpns_direnstatg_ctime_set
    __swig_getmethods__["ctime"] = _dpm2.dpns_direnstatg_ctime_get
    if _newclass:
        ctime = _swig_property(_dpm2.dpns_direnstatg_ctime_get, _dpm2.dpns_direnstatg_ctime_set)
    __swig_setmethods__["fileclass"] = _dpm2.dpns_direnstatg_fileclass_set
    __swig_getmethods__["fileclass"] = _dpm2.dpns_direnstatg_fileclass_get
    if _newclass:
        fileclass = _swig_property(_dpm2.dpns_direnstatg_fileclass_get, _dpm2.dpns_direnstatg_fileclass_set)
    __swig_setmethods__["status"] = _dpm2.dpns_direnstatg_status_set
    __swig_getmethods__["status"] = _dpm2.dpns_direnstatg_status_get
    if _newclass:
        status = _swig_property(_dpm2.dpns_direnstatg_status_get, _dpm2.dpns_direnstatg_status_set)
    __swig_setmethods__["csumtype"] = _dpm2.dpns_direnstatg_csumtype_set
    __swig_getmethods__["csumtype"] = _dpm2.dpns_direnstatg_csumtype_get
    if _newclass:
        csumtype = _swig_property(_dpm2.dpns_direnstatg_csumtype_get, _dpm2.dpns_direnstatg_csumtype_set)
    __swig_setmethods__["csumvalue"] = _dpm2.dpns_direnstatg_csumvalue_set
    __swig_getmethods__["csumvalue"] = _dpm2.dpns_direnstatg_csumvalue_get
    if _newclass:
        csumvalue = _swig_property(_dpm2.dpns_direnstatg_csumvalue_get, _dpm2.dpns_direnstatg_csumvalue_set)
    __swig_setmethods__["d_reclen"] = _dpm2.dpns_direnstatg_d_reclen_set
    __swig_getmethods__["d_reclen"] = _dpm2.dpns_direnstatg_d_reclen_get
    if _newclass:
        d_reclen = _swig_property(_dpm2.dpns_direnstatg_d_reclen_get, _dpm2.dpns_direnstatg_d_reclen_set)
    __swig_setmethods__["d_name"] = _dpm2.dpns_direnstatg_d_name_set
    __swig_getmethods__["d_name"] = _dpm2.dpns_direnstatg_d_name_get
    if _newclass:
        d_name = _swig_property(_dpm2.dpns_direnstatg_d_name_get, _dpm2.dpns_direnstatg_d_name_set)

    def __init__(self):
        this = _dpm2.new_dpns_direnstatg()
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this
    __swig_destroy__ = _dpm2.delete_dpns_direnstatg
    __del__ = lambda self: None
dpns_direnstatg_swigregister = _dpm2.dpns_direnstatg_swigregister
dpns_direnstatg_swigregister(dpns_direnstatg)

class dpns_fileclass(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, dpns_fileclass, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, dpns_fileclass, name)
    __repr__ = _swig_repr
    __swig_setmethods__["classid"] = _dpm2.dpns_fileclass_classid_set
    __swig_getmethods__["classid"] = _dpm2.dpns_fileclass_classid_get
    if _newclass:
        classid = _swig_property(_dpm2.dpns_fileclass_classid_get, _dpm2.dpns_fileclass_classid_set)
    __swig_setmethods__["name"] = _dpm2.dpns_fileclass_name_set
    __swig_getmethods__["name"] = _dpm2.dpns_fileclass_name_get
    if _newclass:
        name = _swig_property(_dpm2.dpns_fileclass_name_get, _dpm2.dpns_fileclass_name_set)
    __swig_setmethods__["uid"] = _dpm2.dpns_fileclass_uid_set
    __swig_getmethods__["uid"] = _dpm2.dpns_fileclass_uid_get
    if _newclass:
        uid = _swig_property(_dpm2.dpns_fileclass_uid_get, _dpm2.dpns_fileclass_uid_set)
    __swig_setmethods__["gid"] = _dpm2.dpns_fileclass_gid_set
    __swig_getmethods__["gid"] = _dpm2.dpns_fileclass_gid_get
    if _newclass:
        gid = _swig_property(_dpm2.dpns_fileclass_gid_get, _dpm2.dpns_fileclass_gid_set)
    __swig_setmethods__["min_filesize"] = _dpm2.dpns_fileclass_min_filesize_set
    __swig_getmethods__["min_filesize"] = _dpm2.dpns_fileclass_min_filesize_get
    if _newclass:
        min_filesize = _swig_property(_dpm2.dpns_fileclass_min_filesize_get, _dpm2.dpns_fileclass_min_filesize_set)
    __swig_setmethods__["max_filesize"] = _dpm2.dpns_fileclass_max_filesize_set
    __swig_getmethods__["max_filesize"] = _dpm2.dpns_fileclass_max_filesize_get
    if _newclass:
        max_filesize = _swig_property(_dpm2.dpns_fileclass_max_filesize_get, _dpm2.dpns_fileclass_max_filesize_set)
    __swig_setmethods__["flags"] = _dpm2.dpns_fileclass_flags_set
    __swig_getmethods__["flags"] = _dpm2.dpns_fileclass_flags_get
    if _newclass:
        flags = _swig_property(_dpm2.dpns_fileclass_flags_get, _dpm2.dpns_fileclass_flags_set)
    __swig_setmethods__["maxdrives"] = _dpm2.dpns_fileclass_maxdrives_set
    __swig_getmethods__["maxdrives"] = _dpm2.dpns_fileclass_maxdrives_get
    if _newclass:
        maxdrives = _swig_property(_dpm2.dpns_fileclass_maxdrives_get, _dpm2.dpns_fileclass_maxdrives_set)
    __swig_setmethods__["max_segsize"] = _dpm2.dpns_fileclass_max_segsize_set
    __swig_getmethods__["max_segsize"] = _dpm2.dpns_fileclass_max_segsize_get
    if _newclass:
        max_segsize = _swig_property(_dpm2.dpns_fileclass_max_segsize_get, _dpm2.dpns_fileclass_max_segsize_set)
    __swig_setmethods__["migr_time_interval"] = _dpm2.dpns_fileclass_migr_time_interval_set
    __swig_getmethods__["migr_time_interval"] = _dpm2.dpns_fileclass_migr_time_interval_get
    if _newclass:
        migr_time_interval = _swig_property(_dpm2.dpns_fileclass_migr_time_interval_get, _dpm2.dpns_fileclass_migr_time_interval_set)
    __swig_setmethods__["mintime_beforemigr"] = _dpm2.dpns_fileclass_mintime_beforemigr_set
    __swig_getmethods__["mintime_beforemigr"] = _dpm2.dpns_fileclass_mintime_beforemigr_get
    if _newclass:
        mintime_beforemigr = _swig_property(_dpm2.dpns_fileclass_mintime_beforemigr_get, _dpm2.dpns_fileclass_mintime_beforemigr_set)
    __swig_setmethods__["nbcopies"] = _dpm2.dpns_fileclass_nbcopies_set
    __swig_getmethods__["nbcopies"] = _dpm2.dpns_fileclass_nbcopies_get
    if _newclass:
        nbcopies = _swig_property(_dpm2.dpns_fileclass_nbcopies_get, _dpm2.dpns_fileclass_nbcopies_set)
    __swig_setmethods__["retenp_on_disk"] = _dpm2.dpns_fileclass_retenp_on_disk_set
    __swig_getmethods__["retenp_on_disk"] = _dpm2.dpns_fileclass_retenp_on_disk_get
    if _newclass:
        retenp_on_disk = _swig_property(_dpm2.dpns_fileclass_retenp_on_disk_get, _dpm2.dpns_fileclass_retenp_on_disk_set)
    __swig_setmethods__["nbtppools"] = _dpm2.dpns_fileclass_nbtppools_set
    __swig_getmethods__["nbtppools"] = _dpm2.dpns_fileclass_nbtppools_get
    if _newclass:
        nbtppools = _swig_property(_dpm2.dpns_fileclass_nbtppools_get, _dpm2.dpns_fileclass_nbtppools_set)
    __swig_setmethods__["tppools"] = _dpm2.dpns_fileclass_tppools_set
    __swig_getmethods__["tppools"] = _dpm2.dpns_fileclass_tppools_get
    if _newclass:
        tppools = _swig_property(_dpm2.dpns_fileclass_tppools_get, _dpm2.dpns_fileclass_tppools_set)

    def __init__(self):
        this = _dpm2.new_dpns_fileclass()
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this
    __swig_destroy__ = _dpm2.delete_dpns_fileclass
    __del__ = lambda self: None
dpns_fileclass_swigregister = _dpm2.dpns_fileclass_swigregister
dpns_fileclass_swigregister(dpns_fileclass)

class dpns_fileid(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, dpns_fileid, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, dpns_fileid, name)
    __repr__ = _swig_repr
    __swig_setmethods__["server"] = _dpm2.dpns_fileid_server_set
    __swig_getmethods__["server"] = _dpm2.dpns_fileid_server_get
    if _newclass:
        server = _swig_property(_dpm2.dpns_fileid_server_get, _dpm2.dpns_fileid_server_set)
    __swig_setmethods__["fileid"] = _dpm2.dpns_fileid_fileid_set
    __swig_getmethods__["fileid"] = _dpm2.dpns_fileid_fileid_get
    if _newclass:
        fileid = _swig_property(_dpm2.dpns_fileid_fileid_get, _dpm2.dpns_fileid_fileid_set)

    def __init__(self):
        this = _dpm2.new_dpns_fileid()
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this
    __swig_destroy__ = _dpm2.delete_dpns_fileid
    __del__ = lambda self: None
dpns_fileid_swigregister = _dpm2.dpns_fileid_swigregister
dpns_fileid_swigregister(dpns_fileid)

class dpns_filereg(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, dpns_filereg, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, dpns_filereg, name)
    __repr__ = _swig_repr
    __swig_setmethods__["lfn"] = _dpm2.dpns_filereg_lfn_set
    __swig_getmethods__["lfn"] = _dpm2.dpns_filereg_lfn_get
    if _newclass:
        lfn = _swig_property(_dpm2.dpns_filereg_lfn_get, _dpm2.dpns_filereg_lfn_set)
    __swig_setmethods__["guid"] = _dpm2.dpns_filereg_guid_set
    __swig_getmethods__["guid"] = _dpm2.dpns_filereg_guid_get
    if _newclass:
        guid = _swig_property(_dpm2.dpns_filereg_guid_get, _dpm2.dpns_filereg_guid_set)
    __swig_setmethods__["mode"] = _dpm2.dpns_filereg_mode_set
    __swig_getmethods__["mode"] = _dpm2.dpns_filereg_mode_get
    if _newclass:
        mode = _swig_property(_dpm2.dpns_filereg_mode_get, _dpm2.dpns_filereg_mode_set)
    __swig_setmethods__["size"] = _dpm2.dpns_filereg_size_set
    __swig_getmethods__["size"] = _dpm2.dpns_filereg_size_get
    if _newclass:
        size = _swig_property(_dpm2.dpns_filereg_size_get, _dpm2.dpns_filereg_size_set)
    __swig_setmethods__["csumtype"] = _dpm2.dpns_filereg_csumtype_set
    __swig_getmethods__["csumtype"] = _dpm2.dpns_filereg_csumtype_get
    if _newclass:
        csumtype = _swig_property(_dpm2.dpns_filereg_csumtype_get, _dpm2.dpns_filereg_csumtype_set)
    __swig_setmethods__["csumvalue"] = _dpm2.dpns_filereg_csumvalue_set
    __swig_getmethods__["csumvalue"] = _dpm2.dpns_filereg_csumvalue_get
    if _newclass:
        csumvalue = _swig_property(_dpm2.dpns_filereg_csumvalue_get, _dpm2.dpns_filereg_csumvalue_set)
    __swig_setmethods__["server"] = _dpm2.dpns_filereg_server_set
    __swig_getmethods__["server"] = _dpm2.dpns_filereg_server_get
    if _newclass:
        server = _swig_property(_dpm2.dpns_filereg_server_get, _dpm2.dpns_filereg_server_set)
    __swig_setmethods__["sfn"] = _dpm2.dpns_filereg_sfn_set
    __swig_getmethods__["sfn"] = _dpm2.dpns_filereg_sfn_get
    if _newclass:
        sfn = _swig_property(_dpm2.dpns_filereg_sfn_get, _dpm2.dpns_filereg_sfn_set)

    def __init__(self):
        this = _dpm2.new_dpns_filereg()
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this
    __swig_destroy__ = _dpm2.delete_dpns_filereg
    __del__ = lambda self: None
dpns_filereg_swigregister = _dpm2.dpns_filereg_swigregister
dpns_filereg_swigregister(dpns_filereg)

class dpns_filereplica(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, dpns_filereplica, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, dpns_filereplica, name)
    __repr__ = _swig_repr
    __swig_setmethods__["fileid"] = _dpm2.dpns_filereplica_fileid_set
    __swig_getmethods__["fileid"] = _dpm2.dpns_filereplica_fileid_get
    if _newclass:
        fileid = _swig_property(_dpm2.dpns_filereplica_fileid_get, _dpm2.dpns_filereplica_fileid_set)
    __swig_setmethods__["nbaccesses"] = _dpm2.dpns_filereplica_nbaccesses_set
    __swig_getmethods__["nbaccesses"] = _dpm2.dpns_filereplica_nbaccesses_get
    if _newclass:
        nbaccesses = _swig_property(_dpm2.dpns_filereplica_nbaccesses_get, _dpm2.dpns_filereplica_nbaccesses_set)
    __swig_setmethods__["atime"] = _dpm2.dpns_filereplica_atime_set
    __swig_getmethods__["atime"] = _dpm2.dpns_filereplica_atime_get
    if _newclass:
        atime = _swig_property(_dpm2.dpns_filereplica_atime_get, _dpm2.dpns_filereplica_atime_set)
    __swig_setmethods__["ptime"] = _dpm2.dpns_filereplica_ptime_set
    __swig_getmethods__["ptime"] = _dpm2.dpns_filereplica_ptime_get
    if _newclass:
        ptime = _swig_property(_dpm2.dpns_filereplica_ptime_get, _dpm2.dpns_filereplica_ptime_set)
    __swig_setmethods__["status"] = _dpm2.dpns_filereplica_status_set
    __swig_getmethods__["status"] = _dpm2.dpns_filereplica_status_get
    if _newclass:
        status = _swig_property(_dpm2.dpns_filereplica_status_get, _dpm2.dpns_filereplica_status_set)
    __swig_setmethods__["f_type"] = _dpm2.dpns_filereplica_f_type_set
    __swig_getmethods__["f_type"] = _dpm2.dpns_filereplica_f_type_get
    if _newclass:
        f_type = _swig_property(_dpm2.dpns_filereplica_f_type_get, _dpm2.dpns_filereplica_f_type_set)
    __swig_setmethods__["poolname"] = _dpm2.dpns_filereplica_poolname_set
    __swig_getmethods__["poolname"] = _dpm2.dpns_filereplica_poolname_get
    if _newclass:
        poolname = _swig_property(_dpm2.dpns_filereplica_poolname_get, _dpm2.dpns_filereplica_poolname_set)
    __swig_setmethods__["host"] = _dpm2.dpns_filereplica_host_set
    __swig_getmethods__["host"] = _dpm2.dpns_filereplica_host_get
    if _newclass:
        host = _swig_property(_dpm2.dpns_filereplica_host_get, _dpm2.dpns_filereplica_host_set)
    __swig_setmethods__["fs"] = _dpm2.dpns_filereplica_fs_set
    __swig_getmethods__["fs"] = _dpm2.dpns_filereplica_fs_get
    if _newclass:
        fs = _swig_property(_dpm2.dpns_filereplica_fs_get, _dpm2.dpns_filereplica_fs_set)
    __swig_setmethods__["sfn"] = _dpm2.dpns_filereplica_sfn_set
    __swig_getmethods__["sfn"] = _dpm2.dpns_filereplica_sfn_get
    if _newclass:
        sfn = _swig_property(_dpm2.dpns_filereplica_sfn_get, _dpm2.dpns_filereplica_sfn_set)

    def __init__(self):
        this = _dpm2.new_dpns_filereplica()
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this
    __swig_destroy__ = _dpm2.delete_dpns_filereplica
    __del__ = lambda self: None
dpns_filereplica_swigregister = _dpm2.dpns_filereplica_swigregister
dpns_filereplica_swigregister(dpns_filereplica)

class dpns_filereplicax(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, dpns_filereplicax, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, dpns_filereplicax, name)
    __repr__ = _swig_repr
    __swig_setmethods__["fileid"] = _dpm2.dpns_filereplicax_fileid_set
    __swig_getmethods__["fileid"] = _dpm2.dpns_filereplicax_fileid_get
    if _newclass:
        fileid = _swig_property(_dpm2.dpns_filereplicax_fileid_get, _dpm2.dpns_filereplicax_fileid_set)
    __swig_setmethods__["nbaccesses"] = _dpm2.dpns_filereplicax_nbaccesses_set
    __swig_getmethods__["nbaccesses"] = _dpm2.dpns_filereplicax_nbaccesses_get
    if _newclass:
        nbaccesses = _swig_property(_dpm2.dpns_filereplicax_nbaccesses_get, _dpm2.dpns_filereplicax_nbaccesses_set)
    __swig_setmethods__["ctime"] = _dpm2.dpns_filereplicax_ctime_set
    __swig_getmethods__["ctime"] = _dpm2.dpns_filereplicax_ctime_get
    if _newclass:
        ctime = _swig_property(_dpm2.dpns_filereplicax_ctime_get, _dpm2.dpns_filereplicax_ctime_set)
    __swig_setmethods__["atime"] = _dpm2.dpns_filereplicax_atime_set
    __swig_getmethods__["atime"] = _dpm2.dpns_filereplicax_atime_get
    if _newclass:
        atime = _swig_property(_dpm2.dpns_filereplicax_atime_get, _dpm2.dpns_filereplicax_atime_set)
    __swig_setmethods__["ptime"] = _dpm2.dpns_filereplicax_ptime_set
    __swig_getmethods__["ptime"] = _dpm2.dpns_filereplicax_ptime_get
    if _newclass:
        ptime = _swig_property(_dpm2.dpns_filereplicax_ptime_get, _dpm2.dpns_filereplicax_ptime_set)
    __swig_setmethods__["ltime"] = _dpm2.dpns_filereplicax_ltime_set
    __swig_getmethods__["ltime"] = _dpm2.dpns_filereplicax_ltime_get
    if _newclass:
        ltime = _swig_property(_dpm2.dpns_filereplicax_ltime_get, _dpm2.dpns_filereplicax_ltime_set)
    __swig_setmethods__["r_type"] = _dpm2.dpns_filereplicax_r_type_set
    __swig_getmethods__["r_type"] = _dpm2.dpns_filereplicax_r_type_get
    if _newclass:
        r_type = _swig_property(_dpm2.dpns_filereplicax_r_type_get, _dpm2.dpns_filereplicax_r_type_set)
    __swig_setmethods__["status"] = _dpm2.dpns_filereplicax_status_set
    __swig_getmethods__["status"] = _dpm2.dpns_filereplicax_status_get
    if _newclass:
        status = _swig_property(_dpm2.dpns_filereplicax_status_get, _dpm2.dpns_filereplicax_status_set)
    __swig_setmethods__["f_type"] = _dpm2.dpns_filereplicax_f_type_set
    __swig_getmethods__["f_type"] = _dpm2.dpns_filereplicax_f_type_get
    if _newclass:
        f_type = _swig_property(_dpm2.dpns_filereplicax_f_type_get, _dpm2.dpns_filereplicax_f_type_set)
    __swig_setmethods__["setname"] = _dpm2.dpns_filereplicax_setname_set
    __swig_getmethods__["setname"] = _dpm2.dpns_filereplicax_setname_get
    if _newclass:
        setname = _swig_property(_dpm2.dpns_filereplicax_setname_get, _dpm2.dpns_filereplicax_setname_set)
    __swig_setmethods__["poolname"] = _dpm2.dpns_filereplicax_poolname_set
    __swig_getmethods__["poolname"] = _dpm2.dpns_filereplicax_poolname_get
    if _newclass:
        poolname = _swig_property(_dpm2.dpns_filereplicax_poolname_get, _dpm2.dpns_filereplicax_poolname_set)
    __swig_setmethods__["host"] = _dpm2.dpns_filereplicax_host_set
    __swig_getmethods__["host"] = _dpm2.dpns_filereplicax_host_get
    if _newclass:
        host = _swig_property(_dpm2.dpns_filereplicax_host_get, _dpm2.dpns_filereplicax_host_set)
    __swig_setmethods__["fs"] = _dpm2.dpns_filereplicax_fs_set
    __swig_getmethods__["fs"] = _dpm2.dpns_filereplicax_fs_get
    if _newclass:
        fs = _swig_property(_dpm2.dpns_filereplicax_fs_get, _dpm2.dpns_filereplicax_fs_set)
    __swig_setmethods__["sfn"] = _dpm2.dpns_filereplicax_sfn_set
    __swig_getmethods__["sfn"] = _dpm2.dpns_filereplicax_sfn_get
    if _newclass:
        sfn = _swig_property(_dpm2.dpns_filereplicax_sfn_get, _dpm2.dpns_filereplicax_sfn_set)

    def __init__(self):
        this = _dpm2.new_dpns_filereplicax()
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this
    __swig_destroy__ = _dpm2.delete_dpns_filereplicax
    __del__ = lambda self: None
dpns_filereplicax_swigregister = _dpm2.dpns_filereplicax_swigregister
dpns_filereplicax_swigregister(dpns_filereplicax)

class dpns_filestat(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, dpns_filestat, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, dpns_filestat, name)
    __repr__ = _swig_repr
    __swig_setmethods__["fileid"] = _dpm2.dpns_filestat_fileid_set
    __swig_getmethods__["fileid"] = _dpm2.dpns_filestat_fileid_get
    if _newclass:
        fileid = _swig_property(_dpm2.dpns_filestat_fileid_get, _dpm2.dpns_filestat_fileid_set)
    __swig_setmethods__["filemode"] = _dpm2.dpns_filestat_filemode_set
    __swig_getmethods__["filemode"] = _dpm2.dpns_filestat_filemode_get
    if _newclass:
        filemode = _swig_property(_dpm2.dpns_filestat_filemode_get, _dpm2.dpns_filestat_filemode_set)
    __swig_setmethods__["nlink"] = _dpm2.dpns_filestat_nlink_set
    __swig_getmethods__["nlink"] = _dpm2.dpns_filestat_nlink_get
    if _newclass:
        nlink = _swig_property(_dpm2.dpns_filestat_nlink_get, _dpm2.dpns_filestat_nlink_set)
    __swig_setmethods__["uid"] = _dpm2.dpns_filestat_uid_set
    __swig_getmethods__["uid"] = _dpm2.dpns_filestat_uid_get
    if _newclass:
        uid = _swig_property(_dpm2.dpns_filestat_uid_get, _dpm2.dpns_filestat_uid_set)
    __swig_setmethods__["gid"] = _dpm2.dpns_filestat_gid_set
    __swig_getmethods__["gid"] = _dpm2.dpns_filestat_gid_get
    if _newclass:
        gid = _swig_property(_dpm2.dpns_filestat_gid_get, _dpm2.dpns_filestat_gid_set)
    __swig_setmethods__["filesize"] = _dpm2.dpns_filestat_filesize_set
    __swig_getmethods__["filesize"] = _dpm2.dpns_filestat_filesize_get
    if _newclass:
        filesize = _swig_property(_dpm2.dpns_filestat_filesize_get, _dpm2.dpns_filestat_filesize_set)
    __swig_setmethods__["atime"] = _dpm2.dpns_filestat_atime_set
    __swig_getmethods__["atime"] = _dpm2.dpns_filestat_atime_get
    if _newclass:
        atime = _swig_property(_dpm2.dpns_filestat_atime_get, _dpm2.dpns_filestat_atime_set)
    __swig_setmethods__["mtime"] = _dpm2.dpns_filestat_mtime_set
    __swig_getmethods__["mtime"] = _dpm2.dpns_filestat_mtime_get
    if _newclass:
        mtime = _swig_property(_dpm2.dpns_filestat_mtime_get, _dpm2.dpns_filestat_mtime_set)
    __swig_setmethods__["ctime"] = _dpm2.dpns_filestat_ctime_set
    __swig_getmethods__["ctime"] = _dpm2.dpns_filestat_ctime_get
    if _newclass:
        ctime = _swig_property(_dpm2.dpns_filestat_ctime_get, _dpm2.dpns_filestat_ctime_set)
    __swig_setmethods__["fileclass"] = _dpm2.dpns_filestat_fileclass_set
    __swig_getmethods__["fileclass"] = _dpm2.dpns_filestat_fileclass_get
    if _newclass:
        fileclass = _swig_property(_dpm2.dpns_filestat_fileclass_get, _dpm2.dpns_filestat_fileclass_set)
    __swig_setmethods__["status"] = _dpm2.dpns_filestat_status_set
    __swig_getmethods__["status"] = _dpm2.dpns_filestat_status_get
    if _newclass:
        status = _swig_property(_dpm2.dpns_filestat_status_get, _dpm2.dpns_filestat_status_set)

    def __init__(self):
        this = _dpm2.new_dpns_filestat()
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this
    __swig_destroy__ = _dpm2.delete_dpns_filestat
    __del__ = lambda self: None
dpns_filestat_swigregister = _dpm2.dpns_filestat_swigregister
dpns_filestat_swigregister(dpns_filestat)

class dpns_filestatg(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, dpns_filestatg, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, dpns_filestatg, name)
    __repr__ = _swig_repr
    __swig_setmethods__["fileid"] = _dpm2.dpns_filestatg_fileid_set
    __swig_getmethods__["fileid"] = _dpm2.dpns_filestatg_fileid_get
    if _newclass:
        fileid = _swig_property(_dpm2.dpns_filestatg_fileid_get, _dpm2.dpns_filestatg_fileid_set)
    __swig_setmethods__["guid"] = _dpm2.dpns_filestatg_guid_set
    __swig_getmethods__["guid"] = _dpm2.dpns_filestatg_guid_get
    if _newclass:
        guid = _swig_property(_dpm2.dpns_filestatg_guid_get, _dpm2.dpns_filestatg_guid_set)
    __swig_setmethods__["filemode"] = _dpm2.dpns_filestatg_filemode_set
    __swig_getmethods__["filemode"] = _dpm2.dpns_filestatg_filemode_get
    if _newclass:
        filemode = _swig_property(_dpm2.dpns_filestatg_filemode_get, _dpm2.dpns_filestatg_filemode_set)
    __swig_setmethods__["nlink"] = _dpm2.dpns_filestatg_nlink_set
    __swig_getmethods__["nlink"] = _dpm2.dpns_filestatg_nlink_get
    if _newclass:
        nlink = _swig_property(_dpm2.dpns_filestatg_nlink_get, _dpm2.dpns_filestatg_nlink_set)
    __swig_setmethods__["uid"] = _dpm2.dpns_filestatg_uid_set
    __swig_getmethods__["uid"] = _dpm2.dpns_filestatg_uid_get
    if _newclass:
        uid = _swig_property(_dpm2.dpns_filestatg_uid_get, _dpm2.dpns_filestatg_uid_set)
    __swig_setmethods__["gid"] = _dpm2.dpns_filestatg_gid_set
    __swig_getmethods__["gid"] = _dpm2.dpns_filestatg_gid_get
    if _newclass:
        gid = _swig_property(_dpm2.dpns_filestatg_gid_get, _dpm2.dpns_filestatg_gid_set)
    __swig_setmethods__["filesize"] = _dpm2.dpns_filestatg_filesize_set
    __swig_getmethods__["filesize"] = _dpm2.dpns_filestatg_filesize_get
    if _newclass:
        filesize = _swig_property(_dpm2.dpns_filestatg_filesize_get, _dpm2.dpns_filestatg_filesize_set)
    __swig_setmethods__["atime"] = _dpm2.dpns_filestatg_atime_set
    __swig_getmethods__["atime"] = _dpm2.dpns_filestatg_atime_get
    if _newclass:
        atime = _swig_property(_dpm2.dpns_filestatg_atime_get, _dpm2.dpns_filestatg_atime_set)
    __swig_setmethods__["mtime"] = _dpm2.dpns_filestatg_mtime_set
    __swig_getmethods__["mtime"] = _dpm2.dpns_filestatg_mtime_get
    if _newclass:
        mtime = _swig_property(_dpm2.dpns_filestatg_mtime_get, _dpm2.dpns_filestatg_mtime_set)
    __swig_setmethods__["ctime"] = _dpm2.dpns_filestatg_ctime_set
    __swig_getmethods__["ctime"] = _dpm2.dpns_filestatg_ctime_get
    if _newclass:
        ctime = _swig_property(_dpm2.dpns_filestatg_ctime_get, _dpm2.dpns_filestatg_ctime_set)
    __swig_setmethods__["fileclass"] = _dpm2.dpns_filestatg_fileclass_set
    __swig_getmethods__["fileclass"] = _dpm2.dpns_filestatg_fileclass_get
    if _newclass:
        fileclass = _swig_property(_dpm2.dpns_filestatg_fileclass_get, _dpm2.dpns_filestatg_fileclass_set)
    __swig_setmethods__["status"] = _dpm2.dpns_filestatg_status_set
    __swig_getmethods__["status"] = _dpm2.dpns_filestatg_status_get
    if _newclass:
        status = _swig_property(_dpm2.dpns_filestatg_status_get, _dpm2.dpns_filestatg_status_set)
    __swig_setmethods__["csumtype"] = _dpm2.dpns_filestatg_csumtype_set
    __swig_getmethods__["csumtype"] = _dpm2.dpns_filestatg_csumtype_get
    if _newclass:
        csumtype = _swig_property(_dpm2.dpns_filestatg_csumtype_get, _dpm2.dpns_filestatg_csumtype_set)
    __swig_setmethods__["csumvalue"] = _dpm2.dpns_filestatg_csumvalue_set
    __swig_getmethods__["csumvalue"] = _dpm2.dpns_filestatg_csumvalue_get
    if _newclass:
        csumvalue = _swig_property(_dpm2.dpns_filestatg_csumvalue_get, _dpm2.dpns_filestatg_csumvalue_set)

    def __init__(self):
        this = _dpm2.new_dpns_filestatg()
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this
    __swig_destroy__ = _dpm2.delete_dpns_filestatg
    __del__ = lambda self: None
dpns_filestatg_swigregister = _dpm2.dpns_filestatg_swigregister
dpns_filestatg_swigregister(dpns_filestatg)

class dpns_linkinfo(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, dpns_linkinfo, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, dpns_linkinfo, name)
    __repr__ = _swig_repr
    __swig_setmethods__["path"] = _dpm2.dpns_linkinfo_path_set
    __swig_getmethods__["path"] = _dpm2.dpns_linkinfo_path_get
    if _newclass:
        path = _swig_property(_dpm2.dpns_linkinfo_path_get, _dpm2.dpns_linkinfo_path_set)

    def __init__(self):
        this = _dpm2.new_dpns_linkinfo()
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this
    __swig_destroy__ = _dpm2.delete_dpns_linkinfo
    __del__ = lambda self: None
dpns_linkinfo_swigregister = _dpm2.dpns_linkinfo_swigregister
dpns_linkinfo_swigregister(dpns_linkinfo)

class dpns_list(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, dpns_list, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, dpns_list, name)
    __repr__ = _swig_repr
    __swig_setmethods__["fd"] = _dpm2.dpns_list_fd_set
    __swig_getmethods__["fd"] = _dpm2.dpns_list_fd_get
    if _newclass:
        fd = _swig_property(_dpm2.dpns_list_fd_get, _dpm2.dpns_list_fd_set)
    __swig_setmethods__["eol"] = _dpm2.dpns_list_eol_set
    __swig_getmethods__["eol"] = _dpm2.dpns_list_eol_get
    if _newclass:
        eol = _swig_property(_dpm2.dpns_list_eol_get, _dpm2.dpns_list_eol_set)
    __swig_setmethods__["offset"] = _dpm2.dpns_list_offset_set
    __swig_getmethods__["offset"] = _dpm2.dpns_list_offset_get
    if _newclass:
        offset = _swig_property(_dpm2.dpns_list_offset_get, _dpm2.dpns_list_offset_set)
    __swig_setmethods__["len"] = _dpm2.dpns_list_len_set
    __swig_getmethods__["len"] = _dpm2.dpns_list_len_get
    if _newclass:
        len = _swig_property(_dpm2.dpns_list_len_get, _dpm2.dpns_list_len_set)
    __swig_setmethods__["buf"] = _dpm2.dpns_list_buf_set
    __swig_getmethods__["buf"] = _dpm2.dpns_list_buf_get
    if _newclass:
        buf = _swig_property(_dpm2.dpns_list_buf_get, _dpm2.dpns_list_buf_set)

    def __init__(self):
        this = _dpm2.new_dpns_list()
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this
    __swig_destroy__ = _dpm2.delete_dpns_list
    __del__ = lambda self: None
dpns_list_swigregister = _dpm2.dpns_list_swigregister
dpns_list_swigregister(dpns_list)

CNS_PORT = _dpm2.CNS_PORT
AS_LONG_AS_POSSIBLE = _dpm2.AS_LONG_AS_POSSIBLE
INFINITE_LIFETIME = _dpm2.INFINITE_LIFETIME
CNS_ACL_USER_OBJ = _dpm2.CNS_ACL_USER_OBJ
CNS_ACL_USER = _dpm2.CNS_ACL_USER
CNS_ACL_GROUP_OBJ = _dpm2.CNS_ACL_GROUP_OBJ
CNS_ACL_GROUP = _dpm2.CNS_ACL_GROUP
CNS_ACL_MASK = _dpm2.CNS_ACL_MASK
CNS_ACL_OTHER = _dpm2.CNS_ACL_OTHER
CNS_ACL_DEFAULT = _dpm2.CNS_ACL_DEFAULT
CNS_MUST_EXIST = _dpm2.CNS_MUST_EXIST
CNS_NOFOLLOW = _dpm2.CNS_NOFOLLOW
CNS_SSRV_NOTPATH = _dpm2.CNS_SSRV_NOTPATH
ARGUS_BAN = _dpm2.ARGUS_BAN
LOCAL_BAN = _dpm2.LOCAL_BAN
OPT_CLASS_GID = _dpm2.OPT_CLASS_GID
OPT_CLASS_GROUP = _dpm2.OPT_CLASS_GROUP
OPT_CLASS_ID = _dpm2.OPT_CLASS_ID
OPT_CLASS_NAME = _dpm2.OPT_CLASS_NAME
OPT_CLASS_UID = _dpm2.OPT_CLASS_UID
OPT_CLASS_USER = _dpm2.OPT_CLASS_USER
OPT_FLAGS = _dpm2.OPT_FLAGS
OPT_MAX_DRV = _dpm2.OPT_MAX_DRV
OPT_MAX_FSZ = _dpm2.OPT_MAX_FSZ
OPT_MAX_SSZ = _dpm2.OPT_MAX_SSZ
OPT_MIGR_INTV = _dpm2.OPT_MIGR_INTV
OPT_MIN_FSZ = _dpm2.OPT_MIN_FSZ
OPT_MIN_TIME = _dpm2.OPT_MIN_TIME
OPT_NBCOPIES = _dpm2.OPT_NBCOPIES
OPT_NEW_C_NAME = _dpm2.OPT_NEW_C_NAME
OPT_RETENP_DISK = _dpm2.OPT_RETENP_DISK
OPT_TPPOOLS = _dpm2.OPT_TPPOOLS
OPT_IDMAP_GID = _dpm2.OPT_IDMAP_GID
OPT_IDMAP_GROUP = _dpm2.OPT_IDMAP_GROUP
OPT_IDMAP_UID = _dpm2.OPT_IDMAP_UID
OPT_IDMAP_USER = _dpm2.OPT_IDMAP_USER
OPT_IDMAP_STATUS = _dpm2.OPT_IDMAP_STATUS
USERR = _dpm2.USERR
SYERR = _dpm2.SYERR
CONFERR = _dpm2.CONFERR
class dpns_acl(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, dpns_acl, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, dpns_acl, name)
    __repr__ = _swig_repr
    __swig_setmethods__["a_type"] = _dpm2.dpns_acl_a_type_set
    __swig_getmethods__["a_type"] = _dpm2.dpns_acl_a_type_get
    if _newclass:
        a_type = _swig_property(_dpm2.dpns_acl_a_type_get, _dpm2.dpns_acl_a_type_set)
    __swig_setmethods__["a_id"] = _dpm2.dpns_acl_a_id_set
    __swig_getmethods__["a_id"] = _dpm2.dpns_acl_a_id_get
    if _newclass:
        a_id = _swig_property(_dpm2.dpns_acl_a_id_get, _dpm2.dpns_acl_a_id_set)
    __swig_setmethods__["a_perm"] = _dpm2.dpns_acl_a_perm_set
    __swig_getmethods__["a_perm"] = _dpm2.dpns_acl_a_perm_get
    if _newclass:
        a_perm = _swig_property(_dpm2.dpns_acl_a_perm_get, _dpm2.dpns_acl_a_perm_set)

    def __init__(self):
        this = _dpm2.new_dpns_acl()
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this
    __swig_destroy__ = _dpm2.delete_dpns_acl
    __del__ = lambda self: None
dpns_acl_swigregister = _dpm2.dpns_acl_swigregister
dpns_acl_swigregister(dpns_acl)

class dpns_groupinfo(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, dpns_groupinfo, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, dpns_groupinfo, name)
    __repr__ = _swig_repr
    __swig_setmethods__["gid"] = _dpm2.dpns_groupinfo_gid_set
    __swig_getmethods__["gid"] = _dpm2.dpns_groupinfo_gid_get
    if _newclass:
        gid = _swig_property(_dpm2.dpns_groupinfo_gid_get, _dpm2.dpns_groupinfo_gid_set)
    __swig_setmethods__["groupname"] = _dpm2.dpns_groupinfo_groupname_set
    __swig_getmethods__["groupname"] = _dpm2.dpns_groupinfo_groupname_get
    if _newclass:
        groupname = _swig_property(_dpm2.dpns_groupinfo_groupname_get, _dpm2.dpns_groupinfo_groupname_set)
    __swig_setmethods__["banned"] = _dpm2.dpns_groupinfo_banned_set
    __swig_getmethods__["banned"] = _dpm2.dpns_groupinfo_banned_get
    if _newclass:
        banned = _swig_property(_dpm2.dpns_groupinfo_banned_get, _dpm2.dpns_groupinfo_banned_set)

    def __init__(self):
        this = _dpm2.new_dpns_groupinfo()
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this
    __swig_destroy__ = _dpm2.delete_dpns_groupinfo
    __del__ = lambda self: None
dpns_groupinfo_swigregister = _dpm2.dpns_groupinfo_swigregister
dpns_groupinfo_swigregister(dpns_groupinfo)

class dpns_userinfo(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, dpns_userinfo, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, dpns_userinfo, name)
    __repr__ = _swig_repr
    __swig_setmethods__["userid"] = _dpm2.dpns_userinfo_userid_set
    __swig_getmethods__["userid"] = _dpm2.dpns_userinfo_userid_get
    if _newclass:
        userid = _swig_property(_dpm2.dpns_userinfo_userid_get, _dpm2.dpns_userinfo_userid_set)
    __swig_setmethods__["username"] = _dpm2.dpns_userinfo_username_set
    __swig_getmethods__["username"] = _dpm2.dpns_userinfo_username_get
    if _newclass:
        username = _swig_property(_dpm2.dpns_userinfo_username_get, _dpm2.dpns_userinfo_username_set)
    __swig_setmethods__["user_ca"] = _dpm2.dpns_userinfo_user_ca_set
    __swig_getmethods__["user_ca"] = _dpm2.dpns_userinfo_user_ca_get
    if _newclass:
        user_ca = _swig_property(_dpm2.dpns_userinfo_user_ca_get, _dpm2.dpns_userinfo_user_ca_set)
    __swig_setmethods__["banned"] = _dpm2.dpns_userinfo_banned_set
    __swig_getmethods__["banned"] = _dpm2.dpns_userinfo_banned_get
    if _newclass:
        banned = _swig_property(_dpm2.dpns_userinfo_banned_get, _dpm2.dpns_userinfo_banned_set)

    def __init__(self):
        this = _dpm2.new_dpns_userinfo()
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this
    __swig_destroy__ = _dpm2.delete_dpns_userinfo
    __del__ = lambda self: None
dpns_userinfo_swigregister = _dpm2.dpns_userinfo_swigregister
dpns_userinfo_swigregister(dpns_userinfo)


def dpns_access(path, amode):
    return _dpm2.dpns_access(path, amode)
dpns_access = _dpm2.dpns_access

def dpns_accessr(sfn, amode):
    return _dpm2.dpns_accessr(sfn, amode)
dpns_accessr = _dpm2.dpns_accessr

def dpns_aborttrans():
    return _dpm2.dpns_aborttrans()
dpns_aborttrans = _dpm2.dpns_aborttrans

def dpns_addreplica(guid, file_uniqueid, server, sfn, status, f_type, poolname, fs):
    return _dpm2.dpns_addreplica(guid, file_uniqueid, server, sfn, status, f_type, poolname, fs)
dpns_addreplica = _dpm2.dpns_addreplica

def dpns_addreplicax(guid, file_uniqueid, server, sfn, status, f_type, poolname, fs, r_type, setname):
    return _dpm2.dpns_addreplicax(guid, file_uniqueid, server, sfn, status, f_type, poolname, fs, r_type, setname)
dpns_addreplicax = _dpm2.dpns_addreplicax

def dpns_chdir(path):
    return _dpm2.dpns_chdir(path)
dpns_chdir = _dpm2.dpns_chdir

def dpns_chmod(path, mode):
    return _dpm2.dpns_chmod(path, mode)
dpns_chmod = _dpm2.dpns_chmod

def dpns_chown(path, new_uid, new_gid):
    return _dpm2.dpns_chown(path, new_uid, new_gid)
dpns_chown = _dpm2.dpns_chown

def dpns_client_setAuthorizationId(uid, gid, mech, id):
    return _dpm2.dpns_client_setAuthorizationId(uid, gid, mech, id)
dpns_client_setAuthorizationId = _dpm2.dpns_client_setAuthorizationId

def dpns_client_setVOMS_data(voname, INPUT):
    return _dpm2.dpns_client_setVOMS_data(voname, INPUT)
dpns_client_setVOMS_data = _dpm2.dpns_client_setVOMS_data

def dpns_closedir(dirp):
    return _dpm2.dpns_closedir(dirp)
dpns_closedir = _dpm2.dpns_closedir

def dpns_creat(path, mode):
    return _dpm2.dpns_creat(path, mode)
dpns_creat = _dpm2.dpns_creat

def dpns_delcomment(path):
    return _dpm2.dpns_delcomment(path)
dpns_delcomment = _dpm2.dpns_delcomment

def dpns_delete(path):
    return _dpm2.dpns_delete(path)
dpns_delete = _dpm2.dpns_delete

def dpns_delreplicasbysfn(arg1, INPUTLIST2):
    return _dpm2.dpns_delreplicasbysfn(arg1, INPUTLIST2)
dpns_delreplicasbysfn = _dpm2.dpns_delreplicasbysfn

def dpns_delreplica(guid, file_uniqueid, sfn):
    return _dpm2.dpns_delreplica(guid, file_uniqueid, sfn)
dpns_delreplica = _dpm2.dpns_delreplica

def dpns_endsess():
    return _dpm2.dpns_endsess()
dpns_endsess = _dpm2.dpns_endsess

def dpns_endtrans():
    return _dpm2.dpns_endtrans()
dpns_endtrans = _dpm2.dpns_endtrans

def dpns_getacl(path):
    return _dpm2.dpns_getacl(path)
dpns_getacl = _dpm2.dpns_getacl

def dpns_getcomment(path):
    return _dpm2.dpns_getcomment(path)
dpns_getcomment = _dpm2.dpns_getcomment

def dpns_getcwd():
    return _dpm2.dpns_getcwd()
dpns_getcwd = _dpm2.dpns_getcwd

def dpns_getifcevers():
    return _dpm2.dpns_getifcevers()
dpns_getifcevers = _dpm2.dpns_getifcevers

def dpns_getlinks(path, guid):
    return _dpm2.dpns_getlinks(path, guid)
dpns_getlinks = _dpm2.dpns_getlinks

def dpns_getreplica(path, guid, se):
    return _dpm2.dpns_getreplica(path, guid, se)
dpns_getreplica = _dpm2.dpns_getreplica

def dpns_getreplicax(path, guid, se):
    return _dpm2.dpns_getreplicax(path, guid, se)
dpns_getreplicax = _dpm2.dpns_getreplicax

def dpns_lchown(path, new_uid, new_gid):
    return _dpm2.dpns_lchown(path, new_uid, new_gid)
dpns_lchown = _dpm2.dpns_lchown

def dpns_listreplicax(poolname, server, fs, flags, listp):
    return _dpm2.dpns_listreplicax(poolname, server, fs, flags, listp)
dpns_listreplicax = _dpm2.dpns_listreplicax

def dpns_listrepset(setname, flags, listp):
    return _dpm2.dpns_listrepset(setname, flags, listp)
dpns_listrepset = _dpm2.dpns_listrepset

def dpns_lstat(path):
    return _dpm2.dpns_lstat(path)
dpns_lstat = _dpm2.dpns_lstat

def dpns_mkdir(path, mode):
    return _dpm2.dpns_mkdir(path, mode)
dpns_mkdir = _dpm2.dpns_mkdir

def dpns_mkdirg(path, guid, mode):
    return _dpm2.dpns_mkdirg(path, guid, mode)
dpns_mkdirg = _dpm2.dpns_mkdirg

def dpns_modreplica(sfn, setname, poolname, server):
    return _dpm2.dpns_modreplica(sfn, setname, poolname, server)
dpns_modreplica = _dpm2.dpns_modreplica

def dpns_modreplicax(sfn, setname, poolname, server, fs, r_type):
    return _dpm2.dpns_modreplicax(sfn, setname, poolname, server, fs, r_type)
dpns_modreplicax = _dpm2.dpns_modreplicax

def dpns_opendir(path):
    return _dpm2.dpns_opendir(path)
dpns_opendir = _dpm2.dpns_opendir

def dpns_opendirg(path, guid):
    return _dpm2.dpns_opendirg(path, guid)
dpns_opendirg = _dpm2.dpns_opendirg

def dpns_opendirxg(server, path, guid):
    return _dpm2.dpns_opendirxg(server, path, guid)
dpns_opendirxg = _dpm2.dpns_opendirxg

def dpns_ping(server):
    return _dpm2.dpns_ping(server)
dpns_ping = _dpm2.dpns_ping

def dpns_readdir(dirp):
    return _dpm2.dpns_readdir(dirp)
dpns_readdir = _dpm2.dpns_readdir

def dpns_readdirc(dirp):
    return _dpm2.dpns_readdirc(dirp)
dpns_readdirc = _dpm2.dpns_readdirc

def dpns_readdirg(dirp):
    return _dpm2.dpns_readdirg(dirp)
dpns_readdirg = _dpm2.dpns_readdirg

def dpns_readdirx(dirp):
    return _dpm2.dpns_readdirx(dirp)
dpns_readdirx = _dpm2.dpns_readdirx

def dpns_readdirxc(dirp):
    return _dpm2.dpns_readdirxc(dirp)
dpns_readdirxc = _dpm2.dpns_readdirxc

def dpns_readdirxp(dirp, pattern, se=None):
    return _dpm2.dpns_readdirxp(dirp, pattern, se)
dpns_readdirxp = _dpm2.dpns_readdirxp

def dpns_readdirxr(dirp, se=None):
    return _dpm2.dpns_readdirxr(dirp, se)
dpns_readdirxr = _dpm2.dpns_readdirxr

def dpns_readlink(path, PATHOUT, LENGTH):
    return _dpm2.dpns_readlink(path, PATHOUT, LENGTH)
dpns_readlink = _dpm2.dpns_readlink

def dpns_rename(oldpath, newpath):
    return _dpm2.dpns_rename(oldpath, newpath)
dpns_rename = _dpm2.dpns_rename

def dpns_rewinddir(dirp):
    return _dpm2.dpns_rewinddir(dirp)
dpns_rewinddir = _dpm2.dpns_rewinddir

def dpns_registerfiles(arg1):
    return _dpm2.dpns_registerfiles(arg1)
dpns_registerfiles = _dpm2.dpns_registerfiles

def dpns_rmdir(path):
    return _dpm2.dpns_rmdir(path)
dpns_rmdir = _dpm2.dpns_rmdir

def dpns_setacl(path, LENGTH):
    return _dpm2.dpns_setacl(path, LENGTH)
dpns_setacl = _dpm2.dpns_setacl

def dpns_setatime(path, file_uniqueid):
    return _dpm2.dpns_setatime(path, file_uniqueid)
dpns_setatime = _dpm2.dpns_setatime

def dpns_setcomment(path, comment):
    return _dpm2.dpns_setcomment(path, comment)
dpns_setcomment = _dpm2.dpns_setcomment

def dpns_setfsize(path, file_uniqueid, filesize):
    return _dpm2.dpns_setfsize(path, file_uniqueid, filesize)
dpns_setfsize = _dpm2.dpns_setfsize

def dpns_setfsizec(path, file_uniqueid, filesize, csumtype, csumvalue):
    return _dpm2.dpns_setfsizec(path, file_uniqueid, filesize, csumtype, csumvalue)
dpns_setfsizec = _dpm2.dpns_setfsizec

def dpns_setfsizeg(guid, filesize, csumtype, csumvalue):
    return _dpm2.dpns_setfsizeg(guid, filesize, csumtype, csumvalue)
dpns_setfsizeg = _dpm2.dpns_setfsizeg

def dpns_setptime(sfn, ptime):
    return _dpm2.dpns_setptime(sfn, ptime)
dpns_setptime = _dpm2.dpns_setptime

def dpns_setratime(sfn):
    return _dpm2.dpns_setratime(sfn)
dpns_setratime = _dpm2.dpns_setratime

def dpns_setrltime(sfn, ltime):
    return _dpm2.dpns_setrltime(sfn, ltime)
dpns_setrltime = _dpm2.dpns_setrltime

def dpns_setrstatus(sfn, status):
    return _dpm2.dpns_setrstatus(sfn, status)
dpns_setrstatus = _dpm2.dpns_setrstatus

def dpns_setrtype(sfn, type):
    return _dpm2.dpns_setrtype(sfn, type)
dpns_setrtype = _dpm2.dpns_setrtype

def dpns_startsess(server, comment):
    return _dpm2.dpns_startsess(server, comment)
dpns_startsess = _dpm2.dpns_startsess

def dpns_starttrans(server, comment):
    return _dpm2.dpns_starttrans(server, comment)
dpns_starttrans = _dpm2.dpns_starttrans

def dpns_stat(path):
    return _dpm2.dpns_stat(path)
dpns_stat = _dpm2.dpns_stat

def dpns_statg(path, guid):
    return _dpm2.dpns_statg(path, guid)
dpns_statg = _dpm2.dpns_statg

def dpns_statr(sfn):
    return _dpm2.dpns_statr(sfn)
dpns_statr = _dpm2.dpns_statr

def dpns_symlink(target, linkname):
    return _dpm2.dpns_symlink(target, linkname)
dpns_symlink = _dpm2.dpns_symlink

def dpns_umask(cmask):
    return _dpm2.dpns_umask(cmask)
dpns_umask = _dpm2.dpns_umask

def dpns_undelete(path):
    return _dpm2.dpns_undelete(path)
dpns_undelete = _dpm2.dpns_undelete

def dpns_unlink(path):
    return _dpm2.dpns_unlink(path)
dpns_unlink = _dpm2.dpns_unlink

def dpns_utime(path, times):
    return _dpm2.dpns_utime(path, times)
dpns_utime = _dpm2.dpns_utime

def dpns_entergrpmap(gid, groupname):
    return _dpm2.dpns_entergrpmap(gid, groupname)
dpns_entergrpmap = _dpm2.dpns_entergrpmap

def dpns_enterusrmap(uid, username):
    return _dpm2.dpns_enterusrmap(uid, username)
dpns_enterusrmap = _dpm2.dpns_enterusrmap

def dpns_getgrpbygid(gid):
    return _dpm2.dpns_getgrpbygid(gid)
dpns_getgrpbygid = _dpm2.dpns_getgrpbygid

def dpns_getgrpbygids(LENGTH):
    return _dpm2.dpns_getgrpbygids(LENGTH)
dpns_getgrpbygids = _dpm2.dpns_getgrpbygids

def dpns_getgrpbynam(groupname):
    return _dpm2.dpns_getgrpbynam(groupname)
dpns_getgrpbynam = _dpm2.dpns_getgrpbynam

def dpns_getgrpmap():
    return _dpm2.dpns_getgrpmap()
dpns_getgrpmap = _dpm2.dpns_getgrpmap

def dpns_getidmap(username, LENGTH):
    return _dpm2.dpns_getidmap(username, LENGTH)
dpns_getidmap = _dpm2.dpns_getidmap

def dpns_getidmapc(username, user_ca, LENGTH):
    return _dpm2.dpns_getidmapc(username, user_ca, LENGTH)
dpns_getidmapc = _dpm2.dpns_getidmapc

def dpns_getusrbynam(username):
    return _dpm2.dpns_getusrbynam(username)
dpns_getusrbynam = _dpm2.dpns_getusrbynam

def dpns_getusrbyuid(uid):
    return _dpm2.dpns_getusrbyuid(uid)
dpns_getusrbyuid = _dpm2.dpns_getusrbyuid

def dpns_getusrmap():
    return _dpm2.dpns_getusrmap()
dpns_getusrmap = _dpm2.dpns_getusrmap

def dpns_modifygrpmap(gid, newname, status):
    return _dpm2.dpns_modifygrpmap(gid, newname, status)
dpns_modifygrpmap = _dpm2.dpns_modifygrpmap

def dpns_modifyusrmap(uid, newname, status):
    return _dpm2.dpns_modifyusrmap(uid, newname, status)
dpns_modifyusrmap = _dpm2.dpns_modifyusrmap

def dpns_rmgrpmap(gid, groupname):
    return _dpm2.dpns_rmgrpmap(gid, groupname)
dpns_rmgrpmap = _dpm2.dpns_rmgrpmap

def dpns_rmusrmap(uid, username):
    return _dpm2.dpns_rmusrmap(uid, username)
dpns_rmusrmap = _dpm2.dpns_rmusrmap

def dpns_setenv(key, value, replace):
    return _dpm2.dpns_setenv(key, value, replace)
dpns_setenv = _dpm2.dpns_setenv

def dpns_getenv(key):
    return _dpm2.dpns_getenv(key)
dpns_getenv = _dpm2.dpns_getenv
R_OK = _dpm2.R_OK
W_OK = _dpm2.W_OK
X_OK = _dpm2.X_OK
F_OK = _dpm2.F_OK
S_IROTH = _dpm2.S_IROTH
S_IWOTH = _dpm2.S_IWOTH
S_IXOTH = _dpm2.S_IXOTH
class dirent(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, dirent, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, dirent, name)
    __repr__ = _swig_repr
    __swig_setmethods__["d_ino"] = _dpm2.dirent_d_ino_set
    __swig_getmethods__["d_ino"] = _dpm2.dirent_d_ino_get
    if _newclass:
        d_ino = _swig_property(_dpm2.dirent_d_ino_get, _dpm2.dirent_d_ino_set)
    __swig_setmethods__["d_reclen"] = _dpm2.dirent_d_reclen_set
    __swig_getmethods__["d_reclen"] = _dpm2.dirent_d_reclen_get
    if _newclass:
        d_reclen = _swig_property(_dpm2.dirent_d_reclen_get, _dpm2.dirent_d_reclen_set)
    __swig_setmethods__["d_name"] = _dpm2.dirent_d_name_set
    __swig_getmethods__["d_name"] = _dpm2.dirent_d_name_get
    if _newclass:
        d_name = _swig_property(_dpm2.dirent_d_name_get, _dpm2.dirent_d_name_set)

    def __init__(self):
        this = _dpm2.new_dirent()
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this
    __swig_destroy__ = _dpm2.delete_dirent
    __del__ = lambda self: None
dirent_swigregister = _dpm2.dirent_swigregister
dirent_swigregister(dirent)

class utimbuf(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, utimbuf, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, utimbuf, name)
    __repr__ = _swig_repr
    __swig_setmethods__["actime"] = _dpm2.utimbuf_actime_set
    __swig_getmethods__["actime"] = _dpm2.utimbuf_actime_get
    if _newclass:
        actime = _swig_property(_dpm2.utimbuf_actime_get, _dpm2.utimbuf_actime_set)
    __swig_setmethods__["modtime"] = _dpm2.utimbuf_modtime_set
    __swig_getmethods__["modtime"] = _dpm2.utimbuf_modtime_get
    if _newclass:
        modtime = _swig_property(_dpm2.utimbuf_modtime_get, _dpm2.utimbuf_modtime_set)

    def __init__(self):
        this = _dpm2.new_utimbuf()
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this
    __swig_destroy__ = _dpm2.delete_utimbuf
    __del__ = lambda self: None
utimbuf_swigregister = _dpm2.utimbuf_swigregister
utimbuf_swigregister(utimbuf)


def C__dpm_errno():
    return _dpm2.C__dpm_errno()
C__dpm_errno = _dpm2.C__dpm_errno
class dpm_api_thread_info(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, dpm_api_thread_info, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, dpm_api_thread_info, name)
    __repr__ = _swig_repr
    __swig_setmethods__["errbufp"] = _dpm2.dpm_api_thread_info_errbufp_set
    __swig_getmethods__["errbufp"] = _dpm2.dpm_api_thread_info_errbufp_get
    if _newclass:
        errbufp = _swig_property(_dpm2.dpm_api_thread_info_errbufp_get, _dpm2.dpm_api_thread_info_errbufp_set)
    __swig_setmethods__["errbuflen"] = _dpm2.dpm_api_thread_info_errbuflen_set
    __swig_getmethods__["errbuflen"] = _dpm2.dpm_api_thread_info_errbuflen_get
    if _newclass:
        errbuflen = _swig_property(_dpm2.dpm_api_thread_info_errbuflen_get, _dpm2.dpm_api_thread_info_errbuflen_set)
    __swig_setmethods__["initialized"] = _dpm2.dpm_api_thread_info_initialized_set
    __swig_getmethods__["initialized"] = _dpm2.dpm_api_thread_info_initialized_get
    if _newclass:
        initialized = _swig_property(_dpm2.dpm_api_thread_info_initialized_get, _dpm2.dpm_api_thread_info_initialized_set)
    __swig_setmethods__["dp_errno"] = _dpm2.dpm_api_thread_info_dp_errno_set
    __swig_getmethods__["dp_errno"] = _dpm2.dpm_api_thread_info_dp_errno_get
    if _newclass:
        dp_errno = _swig_property(_dpm2.dpm_api_thread_info_dp_errno_get, _dpm2.dpm_api_thread_info_dp_errno_set)

    def __init__(self):
        this = _dpm2.new_dpm_api_thread_info()
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this
    __swig_destroy__ = _dpm2.delete_dpm_api_thread_info
    __del__ = lambda self: None
dpm_api_thread_info_swigregister = _dpm2.dpm_api_thread_info_swigregister
dpm_api_thread_info_swigregister(dpm_api_thread_info)

class dpm_copyfilereq(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, dpm_copyfilereq, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, dpm_copyfilereq, name)
    __repr__ = _swig_repr
    __swig_setmethods__["from_surl"] = _dpm2.dpm_copyfilereq_from_surl_set
    __swig_getmethods__["from_surl"] = _dpm2.dpm_copyfilereq_from_surl_get
    if _newclass:
        from_surl = _swig_property(_dpm2.dpm_copyfilereq_from_surl_get, _dpm2.dpm_copyfilereq_from_surl_set)
    __swig_setmethods__["to_surl"] = _dpm2.dpm_copyfilereq_to_surl_set
    __swig_getmethods__["to_surl"] = _dpm2.dpm_copyfilereq_to_surl_get
    if _newclass:
        to_surl = _swig_property(_dpm2.dpm_copyfilereq_to_surl_get, _dpm2.dpm_copyfilereq_to_surl_set)
    __swig_setmethods__["lifetime"] = _dpm2.dpm_copyfilereq_lifetime_set
    __swig_getmethods__["lifetime"] = _dpm2.dpm_copyfilereq_lifetime_get
    if _newclass:
        lifetime = _swig_property(_dpm2.dpm_copyfilereq_lifetime_get, _dpm2.dpm_copyfilereq_lifetime_set)
    __swig_setmethods__["f_type"] = _dpm2.dpm_copyfilereq_f_type_set
    __swig_getmethods__["f_type"] = _dpm2.dpm_copyfilereq_f_type_get
    if _newclass:
        f_type = _swig_property(_dpm2.dpm_copyfilereq_f_type_get, _dpm2.dpm_copyfilereq_f_type_set)
    __swig_setmethods__["s_token"] = _dpm2.dpm_copyfilereq_s_token_set
    __swig_getmethods__["s_token"] = _dpm2.dpm_copyfilereq_s_token_get
    if _newclass:
        s_token = _swig_property(_dpm2.dpm_copyfilereq_s_token_get, _dpm2.dpm_copyfilereq_s_token_set)
    __swig_setmethods__["ret_policy"] = _dpm2.dpm_copyfilereq_ret_policy_set
    __swig_getmethods__["ret_policy"] = _dpm2.dpm_copyfilereq_ret_policy_get
    if _newclass:
        ret_policy = _swig_property(_dpm2.dpm_copyfilereq_ret_policy_get, _dpm2.dpm_copyfilereq_ret_policy_set)
    __swig_setmethods__["ac_latency"] = _dpm2.dpm_copyfilereq_ac_latency_set
    __swig_getmethods__["ac_latency"] = _dpm2.dpm_copyfilereq_ac_latency_get
    if _newclass:
        ac_latency = _swig_property(_dpm2.dpm_copyfilereq_ac_latency_get, _dpm2.dpm_copyfilereq_ac_latency_set)
    __swig_setmethods__["flags"] = _dpm2.dpm_copyfilereq_flags_set
    __swig_getmethods__["flags"] = _dpm2.dpm_copyfilereq_flags_get
    if _newclass:
        flags = _swig_property(_dpm2.dpm_copyfilereq_flags_get, _dpm2.dpm_copyfilereq_flags_set)

    def __init__(self):
        this = _dpm2.new_dpm_copyfilereq()
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this
    __swig_destroy__ = _dpm2.delete_dpm_copyfilereq
    __del__ = lambda self: None
dpm_copyfilereq_swigregister = _dpm2.dpm_copyfilereq_swigregister
dpm_copyfilereq_swigregister(dpm_copyfilereq)

class dpm_copyfilestatus(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, dpm_copyfilestatus, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, dpm_copyfilestatus, name)
    __repr__ = _swig_repr
    __swig_setmethods__["from_surl"] = _dpm2.dpm_copyfilestatus_from_surl_set
    __swig_getmethods__["from_surl"] = _dpm2.dpm_copyfilestatus_from_surl_get
    if _newclass:
        from_surl = _swig_property(_dpm2.dpm_copyfilestatus_from_surl_get, _dpm2.dpm_copyfilestatus_from_surl_set)
    __swig_setmethods__["to_surl"] = _dpm2.dpm_copyfilestatus_to_surl_set
    __swig_getmethods__["to_surl"] = _dpm2.dpm_copyfilestatus_to_surl_get
    if _newclass:
        to_surl = _swig_property(_dpm2.dpm_copyfilestatus_to_surl_get, _dpm2.dpm_copyfilestatus_to_surl_set)
    __swig_setmethods__["filesize"] = _dpm2.dpm_copyfilestatus_filesize_set
    __swig_getmethods__["filesize"] = _dpm2.dpm_copyfilestatus_filesize_get
    if _newclass:
        filesize = _swig_property(_dpm2.dpm_copyfilestatus_filesize_get, _dpm2.dpm_copyfilestatus_filesize_set)
    __swig_setmethods__["status"] = _dpm2.dpm_copyfilestatus_status_set
    __swig_getmethods__["status"] = _dpm2.dpm_copyfilestatus_status_get
    if _newclass:
        status = _swig_property(_dpm2.dpm_copyfilestatus_status_get, _dpm2.dpm_copyfilestatus_status_set)
    __swig_setmethods__["errstring"] = _dpm2.dpm_copyfilestatus_errstring_set
    __swig_getmethods__["errstring"] = _dpm2.dpm_copyfilestatus_errstring_get
    if _newclass:
        errstring = _swig_property(_dpm2.dpm_copyfilestatus_errstring_get, _dpm2.dpm_copyfilestatus_errstring_set)
    __swig_setmethods__["f_lifetime"] = _dpm2.dpm_copyfilestatus_f_lifetime_set
    __swig_getmethods__["f_lifetime"] = _dpm2.dpm_copyfilestatus_f_lifetime_get
    if _newclass:
        f_lifetime = _swig_property(_dpm2.dpm_copyfilestatus_f_lifetime_get, _dpm2.dpm_copyfilestatus_f_lifetime_set)

    def __init__(self):
        this = _dpm2.new_dpm_copyfilestatus()
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this
    __swig_destroy__ = _dpm2.delete_dpm_copyfilestatus
    __del__ = lambda self: None
dpm_copyfilestatus_swigregister = _dpm2.dpm_copyfilestatus_swigregister
dpm_copyfilestatus_swigregister(dpm_copyfilestatus)

class dpm_filestatus(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, dpm_filestatus, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, dpm_filestatus, name)
    __repr__ = _swig_repr
    __swig_setmethods__["surl"] = _dpm2.dpm_filestatus_surl_set
    __swig_getmethods__["surl"] = _dpm2.dpm_filestatus_surl_get
    if _newclass:
        surl = _swig_property(_dpm2.dpm_filestatus_surl_get, _dpm2.dpm_filestatus_surl_set)
    __swig_setmethods__["status"] = _dpm2.dpm_filestatus_status_set
    __swig_getmethods__["status"] = _dpm2.dpm_filestatus_status_get
    if _newclass:
        status = _swig_property(_dpm2.dpm_filestatus_status_get, _dpm2.dpm_filestatus_status_set)
    __swig_setmethods__["errstring"] = _dpm2.dpm_filestatus_errstring_set
    __swig_getmethods__["errstring"] = _dpm2.dpm_filestatus_errstring_get
    if _newclass:
        errstring = _swig_property(_dpm2.dpm_filestatus_errstring_get, _dpm2.dpm_filestatus_errstring_set)

    def __init__(self):
        this = _dpm2.new_dpm_filestatus()
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this
    __swig_destroy__ = _dpm2.delete_dpm_filestatus
    __del__ = lambda self: None
dpm_filestatus_swigregister = _dpm2.dpm_filestatus_swigregister
dpm_filestatus_swigregister(dpm_filestatus)

class dpm_getfilereq(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, dpm_getfilereq, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, dpm_getfilereq, name)
    __repr__ = _swig_repr
    __swig_setmethods__["from_surl"] = _dpm2.dpm_getfilereq_from_surl_set
    __swig_getmethods__["from_surl"] = _dpm2.dpm_getfilereq_from_surl_get
    if _newclass:
        from_surl = _swig_property(_dpm2.dpm_getfilereq_from_surl_get, _dpm2.dpm_getfilereq_from_surl_set)
    __swig_setmethods__["lifetime"] = _dpm2.dpm_getfilereq_lifetime_set
    __swig_getmethods__["lifetime"] = _dpm2.dpm_getfilereq_lifetime_get
    if _newclass:
        lifetime = _swig_property(_dpm2.dpm_getfilereq_lifetime_get, _dpm2.dpm_getfilereq_lifetime_set)
    __swig_setmethods__["f_type"] = _dpm2.dpm_getfilereq_f_type_set
    __swig_getmethods__["f_type"] = _dpm2.dpm_getfilereq_f_type_get
    if _newclass:
        f_type = _swig_property(_dpm2.dpm_getfilereq_f_type_get, _dpm2.dpm_getfilereq_f_type_set)
    __swig_setmethods__["s_token"] = _dpm2.dpm_getfilereq_s_token_set
    __swig_getmethods__["s_token"] = _dpm2.dpm_getfilereq_s_token_get
    if _newclass:
        s_token = _swig_property(_dpm2.dpm_getfilereq_s_token_get, _dpm2.dpm_getfilereq_s_token_set)
    __swig_setmethods__["ret_policy"] = _dpm2.dpm_getfilereq_ret_policy_set
    __swig_getmethods__["ret_policy"] = _dpm2.dpm_getfilereq_ret_policy_get
    if _newclass:
        ret_policy = _swig_property(_dpm2.dpm_getfilereq_ret_policy_get, _dpm2.dpm_getfilereq_ret_policy_set)
    __swig_setmethods__["flags"] = _dpm2.dpm_getfilereq_flags_set
    __swig_getmethods__["flags"] = _dpm2.dpm_getfilereq_flags_get
    if _newclass:
        flags = _swig_property(_dpm2.dpm_getfilereq_flags_get, _dpm2.dpm_getfilereq_flags_set)

    def __init__(self):
        this = _dpm2.new_dpm_getfilereq()
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this
    __swig_destroy__ = _dpm2.delete_dpm_getfilereq
    __del__ = lambda self: None
dpm_getfilereq_swigregister = _dpm2.dpm_getfilereq_swigregister
dpm_getfilereq_swigregister(dpm_getfilereq)

class dpm_getfilestatus(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, dpm_getfilestatus, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, dpm_getfilestatus, name)
    __repr__ = _swig_repr
    __swig_setmethods__["from_surl"] = _dpm2.dpm_getfilestatus_from_surl_set
    __swig_getmethods__["from_surl"] = _dpm2.dpm_getfilestatus_from_surl_get
    if _newclass:
        from_surl = _swig_property(_dpm2.dpm_getfilestatus_from_surl_get, _dpm2.dpm_getfilestatus_from_surl_set)
    __swig_setmethods__["turl"] = _dpm2.dpm_getfilestatus_turl_set
    __swig_getmethods__["turl"] = _dpm2.dpm_getfilestatus_turl_get
    if _newclass:
        turl = _swig_property(_dpm2.dpm_getfilestatus_turl_get, _dpm2.dpm_getfilestatus_turl_set)
    __swig_setmethods__["filesize"] = _dpm2.dpm_getfilestatus_filesize_set
    __swig_getmethods__["filesize"] = _dpm2.dpm_getfilestatus_filesize_get
    if _newclass:
        filesize = _swig_property(_dpm2.dpm_getfilestatus_filesize_get, _dpm2.dpm_getfilestatus_filesize_set)
    __swig_setmethods__["status"] = _dpm2.dpm_getfilestatus_status_set
    __swig_getmethods__["status"] = _dpm2.dpm_getfilestatus_status_get
    if _newclass:
        status = _swig_property(_dpm2.dpm_getfilestatus_status_get, _dpm2.dpm_getfilestatus_status_set)
    __swig_setmethods__["errstring"] = _dpm2.dpm_getfilestatus_errstring_set
    __swig_getmethods__["errstring"] = _dpm2.dpm_getfilestatus_errstring_get
    if _newclass:
        errstring = _swig_property(_dpm2.dpm_getfilestatus_errstring_get, _dpm2.dpm_getfilestatus_errstring_set)
    __swig_setmethods__["pintime"] = _dpm2.dpm_getfilestatus_pintime_set
    __swig_getmethods__["pintime"] = _dpm2.dpm_getfilestatus_pintime_get
    if _newclass:
        pintime = _swig_property(_dpm2.dpm_getfilestatus_pintime_get, _dpm2.dpm_getfilestatus_pintime_set)

    def __init__(self):
        this = _dpm2.new_dpm_getfilestatus()
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this
    __swig_destroy__ = _dpm2.delete_dpm_getfilestatus
    __del__ = lambda self: None
dpm_getfilestatus_swigregister = _dpm2.dpm_getfilestatus_swigregister
dpm_getfilestatus_swigregister(dpm_getfilestatus)

class dpm_putfilereq(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, dpm_putfilereq, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, dpm_putfilereq, name)
    __repr__ = _swig_repr
    __swig_setmethods__["to_surl"] = _dpm2.dpm_putfilereq_to_surl_set
    __swig_getmethods__["to_surl"] = _dpm2.dpm_putfilereq_to_surl_get
    if _newclass:
        to_surl = _swig_property(_dpm2.dpm_putfilereq_to_surl_get, _dpm2.dpm_putfilereq_to_surl_set)
    __swig_setmethods__["lifetime"] = _dpm2.dpm_putfilereq_lifetime_set
    __swig_getmethods__["lifetime"] = _dpm2.dpm_putfilereq_lifetime_get
    if _newclass:
        lifetime = _swig_property(_dpm2.dpm_putfilereq_lifetime_get, _dpm2.dpm_putfilereq_lifetime_set)
    __swig_setmethods__["f_lifetime"] = _dpm2.dpm_putfilereq_f_lifetime_set
    __swig_getmethods__["f_lifetime"] = _dpm2.dpm_putfilereq_f_lifetime_get
    if _newclass:
        f_lifetime = _swig_property(_dpm2.dpm_putfilereq_f_lifetime_get, _dpm2.dpm_putfilereq_f_lifetime_set)
    __swig_setmethods__["f_type"] = _dpm2.dpm_putfilereq_f_type_set
    __swig_getmethods__["f_type"] = _dpm2.dpm_putfilereq_f_type_get
    if _newclass:
        f_type = _swig_property(_dpm2.dpm_putfilereq_f_type_get, _dpm2.dpm_putfilereq_f_type_set)
    __swig_setmethods__["s_token"] = _dpm2.dpm_putfilereq_s_token_set
    __swig_getmethods__["s_token"] = _dpm2.dpm_putfilereq_s_token_get
    if _newclass:
        s_token = _swig_property(_dpm2.dpm_putfilereq_s_token_get, _dpm2.dpm_putfilereq_s_token_set)
    __swig_setmethods__["ret_policy"] = _dpm2.dpm_putfilereq_ret_policy_set
    __swig_getmethods__["ret_policy"] = _dpm2.dpm_putfilereq_ret_policy_get
    if _newclass:
        ret_policy = _swig_property(_dpm2.dpm_putfilereq_ret_policy_get, _dpm2.dpm_putfilereq_ret_policy_set)
    __swig_setmethods__["ac_latency"] = _dpm2.dpm_putfilereq_ac_latency_set
    __swig_getmethods__["ac_latency"] = _dpm2.dpm_putfilereq_ac_latency_get
    if _newclass:
        ac_latency = _swig_property(_dpm2.dpm_putfilereq_ac_latency_get, _dpm2.dpm_putfilereq_ac_latency_set)
    __swig_setmethods__["requested_size"] = _dpm2.dpm_putfilereq_requested_size_set
    __swig_getmethods__["requested_size"] = _dpm2.dpm_putfilereq_requested_size_get
    if _newclass:
        requested_size = _swig_property(_dpm2.dpm_putfilereq_requested_size_get, _dpm2.dpm_putfilereq_requested_size_set)

    def __init__(self):
        this = _dpm2.new_dpm_putfilereq()
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this
    __swig_destroy__ = _dpm2.delete_dpm_putfilereq
    __del__ = lambda self: None
dpm_putfilereq_swigregister = _dpm2.dpm_putfilereq_swigregister
dpm_putfilereq_swigregister(dpm_putfilereq)

class dpm_putfilereqx(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, dpm_putfilereqx, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, dpm_putfilereqx, name)
    __repr__ = _swig_repr
    __swig_setmethods__["to_surl"] = _dpm2.dpm_putfilereqx_to_surl_set
    __swig_getmethods__["to_surl"] = _dpm2.dpm_putfilereqx_to_surl_get
    if _newclass:
        to_surl = _swig_property(_dpm2.dpm_putfilereqx_to_surl_get, _dpm2.dpm_putfilereqx_to_surl_set)
    __swig_setmethods__["lifetime"] = _dpm2.dpm_putfilereqx_lifetime_set
    __swig_getmethods__["lifetime"] = _dpm2.dpm_putfilereqx_lifetime_get
    if _newclass:
        lifetime = _swig_property(_dpm2.dpm_putfilereqx_lifetime_get, _dpm2.dpm_putfilereqx_lifetime_set)
    __swig_setmethods__["f_lifetime"] = _dpm2.dpm_putfilereqx_f_lifetime_set
    __swig_getmethods__["f_lifetime"] = _dpm2.dpm_putfilereqx_f_lifetime_get
    if _newclass:
        f_lifetime = _swig_property(_dpm2.dpm_putfilereqx_f_lifetime_get, _dpm2.dpm_putfilereqx_f_lifetime_set)
    __swig_setmethods__["f_type"] = _dpm2.dpm_putfilereqx_f_type_set
    __swig_getmethods__["f_type"] = _dpm2.dpm_putfilereqx_f_type_get
    if _newclass:
        f_type = _swig_property(_dpm2.dpm_putfilereqx_f_type_get, _dpm2.dpm_putfilereqx_f_type_set)
    __swig_setmethods__["s_token"] = _dpm2.dpm_putfilereqx_s_token_set
    __swig_getmethods__["s_token"] = _dpm2.dpm_putfilereqx_s_token_get
    if _newclass:
        s_token = _swig_property(_dpm2.dpm_putfilereqx_s_token_get, _dpm2.dpm_putfilereqx_s_token_set)
    __swig_setmethods__["ret_policy"] = _dpm2.dpm_putfilereqx_ret_policy_set
    __swig_getmethods__["ret_policy"] = _dpm2.dpm_putfilereqx_ret_policy_get
    if _newclass:
        ret_policy = _swig_property(_dpm2.dpm_putfilereqx_ret_policy_get, _dpm2.dpm_putfilereqx_ret_policy_set)
    __swig_setmethods__["ac_latency"] = _dpm2.dpm_putfilereqx_ac_latency_set
    __swig_getmethods__["ac_latency"] = _dpm2.dpm_putfilereqx_ac_latency_get
    if _newclass:
        ac_latency = _swig_property(_dpm2.dpm_putfilereqx_ac_latency_get, _dpm2.dpm_putfilereqx_ac_latency_set)
    __swig_setmethods__["requested_size"] = _dpm2.dpm_putfilereqx_requested_size_set
    __swig_getmethods__["requested_size"] = _dpm2.dpm_putfilereqx_requested_size_get
    if _newclass:
        requested_size = _swig_property(_dpm2.dpm_putfilereqx_requested_size_get, _dpm2.dpm_putfilereqx_requested_size_set)
    __swig_setmethods__["reserved"] = _dpm2.dpm_putfilereqx_reserved_set
    __swig_getmethods__["reserved"] = _dpm2.dpm_putfilereqx_reserved_get
    if _newclass:
        reserved = _swig_property(_dpm2.dpm_putfilereqx_reserved_get, _dpm2.dpm_putfilereqx_reserved_set)
    __swig_setmethods__["server"] = _dpm2.dpm_putfilereqx_server_set
    __swig_getmethods__["server"] = _dpm2.dpm_putfilereqx_server_get
    if _newclass:
        server = _swig_property(_dpm2.dpm_putfilereqx_server_get, _dpm2.dpm_putfilereqx_server_set)
    __swig_setmethods__["pfnhint"] = _dpm2.dpm_putfilereqx_pfnhint_set
    __swig_getmethods__["pfnhint"] = _dpm2.dpm_putfilereqx_pfnhint_get
    if _newclass:
        pfnhint = _swig_property(_dpm2.dpm_putfilereqx_pfnhint_get, _dpm2.dpm_putfilereqx_pfnhint_set)

    def __init__(self):
        this = _dpm2.new_dpm_putfilereqx()
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this
    __swig_destroy__ = _dpm2.delete_dpm_putfilereqx
    __del__ = lambda self: None
dpm_putfilereqx_swigregister = _dpm2.dpm_putfilereqx_swigregister
dpm_putfilereqx_swigregister(dpm_putfilereqx)

class dpm_putfilestatus(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, dpm_putfilestatus, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, dpm_putfilestatus, name)
    __repr__ = _swig_repr
    __swig_setmethods__["to_surl"] = _dpm2.dpm_putfilestatus_to_surl_set
    __swig_getmethods__["to_surl"] = _dpm2.dpm_putfilestatus_to_surl_get
    if _newclass:
        to_surl = _swig_property(_dpm2.dpm_putfilestatus_to_surl_get, _dpm2.dpm_putfilestatus_to_surl_set)
    __swig_setmethods__["turl"] = _dpm2.dpm_putfilestatus_turl_set
    __swig_getmethods__["turl"] = _dpm2.dpm_putfilestatus_turl_get
    if _newclass:
        turl = _swig_property(_dpm2.dpm_putfilestatus_turl_get, _dpm2.dpm_putfilestatus_turl_set)
    __swig_setmethods__["filesize"] = _dpm2.dpm_putfilestatus_filesize_set
    __swig_getmethods__["filesize"] = _dpm2.dpm_putfilestatus_filesize_get
    if _newclass:
        filesize = _swig_property(_dpm2.dpm_putfilestatus_filesize_get, _dpm2.dpm_putfilestatus_filesize_set)
    __swig_setmethods__["status"] = _dpm2.dpm_putfilestatus_status_set
    __swig_getmethods__["status"] = _dpm2.dpm_putfilestatus_status_get
    if _newclass:
        status = _swig_property(_dpm2.dpm_putfilestatus_status_get, _dpm2.dpm_putfilestatus_status_set)
    __swig_setmethods__["errstring"] = _dpm2.dpm_putfilestatus_errstring_set
    __swig_getmethods__["errstring"] = _dpm2.dpm_putfilestatus_errstring_get
    if _newclass:
        errstring = _swig_property(_dpm2.dpm_putfilestatus_errstring_get, _dpm2.dpm_putfilestatus_errstring_set)
    __swig_setmethods__["pintime"] = _dpm2.dpm_putfilestatus_pintime_set
    __swig_getmethods__["pintime"] = _dpm2.dpm_putfilestatus_pintime_get
    if _newclass:
        pintime = _swig_property(_dpm2.dpm_putfilestatus_pintime_get, _dpm2.dpm_putfilestatus_pintime_set)
    __swig_setmethods__["f_lifetime"] = _dpm2.dpm_putfilestatus_f_lifetime_set
    __swig_getmethods__["f_lifetime"] = _dpm2.dpm_putfilestatus_f_lifetime_get
    if _newclass:
        f_lifetime = _swig_property(_dpm2.dpm_putfilestatus_f_lifetime_get, _dpm2.dpm_putfilestatus_f_lifetime_set)

    def __init__(self):
        this = _dpm2.new_dpm_putfilestatus()
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this
    __swig_destroy__ = _dpm2.delete_dpm_putfilestatus
    __del__ = lambda self: None
dpm_putfilestatus_swigregister = _dpm2.dpm_putfilestatus_swigregister
dpm_putfilestatus_swigregister(dpm_putfilestatus)

class dpm_reqsummary(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, dpm_reqsummary, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, dpm_reqsummary, name)
    __repr__ = _swig_repr
    __swig_setmethods__["r_token"] = _dpm2.dpm_reqsummary_r_token_set
    __swig_getmethods__["r_token"] = _dpm2.dpm_reqsummary_r_token_get
    if _newclass:
        r_token = _swig_property(_dpm2.dpm_reqsummary_r_token_get, _dpm2.dpm_reqsummary_r_token_set)
    __swig_setmethods__["r_type"] = _dpm2.dpm_reqsummary_r_type_set
    __swig_getmethods__["r_type"] = _dpm2.dpm_reqsummary_r_type_get
    if _newclass:
        r_type = _swig_property(_dpm2.dpm_reqsummary_r_type_get, _dpm2.dpm_reqsummary_r_type_set)
    __swig_setmethods__["nb_reqfiles"] = _dpm2.dpm_reqsummary_nb_reqfiles_set
    __swig_getmethods__["nb_reqfiles"] = _dpm2.dpm_reqsummary_nb_reqfiles_get
    if _newclass:
        nb_reqfiles = _swig_property(_dpm2.dpm_reqsummary_nb_reqfiles_get, _dpm2.dpm_reqsummary_nb_reqfiles_set)
    __swig_setmethods__["nb_queued"] = _dpm2.dpm_reqsummary_nb_queued_set
    __swig_getmethods__["nb_queued"] = _dpm2.dpm_reqsummary_nb_queued_get
    if _newclass:
        nb_queued = _swig_property(_dpm2.dpm_reqsummary_nb_queued_get, _dpm2.dpm_reqsummary_nb_queued_set)
    __swig_setmethods__["nb_finished"] = _dpm2.dpm_reqsummary_nb_finished_set
    __swig_getmethods__["nb_finished"] = _dpm2.dpm_reqsummary_nb_finished_get
    if _newclass:
        nb_finished = _swig_property(_dpm2.dpm_reqsummary_nb_finished_get, _dpm2.dpm_reqsummary_nb_finished_set)
    __swig_setmethods__["nb_progress"] = _dpm2.dpm_reqsummary_nb_progress_set
    __swig_getmethods__["nb_progress"] = _dpm2.dpm_reqsummary_nb_progress_get
    if _newclass:
        nb_progress = _swig_property(_dpm2.dpm_reqsummary_nb_progress_get, _dpm2.dpm_reqsummary_nb_progress_set)

    def __init__(self):
        this = _dpm2.new_dpm_reqsummary()
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this
    __swig_destroy__ = _dpm2.delete_dpm_reqsummary
    __del__ = lambda self: None
dpm_reqsummary_swigregister = _dpm2.dpm_reqsummary_swigregister
dpm_reqsummary_swigregister(dpm_reqsummary)

class dpm_space_metadata(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, dpm_space_metadata, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, dpm_space_metadata, name)
    __repr__ = _swig_repr
    __swig_setmethods__["s_type"] = _dpm2.dpm_space_metadata_s_type_set
    __swig_getmethods__["s_type"] = _dpm2.dpm_space_metadata_s_type_get
    if _newclass:
        s_type = _swig_property(_dpm2.dpm_space_metadata_s_type_get, _dpm2.dpm_space_metadata_s_type_set)
    __swig_setmethods__["s_token"] = _dpm2.dpm_space_metadata_s_token_set
    __swig_getmethods__["s_token"] = _dpm2.dpm_space_metadata_s_token_get
    if _newclass:
        s_token = _swig_property(_dpm2.dpm_space_metadata_s_token_get, _dpm2.dpm_space_metadata_s_token_set)
    __swig_setmethods__["s_uid"] = _dpm2.dpm_space_metadata_s_uid_set
    __swig_getmethods__["s_uid"] = _dpm2.dpm_space_metadata_s_uid_get
    if _newclass:
        s_uid = _swig_property(_dpm2.dpm_space_metadata_s_uid_get, _dpm2.dpm_space_metadata_s_uid_set)
    __swig_setmethods__["s_gid"] = _dpm2.dpm_space_metadata_s_gid_set
    __swig_getmethods__["s_gid"] = _dpm2.dpm_space_metadata_s_gid_get
    if _newclass:
        s_gid = _swig_property(_dpm2.dpm_space_metadata_s_gid_get, _dpm2.dpm_space_metadata_s_gid_set)
    __swig_setmethods__["ret_policy"] = _dpm2.dpm_space_metadata_ret_policy_set
    __swig_getmethods__["ret_policy"] = _dpm2.dpm_space_metadata_ret_policy_get
    if _newclass:
        ret_policy = _swig_property(_dpm2.dpm_space_metadata_ret_policy_get, _dpm2.dpm_space_metadata_ret_policy_set)
    __swig_setmethods__["ac_latency"] = _dpm2.dpm_space_metadata_ac_latency_set
    __swig_getmethods__["ac_latency"] = _dpm2.dpm_space_metadata_ac_latency_get
    if _newclass:
        ac_latency = _swig_property(_dpm2.dpm_space_metadata_ac_latency_get, _dpm2.dpm_space_metadata_ac_latency_set)
    __swig_setmethods__["u_token"] = _dpm2.dpm_space_metadata_u_token_set
    __swig_getmethods__["u_token"] = _dpm2.dpm_space_metadata_u_token_get
    if _newclass:
        u_token = _swig_property(_dpm2.dpm_space_metadata_u_token_get, _dpm2.dpm_space_metadata_u_token_set)
    __swig_setmethods__["client_dn"] = _dpm2.dpm_space_metadata_client_dn_set
    __swig_getmethods__["client_dn"] = _dpm2.dpm_space_metadata_client_dn_get
    if _newclass:
        client_dn = _swig_property(_dpm2.dpm_space_metadata_client_dn_get, _dpm2.dpm_space_metadata_client_dn_set)
    __swig_setmethods__["t_space"] = _dpm2.dpm_space_metadata_t_space_set
    __swig_getmethods__["t_space"] = _dpm2.dpm_space_metadata_t_space_get
    if _newclass:
        t_space = _swig_property(_dpm2.dpm_space_metadata_t_space_get, _dpm2.dpm_space_metadata_t_space_set)
    __swig_setmethods__["g_space"] = _dpm2.dpm_space_metadata_g_space_set
    __swig_getmethods__["g_space"] = _dpm2.dpm_space_metadata_g_space_get
    if _newclass:
        g_space = _swig_property(_dpm2.dpm_space_metadata_g_space_get, _dpm2.dpm_space_metadata_g_space_set)
    __swig_setmethods__["u_space"] = _dpm2.dpm_space_metadata_u_space_set
    __swig_getmethods__["u_space"] = _dpm2.dpm_space_metadata_u_space_get
    if _newclass:
        u_space = _swig_property(_dpm2.dpm_space_metadata_u_space_get, _dpm2.dpm_space_metadata_u_space_set)
    __swig_setmethods__["poolname"] = _dpm2.dpm_space_metadata_poolname_set
    __swig_getmethods__["poolname"] = _dpm2.dpm_space_metadata_poolname_get
    if _newclass:
        poolname = _swig_property(_dpm2.dpm_space_metadata_poolname_get, _dpm2.dpm_space_metadata_poolname_set)
    __swig_setmethods__["a_lifetime"] = _dpm2.dpm_space_metadata_a_lifetime_set
    __swig_getmethods__["a_lifetime"] = _dpm2.dpm_space_metadata_a_lifetime_get
    if _newclass:
        a_lifetime = _swig_property(_dpm2.dpm_space_metadata_a_lifetime_get, _dpm2.dpm_space_metadata_a_lifetime_set)
    __swig_setmethods__["r_lifetime"] = _dpm2.dpm_space_metadata_r_lifetime_set
    __swig_getmethods__["r_lifetime"] = _dpm2.dpm_space_metadata_r_lifetime_get
    if _newclass:
        r_lifetime = _swig_property(_dpm2.dpm_space_metadata_r_lifetime_get, _dpm2.dpm_space_metadata_r_lifetime_set)
    __swig_setmethods__["nbgids"] = _dpm2.dpm_space_metadata_nbgids_set
    __swig_getmethods__["nbgids"] = _dpm2.dpm_space_metadata_nbgids_get
    if _newclass:
        nbgids = _swig_property(_dpm2.dpm_space_metadata_nbgids_get, _dpm2.dpm_space_metadata_nbgids_set)
    __swig_setmethods__["gids"] = _dpm2.dpm_space_metadata_gids_set
    __swig_getmethods__["gids"] = _dpm2.dpm_space_metadata_gids_get
    if _newclass:
        gids = _swig_property(_dpm2.dpm_space_metadata_gids_get, _dpm2.dpm_space_metadata_gids_set)

    def __init__(self):
        this = _dpm2.new_dpm_space_metadata()
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this
    __swig_destroy__ = _dpm2.delete_dpm_space_metadata
    __del__ = lambda self: None
dpm_space_metadata_swigregister = _dpm2.dpm_space_metadata_swigregister
dpm_space_metadata_swigregister(dpm_space_metadata)

class dpm_tokeninfo(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, dpm_tokeninfo, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, dpm_tokeninfo, name)
    __repr__ = _swig_repr
    __swig_setmethods__["r_token"] = _dpm2.dpm_tokeninfo_r_token_set
    __swig_getmethods__["r_token"] = _dpm2.dpm_tokeninfo_r_token_get
    if _newclass:
        r_token = _swig_property(_dpm2.dpm_tokeninfo_r_token_get, _dpm2.dpm_tokeninfo_r_token_set)
    __swig_setmethods__["c_time"] = _dpm2.dpm_tokeninfo_c_time_set
    __swig_getmethods__["c_time"] = _dpm2.dpm_tokeninfo_c_time_get
    if _newclass:
        c_time = _swig_property(_dpm2.dpm_tokeninfo_c_time_get, _dpm2.dpm_tokeninfo_c_time_set)

    def __init__(self):
        this = _dpm2.new_dpm_tokeninfo()
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this
    __swig_destroy__ = _dpm2.delete_dpm_tokeninfo
    __del__ = lambda self: None
dpm_tokeninfo_swigregister = _dpm2.dpm_tokeninfo_swigregister
dpm_tokeninfo_swigregister(dpm_tokeninfo)

DPM_PORT = _dpm2.DPM_PORT
DEFAULT_LIFETIME = _dpm2.DEFAULT_LIFETIME
DEFAULT_PINTIME = _dpm2.DEFAULT_PINTIME
DEFAULT_SPACE_TYPE = _dpm2.DEFAULT_SPACE_TYPE
DEFAULT_WEIGHT = _dpm2.DEFAULT_WEIGHT
DEFAULT_FSS_POLICY = _dpm2.DEFAULT_FSS_POLICY
DEFAULT_GC_POLICY = _dpm2.DEFAULT_GC_POLICY
DEFAULT_MIG_POLICY = _dpm2.DEFAULT_MIG_POLICY
DEFAULT_RS_POLICY = _dpm2.DEFAULT_RS_POLICY
MAX_LIFETIME = _dpm2.MAX_LIFETIME
MAX_PINTIME = _dpm2.MAX_PINTIME
FS_DISABLED = _dpm2.FS_DISABLED
FS_RDONLY = _dpm2.FS_RDONLY
DPM_SUCCESS = _dpm2.DPM_SUCCESS
DPM_QUEUED = _dpm2.DPM_QUEUED
DPM_ACTIVE = _dpm2.DPM_ACTIVE
DPM_READY = _dpm2.DPM_READY
DPM_RUNNING = _dpm2.DPM_RUNNING
DPM_DONE = _dpm2.DPM_DONE
DPM_FAILED = _dpm2.DPM_FAILED
DPM_ABORTED = _dpm2.DPM_ABORTED
DPM_EXPIRED = _dpm2.DPM_EXPIRED
DPM_RELEASED = _dpm2.DPM_RELEASED
DPM_TO_BE_MIGRATED = _dpm2.DPM_TO_BE_MIGRATED
DPM_TO_BE_RECALLED = _dpm2.DPM_TO_BE_RECALLED
DPM_DICOM_RECALL = _dpm2.DPM_DICOM_RECALL
DPM_QUEUED4COPY = _dpm2.DPM_QUEUED4COPY
OPT_FS = _dpm2.OPT_FS
OPT_FS_SERVER = _dpm2.OPT_FS_SERVER
OPT_GC_POLICY = _dpm2.OPT_GC_POLICY
OPT_POOL_GID = _dpm2.OPT_POOL_GID
OPT_POOL_GROUP = _dpm2.OPT_POOL_GROUP
OPT_POOL_NAME = _dpm2.OPT_POOL_NAME
OPT_FSS_POLICY = _dpm2.OPT_FSS_POLICY
OPT_RS_POLICY = _dpm2.OPT_RS_POLICY
OPT_S_TYPE = _dpm2.OPT_S_TYPE
OPT_STATUS = _dpm2.OPT_STATUS
OPT_DEF_PTIME = _dpm2.OPT_DEF_PTIME
OPT_PUT_RETENP = _dpm2.OPT_PUT_RETENP
OPT_GC_START = _dpm2.OPT_GC_START
OPT_GC_STOP = _dpm2.OPT_GC_STOP
OPT_MIG_POLICY = _dpm2.OPT_MIG_POLICY
OPT_RET_POLICY = _dpm2.OPT_RET_POLICY
OPT_AC_LATENCY = _dpm2.OPT_AC_LATENCY
OPT_GSPACE_SZ = _dpm2.OPT_GSPACE_SZ
OPT_LIFETIME = _dpm2.OPT_LIFETIME
OPT_U_DESC = _dpm2.OPT_U_DESC
OPT_DEF_LTIME = _dpm2.OPT_DEF_LTIME
OPT_MAX_LTIME = _dpm2.OPT_MAX_LTIME
OPT_MAX_PTIME = _dpm2.OPT_MAX_PTIME
OPT_S_TOKEN = _dpm2.OPT_S_TOKEN
OPT_DEF_FSZ = _dpm2.OPT_DEF_FSZ
OPT_DRAIN_SZ = _dpm2.OPT_DRAIN_SZ
OPT_F_TYPE = _dpm2.OPT_F_TYPE
OPT_NBTHREADS = _dpm2.OPT_NBTHREADS
OPT_WEIGHT = _dpm2.OPT_WEIGHT
class dpm_pool(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, dpm_pool, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, dpm_pool, name)
    __repr__ = _swig_repr
    __swig_setmethods__["poolname"] = _dpm2.dpm_pool_poolname_set
    __swig_getmethods__["poolname"] = _dpm2.dpm_pool_poolname_get
    if _newclass:
        poolname = _swig_property(_dpm2.dpm_pool_poolname_get, _dpm2.dpm_pool_poolname_set)
    __swig_setmethods__["defsize"] = _dpm2.dpm_pool_defsize_set
    __swig_getmethods__["defsize"] = _dpm2.dpm_pool_defsize_get
    if _newclass:
        defsize = _swig_property(_dpm2.dpm_pool_defsize_get, _dpm2.dpm_pool_defsize_set)
    __swig_setmethods__["gc_start_thresh"] = _dpm2.dpm_pool_gc_start_thresh_set
    __swig_getmethods__["gc_start_thresh"] = _dpm2.dpm_pool_gc_start_thresh_get
    if _newclass:
        gc_start_thresh = _swig_property(_dpm2.dpm_pool_gc_start_thresh_get, _dpm2.dpm_pool_gc_start_thresh_set)
    __swig_setmethods__["gc_stop_thresh"] = _dpm2.dpm_pool_gc_stop_thresh_set
    __swig_getmethods__["gc_stop_thresh"] = _dpm2.dpm_pool_gc_stop_thresh_get
    if _newclass:
        gc_stop_thresh = _swig_property(_dpm2.dpm_pool_gc_stop_thresh_get, _dpm2.dpm_pool_gc_stop_thresh_set)
    __swig_setmethods__["def_lifetime"] = _dpm2.dpm_pool_def_lifetime_set
    __swig_getmethods__["def_lifetime"] = _dpm2.dpm_pool_def_lifetime_get
    if _newclass:
        def_lifetime = _swig_property(_dpm2.dpm_pool_def_lifetime_get, _dpm2.dpm_pool_def_lifetime_set)
    __swig_setmethods__["defpintime"] = _dpm2.dpm_pool_defpintime_set
    __swig_getmethods__["defpintime"] = _dpm2.dpm_pool_defpintime_get
    if _newclass:
        defpintime = _swig_property(_dpm2.dpm_pool_defpintime_get, _dpm2.dpm_pool_defpintime_set)
    __swig_setmethods__["max_lifetime"] = _dpm2.dpm_pool_max_lifetime_set
    __swig_getmethods__["max_lifetime"] = _dpm2.dpm_pool_max_lifetime_get
    if _newclass:
        max_lifetime = _swig_property(_dpm2.dpm_pool_max_lifetime_get, _dpm2.dpm_pool_max_lifetime_set)
    __swig_setmethods__["maxpintime"] = _dpm2.dpm_pool_maxpintime_set
    __swig_getmethods__["maxpintime"] = _dpm2.dpm_pool_maxpintime_get
    if _newclass:
        maxpintime = _swig_property(_dpm2.dpm_pool_maxpintime_get, _dpm2.dpm_pool_maxpintime_set)
    __swig_setmethods__["fss_policy"] = _dpm2.dpm_pool_fss_policy_set
    __swig_getmethods__["fss_policy"] = _dpm2.dpm_pool_fss_policy_get
    if _newclass:
        fss_policy = _swig_property(_dpm2.dpm_pool_fss_policy_get, _dpm2.dpm_pool_fss_policy_set)
    __swig_setmethods__["gc_policy"] = _dpm2.dpm_pool_gc_policy_set
    __swig_getmethods__["gc_policy"] = _dpm2.dpm_pool_gc_policy_get
    if _newclass:
        gc_policy = _swig_property(_dpm2.dpm_pool_gc_policy_get, _dpm2.dpm_pool_gc_policy_set)
    __swig_setmethods__["mig_policy"] = _dpm2.dpm_pool_mig_policy_set
    __swig_getmethods__["mig_policy"] = _dpm2.dpm_pool_mig_policy_get
    if _newclass:
        mig_policy = _swig_property(_dpm2.dpm_pool_mig_policy_get, _dpm2.dpm_pool_mig_policy_set)
    __swig_setmethods__["rs_policy"] = _dpm2.dpm_pool_rs_policy_set
    __swig_getmethods__["rs_policy"] = _dpm2.dpm_pool_rs_policy_get
    if _newclass:
        rs_policy = _swig_property(_dpm2.dpm_pool_rs_policy_get, _dpm2.dpm_pool_rs_policy_set)
    __swig_setmethods__["nbgids"] = _dpm2.dpm_pool_nbgids_set
    __swig_getmethods__["nbgids"] = _dpm2.dpm_pool_nbgids_get
    if _newclass:
        nbgids = _swig_property(_dpm2.dpm_pool_nbgids_get, _dpm2.dpm_pool_nbgids_set)
    __swig_setmethods__["gids"] = _dpm2.dpm_pool_gids_set
    __swig_getmethods__["gids"] = _dpm2.dpm_pool_gids_get
    if _newclass:
        gids = _swig_property(_dpm2.dpm_pool_gids_get, _dpm2.dpm_pool_gids_set)
    __swig_setmethods__["ret_policy"] = _dpm2.dpm_pool_ret_policy_set
    __swig_getmethods__["ret_policy"] = _dpm2.dpm_pool_ret_policy_get
    if _newclass:
        ret_policy = _swig_property(_dpm2.dpm_pool_ret_policy_get, _dpm2.dpm_pool_ret_policy_set)
    __swig_setmethods__["s_type"] = _dpm2.dpm_pool_s_type_set
    __swig_getmethods__["s_type"] = _dpm2.dpm_pool_s_type_get
    if _newclass:
        s_type = _swig_property(_dpm2.dpm_pool_s_type_get, _dpm2.dpm_pool_s_type_set)
    __swig_setmethods__["capacity"] = _dpm2.dpm_pool_capacity_set
    __swig_getmethods__["capacity"] = _dpm2.dpm_pool_capacity_get
    if _newclass:
        capacity = _swig_property(_dpm2.dpm_pool_capacity_get, _dpm2.dpm_pool_capacity_set)
    __swig_setmethods__["free"] = _dpm2.dpm_pool_free_set
    __swig_getmethods__["free"] = _dpm2.dpm_pool_free_get
    if _newclass:
        free = _swig_property(_dpm2.dpm_pool_free_get, _dpm2.dpm_pool_free_set)
    __swig_setmethods__["elemp"] = _dpm2.dpm_pool_elemp_set
    __swig_getmethods__["elemp"] = _dpm2.dpm_pool_elemp_get
    if _newclass:
        elemp = _swig_property(_dpm2.dpm_pool_elemp_get, _dpm2.dpm_pool_elemp_set)
    __swig_setmethods__["nbelem"] = _dpm2.dpm_pool_nbelem_set
    __swig_getmethods__["nbelem"] = _dpm2.dpm_pool_nbelem_get
    if _newclass:
        nbelem = _swig_property(_dpm2.dpm_pool_nbelem_get, _dpm2.dpm_pool_nbelem_set)
    __swig_setmethods__["next_elem"] = _dpm2.dpm_pool_next_elem_set
    __swig_getmethods__["next_elem"] = _dpm2.dpm_pool_next_elem_get
    if _newclass:
        next_elem = _swig_property(_dpm2.dpm_pool_next_elem_get, _dpm2.dpm_pool_next_elem_set)
    __swig_setmethods__["fs_vec"] = _dpm2.dpm_pool_fs_vec_set
    __swig_getmethods__["fs_vec"] = _dpm2.dpm_pool_fs_vec_get
    if _newclass:
        fs_vec = _swig_property(_dpm2.dpm_pool_fs_vec_get, _dpm2.dpm_pool_fs_vec_set)
    __swig_setmethods__["fs_veclen"] = _dpm2.dpm_pool_fs_veclen_set
    __swig_getmethods__["fs_veclen"] = _dpm2.dpm_pool_fs_veclen_get
    if _newclass:
        fs_veclen = _swig_property(_dpm2.dpm_pool_fs_veclen_get, _dpm2.dpm_pool_fs_veclen_set)

    def __init__(self):
        this = _dpm2.new_dpm_pool()
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this
    __swig_destroy__ = _dpm2.delete_dpm_pool
    __del__ = lambda self: None
dpm_pool_swigregister = _dpm2.dpm_pool_swigregister
dpm_pool_swigregister(dpm_pool)

class dpm_fs(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, dpm_fs, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, dpm_fs, name)
    __repr__ = _swig_repr
    __swig_setmethods__["poolname"] = _dpm2.dpm_fs_poolname_set
    __swig_getmethods__["poolname"] = _dpm2.dpm_fs_poolname_get
    if _newclass:
        poolname = _swig_property(_dpm2.dpm_fs_poolname_get, _dpm2.dpm_fs_poolname_set)
    __swig_setmethods__["server"] = _dpm2.dpm_fs_server_set
    __swig_getmethods__["server"] = _dpm2.dpm_fs_server_get
    if _newclass:
        server = _swig_property(_dpm2.dpm_fs_server_get, _dpm2.dpm_fs_server_set)
    __swig_setmethods__["fs"] = _dpm2.dpm_fs_fs_set
    __swig_getmethods__["fs"] = _dpm2.dpm_fs_fs_get
    if _newclass:
        fs = _swig_property(_dpm2.dpm_fs_fs_get, _dpm2.dpm_fs_fs_set)
    __swig_setmethods__["capacity"] = _dpm2.dpm_fs_capacity_set
    __swig_getmethods__["capacity"] = _dpm2.dpm_fs_capacity_get
    if _newclass:
        capacity = _swig_property(_dpm2.dpm_fs_capacity_get, _dpm2.dpm_fs_capacity_set)
    __swig_setmethods__["free"] = _dpm2.dpm_fs_free_set
    __swig_getmethods__["free"] = _dpm2.dpm_fs_free_get
    if _newclass:
        free = _swig_property(_dpm2.dpm_fs_free_get, _dpm2.dpm_fs_free_set)
    __swig_setmethods__["status"] = _dpm2.dpm_fs_status_set
    __swig_getmethods__["status"] = _dpm2.dpm_fs_status_get
    if _newclass:
        status = _swig_property(_dpm2.dpm_fs_status_get, _dpm2.dpm_fs_status_set)
    __swig_setmethods__["weight"] = _dpm2.dpm_fs_weight_set
    __swig_getmethods__["weight"] = _dpm2.dpm_fs_weight_get
    if _newclass:
        weight = _swig_property(_dpm2.dpm_fs_weight_get, _dpm2.dpm_fs_weight_set)

    def __init__(self):
        this = _dpm2.new_dpm_fs()
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this
    __swig_destroy__ = _dpm2.delete_dpm_fs
    __del__ = lambda self: None
dpm_fs_swigregister = _dpm2.dpm_fs_swigregister
dpm_fs_swigregister(dpm_fs)


def dpm_accessr(pfn, amode):
    return _dpm2.dpm_accessr(pfn, amode)
dpm_accessr = _dpm2.dpm_accessr

def dpm_getpoolfs(poolname):
    return _dpm2.dpm_getpoolfs(poolname)
dpm_getpoolfs = _dpm2.dpm_getpoolfs

def dpm_getpools():
    return _dpm2.dpm_getpools()
dpm_getpools = _dpm2.dpm_getpools

def dpm_getprotocols():
    return _dpm2.dpm_getprotocols()
dpm_getprotocols = _dpm2.dpm_getprotocols

def dpm_getspacemd(arg1):
    return _dpm2.dpm_getspacemd(arg1)
dpm_getspacemd = _dpm2.dpm_getspacemd

def dpm_getspacetoken(u_token):
    return _dpm2.dpm_getspacetoken(u_token)
dpm_getspacetoken = _dpm2.dpm_getspacetoken

def dpm_addfs(poolname, server, fs, status, weight):
    return _dpm2.dpm_addfs(poolname, server, fs, status, weight)
dpm_addfs = _dpm2.dpm_addfs

def dpm_addpool(POOL):
    return _dpm2.dpm_addpool(POOL)
dpm_addpool = _dpm2.dpm_addpool

def dpm_delreplica(pfn):
    return _dpm2.dpm_delreplica(pfn)
dpm_delreplica = _dpm2.dpm_delreplica

def dpm_modifyfs(server, fs, status, weight):
    return _dpm2.dpm_modifyfs(server, fs, status, weight)
dpm_modifyfs = _dpm2.dpm_modifyfs

def dpm_modifypool(POOL):
    return _dpm2.dpm_modifypool(POOL)
dpm_modifypool = _dpm2.dpm_modifypool

def dpm_ping(host):
    return _dpm2.dpm_ping(host)
dpm_ping = _dpm2.dpm_ping

def dpm_releasespace(s_token, force):
    return _dpm2.dpm_releasespace(s_token, force)
dpm_releasespace = _dpm2.dpm_releasespace

def dpm_reservespace(s_type, u_token, ret_policy, ac_latency, req_t_space, req_g_space, req_lifetime, LENGTH, poolname):
    return _dpm2.dpm_reservespace(s_type, u_token, ret_policy, ac_latency, req_t_space, req_g_space, req_lifetime, LENGTH, poolname)
dpm_reservespace = _dpm2.dpm_reservespace

def dpm_rmfs(server, fs):
    return _dpm2.dpm_rmfs(server, fs)
dpm_rmfs = _dpm2.dpm_rmfs

def dpm_rmpool(poolname):
    return _dpm2.dpm_rmpool(poolname)
dpm_rmpool = _dpm2.dpm_rmpool

def dpm_updatespace(s_token, req_t_space, req_g_space, req_lifetime, LENGTH):
    return _dpm2.dpm_updatespace(s_token, req_t_space, req_g_space, req_lifetime, LENGTH)
dpm_updatespace = _dpm2.dpm_updatespace
# This file is compatible with both classic and new-style classes.