This file is indexed.

/usr/share/gtk-doc/html/udisks2/UDisksClient.html is in udisks2-doc 2.7.6-3.

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
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>UDisksClient: UDisks Reference Manual</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="index.html" title="UDisks Reference Manual">
<link rel="up" href="ref-library.html" title="Part III. Library API Reference">
<link rel="prev" href="ref-library.html" title="Part III. Library API Reference">
<link rel="next" href="UDisksObjectInfo.html" title="UDisksObjectInfo">
<meta name="generator" content="GTK-Doc V1.27 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
<td width="100%" align="left" class="shortcuts">
<a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
                  <a href="#UDisksClient.description" class="shortcut">Description</a></span><span id="nav_hierarchy">  <span class="dim">|</span> 
                  <a href="#UDisksClient.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_interfaces">  <span class="dim">|</span> 
                  <a href="#UDisksClient.implemented-interfaces" class="shortcut">Implemented Interfaces</a></span><span id="nav_properties">  <span class="dim">|</span> 
                  <a href="#UDisksClient.properties" class="shortcut">Properties</a></span><span id="nav_signals">  <span class="dim">|</span> 
                  <a href="#UDisksClient.signals" class="shortcut">Signals</a></span>
</td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="ref-library.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="ref-library.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="UDisksObjectInfo.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="UDisksClient"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="UDisksClient.top_of_page"></a>UDisksClient</span></h2>
<p>UDisksClient — Utility routines for accessing the UDisks service</p>
</td>
<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="UDisksClient.functions"></a><h2>Functions</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="functions_return">
<col class="functions_name">
</colgroup>
<tbody>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="UDisksClient.html#UDISKS-CHECK-VERSION:CAPS" title="UDISKS_CHECK_VERSION()">UDISKS_CHECK_VERSION</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="UDisksClient.html#udisks-client-new" title="udisks_client_new ()">udisks_client_new</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="UDisksClient.html" title="UDisksClient"><span class="returnvalue">UDisksClient</span></a> *
</td>
<td class="function_name">
<a class="link" href="UDisksClient.html#udisks-client-new-finish" title="udisks_client_new_finish ()">udisks_client_new_finish</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="UDisksClient.html" title="UDisksClient"><span class="returnvalue">UDisksClient</span></a> *
</td>
<td class="function_name">
<a class="link" href="UDisksClient.html#udisks-client-new-sync" title="udisks_client_new_sync ()">udisks_client_new_sync</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="UDisksObject.html" title="UDisksObject"><span class="returnvalue">UDisksObject</span></a> *
</td>
<td class="function_name">
<a class="link" href="UDisksClient.html#udisks-client-get-object" title="udisks_client_get_object ()">udisks_client_get_object</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="UDisksObject.html" title="UDisksObject"><span class="returnvalue">UDisksObject</span></a> *
</td>
<td class="function_name">
<a class="link" href="UDisksClient.html#udisks-client-peek-object" title="udisks_client_peek_object ()">udisks_client_peek_object</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../gio/GDBusObjectManager.html#GDBusObjectManager-struct"><span class="returnvalue">GDBusObjectManager</span></a> *
</td>
<td class="function_name">
<a class="link" href="UDisksClient.html#udisks-client-get-object-manager" title="udisks_client_get_object_manager ()">udisks_client_get_object_manager</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="UDisksManager.html" title="UDisksManager"><span class="returnvalue">UDisksManager</span></a> *
</td>
<td class="function_name">
<a class="link" href="UDisksClient.html#udisks-client-get-manager" title="udisks_client_get_manager ()">udisks_client_get_manager</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="UDisksClient.html#udisks-client-settle" title="udisks_client_settle ()">udisks_client_settle</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="UDisksClient.html#udisks-client-queue-changed" title="udisks_client_queue_changed ()">udisks_client_queue_changed</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *
</td>
<td class="function_name">
<a class="link" href="UDisksClient.html#udisks-client-get-jobs-for-object" title="udisks_client_get_jobs_for_object ()">udisks_client_get_jobs_for_object</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
</td>
<td class="function_name">
<a class="link" href="UDisksClient.html#udisks-client-get-job-description" title="udisks_client_get_job_description ()">udisks_client_get_job_description</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="UDisksBlock.html" title="UDisksBlock"><span class="returnvalue">UDisksBlock</span></a> *
</td>
<td class="function_name">
<a class="link" href="UDisksClient.html#udisks-client-get-block-for-dev" title="udisks_client_get_block_for_dev ()">udisks_client_get_block_for_dev</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *
</td>
<td class="function_name">
<a class="link" href="UDisksClient.html#udisks-client-get-block-for-label" title="udisks_client_get_block_for_label ()">udisks_client_get_block_for_label</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *
</td>
<td class="function_name">
<a class="link" href="UDisksClient.html#udisks-client-get-block-for-uuid" title="udisks_client_get_block_for_uuid ()">udisks_client_get_block_for_uuid</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="UDisksBlock.html" title="UDisksBlock"><span class="returnvalue">UDisksBlock</span></a> *
</td>
<td class="function_name">
<a class="link" href="UDisksClient.html#udisks-client-get-block-for-drive" title="udisks_client_get_block_for_drive ()">udisks_client_get_block_for_drive</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="UDisksDrive.html" title="UDisksDrive"><span class="returnvalue">UDisksDrive</span></a> *
</td>
<td class="function_name">
<a class="link" href="UDisksClient.html#udisks-client-get-drive-for-block" title="udisks_client_get_drive_for_block ()">udisks_client_get_drive_for_block</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="UDisksBlock.html" title="UDisksBlock"><span class="returnvalue">UDisksBlock</span></a> *
</td>
<td class="function_name">
<a class="link" href="UDisksClient.html#udisks-client-get-cleartext-block" title="udisks_client_get_cleartext_block ()">udisks_client_get_cleartext_block</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="UDisksPartitionTable.html" title="UDisksPartitionTable"><span class="returnvalue">UDisksPartitionTable</span></a> *
</td>
<td class="function_name">
<a class="link" href="UDisksClient.html#udisks-client-get-partition-table" title="udisks_client_get_partition_table ()">udisks_client_get_partition_table</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="UDisksLoop.html" title="UDisksLoop"><span class="returnvalue">UDisksLoop</span></a> *
</td>
<td class="function_name">
<a class="link" href="UDisksClient.html#udisks-client-get-loop-for-block" title="udisks_client_get_loop_for_block ()">udisks_client_get_loop_for_block</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *
</td>
<td class="function_name">
<a class="link" href="UDisksClient.html#udisks-client-get-partitions" title="udisks_client_get_partitions ()">udisks_client_get_partitions</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *
</td>
<td class="function_name">
<a class="link" href="UDisksClient.html#udisks-client-get-drive-siblings" title="udisks_client_get_drive_siblings ()">udisks_client_get_drive_siblings</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="UDisksBlock.html" title="UDisksBlock"><span class="returnvalue">UDisksBlock</span></a> *
</td>
<td class="function_name">
<a class="link" href="UDisksClient.html#udisks-client-get-block-for-mdraid" title="udisks_client_get_block_for_mdraid ()">udisks_client_get_block_for_mdraid</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *
</td>
<td class="function_name">
<a class="link" href="UDisksClient.html#udisks-client-get-all-blocks-for-mdraid" title="udisks_client_get_all_blocks_for_mdraid ()">udisks_client_get_all_blocks_for_mdraid</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *
</td>
<td class="function_name">
<a class="link" href="UDisksClient.html#udisks-client-get-members-for-mdraid" title="udisks_client_get_members_for_mdraid ()">udisks_client_get_members_for_mdraid</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="UDisksMDRaid.html" title="UDisksMDRaid"><span class="returnvalue">UDisksMDRaid</span></a> *
</td>
<td class="function_name">
<a class="link" href="UDisksClient.html#udisks-client-get-mdraid-for-block" title="udisks_client_get_mdraid_for_block ()">udisks_client_get_mdraid_for_block</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="UDisksObjectInfo.html" title="UDisksObjectInfo"><span class="returnvalue">UDisksObjectInfo</span></a> *
</td>
<td class="function_name">
<a class="link" href="UDisksClient.html#udisks-client-get-object-info" title="udisks_client_get_object_info ()">udisks_client_get_object_info</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="UDisksClient.html#udisks-client-get-drive-info" title="udisks_client_get_drive_info ()">udisks_client_get_drive_info</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
</td>
<td class="function_name">
<a class="link" href="UDisksClient.html#udisks-client-get-partition-info" title="udisks_client_get_partition_info ()">udisks_client_get_partition_info</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
</td>
<td class="function_name">
<a class="link" href="UDisksClient.html#udisks-client-get-size-for-display" title="udisks_client_get_size_for_display ()">udisks_client_get_size_for_display</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
</td>
<td class="function_name">
<a class="link" href="UDisksClient.html#udisks-client-get-id-for-display" title="udisks_client_get_id_for_display ()">udisks_client_get_id_for_display</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
</td>
<td class="function_name">
<a class="link" href="UDisksClient.html#udisks-client-get-media-compat-for-display" title="udisks_client_get_media_compat_for_display ()">udisks_client_get_media_compat_for_display</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="UDisksClient.html#udisks-partition-type-info-free" title="udisks_partition_type_info_free ()">udisks_partition_type_info_free</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *
</td>
<td class="function_name">
<a class="link" href="UDisksClient.html#udisks-client-get-partition-type-infos" title="udisks_client_get_partition_type_infos ()">udisks_client_get_partition_type_infos</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> **
</td>
<td class="function_name">
<a class="link" href="UDisksClient.html#udisks-client-get-partition-table-subtypes" title="udisks_client_get_partition_table_subtypes ()">udisks_client_get_partition_table_subtypes</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
</td>
<td class="function_name">
<a class="link" href="UDisksClient.html#udisks-client-get-partition-type-for-display" title="udisks_client_get_partition_type_for_display ()">udisks_client_get_partition_type_for_display</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
</td>
<td class="function_name">
<a class="link" href="UDisksClient.html#udisks-client-get-partition-type-and-subtype-for-display" title="udisks_client_get_partition_type_and_subtype_for_display ()">udisks_client_get_partition_type_and_subtype_for_display</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
</td>
<td class="function_name">
<a class="link" href="UDisksClient.html#udisks-client-get-partition-table-type-for-display" title="udisks_client_get_partition_table_type_for_display ()">udisks_client_get_partition_table_type_for_display</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
</td>
<td class="function_name">
<a class="link" href="UDisksClient.html#udisks-client-get-partition-table-subtype-for-display" title="udisks_client_get_partition_table_subtype_for_display ()">udisks_client_get_partition_table_subtype_for_display</a> <span class="c_punctuation">()</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="UDisksClient.properties"></a><h2>Properties</h2>
<div class="informaltable"><table class="informaltable" border="0">
<colgroup>
<col width="150px" class="properties_type">
<col width="300px" class="properties_name">
<col width="200px" class="properties_flags">
</colgroup>
<tbody>
<tr>
<td class="property_type">
<a class="link" href="UDisksManager.html" title="UDisksManager"><span class="type">UDisksManager</span></a> *</td>
<td class="property_name"><a class="link" href="UDisksClient.html#UDisksClient--manager" title="The “manager” property">manager</a></td>
<td class="property_flags">Read</td>
</tr>
<tr>
<td class="property_type">
<a href="../gio/GDBusObjectManager.html#GDBusObjectManager-struct"><span class="type">GDBusObjectManager</span></a> *</td>
<td class="property_name"><a class="link" href="UDisksClient.html#UDisksClient--object-manager" title="The “object-manager” property">object-manager</a></td>
<td class="property_flags">Read</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="UDisksClient.signals"></a><h2>Signals</h2>
<div class="informaltable"><table class="informaltable" border="0">
<colgroup>
<col width="150px" class="signals_return">
<col width="300px" class="signals_name">
<col width="200px" class="signals_flags">
</colgroup>
<tbody><tr>
<td class="signal_type"><span class="returnvalue">void</span></td>
<td class="signal_name"><a class="link" href="UDisksClient.html#UDisksClient-changed" title="The “changed” signal">changed</a></td>
<td class="signal_flags"><a href="../gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td>
</tr></tbody>
</table></div>
</div>
<a name="UDisksPartitionTypeInfo"></a><div class="refsect1">
<a name="UDisksClient.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="name">
<col class="description">
</colgroup>
<tbody>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="UDisksClient.html#UDISKS-MAJOR-VERSION:CAPS" title="UDISKS_MAJOR_VERSION">UDISKS_MAJOR_VERSION</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="UDisksClient.html#UDISKS-MINOR-VERSION:CAPS" title="UDISKS_MINOR_VERSION">UDISKS_MINOR_VERSION</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="UDisksClient.html#UDISKS-MICRO-VERSION:CAPS" title="UDISKS_MICRO_VERSION">UDISKS_MICRO_VERSION</a></td>
</tr>
<tr>
<td class="datatype_keyword"> </td>
<td class="function_name"><a class="link" href="UDisksClient.html#UDisksClient-struct" title="UDisksClient">UDisksClient</a></td>
</tr>
<tr>
<td class="datatype_keyword"> </td>
<td class="function_name"><a class="link" href="UDisksClient.html#UDisksPartitionTypeInfo-struct" title="UDisksPartitionTypeInfo">UDisksPartitionTypeInfo</a></td>
</tr>
<tr>
<td class="datatype_keyword">enum</td>
<td class="function_name"><a class="link" href="UDisksClient.html#UDisksPartitionTypeInfoFlags" title="enum UDisksPartitionTypeInfoFlags">UDisksPartitionTypeInfoFlags</a></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="UDisksClient.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="screen">    <a href="/usr/share/gtk-doc/html/gobject/gobject-Boxed-Types.html">GBoxed</a>
    <span class="lineart">╰──</span> UDisksPartitionTypeInfo
    <a href="/usr/share/gtk-doc/html/gobject/gobject-Enumeration-and-Flag-Types.html">GFlags</a>
    <span class="lineart">╰──</span> UDisksPartitionTypeInfoFlags
    <a href="../gobject/gobject-The-Base-Object-Type.html#GObject-struct">GObject</a>
    <span class="lineart">╰──</span> UDisksClient
</pre>
</div>
<div class="refsect1">
<a name="UDisksClient.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
<p>
UDisksClient implements
 <a href="../gio/GInitable.html#GInitable-struct">GInitable</a> and  <a href="../gio/GAsyncInitable.html#GAsyncInitable-struct">GAsyncInitable</a>.</p>
</div>
<div class="refsect1">
<a name="UDisksClient.description"></a><h2>Description</h2>
<p><a class="link" href="UDisksClient.html" title="UDisksClient"><span class="type">UDisksClient</span></a> is used for accessing the UDisks service from a
client program.</p>
</div>
<div class="refsect1">
<a name="UDisksClient.functions_details"></a><h2>Functions</h2>
<div class="refsect2">
<a name="UDISKS-CHECK-VERSION:CAPS"></a><h3>UDISKS_CHECK_VERSION()</h3>
<pre class="programlisting">#define             UDISKS_CHECK_VERSION(major,minor,micro)</pre>
<p>Macro to check against the version of the libudisks2 library that
is being compiled against.</p>
<div class="refsect3">
<a name="UDISKS-CHECK-VERSION.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>major</p></td>
<td class="parameter_description"><p>The major version to check for.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>minor</p></td>
<td class="parameter_description"><p>the minor version to check for.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>micro</p></td>
<td class="parameter_description"><p>The micro version to check for.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="UDISKS-CHECK-VERSION.returns"></a><h4>Returns</h4>
<p> <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the version of the libudisks2 header files is the
same as or newer than the passed in version.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="udisks-client-new"></a><h3>udisks_client_new ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
udisks_client_new (<em class="parameter"><code><a href="../gio/GCancellable.html#GCancellable-struct"><span class="type">GCancellable</span></a> *cancellable</code></em>,
                   <em class="parameter"><code><a href="../gio/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
                   <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
<p>Asynchronously gets a <a class="link" href="UDisksClient.html" title="UDisksClient"><span class="type">UDisksClient</span></a>. When the operation is
finished, <em class="parameter"><code>callback</code></em>
 will be invoked in the <GTKDOCLINK HREF="g-main-context-push-thread-default">thread-default main
loop</GTKDOCLINK> of the thread you are calling this method from.</p>
<div class="refsect3">
<a name="udisks-client-new.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>cancellable</p></td>
<td class="parameter_description"><p>A <a href="../gio/GCancellable.html#GCancellable-struct"><span class="type">GCancellable</span></a> or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>callback</p></td>
<td class="parameter_description"><p>Function that will be called when the result is ready.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>user_data</p></td>
<td class="parameter_description"><p>Data to pass to <em class="parameter"><code>callback</code></em>
.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="udisks-client-new-finish"></a><h3>udisks_client_new_finish ()</h3>
<pre class="programlisting"><a class="link" href="UDisksClient.html" title="UDisksClient"><span class="returnvalue">UDisksClient</span></a> *
udisks_client_new_finish (<em class="parameter"><code><a href="../gio/GAsyncResult.html#GAsyncResult-struct"><span class="type">GAsyncResult</span></a> *res</code></em>,
                          <em class="parameter"><code><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
<p>Finishes an operation started with <a class="link" href="UDisksClient.html#udisks-client-new" title="udisks_client_new ()"><code class="function">udisks_client_new()</code></a>.</p>
<div class="refsect3">
<a name="udisks-client-new-finish.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>res</p></td>
<td class="parameter_description"><p>A <a href="../gio/GAsyncResult.html#GAsyncResult-struct"><span class="type">GAsyncResult</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>error</p></td>
<td class="parameter_description"><p>Return location for error or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="udisks-client-new-finish.returns"></a><h4>Returns</h4>
<p> A <a class="link" href="UDisksClient.html" title="UDisksClient"><span class="type">UDisksClient</span></a> or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>error</code></em>
is set. Free with
<a href="../gobject/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a> when done with it.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="udisks-client-new-sync"></a><h3>udisks_client_new_sync ()</h3>
<pre class="programlisting"><a class="link" href="UDisksClient.html" title="UDisksClient"><span class="returnvalue">UDisksClient</span></a> *
udisks_client_new_sync (<em class="parameter"><code><a href="../gio/GCancellable.html#GCancellable-struct"><span class="type">GCancellable</span></a> *cancellable</code></em>,
                        <em class="parameter"><code><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
<p>Synchronously gets a <a class="link" href="UDisksClient.html" title="UDisksClient"><span class="type">UDisksClient</span></a> for the local system.</p>
<div class="refsect3">
<a name="udisks-client-new-sync.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>cancellable</p></td>
<td class="parameter_description"><p>A <a href="../gio/GCancellable.html#GCancellable-struct"><span class="type">GCancellable</span></a> or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>error</p></td>
<td class="parameter_description"><p>Return location for error or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="udisks-client-new-sync.returns"></a><h4>Returns</h4>
<p> A <a class="link" href="UDisksClient.html" title="UDisksClient"><span class="type">UDisksClient</span></a> or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>error</code></em>
is set. Free with
<a href="../gobject/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a> when done with it.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="udisks-client-get-object"></a><h3>udisks_client_get_object ()</h3>
<pre class="programlisting"><a class="link" href="UDisksObject.html" title="UDisksObject"><span class="returnvalue">UDisksObject</span></a> *
udisks_client_get_object (<em class="parameter"><code><a class="link" href="UDisksClient.html" title="UDisksClient"><span class="type">UDisksClient</span></a> *client</code></em>,
                          <em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *object_path</code></em>);</pre>
<p>Convenience function for looking up an <a class="link" href="UDisksObject.html" title="UDisksObject"><span class="type">UDisksObject</span></a> for <em class="parameter"><code>object_path</code></em>
.</p>
<div class="refsect3">
<a name="udisks-client-get-object.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>client</p></td>
<td class="parameter_description"><p>A <a class="link" href="UDisksClient.html" title="UDisksClient"><span class="type">UDisksClient</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>object_path</p></td>
<td class="parameter_description"><p>Object path.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="udisks-client-get-object.returns"></a><h4>Returns</h4>
<p>A <a class="link" href="UDisksObject.html" title="UDisksObject"><span class="type">UDisksObject</span></a> corresponding to
<em class="parameter"><code>object_path</code></em>
or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if not found. The returned object must be
freed with <a href="../gobject/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a>. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="udisks-client-peek-object"></a><h3>udisks_client_peek_object ()</h3>
<pre class="programlisting"><a class="link" href="UDisksObject.html" title="UDisksObject"><span class="returnvalue">UDisksObject</span></a> *
udisks_client_peek_object (<em class="parameter"><code><a class="link" href="UDisksClient.html" title="UDisksClient"><span class="type">UDisksClient</span></a> *client</code></em>,
                           <em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *object_path</code></em>);</pre>
<p>Like <a class="link" href="UDisksClient.html#udisks-client-get-object" title="udisks_client_get_object ()"><code class="function">udisks_client_get_object()</code></a> but doesn't increase the reference
count on the returned <a class="link" href="UDisksObject.html" title="UDisksObject"><span class="type">UDisksObject</span></a>.</p>
<div class="warning">The returned object is only valid until removed so it is only safe to use this function on the thread where <em class="parameter"><code>client</code></em> was constructed. Use <a class="link" href="UDisksClient.html#udisks-client-get-object" title="udisks_client_get_object ()"><code class="function">udisks_client_get_object()</code></a> if on another thread.</div>
<div class="refsect3">
<a name="udisks-client-peek-object.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>client</p></td>
<td class="parameter_description"><p>A <a class="link" href="UDisksClient.html" title="UDisksClient"><span class="type">UDisksClient</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>object_path</p></td>
<td class="parameter_description"><p>Object path.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="udisks-client-peek-object.returns"></a><h4>Returns</h4>
<p>A <a class="link" href="UDisksObject.html" title="UDisksObject"><span class="type">UDisksObject</span></a> corresponding to
<em class="parameter"><code>object_path</code></em>
or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if not found. </p>
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="udisks-client-get-object-manager"></a><h3>udisks_client_get_object_manager ()</h3>
<pre class="programlisting"><a href="../gio/GDBusObjectManager.html#GDBusObjectManager-struct"><span class="returnvalue">GDBusObjectManager</span></a> *
udisks_client_get_object_manager (<em class="parameter"><code><a class="link" href="UDisksClient.html" title="UDisksClient"><span class="type">UDisksClient</span></a> *client</code></em>);</pre>
<p>Gets the <a href="../gio/GDBusObjectManager.html#GDBusObjectManager-struct"><span class="type">GDBusObjectManager</span></a> used by <em class="parameter"><code>client</code></em>
.</p>
<div class="refsect3">
<a name="udisks-client-get-object-manager.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>client</p></td>
<td class="parameter_description"><p>A <a class="link" href="UDisksClient.html" title="UDisksClient"><span class="type">UDisksClient</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="udisks-client-get-object-manager.returns"></a><h4>Returns</h4>
<p>A <a href="../gio/GDBusObjectManager.html#GDBusObjectManager-struct"><span class="type">GDBusObjectManager</span></a>. Do not free, the
instance is owned by <em class="parameter"><code>client</code></em>
. </p>
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="udisks-client-get-manager"></a><h3>udisks_client_get_manager ()</h3>
<pre class="programlisting"><a class="link" href="UDisksManager.html" title="UDisksManager"><span class="returnvalue">UDisksManager</span></a> *
udisks_client_get_manager (<em class="parameter"><code><a class="link" href="UDisksClient.html" title="UDisksClient"><span class="type">UDisksClient</span></a> *client</code></em>);</pre>
<p>Gets the <a class="link" href="UDisksManager.html" title="UDisksManager"><span class="type">UDisksManager</span></a> interface on the well-known
<code class="literal">/org/freedesktop/UDisks2/Manager</code> object.</p>
<div class="refsect3">
<a name="udisks-client-get-manager.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>client</p></td>
<td class="parameter_description"><p>A <a class="link" href="UDisksClient.html" title="UDisksClient"><span class="type">UDisksClient</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="udisks-client-get-manager.returns"></a><h4>Returns</h4>
<p>A <a class="link" href="UDisksManager.html" title="UDisksManager"><span class="type">UDisksManager</span></a> or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the udisksd
daemon is not currently running. Do not free, the instance is owned
by <em class="parameter"><code>client</code></em>
. </p>
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="udisks-client-settle"></a><h3>udisks_client_settle ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
udisks_client_settle (<em class="parameter"><code><a class="link" href="UDisksClient.html" title="UDisksClient"><span class="type">UDisksClient</span></a> *client</code></em>);</pre>
<p>Blocks until all pending D-Bus messages have been delivered. Also
emits the (rate-limited) <a class="link" href="UDisksClient.html#UDisksClient-changed" title="The “changed” signal"><span class="type">“changed”</span></a> signal if changes
are currently pending.</p>
<p>This is useful in two situations: 1. when using synchronous method
calls since e.g. D-Bus signals received while waiting for the reply
are queued up and dispatched after the synchronous call ends; and</p>
<div class="orderedlist"><ol class="orderedlist" type="1"><li class="listitem"><p>when using asynchronous calls where the return value references
a newly created object (such as the <a class="link" href="gdbus-org.freedesktop.UDisks2.Manager.html#gdbus-method-org-freedesktop-UDisks2-Manager.LoopSetup" title="The LoopSetup() method">Manager.LoopSetup()</a> method).</p></li></ol></div>
<div class="refsect3">
<a name="udisks-client-settle.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>client</p></td>
<td class="parameter_description"><p>A <a class="link" href="UDisksClient.html" title="UDisksClient"><span class="type">UDisksClient</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="udisks-client-queue-changed"></a><h3>udisks_client_queue_changed ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
udisks_client_queue_changed (<em class="parameter"><code><a class="link" href="UDisksClient.html" title="UDisksClient"><span class="type">UDisksClient</span></a> *client</code></em>);</pre>
<p>Queues up a <a class="link" href="UDisksClient.html#UDisksClient-changed" title="The “changed” signal"><span class="type">“changed”</span></a> signal and rate-limit it. See
the documentation for the <a class="link" href="UDisksClient.html#UDisksClient-changed" title="The “changed” signal"><span class="type">“changed”</span></a> property for more
information.</p>
<div class="refsect3">
<a name="udisks-client-queue-changed.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>client</p></td>
<td class="parameter_description"><p>A <a class="link" href="UDisksClient.html" title="UDisksClient"><span class="type">UDisksClient</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<p class="since">Since: 2.1</p>
</div>
<hr>
<div class="refsect2">
<a name="udisks-client-get-jobs-for-object"></a><h3>udisks_client_get_jobs_for_object ()</h3>
<pre class="programlisting"><a href="../glib/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *
udisks_client_get_jobs_for_object (<em class="parameter"><code><a class="link" href="UDisksClient.html" title="UDisksClient"><span class="type">UDisksClient</span></a> *client</code></em>,
                                   <em class="parameter"><code><a class="link" href="UDisksObject.html" title="UDisksObject"><span class="type">UDisksObject</span></a> *object</code></em>);</pre>
<p>Gets all the <a class="link" href="UDisksJob.html" title="UDisksJob"><span class="type">UDisksJob</span></a> instances that reference <em class="parameter"><code>object</code></em>
, if any.</p>
<div class="refsect3">
<a name="udisks-client-get-jobs-for-object.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>client</p></td>
<td class="parameter_description"><p>A <a class="link" href="UDisksClient.html" title="UDisksClient"><span class="type">UDisksClient</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>object</p></td>
<td class="parameter_description"><p>A <a class="link" href="UDisksObject.html" title="UDisksObject"><span class="type">UDisksObject</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="udisks-client-get-jobs-for-object.returns"></a><h4>Returns</h4>
<p>A list of <a class="link" href="UDisksJob.html" title="UDisksJob"><span class="type">UDisksJob</span></a> instances. The
returned list should be freed with <a href="../glib/glib-Doubly-Linked-Lists.html#g-list-free"><code class="function">g_list_free()</code></a> after each
element has been freed with <a href="../gobject/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a>. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>][<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> UDisksJob]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="udisks-client-get-job-description"></a><h3>udisks_client_get_job_description ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
udisks_client_get_job_description (<em class="parameter"><code><a class="link" href="UDisksClient.html" title="UDisksClient"><span class="type">UDisksClient</span></a> *client</code></em>,
                                   <em class="parameter"><code><a class="link" href="UDisksJob.html" title="UDisksJob"><span class="type">UDisksJob</span></a> *job</code></em>);</pre>
<p>Gets a human-readable and localized text string describing the
operation of <em class="parameter"><code>job</code></em>
.</p>
<p>For known job types, see the documentation for the</p>
<a class="link" href="gdbus-org.freedesktop.UDisks2.Job.html#gdbus-property-org-freedesktop-UDisks2-Job.Operation" title='The "Operation" property'>Job:Operation</a><p>D-Bus property.</p>
<div class="refsect3">
<a name="udisks-client-get-job-description.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>client</p></td>
<td class="parameter_description"><p>A <a class="link" href="UDisksClient.html" title="UDisksClient"><span class="type">UDisksClient</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>job</p></td>
<td class="parameter_description"><p>A <a class="link" href="UDisksJob.html" title="UDisksJob"><span class="type">UDisksJob</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="udisks-client-get-job-description.returns"></a><h4>Returns</h4>
<p> A string that should be freed with <a href="../glib/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="udisks-client-get-block-for-dev"></a><h3>udisks_client_get_block_for_dev ()</h3>
<pre class="programlisting"><a class="link" href="UDisksBlock.html" title="UDisksBlock"><span class="returnvalue">UDisksBlock</span></a> *
udisks_client_get_block_for_dev (<em class="parameter"><code><a class="link" href="UDisksClient.html" title="UDisksClient"><span class="type">UDisksClient</span></a> *client</code></em>,
                                 <em class="parameter"><code><span class="type">dev_t</span> block_device_number</code></em>);</pre>
<p>Gets the <a class="link" href="UDisksBlock.html" title="UDisksBlock"><span class="type">UDisksBlock</span></a> corresponding to <em class="parameter"><code>block_device_number</code></em>
, if any.</p>
<div class="refsect3">
<a name="udisks-client-get-block-for-dev.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>client</p></td>
<td class="parameter_description"><p>A <a class="link" href="UDisksClient.html" title="UDisksClient"><span class="type">UDisksClient</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>block_device_number</p></td>
<td class="parameter_description"><p>A <span class="type">dev_t</span> to get a <a class="link" href="UDisksBlock.html" title="UDisksBlock"><span class="type">UDisksBlock</span></a> for. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> guint64]</span></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="udisks-client-get-block-for-dev.returns"></a><h4>Returns</h4>
<p>A <a class="link" href="UDisksBlock.html" title="UDisksBlock"><span class="type">UDisksBlock</span></a> or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if not found. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="udisks-client-get-block-for-label"></a><h3>udisks_client_get_block_for_label ()</h3>
<pre class="programlisting"><a href="../glib/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *
udisks_client_get_block_for_label (<em class="parameter"><code><a class="link" href="UDisksClient.html" title="UDisksClient"><span class="type">UDisksClient</span></a> *client</code></em>,
                                   <em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *label</code></em>);</pre>
<p>Gets all the <a class="link" href="UDisksBlock.html" title="UDisksBlock"><span class="type">UDisksBlock</span></a> instances with the given label, if any.</p>
<div class="refsect3">
<a name="udisks-client-get-block-for-label.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>client</p></td>
<td class="parameter_description"><p>A <a class="link" href="UDisksClient.html" title="UDisksClient"><span class="type">UDisksClient</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>label</p></td>
<td class="parameter_description"><p>The label.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="udisks-client-get-block-for-label.returns"></a><h4>Returns</h4>
<p>A list of <a class="link" href="UDisksBlock.html" title="UDisksBlock"><span class="type">UDisksBlock</span></a> instances. The
returned list should be freed with <a href="../glib/glib-Doubly-Linked-Lists.html#g-list-free"><code class="function">g_list_free()</code></a> after each
element has been freed with <a href="../gobject/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a>. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>][<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> UDisksBlock]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="udisks-client-get-block-for-uuid"></a><h3>udisks_client_get_block_for_uuid ()</h3>
<pre class="programlisting"><a href="../glib/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *
udisks_client_get_block_for_uuid (<em class="parameter"><code><a class="link" href="UDisksClient.html" title="UDisksClient"><span class="type">UDisksClient</span></a> *client</code></em>,
                                  <em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *uuid</code></em>);</pre>
<p>Gets all the <a class="link" href="UDisksBlock.html" title="UDisksBlock"><span class="type">UDisksBlock</span></a> instances with the given uuid, if any.</p>
<div class="refsect3">
<a name="udisks-client-get-block-for-uuid.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>client</p></td>
<td class="parameter_description"><p>A <a class="link" href="UDisksClient.html" title="UDisksClient"><span class="type">UDisksClient</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>uuid</p></td>
<td class="parameter_description"><p>The uuid.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="udisks-client-get-block-for-uuid.returns"></a><h4>Returns</h4>
<p>A list of <a class="link" href="UDisksBlock.html" title="UDisksBlock"><span class="type">UDisksBlock</span></a> instances. The
returned list should be freed with <a href="../glib/glib-Doubly-Linked-Lists.html#g-list-free"><code class="function">g_list_free()</code></a> after each
element has been freed with <a href="../gobject/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a>. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>][<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> UDisksBlock]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="udisks-client-get-block-for-drive"></a><h3>udisks_client_get_block_for_drive ()</h3>
<pre class="programlisting"><a class="link" href="UDisksBlock.html" title="UDisksBlock"><span class="returnvalue">UDisksBlock</span></a> *
udisks_client_get_block_for_drive (<em class="parameter"><code><a class="link" href="UDisksClient.html" title="UDisksClient"><span class="type">UDisksClient</span></a> *client</code></em>,
                                   <em class="parameter"><code><a class="link" href="UDisksDrive.html" title="UDisksDrive"><span class="type">UDisksDrive</span></a> *drive</code></em>,
                                   <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> get_physical</code></em>);</pre>
<p>Gets a block device corresponding to <em class="parameter"><code>drive</code></em>
. The returned block
device, if any, is for the whole disk drive, e.g. a partition block
device is never returned.</p>
<p>Set <em class="parameter"><code>get_physical</code></em>
 to <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if you need a block device that you can
send low-level SCSI commands with (for multipath, this returns one
of the physical paths). Set it to <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if you need a block device
that you can read/write data with (for multipath, this returns the
mapped device).</p>
<div class="refsect3">
<a name="udisks-client-get-block-for-drive.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>client</p></td>
<td class="parameter_description"><p>A <a class="link" href="UDisksClient.html" title="UDisksClient"><span class="type">UDisksClient</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>drive</p></td>
<td class="parameter_description"><p>A <a class="link" href="UDisksDrive.html" title="UDisksDrive"><span class="type">UDisksDrive</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>get_physical</p></td>
<td class="parameter_description"><p><a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> to get a physical device, <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> to get the logical device.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="udisks-client-get-block-for-drive.returns"></a><h4>Returns</h4>
<p>A <a class="link" href="UDisksBlock.html" title="UDisksBlock"><span class="type">UDisksBlock</span></a> or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the requested
kind of block device is not available - use <a href="../gobject/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a> to
free the returned object. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="udisks-client-get-drive-for-block"></a><h3>udisks_client_get_drive_for_block ()</h3>
<pre class="programlisting"><a class="link" href="UDisksDrive.html" title="UDisksDrive"><span class="returnvalue">UDisksDrive</span></a> *
udisks_client_get_drive_for_block (<em class="parameter"><code><a class="link" href="UDisksClient.html" title="UDisksClient"><span class="type">UDisksClient</span></a> *client</code></em>,
                                   <em class="parameter"><code><a class="link" href="UDisksBlock.html" title="UDisksBlock"><span class="type">UDisksBlock</span></a> *block</code></em>);</pre>
<p>Gets the <a class="link" href="UDisksDrive.html" title="UDisksDrive"><span class="type">UDisksDrive</span></a> that <em class="parameter"><code>block</code></em>
 belongs to, if any.</p>
<div class="refsect3">
<a name="udisks-client-get-drive-for-block.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>client</p></td>
<td class="parameter_description"><p>A <a class="link" href="UDisksClient.html" title="UDisksClient"><span class="type">UDisksClient</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>block</p></td>
<td class="parameter_description"><p>A <a class="link" href="UDisksBlock.html" title="UDisksBlock"><span class="type">UDisksBlock</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="udisks-client-get-drive-for-block.returns"></a><h4>Returns</h4>
<p>A <a class="link" href="UDisksDrive.html" title="UDisksDrive"><span class="type">UDisksDrive</span></a> or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if there is no
<a class="link" href="UDisksDrive.html" title="UDisksDrive"><span class="type">UDisksDrive</span></a> for <em class="parameter"><code>block</code></em>
- free the returned object with
<a href="../gobject/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a>. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="udisks-client-get-cleartext-block"></a><h3>udisks_client_get_cleartext_block ()</h3>
<pre class="programlisting"><a class="link" href="UDisksBlock.html" title="UDisksBlock"><span class="returnvalue">UDisksBlock</span></a> *
udisks_client_get_cleartext_block (<em class="parameter"><code><a class="link" href="UDisksClient.html" title="UDisksClient"><span class="type">UDisksClient</span></a> *client</code></em>,
                                   <em class="parameter"><code><a class="link" href="UDisksBlock.html" title="UDisksBlock"><span class="type">UDisksBlock</span></a> *block</code></em>);</pre>
<p>If <em class="parameter"><code>block</code></em>
 is an unlocked encrypted device, gets the cleartext device.</p>
<div class="refsect3">
<a name="udisks-client-get-cleartext-block.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>client</p></td>
<td class="parameter_description"><p>A <a class="link" href="UDisksClient.html" title="UDisksClient"><span class="type">UDisksClient</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>block</p></td>
<td class="parameter_description"><p>A <a class="link" href="UDisksBlock.html" title="UDisksBlock"><span class="type">UDisksBlock</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="udisks-client-get-cleartext-block.returns"></a><h4>Returns</h4>
<p>A <a class="link" href="UDisksBlock.html" title="UDisksBlock"><span class="type">UDisksBlock</span></a> or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. Free with
<a href="../gobject/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a> when done with it. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="udisks-client-get-partition-table"></a><h3>udisks_client_get_partition_table ()</h3>
<pre class="programlisting"><a class="link" href="UDisksPartitionTable.html" title="UDisksPartitionTable"><span class="returnvalue">UDisksPartitionTable</span></a> *
udisks_client_get_partition_table (<em class="parameter"><code><a class="link" href="UDisksClient.html" title="UDisksClient"><span class="type">UDisksClient</span></a> *client</code></em>,
                                   <em class="parameter"><code><a class="link" href="UDisksPartition.html" title="UDisksPartition"><span class="type">UDisksPartition</span></a> *partition</code></em>);</pre>
<p>Gets the <a class="link" href="UDisksPartitionTable.html" title="UDisksPartitionTable"><span class="type">UDisksPartitionTable</span></a> corresponding to <em class="parameter"><code>partition</code></em>
.</p>
<div class="refsect3">
<a name="udisks-client-get-partition-table.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>client</p></td>
<td class="parameter_description"><p>A <a class="link" href="UDisksClient.html" title="UDisksClient"><span class="type">UDisksClient</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>partition</p></td>
<td class="parameter_description"><p>A <a class="link" href="UDisksPartition.html" title="UDisksPartition"><span class="type">UDisksPartition</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="udisks-client-get-partition-table.returns"></a><h4>Returns</h4>
<p>A <a class="link" href="UDisksPartitionTable.html" title="UDisksPartitionTable"><span class="type">UDisksPartitionTable</span></a>. Free with <a href="../gobject/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a>. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="udisks-client-get-loop-for-block"></a><h3>udisks_client_get_loop_for_block ()</h3>
<pre class="programlisting"><a class="link" href="UDisksLoop.html" title="UDisksLoop"><span class="returnvalue">UDisksLoop</span></a> *
udisks_client_get_loop_for_block (<em class="parameter"><code><a class="link" href="UDisksClient.html" title="UDisksClient"><span class="type">UDisksClient</span></a> *client</code></em>,
                                  <em class="parameter"><code><a class="link" href="UDisksBlock.html" title="UDisksBlock"><span class="type">UDisksBlock</span></a> *block</code></em>);</pre>
<p>Gets the corresponding loop interface for <em class="parameter"><code>block</code></em>
.</p>
<p>This only works if <em class="parameter"><code>block</code></em>
 itself is a loop device or a partition of
a loop device.</p>
<div class="refsect3">
<a name="udisks-client-get-loop-for-block.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>client</p></td>
<td class="parameter_description"><p>A <a class="link" href="UDisksClient.html" title="UDisksClient"><span class="type">UDisksClient</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>block</p></td>
<td class="parameter_description"><p>A <a class="link" href="UDisksBlock.html" title="UDisksBlock"><span class="type">UDisksBlock</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="udisks-client-get-loop-for-block.returns"></a><h4>Returns</h4>
<p>A <a class="link" href="UDisksLoop.html" title="UDisksLoop"><span class="type">UDisksLoop</span></a> or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. Free with <a href="../gobject/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a>. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="udisks-client-get-partitions"></a><h3>udisks_client_get_partitions ()</h3>
<pre class="programlisting"><a href="../glib/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *
udisks_client_get_partitions (<em class="parameter"><code><a class="link" href="UDisksClient.html" title="UDisksClient"><span class="type">UDisksClient</span></a> *client</code></em>,
                              <em class="parameter"><code><a class="link" href="UDisksPartitionTable.html" title="UDisksPartitionTable"><span class="type">UDisksPartitionTable</span></a> *table</code></em>);</pre>
<p>Gets all partitions of <em class="parameter"><code>table</code></em>
.</p>
<div class="refsect3">
<a name="udisks-client-get-partitions.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>client</p></td>
<td class="parameter_description"><p>A <a class="link" href="UDisksClient.html" title="UDisksClient"><span class="type">UDisksClient</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>table</p></td>
<td class="parameter_description"><p>A <a class="link" href="UDisksPartitionTable.html" title="UDisksPartitionTable"><span class="type">UDisksPartitionTable</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="udisks-client-get-partitions.returns"></a><h4>Returns</h4>
<p>A list of <a class="link" href="UDisksPartition.html" title="UDisksPartition"><span class="type">UDisksPartition</span></a> instances. The
returned list should be freed with <a href="../glib/glib-Doubly-Linked-Lists.html#g-list-free"><code class="function">g_list_free()</code></a> after each
element has been freed with <a href="../gobject/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a>. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>][<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> UDisksPartition]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="udisks-client-get-drive-siblings"></a><h3>udisks_client_get_drive_siblings ()</h3>
<pre class="programlisting"><a href="../glib/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *
udisks_client_get_drive_siblings (<em class="parameter"><code><a class="link" href="UDisksClient.html" title="UDisksClient"><span class="type">UDisksClient</span></a> *client</code></em>,
                                  <em class="parameter"><code><a class="link" href="UDisksDrive.html" title="UDisksDrive"><span class="type">UDisksDrive</span></a> *drive</code></em>);</pre>
<p>Gets all siblings for <em class="parameter"><code>drive</code></em>
.</p>
<div class="refsect3">
<a name="udisks-client-get-drive-siblings.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>client</p></td>
<td class="parameter_description"><p>A <a class="link" href="UDisksClient.html" title="UDisksClient"><span class="type">UDisksClient</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>drive</p></td>
<td class="parameter_description"><p>A <a class="link" href="UDisksDrive.html" title="UDisksDrive"><span class="type">UDisksDrive</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="udisks-client-get-drive-siblings.returns"></a><h4>Returns</h4>
<p>A list of <a class="link" href="UDisksDrive.html" title="UDisksDrive"><span class="type">UDisksDrive</span></a> instances. The
returned list should be freed with <a href="../glib/glib-Doubly-Linked-Lists.html#g-list-free"><code class="function">g_list_free()</code></a> after each element has been
freed with <a href="../gobject/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a>. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>][<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> UDisksDrive]</span></p>
</div>
<p class="since">Since: 2.1</p>
</div>
<hr>
<div class="refsect2">
<a name="udisks-client-get-block-for-mdraid"></a><h3>udisks_client_get_block_for_mdraid ()</h3>
<pre class="programlisting"><a class="link" href="UDisksBlock.html" title="UDisksBlock"><span class="returnvalue">UDisksBlock</span></a> *
udisks_client_get_block_for_mdraid (<em class="parameter"><code><a class="link" href="UDisksClient.html" title="UDisksClient"><span class="type">UDisksClient</span></a> *client</code></em>,
                                    <em class="parameter"><code><a class="link" href="UDisksMDRaid.html" title="UDisksMDRaid"><span class="type">UDisksMDRaid</span></a> *raid</code></em>);</pre>
<p>Gets the RAID device (e.g. <code class="filename">/dev/md0</code>) for <em class="parameter"><code>raid</code></em>
.</p>
<p>In the case of a <a class="ulink" href="http://en.wikipedia.org/wiki/Split-brain_(computing)" target="_top">split-brain
syndrome</a>, it is undefined which RAID device is
returned. For example this can happen if
<code class="filename">/dev/sda</code> and <code class="filename">/dev/sdb</code> are
components of a two-disk RAID-1 and <code class="filename">/dev/md0</code>
and <code class="filename">/dev/md1</code> are two degraded arrays, each one
using exactly one of the two devices. Use
<a class="link" href="UDisksClient.html#udisks-client-get-all-blocks-for-mdraid" title="udisks_client_get_all_blocks_for_mdraid ()"><code class="function">udisks_client_get_all_blocks_for_mdraid()</code></a> to get all RAID devices.</p>
<div class="refsect3">
<a name="udisks-client-get-block-for-mdraid.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>client</p></td>
<td class="parameter_description"><p>A <a class="link" href="UDisksClient.html" title="UDisksClient"><span class="type">UDisksClient</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>raid</p></td>
<td class="parameter_description"><p>A <a class="link" href="UDisksMDRaid.html" title="UDisksMDRaid"><span class="type">UDisksMDRaid</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="udisks-client-get-block-for-mdraid.returns"></a><h4>Returns</h4>
<p>A <a class="link" href="UDisksBlock.html" title="UDisksBlock"><span class="type">UDisksBlock</span></a> or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if no RAID device is running. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
</div>
<p class="since">Since: 2.1</p>
</div>
<hr>
<div class="refsect2">
<a name="udisks-client-get-all-blocks-for-mdraid"></a><h3>udisks_client_get_all_blocks_for_mdraid ()</h3>
<pre class="programlisting"><a href="../glib/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *
udisks_client_get_all_blocks_for_mdraid
                               (<em class="parameter"><code><a class="link" href="UDisksClient.html" title="UDisksClient"><span class="type">UDisksClient</span></a> *client</code></em>,
                                <em class="parameter"><code><a class="link" href="UDisksMDRaid.html" title="UDisksMDRaid"><span class="type">UDisksMDRaid</span></a> *raid</code></em>);</pre>
<p>Gets all RAID devices (e.g. <code class="filename">/dev/md0</code> and <code class="filename">/dev/md1</code>) for <em class="parameter"><code>raid</code></em>
.</p>
<p>This is usually only useful in <a class="ulink" href="http://en.wikipedia.org/wiki/Split-brain_(computing)" target="_top">split-brain
situations</a> — see <a class="link" href="UDisksClient.html#udisks-client-get-block-for-mdraid" title="udisks_client_get_block_for_mdraid ()"><code class="function">udisks_client_get_block_for_mdraid()</code></a> for
an example — and is normally used only to convey the problem in an
user interface.</p>
<div class="refsect3">
<a name="udisks-client-get-all-blocks-for-mdraid.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>client</p></td>
<td class="parameter_description"><p>A <a class="link" href="UDisksClient.html" title="UDisksClient"><span class="type">UDisksClient</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>raid</p></td>
<td class="parameter_description"><p>A <a class="link" href="UDisksMDRaid.html" title="UDisksMDRaid"><span class="type">UDisksMDRaid</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="udisks-client-get-all-blocks-for-mdraid.returns"></a><h4>Returns</h4>
<p>A list of <a class="link" href="UDisksBlock.html" title="UDisksBlock"><span class="type">UDisksBlock</span></a> instances. The
returned list should be freed with <a href="../glib/glib-Doubly-Linked-Lists.html#g-list-free"><code class="function">g_list_free()</code></a> after each
element has been freed with <a href="../gobject/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a>. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>][<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> UDisksBlock]</span></p>
</div>
<p class="since">Since: 2.1</p>
</div>
<hr>
<div class="refsect2">
<a name="udisks-client-get-members-for-mdraid"></a><h3>udisks_client_get_members_for_mdraid ()</h3>
<pre class="programlisting"><a href="../glib/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *
udisks_client_get_members_for_mdraid (<em class="parameter"><code><a class="link" href="UDisksClient.html" title="UDisksClient"><span class="type">UDisksClient</span></a> *client</code></em>,
                                      <em class="parameter"><code><a class="link" href="UDisksMDRaid.html" title="UDisksMDRaid"><span class="type">UDisksMDRaid</span></a> *raid</code></em>);</pre>
<p>Gets the physical block devices that are part of <em class="parameter"><code>raid</code></em>
.</p>
<div class="refsect3">
<a name="udisks-client-get-members-for-mdraid.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>client</p></td>
<td class="parameter_description"><p>A <a class="link" href="UDisksClient.html" title="UDisksClient"><span class="type">UDisksClient</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>raid</p></td>
<td class="parameter_description"><p>A <a class="link" href="UDisksMDRaid.html" title="UDisksMDRaid"><span class="type">UDisksMDRaid</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="udisks-client-get-members-for-mdraid.returns"></a><h4>Returns</h4>
<p>A list of <a class="link" href="UDisksBlock.html" title="UDisksBlock"><span class="type">UDisksBlock</span></a> instances. The
returned list should be freed with <a href="../glib/glib-Doubly-Linked-Lists.html#g-list-free"><code class="function">g_list_free()</code></a> after each
element has been freed with <a href="../gobject/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a>. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>][<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> UDisksBlock]</span></p>
</div>
<p class="since">Since: 2.1</p>
</div>
<hr>
<div class="refsect2">
<a name="udisks-client-get-mdraid-for-block"></a><h3>udisks_client_get_mdraid_for_block ()</h3>
<pre class="programlisting"><a class="link" href="UDisksMDRaid.html" title="UDisksMDRaid"><span class="returnvalue">UDisksMDRaid</span></a> *
udisks_client_get_mdraid_for_block (<em class="parameter"><code><a class="link" href="UDisksClient.html" title="UDisksClient"><span class="type">UDisksClient</span></a> *client</code></em>,
                                    <em class="parameter"><code><a class="link" href="UDisksBlock.html" title="UDisksBlock"><span class="type">UDisksBlock</span></a> *block</code></em>);</pre>
<p>Gets the <a class="link" href="UDisksMDRaid.html" title="UDisksMDRaid"><span class="type">UDisksMDRaid</span></a> that <em class="parameter"><code>block</code></em>
 is the block device for, if any.</p>
<div class="refsect3">
<a name="udisks-client-get-mdraid-for-block.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>client</p></td>
<td class="parameter_description"><p>A <a class="link" href="UDisksClient.html" title="UDisksClient"><span class="type">UDisksClient</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>block</p></td>
<td class="parameter_description"><p>A <a class="link" href="UDisksBlock.html" title="UDisksBlock"><span class="type">UDisksBlock</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="udisks-client-get-mdraid-for-block.returns"></a><h4>Returns</h4>
<p>A <a class="link" href="UDisksMDRaid.html" title="UDisksMDRaid"><span class="type">UDisksMDRaid</span></a> or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if there is no
<a class="link" href="UDisksMDRaid.html" title="UDisksMDRaid"><span class="type">UDisksMDRaid</span></a> for <em class="parameter"><code>block</code></em>
or <em class="parameter"><code>block</code></em>
is not a MD-RAID block
device. Free the returned object with <a href="../gobject/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a>. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
</div>
<p class="since">Since: 2.1</p>
</div>
<hr>
<div class="refsect2">
<a name="udisks-client-get-object-info"></a><h3>udisks_client_get_object_info ()</h3>
<pre class="programlisting"><a class="link" href="UDisksObjectInfo.html" title="UDisksObjectInfo"><span class="returnvalue">UDisksObjectInfo</span></a> *
udisks_client_get_object_info (<em class="parameter"><code><a class="link" href="UDisksClient.html" title="UDisksClient"><span class="type">UDisksClient</span></a> *client</code></em>,
                               <em class="parameter"><code><a class="link" href="UDisksObject.html" title="UDisksObject"><span class="type">UDisksObject</span></a> *object</code></em>);</pre>
<p>Gets information about a <a class="link" href="UDisksObject.html" title="UDisksObject"><span class="type">UDisksObject</span></a> instance that is suitable to
present in an user interface. Information is returned in the
<a class="link" href="UDisksObjectInfo.html" title="UDisksObjectInfo"><span class="type">UDisksObjectInfo</span></a> object and is localized.</p>
<div class="refsect3">
<a name="udisks-client-get-object-info.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>client</p></td>
<td class="parameter_description"><p>A <a class="link" href="UDisksClient.html" title="UDisksClient"><span class="type">UDisksClient</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>object</p></td>
<td class="parameter_description"><p>A <a class="link" href="UDisksObject.html" title="UDisksObject"><span class="type">UDisksObject</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="udisks-client-get-object-info.returns"></a><h4>Returns</h4>
<p>A <a class="link" href="UDisksObjectInfo.html" title="UDisksObjectInfo"><span class="type">UDisksObjectInfo</span></a> instance that should be freed with <a href="../gobject/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a>. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
</div>
<p class="since">Since: 2.1</p>
</div>
<hr>
<div class="refsect2">
<a name="udisks-client-get-drive-info"></a><h3>udisks_client_get_drive_info ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
udisks_client_get_drive_info (<em class="parameter"><code><a class="link" href="UDisksClient.html" title="UDisksClient"><span class="type">UDisksClient</span></a> *client</code></em>,
                              <em class="parameter"><code><a class="link" href="UDisksDrive.html" title="UDisksDrive"><span class="type">UDisksDrive</span></a> *drive</code></em>,
                              <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> **out_name</code></em>,
                              <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> **out_description</code></em>,
                              <em class="parameter"><code><a href="../gio/GIcon.html#GIcon-struct"><span class="type">GIcon</span></a> **out_drive_icon</code></em>,
                              <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> **out_media_description</code></em>,
                              <em class="parameter"><code><a href="../gio/GIcon.html#GIcon-struct"><span class="type">GIcon</span></a> **out_media_icon</code></em>);</pre>
<div class="warning">
<p><code class="literal">udisks_client_get_drive_info</code> has been deprecated since version 2.1 and should not be used in newly-written code.</p>
<p>Use <a class="link" href="UDisksClient.html#udisks-client-get-object-info" title="udisks_client_get_object_info ()"><code class="function">udisks_client_get_object_info()</code></a> instead.</p>
</div>
<p>Gets information about a <a class="link" href="UDisksDrive.html" title="UDisksDrive"><span class="type">UDisksDrive</span></a> object that is suitable to
present in an user interface. The returned strings are localized.</p>
<div class="refsect3">
<a name="udisks-client-get-drive-info.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>client</p></td>
<td class="parameter_description"><p>A <a class="link" href="UDisksClient.html" title="UDisksClient"><span class="type">UDisksClient</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>drive</p></td>
<td class="parameter_description"><p>A <a class="link" href="UDisksDrive.html" title="UDisksDrive"><span class="type">UDisksDrive</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>out_name</p></td>
<td class="parameter_description"><p>Return location for name or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>out_description</p></td>
<td class="parameter_description"><p>Return location for description or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>out_drive_icon</p></td>
<td class="parameter_description"><p>Return location for icon representing the drive or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>out_media_description</p></td>
<td class="parameter_description"><p>Return location for description of the media or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>out_media_icon</p></td>
<td class="parameter_description"><p>Return location for icon representing the media or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="udisks-client-get-partition-info"></a><h3>udisks_client_get_partition_info ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
udisks_client_get_partition_info (<em class="parameter"><code><a class="link" href="UDisksClient.html" title="UDisksClient"><span class="type">UDisksClient</span></a> *client</code></em>,
                                  <em class="parameter"><code><a class="link" href="UDisksPartition.html" title="UDisksPartition"><span class="type">UDisksPartition</span></a> *partition</code></em>);</pre>
<p>Gets information about <em class="parameter"><code>partition</code></em>
 that is suitable to present in an
user interface in a single line of text.</p>
<p>The returned string is localized and includes things like the
partition type, flags (if any) and name (if any).</p>
<div class="refsect3">
<a name="udisks-client-get-partition-info.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>client</p></td>
<td class="parameter_description"><p>A <a class="link" href="UDisksClient.html" title="UDisksClient"><span class="type">UDisksClient</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>partition</p></td>
<td class="parameter_description"><div class="refsect2">
<a name="id-1.4.2.11.30.6.2.1.4.2.2.1"></a><h3>
<a class="link" href="UDisksPartition.html" title="UDisksPartition"><span class="type">UDisksPartition</span></a>.</h3>
</div></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="udisks-client-get-partition-info.returns"></a><h4>Returns</h4>
<p>A string that should be freed with <a href="../glib/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="udisks-client-get-size-for-display"></a><h3>udisks_client_get_size_for_display ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
udisks_client_get_size_for_display (<em class="parameter"><code><a class="link" href="UDisksClient.html" title="UDisksClient"><span class="type">UDisksClient</span></a> *client</code></em>,
                                    <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#guint64"><span class="type">guint64</span></a> size</code></em>,
                                    <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> use_pow2</code></em>,
                                    <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> long_string</code></em>);</pre>
<p>Utility function to get a human-readable string that represents <em class="parameter"><code>size</code></em>
.</p>
<div class="refsect3">
<a name="udisks-client-get-size-for-display.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>client</p></td>
<td class="parameter_description"><p>A <a class="link" href="UDisksClient.html" title="UDisksClient"><span class="type">UDisksClient</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>size</p></td>
<td class="parameter_description"><p>Size in bytes</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>use_pow2</p></td>
<td class="parameter_description"><p>Whether power-of-two units should be used instead of power-of-ten units.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>long_string</p></td>
<td class="parameter_description"><p>Whether to produce a long string.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="udisks-client-get-size-for-display.returns"></a><h4>Returns</h4>
<p> A string that should be freed with <a href="../glib/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="udisks-client-get-id-for-display"></a><h3>udisks_client_get_id_for_display ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
udisks_client_get_id_for_display (<em class="parameter"><code><a class="link" href="UDisksClient.html" title="UDisksClient"><span class="type">UDisksClient</span></a> *client</code></em>,
                                  <em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *usage</code></em>,
                                  <em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *type</code></em>,
                                  <em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *version</code></em>,
                                  <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> long_string</code></em>);</pre>
<p>Gets a human readable localized string for <em class="parameter"><code>usage</code></em>
, <em class="parameter"><code>type</code></em>
 and <em class="parameter"><code>version</code></em>
.</p>
<div class="refsect3">
<a name="udisks-client-get-id-for-display.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>client</p></td>
<td class="parameter_description"><p>A <a class="link" href="UDisksClient.html" title="UDisksClient"><span class="type">UDisksClient</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>usage</p></td>
<td class="parameter_description"><p>Usage id e.g. "filesystem" or "crypto".</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>type</p></td>
<td class="parameter_description"><p>Type e.g. "ext4" or "crypto_LUKS"</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>version</p></td>
<td class="parameter_description"><p>Version.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>long_string</p></td>
<td class="parameter_description"><p>Whether to produce a long string.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="udisks-client-get-id-for-display.returns"></a><h4>Returns</h4>
<p> A string that should be freed with <a href="../glib/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="udisks-client-get-media-compat-for-display"></a><h3>udisks_client_get_media_compat_for_display ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
udisks_client_get_media_compat_for_display
                               (<em class="parameter"><code><a class="link" href="UDisksClient.html" title="UDisksClient"><span class="type">UDisksClient</span></a> *client</code></em>,
                                <em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> * const *media_compat</code></em>);</pre>
<p>Gets a human-readable string of the media described by
<em class="parameter"><code>media_compat</code></em>
. The returned information is localized.</p>
<div class="refsect3">
<a name="udisks-client-get-media-compat-for-display.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>client</p></td>
<td class="parameter_description"><p>A <a class="link" href="UDisksClient.html" title="UDisksClient"><span class="type">UDisksClient</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>media_compat</p></td>
<td class="parameter_description"><p>An array of media types.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="udisks-client-get-media-compat-for-display.returns"></a><h4>Returns</h4>
<p> A string that should be freed with <a href="../glib/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a> or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if
unknown.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="udisks-partition-type-info-free"></a><h3>udisks_partition_type_info_free ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
udisks_partition_type_info_free (<em class="parameter"><code><a class="link" href="UDisksClient.html#UDisksPartitionTypeInfo"><span class="type">UDisksPartitionTypeInfo</span></a> *info</code></em>);</pre>
<p>Frees <em class="parameter"><code>info</code></em>
.</p>
<div class="refsect3">
<a name="udisks-partition-type-info-free.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>info</p></td>
<td class="parameter_description"><p>A <a class="link" href="UDisksClient.html#UDisksPartitionTypeInfo"><span class="type">UDisksPartitionTypeInfo</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="udisks-client-get-partition-type-infos"></a><h3>udisks_client_get_partition_type_infos ()</h3>
<pre class="programlisting"><a href="../glib/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *
udisks_client_get_partition_type_infos
                               (<em class="parameter"><code><a class="link" href="UDisksClient.html" title="UDisksClient"><span class="type">UDisksClient</span></a> *client</code></em>,
                                <em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *partition_table_type</code></em>,
                                <em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *partition_table_subtype</code></em>);</pre>
<p>Gets information about all known partition types for <em class="parameter"><code>partition_table_type</code></em>
 and <em class="parameter"><code>partition_table_subtype</code></em>
.</p>
<div class="refsect3">
<a name="udisks-client-get-partition-type-infos.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>client</p></td>
<td class="parameter_description"><p>A <a class="link" href="UDisksClient.html" title="UDisksClient"><span class="type">UDisksClient</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>partition_table_type</p></td>
<td class="parameter_description"><p>A partition table type e.g. 'dos' or 'gpt'.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>partition_table_subtype</p></td>
<td class="parameter_description"><p>A partition table subtype or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to get all known types. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="udisks-client-get-partition-type-infos.returns"></a><h4>Returns</h4>
<p>A list of
<a class="link" href="UDisksClient.html#UDisksPartitionTypeInfo"><span class="type">UDisksPartitionTypeInfo</span></a> instances. The returned list should be freed
with <a href="../glib/glib-Doubly-Linked-Lists.html#g-list-free"><code class="function">g_list_free()</code></a> after freeing each element with <a class="link" href="UDisksClient.html#udisks-partition-type-info-free" title="udisks_partition_type_info_free ()"><code class="function">udisks_partition_type_info_free()</code></a>. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>][<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> UDisksPartitionTypeInfo]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="udisks-client-get-partition-table-subtypes"></a><h3>udisks_client_get_partition_table_subtypes ()</h3>
<pre class="programlisting">const <a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> **
udisks_client_get_partition_table_subtypes
                               (<em class="parameter"><code><a class="link" href="UDisksClient.html" title="UDisksClient"><span class="type">UDisksClient</span></a> *client</code></em>,
                                <em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *partition_table_type</code></em>);</pre>
<p>Gets all known subtypes for <em class="parameter"><code>partition_table_type</code></em>
.</p>
<div class="refsect3">
<a name="udisks-client-get-partition-table-subtypes.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>client</p></td>
<td class="parameter_description"><p>A <a class="link" href="UDisksClient.html" title="UDisksClient"><span class="type">UDisksClient</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>partition_table_type</p></td>
<td class="parameter_description"><p>A partition table type e.g. 'dos' or 'gpt'.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="udisks-client-get-partition-table-subtypes.returns"></a><h4>Returns</h4>
<p>A <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>-terminated array of
strings. Only the container should be freed with <a href="../glib/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>. </p>
<p><span class="annotation">[<acronym title="Free data container after the code is done."><span class="acronym">transfer container</span></acronym>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="udisks-client-get-partition-type-for-display"></a><h3>udisks_client_get_partition_type_for_display ()</h3>
<pre class="programlisting">const <a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
udisks_client_get_partition_type_for_display
                               (<em class="parameter"><code><a class="link" href="UDisksClient.html" title="UDisksClient"><span class="type">UDisksClient</span></a> *client</code></em>,
                                <em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *partition_table_type</code></em>,
                                <em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *partition_type</code></em>);</pre>
<p>Gets a human readable localized string for <em class="parameter"><code>partiton_table_type</code></em>
 and <em class="parameter"><code>partition_type</code></em>
.</p>
<div class="refsect3">
<a name="udisks-client-get-partition-type-for-display.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>client</p></td>
<td class="parameter_description"><p>A <a class="link" href="UDisksClient.html" title="UDisksClient"><span class="type">UDisksClient</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>partition_table_type</p></td>
<td class="parameter_description"><p>A partitioning type e.g. 'dos' or 'gpt'.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>partition_type</p></td>
<td class="parameter_description"><p>A partition type.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="udisks-client-get-partition-type-for-display.returns"></a><h4>Returns</h4>
<p> A description of <em class="parameter"><code>partition_type</code></em>
or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if unknown.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="udisks-client-get-partition-type-and-subtype-for-display"></a><h3>udisks_client_get_partition_type_and_subtype_for_display ()</h3>
<pre class="programlisting">const <a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
udisks_client_get_partition_type_and_subtype_for_display
                               (<em class="parameter"><code><a class="link" href="UDisksClient.html" title="UDisksClient"><span class="type">UDisksClient</span></a> *client</code></em>,
                                <em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *partition_table_type</code></em>,
                                <em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *partition_table_subtype</code></em>,
                                <em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *partition_type</code></em>);</pre>
<p>Like <a class="link" href="UDisksClient.html#udisks-client-get-partition-type-for-display" title="udisks_client_get_partition_type_for_display ()"><code class="function">udisks_client_get_partition_type_for_display()</code></a> but also takes
the partition table subtype into account, if available. This is
useful in scenarios where different subtypes is using the same
partition type.</p>
<div class="refsect3">
<a name="udisks-client-get-partition-type-and-subtype-for-display.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>client</p></td>
<td class="parameter_description"><p>A <a class="link" href="UDisksClient.html" title="UDisksClient"><span class="type">UDisksClient</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>partition_table_type</p></td>
<td class="parameter_description"><p>A partitioning type e.g. 'dos' or 'gpt'.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>partition_table_subtype</p></td>
<td class="parameter_description"><p>A partitioning subtype or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>partition_type</p></td>
<td class="parameter_description"><p>A partition type.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="udisks-client-get-partition-type-and-subtype-for-display.returns"></a><h4>Returns</h4>
<p> A description of <em class="parameter"><code>partition_type</code></em>
or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if unknown.</p>
</div>
<p class="since">Since: 2.1.1</p>
</div>
<hr>
<div class="refsect2">
<a name="udisks-client-get-partition-table-type-for-display"></a><h3>udisks_client_get_partition_table_type_for_display ()</h3>
<pre class="programlisting">const <a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
udisks_client_get_partition_table_type_for_display
                               (<em class="parameter"><code><a class="link" href="UDisksClient.html" title="UDisksClient"><span class="type">UDisksClient</span></a> *client</code></em>,
                                <em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *partition_table_type</code></em>);</pre>
<p>Gets a human readable localized string for <em class="parameter"><code>partition_table_type</code></em>
.</p>
<div class="refsect3">
<a name="udisks-client-get-partition-table-type-for-display.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>client</p></td>
<td class="parameter_description"><p>A <a class="link" href="UDisksClient.html" title="UDisksClient"><span class="type">UDisksClient</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>partition_table_type</p></td>
<td class="parameter_description"><p>A partition table type e.g. 'dos' or 'gpt'.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="udisks-client-get-partition-table-type-for-display.returns"></a><h4>Returns</h4>
<p> A description of <em class="parameter"><code>partition_table_type</code></em>
or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="udisks-client-get-partition-table-subtype-for-display"></a><h3>udisks_client_get_partition_table_subtype_for_display ()</h3>
<pre class="programlisting">const <a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
udisks_client_get_partition_table_subtype_for_display
                               (<em class="parameter"><code><a class="link" href="UDisksClient.html" title="UDisksClient"><span class="type">UDisksClient</span></a> *client</code></em>,
                                <em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *partition_table_type</code></em>,
                                <em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *partition_table_subtype</code></em>);</pre>
<p>Gets a human readable localized string for <em class="parameter"><code>partition_table_type</code></em>
 and <em class="parameter"><code>partition_table_subtype</code></em>
.</p>
<div class="refsect3">
<a name="udisks-client-get-partition-table-subtype-for-display.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>client</p></td>
<td class="parameter_description"><p>A <a class="link" href="UDisksClient.html" title="UDisksClient"><span class="type">UDisksClient</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>partition_table_type</p></td>
<td class="parameter_description"><p>A partition table type e.g. 'dos' or 'gpt'.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>partition_table_subtype</p></td>
<td class="parameter_description"><p>A partition table type e.g. 'dos' or 'gpt'.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="udisks-client-get-partition-table-subtype-for-display.returns"></a><h4>Returns</h4>
<p> A description of <em class="parameter"><code>partition_table_type</code></em>
and <em class="parameter"><code>partition_table_subtype</code></em>
or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</p>
</div>
</div>
</div>
<div class="refsect1">
<a name="UDisksClient.other_details"></a><h2>Types and Values</h2>
<div class="refsect2">
<a name="UDISKS-MAJOR-VERSION:CAPS"></a><h3>UDISKS_MAJOR_VERSION</h3>
<pre class="programlisting">#define UDISKS_MAJOR_VERSION 2
</pre>
<p>The major version of the libudisks2 header files.</p>
</div>
<hr>
<div class="refsect2">
<a name="UDISKS-MINOR-VERSION:CAPS"></a><h3>UDISKS_MINOR_VERSION</h3>
<pre class="programlisting">#define UDISKS_MINOR_VERSION 7
</pre>
<p>The minor version of the libudisks2 header files.</p>
</div>
<hr>
<div class="refsect2">
<a name="UDISKS-MICRO-VERSION:CAPS"></a><h3>UDISKS_MICRO_VERSION</h3>
<pre class="programlisting">#define UDISKS_MICRO_VERSION 6
</pre>
<p>The micro version of the libudisks2 header files.</p>
</div>
<hr>
<div class="refsect2">
<a name="UDisksClient-struct"></a><h3>UDisksClient</h3>
<pre class="programlisting">typedef struct _UDisksClient UDisksClient;</pre>
<p>The <a class="link" href="UDisksClient.html" title="UDisksClient"><span class="type">UDisksClient</span></a> structure contains only private data and should
only be accessed using the provided API.</p>
</div>
<hr>
<div class="refsect2">
<a name="UDisksPartitionTypeInfo-struct"></a><h3>UDisksPartitionTypeInfo</h3>
<pre class="programlisting">typedef struct {
  const gchar                  *table_type;
  const gchar                  *table_subtype;
  const gchar                  *type;
  UDisksPartitionTypeInfoFlags  flags;
} UDisksPartitionTypeInfo;
</pre>
<p>Detailed information about a partition type.</p>
<p><em class="parameter"><code>table_subtype</code></em>
 is used to break the set of partition types for
<em class="parameter"><code>table_type</code></em>
 into a logical subsets. It is typically only used in
user interfaces where the partition type is selected.</p>
<p>This struct may grow in the future without it being considered an
ABI break.</p>
<div class="refsect3">
<a name="UDisksPartitionTypeInfo.members"></a><h4>Members</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="300px" class="struct_members_name">
<col class="struct_members_description">
<col width="200px" class="struct_members_annotations">
</colgroup>
<tbody>
<tr>
<td class="struct_member_name"><p>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *<em class="structfield"><code><a name="UDisksPartitionTypeInfo-struct.table-type"></a>table_type</code></em>;</p></td>
<td class="struct_member_description"><p>A partition table type e.g. 'dos' or 'gpt'</p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *<em class="structfield"><code><a name="UDisksPartitionTypeInfo-struct.table-subtype"></a>table_subtype</code></em>;</p></td>
<td class="struct_member_description"><p>A partition table sub-type.</p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *<em class="structfield"><code><a name="UDisksPartitionTypeInfo-struct.type"></a>type</code></em>;</p></td>
<td class="struct_member_description"><p>A partition type.</p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><a class="link" href="UDisksClient.html#UDisksPartitionTypeInfoFlags" title="enum UDisksPartitionTypeInfoFlags"><span class="type">UDisksPartitionTypeInfoFlags</span></a> <em class="structfield"><code><a name="UDisksPartitionTypeInfo-struct.flags"></a>flags</code></em>;</p></td>
<td class="struct_member_description"><p>Flags from the <a class="link" href="UDisksClient.html#UDisksPartitionTypeInfoFlags" title="enum UDisksPartitionTypeInfoFlags"><span class="type">UDisksPartitionTypeInfoFlags</span></a> enumeration.</p></td>
<td class="struct_member_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="UDisksPartitionTypeInfoFlags"></a><h3>enum UDisksPartitionTypeInfoFlags</h3>
<p>Flags describing a partition type.</p>
<div class="refsect3">
<a name="UDisksPartitionTypeInfoFlags.members"></a><h4>Members</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="300px" class="enum_members_name">
<col class="enum_members_description">
<col width="200px" class="enum_members_annotations">
</colgroup>
<tbody>
<tr>
<td class="enum_member_name"><p><a name="UDISKS-PARTITION-TYPE-INFO-FLAGS-NONE:CAPS"></a>UDISKS_PARTITION_TYPE_INFO_FLAGS_NONE</p></td>
<td class="enum_member_description">
<p>No flags set.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="UDISKS-PARTITION-TYPE-INFO-FLAGS-SWAP:CAPS"></a>UDISKS_PARTITION_TYPE_INFO_FLAGS_SWAP</p></td>
<td class="enum_member_description">
<p>Partition type is used for swap.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="UDISKS-PARTITION-TYPE-INFO-FLAGS-RAID:CAPS"></a>UDISKS_PARTITION_TYPE_INFO_FLAGS_RAID</p></td>
<td class="enum_member_description">
<p>Partition type is used for RAID/LVM or similar.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="UDISKS-PARTITION-TYPE-INFO-FLAGS-HIDDEN:CAPS"></a>UDISKS_PARTITION_TYPE_INFO_FLAGS_HIDDEN</p></td>
<td class="enum_member_description">
<p>Partition type indicates the partition is hidden (e.g. 'dos' type 0x1b "Hidden W95 FAT32"). Note that this is not the same as user-toggleable attributs/flags for a partition.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="UDISKS-PARTITION-TYPE-INFO-FLAGS-CREATE-ONLY:CAPS"></a>UDISKS_PARTITION_TYPE_INFO_FLAGS_CREATE_ONLY</p></td>
<td class="enum_member_description">
<p>Partition type can only be used when creating a partition and e.g. should not be selectable in a "change partition type" user interface (e.g. 'dos' type 0x05, 0x0f and 0x85 for extended partitions).</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="UDISKS-PARTITION-TYPE-INFO-FLAGS-SYSTEM:CAPS"></a>UDISKS_PARTITION_TYPE_INFO_FLAGS_SYSTEM</p></td>
<td class="enum_member_description">
<p>Partition type indicates the partition is part of the system / bootloader (e.g. 'dos' types 0xee, 0xff, 'gpt' types for 'EFI System partition' and 'BIOS Boot partition').</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
</div>
<div class="refsect1">
<a name="UDisksClient.property-details"></a><h2>Property Details</h2>
<div class="refsect2">
<a name="UDisksClient--manager"></a><h3>The <code class="literal">“manager”</code> property</h3>
<pre class="programlisting">  “manager”                  <a class="link" href="UDisksManager.html" title="UDisksManager"><span class="type">UDisksManager</span></a> *</pre>
<p>The <a class="link" href="UDisksManager.html" title="UDisksManager"><span class="type">UDisksManager</span></a> interface on the well-known
<code class="literal">/org/freedesktop/UDisks2/Manager</code> object</p>
<p>Flags: Read</p>
</div>
<hr>
<div class="refsect2">
<a name="UDisksClient--object-manager"></a><h3>The <code class="literal">“object-manager”</code> property</h3>
<pre class="programlisting">  “object-manager”           <a href="../gio/GDBusObjectManager.html#GDBusObjectManager-struct"><span class="type">GDBusObjectManager</span></a> *</pre>
<p>The <a href="../gio/GDBusObjectManager.html#GDBusObjectManager-struct"><span class="type">GDBusObjectManager</span></a> used by the <a class="link" href="UDisksClient.html" title="UDisksClient"><span class="type">UDisksClient</span></a> instance.</p>
<p>Flags: Read</p>
</div>
</div>
<div class="refsect1">
<a name="UDisksClient.signal-details"></a><h2>Signal Details</h2>
<div class="refsect2">
<a name="UDisksClient-changed"></a><h3>The <code class="literal">“changed”</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
user_function (<a class="link" href="UDisksClient.html" title="UDisksClient"><span class="type">UDisksClient</span></a> *client,
               <a href="../glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>      user_data)</pre>
<p>This signal is emitted either when an object or interface is
added or removed a when property has changed. Additionally,
multiple received signals are coalesced into a single signal that
is rate-limited to fire at most every 100ms.</p>
<p>Note that calling <a class="link" href="UDisksClient.html#udisks-client-settle" title="udisks_client_settle ()"><code class="function">udisks_client_settle()</code></a> will cause this signal
to fire if any changes are outstanding.</p>
<p>For greater detail, connect to the
<a href="../gio/GDBusObjectManager.html#GDBusObjectManager-object-added"><span class="type">“object-added”</span></a>,
<a href="../gio/GDBusObjectManager.html#GDBusObjectManager-object-removed"><span class="type">“object-removed”</span></a>,
<a href="../gio/GDBusObjectManager.html#GDBusObjectManager-interface-added"><span class="type">“interface-added”</span></a>,
<a href="../gio/GDBusObjectManager.html#GDBusObjectManager-interface-removed"><span class="type">“interface-removed”</span></a>,
<a href="../gio/GDBusObjectManagerClient.html#GDBusObjectManagerClient-interface-proxy-properties-changed"><span class="type">“interface-proxy-properties-changed”</span></a> and
signals on the <a class="link" href="UDisksClient.html#UDisksClient--object-manager" title="The “object-manager” property"><span class="type">“object-manager”</span></a> object.</p>
<div class="refsect3">
<a name="UDisksClient-changed.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>client</p></td>
<td class="parameter_description"><p>A <a class="link" href="UDisksClient.html" title="UDisksClient"><span class="type">UDisksClient</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>user_data</p></td>
<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p>Flags: <a href="../gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
</div>
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.27</div>
</body>
</html>