203
203
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GDBusMethodInvocation.html"><span class="type">GDBusMethodInvocation</span></a> *invocation</code></em>,
204
204
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GUnixFDList.html"><span class="type">GUnixFDList</span></a> *fd_list</code></em>,
205
205
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-GVariant.html#GVariant"><span class="type">GVariant</span></a> *fd</code></em>);
206
<span class="returnvalue">void</span> <a class="link" href="UDisksBlock.html#udisks-block-call-open-for-benchmark" title="udisks_block_call_open_for_benchmark ()">udisks_block_call_open_for_benchmark</a>
207
(<em class="parameter"><code><a class="link" href="UDisksBlock.html" title="UDisksBlock"><span class="type">UDisksBlock</span></a> *proxy</code></em>,
208
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-GVariant.html#GVariant"><span class="type">GVariant</span></a> *arg_options</code></em>,
209
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GUnixFDList.html"><span class="type">GUnixFDList</span></a> *fd_list</code></em>,
210
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
211
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
212
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);
213
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="UDisksBlock.html#udisks-block-call-open-for-benchmark-finish" title="udisks_block_call_open_for_benchmark_finish ()">udisks_block_call_open_for_benchmark_finish</a>
214
(<em class="parameter"><code><a class="link" href="UDisksBlock.html" title="UDisksBlock"><span class="type">UDisksBlock</span></a> *proxy</code></em>,
215
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-GVariant.html#GVariant"><span class="type">GVariant</span></a> **out_fd</code></em>,
216
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GUnixFDList.html"><span class="type">GUnixFDList</span></a> **out_fd_list</code></em>,
217
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a> *res</code></em>,
218
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
219
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="UDisksBlock.html#udisks-block-call-open-for-benchmark-sync" title="udisks_block_call_open_for_benchmark_sync ()">udisks_block_call_open_for_benchmark_sync</a>
220
(<em class="parameter"><code><a class="link" href="UDisksBlock.html" title="UDisksBlock"><span class="type">UDisksBlock</span></a> *proxy</code></em>,
221
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-GVariant.html#GVariant"><span class="type">GVariant</span></a> *arg_options</code></em>,
222
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GUnixFDList.html"><span class="type">GUnixFDList</span></a> *fd_list</code></em>,
223
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-GVariant.html#GVariant"><span class="type">GVariant</span></a> **out_fd</code></em>,
224
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GUnixFDList.html"><span class="type">GUnixFDList</span></a> **out_fd_list</code></em>,
225
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
226
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
227
<span class="returnvalue">void</span> <a class="link" href="UDisksBlock.html#udisks-block-complete-open-for-benchmark" title="udisks_block_complete_open_for_benchmark ()">udisks_block_complete_open_for_benchmark</a>
228
(<em class="parameter"><code><a class="link" href="UDisksBlock.html" title="UDisksBlock"><span class="type">UDisksBlock</span></a> *object</code></em>,
229
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GDBusMethodInvocation.html"><span class="type">GDBusMethodInvocation</span></a> *invocation</code></em>,
230
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GUnixFDList.html"><span class="type">GUnixFDList</span></a> *fd_list</code></em>,
231
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-GVariant.html#GVariant"><span class="type">GVariant</span></a> *fd</code></em>);
232
<span class="returnvalue">void</span> <a class="link" href="UDisksBlock.html#udisks-block-call-rescan" title="udisks_block_call_rescan ()">udisks_block_call_rescan</a> (<em class="parameter"><code><a class="link" href="UDisksBlock.html" title="UDisksBlock"><span class="type">UDisksBlock</span></a> *proxy</code></em>,
233
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-GVariant.html#GVariant"><span class="type">GVariant</span></a> *arg_options</code></em>,
234
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
235
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
236
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);
237
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="UDisksBlock.html#udisks-block-call-rescan-finish" title="udisks_block_call_rescan_finish ()">udisks_block_call_rescan_finish</a> (<em class="parameter"><code><a class="link" href="UDisksBlock.html" title="UDisksBlock"><span class="type">UDisksBlock</span></a> *proxy</code></em>,
238
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a> *res</code></em>,
239
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
240
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="UDisksBlock.html#udisks-block-call-rescan-sync" title="udisks_block_call_rescan_sync ()">udisks_block_call_rescan_sync</a> (<em class="parameter"><code><a class="link" href="UDisksBlock.html" title="UDisksBlock"><span class="type">UDisksBlock</span></a> *proxy</code></em>,
241
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-GVariant.html#GVariant"><span class="type">GVariant</span></a> *arg_options</code></em>,
242
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
243
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
244
<span class="returnvalue">void</span> <a class="link" href="UDisksBlock.html#udisks-block-complete-rescan" title="udisks_block_complete_rescan ()">udisks_block_complete_rescan</a> (<em class="parameter"><code><a class="link" href="UDisksBlock.html" title="UDisksBlock"><span class="type">UDisksBlock</span></a> *object</code></em>,
245
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GDBusMethodInvocation.html"><span class="type">GDBusMethodInvocation</span></a> *invocation</code></em>);
206
246
<a href="http://library.gnome.org/devel/glib/unstable/glib-GVariant.html#GVariant"><span class="returnvalue">GVariant</span></a> * <a class="link" href="UDisksBlock.html#udisks-block-get-configuration" title="udisks_block_get_configuration ()">udisks_block_get_configuration</a> (<em class="parameter"><code><a class="link" href="UDisksBlock.html" title="UDisksBlock"><span class="type">UDisksBlock</span></a> *object</code></em>);
207
247
const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="UDisksBlock.html#udisks-block-get-crypto-backing-device" title="udisks_block_get_crypto_backing_device ()">udisks_block_get_crypto_backing_device</a>
208
248
(<em class="parameter"><code><a class="link" href="UDisksBlock.html" title="UDisksBlock"><span class="type">UDisksBlock</span></a> *object</code></em>);
1857
1918
<div class="refsect2">
1919
<a name="udisks-block-call-open-for-benchmark"></a><h3>udisks_block_call_open_for_benchmark ()</h3>
1920
<pre class="programlisting"><span class="returnvalue">void</span> udisks_block_call_open_for_benchmark
1921
(<em class="parameter"><code><a class="link" href="UDisksBlock.html" title="UDisksBlock"><span class="type">UDisksBlock</span></a> *proxy</code></em>,
1922
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-GVariant.html#GVariant"><span class="type">GVariant</span></a> *arg_options</code></em>,
1923
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GUnixFDList.html"><span class="type">GUnixFDList</span></a> *fd_list</code></em>,
1924
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
1925
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
1926
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
1928
Asynchronously invokes the <a class="link" href="gdbus-org.freedesktop.UDisks2.Block.html#gdbus-method-org-freedesktop-UDisks2-Block.OpenForBenchmark" title="The OpenForBenchmark() method"><code class="function">OpenForBenchmark()</code></a> D-Bus method on <em class="parameter"><code>proxy</code></em>.
1929
When the operation is finished, <em class="parameter"><code>callback</code></em> will be invoked in the <a href="http://library.gnome.org/devel/glib/unstable/glib-The-Main-Event-Loop.html#g-main-context-push-thread-default">thread-default main loop</a> of the thread you are calling this method from.
1930
You can then call <a class="link" href="UDisksBlock.html#udisks-block-call-open-for-benchmark-finish" title="udisks_block_call_open_for_benchmark_finish ()"><code class="function">udisks_block_call_open_for_benchmark_finish()</code></a> to get the result of the operation.
1933
See <a class="link" href="UDisksBlock.html#udisks-block-call-open-for-benchmark-sync" title="udisks_block_call_open_for_benchmark_sync ()"><code class="function">udisks_block_call_open_for_benchmark_sync()</code></a> for the synchronous, blocking version of this method.
1935
<div class="variablelist"><table border="0">
1936
<col align="left" valign="top">
1939
<td><p><span class="term"><em class="parameter"><code>proxy</code></em> :</span></p></td>
1940
<td>A <a class="link" href="UDisksBlock.html#UDisksBlockProxy"><span class="type">UDisksBlockProxy</span></a>.</td>
1943
<td><p><span class="term"><em class="parameter"><code>arg_options</code></em> :</span></p></td>
1944
<td>Argument to pass with the method invocation.</td>
1947
<td><p><span class="term"><em class="parameter"><code>fd_list</code></em> :</span></p></td>
1948
<td>A <a href="http://library.gnome.org/devel/gio/unstable/GUnixFDList.html"><span class="type">GUnixFDList</span></a> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<a href="http://foldoc.org/allow-none"><span class="acronym">allow-none</span></a>]</span>
1952
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
1953
<td>A <a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<a href="http://foldoc.org/allow-none"><span class="acronym">allow-none</span></a>]</span>
1957
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
1958
<td>A <a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> to call when the request is satisfied or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</td>
1961
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
1962
<td>User data to pass to <em class="parameter"><code>callback</code></em>.</td>
1968
<div class="refsect2">
1969
<a name="udisks-block-call-open-for-benchmark-finish"></a><h3>udisks_block_call_open_for_benchmark_finish ()</h3>
1970
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> udisks_block_call_open_for_benchmark_finish
1971
(<em class="parameter"><code><a class="link" href="UDisksBlock.html" title="UDisksBlock"><span class="type">UDisksBlock</span></a> *proxy</code></em>,
1972
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-GVariant.html#GVariant"><span class="type">GVariant</span></a> **out_fd</code></em>,
1973
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GUnixFDList.html"><span class="type">GUnixFDList</span></a> **out_fd_list</code></em>,
1974
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a> *res</code></em>,
1975
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
1977
Finishes an operation started with <a class="link" href="UDisksBlock.html#udisks-block-call-open-for-benchmark" title="udisks_block_call_open_for_benchmark ()"><code class="function">udisks_block_call_open_for_benchmark()</code></a>.
1979
<div class="variablelist"><table border="0">
1980
<col align="left" valign="top">
1983
<td><p><span class="term"><em class="parameter"><code>proxy</code></em> :</span></p></td>
1984
<td>A <a class="link" href="UDisksBlock.html#UDisksBlockProxy"><span class="type">UDisksBlockProxy</span></a>.</td>
1987
<td><p><span class="term"><em class="parameter"><code>out_fd</code></em> :</span></p></td>
1988
<td>Return location for return parameter or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore. <span class="annotation">[<a href="http://foldoc.org/out"><span class="acronym">out</span></a>]</span>
1992
<td><p><span class="term"><em class="parameter"><code>out_fd_list</code></em> :</span></p></td>
1993
<td>Return location for a <a href="http://library.gnome.org/devel/gio/unstable/GUnixFDList.html"><span class="type">GUnixFDList</span></a> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<a href="http://foldoc.org/out"><span class="acronym">out</span></a>]</span>
1997
<td><p><span class="term"><em class="parameter"><code>res</code></em> :</span></p></td>
1998
<td>The <a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a> obtained from the <a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> passed to <a class="link" href="UDisksBlock.html#udisks-block-call-open-for-benchmark" title="udisks_block_call_open_for_benchmark ()"><code class="function">udisks_block_call_open_for_benchmark()</code></a>.</td>
2001
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
2002
<td>Return location for error or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</td>
2005
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
2007
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the call succeded, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if <em class="parameter"><code>error</code></em> is set. <span class="annotation">[skip]</span>
2014
<div class="refsect2">
2015
<a name="udisks-block-call-open-for-benchmark-sync"></a><h3>udisks_block_call_open_for_benchmark_sync ()</h3>
2016
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> udisks_block_call_open_for_benchmark_sync
2017
(<em class="parameter"><code><a class="link" href="UDisksBlock.html" title="UDisksBlock"><span class="type">UDisksBlock</span></a> *proxy</code></em>,
2018
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-GVariant.html#GVariant"><span class="type">GVariant</span></a> *arg_options</code></em>,
2019
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GUnixFDList.html"><span class="type">GUnixFDList</span></a> *fd_list</code></em>,
2020
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-GVariant.html#GVariant"><span class="type">GVariant</span></a> **out_fd</code></em>,
2021
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GUnixFDList.html"><span class="type">GUnixFDList</span></a> **out_fd_list</code></em>,
2022
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
2023
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
2025
Synchronously invokes the <a class="link" href="gdbus-org.freedesktop.UDisks2.Block.html#gdbus-method-org-freedesktop-UDisks2-Block.OpenForBenchmark" title="The OpenForBenchmark() method"><code class="function">OpenForBenchmark()</code></a> D-Bus method on <em class="parameter"><code>proxy</code></em>. The calling thread is blocked until a reply is received.
2028
See <a class="link" href="UDisksBlock.html#udisks-block-call-open-for-benchmark" title="udisks_block_call_open_for_benchmark ()"><code class="function">udisks_block_call_open_for_benchmark()</code></a> for the asynchronous version of this method.
2030
<div class="variablelist"><table border="0">
2031
<col align="left" valign="top">
2034
<td><p><span class="term"><em class="parameter"><code>proxy</code></em> :</span></p></td>
2035
<td>A <a class="link" href="UDisksBlock.html#UDisksBlockProxy"><span class="type">UDisksBlockProxy</span></a>.</td>
2038
<td><p><span class="term"><em class="parameter"><code>arg_options</code></em> :</span></p></td>
2039
<td>Argument to pass with the method invocation.</td>
2042
<td><p><span class="term"><em class="parameter"><code>fd_list</code></em> :</span></p></td>
2043
<td>A <a href="http://library.gnome.org/devel/gio/unstable/GUnixFDList.html"><span class="type">GUnixFDList</span></a> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<a href="http://foldoc.org/allow-none"><span class="acronym">allow-none</span></a>]</span>
2047
<td><p><span class="term"><em class="parameter"><code>out_fd</code></em> :</span></p></td>
2048
<td>Return location for return parameter or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore. <span class="annotation">[<a href="http://foldoc.org/out"><span class="acronym">out</span></a>]</span>
2052
<td><p><span class="term"><em class="parameter"><code>out_fd_list</code></em> :</span></p></td>
2053
<td>Return location for a <a href="http://library.gnome.org/devel/gio/unstable/GUnixFDList.html"><span class="type">GUnixFDList</span></a> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<a href="http://foldoc.org/out"><span class="acronym">out</span></a>]</span>
2057
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
2058
<td>A <a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<a href="http://foldoc.org/allow-none"><span class="acronym">allow-none</span></a>]</span>
2062
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
2063
<td>Return location for error or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</td>
2066
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
2068
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the call succeded, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if <em class="parameter"><code>error</code></em> is set. <span class="annotation">[skip]</span>
2075
<div class="refsect2">
2076
<a name="udisks-block-complete-open-for-benchmark"></a><h3>udisks_block_complete_open_for_benchmark ()</h3>
2077
<pre class="programlisting"><span class="returnvalue">void</span> udisks_block_complete_open_for_benchmark
2078
(<em class="parameter"><code><a class="link" href="UDisksBlock.html" title="UDisksBlock"><span class="type">UDisksBlock</span></a> *object</code></em>,
2079
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GDBusMethodInvocation.html"><span class="type">GDBusMethodInvocation</span></a> *invocation</code></em>,
2080
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GUnixFDList.html"><span class="type">GUnixFDList</span></a> *fd_list</code></em>,
2081
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-GVariant.html#GVariant"><span class="type">GVariant</span></a> *fd</code></em>);</pre>
2083
Helper function used in service implementations to finish handling invocations of the <a class="link" href="gdbus-org.freedesktop.UDisks2.Block.html#gdbus-method-org-freedesktop-UDisks2-Block.OpenForBenchmark" title="The OpenForBenchmark() method"><code class="function">OpenForBenchmark()</code></a> D-Bus method. If you instead want to finish handling an invocation by returning an error, use <a href="http://library.gnome.org/devel/gio/unstable/GDBusMethodInvocation.html#g-dbus-method-invocation-return-error"><code class="function">g_dbus_method_invocation_return_error()</code></a> or similar.
2086
This method will free <em class="parameter"><code>invocation</code></em>, you cannot use it afterwards.
2088
<div class="variablelist"><table border="0">
2089
<col align="left" valign="top">
2092
<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td>
2093
<td>A <a class="link" href="UDisksBlock.html" title="UDisksBlock"><span class="type">UDisksBlock</span></a>.</td>
2096
<td><p><span class="term"><em class="parameter"><code>invocation</code></em> :</span></p></td>
2097
<td>A <a href="http://library.gnome.org/devel/gio/unstable/GDBusMethodInvocation.html"><span class="type">GDBusMethodInvocation</span></a>. <span class="annotation">[<a href="http://foldoc.org/transfer%20full"><span class="acronym">transfer full</span></a>]</span>
2101
<td><p><span class="term"><em class="parameter"><code>fd_list</code></em> :</span></p></td>
2102
<td>A <a href="http://library.gnome.org/devel/gio/unstable/GUnixFDList.html"><span class="type">GUnixFDList</span></a> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<a href="http://foldoc.org/allow-none"><span class="acronym">allow-none</span></a>]</span>
2106
<td><p><span class="term"><em class="parameter"><code>fd</code></em> :</span></p></td>
2107
<td>Parameter to return.</td>
2113
<div class="refsect2">
2114
<a name="udisks-block-call-rescan"></a><h3>udisks_block_call_rescan ()</h3>
2115
<pre class="programlisting"><span class="returnvalue">void</span> udisks_block_call_rescan (<em class="parameter"><code><a class="link" href="UDisksBlock.html" title="UDisksBlock"><span class="type">UDisksBlock</span></a> *proxy</code></em>,
2116
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-GVariant.html#GVariant"><span class="type">GVariant</span></a> *arg_options</code></em>,
2117
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
2118
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
2119
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
2121
Asynchronously invokes the <a class="link" href="gdbus-org.freedesktop.UDisks2.Block.html#gdbus-method-org-freedesktop-UDisks2-Block.Rescan" title="The Rescan() method"><code class="function">Rescan()</code></a> D-Bus method on <em class="parameter"><code>proxy</code></em>.
2122
When the operation is finished, <em class="parameter"><code>callback</code></em> will be invoked in the <a href="http://library.gnome.org/devel/glib/unstable/glib-The-Main-Event-Loop.html#g-main-context-push-thread-default">thread-default main loop</a> of the thread you are calling this method from.
2123
You can then call <a class="link" href="UDisksBlock.html#udisks-block-call-rescan-finish" title="udisks_block_call_rescan_finish ()"><code class="function">udisks_block_call_rescan_finish()</code></a> to get the result of the operation.
2126
See <a class="link" href="UDisksBlock.html#udisks-block-call-rescan-sync" title="udisks_block_call_rescan_sync ()"><code class="function">udisks_block_call_rescan_sync()</code></a> for the synchronous, blocking version of this method.
2128
<div class="variablelist"><table border="0">
2129
<col align="left" valign="top">
2132
<td><p><span class="term"><em class="parameter"><code>proxy</code></em> :</span></p></td>
2133
<td>A <a class="link" href="UDisksBlock.html#UDisksBlockProxy"><span class="type">UDisksBlockProxy</span></a>.</td>
2136
<td><p><span class="term"><em class="parameter"><code>arg_options</code></em> :</span></p></td>
2137
<td>Argument to pass with the method invocation.</td>
2140
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
2141
<td>A <a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<a href="http://foldoc.org/allow-none"><span class="acronym">allow-none</span></a>]</span>
2145
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
2146
<td>A <a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> to call when the request is satisfied or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</td>
2149
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
2150
<td>User data to pass to <em class="parameter"><code>callback</code></em>.</td>
2156
<div class="refsect2">
2157
<a name="udisks-block-call-rescan-finish"></a><h3>udisks_block_call_rescan_finish ()</h3>
2158
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> udisks_block_call_rescan_finish (<em class="parameter"><code><a class="link" href="UDisksBlock.html" title="UDisksBlock"><span class="type">UDisksBlock</span></a> *proxy</code></em>,
2159
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a> *res</code></em>,
2160
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
2162
Finishes an operation started with <a class="link" href="UDisksBlock.html#udisks-block-call-rescan" title="udisks_block_call_rescan ()"><code class="function">udisks_block_call_rescan()</code></a>.
2164
<div class="variablelist"><table border="0">
2165
<col align="left" valign="top">
2168
<td><p><span class="term"><em class="parameter"><code>proxy</code></em> :</span></p></td>
2169
<td>A <a class="link" href="UDisksBlock.html#UDisksBlockProxy"><span class="type">UDisksBlockProxy</span></a>.</td>
2172
<td><p><span class="term"><em class="parameter"><code>res</code></em> :</span></p></td>
2173
<td>The <a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a> obtained from the <a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> passed to <a class="link" href="UDisksBlock.html#udisks-block-call-rescan" title="udisks_block_call_rescan ()"><code class="function">udisks_block_call_rescan()</code></a>.</td>
2176
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
2177
<td>Return location for error or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</td>
2180
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
2182
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the call succeded, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if <em class="parameter"><code>error</code></em> is set. <span class="annotation">[skip]</span>
2189
<div class="refsect2">
2190
<a name="udisks-block-call-rescan-sync"></a><h3>udisks_block_call_rescan_sync ()</h3>
2191
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> udisks_block_call_rescan_sync (<em class="parameter"><code><a class="link" href="UDisksBlock.html" title="UDisksBlock"><span class="type">UDisksBlock</span></a> *proxy</code></em>,
2192
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-GVariant.html#GVariant"><span class="type">GVariant</span></a> *arg_options</code></em>,
2193
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
2194
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
2196
Synchronously invokes the <a class="link" href="gdbus-org.freedesktop.UDisks2.Block.html#gdbus-method-org-freedesktop-UDisks2-Block.Rescan" title="The Rescan() method"><code class="function">Rescan()</code></a> D-Bus method on <em class="parameter"><code>proxy</code></em>. The calling thread is blocked until a reply is received.
2199
See <a class="link" href="UDisksBlock.html#udisks-block-call-rescan" title="udisks_block_call_rescan ()"><code class="function">udisks_block_call_rescan()</code></a> for the asynchronous version of this method.
2201
<div class="variablelist"><table border="0">
2202
<col align="left" valign="top">
2205
<td><p><span class="term"><em class="parameter"><code>proxy</code></em> :</span></p></td>
2206
<td>A <a class="link" href="UDisksBlock.html#UDisksBlockProxy"><span class="type">UDisksBlockProxy</span></a>.</td>
2209
<td><p><span class="term"><em class="parameter"><code>arg_options</code></em> :</span></p></td>
2210
<td>Argument to pass with the method invocation.</td>
2213
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
2214
<td>A <a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<a href="http://foldoc.org/allow-none"><span class="acronym">allow-none</span></a>]</span>
2218
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
2219
<td>Return location for error or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</td>
2222
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
2224
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the call succeded, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if <em class="parameter"><code>error</code></em> is set. <span class="annotation">[skip]</span>
2231
<div class="refsect2">
2232
<a name="udisks-block-complete-rescan"></a><h3>udisks_block_complete_rescan ()</h3>
2233
<pre class="programlisting"><span class="returnvalue">void</span> udisks_block_complete_rescan (<em class="parameter"><code><a class="link" href="UDisksBlock.html" title="UDisksBlock"><span class="type">UDisksBlock</span></a> *object</code></em>,
2234
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GDBusMethodInvocation.html"><span class="type">GDBusMethodInvocation</span></a> *invocation</code></em>);</pre>
2236
Helper function used in service implementations to finish handling invocations of the <a class="link" href="gdbus-org.freedesktop.UDisks2.Block.html#gdbus-method-org-freedesktop-UDisks2-Block.Rescan" title="The Rescan() method"><code class="function">Rescan()</code></a> D-Bus method. If you instead want to finish handling an invocation by returning an error, use <a href="http://library.gnome.org/devel/gio/unstable/GDBusMethodInvocation.html#g-dbus-method-invocation-return-error"><code class="function">g_dbus_method_invocation_return_error()</code></a> or similar.
2239
This method will free <em class="parameter"><code>invocation</code></em>, you cannot use it afterwards.
2241
<div class="variablelist"><table border="0">
2242
<col align="left" valign="top">
2245
<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td>
2246
<td>A <a class="link" href="UDisksBlock.html" title="UDisksBlock"><span class="type">UDisksBlock</span></a>.</td>
2249
<td><p><span class="term"><em class="parameter"><code>invocation</code></em> :</span></p></td>
2250
<td>A <a href="http://library.gnome.org/devel/gio/unstable/GDBusMethodInvocation.html"><span class="type">GDBusMethodInvocation</span></a>. <span class="annotation">[<a href="http://foldoc.org/transfer%20full"><span class="acronym">transfer full</span></a>]</span>
2257
<div class="refsect2">
1858
2258
<a name="udisks-block-get-configuration"></a><h3>udisks_block_get_configuration ()</h3>
1859
2259
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-GVariant.html#GVariant"><span class="returnvalue">GVariant</span></a> * udisks_block_get_configuration (<em class="parameter"><code><a class="link" href="UDisksBlock.html" title="UDisksBlock"><span class="type">UDisksBlock</span></a> *object</code></em>);</pre>