| 1 |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
| 2 |
<html> |
| 3 |
<head> |
| 4 |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| 5 |
<title>UDisksPartitionTable: UDisks Reference Manual</title> |
| 6 |
<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot"> |
| 7 |
<link rel="home" href="index.html" title="UDisks Reference Manual"> |
| 8 |
<link rel="up" href="ref-library-generated.html" title="Generated Code"> |
| 9 |
<link rel="prev" href="UDisksPartition.html" title="UDisksPartition"> |
| 10 |
<link rel="next" href="UDisksFilesystem.html" title="UDisksFilesystem"> |
| 11 |
<meta name="generator" content="GTK-Doc V1.35.1 (XML mode)"> |
| 12 |
<link rel="stylesheet" href="style.css" type="text/css"> |
| 13 |
</head> |
| 14 |
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> |
| 15 |
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle"> |
| 16 |
<td width="100%" align="left" class="shortcuts"> |
| 17 |
<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span> |
| 18 |
<a href="#UDisksPartitionTable.description" class="shortcut">Description</a></span><span id="nav_hierarchy"> <span class="dim">|</span> |
| 19 |
<a href="#UDisksPartitionTable.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_interfaces"> <span class="dim">|</span> |
| 20 |
<a href="#UDisksPartitionTable.implemented-interfaces" class="shortcut">Implemented Interfaces</a></span><span id="nav_prerequisites"> <span class="dim">|</span> |
| 21 |
<a href="#UDisksPartitionTable.prerequisites" class="shortcut">Prerequisites</a></span><span id="nav_implementations"> <span class="dim">|</span> |
| 22 |
<a href="#UDisksPartitionTable.implementations" class="shortcut">Known Implementations</a></span> |
| 23 |
</td> |
| 24 |
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td> |
| 25 |
<td><a accesskey="u" href="ref-library-generated.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td> |
| 26 |
<td><a accesskey="p" href="UDisksPartition.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td> |
| 27 |
<td><a accesskey="n" href="UDisksFilesystem.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td> |
| 28 |
</tr></table> |
| 29 |
<div class="refentry"> |
| 30 |
<a name="UDisksPartitionTable"></a><div class="titlepage"></div> |
| 31 |
<div class="refnamediv"><table width="100%"><tr> |
| 32 |
<td valign="top"> |
| 33 |
<h2><span class="refentrytitle"><a name="UDisksPartitionTable.top_of_page"></a>UDisksPartitionTable</span></h2> |
| 34 |
<p>UDisksPartitionTable — Generated C code for the org.freedesktop.UDisks2.PartitionTable D-Bus interface</p> |
| 35 |
</td> |
| 36 |
<td class="gallery_image" valign="top" align="right"></td> |
| 37 |
</tr></table></div> |
| 38 |
<div class="refsect1"> |
| 39 |
<a name="UDisksPartitionTable.functions"></a><h2>Functions</h2> |
| 40 |
<div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 41 |
<colgroup> |
| 42 |
<col width="150px" class="functions_proto_type"> |
| 43 |
<col class="functions_proto_name"> |
| 44 |
</colgroup> |
| 45 |
<tbody> |
| 46 |
<tr> |
| 47 |
<td class="function_type"> |
| 48 |
<span class="returnvalue">GDBusInterfaceInfo</span> * |
| 49 |
</td> |
| 50 |
<td class="function_name"> |
| 51 |
<a class="link" href="UDisksPartitionTable.html#udisks-partition-table-interface-info" title="udisks_partition_table_interface_info ()">udisks_partition_table_interface_info</a> <span class="c_punctuation">()</span> |
| 52 |
</td> |
| 53 |
</tr> |
| 54 |
<tr> |
| 55 |
<td class="function_type"> |
| 56 |
<span class="returnvalue">guint</span> |
| 57 |
</td> |
| 58 |
<td class="function_name"> |
| 59 |
<a class="link" href="UDisksPartitionTable.html#udisks-partition-table-override-properties" title="udisks_partition_table_override_properties ()">udisks_partition_table_override_properties</a> <span class="c_punctuation">()</span> |
| 60 |
</td> |
| 61 |
</tr> |
| 62 |
<tr> |
| 63 |
<td class="function_type"> |
| 64 |
<span class="returnvalue">void</span> |
| 65 |
</td> |
| 66 |
<td class="function_name"> |
| 67 |
<a class="link" href="UDisksPartitionTable.html#udisks-partition-table-call-create-partition" title="udisks_partition_table_call_create_partition ()">udisks_partition_table_call_create_partition</a> <span class="c_punctuation">()</span> |
| 68 |
</td> |
| 69 |
</tr> |
| 70 |
<tr> |
| 71 |
<td class="function_type"> |
| 72 |
<span class="returnvalue">gboolean</span> |
| 73 |
</td> |
| 74 |
<td class="function_name"> |
| 75 |
<a class="link" href="UDisksPartitionTable.html#udisks-partition-table-call-create-partition-finish" title="udisks_partition_table_call_create_partition_finish ()">udisks_partition_table_call_create_partition_finish</a> <span class="c_punctuation">()</span> |
| 76 |
</td> |
| 77 |
</tr> |
| 78 |
<tr> |
| 79 |
<td class="function_type"> |
| 80 |
<span class="returnvalue">gboolean</span> |
| 81 |
</td> |
| 82 |
<td class="function_name"> |
| 83 |
<a class="link" href="UDisksPartitionTable.html#udisks-partition-table-call-create-partition-sync" title="udisks_partition_table_call_create_partition_sync ()">udisks_partition_table_call_create_partition_sync</a> <span class="c_punctuation">()</span> |
| 84 |
</td> |
| 85 |
</tr> |
| 86 |
<tr> |
| 87 |
<td class="function_type"> |
| 88 |
<span class="returnvalue">void</span> |
| 89 |
</td> |
| 90 |
<td class="function_name"> |
| 91 |
<a class="link" href="UDisksPartitionTable.html#udisks-partition-table-complete-create-partition" title="udisks_partition_table_complete_create_partition ()">udisks_partition_table_complete_create_partition</a> <span class="c_punctuation">()</span> |
| 92 |
</td> |
| 93 |
</tr> |
| 94 |
<tr> |
| 95 |
<td class="function_type"> |
| 96 |
<span class="returnvalue">void</span> |
| 97 |
</td> |
| 98 |
<td class="function_name"> |
| 99 |
<a class="link" href="UDisksPartitionTable.html#udisks-partition-table-call-create-partition-and-format" title="udisks_partition_table_call_create_partition_and_format ()">udisks_partition_table_call_create_partition_and_format</a> <span class="c_punctuation">()</span> |
| 100 |
</td> |
| 101 |
</tr> |
| 102 |
<tr> |
| 103 |
<td class="function_type"> |
| 104 |
<span class="returnvalue">gboolean</span> |
| 105 |
</td> |
| 106 |
<td class="function_name"> |
| 107 |
<a class="link" href="UDisksPartitionTable.html#udisks-partition-table-call-create-partition-and-format-finish" title="udisks_partition_table_call_create_partition_and_format_finish ()">udisks_partition_table_call_create_partition_and_format_finish</a> <span class="c_punctuation">()</span> |
| 108 |
</td> |
| 109 |
</tr> |
| 110 |
<tr> |
| 111 |
<td class="function_type"> |
| 112 |
<span class="returnvalue">gboolean</span> |
| 113 |
</td> |
| 114 |
<td class="function_name"> |
| 115 |
<a class="link" href="UDisksPartitionTable.html#udisks-partition-table-call-create-partition-and-format-sync" title="udisks_partition_table_call_create_partition_and_format_sync ()">udisks_partition_table_call_create_partition_and_format_sync</a> <span class="c_punctuation">()</span> |
| 116 |
</td> |
| 117 |
</tr> |
| 118 |
<tr> |
| 119 |
<td class="function_type"> |
| 120 |
<span class="returnvalue">void</span> |
| 121 |
</td> |
| 122 |
<td class="function_name"> |
| 123 |
<a class="link" href="UDisksPartitionTable.html#udisks-partition-table-complete-create-partition-and-format" title="udisks_partition_table_complete_create_partition_and_format ()">udisks_partition_table_complete_create_partition_and_format</a> <span class="c_punctuation">()</span> |
| 124 |
</td> |
| 125 |
</tr> |
| 126 |
<tr> |
| 127 |
<td class="function_type">const <span class="returnvalue">gchar</span> *const * |
| 128 |
</td> |
| 129 |
<td class="function_name"> |
| 130 |
<a class="link" href="UDisksPartitionTable.html#udisks-partition-table-get-partitions" title="udisks_partition_table_get_partitions ()">udisks_partition_table_get_partitions</a> <span class="c_punctuation">()</span> |
| 131 |
</td> |
| 132 |
</tr> |
| 133 |
<tr> |
| 134 |
<td class="function_type"> |
| 135 |
<span class="returnvalue">gchar</span> ** |
| 136 |
</td> |
| 137 |
<td class="function_name"> |
| 138 |
<a class="link" href="UDisksPartitionTable.html#udisks-partition-table-dup-partitions" title="udisks_partition_table_dup_partitions ()">udisks_partition_table_dup_partitions</a> <span class="c_punctuation">()</span> |
| 139 |
</td> |
| 140 |
</tr> |
| 141 |
<tr> |
| 142 |
<td class="function_type"> |
| 143 |
<span class="returnvalue">void</span> |
| 144 |
</td> |
| 145 |
<td class="function_name"> |
| 146 |
<a class="link" href="UDisksPartitionTable.html#udisks-partition-table-set-partitions" title="udisks_partition_table_set_partitions ()">udisks_partition_table_set_partitions</a> <span class="c_punctuation">()</span> |
| 147 |
</td> |
| 148 |
</tr> |
| 149 |
<tr> |
| 150 |
<td class="function_type">const <span class="returnvalue">gchar</span> * |
| 151 |
</td> |
| 152 |
<td class="function_name"> |
| 153 |
<a class="link" href="UDisksPartitionTable.html#udisks-partition-table-get-type-" title="udisks_partition_table_get_type_ ()">udisks_partition_table_get_type_</a> <span class="c_punctuation">()</span> |
| 154 |
</td> |
| 155 |
</tr> |
| 156 |
<tr> |
| 157 |
<td class="function_type"> |
| 158 |
<span class="returnvalue">gchar</span> * |
| 159 |
</td> |
| 160 |
<td class="function_name"> |
| 161 |
<a class="link" href="UDisksPartitionTable.html#udisks-partition-table-dup-type-" title="udisks_partition_table_dup_type_ ()">udisks_partition_table_dup_type_</a> <span class="c_punctuation">()</span> |
| 162 |
</td> |
| 163 |
</tr> |
| 164 |
<tr> |
| 165 |
<td class="function_type"> |
| 166 |
<span class="returnvalue">void</span> |
| 167 |
</td> |
| 168 |
<td class="function_name"> |
| 169 |
<a class="link" href="UDisksPartitionTable.html#udisks-partition-table-set-type-" title="udisks_partition_table_set_type_ ()">udisks_partition_table_set_type_</a> <span class="c_punctuation">()</span> |
| 170 |
</td> |
| 171 |
</tr> |
| 172 |
<tr> |
| 173 |
<td class="function_type"> |
| 174 |
<span class="returnvalue">void</span> |
| 175 |
</td> |
| 176 |
<td class="function_name"> |
| 177 |
<a class="link" href="UDisksPartitionTable.html#udisks-partition-table-proxy-new" title="udisks_partition_table_proxy_new ()">udisks_partition_table_proxy_new</a> <span class="c_punctuation">()</span> |
| 178 |
</td> |
| 179 |
</tr> |
| 180 |
<tr> |
| 181 |
<td class="function_type"> |
| 182 |
<a class="link" href="UDisksPartitionTable.html" title="UDisksPartitionTable"><span class="returnvalue">UDisksPartitionTable</span></a> * |
| 183 |
</td> |
| 184 |
<td class="function_name"> |
| 185 |
<a class="link" href="UDisksPartitionTable.html#udisks-partition-table-proxy-new-finish" title="udisks_partition_table_proxy_new_finish ()">udisks_partition_table_proxy_new_finish</a> <span class="c_punctuation">()</span> |
| 186 |
</td> |
| 187 |
</tr> |
| 188 |
<tr> |
| 189 |
<td class="function_type"> |
| 190 |
<a class="link" href="UDisksPartitionTable.html" title="UDisksPartitionTable"><span class="returnvalue">UDisksPartitionTable</span></a> * |
| 191 |
</td> |
| 192 |
<td class="function_name"> |
| 193 |
<a class="link" href="UDisksPartitionTable.html#udisks-partition-table-proxy-new-sync" title="udisks_partition_table_proxy_new_sync ()">udisks_partition_table_proxy_new_sync</a> <span class="c_punctuation">()</span> |
| 194 |
</td> |
| 195 |
</tr> |
| 196 |
<tr> |
| 197 |
<td class="function_type"> |
| 198 |
<span class="returnvalue">void</span> |
| 199 |
</td> |
| 200 |
<td class="function_name"> |
| 201 |
<a class="link" href="UDisksPartitionTable.html#udisks-partition-table-proxy-new-for-bus" title="udisks_partition_table_proxy_new_for_bus ()">udisks_partition_table_proxy_new_for_bus</a> <span class="c_punctuation">()</span> |
| 202 |
</td> |
| 203 |
</tr> |
| 204 |
<tr> |
| 205 |
<td class="function_type"> |
| 206 |
<a class="link" href="UDisksPartitionTable.html" title="UDisksPartitionTable"><span class="returnvalue">UDisksPartitionTable</span></a> * |
| 207 |
</td> |
| 208 |
<td class="function_name"> |
| 209 |
<a class="link" href="UDisksPartitionTable.html#udisks-partition-table-proxy-new-for-bus-finish" title="udisks_partition_table_proxy_new_for_bus_finish ()">udisks_partition_table_proxy_new_for_bus_finish</a> <span class="c_punctuation">()</span> |
| 210 |
</td> |
| 211 |
</tr> |
| 212 |
<tr> |
| 213 |
<td class="function_type"> |
| 214 |
<a class="link" href="UDisksPartitionTable.html" title="UDisksPartitionTable"><span class="returnvalue">UDisksPartitionTable</span></a> * |
| 215 |
</td> |
| 216 |
<td class="function_name"> |
| 217 |
<a class="link" href="UDisksPartitionTable.html#udisks-partition-table-proxy-new-for-bus-sync" title="udisks_partition_table_proxy_new_for_bus_sync ()">udisks_partition_table_proxy_new_for_bus_sync</a> <span class="c_punctuation">()</span> |
| 218 |
</td> |
| 219 |
</tr> |
| 220 |
<tr> |
| 221 |
<td class="function_type"> |
| 222 |
<a class="link" href="UDisksPartitionTable.html" title="UDisksPartitionTable"><span class="returnvalue">UDisksPartitionTable</span></a> * |
| 223 |
</td> |
| 224 |
<td class="function_name"> |
| 225 |
<a class="link" href="UDisksPartitionTable.html#udisks-partition-table-skeleton-new" title="udisks_partition_table_skeleton_new ()">udisks_partition_table_skeleton_new</a> <span class="c_punctuation">()</span> |
| 226 |
</td> |
| 227 |
</tr> |
| 228 |
</tbody> |
| 229 |
</table></div> |
| 230 |
</div> |
| 231 |
<a name="UDisksPartitionTableSkeleton"></a><div class="refsect1"> |
| 232 |
<a name="UDisksPartitionTable.other"></a><h2>Types and Values</h2> |
| 233 |
<div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 234 |
<colgroup> |
| 235 |
<col width="150px" class="other_proto_type"> |
| 236 |
<col class="other_proto_name"> |
| 237 |
</colgroup> |
| 238 |
<tbody> |
| 239 |
<tr> |
| 240 |
<td class="datatype_keyword"> </td> |
| 241 |
<td class="function_name"><a class="link" href="UDisksPartitionTable.html#UDisksPartitionTable-struct" title="UDisksPartitionTable">UDisksPartitionTable</a></td> |
| 242 |
</tr> |
| 243 |
<tr> |
| 244 |
<td class="datatype_keyword">struct</td> |
| 245 |
<td class="function_name"><a class="link" href="UDisksPartitionTable.html#UDisksPartitionTableIface" title="struct UDisksPartitionTableIface">UDisksPartitionTableIface</a></td> |
| 246 |
</tr> |
| 247 |
<tr> |
| 248 |
<td class="datatype_keyword">struct</td> |
| 249 |
<td class="function_name"><a class="link" href="UDisksPartitionTable.html#UDisksPartitionTableProxy" title="struct UDisksPartitionTableProxy">UDisksPartitionTableProxy</a></td> |
| 250 |
</tr> |
| 251 |
<tr> |
| 252 |
<td class="datatype_keyword">struct</td> |
| 253 |
<td class="function_name"><a class="link" href="UDisksPartitionTable.html#UDisksPartitionTableProxyClass" title="struct UDisksPartitionTableProxyClass">UDisksPartitionTableProxyClass</a></td> |
| 254 |
</tr> |
| 255 |
<tr> |
| 256 |
<td class="datatype_keyword">struct</td> |
| 257 |
<td class="function_name"><a class="link" href="UDisksPartitionTable.html#UDisksPartitionTableSkeleton-struct" title="struct UDisksPartitionTableSkeleton">UDisksPartitionTableSkeleton</a></td> |
| 258 |
</tr> |
| 259 |
<tr> |
| 260 |
<td class="datatype_keyword">struct</td> |
| 261 |
<td class="function_name"><a class="link" href="UDisksPartitionTable.html#UDisksPartitionTableSkeletonClass" title="struct UDisksPartitionTableSkeletonClass">UDisksPartitionTableSkeletonClass</a></td> |
| 262 |
</tr> |
| 263 |
</tbody> |
| 264 |
</table></div> |
| 265 |
</div> |
| 266 |
<div class="refsect1"> |
| 267 |
<a name="UDisksPartitionTable.object-hierarchy"></a><h2>Object Hierarchy</h2> |
| 268 |
<pre class="screen"> <a href="/usr/share/gtk-doc/html/gobject/GTypeModule.html">GInterface</a> |
| 269 |
<span class="lineart">╰──</span> UDisksPartitionTable |
| 270 |
GObject |
| 271 |
<span class="lineart">╰──</span> GDBusInterfaceSkeleton |
| 272 |
<span class="lineart">╰──</span> UDisksPartitionTableSkeleton |
| 273 |
<span class="lineart">╰──</span> <a class="link" href="UDisksLinuxPartitionTable.html" title="UDisksLinuxPartitionTable">UDisksLinuxPartitionTable</a> |
| 274 |
</pre> |
| 275 |
</div> |
| 276 |
<div class="refsect1"> |
| 277 |
<a name="UDisksPartitionTable.prerequisites"></a><h2>Prerequisites</h2> |
| 278 |
<p> |
| 279 |
UDisksPartitionTable requires |
| 280 |
GObject.</p> |
| 281 |
</div> |
| 282 |
<div class="refsect1"> |
| 283 |
<a name="UDisksPartitionTable.implemented-interfaces"></a><h2>Implemented Interfaces</h2> |
| 284 |
<p> |
| 285 |
UDisksPartitionTableSkeleton implements |
| 286 |
GDBusInterface and <a class="link" href="UDisksPartitionTable.html" title="UDisksPartitionTable">UDisksPartitionTable</a>.</p> |
| 287 |
</div> |
| 288 |
<div class="refsect1"> |
| 289 |
<a name="UDisksPartitionTable.implementations"></a><h2>Known Implementations</h2> |
| 290 |
<p> |
| 291 |
UDisksPartitionTable is implemented by |
| 292 |
<a class="link" href="UDisksLinuxPartitionTable.html" title="UDisksLinuxPartitionTable">UDisksLinuxPartitionTable</a> and <a class="link" href="UDisksPartitionTable.html#UDisksPartitionTableSkeleton">UDisksPartitionTableSkeleton</a>.</p> |
| 293 |
</div> |
| 294 |
<div class="refsect1"> |
| 295 |
<a name="UDisksPartitionTable.description"></a><h2>Description</h2> |
| 296 |
<p>This section contains code for working with the <a class="link" href="gdbus-org.freedesktop.UDisks2.PartitionTable.html#gdbus-interface-org-freedesktop-UDisks2-PartitionTable.top_of_page">org.freedesktop.UDisks2.PartitionTable</a> D-Bus interface in C.</p> |
| 297 |
</div> |
| 298 |
<div class="refsect1"> |
| 299 |
<a name="UDisksPartitionTable.functions_details"></a><h2>Functions</h2> |
| 300 |
<div class="refsect2"> |
| 301 |
<a name="udisks-partition-table-interface-info"></a><h3>udisks_partition_table_interface_info ()</h3> |
| 302 |
<pre class="programlisting"><span class="returnvalue">GDBusInterfaceInfo</span> * |
| 303 |
udisks_partition_table_interface_info (<em class="parameter"><code><span class="type">void</span></code></em>);</pre> |
| 304 |
<p>Gets a machine-readable description of the <a class="link" href="gdbus-org.freedesktop.UDisks2.PartitionTable.html#gdbus-interface-org-freedesktop-UDisks2-PartitionTable.top_of_page">org.freedesktop.UDisks2.PartitionTable</a> D-Bus interface.</p> |
| 305 |
<div class="refsect3"> |
| 306 |
<a name="udisks-partition-table-interface-info.returns"></a><h4>Returns</h4> |
| 307 |
<p>A <span class="type">GDBusInterfaceInfo</span>. Do not free. </p> |
| 308 |
<p><span class="annotation">[<acronym title="The data is owned by the callee, which is responsible of freeing it."><span class="acronym">transfer none</span></acronym>]</span></p> |
| 309 |
</div> |
| 310 |
</div> |
| 311 |
<hr> |
| 312 |
<div class="refsect2"> |
| 313 |
<a name="udisks-partition-table-override-properties"></a><h3>udisks_partition_table_override_properties ()</h3> |
| 314 |
<pre class="programlisting"><span class="returnvalue">guint</span> |
| 315 |
udisks_partition_table_override_properties |
| 316 |
(<em class="parameter"><code><span class="type">GObjectClass</span> *klass</code></em>, |
| 317 |
<em class="parameter"><code><span class="type">guint</span> property_id_begin</code></em>);</pre> |
| 318 |
<p>Overrides all <span class="type">GObject</span> properties in the <a class="link" href="UDisksPartitionTable.html" title="UDisksPartitionTable"><span class="type">UDisksPartitionTable</span></a> interface for a concrete class. |
| 319 |
The properties are overridden in the order they are defined.</p> |
| 320 |
<div class="refsect3"> |
| 321 |
<a name="udisks-partition-table-override-properties.parameters"></a><h4>Parameters</h4> |
| 322 |
<div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 323 |
<colgroup> |
| 324 |
<col width="150px" class="parameters_name"> |
| 325 |
<col class="parameters_description"> |
| 326 |
<col width="200px" class="parameters_annotations"> |
| 327 |
</colgroup> |
| 328 |
<tbody> |
| 329 |
<tr> |
| 330 |
<td class="parameter_name"><p>klass</p></td> |
| 331 |
<td class="parameter_description"><p>The class structure for a <span class="type">GObject</span> derived class.</p></td> |
| 332 |
<td class="parameter_annotations"> </td> |
| 333 |
</tr> |
| 334 |
<tr> |
| 335 |
<td class="parameter_name"><p>property_id_begin</p></td> |
| 336 |
<td class="parameter_description"><p>The property id to assign to the first overridden property.</p></td> |
| 337 |
<td class="parameter_annotations"> </td> |
| 338 |
</tr> |
| 339 |
</tbody> |
| 340 |
</table></div> |
| 341 |
</div> |
| 342 |
<div class="refsect3"> |
| 343 |
<a name="udisks-partition-table-override-properties.returns"></a><h4>Returns</h4> |
| 344 |
<p> The last property id.</p> |
| 345 |
</div> |
| 346 |
</div> |
| 347 |
<hr> |
| 348 |
<div class="refsect2"> |
| 349 |
<a name="udisks-partition-table-call-create-partition"></a><h3>udisks_partition_table_call_create_partition ()</h3> |
| 350 |
<pre class="programlisting"><span class="returnvalue">void</span> |
| 351 |
udisks_partition_table_call_create_partition |
| 352 |
(<em class="parameter"><code><a class="link" href="UDisksPartitionTable.html" title="UDisksPartitionTable"><span class="type">UDisksPartitionTable</span></a> *proxy</code></em>, |
| 353 |
<em class="parameter"><code><span class="type">guint64</span> arg_offset</code></em>, |
| 354 |
<em class="parameter"><code><span class="type">guint64</span> arg_size</code></em>, |
| 355 |
<em class="parameter"><code>const <span class="type">gchar</span> *arg_type</code></em>, |
| 356 |
<em class="parameter"><code>const <span class="type">gchar</span> *arg_name</code></em>, |
| 357 |
<em class="parameter"><code><span class="type">GVariant</span> *arg_options</code></em>, |
| 358 |
<em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>, |
| 359 |
<em class="parameter"><code><span class="type">GAsyncReadyCallback</span> callback</code></em>, |
| 360 |
<em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);</pre> |
| 361 |
<p>Asynchronously invokes the <a class="link" href="gdbus-org.freedesktop.UDisks2.PartitionTable.html#gdbus-method-org-freedesktop-UDisks2-PartitionTable.CreatePartition" title="The CreatePartition() method"><code class="function">CreatePartition()</code></a> D-Bus method on <em class="parameter"><code>proxy</code></em> |
| 362 |
. |
| 363 |
When the operation is finished, <em class="parameter"><code>callback</code></em> |
| 364 |
will be invoked in the thread-default main loop of the thread you are calling this method from (see <code class="function">g_main_context_push_thread_default()</code>). |
| 365 |
You can then call <a class="link" href="UDisksPartitionTable.html#udisks-partition-table-call-create-partition-finish" title="udisks_partition_table_call_create_partition_finish ()"><code class="function">udisks_partition_table_call_create_partition_finish()</code></a> to get the result of the operation.</p> |
| 366 |
<p>See <a class="link" href="UDisksPartitionTable.html#udisks-partition-table-call-create-partition-sync" title="udisks_partition_table_call_create_partition_sync ()"><code class="function">udisks_partition_table_call_create_partition_sync()</code></a> for the synchronous, blocking version of this method.</p> |
| 367 |
<div class="refsect3"> |
| 368 |
<a name="udisks-partition-table-call-create-partition.parameters"></a><h4>Parameters</h4> |
| 369 |
<div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 370 |
<colgroup> |
| 371 |
<col width="150px" class="parameters_name"> |
| 372 |
<col class="parameters_description"> |
| 373 |
<col width="200px" class="parameters_annotations"> |
| 374 |
</colgroup> |
| 375 |
<tbody> |
| 376 |
<tr> |
| 377 |
<td class="parameter_name"><p>proxy</p></td> |
| 378 |
<td class="parameter_description"><p>A <a class="link" href="UDisksPartitionTable.html#UDisksPartitionTableProxy" title="struct UDisksPartitionTableProxy"><span class="type">UDisksPartitionTableProxy</span></a>.</p></td> |
| 379 |
<td class="parameter_annotations"> </td> |
| 380 |
</tr> |
| 381 |
<tr> |
| 382 |
<td class="parameter_name"><p>arg_offset</p></td> |
| 383 |
<td class="parameter_description"><p>Argument to pass with the method invocation.</p></td> |
| 384 |
<td class="parameter_annotations"> </td> |
| 385 |
</tr> |
| 386 |
<tr> |
| 387 |
<td class="parameter_name"><p>arg_size</p></td> |
| 388 |
<td class="parameter_description"><p>Argument to pass with the method invocation.</p></td> |
| 389 |
<td class="parameter_annotations"> </td> |
| 390 |
</tr> |
| 391 |
<tr> |
| 392 |
<td class="parameter_name"><p>arg_type</p></td> |
| 393 |
<td class="parameter_description"><p>Argument to pass with the method invocation.</p></td> |
| 394 |
<td class="parameter_annotations"> </td> |
| 395 |
</tr> |
| 396 |
<tr> |
| 397 |
<td class="parameter_name"><p>arg_name</p></td> |
| 398 |
<td class="parameter_description"><p>Argument to pass with the method invocation.</p></td> |
| 399 |
<td class="parameter_annotations"> </td> |
| 400 |
</tr> |
| 401 |
<tr> |
| 402 |
<td class="parameter_name"><p>arg_options</p></td> |
| 403 |
<td class="parameter_description"><p>Argument to pass with the method invocation.</p></td> |
| 404 |
<td class="parameter_annotations"> </td> |
| 405 |
</tr> |
| 406 |
<tr> |
| 407 |
<td class="parameter_name"><p>cancellable</p></td> |
| 408 |
<td class="parameter_description"><p>A <span class="type">GCancellable</span> or <code class="literal">NULL</code>. </p></td> |
| 409 |
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td> |
| 410 |
</tr> |
| 411 |
<tr> |
| 412 |
<td class="parameter_name"><p>callback</p></td> |
| 413 |
<td class="parameter_description"><p>A <span class="type">GAsyncReadyCallback</span> to call when the request is satisfied or <code class="literal">NULL</code>.</p></td> |
| 414 |
<td class="parameter_annotations"> </td> |
| 415 |
</tr> |
| 416 |
<tr> |
| 417 |
<td class="parameter_name"><p>user_data</p></td> |
| 418 |
<td class="parameter_description"><p>User data to pass to <em class="parameter"><code>callback</code></em> |
| 419 |
.</p></td> |
| 420 |
<td class="parameter_annotations"> </td> |
| 421 |
</tr> |
| 422 |
</tbody> |
| 423 |
</table></div> |
| 424 |
</div> |
| 425 |
</div> |
| 426 |
<hr> |
| 427 |
<div class="refsect2"> |
| 428 |
<a name="udisks-partition-table-call-create-partition-finish"></a><h3>udisks_partition_table_call_create_partition_finish ()</h3> |
| 429 |
<pre class="programlisting"><span class="returnvalue">gboolean</span> |
| 430 |
udisks_partition_table_call_create_partition_finish |
| 431 |
(<em class="parameter"><code><a class="link" href="UDisksPartitionTable.html" title="UDisksPartitionTable"><span class="type">UDisksPartitionTable</span></a> *proxy</code></em>, |
| 432 |
<em class="parameter"><code><span class="type">gchar</span> **out_created_partition</code></em>, |
| 433 |
<em class="parameter"><code><span class="type">GAsyncResult</span> *res</code></em>, |
| 434 |
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre> |
| 435 |
<p>Finishes an operation started with <a class="link" href="UDisksPartitionTable.html#udisks-partition-table-call-create-partition" title="udisks_partition_table_call_create_partition ()"><code class="function">udisks_partition_table_call_create_partition()</code></a>.</p> |
| 436 |
<div class="refsect3"> |
| 437 |
<a name="udisks-partition-table-call-create-partition-finish.parameters"></a><h4>Parameters</h4> |
| 438 |
<div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 439 |
<colgroup> |
| 440 |
<col width="150px" class="parameters_name"> |
| 441 |
<col class="parameters_description"> |
| 442 |
<col width="200px" class="parameters_annotations"> |
| 443 |
</colgroup> |
| 444 |
<tbody> |
| 445 |
<tr> |
| 446 |
<td class="parameter_name"><p>proxy</p></td> |
| 447 |
<td class="parameter_description"><p>A <a class="link" href="UDisksPartitionTable.html#UDisksPartitionTableProxy" title="struct UDisksPartitionTableProxy"><span class="type">UDisksPartitionTableProxy</span></a>.</p></td> |
| 448 |
<td class="parameter_annotations"> </td> |
| 449 |
</tr> |
| 450 |
<tr> |
| 451 |
<td class="parameter_name"><p>out_created_partition</p></td> |
| 452 |
<td class="parameter_description"><p>Return location for return parameter or <code class="literal">NULL</code> to ignore. </p></td> |
| 453 |
<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 may be passed instead of a pointer to a location."><span class="acronym">optional</span></acronym>]</span></td> |
| 454 |
</tr> |
| 455 |
<tr> |
| 456 |
<td class="parameter_name"><p>res</p></td> |
| 457 |
<td class="parameter_description"><p>The <span class="type">GAsyncResult</span> obtained from the <span class="type">GAsyncReadyCallback</span> passed to <a class="link" href="UDisksPartitionTable.html#udisks-partition-table-call-create-partition" title="udisks_partition_table_call_create_partition ()"><code class="function">udisks_partition_table_call_create_partition()</code></a>.</p></td> |
| 458 |
<td class="parameter_annotations"> </td> |
| 459 |
</tr> |
| 460 |
<tr> |
| 461 |
<td class="parameter_name"><p>error</p></td> |
| 462 |
<td class="parameter_description"><p>Return location for error or <code class="literal">NULL</code>.</p></td> |
| 463 |
<td class="parameter_annotations"> </td> |
| 464 |
</tr> |
| 465 |
</tbody> |
| 466 |
</table></div> |
| 467 |
</div> |
| 468 |
<div class="refsect3"> |
| 469 |
<a name="udisks-partition-table-call-create-partition-finish.returns"></a><h4>Returns</h4> |
| 470 |
<p><code class="literal">TRUE</code> if the call succeeded, <code class="literal">FALSE</code> if <em class="parameter"><code>error</code></em> |
| 471 |
is set. </p> |
| 472 |
<p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p> |
| 473 |
</div> |
| 474 |
</div> |
| 475 |
<hr> |
| 476 |
<div class="refsect2"> |
| 477 |
<a name="udisks-partition-table-call-create-partition-sync"></a><h3>udisks_partition_table_call_create_partition_sync ()</h3> |
| 478 |
<pre class="programlisting"><span class="returnvalue">gboolean</span> |
| 479 |
udisks_partition_table_call_create_partition_sync |
| 480 |
(<em class="parameter"><code><a class="link" href="UDisksPartitionTable.html" title="UDisksPartitionTable"><span class="type">UDisksPartitionTable</span></a> *proxy</code></em>, |
| 481 |
<em class="parameter"><code><span class="type">guint64</span> arg_offset</code></em>, |
| 482 |
<em class="parameter"><code><span class="type">guint64</span> arg_size</code></em>, |
| 483 |
<em class="parameter"><code>const <span class="type">gchar</span> *arg_type</code></em>, |
| 484 |
<em class="parameter"><code>const <span class="type">gchar</span> *arg_name</code></em>, |
| 485 |
<em class="parameter"><code><span class="type">GVariant</span> *arg_options</code></em>, |
| 486 |
<em class="parameter"><code><span class="type">gchar</span> **out_created_partition</code></em>, |
| 487 |
<em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>, |
| 488 |
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre> |
| 489 |
<p>Synchronously invokes the <a class="link" href="gdbus-org.freedesktop.UDisks2.PartitionTable.html#gdbus-method-org-freedesktop-UDisks2-PartitionTable.CreatePartition" title="The CreatePartition() method"><code class="function">CreatePartition()</code></a> D-Bus method on <em class="parameter"><code>proxy</code></em> |
| 490 |
. The calling thread is blocked until a reply is received.</p> |
| 491 |
<p>See <a class="link" href="UDisksPartitionTable.html#udisks-partition-table-call-create-partition" title="udisks_partition_table_call_create_partition ()"><code class="function">udisks_partition_table_call_create_partition()</code></a> for the asynchronous version of this method.</p> |
| 492 |
<div class="refsect3"> |
| 493 |
<a name="udisks-partition-table-call-create-partition-sync.parameters"></a><h4>Parameters</h4> |
| 494 |
<div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 495 |
<colgroup> |
| 496 |
<col width="150px" class="parameters_name"> |
| 497 |
<col class="parameters_description"> |
| 498 |
<col width="200px" class="parameters_annotations"> |
| 499 |
</colgroup> |
| 500 |
<tbody> |
| 501 |
<tr> |
| 502 |
<td class="parameter_name"><p>proxy</p></td> |
| 503 |
<td class="parameter_description"><p>A <a class="link" href="UDisksPartitionTable.html#UDisksPartitionTableProxy" title="struct UDisksPartitionTableProxy"><span class="type">UDisksPartitionTableProxy</span></a>.</p></td> |
| 504 |
<td class="parameter_annotations"> </td> |
| 505 |
</tr> |
| 506 |
<tr> |
| 507 |
<td class="parameter_name"><p>arg_offset</p></td> |
| 508 |
<td class="parameter_description"><p>Argument to pass with the method invocation.</p></td> |
| 509 |
<td class="parameter_annotations"> </td> |
| 510 |
</tr> |
| 511 |
<tr> |
| 512 |
<td class="parameter_name"><p>arg_size</p></td> |
| 513 |
<td class="parameter_description"><p>Argument to pass with the method invocation.</p></td> |
| 514 |
<td class="parameter_annotations"> </td> |
| 515 |
</tr> |
| 516 |
<tr> |
| 517 |
<td class="parameter_name"><p>arg_type</p></td> |
| 518 |
<td class="parameter_description"><p>Argument to pass with the method invocation.</p></td> |
| 519 |
<td class="parameter_annotations"> </td> |
| 520 |
</tr> |
| 521 |
<tr> |
| 522 |
<td class="parameter_name"><p>arg_name</p></td> |
| 523 |
<td class="parameter_description"><p>Argument to pass with the method invocation.</p></td> |
| 524 |
<td class="parameter_annotations"> </td> |
| 525 |
</tr> |
| 526 |
<tr> |
| 527 |
<td class="parameter_name"><p>arg_options</p></td> |
| 528 |
<td class="parameter_description"><p>Argument to pass with the method invocation.</p></td> |
| 529 |
<td class="parameter_annotations"> </td> |
| 530 |
</tr> |
| 531 |
<tr> |
| 532 |
<td class="parameter_name"><p>out_created_partition</p></td> |
| 533 |
<td class="parameter_description"><p>Return location for return parameter or <code class="literal">NULL</code> to ignore. </p></td> |
| 534 |
<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 may be passed instead of a pointer to a location."><span class="acronym">optional</span></acronym>]</span></td> |
| 535 |
</tr> |
| 536 |
<tr> |
| 537 |
<td class="parameter_name"><p>cancellable</p></td> |
| 538 |
<td class="parameter_description"><p>A <span class="type">GCancellable</span> or <code class="literal">NULL</code>. </p></td> |
| 539 |
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td> |
| 540 |
</tr> |
| 541 |
<tr> |
| 542 |
<td class="parameter_name"><p>error</p></td> |
| 543 |
<td class="parameter_description"><p>Return location for error or <code class="literal">NULL</code>.</p></td> |
| 544 |
<td class="parameter_annotations"> </td> |
| 545 |
</tr> |
| 546 |
</tbody> |
| 547 |
</table></div> |
| 548 |
</div> |
| 549 |
<div class="refsect3"> |
| 550 |
<a name="udisks-partition-table-call-create-partition-sync.returns"></a><h4>Returns</h4> |
| 551 |
<p><code class="literal">TRUE</code> if the call succeeded, <code class="literal">FALSE</code> if <em class="parameter"><code>error</code></em> |
| 552 |
is set. </p> |
| 553 |
<p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p> |
| 554 |
</div> |
| 555 |
</div> |
| 556 |
<hr> |
| 557 |
<div class="refsect2"> |
| 558 |
<a name="udisks-partition-table-complete-create-partition"></a><h3>udisks_partition_table_complete_create_partition ()</h3> |
| 559 |
<pre class="programlisting"><span class="returnvalue">void</span> |
| 560 |
udisks_partition_table_complete_create_partition |
| 561 |
(<em class="parameter"><code><a class="link" href="UDisksPartitionTable.html" title="UDisksPartitionTable"><span class="type">UDisksPartitionTable</span></a> *object</code></em>, |
| 562 |
<em class="parameter"><code><span class="type">GDBusMethodInvocation</span> *invocation</code></em>, |
| 563 |
<em class="parameter"><code>const <span class="type">gchar</span> *created_partition</code></em>);</pre> |
| 564 |
<p>Helper function used in service implementations to finish handling invocations of the <a class="link" href="gdbus-org.freedesktop.UDisks2.PartitionTable.html#gdbus-method-org-freedesktop-UDisks2-PartitionTable.CreatePartition" title="The CreatePartition() method"><code class="function">CreatePartition()</code></a> D-Bus method. If you instead want to finish handling an invocation by returning an error, use <code class="function">g_dbus_method_invocation_return_error()</code> or similar.</p> |
| 565 |
<p>This method will free <em class="parameter"><code>invocation</code></em> |
| 566 |
, you cannot use it afterwards.</p> |
| 567 |
<div class="refsect3"> |
| 568 |
<a name="udisks-partition-table-complete-create-partition.parameters"></a><h4>Parameters</h4> |
| 569 |
<div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 570 |
<colgroup> |
| 571 |
<col width="150px" class="parameters_name"> |
| 572 |
<col class="parameters_description"> |
| 573 |
<col width="200px" class="parameters_annotations"> |
| 574 |
</colgroup> |
| 575 |
<tbody> |
| 576 |
<tr> |
| 577 |
<td class="parameter_name"><p>object</p></td> |
| 578 |
<td class="parameter_description"><p>A <a class="link" href="UDisksPartitionTable.html" title="UDisksPartitionTable"><span class="type">UDisksPartitionTable</span></a>.</p></td> |
| 579 |
<td class="parameter_annotations"> </td> |
| 580 |
</tr> |
| 581 |
<tr> |
| 582 |
<td class="parameter_name"><p>invocation</p></td> |
| 583 |
<td class="parameter_description"><p>A <span class="type">GDBusMethodInvocation</span>. </p></td> |
| 584 |
<td class="parameter_annotations"><span class="annotation">[<acronym title="The caller owns the data, and is responsible for free it."><span class="acronym">transfer full</span></acronym>]</span></td> |
| 585 |
</tr> |
| 586 |
<tr> |
| 587 |
<td class="parameter_name"><p>created_partition</p></td> |
| 588 |
<td class="parameter_description"><p>Parameter to return.</p></td> |
| 589 |
<td class="parameter_annotations"> </td> |
| 590 |
</tr> |
| 591 |
</tbody> |
| 592 |
</table></div> |
| 593 |
</div> |
| 594 |
</div> |
| 595 |
<hr> |
| 596 |
<div class="refsect2"> |
| 597 |
<a name="udisks-partition-table-call-create-partition-and-format"></a><h3>udisks_partition_table_call_create_partition_and_format ()</h3> |
| 598 |
<pre class="programlisting"><span class="returnvalue">void</span> |
| 599 |
udisks_partition_table_call_create_partition_and_format |
| 600 |
(<em class="parameter"><code><a class="link" href="UDisksPartitionTable.html" title="UDisksPartitionTable"><span class="type">UDisksPartitionTable</span></a> *proxy</code></em>, |
| 601 |
<em class="parameter"><code><span class="type">guint64</span> arg_offset</code></em>, |
| 602 |
<em class="parameter"><code><span class="type">guint64</span> arg_size</code></em>, |
| 603 |
<em class="parameter"><code>const <span class="type">gchar</span> *arg_type</code></em>, |
| 604 |
<em class="parameter"><code>const <span class="type">gchar</span> *arg_name</code></em>, |
| 605 |
<em class="parameter"><code><span class="type">GVariant</span> *arg_options</code></em>, |
| 606 |
<em class="parameter"><code>const <span class="type">gchar</span> *arg_format_type</code></em>, |
| 607 |
<em class="parameter"><code><span class="type">GVariant</span> *arg_format_options</code></em>, |
| 608 |
<em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>, |
| 609 |
<em class="parameter"><code><span class="type">GAsyncReadyCallback</span> callback</code></em>, |
| 610 |
<em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);</pre> |
| 611 |
<p>Asynchronously invokes the <a class="link" href="gdbus-org.freedesktop.UDisks2.PartitionTable.html#gdbus-method-org-freedesktop-UDisks2-PartitionTable.CreatePartitionAndFormat" title="The CreatePartitionAndFormat() method"><code class="function">CreatePartitionAndFormat()</code></a> D-Bus method on <em class="parameter"><code>proxy</code></em> |
| 612 |
. |
| 613 |
When the operation is finished, <em class="parameter"><code>callback</code></em> |
| 614 |
will be invoked in the thread-default main loop of the thread you are calling this method from (see <code class="function">g_main_context_push_thread_default()</code>). |
| 615 |
You can then call <a class="link" href="UDisksPartitionTable.html#udisks-partition-table-call-create-partition-and-format-finish" title="udisks_partition_table_call_create_partition_and_format_finish ()"><code class="function">udisks_partition_table_call_create_partition_and_format_finish()</code></a> to get the result of the operation.</p> |
| 616 |
<p>See <a class="link" href="UDisksPartitionTable.html#udisks-partition-table-call-create-partition-and-format-sync" title="udisks_partition_table_call_create_partition_and_format_sync ()"><code class="function">udisks_partition_table_call_create_partition_and_format_sync()</code></a> for the synchronous, blocking version of this method.</p> |
| 617 |
<div class="refsect3"> |
| 618 |
<a name="udisks-partition-table-call-create-partition-and-format.parameters"></a><h4>Parameters</h4> |
| 619 |
<div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 620 |
<colgroup> |
| 621 |
<col width="150px" class="parameters_name"> |
| 622 |
<col class="parameters_description"> |
| 623 |
<col width="200px" class="parameters_annotations"> |
| 624 |
</colgroup> |
| 625 |
<tbody> |
| 626 |
<tr> |
| 627 |
<td class="parameter_name"><p>proxy</p></td> |
| 628 |
<td class="parameter_description"><p>A <a class="link" href="UDisksPartitionTable.html#UDisksPartitionTableProxy" title="struct UDisksPartitionTableProxy"><span class="type">UDisksPartitionTableProxy</span></a>.</p></td> |
| 629 |
<td class="parameter_annotations"> </td> |
| 630 |
</tr> |
| 631 |
<tr> |
| 632 |
<td class="parameter_name"><p>arg_offset</p></td> |
| 633 |
<td class="parameter_description"><p>Argument to pass with the method invocation.</p></td> |
| 634 |
<td class="parameter_annotations"> </td> |
| 635 |
</tr> |
| 636 |
<tr> |
| 637 |
<td class="parameter_name"><p>arg_size</p></td> |
| 638 |
<td class="parameter_description"><p>Argument to pass with the method invocation.</p></td> |
| 639 |
<td class="parameter_annotations"> </td> |
| 640 |
</tr> |
| 641 |
<tr> |
| 642 |
<td class="parameter_name"><p>arg_type</p></td> |
| 643 |
<td class="parameter_description"><p>Argument to pass with the method invocation.</p></td> |
| 644 |
<td class="parameter_annotations"> </td> |
| 645 |
</tr> |
| 646 |
<tr> |
| 647 |
<td class="parameter_name"><p>arg_name</p></td> |
| 648 |
<td class="parameter_description"><p>Argument to pass with the method invocation.</p></td> |
| 649 |
<td class="parameter_annotations"> </td> |
| 650 |
</tr> |
| 651 |
<tr> |
| 652 |
<td class="parameter_name"><p>arg_options</p></td> |
| 653 |
<td class="parameter_description"><p>Argument to pass with the method invocation.</p></td> |
| 654 |
<td class="parameter_annotations"> </td> |
| 655 |
</tr> |
| 656 |
<tr> |
| 657 |
<td class="parameter_name"><p>arg_format_type</p></td> |
| 658 |
<td class="parameter_description"><p>Argument to pass with the method invocation.</p></td> |
| 659 |
<td class="parameter_annotations"> </td> |
| 660 |
</tr> |
| 661 |
<tr> |
| 662 |
<td class="parameter_name"><p>arg_format_options</p></td> |
| 663 |
<td class="parameter_description"><p>Argument to pass with the method invocation.</p></td> |
| 664 |
<td class="parameter_annotations"> </td> |
| 665 |
</tr> |
| 666 |
<tr> |
| 667 |
<td class="parameter_name"><p>cancellable</p></td> |
| 668 |
<td class="parameter_description"><p>A <span class="type">GCancellable</span> or <code class="literal">NULL</code>. </p></td> |
| 669 |
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td> |
| 670 |
</tr> |
| 671 |
<tr> |
| 672 |
<td class="parameter_name"><p>callback</p></td> |
| 673 |
<td class="parameter_description"><p>A <span class="type">GAsyncReadyCallback</span> to call when the request is satisfied or <code class="literal">NULL</code>.</p></td> |
| 674 |
<td class="parameter_annotations"> </td> |
| 675 |
</tr> |
| 676 |
<tr> |
| 677 |
<td class="parameter_name"><p>user_data</p></td> |
| 678 |
<td class="parameter_description"><p>User data to pass to <em class="parameter"><code>callback</code></em> |
| 679 |
.</p></td> |
| 680 |
<td class="parameter_annotations"> </td> |
| 681 |
</tr> |
| 682 |
</tbody> |
| 683 |
</table></div> |
| 684 |
</div> |
| 685 |
</div> |
| 686 |
<hr> |
| 687 |
<div class="refsect2"> |
| 688 |
<a name="udisks-partition-table-call-create-partition-and-format-finish"></a><h3>udisks_partition_table_call_create_partition_and_format_finish ()</h3> |
| 689 |
<pre class="programlisting"><span class="returnvalue">gboolean</span> |
| 690 |
udisks_partition_table_call_create_partition_and_format_finish |
| 691 |
(<em class="parameter"><code><a class="link" href="UDisksPartitionTable.html" title="UDisksPartitionTable"><span class="type">UDisksPartitionTable</span></a> *proxy</code></em>, |
| 692 |
<em class="parameter"><code><span class="type">gchar</span> **out_created_partition</code></em>, |
| 693 |
<em class="parameter"><code><span class="type">GAsyncResult</span> *res</code></em>, |
| 694 |
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre> |
| 695 |
<p>Finishes an operation started with <a class="link" href="UDisksPartitionTable.html#udisks-partition-table-call-create-partition-and-format" title="udisks_partition_table_call_create_partition_and_format ()"><code class="function">udisks_partition_table_call_create_partition_and_format()</code></a>.</p> |
| 696 |
<div class="refsect3"> |
| 697 |
<a name="udisks-partition-table-call-create-partition-and-format-finish.parameters"></a><h4>Parameters</h4> |
| 698 |
<div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 699 |
<colgroup> |
| 700 |
<col width="150px" class="parameters_name"> |
| 701 |
<col class="parameters_description"> |
| 702 |
<col width="200px" class="parameters_annotations"> |
| 703 |
</colgroup> |
| 704 |
<tbody> |
| 705 |
<tr> |
| 706 |
<td class="parameter_name"><p>proxy</p></td> |
| 707 |
<td class="parameter_description"><p>A <a class="link" href="UDisksPartitionTable.html#UDisksPartitionTableProxy" title="struct UDisksPartitionTableProxy"><span class="type">UDisksPartitionTableProxy</span></a>.</p></td> |
| 708 |
<td class="parameter_annotations"> </td> |
| 709 |
</tr> |
| 710 |
<tr> |
| 711 |
<td class="parameter_name"><p>out_created_partition</p></td> |
| 712 |
<td class="parameter_description"><p>Return location for return parameter or <code class="literal">NULL</code> to ignore. </p></td> |
| 713 |
<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 may be passed instead of a pointer to a location."><span class="acronym">optional</span></acronym>]</span></td> |
| 714 |
</tr> |
| 715 |
<tr> |
| 716 |
<td class="parameter_name"><p>res</p></td> |
| 717 |
<td class="parameter_description"><p>The <span class="type">GAsyncResult</span> obtained from the <span class="type">GAsyncReadyCallback</span> passed to <a class="link" href="UDisksPartitionTable.html#udisks-partition-table-call-create-partition-and-format" title="udisks_partition_table_call_create_partition_and_format ()"><code class="function">udisks_partition_table_call_create_partition_and_format()</code></a>.</p></td> |
| 718 |
<td class="parameter_annotations"> </td> |
| 719 |
</tr> |
| 720 |
<tr> |
| 721 |
<td class="parameter_name"><p>error</p></td> |
| 722 |
<td class="parameter_description"><p>Return location for error or <code class="literal">NULL</code>.</p></td> |
| 723 |
<td class="parameter_annotations"> </td> |
| 724 |
</tr> |
| 725 |
</tbody> |
| 726 |
</table></div> |
| 727 |
</div> |
| 728 |
<div class="refsect3"> |
| 729 |
<a name="udisks-partition-table-call-create-partition-and-format-finish.returns"></a><h4>Returns</h4> |
| 730 |
<p><code class="literal">TRUE</code> if the call succeeded, <code class="literal">FALSE</code> if <em class="parameter"><code>error</code></em> |
| 731 |
is set. </p> |
| 732 |
<p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p> |
| 733 |
</div> |
| 734 |
</div> |
| 735 |
<hr> |
| 736 |
<div class="refsect2"> |
| 737 |
<a name="udisks-partition-table-call-create-partition-and-format-sync"></a><h3>udisks_partition_table_call_create_partition_and_format_sync ()</h3> |
| 738 |
<pre class="programlisting"><span class="returnvalue">gboolean</span> |
| 739 |
udisks_partition_table_call_create_partition_and_format_sync |
| 740 |
(<em class="parameter"><code><a class="link" href="UDisksPartitionTable.html" title="UDisksPartitionTable"><span class="type">UDisksPartitionTable</span></a> *proxy</code></em>, |
| 741 |
<em class="parameter"><code><span class="type">guint64</span> arg_offset</code></em>, |
| 742 |
<em class="parameter"><code><span class="type">guint64</span> arg_size</code></em>, |
| 743 |
<em class="parameter"><code>const <span class="type">gchar</span> *arg_type</code></em>, |
| 744 |
<em class="parameter"><code>const <span class="type">gchar</span> *arg_name</code></em>, |
| 745 |
<em class="parameter"><code><span class="type">GVariant</span> *arg_options</code></em>, |
| 746 |
<em class="parameter"><code>const <span class="type">gchar</span> *arg_format_type</code></em>, |
| 747 |
<em class="parameter"><code><span class="type">GVariant</span> *arg_format_options</code></em>, |
| 748 |
<em class="parameter"><code><span class="type">gchar</span> **out_created_partition</code></em>, |
| 749 |
<em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>, |
| 750 |
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre> |
| 751 |
<p>Synchronously invokes the <a class="link" href="gdbus-org.freedesktop.UDisks2.PartitionTable.html#gdbus-method-org-freedesktop-UDisks2-PartitionTable.CreatePartitionAndFormat" title="The CreatePartitionAndFormat() method"><code class="function">CreatePartitionAndFormat()</code></a> D-Bus method on <em class="parameter"><code>proxy</code></em> |
| 752 |
. The calling thread is blocked until a reply is received.</p> |
| 753 |
<p>See <a class="link" href="UDisksPartitionTable.html#udisks-partition-table-call-create-partition-and-format" title="udisks_partition_table_call_create_partition_and_format ()"><code class="function">udisks_partition_table_call_create_partition_and_format()</code></a> for the asynchronous version of this method.</p> |
| 754 |
<div class="refsect3"> |
| 755 |
<a name="udisks-partition-table-call-create-partition-and-format-sync.parameters"></a><h4>Parameters</h4> |
| 756 |
<div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 757 |
<colgroup> |
| 758 |
<col width="150px" class="parameters_name"> |
| 759 |
<col class="parameters_description"> |
| 760 |
<col width="200px" class="parameters_annotations"> |
| 761 |
</colgroup> |
| 762 |
<tbody> |
| 763 |
<tr> |
| 764 |
<td class="parameter_name"><p>proxy</p></td> |
| 765 |
<td class="parameter_description"><p>A <a class="link" href="UDisksPartitionTable.html#UDisksPartitionTableProxy" title="struct UDisksPartitionTableProxy"><span class="type">UDisksPartitionTableProxy</span></a>.</p></td> |
| 766 |
<td class="parameter_annotations"> </td> |
| 767 |
</tr> |
| 768 |
<tr> |
| 769 |
<td class="parameter_name"><p>arg_offset</p></td> |
| 770 |
<td class="parameter_description"><p>Argument to pass with the method invocation.</p></td> |
| 771 |
<td class="parameter_annotations"> </td> |
| 772 |
</tr> |
| 773 |
<tr> |
| 774 |
<td class="parameter_name"><p>arg_size</p></td> |
| 775 |
<td class="parameter_description"><p>Argument to pass with the method invocation.</p></td> |
| 776 |
<td class="parameter_annotations"> </td> |
| 777 |
</tr> |
| 778 |
<tr> |
| 779 |
<td class="parameter_name"><p>arg_type</p></td> |
| 780 |
<td class="parameter_description"><p>Argument to pass with the method invocation.</p></td> |
| 781 |
<td class="parameter_annotations"> </td> |
| 782 |
</tr> |
| 783 |
<tr> |
| 784 |
<td class="parameter_name"><p>arg_name</p></td> |
| 785 |
<td class="parameter_description"><p>Argument to pass with the method invocation.</p></td> |
| 786 |
<td class="parameter_annotations"> </td> |
| 787 |
</tr> |
| 788 |
<tr> |
| 789 |
<td class="parameter_name"><p>arg_options</p></td> |
| 790 |
<td class="parameter_description"><p>Argument to pass with the method invocation.</p></td> |
| 791 |
<td class="parameter_annotations"> </td> |
| 792 |
</tr> |
| 793 |
<tr> |
| 794 |
<td class="parameter_name"><p>arg_format_type</p></td> |
| 795 |
<td class="parameter_description"><p>Argument to pass with the method invocation.</p></td> |
| 796 |
<td class="parameter_annotations"> </td> |
| 797 |
</tr> |
| 798 |
<tr> |
| 799 |
<td class="parameter_name"><p>arg_format_options</p></td> |
| 800 |
<td class="parameter_description"><p>Argument to pass with the method invocation.</p></td> |
| 801 |
<td class="parameter_annotations"> </td> |
| 802 |
</tr> |
| 803 |
<tr> |
| 804 |
<td class="parameter_name"><p>out_created_partition</p></td> |
| 805 |
<td class="parameter_description"><p>Return location for return parameter or <code class="literal">NULL</code> to ignore. </p></td> |
| 806 |
<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 may be passed instead of a pointer to a location."><span class="acronym">optional</span></acronym>]</span></td> |
| 807 |
</tr> |
| 808 |
<tr> |
| 809 |
<td class="parameter_name"><p>cancellable</p></td> |
| 810 |
<td class="parameter_description"><p>A <span class="type">GCancellable</span> or <code class="literal">NULL</code>. </p></td> |
| 811 |
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td> |
| 812 |
</tr> |
| 813 |
<tr> |
| 814 |
<td class="parameter_name"><p>error</p></td> |
| 815 |
<td class="parameter_description"><p>Return location for error or <code class="literal">NULL</code>.</p></td> |
| 816 |
<td class="parameter_annotations"> </td> |
| 817 |
</tr> |
| 818 |
</tbody> |
| 819 |
</table></div> |
| 820 |
</div> |
| 821 |
<div class="refsect3"> |
| 822 |
<a name="udisks-partition-table-call-create-partition-and-format-sync.returns"></a><h4>Returns</h4> |
| 823 |
<p><code class="literal">TRUE</code> if the call succeeded, <code class="literal">FALSE</code> if <em class="parameter"><code>error</code></em> |
| 824 |
is set. </p> |
| 825 |
<p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p> |
| 826 |
</div> |
| 827 |
</div> |
| 828 |
<hr> |
| 829 |
<div class="refsect2"> |
| 830 |
<a name="udisks-partition-table-complete-create-partition-and-format"></a><h3>udisks_partition_table_complete_create_partition_and_format ()</h3> |
| 831 |
<pre class="programlisting"><span class="returnvalue">void</span> |
| 832 |
udisks_partition_table_complete_create_partition_and_format |
| 833 |
(<em class="parameter"><code><a class="link" href="UDisksPartitionTable.html" title="UDisksPartitionTable"><span class="type">UDisksPartitionTable</span></a> *object</code></em>, |
| 834 |
<em class="parameter"><code><span class="type">GDBusMethodInvocation</span> *invocation</code></em>, |
| 835 |
<em class="parameter"><code>const <span class="type">gchar</span> *created_partition</code></em>);</pre> |
| 836 |
<p>Helper function used in service implementations to finish handling invocations of the <a class="link" href="gdbus-org.freedesktop.UDisks2.PartitionTable.html#gdbus-method-org-freedesktop-UDisks2-PartitionTable.CreatePartitionAndFormat" title="The CreatePartitionAndFormat() method"><code class="function">CreatePartitionAndFormat()</code></a> D-Bus method. If you instead want to finish handling an invocation by returning an error, use <code class="function">g_dbus_method_invocation_return_error()</code> or similar.</p> |
| 837 |
<p>This method will free <em class="parameter"><code>invocation</code></em> |
| 838 |
, you cannot use it afterwards.</p> |
| 839 |
<div class="refsect3"> |
| 840 |
<a name="udisks-partition-table-complete-create-partition-and-format.parameters"></a><h4>Parameters</h4> |
| 841 |
<div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 842 |
<colgroup> |
| 843 |
<col width="150px" class="parameters_name"> |
| 844 |
<col class="parameters_description"> |
| 845 |
<col width="200px" class="parameters_annotations"> |
| 846 |
</colgroup> |
| 847 |
<tbody> |
| 848 |
<tr> |
| 849 |
<td class="parameter_name"><p>object</p></td> |
| 850 |
<td class="parameter_description"><p>A <a class="link" href="UDisksPartitionTable.html" title="UDisksPartitionTable"><span class="type">UDisksPartitionTable</span></a>.</p></td> |
| 851 |
<td class="parameter_annotations"> </td> |
| 852 |
</tr> |
| 853 |
<tr> |
| 854 |
<td class="parameter_name"><p>invocation</p></td> |
| 855 |
<td class="parameter_description"><p>A <span class="type">GDBusMethodInvocation</span>. </p></td> |
| 856 |
<td class="parameter_annotations"><span class="annotation">[<acronym title="The caller owns the data, and is responsible for free it."><span class="acronym">transfer full</span></acronym>]</span></td> |
| 857 |
</tr> |
| 858 |
<tr> |
| 859 |
<td class="parameter_name"><p>created_partition</p></td> |
| 860 |
<td class="parameter_description"><p>Parameter to return.</p></td> |
| 861 |
<td class="parameter_annotations"> </td> |
| 862 |
</tr> |
| 863 |
</tbody> |
| 864 |
</table></div> |
| 865 |
</div> |
| 866 |
</div> |
| 867 |
<hr> |
| 868 |
<div class="refsect2"> |
| 869 |
<a name="udisks-partition-table-get-partitions"></a><h3>udisks_partition_table_get_partitions ()</h3> |
| 870 |
<pre class="programlisting">const <span class="returnvalue">gchar</span> *const * |
| 871 |
udisks_partition_table_get_partitions (<em class="parameter"><code><a class="link" href="UDisksPartitionTable.html" title="UDisksPartitionTable"><span class="type">UDisksPartitionTable</span></a> *object</code></em>);</pre> |
| 872 |
<p>Gets the value of the <a class="link" href="gdbus-org.freedesktop.UDisks2.PartitionTable.html#gdbus-property-org-freedesktop-UDisks2-PartitionTable.Partitions" title='The "Partitions" property'>"Partitions"</a> D-Bus property.</p> |
| 873 |
<p>Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.</p> |
| 874 |
<p>The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where <em class="parameter"><code>object</code></em> |
| 875 |
was constructed. Use <a class="link" href="UDisksPartitionTable.html#udisks-partition-table-dup-partitions" title="udisks_partition_table_dup_partitions ()"><code class="function">udisks_partition_table_dup_partitions()</code></a> if on another thread.</p> |
| 876 |
<p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p> |
| 877 |
<div class="refsect3"> |
| 878 |
<a name="udisks-partition-table-get-partitions.parameters"></a><h4>Parameters</h4> |
| 879 |
<div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 880 |
<colgroup> |
| 881 |
<col width="150px" class="parameters_name"> |
| 882 |
<col class="parameters_description"> |
| 883 |
<col width="200px" class="parameters_annotations"> |
| 884 |
</colgroup> |
| 885 |
<tbody><tr> |
| 886 |
<td class="parameter_name"><p>object</p></td> |
| 887 |
<td class="parameter_description"><p>A <a class="link" href="UDisksPartitionTable.html" title="UDisksPartitionTable"><span class="type">UDisksPartitionTable</span></a>.</p></td> |
| 888 |
<td class="parameter_annotations"> </td> |
| 889 |
</tr></tbody> |
| 890 |
</table></div> |
| 891 |
</div> |
| 892 |
<div class="refsect3"> |
| 893 |
<a name="udisks-partition-table-get-partitions.returns"></a><h4>Returns</h4> |
| 894 |
<p>The property value or <code class="literal">NULL</code> if the property is not set. Do not free the returned value, it belongs to <em class="parameter"><code>object</code></em> |
| 895 |
. </p> |
| 896 |
<p><span class="annotation">[<acronym title="The data is owned by the callee, which is responsible of freeing it."><span class="acronym">transfer none</span></acronym>][<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></p> |
| 897 |
</div> |
| 898 |
</div> |
| 899 |
<hr> |
| 900 |
<div class="refsect2"> |
| 901 |
<a name="udisks-partition-table-dup-partitions"></a><h3>udisks_partition_table_dup_partitions ()</h3> |
| 902 |
<pre class="programlisting"><span class="returnvalue">gchar</span> ** |
| 903 |
udisks_partition_table_dup_partitions (<em class="parameter"><code><a class="link" href="UDisksPartitionTable.html" title="UDisksPartitionTable"><span class="type">UDisksPartitionTable</span></a> *object</code></em>);</pre> |
| 904 |
<p>Gets a copy of the <a class="link" href="gdbus-org.freedesktop.UDisks2.PartitionTable.html#gdbus-property-org-freedesktop-UDisks2-PartitionTable.Partitions" title='The "Partitions" property'>"Partitions"</a> D-Bus property.</p> |
| 905 |
<p>Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.</p> |
| 906 |
<p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p> |
| 907 |
<div class="refsect3"> |
| 908 |
<a name="udisks-partition-table-dup-partitions.parameters"></a><h4>Parameters</h4> |
| 909 |
<div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 910 |
<colgroup> |
| 911 |
<col width="150px" class="parameters_name"> |
| 912 |
<col class="parameters_description"> |
| 913 |
<col width="200px" class="parameters_annotations"> |
| 914 |
</colgroup> |
| 915 |
<tbody><tr> |
| 916 |
<td class="parameter_name"><p>object</p></td> |
| 917 |
<td class="parameter_description"><p>A <a class="link" href="UDisksPartitionTable.html" title="UDisksPartitionTable"><span class="type">UDisksPartitionTable</span></a>.</p></td> |
| 918 |
<td class="parameter_annotations"> </td> |
| 919 |
</tr></tbody> |
| 920 |
</table></div> |
| 921 |
</div> |
| 922 |
<div class="refsect3"> |
| 923 |
<a name="udisks-partition-table-dup-partitions.returns"></a><h4>Returns</h4> |
| 924 |
<p>The property value or <code class="literal">NULL</code> if the property is not set. The returned value should be freed with <code class="function">g_strfreev()</code>. </p> |
| 925 |
<p><span class="annotation">[<acronym title="The caller owns the data, and is responsible for free it."><span class="acronym">transfer full</span></acronym>][<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></p> |
| 926 |
</div> |
| 927 |
</div> |
| 928 |
<hr> |
| 929 |
<div class="refsect2"> |
| 930 |
<a name="udisks-partition-table-set-partitions"></a><h3>udisks_partition_table_set_partitions ()</h3> |
| 931 |
<pre class="programlisting"><span class="returnvalue">void</span> |
| 932 |
udisks_partition_table_set_partitions (<em class="parameter"><code><a class="link" href="UDisksPartitionTable.html" title="UDisksPartitionTable"><span class="type">UDisksPartitionTable</span></a> *object</code></em>, |
| 933 |
<em class="parameter"><code>const <span class="type">gchar</span> *const *value</code></em>);</pre> |
| 934 |
<p>Sets the <a class="link" href="gdbus-org.freedesktop.UDisks2.PartitionTable.html#gdbus-property-org-freedesktop-UDisks2-PartitionTable.Partitions" title='The "Partitions" property'>"Partitions"</a> D-Bus property to <em class="parameter"><code>value</code></em> |
| 935 |
.</p> |
| 936 |
<p>Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.</p> |
| 937 |
<p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p> |
| 938 |
<div class="refsect3"> |
| 939 |
<a name="udisks-partition-table-set-partitions.parameters"></a><h4>Parameters</h4> |
| 940 |
<div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 941 |
<colgroup> |
| 942 |
<col width="150px" class="parameters_name"> |
| 943 |
<col class="parameters_description"> |
| 944 |
<col width="200px" class="parameters_annotations"> |
| 945 |
</colgroup> |
| 946 |
<tbody> |
| 947 |
<tr> |
| 948 |
<td class="parameter_name"><p>object</p></td> |
| 949 |
<td class="parameter_description"><p>A <a class="link" href="UDisksPartitionTable.html" title="UDisksPartitionTable"><span class="type">UDisksPartitionTable</span></a>.</p></td> |
| 950 |
<td class="parameter_annotations"> </td> |
| 951 |
</tr> |
| 952 |
<tr> |
| 953 |
<td class="parameter_name"><p>value</p></td> |
| 954 |
<td class="parameter_description"><p>The value to set.</p></td> |
| 955 |
<td class="parameter_annotations"> </td> |
| 956 |
</tr> |
| 957 |
</tbody> |
| 958 |
</table></div> |
| 959 |
</div> |
| 960 |
</div> |
| 961 |
<hr> |
| 962 |
<div class="refsect2"> |
| 963 |
<a name="udisks-partition-table-get-type-"></a><h3>udisks_partition_table_get_type_ ()</h3> |
| 964 |
<pre class="programlisting">const <span class="returnvalue">gchar</span> * |
| 965 |
udisks_partition_table_get_type_ (<em class="parameter"><code><a class="link" href="UDisksPartitionTable.html" title="UDisksPartitionTable"><span class="type">UDisksPartitionTable</span></a> *object</code></em>);</pre> |
| 966 |
<p>Gets the value of the <a class="link" href="gdbus-org.freedesktop.UDisks2.PartitionTable.html#gdbus-property-org-freedesktop-UDisks2-PartitionTable.Type" title='The "Type" property'>"Type"</a> D-Bus property.</p> |
| 967 |
<p>Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.</p> |
| 968 |
<p>The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where <em class="parameter"><code>object</code></em> |
| 969 |
was constructed. Use <a class="link" href="UDisksPartitionTable.html#udisks-partition-table-dup-type-" title="udisks_partition_table_dup_type_ ()"><code class="function">udisks_partition_table_dup_type_()</code></a> if on another thread.</p> |
| 970 |
<p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p> |
| 971 |
<div class="refsect3"> |
| 972 |
<a name="udisks-partition-table-get-type-.parameters"></a><h4>Parameters</h4> |
| 973 |
<div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 974 |
<colgroup> |
| 975 |
<col width="150px" class="parameters_name"> |
| 976 |
<col class="parameters_description"> |
| 977 |
<col width="200px" class="parameters_annotations"> |
| 978 |
</colgroup> |
| 979 |
<tbody><tr> |
| 980 |
<td class="parameter_name"><p>object</p></td> |
| 981 |
<td class="parameter_description"><p>A <a class="link" href="UDisksPartitionTable.html" title="UDisksPartitionTable"><span class="type">UDisksPartitionTable</span></a>.</p></td> |
| 982 |
<td class="parameter_annotations"> </td> |
| 983 |
</tr></tbody> |
| 984 |
</table></div> |
| 985 |
</div> |
| 986 |
<div class="refsect3"> |
| 987 |
<a name="udisks-partition-table-get-type-.returns"></a><h4>Returns</h4> |
| 988 |
<p>The property value or <code class="literal">NULL</code> if the property is not set. Do not free the returned value, it belongs to <em class="parameter"><code>object</code></em> |
| 989 |
. </p> |
| 990 |
<p><span class="annotation">[<acronym title="The data is owned by the callee, which is responsible of freeing it."><span class="acronym">transfer none</span></acronym>][<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></p> |
| 991 |
</div> |
| 992 |
</div> |
| 993 |
<hr> |
| 994 |
<div class="refsect2"> |
| 995 |
<a name="udisks-partition-table-dup-type-"></a><h3>udisks_partition_table_dup_type_ ()</h3> |
| 996 |
<pre class="programlisting"><span class="returnvalue">gchar</span> * |
| 997 |
udisks_partition_table_dup_type_ (<em class="parameter"><code><a class="link" href="UDisksPartitionTable.html" title="UDisksPartitionTable"><span class="type">UDisksPartitionTable</span></a> *object</code></em>);</pre> |
| 998 |
<p>Gets a copy of the <a class="link" href="gdbus-org.freedesktop.UDisks2.PartitionTable.html#gdbus-property-org-freedesktop-UDisks2-PartitionTable.Type" title='The "Type" property'>"Type"</a> D-Bus property.</p> |
| 999 |
<p>Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.</p> |
| 1000 |
<p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p> |
| 1001 |
<div class="refsect3"> |
| 1002 |
<a name="udisks-partition-table-dup-type-.parameters"></a><h4>Parameters</h4> |
| 1003 |
<div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 1004 |
<colgroup> |
| 1005 |
<col width="150px" class="parameters_name"> |
| 1006 |
<col class="parameters_description"> |
| 1007 |
<col width="200px" class="parameters_annotations"> |
| 1008 |
</colgroup> |
| 1009 |
<tbody><tr> |
| 1010 |
<td class="parameter_name"><p>object</p></td> |
| 1011 |
<td class="parameter_description"><p>A <a class="link" href="UDisksPartitionTable.html" title="UDisksPartitionTable"><span class="type">UDisksPartitionTable</span></a>.</p></td> |
| 1012 |
<td class="parameter_annotations"> </td> |
| 1013 |
</tr></tbody> |
| 1014 |
</table></div> |
| 1015 |
</div> |
| 1016 |
<div class="refsect3"> |
| 1017 |
<a name="udisks-partition-table-dup-type-.returns"></a><h4>Returns</h4> |
| 1018 |
<p>The property value or <code class="literal">NULL</code> if the property is not set. The returned value should be freed with <code class="function">g_free()</code>. </p> |
| 1019 |
<p><span class="annotation">[<acronym title="The caller owns the data, and is responsible for free it."><span class="acronym">transfer full</span></acronym>][<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></p> |
| 1020 |
</div> |
| 1021 |
</div> |
| 1022 |
<hr> |
| 1023 |
<div class="refsect2"> |
| 1024 |
<a name="udisks-partition-table-set-type-"></a><h3>udisks_partition_table_set_type_ ()</h3> |
| 1025 |
<pre class="programlisting"><span class="returnvalue">void</span> |
| 1026 |
udisks_partition_table_set_type_ (<em class="parameter"><code><a class="link" href="UDisksPartitionTable.html" title="UDisksPartitionTable"><span class="type">UDisksPartitionTable</span></a> *object</code></em>, |
| 1027 |
<em class="parameter"><code>const <span class="type">gchar</span> *value</code></em>);</pre> |
| 1028 |
<p>Sets the <a class="link" href="gdbus-org.freedesktop.UDisks2.PartitionTable.html#gdbus-property-org-freedesktop-UDisks2-PartitionTable.Type" title='The "Type" property'>"Type"</a> D-Bus property to <em class="parameter"><code>value</code></em> |
| 1029 |
.</p> |
| 1030 |
<p>Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.</p> |
| 1031 |
<p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p> |
| 1032 |
<div class="refsect3"> |
| 1033 |
<a name="udisks-partition-table-set-type-.parameters"></a><h4>Parameters</h4> |
| 1034 |
<div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 1035 |
<colgroup> |
| 1036 |
<col width="150px" class="parameters_name"> |
| 1037 |
<col class="parameters_description"> |
| 1038 |
<col width="200px" class="parameters_annotations"> |
| 1039 |
</colgroup> |
| 1040 |
<tbody> |
| 1041 |
<tr> |
| 1042 |
<td class="parameter_name"><p>object</p></td> |
| 1043 |
<td class="parameter_description"><p>A <a class="link" href="UDisksPartitionTable.html" title="UDisksPartitionTable"><span class="type">UDisksPartitionTable</span></a>.</p></td> |
| 1044 |
<td class="parameter_annotations"> </td> |
| 1045 |
</tr> |
| 1046 |
<tr> |
| 1047 |
<td class="parameter_name"><p>value</p></td> |
| 1048 |
<td class="parameter_description"><p>The value to set.</p></td> |
| 1049 |
<td class="parameter_annotations"> </td> |
| 1050 |
</tr> |
| 1051 |
</tbody> |
| 1052 |
</table></div> |
| 1053 |
</div> |
| 1054 |
</div> |
| 1055 |
<hr> |
| 1056 |
<div class="refsect2"> |
| 1057 |
<a name="udisks-partition-table-proxy-new"></a><h3>udisks_partition_table_proxy_new ()</h3> |
| 1058 |
<pre class="programlisting"><span class="returnvalue">void</span> |
| 1059 |
udisks_partition_table_proxy_new (<em class="parameter"><code><span class="type">GDBusConnection</span> *connection</code></em>, |
| 1060 |
<em class="parameter"><code><span class="type">GDBusProxyFlags</span> flags</code></em>, |
| 1061 |
<em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>, |
| 1062 |
<em class="parameter"><code>const <span class="type">gchar</span> *object_path</code></em>, |
| 1063 |
<em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>, |
| 1064 |
<em class="parameter"><code><span class="type">GAsyncReadyCallback</span> callback</code></em>, |
| 1065 |
<em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);</pre> |
| 1066 |
<p>Asynchronously creates a proxy for the D-Bus interface <a class="link" href="gdbus-org.freedesktop.UDisks2.PartitionTable.html#gdbus-interface-org-freedesktop-UDisks2-PartitionTable.top_of_page">org.freedesktop.UDisks2.PartitionTable</a>. See <code class="function">g_dbus_proxy_new()</code> for more details.</p> |
| 1067 |
<p>When the operation is finished, <em class="parameter"><code>callback</code></em> |
| 1068 |
will be invoked in the thread-default main loop of the thread you are calling this method from (see <code class="function">g_main_context_push_thread_default()</code>). |
| 1069 |
You can then call <a class="link" href="UDisksPartitionTable.html#udisks-partition-table-proxy-new-finish" title="udisks_partition_table_proxy_new_finish ()"><code class="function">udisks_partition_table_proxy_new_finish()</code></a> to get the result of the operation.</p> |
| 1070 |
<p>See <a class="link" href="UDisksPartitionTable.html#udisks-partition-table-proxy-new-sync" title="udisks_partition_table_proxy_new_sync ()"><code class="function">udisks_partition_table_proxy_new_sync()</code></a> for the synchronous, blocking version of this constructor.</p> |
| 1071 |
<div class="refsect3"> |
| 1072 |
<a name="udisks-partition-table-proxy-new.parameters"></a><h4>Parameters</h4> |
| 1073 |
<div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 1074 |
<colgroup> |
| 1075 |
<col width="150px" class="parameters_name"> |
| 1076 |
<col class="parameters_description"> |
| 1077 |
<col width="200px" class="parameters_annotations"> |
| 1078 |
</colgroup> |
| 1079 |
<tbody> |
| 1080 |
<tr> |
| 1081 |
<td class="parameter_name"><p>connection</p></td> |
| 1082 |
<td class="parameter_description"><p>A <span class="type">GDBusConnection</span>.</p></td> |
| 1083 |
<td class="parameter_annotations"> </td> |
| 1084 |
</tr> |
| 1085 |
<tr> |
| 1086 |
<td class="parameter_name"><p>flags</p></td> |
| 1087 |
<td class="parameter_description"><p>Flags from the <span class="type">GDBusProxyFlags</span> enumeration.</p></td> |
| 1088 |
<td class="parameter_annotations"> </td> |
| 1089 |
</tr> |
| 1090 |
<tr> |
| 1091 |
<td class="parameter_name"><p>name</p></td> |
| 1092 |
<td class="parameter_description"><p>A bus name (well-known or unique) or <code class="literal">NULL</code> if <em class="parameter"><code>connection</code></em> |
| 1093 |
is not a message bus connection. </p></td> |
| 1094 |
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td> |
| 1095 |
</tr> |
| 1096 |
<tr> |
| 1097 |
<td class="parameter_name"><p>object_path</p></td> |
| 1098 |
<td class="parameter_description"><p>An object path.</p></td> |
| 1099 |
<td class="parameter_annotations"> </td> |
| 1100 |
</tr> |
| 1101 |
<tr> |
| 1102 |
<td class="parameter_name"><p>cancellable</p></td> |
| 1103 |
<td class="parameter_description"><p>A <span class="type">GCancellable</span> or <code class="literal">NULL</code>. </p></td> |
| 1104 |
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td> |
| 1105 |
</tr> |
| 1106 |
<tr> |
| 1107 |
<td class="parameter_name"><p>callback</p></td> |
| 1108 |
<td class="parameter_description"><p>A <span class="type">GAsyncReadyCallback</span> to call when the request is satisfied.</p></td> |
| 1109 |
<td class="parameter_annotations"> </td> |
| 1110 |
</tr> |
| 1111 |
<tr> |
| 1112 |
<td class="parameter_name"><p>user_data</p></td> |
| 1113 |
<td class="parameter_description"><p>User data to pass to <em class="parameter"><code>callback</code></em> |
| 1114 |
.</p></td> |
| 1115 |
<td class="parameter_annotations"> </td> |
| 1116 |
</tr> |
| 1117 |
</tbody> |
| 1118 |
</table></div> |
| 1119 |
</div> |
| 1120 |
</div> |
| 1121 |
<hr> |
| 1122 |
<div class="refsect2"> |
| 1123 |
<a name="udisks-partition-table-proxy-new-finish"></a><h3>udisks_partition_table_proxy_new_finish ()</h3> |
| 1124 |
<pre class="programlisting"><a class="link" href="UDisksPartitionTable.html" title="UDisksPartitionTable"><span class="returnvalue">UDisksPartitionTable</span></a> * |
| 1125 |
udisks_partition_table_proxy_new_finish |
| 1126 |
(<em class="parameter"><code><span class="type">GAsyncResult</span> *res</code></em>, |
| 1127 |
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre> |
| 1128 |
<p>Finishes an operation started with <a class="link" href="UDisksPartitionTable.html#udisks-partition-table-proxy-new" title="udisks_partition_table_proxy_new ()"><code class="function">udisks_partition_table_proxy_new()</code></a>.</p> |
| 1129 |
<div class="refsect3"> |
| 1130 |
<a name="udisks-partition-table-proxy-new-finish.parameters"></a><h4>Parameters</h4> |
| 1131 |
<div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 1132 |
<colgroup> |
| 1133 |
<col width="150px" class="parameters_name"> |
| 1134 |
<col class="parameters_description"> |
| 1135 |
<col width="200px" class="parameters_annotations"> |
| 1136 |
</colgroup> |
| 1137 |
<tbody> |
| 1138 |
<tr> |
| 1139 |
<td class="parameter_name"><p>res</p></td> |
| 1140 |
<td class="parameter_description"><p>The <span class="type">GAsyncResult</span> obtained from the <span class="type">GAsyncReadyCallback</span> passed to <a class="link" href="UDisksPartitionTable.html#udisks-partition-table-proxy-new" title="udisks_partition_table_proxy_new ()"><code class="function">udisks_partition_table_proxy_new()</code></a>.</p></td> |
| 1141 |
<td class="parameter_annotations"> </td> |
| 1142 |
</tr> |
| 1143 |
<tr> |
| 1144 |
<td class="parameter_name"><p>error</p></td> |
| 1145 |
<td class="parameter_description"><p>Return location for error or <code class="literal">NULL</code></p></td> |
| 1146 |
<td class="parameter_annotations"> </td> |
| 1147 |
</tr> |
| 1148 |
</tbody> |
| 1149 |
</table></div> |
| 1150 |
</div> |
| 1151 |
<div class="refsect3"> |
| 1152 |
<a name="udisks-partition-table-proxy-new-finish.returns"></a><h4>Returns</h4> |
| 1153 |
<p>The constructed proxy object or <code class="literal">NULL</code> if <em class="parameter"><code>error</code></em> |
| 1154 |
is set. </p> |
| 1155 |
<p><span class="annotation">[<acronym title="The caller owns the data, and is responsible for free it."><span class="acronym">transfer full</span></acronym>][<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> UDisksPartitionTableProxy]</span></p> |
| 1156 |
</div> |
| 1157 |
</div> |
| 1158 |
<hr> |
| 1159 |
<div class="refsect2"> |
| 1160 |
<a name="udisks-partition-table-proxy-new-sync"></a><h3>udisks_partition_table_proxy_new_sync ()</h3> |
| 1161 |
<pre class="programlisting"><a class="link" href="UDisksPartitionTable.html" title="UDisksPartitionTable"><span class="returnvalue">UDisksPartitionTable</span></a> * |
| 1162 |
udisks_partition_table_proxy_new_sync (<em class="parameter"><code><span class="type">GDBusConnection</span> *connection</code></em>, |
| 1163 |
<em class="parameter"><code><span class="type">GDBusProxyFlags</span> flags</code></em>, |
| 1164 |
<em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>, |
| 1165 |
<em class="parameter"><code>const <span class="type">gchar</span> *object_path</code></em>, |
| 1166 |
<em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>, |
| 1167 |
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre> |
| 1168 |
<p>Synchronously creates a proxy for the D-Bus interface <a class="link" href="gdbus-org.freedesktop.UDisks2.PartitionTable.html#gdbus-interface-org-freedesktop-UDisks2-PartitionTable.top_of_page">org.freedesktop.UDisks2.PartitionTable</a>. See <code class="function">g_dbus_proxy_new_sync()</code> for more details.</p> |
| 1169 |
<p>The calling thread is blocked until a reply is received.</p> |
| 1170 |
<p>See <a class="link" href="UDisksPartitionTable.html#udisks-partition-table-proxy-new" title="udisks_partition_table_proxy_new ()"><code class="function">udisks_partition_table_proxy_new()</code></a> for the asynchronous version of this constructor.</p> |
| 1171 |
<div class="refsect3"> |
| 1172 |
<a name="udisks-partition-table-proxy-new-sync.parameters"></a><h4>Parameters</h4> |
| 1173 |
<div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 1174 |
<colgroup> |
| 1175 |
<col width="150px" class="parameters_name"> |
| 1176 |
<col class="parameters_description"> |
| 1177 |
<col width="200px" class="parameters_annotations"> |
| 1178 |
</colgroup> |
| 1179 |
<tbody> |
| 1180 |
<tr> |
| 1181 |
<td class="parameter_name"><p>connection</p></td> |
| 1182 |
<td class="parameter_description"><p>A <span class="type">GDBusConnection</span>.</p></td> |
| 1183 |
<td class="parameter_annotations"> </td> |
| 1184 |
</tr> |
| 1185 |
<tr> |
| 1186 |
<td class="parameter_name"><p>flags</p></td> |
| 1187 |
<td class="parameter_description"><p>Flags from the <span class="type">GDBusProxyFlags</span> enumeration.</p></td> |
| 1188 |
<td class="parameter_annotations"> </td> |
| 1189 |
</tr> |
| 1190 |
<tr> |
| 1191 |
<td class="parameter_name"><p>name</p></td> |
| 1192 |
<td class="parameter_description"><p>A bus name (well-known or unique) or <code class="literal">NULL</code> if <em class="parameter"><code>connection</code></em> |
| 1193 |
is not a message bus connection. </p></td> |
| 1194 |
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td> |
| 1195 |
</tr> |
| 1196 |
<tr> |
| 1197 |
<td class="parameter_name"><p>object_path</p></td> |
| 1198 |
<td class="parameter_description"><p>An object path.</p></td> |
| 1199 |
<td class="parameter_annotations"> </td> |
| 1200 |
</tr> |
| 1201 |
<tr> |
| 1202 |
<td class="parameter_name"><p>cancellable</p></td> |
| 1203 |
<td class="parameter_description"><p>A <span class="type">GCancellable</span> or <code class="literal">NULL</code>. </p></td> |
| 1204 |
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td> |
| 1205 |
</tr> |
| 1206 |
<tr> |
| 1207 |
<td class="parameter_name"><p>error</p></td> |
| 1208 |
<td class="parameter_description"><p>Return location for error or <code class="literal">NULL</code></p></td> |
| 1209 |
<td class="parameter_annotations"> </td> |
| 1210 |
</tr> |
| 1211 |
</tbody> |
| 1212 |
</table></div> |
| 1213 |
</div> |
| 1214 |
<div class="refsect3"> |
| 1215 |
<a name="udisks-partition-table-proxy-new-sync.returns"></a><h4>Returns</h4> |
| 1216 |
<p>The constructed proxy object or <code class="literal">NULL</code> if <em class="parameter"><code>error</code></em> |
| 1217 |
is set. </p> |
| 1218 |
<p><span class="annotation">[<acronym title="The caller owns the data, and is responsible for free it."><span class="acronym">transfer full</span></acronym>][<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> UDisksPartitionTableProxy]</span></p> |
| 1219 |
</div> |
| 1220 |
</div> |
| 1221 |
<hr> |
| 1222 |
<div class="refsect2"> |
| 1223 |
<a name="udisks-partition-table-proxy-new-for-bus"></a><h3>udisks_partition_table_proxy_new_for_bus ()</h3> |
| 1224 |
<pre class="programlisting"><span class="returnvalue">void</span> |
| 1225 |
udisks_partition_table_proxy_new_for_bus |
| 1226 |
(<em class="parameter"><code><span class="type">GBusType</span> bus_type</code></em>, |
| 1227 |
<em class="parameter"><code><span class="type">GDBusProxyFlags</span> flags</code></em>, |
| 1228 |
<em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>, |
| 1229 |
<em class="parameter"><code>const <span class="type">gchar</span> *object_path</code></em>, |
| 1230 |
<em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>, |
| 1231 |
<em class="parameter"><code><span class="type">GAsyncReadyCallback</span> callback</code></em>, |
| 1232 |
<em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);</pre> |
| 1233 |
<p>Like <a class="link" href="UDisksPartitionTable.html#udisks-partition-table-proxy-new" title="udisks_partition_table_proxy_new ()"><code class="function">udisks_partition_table_proxy_new()</code></a> but takes a <span class="type">GBusType</span> instead of a <span class="type">GDBusConnection</span>.</p> |
| 1234 |
<p>When the operation is finished, <em class="parameter"><code>callback</code></em> |
| 1235 |
will be invoked in the thread-default main loop of the thread you are calling this method from (see <code class="function">g_main_context_push_thread_default()</code>). |
| 1236 |
You can then call <a class="link" href="UDisksPartitionTable.html#udisks-partition-table-proxy-new-for-bus-finish" title="udisks_partition_table_proxy_new_for_bus_finish ()"><code class="function">udisks_partition_table_proxy_new_for_bus_finish()</code></a> to get the result of the operation.</p> |
| 1237 |
<p>See <a class="link" href="UDisksPartitionTable.html#udisks-partition-table-proxy-new-for-bus-sync" title="udisks_partition_table_proxy_new_for_bus_sync ()"><code class="function">udisks_partition_table_proxy_new_for_bus_sync()</code></a> for the synchronous, blocking version of this constructor.</p> |
| 1238 |
<div class="refsect3"> |
| 1239 |
<a name="udisks-partition-table-proxy-new-for-bus.parameters"></a><h4>Parameters</h4> |
| 1240 |
<div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 1241 |
<colgroup> |
| 1242 |
<col width="150px" class="parameters_name"> |
| 1243 |
<col class="parameters_description"> |
| 1244 |
<col width="200px" class="parameters_annotations"> |
| 1245 |
</colgroup> |
| 1246 |
<tbody> |
| 1247 |
<tr> |
| 1248 |
<td class="parameter_name"><p>bus_type</p></td> |
| 1249 |
<td class="parameter_description"><p>A <span class="type">GBusType</span>.</p></td> |
| 1250 |
<td class="parameter_annotations"> </td> |
| 1251 |
</tr> |
| 1252 |
<tr> |
| 1253 |
<td class="parameter_name"><p>flags</p></td> |
| 1254 |
<td class="parameter_description"><p>Flags from the <span class="type">GDBusProxyFlags</span> enumeration.</p></td> |
| 1255 |
<td class="parameter_annotations"> </td> |
| 1256 |
</tr> |
| 1257 |
<tr> |
| 1258 |
<td class="parameter_name"><p>name</p></td> |
| 1259 |
<td class="parameter_description"><p>A bus name (well-known or unique).</p></td> |
| 1260 |
<td class="parameter_annotations"> </td> |
| 1261 |
</tr> |
| 1262 |
<tr> |
| 1263 |
<td class="parameter_name"><p>object_path</p></td> |
| 1264 |
<td class="parameter_description"><p>An object path.</p></td> |
| 1265 |
<td class="parameter_annotations"> </td> |
| 1266 |
</tr> |
| 1267 |
<tr> |
| 1268 |
<td class="parameter_name"><p>cancellable</p></td> |
| 1269 |
<td class="parameter_description"><p>A <span class="type">GCancellable</span> or <code class="literal">NULL</code>. </p></td> |
| 1270 |
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td> |
| 1271 |
</tr> |
| 1272 |
<tr> |
| 1273 |
<td class="parameter_name"><p>callback</p></td> |
| 1274 |
<td class="parameter_description"><p>A <span class="type">GAsyncReadyCallback</span> to call when the request is satisfied.</p></td> |
| 1275 |
<td class="parameter_annotations"> </td> |
| 1276 |
</tr> |
| 1277 |
<tr> |
| 1278 |
<td class="parameter_name"><p>user_data</p></td> |
| 1279 |
<td class="parameter_description"><p>User data to pass to <em class="parameter"><code>callback</code></em> |
| 1280 |
.</p></td> |
| 1281 |
<td class="parameter_annotations"> </td> |
| 1282 |
</tr> |
| 1283 |
</tbody> |
| 1284 |
</table></div> |
| 1285 |
</div> |
| 1286 |
</div> |
| 1287 |
<hr> |
| 1288 |
<div class="refsect2"> |
| 1289 |
<a name="udisks-partition-table-proxy-new-for-bus-finish"></a><h3>udisks_partition_table_proxy_new_for_bus_finish ()</h3> |
| 1290 |
<pre class="programlisting"><a class="link" href="UDisksPartitionTable.html" title="UDisksPartitionTable"><span class="returnvalue">UDisksPartitionTable</span></a> * |
| 1291 |
udisks_partition_table_proxy_new_for_bus_finish |
| 1292 |
(<em class="parameter"><code><span class="type">GAsyncResult</span> *res</code></em>, |
| 1293 |
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre> |
| 1294 |
<p>Finishes an operation started with <a class="link" href="UDisksPartitionTable.html#udisks-partition-table-proxy-new-for-bus" title="udisks_partition_table_proxy_new_for_bus ()"><code class="function">udisks_partition_table_proxy_new_for_bus()</code></a>.</p> |
| 1295 |
<div class="refsect3"> |
| 1296 |
<a name="udisks-partition-table-proxy-new-for-bus-finish.parameters"></a><h4>Parameters</h4> |
| 1297 |
<div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 1298 |
<colgroup> |
| 1299 |
<col width="150px" class="parameters_name"> |
| 1300 |
<col class="parameters_description"> |
| 1301 |
<col width="200px" class="parameters_annotations"> |
| 1302 |
</colgroup> |
| 1303 |
<tbody> |
| 1304 |
<tr> |
| 1305 |
<td class="parameter_name"><p>res</p></td> |
| 1306 |
<td class="parameter_description"><p>The <span class="type">GAsyncResult</span> obtained from the <span class="type">GAsyncReadyCallback</span> passed to <a class="link" href="UDisksPartitionTable.html#udisks-partition-table-proxy-new-for-bus" title="udisks_partition_table_proxy_new_for_bus ()"><code class="function">udisks_partition_table_proxy_new_for_bus()</code></a>.</p></td> |
| 1307 |
<td class="parameter_annotations"> </td> |
| 1308 |
</tr> |
| 1309 |
<tr> |
| 1310 |
<td class="parameter_name"><p>error</p></td> |
| 1311 |
<td class="parameter_description"><p>Return location for error or <code class="literal">NULL</code></p></td> |
| 1312 |
<td class="parameter_annotations"> </td> |
| 1313 |
</tr> |
| 1314 |
</tbody> |
| 1315 |
</table></div> |
| 1316 |
</div> |
| 1317 |
<div class="refsect3"> |
| 1318 |
<a name="udisks-partition-table-proxy-new-for-bus-finish.returns"></a><h4>Returns</h4> |
| 1319 |
<p>The constructed proxy object or <code class="literal">NULL</code> if <em class="parameter"><code>error</code></em> |
| 1320 |
is set. </p> |
| 1321 |
<p><span class="annotation">[<acronym title="The caller owns the data, and is responsible for free it."><span class="acronym">transfer full</span></acronym>][<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> UDisksPartitionTableProxy]</span></p> |
| 1322 |
</div> |
| 1323 |
</div> |
| 1324 |
<hr> |
| 1325 |
<div class="refsect2"> |
| 1326 |
<a name="udisks-partition-table-proxy-new-for-bus-sync"></a><h3>udisks_partition_table_proxy_new_for_bus_sync ()</h3> |
| 1327 |
<pre class="programlisting"><a class="link" href="UDisksPartitionTable.html" title="UDisksPartitionTable"><span class="returnvalue">UDisksPartitionTable</span></a> * |
| 1328 |
udisks_partition_table_proxy_new_for_bus_sync |
| 1329 |
(<em class="parameter"><code><span class="type">GBusType</span> bus_type</code></em>, |
| 1330 |
<em class="parameter"><code><span class="type">GDBusProxyFlags</span> flags</code></em>, |
| 1331 |
<em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>, |
| 1332 |
<em class="parameter"><code>const <span class="type">gchar</span> *object_path</code></em>, |
| 1333 |
<em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>, |
| 1334 |
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre> |
| 1335 |
<p>Like <a class="link" href="UDisksPartitionTable.html#udisks-partition-table-proxy-new-sync" title="udisks_partition_table_proxy_new_sync ()"><code class="function">udisks_partition_table_proxy_new_sync()</code></a> but takes a <span class="type">GBusType</span> instead of a <span class="type">GDBusConnection</span>.</p> |
| 1336 |
<p>The calling thread is blocked until a reply is received.</p> |
| 1337 |
<p>See <a class="link" href="UDisksPartitionTable.html#udisks-partition-table-proxy-new-for-bus" title="udisks_partition_table_proxy_new_for_bus ()"><code class="function">udisks_partition_table_proxy_new_for_bus()</code></a> for the asynchronous version of this constructor.</p> |
| 1338 |
<div class="refsect3"> |
| 1339 |
<a name="udisks-partition-table-proxy-new-for-bus-sync.parameters"></a><h4>Parameters</h4> |
| 1340 |
<div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 1341 |
<colgroup> |
| 1342 |
<col width="150px" class="parameters_name"> |
| 1343 |
<col class="parameters_description"> |
| 1344 |
<col width="200px" class="parameters_annotations"> |
| 1345 |
</colgroup> |
| 1346 |
<tbody> |
| 1347 |
<tr> |
| 1348 |
<td class="parameter_name"><p>bus_type</p></td> |
| 1349 |
<td class="parameter_description"><p>A <span class="type">GBusType</span>.</p></td> |
| 1350 |
<td class="parameter_annotations"> </td> |
| 1351 |
</tr> |
| 1352 |
<tr> |
| 1353 |
<td class="parameter_name"><p>flags</p></td> |
| 1354 |
<td class="parameter_description"><p>Flags from the <span class="type">GDBusProxyFlags</span> enumeration.</p></td> |
| 1355 |
<td class="parameter_annotations"> </td> |
| 1356 |
</tr> |
| 1357 |
<tr> |
| 1358 |
<td class="parameter_name"><p>name</p></td> |
| 1359 |
<td class="parameter_description"><p>A bus name (well-known or unique).</p></td> |
| 1360 |
<td class="parameter_annotations"> </td> |
| 1361 |
</tr> |
| 1362 |
<tr> |
| 1363 |
<td class="parameter_name"><p>object_path</p></td> |
| 1364 |
<td class="parameter_description"><p>An object path.</p></td> |
| 1365 |
<td class="parameter_annotations"> </td> |
| 1366 |
</tr> |
| 1367 |
<tr> |
| 1368 |
<td class="parameter_name"><p>cancellable</p></td> |
| 1369 |
<td class="parameter_description"><p>A <span class="type">GCancellable</span> or <code class="literal">NULL</code>. </p></td> |
| 1370 |
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td> |
| 1371 |
</tr> |
| 1372 |
<tr> |
| 1373 |
<td class="parameter_name"><p>error</p></td> |
| 1374 |
<td class="parameter_description"><p>Return location for error or <code class="literal">NULL</code></p></td> |
| 1375 |
<td class="parameter_annotations"> </td> |
| 1376 |
</tr> |
| 1377 |
</tbody> |
| 1378 |
</table></div> |
| 1379 |
</div> |
| 1380 |
<div class="refsect3"> |
| 1381 |
<a name="udisks-partition-table-proxy-new-for-bus-sync.returns"></a><h4>Returns</h4> |
| 1382 |
<p>The constructed proxy object or <code class="literal">NULL</code> if <em class="parameter"><code>error</code></em> |
| 1383 |
is set. </p> |
| 1384 |
<p><span class="annotation">[<acronym title="The caller owns the data, and is responsible for free it."><span class="acronym">transfer full</span></acronym>][<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> UDisksPartitionTableProxy]</span></p> |
| 1385 |
</div> |
| 1386 |
</div> |
| 1387 |
<hr> |
| 1388 |
<div class="refsect2"> |
| 1389 |
<a name="udisks-partition-table-skeleton-new"></a><h3>udisks_partition_table_skeleton_new ()</h3> |
| 1390 |
<pre class="programlisting"><a class="link" href="UDisksPartitionTable.html" title="UDisksPartitionTable"><span class="returnvalue">UDisksPartitionTable</span></a> * |
| 1391 |
udisks_partition_table_skeleton_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre> |
| 1392 |
<p>Creates a skeleton object for the D-Bus interface <a class="link" href="gdbus-org.freedesktop.UDisks2.PartitionTable.html#gdbus-interface-org-freedesktop-UDisks2-PartitionTable.top_of_page">org.freedesktop.UDisks2.PartitionTable</a>.</p> |
| 1393 |
<div class="refsect3"> |
| 1394 |
<a name="udisks-partition-table-skeleton-new.returns"></a><h4>Returns</h4> |
| 1395 |
<p>The skeleton object. </p> |
| 1396 |
<p><span class="annotation">[<acronym title="The caller owns the data, and is responsible for free it."><span class="acronym">transfer full</span></acronym>][<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> UDisksPartitionTableSkeleton]</span></p> |
| 1397 |
</div> |
| 1398 |
</div> |
| 1399 |
</div> |
| 1400 |
<div class="refsect1"> |
| 1401 |
<a name="UDisksPartitionTable.other_details"></a><h2>Types and Values</h2> |
| 1402 |
<div class="refsect2"> |
| 1403 |
<a name="UDisksPartitionTable-struct"></a><h3>UDisksPartitionTable</h3> |
| 1404 |
<pre class="programlisting">typedef struct _UDisksPartitionTable UDisksPartitionTable;</pre> |
| 1405 |
<p>Abstract interface type for the D-Bus interface <a class="link" href="gdbus-org.freedesktop.UDisks2.PartitionTable.html#gdbus-interface-org-freedesktop-UDisks2-PartitionTable.top_of_page">org.freedesktop.UDisks2.PartitionTable</a>.</p> |
| 1406 |
</div> |
| 1407 |
<hr> |
| 1408 |
<div class="refsect2"> |
| 1409 |
<a name="UDisksPartitionTableIface"></a><h3>struct UDisksPartitionTableIface</h3> |
| 1410 |
<pre class="programlisting">struct UDisksPartitionTableIface { |
| 1411 |
GTypeInterface parent_iface; |
| 1412 |
|
| 1413 |
gboolean (*handle_create_partition) ( |
| 1414 |
UDisksPartitionTable *object, |
| 1415 |
GDBusMethodInvocation *invocation, |
| 1416 |
guint64 arg_offset, |
| 1417 |
guint64 arg_size, |
| 1418 |
const gchar *arg_type, |
| 1419 |
const gchar *arg_name, |
| 1420 |
GVariant *arg_options); |
| 1421 |
|
| 1422 |
gboolean (*handle_create_partition_and_format) ( |
| 1423 |
UDisksPartitionTable *object, |
| 1424 |
GDBusMethodInvocation *invocation, |
| 1425 |
guint64 arg_offset, |
| 1426 |
guint64 arg_size, |
| 1427 |
const gchar *arg_type, |
| 1428 |
const gchar *arg_name, |
| 1429 |
GVariant *arg_options, |
| 1430 |
const gchar *arg_format_type, |
| 1431 |
GVariant *arg_format_options); |
| 1432 |
|
| 1433 |
const gchar *const * (*get_partitions) (UDisksPartitionTable *object); |
| 1434 |
|
| 1435 |
const gchar * (*get_type_) (UDisksPartitionTable *object); |
| 1436 |
}; |
| 1437 |
</pre> |
| 1438 |
<p>Virtual table for the D-Bus interface <a class="link" href="gdbus-org.freedesktop.UDisks2.PartitionTable.html#gdbus-interface-org-freedesktop-UDisks2-PartitionTable.top_of_page">org.freedesktop.UDisks2.PartitionTable</a>.</p> |
| 1439 |
<div class="refsect3"> |
| 1440 |
<a name="UDisksPartitionTableIface.members"></a><h4>Members</h4> |
| 1441 |
<div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 1442 |
<colgroup> |
| 1443 |
<col width="300px" class="struct_members_name"> |
| 1444 |
<col class="struct_members_description"> |
| 1445 |
<col width="200px" class="struct_members_annotations"> |
| 1446 |
</colgroup> |
| 1447 |
<tbody> |
| 1448 |
<tr> |
| 1449 |
<td class="struct_member_name"><p><span class="type">GTypeInterface</span> <em class="structfield"><code><a name="UDisksPartitionTableIface.parent-iface"></a>parent_iface</code></em>;</p></td> |
| 1450 |
<td class="struct_member_description"><p>The parent interface.</p></td> |
| 1451 |
<td class="struct_member_annotations"> </td> |
| 1452 |
</tr> |
| 1453 |
<tr> |
| 1454 |
<td class="struct_member_name"><p><em class="structfield"><code><a name="UDisksPartitionTableIface.handle-create-partition"></a>handle_create_partition</code></em> ()</p></td> |
| 1455 |
<td class="struct_member_description"><p>Handler for the <span class="type">“handle-create-partition”</span> signal.</p></td> |
| 1456 |
<td class="struct_member_annotations"> </td> |
| 1457 |
</tr> |
| 1458 |
<tr> |
| 1459 |
<td class="struct_member_name"><p><em class="structfield"><code><a name="UDisksPartitionTableIface.handle-create-partition-and-format"></a>handle_create_partition_and_format</code></em> ()</p></td> |
| 1460 |
<td class="struct_member_description"><p>Handler for the <span class="type">“handle-create-partition-and-format”</span> signal.</p></td> |
| 1461 |
<td class="struct_member_annotations"> </td> |
| 1462 |
</tr> |
| 1463 |
<tr> |
| 1464 |
<td class="struct_member_name"><p><em class="structfield"><code><a name="UDisksPartitionTableIface.get-partitions"></a>get_partitions</code></em> ()</p></td> |
| 1465 |
<td class="struct_member_description"><p>Getter for the <span class="type">“partitions”</span> property.</p></td> |
| 1466 |
<td class="struct_member_annotations"> </td> |
| 1467 |
</tr> |
| 1468 |
<tr> |
| 1469 |
<td class="struct_member_name"><p><em class="structfield"><code><a name="UDisksPartitionTableIface.get-type-"></a>get_type_</code></em> ()</p></td> |
| 1470 |
<td class="struct_member_description"><p>Getter for the <span class="type">“type”</span> property.</p></td> |
| 1471 |
<td class="struct_member_annotations"> </td> |
| 1472 |
</tr> |
| 1473 |
</tbody> |
| 1474 |
</table></div> |
| 1475 |
</div> |
| 1476 |
</div> |
| 1477 |
<hr> |
| 1478 |
<div class="refsect2"> |
| 1479 |
<a name="UDisksPartitionTableProxy"></a><h3>struct UDisksPartitionTableProxy</h3> |
| 1480 |
<pre class="programlisting">struct UDisksPartitionTableProxy { |
| 1481 |
}; |
| 1482 |
</pre> |
| 1483 |
<p>The <a class="link" href="UDisksPartitionTable.html#UDisksPartitionTableProxy" title="struct UDisksPartitionTableProxy"><span class="type">UDisksPartitionTableProxy</span></a> structure contains only private data and should only be accessed using the provided API.</p> |
| 1484 |
</div> |
| 1485 |
<hr> |
| 1486 |
<div class="refsect2"> |
| 1487 |
<a name="UDisksPartitionTableProxyClass"></a><h3>struct UDisksPartitionTableProxyClass</h3> |
| 1488 |
<pre class="programlisting">struct UDisksPartitionTableProxyClass { |
| 1489 |
GDBusProxyClass parent_class; |
| 1490 |
}; |
| 1491 |
</pre> |
| 1492 |
<p>Class structure for <a class="link" href="UDisksPartitionTable.html#UDisksPartitionTableProxy" title="struct UDisksPartitionTableProxy"><span class="type">UDisksPartitionTableProxy</span></a>.</p> |
| 1493 |
<div class="refsect3"> |
| 1494 |
<a name="UDisksPartitionTableProxyClass.members"></a><h4>Members</h4> |
| 1495 |
<div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 1496 |
<colgroup> |
| 1497 |
<col width="300px" class="struct_members_name"> |
| 1498 |
<col class="struct_members_description"> |
| 1499 |
<col width="200px" class="struct_members_annotations"> |
| 1500 |
</colgroup> |
| 1501 |
<tbody></tbody> |
| 1502 |
</table></div> |
| 1503 |
</div> |
| 1504 |
</div> |
| 1505 |
<hr> |
| 1506 |
<div class="refsect2"> |
| 1507 |
<a name="UDisksPartitionTableSkeleton-struct"></a><h3>struct UDisksPartitionTableSkeleton</h3> |
| 1508 |
<pre class="programlisting">struct UDisksPartitionTableSkeleton;</pre> |
| 1509 |
<p>The <a class="link" href="UDisksPartitionTable.html#UDisksPartitionTableSkeleton"><span class="type">UDisksPartitionTableSkeleton</span></a> structure contains only private data and should only be accessed using the provided API.</p> |
| 1510 |
</div> |
| 1511 |
<hr> |
| 1512 |
<div class="refsect2"> |
| 1513 |
<a name="UDisksPartitionTableSkeletonClass"></a><h3>struct UDisksPartitionTableSkeletonClass</h3> |
| 1514 |
<pre class="programlisting">struct UDisksPartitionTableSkeletonClass { |
| 1515 |
GDBusInterfaceSkeletonClass parent_class; |
| 1516 |
}; |
| 1517 |
</pre> |
| 1518 |
<p>Class structure for <a class="link" href="UDisksPartitionTable.html#UDisksPartitionTableSkeleton"><span class="type">UDisksPartitionTableSkeleton</span></a>.</p> |
| 1519 |
<div class="refsect3"> |
| 1520 |
<a name="UDisksPartitionTableSkeletonClass.members"></a><h4>Members</h4> |
| 1521 |
<div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 1522 |
<colgroup> |
| 1523 |
<col width="300px" class="struct_members_name"> |
| 1524 |
<col class="struct_members_description"> |
| 1525 |
<col width="200px" class="struct_members_annotations"> |
| 1526 |
</colgroup> |
| 1527 |
<tbody></tbody> |
| 1528 |
</table></div> |
| 1529 |
</div> |
| 1530 |
</div> |
| 1531 |
</div> |
| 1532 |
</div> |
| 1533 |
<div class="footer"> |
| 1534 |
<hr>Generated by GTK-Doc V1.35.1</div> |
| 1535 |
</body> |
| 1536 |
</html> |