1
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
4
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
<title>UDisks Reference Manual: UDisksEncrypted</title>
6
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
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="UDisksSwapspace.html" title="UDisksSwapspace">
10
<link rel="next" href="UDisksLoop.html" title="UDisksLoop">
11
<meta name="generator" content="GTK-Doc V1.20 (XML mode)">
12
<link rel="stylesheet" href="style.css" type="text/css">
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="10"><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="#UDisksEncrypted.description" class="shortcut">Description</a></span><span id="nav_hierarchy"> <span class="dim">|</span>
19
<a href="#UDisksEncrypted.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_interfaces"> <span class="dim">|</span>
20
<a href="#UDisksEncrypted.implemented-interfaces" class="shortcut">Implemented Interfaces</a></span><span id="nav_prerequisites"> <span class="dim">|</span>
21
<a href="#UDisksEncrypted.prerequisites" class="shortcut">Prerequisites</a></span><span id="nav_implementations"> <span class="dim">|</span>
22
<a href="#UDisksEncrypted.implementations" class="shortcut">Known Implementations</a></span><span id="nav_signals"> <span class="dim">|</span>
23
<a href="#UDisksEncrypted.signals" class="shortcut">Signals</a></span>
25
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
26
<td><a accesskey="u" href="ref-library-generated.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
27
<td><a accesskey="p" href="UDisksSwapspace.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
28
<td><a accesskey="n" href="UDisksLoop.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
30
<div class="refentry">
31
<a name="UDisksEncrypted"></a><div class="titlepage"></div>
32
<div class="refnamediv"><table width="100%"><tr>
34
<h2><span class="refentrytitle"><a name="UDisksEncrypted.top_of_page"></a>UDisksEncrypted</span></h2>
35
<p>UDisksEncrypted — Generated C code for the org.freedesktop.UDisks2.Encrypted D-Bus interface</p>
37
<td class="gallery_image" valign="top" align="right"></td>
39
<div class="refsect1">
40
<a name="UDisksEncrypted.functions"></a><h2>Functions</h2>
41
<div class="informaltable"><table width="100%" border="0">
43
<col width="150px" class="functions_return">
44
<col class="functions_name">
48
<td class="function_type">
49
<a href="http://library.gnome.org/devel/gio/unstable/gio-D-Bus-Introspection-Data.html#GDBusInterfaceInfo"><span class="returnvalue">GDBusInterfaceInfo</span></a> *
51
<td class="function_name">
52
<a class="link" href="UDisksEncrypted.html#udisks-encrypted-interface-info" title="udisks_encrypted_interface_info ()">udisks_encrypted_interface_info</a> <span class="c_punctuation">()</span>
56
<td class="function_type">
57
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
59
<td class="function_name">
60
<a class="link" href="UDisksEncrypted.html#udisks-encrypted-override-properties" title="udisks_encrypted_override_properties ()">udisks_encrypted_override_properties</a> <span class="c_punctuation">()</span>
64
<td class="function_type">
65
<span class="returnvalue">void</span>
67
<td class="function_name">
68
<a class="link" href="UDisksEncrypted.html#udisks-encrypted-call-unlock" title="udisks_encrypted_call_unlock ()">udisks_encrypted_call_unlock</a> <span class="c_punctuation">()</span>
72
<td class="function_type">
73
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
75
<td class="function_name">
76
<a class="link" href="UDisksEncrypted.html#udisks-encrypted-call-unlock-finish" title="udisks_encrypted_call_unlock_finish ()">udisks_encrypted_call_unlock_finish</a> <span class="c_punctuation">()</span>
80
<td class="function_type">
81
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
83
<td class="function_name">
84
<a class="link" href="UDisksEncrypted.html#udisks-encrypted-call-unlock-sync" title="udisks_encrypted_call_unlock_sync ()">udisks_encrypted_call_unlock_sync</a> <span class="c_punctuation">()</span>
88
<td class="function_type">
89
<span class="returnvalue">void</span>
91
<td class="function_name">
92
<a class="link" href="UDisksEncrypted.html#udisks-encrypted-complete-unlock" title="udisks_encrypted_complete_unlock ()">udisks_encrypted_complete_unlock</a> <span class="c_punctuation">()</span>
96
<td class="function_type">
97
<span class="returnvalue">void</span>
99
<td class="function_name">
100
<a class="link" href="UDisksEncrypted.html#udisks-encrypted-call-lock" title="udisks_encrypted_call_lock ()">udisks_encrypted_call_lock</a> <span class="c_punctuation">()</span>
104
<td class="function_type">
105
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
107
<td class="function_name">
108
<a class="link" href="UDisksEncrypted.html#udisks-encrypted-call-lock-finish" title="udisks_encrypted_call_lock_finish ()">udisks_encrypted_call_lock_finish</a> <span class="c_punctuation">()</span>
112
<td class="function_type">
113
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
115
<td class="function_name">
116
<a class="link" href="UDisksEncrypted.html#udisks-encrypted-call-lock-sync" title="udisks_encrypted_call_lock_sync ()">udisks_encrypted_call_lock_sync</a> <span class="c_punctuation">()</span>
120
<td class="function_type">
121
<span class="returnvalue">void</span>
123
<td class="function_name">
124
<a class="link" href="UDisksEncrypted.html#udisks-encrypted-complete-lock" title="udisks_encrypted_complete_lock ()">udisks_encrypted_complete_lock</a> <span class="c_punctuation">()</span>
128
<td class="function_type">
129
<span class="returnvalue">void</span>
131
<td class="function_name">
132
<a class="link" href="UDisksEncrypted.html#udisks-encrypted-call-change-passphrase" title="udisks_encrypted_call_change_passphrase ()">udisks_encrypted_call_change_passphrase</a> <span class="c_punctuation">()</span>
136
<td class="function_type">
137
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
139
<td class="function_name">
140
<a class="link" href="UDisksEncrypted.html#udisks-encrypted-call-change-passphrase-finish" title="udisks_encrypted_call_change_passphrase_finish ()">udisks_encrypted_call_change_passphrase_finish</a> <span class="c_punctuation">()</span>
144
<td class="function_type">
145
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
147
<td class="function_name">
148
<a class="link" href="UDisksEncrypted.html#udisks-encrypted-call-change-passphrase-sync" title="udisks_encrypted_call_change_passphrase_sync ()">udisks_encrypted_call_change_passphrase_sync</a> <span class="c_punctuation">()</span>
152
<td class="function_type">
153
<span class="returnvalue">void</span>
155
<td class="function_name">
156
<a class="link" href="UDisksEncrypted.html#udisks-encrypted-complete-change-passphrase" title="udisks_encrypted_complete_change_passphrase ()">udisks_encrypted_complete_change_passphrase</a> <span class="c_punctuation">()</span>
160
<td class="function_type">
161
<span class="returnvalue">void</span>
163
<td class="function_name">
164
<a class="link" href="UDisksEncrypted.html#udisks-encrypted-proxy-new" title="udisks_encrypted_proxy_new ()">udisks_encrypted_proxy_new</a> <span class="c_punctuation">()</span>
168
<td class="function_type">
169
<a class="link" href="UDisksEncrypted.html" title="UDisksEncrypted"><span class="returnvalue">UDisksEncrypted</span></a> *
171
<td class="function_name">
172
<a class="link" href="UDisksEncrypted.html#udisks-encrypted-proxy-new-finish" title="udisks_encrypted_proxy_new_finish ()">udisks_encrypted_proxy_new_finish</a> <span class="c_punctuation">()</span>
176
<td class="function_type">
177
<a class="link" href="UDisksEncrypted.html" title="UDisksEncrypted"><span class="returnvalue">UDisksEncrypted</span></a> *
179
<td class="function_name">
180
<a class="link" href="UDisksEncrypted.html#udisks-encrypted-proxy-new-sync" title="udisks_encrypted_proxy_new_sync ()">udisks_encrypted_proxy_new_sync</a> <span class="c_punctuation">()</span>
184
<td class="function_type">
185
<span class="returnvalue">void</span>
187
<td class="function_name">
188
<a class="link" href="UDisksEncrypted.html#udisks-encrypted-proxy-new-for-bus" title="udisks_encrypted_proxy_new_for_bus ()">udisks_encrypted_proxy_new_for_bus</a> <span class="c_punctuation">()</span>
192
<td class="function_type">
193
<a class="link" href="UDisksEncrypted.html" title="UDisksEncrypted"><span class="returnvalue">UDisksEncrypted</span></a> *
195
<td class="function_name">
196
<a class="link" href="UDisksEncrypted.html#udisks-encrypted-proxy-new-for-bus-finish" title="udisks_encrypted_proxy_new_for_bus_finish ()">udisks_encrypted_proxy_new_for_bus_finish</a> <span class="c_punctuation">()</span>
200
<td class="function_type">
201
<a class="link" href="UDisksEncrypted.html" title="UDisksEncrypted"><span class="returnvalue">UDisksEncrypted</span></a> *
203
<td class="function_name">
204
<a class="link" href="UDisksEncrypted.html#udisks-encrypted-proxy-new-for-bus-sync" title="udisks_encrypted_proxy_new_for_bus_sync ()">udisks_encrypted_proxy_new_for_bus_sync</a> <span class="c_punctuation">()</span>
208
<td class="function_type">
209
<a class="link" href="UDisksEncrypted.html" title="UDisksEncrypted"><span class="returnvalue">UDisksEncrypted</span></a> *
211
<td class="function_name">
212
<a class="link" href="UDisksEncrypted.html#udisks-encrypted-skeleton-new" title="udisks_encrypted_skeleton_new ()">udisks_encrypted_skeleton_new</a> <span class="c_punctuation">()</span>
218
<div class="refsect1">
219
<a name="UDisksEncrypted.signals"></a><h2>Signals</h2>
220
<div class="informaltable"><table border="0">
222
<col width="150px" class="signals_return">
223
<col width="300px" class="signals_name">
224
<col width="200px" class="signals_flags">
228
<td class="signal_type"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a></td>
229
<td class="signal_name"><a class="link" href="UDisksEncrypted.html#UDisksEncrypted-handle-change-passphrase" title="The “handle-change-passphrase” signal">handle-change-passphrase</a></td>
230
<td class="signal_flags">Run Last</td>
233
<td class="signal_type"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a></td>
234
<td class="signal_name"><a class="link" href="UDisksEncrypted.html#UDisksEncrypted-handle-lock" title="The “handle-lock” signal">handle-lock</a></td>
235
<td class="signal_flags">Run Last</td>
238
<td class="signal_type"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a></td>
239
<td class="signal_name"><a class="link" href="UDisksEncrypted.html#UDisksEncrypted-handle-unlock" title="The “handle-unlock” signal">handle-unlock</a></td>
240
<td class="signal_flags">Run Last</td>
245
<a name="UDisksEncryptedProxy"></a><a name="UDisksEncryptedSkeleton"></a><div class="refsect1">
246
<a name="UDisksEncrypted.other"></a><h2>Types and Values</h2>
247
<div class="informaltable"><table width="100%" border="0">
249
<col width="150px" class="name">
250
<col class="description">
254
<td class="datatype_keyword"> </td>
255
<td class="function_name"><a class="link" href="UDisksEncrypted.html#UDisksEncrypted-struct" title="UDisksEncrypted">UDisksEncrypted</a></td>
258
<td class="datatype_keyword">struct</td>
259
<td class="function_name"><a class="link" href="UDisksEncrypted.html#UDisksEncryptedIface" title="struct UDisksEncryptedIface">UDisksEncryptedIface</a></td>
262
<td class="datatype_keyword">struct</td>
263
<td class="function_name"><a class="link" href="UDisksEncrypted.html#UDisksEncryptedProxy-struct" title="struct UDisksEncryptedProxy">UDisksEncryptedProxy</a></td>
266
<td class="datatype_keyword">struct</td>
267
<td class="function_name"><a class="link" href="UDisksEncrypted.html#UDisksEncryptedProxyClass" title="struct UDisksEncryptedProxyClass">UDisksEncryptedProxyClass</a></td>
270
<td class="datatype_keyword">struct</td>
271
<td class="function_name"><a class="link" href="UDisksEncrypted.html#UDisksEncryptedSkeleton-struct" title="struct UDisksEncryptedSkeleton">UDisksEncryptedSkeleton</a></td>
274
<td class="datatype_keyword">struct</td>
275
<td class="function_name"><a class="link" href="UDisksEncrypted.html#UDisksEncryptedSkeletonClass" title="struct UDisksEncryptedSkeletonClass">UDisksEncryptedSkeletonClass</a></td>
280
<div class="refsect1">
281
<a name="UDisksEncrypted.object-hierarchy"></a><h2>Object Hierarchy</h2>
282
<pre class="screen"> GInterface
283
<span class="lineart">╰──</span> UDisksEncrypted
284
<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
285
<span class="lineart">├──</span> <a href="http://library.gnome.org/devel/gio/unstable/GDBusInterfaceSkeleton.html">GDBusInterfaceSkeleton</a>
286
<span class="lineart">│</span> <span class="lineart">╰──</span> UDisksEncryptedSkeleton
287
<span class="lineart">│</span> <span class="lineart">╰──</span> <a class="link" href="UDisksLinuxEncrypted.html" title="UDisksLinuxEncrypted">UDisksLinuxEncrypted</a>
288
<span class="lineart">╰──</span> <a href="http://library.gnome.org/devel/gio/unstable/GDBusProxy.html">GDBusProxy</a>
289
<span class="lineart">╰──</span> UDisksEncryptedProxy
292
<div class="refsect1">
293
<a name="UDisksEncrypted.prerequisites"></a><h2>Prerequisites</h2>
295
UDisksEncrypted requires
296
<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>.</p>
298
<div class="refsect1">
299
<a name="UDisksEncrypted.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
301
UDisksEncryptedProxy implements
302
<a href="http://library.gnome.org/devel/gio/unstable/GDBusInterface.html">GDBusInterface</a>, <a href="http://library.gnome.org/devel/gio/unstable/GInitable.html">GInitable</a>, <a href="http://library.gnome.org/devel/gio/unstable/GAsyncInitable.html">GAsyncInitable</a> and <a class="link" href="UDisksEncrypted.html" title="UDisksEncrypted">UDisksEncrypted</a>.</p>
304
UDisksEncryptedSkeleton implements
305
<a href="http://library.gnome.org/devel/gio/unstable/GDBusInterface.html">GDBusInterface</a> and <a class="link" href="UDisksEncrypted.html" title="UDisksEncrypted">UDisksEncrypted</a>.</p>
307
<div class="refsect1">
308
<a name="UDisksEncrypted.implementations"></a><h2>Known Implementations</h2>
310
UDisksEncrypted is implemented by
311
<a class="link" href="UDisksEncrypted.html#UDisksEncryptedProxy">UDisksEncryptedProxy</a>, <a class="link" href="UDisksEncrypted.html#UDisksEncryptedSkeleton">UDisksEncryptedSkeleton</a> and <a class="link" href="UDisksLinuxEncrypted.html" title="UDisksLinuxEncrypted">UDisksLinuxEncrypted</a>.</p>
313
<div class="refsect1">
314
<a name="UDisksEncrypted.description"></a><h2>Description</h2>
315
<p>This section contains code for working with the <a class="link" href="gdbus-org.freedesktop.UDisks2.Encrypted.html#gdbus-interface-org-freedesktop-UDisks2-Encrypted.top_of_page">org.freedesktop.UDisks2.Encrypted</a> D-Bus interface in C.</p>
317
<div class="refsect1">
318
<a name="UDisksEncrypted.functions_details"></a><h2>Functions</h2>
319
<div class="refsect2">
320
<a name="udisks-encrypted-interface-info"></a><h3>udisks_encrypted_interface_info ()</h3>
321
<pre class="programlisting"><a href="http://library.gnome.org/devel/gio/unstable/gio-D-Bus-Introspection-Data.html#GDBusInterfaceInfo"><span class="returnvalue">GDBusInterfaceInfo</span></a> *
322
udisks_encrypted_interface_info (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
323
<p>Gets a machine-readable description of the <a class="link" href="gdbus-org.freedesktop.UDisks2.Encrypted.html#gdbus-interface-org-freedesktop-UDisks2-Encrypted.top_of_page">org.freedesktop.UDisks2.Encrypted</a> D-Bus interface.</p>
324
<div class="refsect3">
325
<a name="id-1.4.5.14.13.2.5"></a><h4>Returns</h4>
326
<p> A <a href="http://library.gnome.org/devel/gio/unstable/gio-D-Bus-Introspection-Data.html#GDBusInterfaceInfo"><span class="type">GDBusInterfaceInfo</span></a>. Do not free. </p>
327
<p><span class="annotation">[<a href="http://foldoc.org/transfer%20none"><span class="acronym">transfer none</span></a>]</span></p>
331
<div class="refsect2">
332
<a name="udisks-encrypted-override-properties"></a><h3>udisks_encrypted_override_properties ()</h3>
333
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
334
udisks_encrypted_override_properties (<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObjectClass"><span class="type">GObjectClass</span></a> *klass</code></em>,
335
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> property_id_begin</code></em>);</pre>
336
<p>Overrides all <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> properties in the <a class="link" href="UDisksEncrypted.html" title="UDisksEncrypted"><span class="type">UDisksEncrypted</span></a> interface for a concrete class.
337
The properties are overridden in the order they are defined.</p>
338
<div class="refsect3">
339
<a name="id-1.4.5.14.13.3.5"></a><h4>Parameters</h4>
340
<div class="informaltable"><table width="100%" border="0">
342
<col width="150px" class="parameters_name">
343
<col class="parameters_description">
344
<col width="200px" class="parameters_annotations">
348
<td class="parameter_name"><p>klass</p></td>
349
<td class="parameter_description"><p>The class structure for a <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a>-derived class.</p></td>
350
<td class="parameter_annotations"> </td>
353
<td class="parameter_name"><p>property_id_begin</p></td>
354
<td class="parameter_description"><p>The property id to assign to the first overridden property.</p></td>
355
<td class="parameter_annotations"> </td>
360
<div class="refsect3">
361
<a name="id-1.4.5.14.13.3.6"></a><h4>Returns</h4>
362
<p> The last property id.</p>
367
<div class="refsect2">
368
<a name="udisks-encrypted-call-unlock"></a><h3>udisks_encrypted_call_unlock ()</h3>
369
<pre class="programlisting"><span class="returnvalue">void</span>
370
udisks_encrypted_call_unlock (<em class="parameter"><code><a class="link" href="UDisksEncrypted.html" title="UDisksEncrypted"><span class="type">UDisksEncrypted</span></a> *proxy</code></em>,
371
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *arg_passphrase</code></em>,
372
<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>,
373
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
374
<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>,
375
<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>
376
<p>Asynchronously invokes the <a class="link" href="gdbus-org.freedesktop.UDisks2.Encrypted.html#gdbus-method-org-freedesktop-UDisks2-Encrypted.Unlock" title="The Unlock() method"><code class="function">Unlock()</code></a> D-Bus method on <em class="parameter"><code>proxy</code></em>
378
When the operation is finished, <em class="parameter"><code>callback</code></em>
379
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.
380
You can then call <a class="link" href="UDisksEncrypted.html#udisks-encrypted-call-unlock-finish" title="udisks_encrypted_call_unlock_finish ()"><code class="function">udisks_encrypted_call_unlock_finish()</code></a> to get the result of the operation.</p>
381
<p>See <a class="link" href="UDisksEncrypted.html#udisks-encrypted-call-unlock-sync" title="udisks_encrypted_call_unlock_sync ()"><code class="function">udisks_encrypted_call_unlock_sync()</code></a> for the synchronous, blocking version of this method.</p>
382
<div class="refsect3">
383
<a name="id-1.4.5.14.13.4.6"></a><h4>Parameters</h4>
384
<div class="informaltable"><table width="100%" border="0">
386
<col width="150px" class="parameters_name">
387
<col class="parameters_description">
388
<col width="200px" class="parameters_annotations">
392
<td class="parameter_name"><p>proxy</p></td>
393
<td class="parameter_description"><p>A <a class="link" href="UDisksEncrypted.html#UDisksEncryptedProxy"><span class="type">UDisksEncryptedProxy</span></a>.</p></td>
394
<td class="parameter_annotations"> </td>
397
<td class="parameter_name"><p>arg_passphrase</p></td>
398
<td class="parameter_description"><p>Argument to pass with the method invocation.</p></td>
399
<td class="parameter_annotations"> </td>
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>
407
<td class="parameter_name"><p>cancellable</p></td>
408
<td class="parameter_description"><p> 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>. </p></td>
409
<td class="parameter_annotations"><span class="annotation">[<a href="http://foldoc.org/allow-none"><span class="acronym">allow-none</span></a>]</span></td>
412
<td class="parameter_name"><p>callback</p></td>
413
<td class="parameter_description"><p>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>.</p></td>
414
<td class="parameter_annotations"> </td>
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>
420
<td class="parameter_annotations"> </td>
427
<div class="refsect2">
428
<a name="udisks-encrypted-call-unlock-finish"></a><h3>udisks_encrypted_call_unlock_finish ()</h3>
429
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
430
udisks_encrypted_call_unlock_finish (<em class="parameter"><code><a class="link" href="UDisksEncrypted.html" title="UDisksEncrypted"><span class="type">UDisksEncrypted</span></a> *proxy</code></em>,
431
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> **out_cleartext_device</code></em>,
432
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a> *res</code></em>,
433
<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>
434
<p>Finishes an operation started with <a class="link" href="UDisksEncrypted.html#udisks-encrypted-call-unlock" title="udisks_encrypted_call_unlock ()"><code class="function">udisks_encrypted_call_unlock()</code></a>.</p>
435
<div class="refsect3">
436
<a name="id-1.4.5.14.13.5.5"></a><h4>Parameters</h4>
437
<div class="informaltable"><table width="100%" border="0">
439
<col width="150px" class="parameters_name">
440
<col class="parameters_description">
441
<col width="200px" class="parameters_annotations">
445
<td class="parameter_name"><p>proxy</p></td>
446
<td class="parameter_description"><p>A <a class="link" href="UDisksEncrypted.html#UDisksEncryptedProxy"><span class="type">UDisksEncryptedProxy</span></a>.</p></td>
447
<td class="parameter_annotations"> </td>
450
<td class="parameter_name"><p>out_cleartext_device</p></td>
451
<td class="parameter_description"><p> 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. </p></td>
452
<td class="parameter_annotations"><span class="annotation">[<a href="http://foldoc.org/out"><span class="acronym">out</span></a>]</span></td>
455
<td class="parameter_name"><p>res</p></td>
456
<td class="parameter_description"><p>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="UDisksEncrypted.html#udisks-encrypted-call-unlock" title="udisks_encrypted_call_unlock ()"><code class="function">udisks_encrypted_call_unlock()</code></a>.</p></td>
457
<td class="parameter_annotations"> </td>
460
<td class="parameter_name"><p>error</p></td>
461
<td class="parameter_description"><p>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>.</p></td>
462
<td class="parameter_annotations"> </td>
467
<div class="refsect3">
468
<a name="id-1.4.5.14.13.5.6"></a><h4>Returns</h4>
469
<p> <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>
471
<p><span class="annotation">[<a href="http://foldoc.org/skip"><span class="acronym">skip</span></a>]</span></p>
475
<div class="refsect2">
476
<a name="udisks-encrypted-call-unlock-sync"></a><h3>udisks_encrypted_call_unlock_sync ()</h3>
477
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
478
udisks_encrypted_call_unlock_sync (<em class="parameter"><code><a class="link" href="UDisksEncrypted.html" title="UDisksEncrypted"><span class="type">UDisksEncrypted</span></a> *proxy</code></em>,
479
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *arg_passphrase</code></em>,
480
<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>,
481
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> **out_cleartext_device</code></em>,
482
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
483
<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>
484
<p>Synchronously invokes the <a class="link" href="gdbus-org.freedesktop.UDisks2.Encrypted.html#gdbus-method-org-freedesktop-UDisks2-Encrypted.Unlock" title="The Unlock() method"><code class="function">Unlock()</code></a> D-Bus method on <em class="parameter"><code>proxy</code></em>
485
. The calling thread is blocked until a reply is received.</p>
486
<p>See <a class="link" href="UDisksEncrypted.html#udisks-encrypted-call-unlock" title="udisks_encrypted_call_unlock ()"><code class="function">udisks_encrypted_call_unlock()</code></a> for the asynchronous version of this method.</p>
487
<div class="refsect3">
488
<a name="id-1.4.5.14.13.6.6"></a><h4>Parameters</h4>
489
<div class="informaltable"><table width="100%" border="0">
491
<col width="150px" class="parameters_name">
492
<col class="parameters_description">
493
<col width="200px" class="parameters_annotations">
497
<td class="parameter_name"><p>proxy</p></td>
498
<td class="parameter_description"><p>A <a class="link" href="UDisksEncrypted.html#UDisksEncryptedProxy"><span class="type">UDisksEncryptedProxy</span></a>.</p></td>
499
<td class="parameter_annotations"> </td>
502
<td class="parameter_name"><p>arg_passphrase</p></td>
503
<td class="parameter_description"><p>Argument to pass with the method invocation.</p></td>
504
<td class="parameter_annotations"> </td>
507
<td class="parameter_name"><p>arg_options</p></td>
508
<td class="parameter_description"><p>Argument to pass with the method invocation.</p></td>
509
<td class="parameter_annotations"> </td>
512
<td class="parameter_name"><p>out_cleartext_device</p></td>
513
<td class="parameter_description"><p> 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. </p></td>
514
<td class="parameter_annotations"><span class="annotation">[<a href="http://foldoc.org/out"><span class="acronym">out</span></a>]</span></td>
517
<td class="parameter_name"><p>cancellable</p></td>
518
<td class="parameter_description"><p> 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>. </p></td>
519
<td class="parameter_annotations"><span class="annotation">[<a href="http://foldoc.org/allow-none"><span class="acronym">allow-none</span></a>]</span></td>
522
<td class="parameter_name"><p>error</p></td>
523
<td class="parameter_description"><p>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>.</p></td>
524
<td class="parameter_annotations"> </td>
529
<div class="refsect3">
530
<a name="id-1.4.5.14.13.6.7"></a><h4>Returns</h4>
531
<p> <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>
533
<p><span class="annotation">[<a href="http://foldoc.org/skip"><span class="acronym">skip</span></a>]</span></p>
537
<div class="refsect2">
538
<a name="udisks-encrypted-complete-unlock"></a><h3>udisks_encrypted_complete_unlock ()</h3>
539
<pre class="programlisting"><span class="returnvalue">void</span>
540
udisks_encrypted_complete_unlock (<em class="parameter"><code><a class="link" href="UDisksEncrypted.html" title="UDisksEncrypted"><span class="type">UDisksEncrypted</span></a> *object</code></em>,
541
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GDBusMethodInvocation.html"><span class="type">GDBusMethodInvocation</span></a> *invocation</code></em>,
542
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *cleartext_device</code></em>);</pre>
543
<p>Helper function used in service implementations to finish handling invocations of the <a class="link" href="gdbus-org.freedesktop.UDisks2.Encrypted.html#gdbus-method-org-freedesktop-UDisks2-Encrypted.Unlock" title="The Unlock() method"><code class="function">Unlock()</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.</p>
544
<p>This method will free <em class="parameter"><code>invocation</code></em>
545
, you cannot use it afterwards.</p>
546
<div class="refsect3">
547
<a name="id-1.4.5.14.13.7.6"></a><h4>Parameters</h4>
548
<div class="informaltable"><table width="100%" border="0">
550
<col width="150px" class="parameters_name">
551
<col class="parameters_description">
552
<col width="200px" class="parameters_annotations">
556
<td class="parameter_name"><p>object</p></td>
557
<td class="parameter_description"><p>A <a class="link" href="UDisksEncrypted.html" title="UDisksEncrypted"><span class="type">UDisksEncrypted</span></a>.</p></td>
558
<td class="parameter_annotations"> </td>
561
<td class="parameter_name"><p>invocation</p></td>
562
<td class="parameter_description"><p> A <a href="http://library.gnome.org/devel/gio/unstable/GDBusMethodInvocation.html"><span class="type">GDBusMethodInvocation</span></a>. </p></td>
563
<td class="parameter_annotations"><span class="annotation">[<a href="http://foldoc.org/transfer%20full"><span class="acronym">transfer full</span></a>]</span></td>
566
<td class="parameter_name"><p>cleartext_device</p></td>
567
<td class="parameter_description"><p>Parameter to return.</p></td>
568
<td class="parameter_annotations"> </td>
575
<div class="refsect2">
576
<a name="udisks-encrypted-call-lock"></a><h3>udisks_encrypted_call_lock ()</h3>
577
<pre class="programlisting"><span class="returnvalue">void</span>
578
udisks_encrypted_call_lock (<em class="parameter"><code><a class="link" href="UDisksEncrypted.html" title="UDisksEncrypted"><span class="type">UDisksEncrypted</span></a> *proxy</code></em>,
579
<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>,
580
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
581
<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>,
582
<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>
583
<p>Asynchronously invokes the <a class="link" href="gdbus-org.freedesktop.UDisks2.Encrypted.html#gdbus-method-org-freedesktop-UDisks2-Encrypted.Lock" title="The Lock() method"><code class="function">Lock()</code></a> D-Bus method on <em class="parameter"><code>proxy</code></em>
585
When the operation is finished, <em class="parameter"><code>callback</code></em>
586
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.
587
You can then call <a class="link" href="UDisksEncrypted.html#udisks-encrypted-call-lock-finish" title="udisks_encrypted_call_lock_finish ()"><code class="function">udisks_encrypted_call_lock_finish()</code></a> to get the result of the operation.</p>
588
<p>See <a class="link" href="UDisksEncrypted.html#udisks-encrypted-call-lock-sync" title="udisks_encrypted_call_lock_sync ()"><code class="function">udisks_encrypted_call_lock_sync()</code></a> for the synchronous, blocking version of this method.</p>
589
<div class="refsect3">
590
<a name="id-1.4.5.14.13.8.6"></a><h4>Parameters</h4>
591
<div class="informaltable"><table width="100%" border="0">
593
<col width="150px" class="parameters_name">
594
<col class="parameters_description">
595
<col width="200px" class="parameters_annotations">
599
<td class="parameter_name"><p>proxy</p></td>
600
<td class="parameter_description"><p>A <a class="link" href="UDisksEncrypted.html#UDisksEncryptedProxy"><span class="type">UDisksEncryptedProxy</span></a>.</p></td>
601
<td class="parameter_annotations"> </td>
604
<td class="parameter_name"><p>arg_options</p></td>
605
<td class="parameter_description"><p>Argument to pass with the method invocation.</p></td>
606
<td class="parameter_annotations"> </td>
609
<td class="parameter_name"><p>cancellable</p></td>
610
<td class="parameter_description"><p> 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>. </p></td>
611
<td class="parameter_annotations"><span class="annotation">[<a href="http://foldoc.org/allow-none"><span class="acronym">allow-none</span></a>]</span></td>
614
<td class="parameter_name"><p>callback</p></td>
615
<td class="parameter_description"><p>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>.</p></td>
616
<td class="parameter_annotations"> </td>
619
<td class="parameter_name"><p>user_data</p></td>
620
<td class="parameter_description"><p>User data to pass to <em class="parameter"><code>callback</code></em>
622
<td class="parameter_annotations"> </td>
629
<div class="refsect2">
630
<a name="udisks-encrypted-call-lock-finish"></a><h3>udisks_encrypted_call_lock_finish ()</h3>
631
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
632
udisks_encrypted_call_lock_finish (<em class="parameter"><code><a class="link" href="UDisksEncrypted.html" title="UDisksEncrypted"><span class="type">UDisksEncrypted</span></a> *proxy</code></em>,
633
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a> *res</code></em>,
634
<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>
635
<p>Finishes an operation started with <a class="link" href="UDisksEncrypted.html#udisks-encrypted-call-lock" title="udisks_encrypted_call_lock ()"><code class="function">udisks_encrypted_call_lock()</code></a>.</p>
636
<div class="refsect3">
637
<a name="id-1.4.5.14.13.9.5"></a><h4>Parameters</h4>
638
<div class="informaltable"><table width="100%" border="0">
640
<col width="150px" class="parameters_name">
641
<col class="parameters_description">
642
<col width="200px" class="parameters_annotations">
646
<td class="parameter_name"><p>proxy</p></td>
647
<td class="parameter_description"><p>A <a class="link" href="UDisksEncrypted.html#UDisksEncryptedProxy"><span class="type">UDisksEncryptedProxy</span></a>.</p></td>
648
<td class="parameter_annotations"> </td>
651
<td class="parameter_name"><p>res</p></td>
652
<td class="parameter_description"><p>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="UDisksEncrypted.html#udisks-encrypted-call-lock" title="udisks_encrypted_call_lock ()"><code class="function">udisks_encrypted_call_lock()</code></a>.</p></td>
653
<td class="parameter_annotations"> </td>
656
<td class="parameter_name"><p>error</p></td>
657
<td class="parameter_description"><p>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>.</p></td>
658
<td class="parameter_annotations"> </td>
663
<div class="refsect3">
664
<a name="id-1.4.5.14.13.9.6"></a><h4>Returns</h4>
665
<p> <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>
667
<p><span class="annotation">[<a href="http://foldoc.org/skip"><span class="acronym">skip</span></a>]</span></p>
671
<div class="refsect2">
672
<a name="udisks-encrypted-call-lock-sync"></a><h3>udisks_encrypted_call_lock_sync ()</h3>
673
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
674
udisks_encrypted_call_lock_sync (<em class="parameter"><code><a class="link" href="UDisksEncrypted.html" title="UDisksEncrypted"><span class="type">UDisksEncrypted</span></a> *proxy</code></em>,
675
<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>,
676
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
677
<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>
678
<p>Synchronously invokes the <a class="link" href="gdbus-org.freedesktop.UDisks2.Encrypted.html#gdbus-method-org-freedesktop-UDisks2-Encrypted.Lock" title="The Lock() method"><code class="function">Lock()</code></a> D-Bus method on <em class="parameter"><code>proxy</code></em>
679
. The calling thread is blocked until a reply is received.</p>
680
<p>See <a class="link" href="UDisksEncrypted.html#udisks-encrypted-call-lock" title="udisks_encrypted_call_lock ()"><code class="function">udisks_encrypted_call_lock()</code></a> for the asynchronous version of this method.</p>
681
<div class="refsect3">
682
<a name="id-1.4.5.14.13.10.6"></a><h4>Parameters</h4>
683
<div class="informaltable"><table width="100%" border="0">
685
<col width="150px" class="parameters_name">
686
<col class="parameters_description">
687
<col width="200px" class="parameters_annotations">
691
<td class="parameter_name"><p>proxy</p></td>
692
<td class="parameter_description"><p>A <a class="link" href="UDisksEncrypted.html#UDisksEncryptedProxy"><span class="type">UDisksEncryptedProxy</span></a>.</p></td>
693
<td class="parameter_annotations"> </td>
696
<td class="parameter_name"><p>arg_options</p></td>
697
<td class="parameter_description"><p>Argument to pass with the method invocation.</p></td>
698
<td class="parameter_annotations"> </td>
701
<td class="parameter_name"><p>cancellable</p></td>
702
<td class="parameter_description"><p> 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>. </p></td>
703
<td class="parameter_annotations"><span class="annotation">[<a href="http://foldoc.org/allow-none"><span class="acronym">allow-none</span></a>]</span></td>
706
<td class="parameter_name"><p>error</p></td>
707
<td class="parameter_description"><p>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>.</p></td>
708
<td class="parameter_annotations"> </td>
713
<div class="refsect3">
714
<a name="id-1.4.5.14.13.10.7"></a><h4>Returns</h4>
715
<p> <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>
717
<p><span class="annotation">[<a href="http://foldoc.org/skip"><span class="acronym">skip</span></a>]</span></p>
721
<div class="refsect2">
722
<a name="udisks-encrypted-complete-lock"></a><h3>udisks_encrypted_complete_lock ()</h3>
723
<pre class="programlisting"><span class="returnvalue">void</span>
724
udisks_encrypted_complete_lock (<em class="parameter"><code><a class="link" href="UDisksEncrypted.html" title="UDisksEncrypted"><span class="type">UDisksEncrypted</span></a> *object</code></em>,
725
<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>
726
<p>Helper function used in service implementations to finish handling invocations of the <a class="link" href="gdbus-org.freedesktop.UDisks2.Encrypted.html#gdbus-method-org-freedesktop-UDisks2-Encrypted.Lock" title="The Lock() method"><code class="function">Lock()</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.</p>
727
<p>This method will free <em class="parameter"><code>invocation</code></em>
728
, you cannot use it afterwards.</p>
729
<div class="refsect3">
730
<a name="id-1.4.5.14.13.11.6"></a><h4>Parameters</h4>
731
<div class="informaltable"><table width="100%" border="0">
733
<col width="150px" class="parameters_name">
734
<col class="parameters_description">
735
<col width="200px" class="parameters_annotations">
739
<td class="parameter_name"><p>object</p></td>
740
<td class="parameter_description"><p>A <a class="link" href="UDisksEncrypted.html" title="UDisksEncrypted"><span class="type">UDisksEncrypted</span></a>.</p></td>
741
<td class="parameter_annotations"> </td>
744
<td class="parameter_name"><p>invocation</p></td>
745
<td class="parameter_description"><p> A <a href="http://library.gnome.org/devel/gio/unstable/GDBusMethodInvocation.html"><span class="type">GDBusMethodInvocation</span></a>. </p></td>
746
<td class="parameter_annotations"><span class="annotation">[<a href="http://foldoc.org/transfer%20full"><span class="acronym">transfer full</span></a>]</span></td>
753
<div class="refsect2">
754
<a name="udisks-encrypted-call-change-passphrase"></a><h3>udisks_encrypted_call_change_passphrase ()</h3>
755
<pre class="programlisting"><span class="returnvalue">void</span>
756
udisks_encrypted_call_change_passphrase
757
(<em class="parameter"><code><a class="link" href="UDisksEncrypted.html" title="UDisksEncrypted"><span class="type">UDisksEncrypted</span></a> *proxy</code></em>,
758
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *arg_passphrase</code></em>,
759
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *arg_new_passphrase</code></em>,
760
<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>,
761
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
762
<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>,
763
<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>
764
<p>Asynchronously invokes the <a class="link" href="gdbus-org.freedesktop.UDisks2.Encrypted.html#gdbus-method-org-freedesktop-UDisks2-Encrypted.ChangePassphrase" title="The ChangePassphrase() method"><code class="function">ChangePassphrase()</code></a> D-Bus method on <em class="parameter"><code>proxy</code></em>
766
When the operation is finished, <em class="parameter"><code>callback</code></em>
767
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.
768
You can then call <a class="link" href="UDisksEncrypted.html#udisks-encrypted-call-change-passphrase-finish" title="udisks_encrypted_call_change_passphrase_finish ()"><code class="function">udisks_encrypted_call_change_passphrase_finish()</code></a> to get the result of the operation.</p>
769
<p>See <a class="link" href="UDisksEncrypted.html#udisks-encrypted-call-change-passphrase-sync" title="udisks_encrypted_call_change_passphrase_sync ()"><code class="function">udisks_encrypted_call_change_passphrase_sync()</code></a> for the synchronous, blocking version of this method.</p>
770
<div class="refsect3">
771
<a name="id-1.4.5.14.13.12.6"></a><h4>Parameters</h4>
772
<div class="informaltable"><table width="100%" border="0">
774
<col width="150px" class="parameters_name">
775
<col class="parameters_description">
776
<col width="200px" class="parameters_annotations">
780
<td class="parameter_name"><p>proxy</p></td>
781
<td class="parameter_description"><p>A <a class="link" href="UDisksEncrypted.html#UDisksEncryptedProxy"><span class="type">UDisksEncryptedProxy</span></a>.</p></td>
782
<td class="parameter_annotations"> </td>
785
<td class="parameter_name"><p>arg_passphrase</p></td>
786
<td class="parameter_description"><p>Argument to pass with the method invocation.</p></td>
787
<td class="parameter_annotations"> </td>
790
<td class="parameter_name"><p>arg_new_passphrase</p></td>
791
<td class="parameter_description"><p>Argument to pass with the method invocation.</p></td>
792
<td class="parameter_annotations"> </td>
795
<td class="parameter_name"><p>arg_options</p></td>
796
<td class="parameter_description"><p>Argument to pass with the method invocation.</p></td>
797
<td class="parameter_annotations"> </td>
800
<td class="parameter_name"><p>cancellable</p></td>
801
<td class="parameter_description"><p> 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>. </p></td>
802
<td class="parameter_annotations"><span class="annotation">[<a href="http://foldoc.org/allow-none"><span class="acronym">allow-none</span></a>]</span></td>
805
<td class="parameter_name"><p>callback</p></td>
806
<td class="parameter_description"><p>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>.</p></td>
807
<td class="parameter_annotations"> </td>
810
<td class="parameter_name"><p>user_data</p></td>
811
<td class="parameter_description"><p>User data to pass to <em class="parameter"><code>callback</code></em>
813
<td class="parameter_annotations"> </td>
820
<div class="refsect2">
821
<a name="udisks-encrypted-call-change-passphrase-finish"></a><h3>udisks_encrypted_call_change_passphrase_finish ()</h3>
822
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
823
udisks_encrypted_call_change_passphrase_finish
824
(<em class="parameter"><code><a class="link" href="UDisksEncrypted.html" title="UDisksEncrypted"><span class="type">UDisksEncrypted</span></a> *proxy</code></em>,
825
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a> *res</code></em>,
826
<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>
827
<p>Finishes an operation started with <a class="link" href="UDisksEncrypted.html#udisks-encrypted-call-change-passphrase" title="udisks_encrypted_call_change_passphrase ()"><code class="function">udisks_encrypted_call_change_passphrase()</code></a>.</p>
828
<div class="refsect3">
829
<a name="id-1.4.5.14.13.13.5"></a><h4>Parameters</h4>
830
<div class="informaltable"><table width="100%" border="0">
832
<col width="150px" class="parameters_name">
833
<col class="parameters_description">
834
<col width="200px" class="parameters_annotations">
838
<td class="parameter_name"><p>proxy</p></td>
839
<td class="parameter_description"><p>A <a class="link" href="UDisksEncrypted.html#UDisksEncryptedProxy"><span class="type">UDisksEncryptedProxy</span></a>.</p></td>
840
<td class="parameter_annotations"> </td>
843
<td class="parameter_name"><p>res</p></td>
844
<td class="parameter_description"><p>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="UDisksEncrypted.html#udisks-encrypted-call-change-passphrase" title="udisks_encrypted_call_change_passphrase ()"><code class="function">udisks_encrypted_call_change_passphrase()</code></a>.</p></td>
845
<td class="parameter_annotations"> </td>
848
<td class="parameter_name"><p>error</p></td>
849
<td class="parameter_description"><p>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>.</p></td>
850
<td class="parameter_annotations"> </td>
855
<div class="refsect3">
856
<a name="id-1.4.5.14.13.13.6"></a><h4>Returns</h4>
857
<p> <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>
859
<p><span class="annotation">[<a href="http://foldoc.org/skip"><span class="acronym">skip</span></a>]</span></p>
863
<div class="refsect2">
864
<a name="udisks-encrypted-call-change-passphrase-sync"></a><h3>udisks_encrypted_call_change_passphrase_sync ()</h3>
865
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
866
udisks_encrypted_call_change_passphrase_sync
867
(<em class="parameter"><code><a class="link" href="UDisksEncrypted.html" title="UDisksEncrypted"><span class="type">UDisksEncrypted</span></a> *proxy</code></em>,
868
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *arg_passphrase</code></em>,
869
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *arg_new_passphrase</code></em>,
870
<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>,
871
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
872
<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>
873
<p>Synchronously invokes the <a class="link" href="gdbus-org.freedesktop.UDisks2.Encrypted.html#gdbus-method-org-freedesktop-UDisks2-Encrypted.ChangePassphrase" title="The ChangePassphrase() method"><code class="function">ChangePassphrase()</code></a> D-Bus method on <em class="parameter"><code>proxy</code></em>
874
. The calling thread is blocked until a reply is received.</p>
875
<p>See <a class="link" href="UDisksEncrypted.html#udisks-encrypted-call-change-passphrase" title="udisks_encrypted_call_change_passphrase ()"><code class="function">udisks_encrypted_call_change_passphrase()</code></a> for the asynchronous version of this method.</p>
876
<div class="refsect3">
877
<a name="id-1.4.5.14.13.14.6"></a><h4>Parameters</h4>
878
<div class="informaltable"><table width="100%" border="0">
880
<col width="150px" class="parameters_name">
881
<col class="parameters_description">
882
<col width="200px" class="parameters_annotations">
886
<td class="parameter_name"><p>proxy</p></td>
887
<td class="parameter_description"><p>A <a class="link" href="UDisksEncrypted.html#UDisksEncryptedProxy"><span class="type">UDisksEncryptedProxy</span></a>.</p></td>
888
<td class="parameter_annotations"> </td>
891
<td class="parameter_name"><p>arg_passphrase</p></td>
892
<td class="parameter_description"><p>Argument to pass with the method invocation.</p></td>
893
<td class="parameter_annotations"> </td>
896
<td class="parameter_name"><p>arg_new_passphrase</p></td>
897
<td class="parameter_description"><p>Argument to pass with the method invocation.</p></td>
898
<td class="parameter_annotations"> </td>
901
<td class="parameter_name"><p>arg_options</p></td>
902
<td class="parameter_description"><p>Argument to pass with the method invocation.</p></td>
903
<td class="parameter_annotations"> </td>
906
<td class="parameter_name"><p>cancellable</p></td>
907
<td class="parameter_description"><p> 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>. </p></td>
908
<td class="parameter_annotations"><span class="annotation">[<a href="http://foldoc.org/allow-none"><span class="acronym">allow-none</span></a>]</span></td>
911
<td class="parameter_name"><p>error</p></td>
912
<td class="parameter_description"><p>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>.</p></td>
913
<td class="parameter_annotations"> </td>
918
<div class="refsect3">
919
<a name="id-1.4.5.14.13.14.7"></a><h4>Returns</h4>
920
<p> <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>
922
<p><span class="annotation">[<a href="http://foldoc.org/skip"><span class="acronym">skip</span></a>]</span></p>
926
<div class="refsect2">
927
<a name="udisks-encrypted-complete-change-passphrase"></a><h3>udisks_encrypted_complete_change_passphrase ()</h3>
928
<pre class="programlisting"><span class="returnvalue">void</span>
929
udisks_encrypted_complete_change_passphrase
930
(<em class="parameter"><code><a class="link" href="UDisksEncrypted.html" title="UDisksEncrypted"><span class="type">UDisksEncrypted</span></a> *object</code></em>,
931
<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>
932
<p>Helper function used in service implementations to finish handling invocations of the <a class="link" href="gdbus-org.freedesktop.UDisks2.Encrypted.html#gdbus-method-org-freedesktop-UDisks2-Encrypted.ChangePassphrase" title="The ChangePassphrase() method"><code class="function">ChangePassphrase()</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.</p>
933
<p>This method will free <em class="parameter"><code>invocation</code></em>
934
, you cannot use it afterwards.</p>
935
<div class="refsect3">
936
<a name="id-1.4.5.14.13.15.6"></a><h4>Parameters</h4>
937
<div class="informaltable"><table width="100%" border="0">
939
<col width="150px" class="parameters_name">
940
<col class="parameters_description">
941
<col width="200px" class="parameters_annotations">
945
<td class="parameter_name"><p>object</p></td>
946
<td class="parameter_description"><p>A <a class="link" href="UDisksEncrypted.html" title="UDisksEncrypted"><span class="type">UDisksEncrypted</span></a>.</p></td>
947
<td class="parameter_annotations"> </td>
950
<td class="parameter_name"><p>invocation</p></td>
951
<td class="parameter_description"><p> A <a href="http://library.gnome.org/devel/gio/unstable/GDBusMethodInvocation.html"><span class="type">GDBusMethodInvocation</span></a>. </p></td>
952
<td class="parameter_annotations"><span class="annotation">[<a href="http://foldoc.org/transfer%20full"><span class="acronym">transfer full</span></a>]</span></td>
959
<div class="refsect2">
960
<a name="udisks-encrypted-proxy-new"></a><h3>udisks_encrypted_proxy_new ()</h3>
961
<pre class="programlisting"><span class="returnvalue">void</span>
962
udisks_encrypted_proxy_new (<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GDBusConnection.html"><span class="type">GDBusConnection</span></a> *connection</code></em>,
963
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GDBusProxy.html#GDBusProxyFlags"><span class="type">GDBusProxyFlags</span></a> flags</code></em>,
964
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
965
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *object_path</code></em>,
966
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
967
<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>,
968
<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>
969
<p>Asynchronously creates a proxy for the D-Bus interface <a class="link" href="gdbus-org.freedesktop.UDisks2.Encrypted.html#gdbus-interface-org-freedesktop-UDisks2-Encrypted.top_of_page">org.freedesktop.UDisks2.Encrypted</a>. See <a href="http://library.gnome.org/devel/gio/unstable/GDBusProxy.html#g-dbus-proxy-new"><code class="function">g_dbus_proxy_new()</code></a> for more details.</p>
970
<p>When the operation is finished, <em class="parameter"><code>callback</code></em>
971
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.
972
You can then call <a class="link" href="UDisksEncrypted.html#udisks-encrypted-proxy-new-finish" title="udisks_encrypted_proxy_new_finish ()"><code class="function">udisks_encrypted_proxy_new_finish()</code></a> to get the result of the operation.</p>
973
<p>See <a class="link" href="UDisksEncrypted.html#udisks-encrypted-proxy-new-sync" title="udisks_encrypted_proxy_new_sync ()"><code class="function">udisks_encrypted_proxy_new_sync()</code></a> for the synchronous, blocking version of this constructor.</p>
974
<div class="refsect3">
975
<a name="id-1.4.5.14.13.16.7"></a><h4>Parameters</h4>
976
<div class="informaltable"><table width="100%" border="0">
978
<col width="150px" class="parameters_name">
979
<col class="parameters_description">
980
<col width="200px" class="parameters_annotations">
984
<td class="parameter_name"><p>connection</p></td>
985
<td class="parameter_description"><p>A <a href="http://library.gnome.org/devel/gio/unstable/GDBusConnection.html"><span class="type">GDBusConnection</span></a>.</p></td>
986
<td class="parameter_annotations"> </td>
989
<td class="parameter_name"><p>flags</p></td>
990
<td class="parameter_description"><p>Flags from the <a href="http://library.gnome.org/devel/gio/unstable/GDBusProxy.html#GDBusProxyFlags"><span class="type">GDBusProxyFlags</span></a> enumeration.</p></td>
991
<td class="parameter_annotations"> </td>
994
<td class="parameter_name"><p>name</p></td>
995
<td class="parameter_description"><p> A bus name (well-known or unique) or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>connection</code></em>
996
is not a message bus connection. </p></td>
997
<td class="parameter_annotations"><span class="annotation">[<a href="http://foldoc.org/allow-none"><span class="acronym">allow-none</span></a>]</span></td>
1000
<td class="parameter_name"><p>object_path</p></td>
1001
<td class="parameter_description"><p>An object path.</p></td>
1002
<td class="parameter_annotations"> </td>
1005
<td class="parameter_name"><p>cancellable</p></td>
1006
<td class="parameter_description"><p> 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>. </p></td>
1007
<td class="parameter_annotations"><span class="annotation">[<a href="http://foldoc.org/allow-none"><span class="acronym">allow-none</span></a>]</span></td>
1010
<td class="parameter_name"><p>callback</p></td>
1011
<td class="parameter_description"><p>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.</p></td>
1012
<td class="parameter_annotations"> </td>
1015
<td class="parameter_name"><p>user_data</p></td>
1016
<td class="parameter_description"><p>User data to pass to <em class="parameter"><code>callback</code></em>
1018
<td class="parameter_annotations"> </td>
1025
<div class="refsect2">
1026
<a name="udisks-encrypted-proxy-new-finish"></a><h3>udisks_encrypted_proxy_new_finish ()</h3>
1027
<pre class="programlisting"><a class="link" href="UDisksEncrypted.html" title="UDisksEncrypted"><span class="returnvalue">UDisksEncrypted</span></a> *
1028
udisks_encrypted_proxy_new_finish (<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a> *res</code></em>,
1029
<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>
1030
<p>Finishes an operation started with <a class="link" href="UDisksEncrypted.html#udisks-encrypted-proxy-new" title="udisks_encrypted_proxy_new ()"><code class="function">udisks_encrypted_proxy_new()</code></a>.</p>
1031
<div class="refsect3">
1032
<a name="id-1.4.5.14.13.17.5"></a><h4>Parameters</h4>
1033
<div class="informaltable"><table width="100%" border="0">
1035
<col width="150px" class="parameters_name">
1036
<col class="parameters_description">
1037
<col width="200px" class="parameters_annotations">
1041
<td class="parameter_name"><p>res</p></td>
1042
<td class="parameter_description"><p>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="UDisksEncrypted.html#udisks-encrypted-proxy-new" title="udisks_encrypted_proxy_new ()"><code class="function">udisks_encrypted_proxy_new()</code></a>.</p></td>
1043
<td class="parameter_annotations"> </td>
1046
<td class="parameter_name"><p>error</p></td>
1047
<td class="parameter_description"><p>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></p></td>
1048
<td class="parameter_annotations"> </td>
1053
<div class="refsect3">
1054
<a name="id-1.4.5.14.13.17.6"></a><h4>Returns</h4>
1055
<p> The constructed proxy object or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>error</code></em>
1057
<p><span class="annotation">[<a href="http://foldoc.org/transfer%20full"><span class="acronym">transfer full</span></a>][<a href="http://foldoc.org/type"><span class="acronym">type</span></a> UDisksEncryptedProxy]</span></p>
1061
<div class="refsect2">
1062
<a name="udisks-encrypted-proxy-new-sync"></a><h3>udisks_encrypted_proxy_new_sync ()</h3>
1063
<pre class="programlisting"><a class="link" href="UDisksEncrypted.html" title="UDisksEncrypted"><span class="returnvalue">UDisksEncrypted</span></a> *
1064
udisks_encrypted_proxy_new_sync (<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GDBusConnection.html"><span class="type">GDBusConnection</span></a> *connection</code></em>,
1065
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GDBusProxy.html#GDBusProxyFlags"><span class="type">GDBusProxyFlags</span></a> flags</code></em>,
1066
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
1067
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *object_path</code></em>,
1068
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
1069
<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>
1070
<p>Synchronously creates a proxy for the D-Bus interface <a class="link" href="gdbus-org.freedesktop.UDisks2.Encrypted.html#gdbus-interface-org-freedesktop-UDisks2-Encrypted.top_of_page">org.freedesktop.UDisks2.Encrypted</a>. See <a href="http://library.gnome.org/devel/gio/unstable/GDBusProxy.html#g-dbus-proxy-new-sync"><code class="function">g_dbus_proxy_new_sync()</code></a> for more details.</p>
1071
<p>The calling thread is blocked until a reply is received.</p>
1072
<p>See <a class="link" href="UDisksEncrypted.html#udisks-encrypted-proxy-new" title="udisks_encrypted_proxy_new ()"><code class="function">udisks_encrypted_proxy_new()</code></a> for the asynchronous version of this constructor.</p>
1073
<div class="refsect3">
1074
<a name="id-1.4.5.14.13.18.7"></a><h4>Parameters</h4>
1075
<div class="informaltable"><table width="100%" border="0">
1077
<col width="150px" class="parameters_name">
1078
<col class="parameters_description">
1079
<col width="200px" class="parameters_annotations">
1083
<td class="parameter_name"><p>connection</p></td>
1084
<td class="parameter_description"><p>A <a href="http://library.gnome.org/devel/gio/unstable/GDBusConnection.html"><span class="type">GDBusConnection</span></a>.</p></td>
1085
<td class="parameter_annotations"> </td>
1088
<td class="parameter_name"><p>flags</p></td>
1089
<td class="parameter_description"><p>Flags from the <a href="http://library.gnome.org/devel/gio/unstable/GDBusProxy.html#GDBusProxyFlags"><span class="type">GDBusProxyFlags</span></a> enumeration.</p></td>
1090
<td class="parameter_annotations"> </td>
1093
<td class="parameter_name"><p>name</p></td>
1094
<td class="parameter_description"><p> A bus name (well-known or unique) or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>connection</code></em>
1095
is not a message bus connection. </p></td>
1096
<td class="parameter_annotations"><span class="annotation">[<a href="http://foldoc.org/allow-none"><span class="acronym">allow-none</span></a>]</span></td>
1099
<td class="parameter_name"><p>object_path</p></td>
1100
<td class="parameter_description"><p>An object path.</p></td>
1101
<td class="parameter_annotations"> </td>
1104
<td class="parameter_name"><p>cancellable</p></td>
1105
<td class="parameter_description"><p> 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>. </p></td>
1106
<td class="parameter_annotations"><span class="annotation">[<a href="http://foldoc.org/allow-none"><span class="acronym">allow-none</span></a>]</span></td>
1109
<td class="parameter_name"><p>error</p></td>
1110
<td class="parameter_description"><p>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></p></td>
1111
<td class="parameter_annotations"> </td>
1116
<div class="refsect3">
1117
<a name="id-1.4.5.14.13.18.8"></a><h4>Returns</h4>
1118
<p> The constructed proxy object or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>error</code></em>
1120
<p><span class="annotation">[<a href="http://foldoc.org/transfer%20full"><span class="acronym">transfer full</span></a>][<a href="http://foldoc.org/type"><span class="acronym">type</span></a> UDisksEncryptedProxy]</span></p>
1124
<div class="refsect2">
1125
<a name="udisks-encrypted-proxy-new-for-bus"></a><h3>udisks_encrypted_proxy_new_for_bus ()</h3>
1126
<pre class="programlisting"><span class="returnvalue">void</span>
1127
udisks_encrypted_proxy_new_for_bus (<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GDBusConnection.html#GBusType"><span class="type">GBusType</span></a> bus_type</code></em>,
1128
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GDBusProxy.html#GDBusProxyFlags"><span class="type">GDBusProxyFlags</span></a> flags</code></em>,
1129
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
1130
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *object_path</code></em>,
1131
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
1132
<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>,
1133
<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>
1134
<p>Like <a class="link" href="UDisksEncrypted.html#udisks-encrypted-proxy-new" title="udisks_encrypted_proxy_new ()"><code class="function">udisks_encrypted_proxy_new()</code></a> but takes a <a href="http://library.gnome.org/devel/gio/unstable/GDBusConnection.html#GBusType"><span class="type">GBusType</span></a> instead of a <a href="http://library.gnome.org/devel/gio/unstable/GDBusConnection.html"><span class="type">GDBusConnection</span></a>.</p>
1135
<p>When the operation is finished, <em class="parameter"><code>callback</code></em>
1136
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.
1137
You can then call <a class="link" href="UDisksEncrypted.html#udisks-encrypted-proxy-new-for-bus-finish" title="udisks_encrypted_proxy_new_for_bus_finish ()"><code class="function">udisks_encrypted_proxy_new_for_bus_finish()</code></a> to get the result of the operation.</p>
1138
<p>See <a class="link" href="UDisksEncrypted.html#udisks-encrypted-proxy-new-for-bus-sync" title="udisks_encrypted_proxy_new_for_bus_sync ()"><code class="function">udisks_encrypted_proxy_new_for_bus_sync()</code></a> for the synchronous, blocking version of this constructor.</p>
1139
<div class="refsect3">
1140
<a name="id-1.4.5.14.13.19.7"></a><h4>Parameters</h4>
1141
<div class="informaltable"><table width="100%" border="0">
1143
<col width="150px" class="parameters_name">
1144
<col class="parameters_description">
1145
<col width="200px" class="parameters_annotations">
1149
<td class="parameter_name"><p>bus_type</p></td>
1150
<td class="parameter_description"><p>A <a href="http://library.gnome.org/devel/gio/unstable/GDBusConnection.html#GBusType"><span class="type">GBusType</span></a>.</p></td>
1151
<td class="parameter_annotations"> </td>
1154
<td class="parameter_name"><p>flags</p></td>
1155
<td class="parameter_description"><p>Flags from the <a href="http://library.gnome.org/devel/gio/unstable/GDBusProxy.html#GDBusProxyFlags"><span class="type">GDBusProxyFlags</span></a> enumeration.</p></td>
1156
<td class="parameter_annotations"> </td>
1159
<td class="parameter_name"><p>name</p></td>
1160
<td class="parameter_description"><p>A bus name (well-known or unique).</p></td>
1161
<td class="parameter_annotations"> </td>
1164
<td class="parameter_name"><p>object_path</p></td>
1165
<td class="parameter_description"><p>An object path.</p></td>
1166
<td class="parameter_annotations"> </td>
1169
<td class="parameter_name"><p>cancellable</p></td>
1170
<td class="parameter_description"><p> 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>. </p></td>
1171
<td class="parameter_annotations"><span class="annotation">[<a href="http://foldoc.org/allow-none"><span class="acronym">allow-none</span></a>]</span></td>
1174
<td class="parameter_name"><p>callback</p></td>
1175
<td class="parameter_description"><p>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.</p></td>
1176
<td class="parameter_annotations"> </td>
1179
<td class="parameter_name"><p>user_data</p></td>
1180
<td class="parameter_description"><p>User data to pass to <em class="parameter"><code>callback</code></em>
1182
<td class="parameter_annotations"> </td>
1189
<div class="refsect2">
1190
<a name="udisks-encrypted-proxy-new-for-bus-finish"></a><h3>udisks_encrypted_proxy_new_for_bus_finish ()</h3>
1191
<pre class="programlisting"><a class="link" href="UDisksEncrypted.html" title="UDisksEncrypted"><span class="returnvalue">UDisksEncrypted</span></a> *
1192
udisks_encrypted_proxy_new_for_bus_finish
1193
(<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a> *res</code></em>,
1194
<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>
1195
<p>Finishes an operation started with <a class="link" href="UDisksEncrypted.html#udisks-encrypted-proxy-new-for-bus" title="udisks_encrypted_proxy_new_for_bus ()"><code class="function">udisks_encrypted_proxy_new_for_bus()</code></a>.</p>
1196
<div class="refsect3">
1197
<a name="id-1.4.5.14.13.20.5"></a><h4>Parameters</h4>
1198
<div class="informaltable"><table width="100%" border="0">
1200
<col width="150px" class="parameters_name">
1201
<col class="parameters_description">
1202
<col width="200px" class="parameters_annotations">
1206
<td class="parameter_name"><p>res</p></td>
1207
<td class="parameter_description"><p>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="UDisksEncrypted.html#udisks-encrypted-proxy-new-for-bus" title="udisks_encrypted_proxy_new_for_bus ()"><code class="function">udisks_encrypted_proxy_new_for_bus()</code></a>.</p></td>
1208
<td class="parameter_annotations"> </td>
1211
<td class="parameter_name"><p>error</p></td>
1212
<td class="parameter_description"><p>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></p></td>
1213
<td class="parameter_annotations"> </td>
1218
<div class="refsect3">
1219
<a name="id-1.4.5.14.13.20.6"></a><h4>Returns</h4>
1220
<p> The constructed proxy object or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>error</code></em>
1222
<p><span class="annotation">[<a href="http://foldoc.org/transfer%20full"><span class="acronym">transfer full</span></a>][<a href="http://foldoc.org/type"><span class="acronym">type</span></a> UDisksEncryptedProxy]</span></p>
1226
<div class="refsect2">
1227
<a name="udisks-encrypted-proxy-new-for-bus-sync"></a><h3>udisks_encrypted_proxy_new_for_bus_sync ()</h3>
1228
<pre class="programlisting"><a class="link" href="UDisksEncrypted.html" title="UDisksEncrypted"><span class="returnvalue">UDisksEncrypted</span></a> *
1229
udisks_encrypted_proxy_new_for_bus_sync
1230
(<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GDBusConnection.html#GBusType"><span class="type">GBusType</span></a> bus_type</code></em>,
1231
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GDBusProxy.html#GDBusProxyFlags"><span class="type">GDBusProxyFlags</span></a> flags</code></em>,
1232
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
1233
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *object_path</code></em>,
1234
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
1235
<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>
1236
<p>Like <a class="link" href="UDisksEncrypted.html#udisks-encrypted-proxy-new-sync" title="udisks_encrypted_proxy_new_sync ()"><code class="function">udisks_encrypted_proxy_new_sync()</code></a> but takes a <a href="http://library.gnome.org/devel/gio/unstable/GDBusConnection.html#GBusType"><span class="type">GBusType</span></a> instead of a <a href="http://library.gnome.org/devel/gio/unstable/GDBusConnection.html"><span class="type">GDBusConnection</span></a>.</p>
1237
<p>The calling thread is blocked until a reply is received.</p>
1238
<p>See <a class="link" href="UDisksEncrypted.html#udisks-encrypted-proxy-new-for-bus" title="udisks_encrypted_proxy_new_for_bus ()"><code class="function">udisks_encrypted_proxy_new_for_bus()</code></a> for the asynchronous version of this constructor.</p>
1239
<div class="refsect3">
1240
<a name="id-1.4.5.14.13.21.7"></a><h4>Parameters</h4>
1241
<div class="informaltable"><table width="100%" border="0">
1243
<col width="150px" class="parameters_name">
1244
<col class="parameters_description">
1245
<col width="200px" class="parameters_annotations">
1249
<td class="parameter_name"><p>bus_type</p></td>
1250
<td class="parameter_description"><p>A <a href="http://library.gnome.org/devel/gio/unstable/GDBusConnection.html#GBusType"><span class="type">GBusType</span></a>.</p></td>
1251
<td class="parameter_annotations"> </td>
1254
<td class="parameter_name"><p>flags</p></td>
1255
<td class="parameter_description"><p>Flags from the <a href="http://library.gnome.org/devel/gio/unstable/GDBusProxy.html#GDBusProxyFlags"><span class="type">GDBusProxyFlags</span></a> enumeration.</p></td>
1256
<td class="parameter_annotations"> </td>
1259
<td class="parameter_name"><p>name</p></td>
1260
<td class="parameter_description"><p>A bus name (well-known or unique).</p></td>
1261
<td class="parameter_annotations"> </td>
1264
<td class="parameter_name"><p>object_path</p></td>
1265
<td class="parameter_description"><p>An object path.</p></td>
1266
<td class="parameter_annotations"> </td>
1269
<td class="parameter_name"><p>cancellable</p></td>
1270
<td class="parameter_description"><p> 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>. </p></td>
1271
<td class="parameter_annotations"><span class="annotation">[<a href="http://foldoc.org/allow-none"><span class="acronym">allow-none</span></a>]</span></td>
1274
<td class="parameter_name"><p>error</p></td>
1275
<td class="parameter_description"><p>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></p></td>
1276
<td class="parameter_annotations"> </td>
1281
<div class="refsect3">
1282
<a name="id-1.4.5.14.13.21.8"></a><h4>Returns</h4>
1283
<p> The constructed proxy object or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>error</code></em>
1285
<p><span class="annotation">[<a href="http://foldoc.org/transfer%20full"><span class="acronym">transfer full</span></a>][<a href="http://foldoc.org/type"><span class="acronym">type</span></a> UDisksEncryptedProxy]</span></p>
1289
<div class="refsect2">
1290
<a name="udisks-encrypted-skeleton-new"></a><h3>udisks_encrypted_skeleton_new ()</h3>
1291
<pre class="programlisting"><a class="link" href="UDisksEncrypted.html" title="UDisksEncrypted"><span class="returnvalue">UDisksEncrypted</span></a> *
1292
udisks_encrypted_skeleton_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
1293
<p>Creates a skeleton object for the D-Bus interface <a class="link" href="gdbus-org.freedesktop.UDisks2.Encrypted.html#gdbus-interface-org-freedesktop-UDisks2-Encrypted.top_of_page">org.freedesktop.UDisks2.Encrypted</a>.</p>
1294
<div class="refsect3">
1295
<a name="id-1.4.5.14.13.22.5"></a><h4>Returns</h4>
1296
<p> The skeleton object. </p>
1297
<p><span class="annotation">[<a href="http://foldoc.org/transfer%20full"><span class="acronym">transfer full</span></a>][<a href="http://foldoc.org/type"><span class="acronym">type</span></a> UDisksEncryptedSkeleton]</span></p>
1301
<div class="refsect1">
1302
<a name="UDisksEncrypted.other_details"></a><h2>Types and Values</h2>
1303
<div class="refsect2">
1304
<a name="UDisksEncrypted-struct"></a><h3>UDisksEncrypted</h3>
1305
<pre class="programlisting">typedef struct _UDisksEncrypted UDisksEncrypted;</pre>
1306
<p>Abstract interface type for the D-Bus interface <a class="link" href="gdbus-org.freedesktop.UDisks2.Encrypted.html#gdbus-interface-org-freedesktop-UDisks2-Encrypted.top_of_page">org.freedesktop.UDisks2.Encrypted</a>.</p>
1309
<div class="refsect2">
1310
<a name="UDisksEncryptedIface"></a><h3>struct UDisksEncryptedIface</h3>
1311
<pre class="programlisting">struct UDisksEncryptedIface {
1312
GTypeInterface parent_iface;
1314
gboolean (*handle_change_passphrase) (
1315
UDisksEncrypted *object,
1316
GDBusMethodInvocation *invocation,
1317
const gchar *arg_passphrase,
1318
const gchar *arg_new_passphrase,
1319
GVariant *arg_options);
1321
gboolean (*handle_lock) (
1322
UDisksEncrypted *object,
1323
GDBusMethodInvocation *invocation,
1324
GVariant *arg_options);
1326
gboolean (*handle_unlock) (
1327
UDisksEncrypted *object,
1328
GDBusMethodInvocation *invocation,
1329
const gchar *arg_passphrase,
1330
GVariant *arg_options);
1333
<p>Virtual table for the D-Bus interface <a class="link" href="gdbus-org.freedesktop.UDisks2.Encrypted.html#gdbus-interface-org-freedesktop-UDisks2-Encrypted.top_of_page">org.freedesktop.UDisks2.Encrypted</a>.</p>
1334
<div class="refsect3">
1335
<a name="id-1.4.5.14.14.3.5"></a><h4>Members</h4>
1336
<div class="informaltable"><table width="100%" border="0">
1338
<col width="300px" class="struct_members_name">
1339
<col class="struct_members_description">
1340
<col width="200px" class="struct_members_annotations">
1344
<td class="struct_member_name"><p><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#GTypeInterface"><span class="type">GTypeInterface</span></a> <em class="structfield"><code><a name="UDisksEncryptedIface.parent-iface"></a>parent_iface</code></em>;</p></td>
1345
<td class="struct_member_description"><p>The parent interface.</p></td>
1346
<td class="struct_member_annotations"> </td>
1349
<td class="struct_member_name"><p><em class="structfield"><code><a name="UDisksEncryptedIface.handle-change-passphrase"></a>handle_change_passphrase</code></em> ()</p></td>
1350
<td class="struct_member_description"><p>Handler for the <a class="link" href="UDisksEncrypted.html#UDisksEncrypted-handle-change-passphrase" title="The “handle-change-passphrase” signal"><span class="type">“handle-change-passphrase”</span></a> signal.</p></td>
1351
<td class="struct_member_annotations"> </td>
1354
<td class="struct_member_name"><p><em class="structfield"><code><a name="UDisksEncryptedIface.handle-lock"></a>handle_lock</code></em> ()</p></td>
1355
<td class="struct_member_description"><p>Handler for the <a class="link" href="UDisksEncrypted.html#UDisksEncrypted-handle-lock" title="The “handle-lock” signal"><span class="type">“handle-lock”</span></a> signal.</p></td>
1356
<td class="struct_member_annotations"> </td>
1359
<td class="struct_member_name"><p><em class="structfield"><code><a name="UDisksEncryptedIface.handle-unlock"></a>handle_unlock</code></em> ()</p></td>
1360
<td class="struct_member_description"><p>Handler for the <a class="link" href="UDisksEncrypted.html#UDisksEncrypted-handle-unlock" title="The “handle-unlock” signal"><span class="type">“handle-unlock”</span></a> signal.</p></td>
1361
<td class="struct_member_annotations"> </td>
1368
<div class="refsect2">
1369
<a name="UDisksEncryptedProxy-struct"></a><h3>struct UDisksEncryptedProxy</h3>
1370
<pre class="programlisting">struct UDisksEncryptedProxy;</pre>
1371
<p>The <a class="link" href="UDisksEncrypted.html#UDisksEncryptedProxy"><span class="type">UDisksEncryptedProxy</span></a> structure contains only private data and should only be accessed using the provided API.</p>
1374
<div class="refsect2">
1375
<a name="UDisksEncryptedProxyClass"></a><h3>struct UDisksEncryptedProxyClass</h3>
1376
<pre class="programlisting">struct UDisksEncryptedProxyClass {
1377
GDBusProxyClass parent_class;
1380
<p>Class structure for <a class="link" href="UDisksEncrypted.html#UDisksEncryptedProxy"><span class="type">UDisksEncryptedProxy</span></a>.</p>
1381
<div class="refsect3">
1382
<a name="id-1.4.5.14.14.5.5"></a><h4>Members</h4>
1383
<div class="informaltable"><table width="100%" border="0">
1385
<col width="300px" class="struct_members_name">
1386
<col class="struct_members_description">
1387
<col width="200px" class="struct_members_annotations">
1390
<td class="struct_member_name"><p><a href="http://library.gnome.org/devel/gio/unstable/GDBusProxy.html#GDBusProxyClass"><span class="type">GDBusProxyClass</span></a> <em class="structfield"><code><a name="UDisksEncryptedProxyClass.parent-class"></a>parent_class</code></em>;</p></td>
1391
<td class="struct_member_description"><p>The parent class.</p></td>
1392
<td class="struct_member_annotations"> </td>
1398
<div class="refsect2">
1399
<a name="UDisksEncryptedSkeleton-struct"></a><h3>struct UDisksEncryptedSkeleton</h3>
1400
<pre class="programlisting">struct UDisksEncryptedSkeleton;</pre>
1401
<p>The <a class="link" href="UDisksEncrypted.html#UDisksEncryptedSkeleton"><span class="type">UDisksEncryptedSkeleton</span></a> structure contains only private data and should only be accessed using the provided API.</p>
1404
<div class="refsect2">
1405
<a name="UDisksEncryptedSkeletonClass"></a><h3>struct UDisksEncryptedSkeletonClass</h3>
1406
<pre class="programlisting">struct UDisksEncryptedSkeletonClass {
1407
GDBusInterfaceSkeletonClass parent_class;
1410
<p>Class structure for <a class="link" href="UDisksEncrypted.html#UDisksEncryptedSkeleton"><span class="type">UDisksEncryptedSkeleton</span></a>.</p>
1411
<div class="refsect3">
1412
<a name="id-1.4.5.14.14.7.5"></a><h4>Members</h4>
1413
<div class="informaltable"><table width="100%" border="0">
1415
<col width="300px" class="struct_members_name">
1416
<col class="struct_members_description">
1417
<col width="200px" class="struct_members_annotations">
1420
<td class="struct_member_name"><p><a href="http://library.gnome.org/devel/gio/unstable/GDBusInterfaceSkeleton.html#GDBusInterfaceSkeletonClass"><span class="type">GDBusInterfaceSkeletonClass</span></a> <em class="structfield"><code><a name="UDisksEncryptedSkeletonClass.parent-class"></a>parent_class</code></em>;</p></td>
1421
<td class="struct_member_description"><p>The parent class.</p></td>
1422
<td class="struct_member_annotations"> </td>
1428
<div class="refsect1">
1429
<a name="UDisksEncrypted.signal-details"></a><h2>Signal Details</h2>
1430
<div class="refsect2">
1431
<a name="UDisksEncrypted-handle-change-passphrase"></a><h3>The <code class="literal">“handle-change-passphrase”</code> signal</h3>
1432
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
1433
user_function (<a class="link" href="UDisksEncrypted.html" title="UDisksEncrypted"><span class="type">UDisksEncrypted</span></a> *object,
1434
<a href="http://library.gnome.org/devel/gio/unstable/GDBusMethodInvocation.html"><span class="type">GDBusMethodInvocation</span></a> *invocation,
1435
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *arg_passphrase,
1436
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *arg_new_passphrase,
1437
<a href="http://library.gnome.org/devel/glib/unstable/glib-GVariant.html#GVariant"><span class="type">GVariant</span></a> *arg_options,
1438
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
1439
<p>Signal emitted when a remote caller is invoking the <a class="link" href="gdbus-org.freedesktop.UDisks2.Encrypted.html#gdbus-method-org-freedesktop-UDisks2-Encrypted.ChangePassphrase" title="The ChangePassphrase() method"><code class="function">ChangePassphrase()</code></a> D-Bus method.</p>
1440
<p>If a signal handler returns <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, it means the signal handler will handle the invocation (e.g. take a reference to <em class="parameter"><code>invocation</code></em>
1441
and eventually call <a class="link" href="UDisksEncrypted.html#udisks-encrypted-complete-change-passphrase" title="udisks_encrypted_complete_change_passphrase ()"><code class="function">udisks_encrypted_complete_change_passphrase()</code></a> or e.g. <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> on it) and no order signal handlers will run. If no signal handler handles the invocation, the <code class="literal">G_DBUS_ERROR_UNKNOWN_METHOD</code> error is returned.</p>
1442
<div class="refsect3">
1443
<a name="id-1.4.5.14.15.2.6"></a><h4>Parameters</h4>
1444
<div class="informaltable"><table width="100%" border="0">
1446
<col width="150px" class="parameters_name">
1447
<col class="parameters_description">
1448
<col width="200px" class="parameters_annotations">
1452
<td class="parameter_name"><p>object</p></td>
1453
<td class="parameter_description"><p>A <a class="link" href="UDisksEncrypted.html" title="UDisksEncrypted"><span class="type">UDisksEncrypted</span></a>.</p></td>
1454
<td class="parameter_annotations"> </td>
1457
<td class="parameter_name"><p>invocation</p></td>
1458
<td class="parameter_description"><p>A <a href="http://library.gnome.org/devel/gio/unstable/GDBusMethodInvocation.html"><span class="type">GDBusMethodInvocation</span></a>.</p></td>
1459
<td class="parameter_annotations"> </td>
1462
<td class="parameter_name"><p>arg_passphrase</p></td>
1463
<td class="parameter_description"><p>Argument passed by remote caller.</p></td>
1464
<td class="parameter_annotations"> </td>
1467
<td class="parameter_name"><p>arg_new_passphrase</p></td>
1468
<td class="parameter_description"><p>Argument passed by remote caller.</p></td>
1469
<td class="parameter_annotations"> </td>
1472
<td class="parameter_name"><p>arg_options</p></td>
1473
<td class="parameter_description"><p>Argument passed by remote caller.</p></td>
1474
<td class="parameter_annotations"> </td>
1477
<td class="parameter_name"><p>user_data</p></td>
1478
<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
1479
<td class="parameter_annotations"> </td>
1484
<div class="refsect3">
1485
<a name="id-1.4.5.14.15.2.7"></a><h4>Returns</h4>
1486
<p> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the invocation was handled, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> to let other signal handlers run.</p>
1489
<p>Flags: Run Last</p>
1492
<div class="refsect2">
1493
<a name="UDisksEncrypted-handle-lock"></a><h3>The <code class="literal">“handle-lock”</code> signal</h3>
1494
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
1495
user_function (<a class="link" href="UDisksEncrypted.html" title="UDisksEncrypted"><span class="type">UDisksEncrypted</span></a> *object,
1496
<a href="http://library.gnome.org/devel/gio/unstable/GDBusMethodInvocation.html"><span class="type">GDBusMethodInvocation</span></a> *invocation,
1497
<a href="http://library.gnome.org/devel/glib/unstable/glib-GVariant.html#GVariant"><span class="type">GVariant</span></a> *arg_options,
1498
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
1499
<p>Signal emitted when a remote caller is invoking the <a class="link" href="gdbus-org.freedesktop.UDisks2.Encrypted.html#gdbus-method-org-freedesktop-UDisks2-Encrypted.Lock" title="The Lock() method"><code class="function">Lock()</code></a> D-Bus method.</p>
1500
<p>If a signal handler returns <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, it means the signal handler will handle the invocation (e.g. take a reference to <em class="parameter"><code>invocation</code></em>
1501
and eventually call <a class="link" href="UDisksEncrypted.html#udisks-encrypted-complete-lock" title="udisks_encrypted_complete_lock ()"><code class="function">udisks_encrypted_complete_lock()</code></a> or e.g. <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> on it) and no order signal handlers will run. If no signal handler handles the invocation, the <code class="literal">G_DBUS_ERROR_UNKNOWN_METHOD</code> error is returned.</p>
1502
<div class="refsect3">
1503
<a name="id-1.4.5.14.15.3.6"></a><h4>Parameters</h4>
1504
<div class="informaltable"><table width="100%" border="0">
1506
<col width="150px" class="parameters_name">
1507
<col class="parameters_description">
1508
<col width="200px" class="parameters_annotations">
1512
<td class="parameter_name"><p>object</p></td>
1513
<td class="parameter_description"><p>A <a class="link" href="UDisksEncrypted.html" title="UDisksEncrypted"><span class="type">UDisksEncrypted</span></a>.</p></td>
1514
<td class="parameter_annotations"> </td>
1517
<td class="parameter_name"><p>invocation</p></td>
1518
<td class="parameter_description"><p>A <a href="http://library.gnome.org/devel/gio/unstable/GDBusMethodInvocation.html"><span class="type">GDBusMethodInvocation</span></a>.</p></td>
1519
<td class="parameter_annotations"> </td>
1522
<td class="parameter_name"><p>arg_options</p></td>
1523
<td class="parameter_description"><p>Argument passed by remote caller.</p></td>
1524
<td class="parameter_annotations"> </td>
1527
<td class="parameter_name"><p>user_data</p></td>
1528
<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
1529
<td class="parameter_annotations"> </td>
1534
<div class="refsect3">
1535
<a name="id-1.4.5.14.15.3.7"></a><h4>Returns</h4>
1536
<p> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the invocation was handled, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> to let other signal handlers run.</p>
1539
<p>Flags: Run Last</p>
1542
<div class="refsect2">
1543
<a name="UDisksEncrypted-handle-unlock"></a><h3>The <code class="literal">“handle-unlock”</code> signal</h3>
1544
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
1545
user_function (<a class="link" href="UDisksEncrypted.html" title="UDisksEncrypted"><span class="type">UDisksEncrypted</span></a> *object,
1546
<a href="http://library.gnome.org/devel/gio/unstable/GDBusMethodInvocation.html"><span class="type">GDBusMethodInvocation</span></a> *invocation,
1547
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *arg_passphrase,
1548
<a href="http://library.gnome.org/devel/glib/unstable/glib-GVariant.html#GVariant"><span class="type">GVariant</span></a> *arg_options,
1549
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
1550
<p>Signal emitted when a remote caller is invoking the <a class="link" href="gdbus-org.freedesktop.UDisks2.Encrypted.html#gdbus-method-org-freedesktop-UDisks2-Encrypted.Unlock" title="The Unlock() method"><code class="function">Unlock()</code></a> D-Bus method.</p>
1551
<p>If a signal handler returns <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, it means the signal handler will handle the invocation (e.g. take a reference to <em class="parameter"><code>invocation</code></em>
1552
and eventually call <a class="link" href="UDisksEncrypted.html#udisks-encrypted-complete-unlock" title="udisks_encrypted_complete_unlock ()"><code class="function">udisks_encrypted_complete_unlock()</code></a> or e.g. <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> on it) and no order signal handlers will run. If no signal handler handles the invocation, the <code class="literal">G_DBUS_ERROR_UNKNOWN_METHOD</code> error is returned.</p>
1553
<div class="refsect3">
1554
<a name="id-1.4.5.14.15.4.6"></a><h4>Parameters</h4>
1555
<div class="informaltable"><table width="100%" border="0">
1557
<col width="150px" class="parameters_name">
1558
<col class="parameters_description">
1559
<col width="200px" class="parameters_annotations">
1563
<td class="parameter_name"><p>object</p></td>
1564
<td class="parameter_description"><p>A <a class="link" href="UDisksEncrypted.html" title="UDisksEncrypted"><span class="type">UDisksEncrypted</span></a>.</p></td>
1565
<td class="parameter_annotations"> </td>
1568
<td class="parameter_name"><p>invocation</p></td>
1569
<td class="parameter_description"><p>A <a href="http://library.gnome.org/devel/gio/unstable/GDBusMethodInvocation.html"><span class="type">GDBusMethodInvocation</span></a>.</p></td>
1570
<td class="parameter_annotations"> </td>
1573
<td class="parameter_name"><p>arg_passphrase</p></td>
1574
<td class="parameter_description"><p>Argument passed by remote caller.</p></td>
1575
<td class="parameter_annotations"> </td>
1578
<td class="parameter_name"><p>arg_options</p></td>
1579
<td class="parameter_description"><p>Argument passed by remote caller.</p></td>
1580
<td class="parameter_annotations"> </td>
1583
<td class="parameter_name"><p>user_data</p></td>
1584
<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
1585
<td class="parameter_annotations"> </td>
1590
<div class="refsect3">
1591
<a name="id-1.4.5.14.15.4.7"></a><h4>Returns</h4>
1592
<p> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the invocation was handled, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> to let other signal handlers run.</p>
1595
<p>Flags: Run Last</p>
1599
<div class="footer">
1601
Generated by GTK-Doc V1.20</div>
b'\\ No newline at end of file'