Debian Codegraph @

doc/html/UDisksSwapspace.html

raw
1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2 <html>
3 <head>
4 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5 <title>UDisksSwapspace: UDisks Reference Manual</title>
6 <meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
7 <link rel="home" href="index.html" title="UDisks Reference Manual">
8 <link rel="up" href="ref-library-generated.html" title="Generated Code">
9 <link rel="prev" href="UDisksFilesystem.html" title="UDisksFilesystem">
10 <link rel="next" href="UDisksEncrypted.html" title="UDisksEncrypted">
11 <meta name="generator" content="GTK-Doc V1.35.1 (XML mode)">
12 <link rel="stylesheet" href="style.css" type="text/css">
13 </head>
14 <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
15 <table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
16 <td width="100%" align="left" class="shortcuts">
17 <a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
18 <a href="#UDisksSwapspace.description" class="shortcut">Description</a></span><span id="nav_hierarchy">  <span class="dim">|</span> 
19 <a href="#UDisksSwapspace.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_interfaces">  <span class="dim">|</span> 
20 <a href="#UDisksSwapspace.implemented-interfaces" class="shortcut">Implemented Interfaces</a></span><span id="nav_prerequisites">  <span class="dim">|</span> 
21 <a href="#UDisksSwapspace.prerequisites" class="shortcut">Prerequisites</a></span><span id="nav_implementations">  <span class="dim">|</span> 
22 <a href="#UDisksSwapspace.implementations" class="shortcut">Known Implementations</a></span><span id="nav_properties">  <span class="dim">|</span> 
23 <a href="#UDisksSwapspace.properties" class="shortcut">Properties</a></span><span id="nav_signals">  <span class="dim">|</span> 
24 <a href="#UDisksSwapspace.signals" class="shortcut">Signals</a></span>
25 </td>
26 <td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
27 <td><a accesskey="u" href="ref-library-generated.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
28 <td><a accesskey="p" href="UDisksFilesystem.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
29 <td><a accesskey="n" href="UDisksEncrypted.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
30 </tr></table>
31 <div class="refentry">
32 <a name="UDisksSwapspace"></a><div class="titlepage"></div>
33 <div class="refnamediv"><table width="100%"><tr>
34 <td valign="top">
35 <h2><span class="refentrytitle"><a name="UDisksSwapspace.top_of_page"></a>UDisksSwapspace</span></h2>
36 <p>UDisksSwapspace — Generated C code for the org.freedesktop.UDisks2.Swapspace D-Bus interface</p>
37 </td>
38 <td class="gallery_image" valign="top" align="right"></td>
39 </tr></table></div>
40 <div class="refsect1">
41 <a name="UDisksSwapspace.functions"></a><h2>Functions</h2>
42 <div class="informaltable"><table class="informaltable" width="100%" border="0">
43 <colgroup>
44 <col width="150px" class="functions_proto_type">
45 <col class="functions_proto_name">
46 </colgroup>
47 <tbody>
48 <tr>
49 <td class="function_type">
50 <span class="returnvalue">GDBusInterfaceInfo</span> *
51 </td>
52 <td class="function_name">
53 <a class="link" href="UDisksSwapspace.html#udisks-swapspace-interface-info" title="udisks_swapspace_interface_info ()">udisks_swapspace_interface_info</a> <span class="c_punctuation">()</span>
54 </td>
55 </tr>
56 <tr>
57 <td class="function_type">
58 <span class="returnvalue">guint</span>
59 </td>
60 <td class="function_name">
61 <a class="link" href="UDisksSwapspace.html#udisks-swapspace-override-properties" title="udisks_swapspace_override_properties ()">udisks_swapspace_override_properties</a> <span class="c_punctuation">()</span>
62 </td>
63 </tr>
64 <tr>
65 <td class="function_type">
66 <span class="returnvalue">void</span>
67 </td>
68 <td class="function_name">
69 <a class="link" href="UDisksSwapspace.html#udisks-swapspace-call-start" title="udisks_swapspace_call_start ()">udisks_swapspace_call_start</a> <span class="c_punctuation">()</span>
70 </td>
71 </tr>
72 <tr>
73 <td class="function_type">
74 <span class="returnvalue">gboolean</span>
75 </td>
76 <td class="function_name">
77 <a class="link" href="UDisksSwapspace.html#udisks-swapspace-call-start-finish" title="udisks_swapspace_call_start_finish ()">udisks_swapspace_call_start_finish</a> <span class="c_punctuation">()</span>
78 </td>
79 </tr>
80 <tr>
81 <td class="function_type">
82 <span class="returnvalue">gboolean</span>
83 </td>
84 <td class="function_name">
85 <a class="link" href="UDisksSwapspace.html#udisks-swapspace-call-start-sync" title="udisks_swapspace_call_start_sync ()">udisks_swapspace_call_start_sync</a> <span class="c_punctuation">()</span>
86 </td>
87 </tr>
88 <tr>
89 <td class="function_type">
90 <span class="returnvalue">void</span>
91 </td>
92 <td class="function_name">
93 <a class="link" href="UDisksSwapspace.html#udisks-swapspace-complete-start" title="udisks_swapspace_complete_start ()">udisks_swapspace_complete_start</a> <span class="c_punctuation">()</span>
94 </td>
95 </tr>
96 <tr>
97 <td class="function_type">
98 <span class="returnvalue">void</span>
99 </td>
100 <td class="function_name">
101 <a class="link" href="UDisksSwapspace.html#udisks-swapspace-call-stop" title="udisks_swapspace_call_stop ()">udisks_swapspace_call_stop</a> <span class="c_punctuation">()</span>
102 </td>
103 </tr>
104 <tr>
105 <td class="function_type">
106 <span class="returnvalue">gboolean</span>
107 </td>
108 <td class="function_name">
109 <a class="link" href="UDisksSwapspace.html#udisks-swapspace-call-stop-finish" title="udisks_swapspace_call_stop_finish ()">udisks_swapspace_call_stop_finish</a> <span class="c_punctuation">()</span>
110 </td>
111 </tr>
112 <tr>
113 <td class="function_type">
114 <span class="returnvalue">gboolean</span>
115 </td>
116 <td class="function_name">
117 <a class="link" href="UDisksSwapspace.html#udisks-swapspace-call-stop-sync" title="udisks_swapspace_call_stop_sync ()">udisks_swapspace_call_stop_sync</a> <span class="c_punctuation">()</span>
118 </td>
119 </tr>
120 <tr>
121 <td class="function_type">
122 <span class="returnvalue">void</span>
123 </td>
124 <td class="function_name">
125 <a class="link" href="UDisksSwapspace.html#udisks-swapspace-complete-stop" title="udisks_swapspace_complete_stop ()">udisks_swapspace_complete_stop</a> <span class="c_punctuation">()</span>
126 </td>
127 </tr>
128 <tr>
129 <td class="function_type">
130 <span class="returnvalue">void</span>
131 </td>
132 <td class="function_name">
133 <a class="link" href="UDisksSwapspace.html#udisks-swapspace-call-set-label" title="udisks_swapspace_call_set_label ()">udisks_swapspace_call_set_label</a> <span class="c_punctuation">()</span>
134 </td>
135 </tr>
136 <tr>
137 <td class="function_type">
138 <span class="returnvalue">gboolean</span>
139 </td>
140 <td class="function_name">
141 <a class="link" href="UDisksSwapspace.html#udisks-swapspace-call-set-label-finish" title="udisks_swapspace_call_set_label_finish ()">udisks_swapspace_call_set_label_finish</a> <span class="c_punctuation">()</span>
142 </td>
143 </tr>
144 <tr>
145 <td class="function_type">
146 <span class="returnvalue">gboolean</span>
147 </td>
148 <td class="function_name">
149 <a class="link" href="UDisksSwapspace.html#udisks-swapspace-call-set-label-sync" title="udisks_swapspace_call_set_label_sync ()">udisks_swapspace_call_set_label_sync</a> <span class="c_punctuation">()</span>
150 </td>
151 </tr>
152 <tr>
153 <td class="function_type">
154 <span class="returnvalue">void</span>
155 </td>
156 <td class="function_name">
157 <a class="link" href="UDisksSwapspace.html#udisks-swapspace-complete-set-label" title="udisks_swapspace_complete_set_label ()">udisks_swapspace_complete_set_label</a> <span class="c_punctuation">()</span>
158 </td>
159 </tr>
160 <tr>
161 <td class="function_type">
162 <span class="returnvalue">void</span>
163 </td>
164 <td class="function_name">
165 <a class="link" href="UDisksSwapspace.html#udisks-swapspace-call-set-uuid" title="udisks_swapspace_call_set_uuid ()">udisks_swapspace_call_set_uuid</a> <span class="c_punctuation">()</span>
166 </td>
167 </tr>
168 <tr>
169 <td class="function_type">
170 <span class="returnvalue">gboolean</span>
171 </td>
172 <td class="function_name">
173 <a class="link" href="UDisksSwapspace.html#udisks-swapspace-call-set-uuid-finish" title="udisks_swapspace_call_set_uuid_finish ()">udisks_swapspace_call_set_uuid_finish</a> <span class="c_punctuation">()</span>
174 </td>
175 </tr>
176 <tr>
177 <td class="function_type">
178 <span class="returnvalue">gboolean</span>
179 </td>
180 <td class="function_name">
181 <a class="link" href="UDisksSwapspace.html#udisks-swapspace-call-set-uuid-sync" title="udisks_swapspace_call_set_uuid_sync ()">udisks_swapspace_call_set_uuid_sync</a> <span class="c_punctuation">()</span>
182 </td>
183 </tr>
184 <tr>
185 <td class="function_type">
186 <span class="returnvalue">void</span>
187 </td>
188 <td class="function_name">
189 <a class="link" href="UDisksSwapspace.html#udisks-swapspace-complete-set-uuid" title="udisks_swapspace_complete_set_uuid ()">udisks_swapspace_complete_set_uuid</a> <span class="c_punctuation">()</span>
190 </td>
191 </tr>
192 <tr>
193 <td class="function_type">
194 <span class="returnvalue">gboolean</span>
195 </td>
196 <td class="function_name">
197 <a class="link" href="UDisksSwapspace.html#udisks-swapspace-get-active" title="udisks_swapspace_get_active ()">udisks_swapspace_get_active</a> <span class="c_punctuation">()</span>
198 </td>
199 </tr>
200 <tr>
201 <td class="function_type">
202 <span class="returnvalue">void</span>
203 </td>
204 <td class="function_name">
205 <a class="link" href="UDisksSwapspace.html#udisks-swapspace-set-active" title="udisks_swapspace_set_active ()">udisks_swapspace_set_active</a> <span class="c_punctuation">()</span>
206 </td>
207 </tr>
208 <tr>
209 <td class="function_type">
210 <span class="returnvalue">void</span>
211 </td>
212 <td class="function_name">
213 <a class="link" href="UDisksSwapspace.html#udisks-swapspace-proxy-new" title="udisks_swapspace_proxy_new ()">udisks_swapspace_proxy_new</a> <span class="c_punctuation">()</span>
214 </td>
215 </tr>
216 <tr>
217 <td class="function_type">
218 <a class="link" href="UDisksSwapspace.html" title="UDisksSwapspace"><span class="returnvalue">UDisksSwapspace</span></a> *
219 </td>
220 <td class="function_name">
221 <a class="link" href="UDisksSwapspace.html#udisks-swapspace-proxy-new-finish" title="udisks_swapspace_proxy_new_finish ()">udisks_swapspace_proxy_new_finish</a> <span class="c_punctuation">()</span>
222 </td>
223 </tr>
224 <tr>
225 <td class="function_type">
226 <a class="link" href="UDisksSwapspace.html" title="UDisksSwapspace"><span class="returnvalue">UDisksSwapspace</span></a> *
227 </td>
228 <td class="function_name">
229 <a class="link" href="UDisksSwapspace.html#udisks-swapspace-proxy-new-sync" title="udisks_swapspace_proxy_new_sync ()">udisks_swapspace_proxy_new_sync</a> <span class="c_punctuation">()</span>
230 </td>
231 </tr>
232 <tr>
233 <td class="function_type">
234 <span class="returnvalue">void</span>
235 </td>
236 <td class="function_name">
237 <a class="link" href="UDisksSwapspace.html#udisks-swapspace-proxy-new-for-bus" title="udisks_swapspace_proxy_new_for_bus ()">udisks_swapspace_proxy_new_for_bus</a> <span class="c_punctuation">()</span>
238 </td>
239 </tr>
240 <tr>
241 <td class="function_type">
242 <a class="link" href="UDisksSwapspace.html" title="UDisksSwapspace"><span class="returnvalue">UDisksSwapspace</span></a> *
243 </td>
244 <td class="function_name">
245 <a class="link" href="UDisksSwapspace.html#udisks-swapspace-proxy-new-for-bus-finish" title="udisks_swapspace_proxy_new_for_bus_finish ()">udisks_swapspace_proxy_new_for_bus_finish</a> <span class="c_punctuation">()</span>
246 </td>
247 </tr>
248 <tr>
249 <td class="function_type">
250 <a class="link" href="UDisksSwapspace.html" title="UDisksSwapspace"><span class="returnvalue">UDisksSwapspace</span></a> *
251 </td>
252 <td class="function_name">
253 <a class="link" href="UDisksSwapspace.html#udisks-swapspace-proxy-new-for-bus-sync" title="udisks_swapspace_proxy_new_for_bus_sync ()">udisks_swapspace_proxy_new_for_bus_sync</a> <span class="c_punctuation">()</span>
254 </td>
255 </tr>
256 <tr>
257 <td class="function_type">
258 <a class="link" href="UDisksSwapspace.html" title="UDisksSwapspace"><span class="returnvalue">UDisksSwapspace</span></a> *
259 </td>
260 <td class="function_name">
261 <a class="link" href="UDisksSwapspace.html#udisks-swapspace-skeleton-new" title="udisks_swapspace_skeleton_new ()">udisks_swapspace_skeleton_new</a> <span class="c_punctuation">()</span>
262 </td>
263 </tr>
264 </tbody>
265 </table></div>
266 </div>
267 <div class="refsect1">
268 <a name="UDisksSwapspace.properties"></a><h2>Properties</h2>
269 <div class="informaltable"><table class="informaltable" border="0">
270 <colgroup>
271 <col width="150px" class="properties_type">
272 <col width="300px" class="properties_name">
273 <col width="200px" class="properties_flags">
274 </colgroup>
275 <tbody><tr>
276 <td class="property_type"><span class="type">gboolean</span></td>
277 <td class="property_name"><a class="link" href="UDisksSwapspace.html#UDisksSwapspace--active" title="The “active” property">active</a></td>
278 <td class="property_flags">Read / Write</td>
279 </tr></tbody>
280 </table></div>
281 </div>
282 <div class="refsect1">
283 <a name="UDisksSwapspace.signals"></a><h2>Signals</h2>
284 <div class="informaltable"><table class="informaltable" border="0">
285 <colgroup>
286 <col width="150px" class="signal_proto_type">
287 <col width="300px" class="signal_proto_name">
288 <col width="200px" class="signal_proto_flags">
289 </colgroup>
290 <tbody>
291 <tr>
292 <td class="signal_type"><span class="returnvalue">gboolean</span></td>
293 <td class="signal_name"><a class="link" href="UDisksSwapspace.html#UDisksSwapspace-handle-set-label" title="The “handle-set-label” signal">handle-set-label</a></td>
294 <td class="signal_flags">Run Last</td>
295 </tr>
296 <tr>
297 <td class="signal_type"><span class="returnvalue">gboolean</span></td>
298 <td class="signal_name"><a class="link" href="UDisksSwapspace.html#UDisksSwapspace-handle-set-uuid" title="The “handle-set-uuid” signal">handle-set-uuid</a></td>
299 <td class="signal_flags">Run Last</td>
300 </tr>
301 <tr>
302 <td class="signal_type"><span class="returnvalue">gboolean</span></td>
303 <td class="signal_name"><a class="link" href="UDisksSwapspace.html#UDisksSwapspace-handle-start" title="The “handle-start” signal">handle-start</a></td>
304 <td class="signal_flags">Run Last</td>
305 </tr>
306 <tr>
307 <td class="signal_type"><span class="returnvalue">gboolean</span></td>
308 <td class="signal_name"><a class="link" href="UDisksSwapspace.html#UDisksSwapspace-handle-stop" title="The “handle-stop” signal">handle-stop</a></td>
309 <td class="signal_flags">Run Last</td>
310 </tr>
311 </tbody>
312 </table></div>
313 </div>
314 <a name="UDisksSwapspaceProxy"></a><a name="UDisksSwapspaceSkeleton"></a><div class="refsect1">
315 <a name="UDisksSwapspace.other"></a><h2>Types and Values</h2>
316 <div class="informaltable"><table class="informaltable" width="100%" border="0">
317 <colgroup>
318 <col width="150px" class="other_proto_type">
319 <col class="other_proto_name">
320 </colgroup>
321 <tbody>
322 <tr>
323 <td class="datatype_keyword"> </td>
324 <td class="function_name"><a class="link" href="UDisksSwapspace.html#UDisksSwapspace-struct" title="UDisksSwapspace">UDisksSwapspace</a></td>
325 </tr>
326 <tr>
327 <td class="datatype_keyword">struct</td>
328 <td class="function_name"><a class="link" href="UDisksSwapspace.html#UDisksSwapspaceIface" title="struct UDisksSwapspaceIface">UDisksSwapspaceIface</a></td>
329 </tr>
330 <tr>
331 <td class="datatype_keyword">struct</td>
332 <td class="function_name"><a class="link" href="UDisksSwapspace.html#UDisksSwapspaceProxy-struct" title="struct UDisksSwapspaceProxy">UDisksSwapspaceProxy</a></td>
333 </tr>
334 <tr>
335 <td class="datatype_keyword">struct</td>
336 <td class="function_name"><a class="link" href="UDisksSwapspace.html#UDisksSwapspaceProxyClass" title="struct UDisksSwapspaceProxyClass">UDisksSwapspaceProxyClass</a></td>
337 </tr>
338 <tr>
339 <td class="datatype_keyword">struct</td>
340 <td class="function_name"><a class="link" href="UDisksSwapspace.html#UDisksSwapspaceSkeleton-struct" title="struct UDisksSwapspaceSkeleton">UDisksSwapspaceSkeleton</a></td>
341 </tr>
342 <tr>
343 <td class="datatype_keyword">struct</td>
344 <td class="function_name"><a class="link" href="UDisksSwapspace.html#UDisksSwapspaceSkeletonClass" title="struct UDisksSwapspaceSkeletonClass">UDisksSwapspaceSkeletonClass</a></td>
345 </tr>
346 </tbody>
347 </table></div>
348 </div>
349 <div class="refsect1">
350 <a name="UDisksSwapspace.object-hierarchy"></a><h2>Object Hierarchy</h2>
351 <pre class="screen"> <a href="/usr/share/gtk-doc/html/gobject/GTypeModule.html">GInterface</a>
352 <span class="lineart">╰──</span> UDisksSwapspace
353 GObject
354 <span class="lineart">├──</span> GDBusInterfaceSkeleton
355 <span class="lineart">│</span> <span class="lineart">╰──</span> UDisksSwapspaceSkeleton
356 <span class="lineart">│</span> <span class="lineart">╰──</span> <a class="link" href="UDisksLinuxSwapspace.html" title="UDisksLinuxSwapspace">UDisksLinuxSwapspace</a>
357 <span class="lineart">╰──</span> GDBusProxy
358 <span class="lineart">╰──</span> UDisksSwapspaceProxy
359 </pre>
360 </div>
361 <div class="refsect1">
362 <a name="UDisksSwapspace.prerequisites"></a><h2>Prerequisites</h2>
363 <p>
364 UDisksSwapspace requires
365 GObject.</p>
366 </div>
367 <div class="refsect1">
368 <a name="UDisksSwapspace.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
369 <p>
370 UDisksSwapspaceProxy implements
371 GDBusInterface, GInitable, GAsyncInitable and <a class="link" href="UDisksSwapspace.html" title="UDisksSwapspace">UDisksSwapspace</a>.</p>
372 <p>
373 UDisksSwapspaceSkeleton implements
374 GDBusInterface and <a class="link" href="UDisksSwapspace.html" title="UDisksSwapspace">UDisksSwapspace</a>.</p>
375 </div>
376 <div class="refsect1">
377 <a name="UDisksSwapspace.implementations"></a><h2>Known Implementations</h2>
378 <p>
379 UDisksSwapspace is implemented by
380 <a class="link" href="UDisksLinuxSwapspace.html" title="UDisksLinuxSwapspace">UDisksLinuxSwapspace</a>, <a class="link" href="UDisksSwapspace.html#UDisksSwapspaceProxy">UDisksSwapspaceProxy</a> and <a class="link" href="UDisksSwapspace.html#UDisksSwapspaceSkeleton">UDisksSwapspaceSkeleton</a>.</p>
381 </div>
382 <div class="refsect1">
383 <a name="UDisksSwapspace.description"></a><h2>Description</h2>
384 <p>This section contains code for working with the <a class="link" href="gdbus-org.freedesktop.UDisks2.Swapspace.html#gdbus-interface-org-freedesktop-UDisks2-Swapspace.top_of_page">org.freedesktop.UDisks2.Swapspace</a> D-Bus interface in C.</p>
385 </div>
386 <div class="refsect1">
387 <a name="UDisksSwapspace.functions_details"></a><h2>Functions</h2>
388 <div class="refsect2">
389 <a name="udisks-swapspace-interface-info"></a><h3>udisks_swapspace_interface_info ()</h3>
390 <pre class="programlisting"><span class="returnvalue">GDBusInterfaceInfo</span> *
391 udisks_swapspace_interface_info (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
392 <p>Gets a machine-readable description of the <a class="link" href="gdbus-org.freedesktop.UDisks2.Swapspace.html#gdbus-interface-org-freedesktop-UDisks2-Swapspace.top_of_page">org.freedesktop.UDisks2.Swapspace</a> D-Bus interface.</p>
393 <div class="refsect3">
394 <a name="udisks-swapspace-interface-info.returns"></a><h4>Returns</h4>
395 <p>A <span class="type">GDBusInterfaceInfo</span>. Do not free. </p>
396 <p><span class="annotation">[<acronym title="The data is owned by the callee, which is responsible of freeing it."><span class="acronym">transfer none</span></acronym>]</span></p>
397 </div>
398 </div>
399 <hr>
400 <div class="refsect2">
401 <a name="udisks-swapspace-override-properties"></a><h3>udisks_swapspace_override_properties ()</h3>
402 <pre class="programlisting"><span class="returnvalue">guint</span>
403 udisks_swapspace_override_properties (<em class="parameter"><code><span class="type">GObjectClass</span> *klass</code></em>,
404 <em class="parameter"><code><span class="type">guint</span> property_id_begin</code></em>);</pre>
405 <p>Overrides all <span class="type">GObject</span> properties in the <a class="link" href="UDisksSwapspace.html" title="UDisksSwapspace"><span class="type">UDisksSwapspace</span></a> interface for a concrete class.
406 The properties are overridden in the order they are defined.</p>
407 <div class="refsect3">
408 <a name="udisks-swapspace-override-properties.parameters"></a><h4>Parameters</h4>
409 <div class="informaltable"><table class="informaltable" width="100%" border="0">
410 <colgroup>
411 <col width="150px" class="parameters_name">
412 <col class="parameters_description">
413 <col width="200px" class="parameters_annotations">
414 </colgroup>
415 <tbody>
416 <tr>
417 <td class="parameter_name"><p>klass</p></td>
418 <td class="parameter_description"><p>The class structure for a <span class="type">GObject</span> derived class.</p></td>
419 <td class="parameter_annotations"> </td>
420 </tr>
421 <tr>
422 <td class="parameter_name"><p>property_id_begin</p></td>
423 <td class="parameter_description"><p>The property id to assign to the first overridden property.</p></td>
424 <td class="parameter_annotations"> </td>
425 </tr>
426 </tbody>
427 </table></div>
428 </div>
429 <div class="refsect3">
430 <a name="udisks-swapspace-override-properties.returns"></a><h4>Returns</h4>
431 <p> The last property id.</p>
432 </div>
433 </div>
434 <hr>
435 <div class="refsect2">
436 <a name="udisks-swapspace-call-start"></a><h3>udisks_swapspace_call_start ()</h3>
437 <pre class="programlisting"><span class="returnvalue">void</span>
438 udisks_swapspace_call_start (<em class="parameter"><code><a class="link" href="UDisksSwapspace.html" title="UDisksSwapspace"><span class="type">UDisksSwapspace</span></a> *proxy</code></em>,
439 <em class="parameter"><code><span class="type">GVariant</span> *arg_options</code></em>,
440 <em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>,
441 <em class="parameter"><code><span class="type">GAsyncReadyCallback</span> callback</code></em>,
442 <em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);</pre>
443 <p>Asynchronously invokes the <a class="link" href="gdbus-org.freedesktop.UDisks2.Swapspace.html#gdbus-method-org-freedesktop-UDisks2-Swapspace.Start" title="The Start() method"><code class="function">Start()</code></a> D-Bus method on <em class="parameter"><code>proxy</code></em>
444 .
445 When the operation is finished, <em class="parameter"><code>callback</code></em>
446 will be invoked in the thread-default main loop of the thread you are calling this method from (see <code class="function">g_main_context_push_thread_default()</code>).
447 You can then call <a class="link" href="UDisksSwapspace.html#udisks-swapspace-call-start-finish" title="udisks_swapspace_call_start_finish ()"><code class="function">udisks_swapspace_call_start_finish()</code></a> to get the result of the operation.</p>
448 <p>See <a class="link" href="UDisksSwapspace.html#udisks-swapspace-call-start-sync" title="udisks_swapspace_call_start_sync ()"><code class="function">udisks_swapspace_call_start_sync()</code></a> for the synchronous, blocking version of this method.</p>
449 <div class="refsect3">
450 <a name="udisks-swapspace-call-start.parameters"></a><h4>Parameters</h4>
451 <div class="informaltable"><table class="informaltable" width="100%" border="0">
452 <colgroup>
453 <col width="150px" class="parameters_name">
454 <col class="parameters_description">
455 <col width="200px" class="parameters_annotations">
456 </colgroup>
457 <tbody>
458 <tr>
459 <td class="parameter_name"><p>proxy</p></td>
460 <td class="parameter_description"><p>A <a class="link" href="UDisksSwapspace.html#UDisksSwapspaceProxy"><span class="type">UDisksSwapspaceProxy</span></a>.</p></td>
461 <td class="parameter_annotations"> </td>
462 </tr>
463 <tr>
464 <td class="parameter_name"><p>arg_options</p></td>
465 <td class="parameter_description"><p>Argument to pass with the method invocation.</p></td>
466 <td class="parameter_annotations"> </td>
467 </tr>
468 <tr>
469 <td class="parameter_name"><p>cancellable</p></td>
470 <td class="parameter_description"><p>A <span class="type">GCancellable</span> or <code class="literal">NULL</code>. </p></td>
471 <td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
472 </tr>
473 <tr>
474 <td class="parameter_name"><p>callback</p></td>
475 <td class="parameter_description"><p>A <span class="type">GAsyncReadyCallback</span> to call when the request is satisfied or <code class="literal">NULL</code>.</p></td>
476 <td class="parameter_annotations"> </td>
477 </tr>
478 <tr>
479 <td class="parameter_name"><p>user_data</p></td>
480 <td class="parameter_description"><p>User data to pass to <em class="parameter"><code>callback</code></em>
481 .</p></td>
482 <td class="parameter_annotations"> </td>
483 </tr>
484 </tbody>
485 </table></div>
486 </div>
487 </div>
488 <hr>
489 <div class="refsect2">
490 <a name="udisks-swapspace-call-start-finish"></a><h3>udisks_swapspace_call_start_finish ()</h3>
491 <pre class="programlisting"><span class="returnvalue">gboolean</span>
492 udisks_swapspace_call_start_finish (<em class="parameter"><code><a class="link" href="UDisksSwapspace.html" title="UDisksSwapspace"><span class="type">UDisksSwapspace</span></a> *proxy</code></em>,
493 <em class="parameter"><code><span class="type">GAsyncResult</span> *res</code></em>,
494 <em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
495 <p>Finishes an operation started with <a class="link" href="UDisksSwapspace.html#udisks-swapspace-call-start" title="udisks_swapspace_call_start ()"><code class="function">udisks_swapspace_call_start()</code></a>.</p>
496 <div class="refsect3">
497 <a name="udisks-swapspace-call-start-finish.parameters"></a><h4>Parameters</h4>
498 <div class="informaltable"><table class="informaltable" width="100%" border="0">
499 <colgroup>
500 <col width="150px" class="parameters_name">
501 <col class="parameters_description">
502 <col width="200px" class="parameters_annotations">
503 </colgroup>
504 <tbody>
505 <tr>
506 <td class="parameter_name"><p>proxy</p></td>
507 <td class="parameter_description"><p>A <a class="link" href="UDisksSwapspace.html#UDisksSwapspaceProxy"><span class="type">UDisksSwapspaceProxy</span></a>.</p></td>
508 <td class="parameter_annotations"> </td>
509 </tr>
510 <tr>
511 <td class="parameter_name"><p>res</p></td>
512 <td class="parameter_description"><p>The <span class="type">GAsyncResult</span> obtained from the <span class="type">GAsyncReadyCallback</span> passed to <a class="link" href="UDisksSwapspace.html#udisks-swapspace-call-start" title="udisks_swapspace_call_start ()"><code class="function">udisks_swapspace_call_start()</code></a>.</p></td>
513 <td class="parameter_annotations"> </td>
514 </tr>
515 <tr>
516 <td class="parameter_name"><p>error</p></td>
517 <td class="parameter_description"><p>Return location for error or <code class="literal">NULL</code>.</p></td>
518 <td class="parameter_annotations"> </td>
519 </tr>
520 </tbody>
521 </table></div>
522 </div>
523 <div class="refsect3">
524 <a name="udisks-swapspace-call-start-finish.returns"></a><h4>Returns</h4>
525 <p><code class="literal">TRUE</code> if the call succeeded, <code class="literal">FALSE</code> if <em class="parameter"><code>error</code></em>
526 is set. </p>
527 <p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
528 </div>
529 </div>
530 <hr>
531 <div class="refsect2">
532 <a name="udisks-swapspace-call-start-sync"></a><h3>udisks_swapspace_call_start_sync ()</h3>
533 <pre class="programlisting"><span class="returnvalue">gboolean</span>
534 udisks_swapspace_call_start_sync (<em class="parameter"><code><a class="link" href="UDisksSwapspace.html" title="UDisksSwapspace"><span class="type">UDisksSwapspace</span></a> *proxy</code></em>,
535 <em class="parameter"><code><span class="type">GVariant</span> *arg_options</code></em>,
536 <em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>,
537 <em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
538 <p>Synchronously invokes the <a class="link" href="gdbus-org.freedesktop.UDisks2.Swapspace.html#gdbus-method-org-freedesktop-UDisks2-Swapspace.Start" title="The Start() method"><code class="function">Start()</code></a> D-Bus method on <em class="parameter"><code>proxy</code></em>
539 . The calling thread is blocked until a reply is received.</p>
540 <p>See <a class="link" href="UDisksSwapspace.html#udisks-swapspace-call-start" title="udisks_swapspace_call_start ()"><code class="function">udisks_swapspace_call_start()</code></a> for the asynchronous version of this method.</p>
541 <div class="refsect3">
542 <a name="udisks-swapspace-call-start-sync.parameters"></a><h4>Parameters</h4>
543 <div class="informaltable"><table class="informaltable" width="100%" border="0">
544 <colgroup>
545 <col width="150px" class="parameters_name">
546 <col class="parameters_description">
547 <col width="200px" class="parameters_annotations">
548 </colgroup>
549 <tbody>
550 <tr>
551 <td class="parameter_name"><p>proxy</p></td>
552 <td class="parameter_description"><p>A <a class="link" href="UDisksSwapspace.html#UDisksSwapspaceProxy"><span class="type">UDisksSwapspaceProxy</span></a>.</p></td>
553 <td class="parameter_annotations"> </td>
554 </tr>
555 <tr>
556 <td class="parameter_name"><p>arg_options</p></td>
557 <td class="parameter_description"><p>Argument to pass with the method invocation.</p></td>
558 <td class="parameter_annotations"> </td>
559 </tr>
560 <tr>
561 <td class="parameter_name"><p>cancellable</p></td>
562 <td class="parameter_description"><p>A <span class="type">GCancellable</span> or <code class="literal">NULL</code>. </p></td>
563 <td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
564 </tr>
565 <tr>
566 <td class="parameter_name"><p>error</p></td>
567 <td class="parameter_description"><p>Return location for error or <code class="literal">NULL</code>.</p></td>
568 <td class="parameter_annotations"> </td>
569 </tr>
570 </tbody>
571 </table></div>
572 </div>
573 <div class="refsect3">
574 <a name="udisks-swapspace-call-start-sync.returns"></a><h4>Returns</h4>
575 <p><code class="literal">TRUE</code> if the call succeeded, <code class="literal">FALSE</code> if <em class="parameter"><code>error</code></em>
576 is set. </p>
577 <p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
578 </div>
579 </div>
580 <hr>
581 <div class="refsect2">
582 <a name="udisks-swapspace-complete-start"></a><h3>udisks_swapspace_complete_start ()</h3>
583 <pre class="programlisting"><span class="returnvalue">void</span>
584 udisks_swapspace_complete_start (<em class="parameter"><code><a class="link" href="UDisksSwapspace.html" title="UDisksSwapspace"><span class="type">UDisksSwapspace</span></a> *object</code></em>,
585 <em class="parameter"><code><span class="type">GDBusMethodInvocation</span> *invocation</code></em>);</pre>
586 <p>Helper function used in service implementations to finish handling invocations of the <a class="link" href="gdbus-org.freedesktop.UDisks2.Swapspace.html#gdbus-method-org-freedesktop-UDisks2-Swapspace.Start" title="The Start() method"><code class="function">Start()</code></a> D-Bus method. If you instead want to finish handling an invocation by returning an error, use <code class="function">g_dbus_method_invocation_return_error()</code> or similar.</p>
587 <p>This method will free <em class="parameter"><code>invocation</code></em>
588 , you cannot use it afterwards.</p>
589 <div class="refsect3">
590 <a name="udisks-swapspace-complete-start.parameters"></a><h4>Parameters</h4>
591 <div class="informaltable"><table class="informaltable" width="100%" border="0">
592 <colgroup>
593 <col width="150px" class="parameters_name">
594 <col class="parameters_description">
595 <col width="200px" class="parameters_annotations">
596 </colgroup>
597 <tbody>
598 <tr>
599 <td class="parameter_name"><p>object</p></td>
600 <td class="parameter_description"><p>A <a class="link" href="UDisksSwapspace.html" title="UDisksSwapspace"><span class="type">UDisksSwapspace</span></a>.</p></td>
601 <td class="parameter_annotations"> </td>
602 </tr>
603 <tr>
604 <td class="parameter_name"><p>invocation</p></td>
605 <td class="parameter_description"><p>A <span class="type">GDBusMethodInvocation</span>. </p></td>
606 <td class="parameter_annotations"><span class="annotation">[<acronym title="The caller owns the data, and is responsible for free it."><span class="acronym">transfer full</span></acronym>]</span></td>
607 </tr>
608 </tbody>
609 </table></div>
610 </div>
611 </div>
612 <hr>
613 <div class="refsect2">
614 <a name="udisks-swapspace-call-stop"></a><h3>udisks_swapspace_call_stop ()</h3>
615 <pre class="programlisting"><span class="returnvalue">void</span>
616 udisks_swapspace_call_stop (<em class="parameter"><code><a class="link" href="UDisksSwapspace.html" title="UDisksSwapspace"><span class="type">UDisksSwapspace</span></a> *proxy</code></em>,
617 <em class="parameter"><code><span class="type">GVariant</span> *arg_options</code></em>,
618 <em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>,
619 <em class="parameter"><code><span class="type">GAsyncReadyCallback</span> callback</code></em>,
620 <em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);</pre>
621 <p>Asynchronously invokes the <a class="link" href="gdbus-org.freedesktop.UDisks2.Swapspace.html#gdbus-method-org-freedesktop-UDisks2-Swapspace.Stop" title="The Stop() method"><code class="function">Stop()</code></a> D-Bus method on <em class="parameter"><code>proxy</code></em>
622 .
623 When the operation is finished, <em class="parameter"><code>callback</code></em>
624 will be invoked in the thread-default main loop of the thread you are calling this method from (see <code class="function">g_main_context_push_thread_default()</code>).
625 You can then call <a class="link" href="UDisksSwapspace.html#udisks-swapspace-call-stop-finish" title="udisks_swapspace_call_stop_finish ()"><code class="function">udisks_swapspace_call_stop_finish()</code></a> to get the result of the operation.</p>
626 <p>See <a class="link" href="UDisksSwapspace.html#udisks-swapspace-call-stop-sync" title="udisks_swapspace_call_stop_sync ()"><code class="function">udisks_swapspace_call_stop_sync()</code></a> for the synchronous, blocking version of this method.</p>
627 <div class="refsect3">
628 <a name="udisks-swapspace-call-stop.parameters"></a><h4>Parameters</h4>
629 <div class="informaltable"><table class="informaltable" width="100%" border="0">
630 <colgroup>
631 <col width="150px" class="parameters_name">
632 <col class="parameters_description">
633 <col width="200px" class="parameters_annotations">
634 </colgroup>
635 <tbody>
636 <tr>
637 <td class="parameter_name"><p>proxy</p></td>
638 <td class="parameter_description"><p>A <a class="link" href="UDisksSwapspace.html#UDisksSwapspaceProxy"><span class="type">UDisksSwapspaceProxy</span></a>.</p></td>
639 <td class="parameter_annotations"> </td>
640 </tr>
641 <tr>
642 <td class="parameter_name"><p>arg_options</p></td>
643 <td class="parameter_description"><p>Argument to pass with the method invocation.</p></td>
644 <td class="parameter_annotations"> </td>
645 </tr>
646 <tr>
647 <td class="parameter_name"><p>cancellable</p></td>
648 <td class="parameter_description"><p>A <span class="type">GCancellable</span> or <code class="literal">NULL</code>. </p></td>
649 <td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
650 </tr>
651 <tr>
652 <td class="parameter_name"><p>callback</p></td>
653 <td class="parameter_description"><p>A <span class="type">GAsyncReadyCallback</span> to call when the request is satisfied or <code class="literal">NULL</code>.</p></td>
654 <td class="parameter_annotations"> </td>
655 </tr>
656 <tr>
657 <td class="parameter_name"><p>user_data</p></td>
658 <td class="parameter_description"><p>User data to pass to <em class="parameter"><code>callback</code></em>
659 .</p></td>
660 <td class="parameter_annotations"> </td>
661 </tr>
662 </tbody>
663 </table></div>
664 </div>
665 </div>
666 <hr>
667 <div class="refsect2">
668 <a name="udisks-swapspace-call-stop-finish"></a><h3>udisks_swapspace_call_stop_finish ()</h3>
669 <pre class="programlisting"><span class="returnvalue">gboolean</span>
670 udisks_swapspace_call_stop_finish (<em class="parameter"><code><a class="link" href="UDisksSwapspace.html" title="UDisksSwapspace"><span class="type">UDisksSwapspace</span></a> *proxy</code></em>,
671 <em class="parameter"><code><span class="type">GAsyncResult</span> *res</code></em>,
672 <em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
673 <p>Finishes an operation started with <a class="link" href="UDisksSwapspace.html#udisks-swapspace-call-stop" title="udisks_swapspace_call_stop ()"><code class="function">udisks_swapspace_call_stop()</code></a>.</p>
674 <div class="refsect3">
675 <a name="udisks-swapspace-call-stop-finish.parameters"></a><h4>Parameters</h4>
676 <div class="informaltable"><table class="informaltable" width="100%" border="0">
677 <colgroup>
678 <col width="150px" class="parameters_name">
679 <col class="parameters_description">
680 <col width="200px" class="parameters_annotations">
681 </colgroup>
682 <tbody>
683 <tr>
684 <td class="parameter_name"><p>proxy</p></td>
685 <td class="parameter_description"><p>A <a class="link" href="UDisksSwapspace.html#UDisksSwapspaceProxy"><span class="type">UDisksSwapspaceProxy</span></a>.</p></td>
686 <td class="parameter_annotations"> </td>
687 </tr>
688 <tr>
689 <td class="parameter_name"><p>res</p></td>
690 <td class="parameter_description"><p>The <span class="type">GAsyncResult</span> obtained from the <span class="type">GAsyncReadyCallback</span> passed to <a class="link" href="UDisksSwapspace.html#udisks-swapspace-call-stop" title="udisks_swapspace_call_stop ()"><code class="function">udisks_swapspace_call_stop()</code></a>.</p></td>
691 <td class="parameter_annotations"> </td>
692 </tr>
693 <tr>
694 <td class="parameter_name"><p>error</p></td>
695 <td class="parameter_description"><p>Return location for error or <code class="literal">NULL</code>.</p></td>
696 <td class="parameter_annotations"> </td>
697 </tr>
698 </tbody>
699 </table></div>
700 </div>
701 <div class="refsect3">
702 <a name="udisks-swapspace-call-stop-finish.returns"></a><h4>Returns</h4>
703 <p><code class="literal">TRUE</code> if the call succeeded, <code class="literal">FALSE</code> if <em class="parameter"><code>error</code></em>
704 is set. </p>
705 <p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
706 </div>
707 </div>
708 <hr>
709 <div class="refsect2">
710 <a name="udisks-swapspace-call-stop-sync"></a><h3>udisks_swapspace_call_stop_sync ()</h3>
711 <pre class="programlisting"><span class="returnvalue">gboolean</span>
712 udisks_swapspace_call_stop_sync (<em class="parameter"><code><a class="link" href="UDisksSwapspace.html" title="UDisksSwapspace"><span class="type">UDisksSwapspace</span></a> *proxy</code></em>,
713 <em class="parameter"><code><span class="type">GVariant</span> *arg_options</code></em>,
714 <em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>,
715 <em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
716 <p>Synchronously invokes the <a class="link" href="gdbus-org.freedesktop.UDisks2.Swapspace.html#gdbus-method-org-freedesktop-UDisks2-Swapspace.Stop" title="The Stop() method"><code class="function">Stop()</code></a> D-Bus method on <em class="parameter"><code>proxy</code></em>
717 . The calling thread is blocked until a reply is received.</p>
718 <p>See <a class="link" href="UDisksSwapspace.html#udisks-swapspace-call-stop" title="udisks_swapspace_call_stop ()"><code class="function">udisks_swapspace_call_stop()</code></a> for the asynchronous version of this method.</p>
719 <div class="refsect3">
720 <a name="udisks-swapspace-call-stop-sync.parameters"></a><h4>Parameters</h4>
721 <div class="informaltable"><table class="informaltable" width="100%" border="0">
722 <colgroup>
723 <col width="150px" class="parameters_name">
724 <col class="parameters_description">
725 <col width="200px" class="parameters_annotations">
726 </colgroup>
727 <tbody>
728 <tr>
729 <td class="parameter_name"><p>proxy</p></td>
730 <td class="parameter_description"><p>A <a class="link" href="UDisksSwapspace.html#UDisksSwapspaceProxy"><span class="type">UDisksSwapspaceProxy</span></a>.</p></td>
731 <td class="parameter_annotations"> </td>
732 </tr>
733 <tr>
734 <td class="parameter_name"><p>arg_options</p></td>
735 <td class="parameter_description"><p>Argument to pass with the method invocation.</p></td>
736 <td class="parameter_annotations"> </td>
737 </tr>
738 <tr>
739 <td class="parameter_name"><p>cancellable</p></td>
740 <td class="parameter_description"><p>A <span class="type">GCancellable</span> or <code class="literal">NULL</code>. </p></td>
741 <td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
742 </tr>
743 <tr>
744 <td class="parameter_name"><p>error</p></td>
745 <td class="parameter_description"><p>Return location for error or <code class="literal">NULL</code>.</p></td>
746 <td class="parameter_annotations"> </td>
747 </tr>
748 </tbody>
749 </table></div>
750 </div>
751 <div class="refsect3">
752 <a name="udisks-swapspace-call-stop-sync.returns"></a><h4>Returns</h4>
753 <p><code class="literal">TRUE</code> if the call succeeded, <code class="literal">FALSE</code> if <em class="parameter"><code>error</code></em>
754 is set. </p>
755 <p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
756 </div>
757 </div>
758 <hr>
759 <div class="refsect2">
760 <a name="udisks-swapspace-complete-stop"></a><h3>udisks_swapspace_complete_stop ()</h3>
761 <pre class="programlisting"><span class="returnvalue">void</span>
762 udisks_swapspace_complete_stop (<em class="parameter"><code><a class="link" href="UDisksSwapspace.html" title="UDisksSwapspace"><span class="type">UDisksSwapspace</span></a> *object</code></em>,
763 <em class="parameter"><code><span class="type">GDBusMethodInvocation</span> *invocation</code></em>);</pre>
764 <p>Helper function used in service implementations to finish handling invocations of the <a class="link" href="gdbus-org.freedesktop.UDisks2.Swapspace.html#gdbus-method-org-freedesktop-UDisks2-Swapspace.Stop" title="The Stop() method"><code class="function">Stop()</code></a> D-Bus method. If you instead want to finish handling an invocation by returning an error, use <code class="function">g_dbus_method_invocation_return_error()</code> or similar.</p>
765 <p>This method will free <em class="parameter"><code>invocation</code></em>
766 , you cannot use it afterwards.</p>
767 <div class="refsect3">
768 <a name="udisks-swapspace-complete-stop.parameters"></a><h4>Parameters</h4>
769 <div class="informaltable"><table class="informaltable" width="100%" border="0">
770 <colgroup>
771 <col width="150px" class="parameters_name">
772 <col class="parameters_description">
773 <col width="200px" class="parameters_annotations">
774 </colgroup>
775 <tbody>
776 <tr>
777 <td class="parameter_name"><p>object</p></td>
778 <td class="parameter_description"><p>A <a class="link" href="UDisksSwapspace.html" title="UDisksSwapspace"><span class="type">UDisksSwapspace</span></a>.</p></td>
779 <td class="parameter_annotations"> </td>
780 </tr>
781 <tr>
782 <td class="parameter_name"><p>invocation</p></td>
783 <td class="parameter_description"><p>A <span class="type">GDBusMethodInvocation</span>. </p></td>
784 <td class="parameter_annotations"><span class="annotation">[<acronym title="The caller owns the data, and is responsible for free it."><span class="acronym">transfer full</span></acronym>]</span></td>
785 </tr>
786 </tbody>
787 </table></div>
788 </div>
789 </div>
790 <hr>
791 <div class="refsect2">
792 <a name="udisks-swapspace-call-set-label"></a><h3>udisks_swapspace_call_set_label ()</h3>
793 <pre class="programlisting"><span class="returnvalue">void</span>
794 udisks_swapspace_call_set_label (<em class="parameter"><code><a class="link" href="UDisksSwapspace.html" title="UDisksSwapspace"><span class="type">UDisksSwapspace</span></a> *proxy</code></em>,
795 <em class="parameter"><code>const <span class="type">gchar</span> *arg_label</code></em>,
796 <em class="parameter"><code><span class="type">GVariant</span> *arg_options</code></em>,
797 <em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>,
798 <em class="parameter"><code><span class="type">GAsyncReadyCallback</span> callback</code></em>,
799 <em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);</pre>
800 <p>Asynchronously invokes the <a class="link" href="gdbus-org.freedesktop.UDisks2.Swapspace.html#gdbus-method-org-freedesktop-UDisks2-Swapspace.SetLabel" title="The SetLabel() method"><code class="function">SetLabel()</code></a> D-Bus method on <em class="parameter"><code>proxy</code></em>
801 .
802 When the operation is finished, <em class="parameter"><code>callback</code></em>
803 will be invoked in the thread-default main loop of the thread you are calling this method from (see <code class="function">g_main_context_push_thread_default()</code>).
804 You can then call <a class="link" href="UDisksSwapspace.html#udisks-swapspace-call-set-label-finish" title="udisks_swapspace_call_set_label_finish ()"><code class="function">udisks_swapspace_call_set_label_finish()</code></a> to get the result of the operation.</p>
805 <p>See <a class="link" href="UDisksSwapspace.html#udisks-swapspace-call-set-label-sync" title="udisks_swapspace_call_set_label_sync ()"><code class="function">udisks_swapspace_call_set_label_sync()</code></a> for the synchronous, blocking version of this method.</p>
806 <div class="refsect3">
807 <a name="udisks-swapspace-call-set-label.parameters"></a><h4>Parameters</h4>
808 <div class="informaltable"><table class="informaltable" width="100%" border="0">
809 <colgroup>
810 <col width="150px" class="parameters_name">
811 <col class="parameters_description">
812 <col width="200px" class="parameters_annotations">
813 </colgroup>
814 <tbody>
815 <tr>
816 <td class="parameter_name"><p>proxy</p></td>
817 <td class="parameter_description"><p>A <a class="link" href="UDisksSwapspace.html#UDisksSwapspaceProxy"><span class="type">UDisksSwapspaceProxy</span></a>.</p></td>
818 <td class="parameter_annotations"> </td>
819 </tr>
820 <tr>
821 <td class="parameter_name"><p>arg_label</p></td>
822 <td class="parameter_description"><p>Argument to pass with the method invocation.</p></td>
823 <td class="parameter_annotations"> </td>
824 </tr>
825 <tr>
826 <td class="parameter_name"><p>arg_options</p></td>
827 <td class="parameter_description"><p>Argument to pass with the method invocation.</p></td>
828 <td class="parameter_annotations"> </td>
829 </tr>
830 <tr>
831 <td class="parameter_name"><p>cancellable</p></td>
832 <td class="parameter_description"><p>A <span class="type">GCancellable</span> or <code class="literal">NULL</code>. </p></td>
833 <td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
834 </tr>
835 <tr>
836 <td class="parameter_name"><p>callback</p></td>
837 <td class="parameter_description"><p>A <span class="type">GAsyncReadyCallback</span> to call when the request is satisfied or <code class="literal">NULL</code>.</p></td>
838 <td class="parameter_annotations"> </td>
839 </tr>
840 <tr>
841 <td class="parameter_name"><p>user_data</p></td>
842 <td class="parameter_description"><p>User data to pass to <em class="parameter"><code>callback</code></em>
843 .</p></td>
844 <td class="parameter_annotations"> </td>
845 </tr>
846 </tbody>
847 </table></div>
848 </div>
849 </div>
850 <hr>
851 <div class="refsect2">
852 <a name="udisks-swapspace-call-set-label-finish"></a><h3>udisks_swapspace_call_set_label_finish ()</h3>
853 <pre class="programlisting"><span class="returnvalue">gboolean</span>
854 udisks_swapspace_call_set_label_finish
855 (<em class="parameter"><code><a class="link" href="UDisksSwapspace.html" title="UDisksSwapspace"><span class="type">UDisksSwapspace</span></a> *proxy</code></em>,
856 <em class="parameter"><code><span class="type">GAsyncResult</span> *res</code></em>,
857 <em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
858 <p>Finishes an operation started with <a class="link" href="UDisksSwapspace.html#udisks-swapspace-call-set-label" title="udisks_swapspace_call_set_label ()"><code class="function">udisks_swapspace_call_set_label()</code></a>.</p>
859 <div class="refsect3">
860 <a name="udisks-swapspace-call-set-label-finish.parameters"></a><h4>Parameters</h4>
861 <div class="informaltable"><table class="informaltable" width="100%" border="0">
862 <colgroup>
863 <col width="150px" class="parameters_name">
864 <col class="parameters_description">
865 <col width="200px" class="parameters_annotations">
866 </colgroup>
867 <tbody>
868 <tr>
869 <td class="parameter_name"><p>proxy</p></td>
870 <td class="parameter_description"><p>A <a class="link" href="UDisksSwapspace.html#UDisksSwapspaceProxy"><span class="type">UDisksSwapspaceProxy</span></a>.</p></td>
871 <td class="parameter_annotations"> </td>
872 </tr>
873 <tr>
874 <td class="parameter_name"><p>res</p></td>
875 <td class="parameter_description"><p>The <span class="type">GAsyncResult</span> obtained from the <span class="type">GAsyncReadyCallback</span> passed to <a class="link" href="UDisksSwapspace.html#udisks-swapspace-call-set-label" title="udisks_swapspace_call_set_label ()"><code class="function">udisks_swapspace_call_set_label()</code></a>.</p></td>
876 <td class="parameter_annotations"> </td>
877 </tr>
878 <tr>
879 <td class="parameter_name"><p>error</p></td>
880 <td class="parameter_description"><p>Return location for error or <code class="literal">NULL</code>.</p></td>
881 <td class="parameter_annotations"> </td>
882 </tr>
883 </tbody>
884 </table></div>
885 </div>
886 <div class="refsect3">
887 <a name="udisks-swapspace-call-set-label-finish.returns"></a><h4>Returns</h4>
888 <p><code class="literal">TRUE</code> if the call succeeded, <code class="literal">FALSE</code> if <em class="parameter"><code>error</code></em>
889 is set. </p>
890 <p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
891 </div>
892 </div>
893 <hr>
894 <div class="refsect2">
895 <a name="udisks-swapspace-call-set-label-sync"></a><h3>udisks_swapspace_call_set_label_sync ()</h3>
896 <pre class="programlisting"><span class="returnvalue">gboolean</span>
897 udisks_swapspace_call_set_label_sync (<em class="parameter"><code><a class="link" href="UDisksSwapspace.html" title="UDisksSwapspace"><span class="type">UDisksSwapspace</span></a> *proxy</code></em>,
898 <em class="parameter"><code>const <span class="type">gchar</span> *arg_label</code></em>,
899 <em class="parameter"><code><span class="type">GVariant</span> *arg_options</code></em>,
900 <em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>,
901 <em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
902 <p>Synchronously invokes the <a class="link" href="gdbus-org.freedesktop.UDisks2.Swapspace.html#gdbus-method-org-freedesktop-UDisks2-Swapspace.SetLabel" title="The SetLabel() method"><code class="function">SetLabel()</code></a> D-Bus method on <em class="parameter"><code>proxy</code></em>
903 . The calling thread is blocked until a reply is received.</p>
904 <p>See <a class="link" href="UDisksSwapspace.html#udisks-swapspace-call-set-label" title="udisks_swapspace_call_set_label ()"><code class="function">udisks_swapspace_call_set_label()</code></a> for the asynchronous version of this method.</p>
905 <div class="refsect3">
906 <a name="udisks-swapspace-call-set-label-sync.parameters"></a><h4>Parameters</h4>
907 <div class="informaltable"><table class="informaltable" width="100%" border="0">
908 <colgroup>
909 <col width="150px" class="parameters_name">
910 <col class="parameters_description">
911 <col width="200px" class="parameters_annotations">
912 </colgroup>
913 <tbody>
914 <tr>
915 <td class="parameter_name"><p>proxy</p></td>
916 <td class="parameter_description"><p>A <a class="link" href="UDisksSwapspace.html#UDisksSwapspaceProxy"><span class="type">UDisksSwapspaceProxy</span></a>.</p></td>
917 <td class="parameter_annotations"> </td>
918 </tr>
919 <tr>
920 <td class="parameter_name"><p>arg_label</p></td>
921 <td class="parameter_description"><p>Argument to pass with the method invocation.</p></td>
922 <td class="parameter_annotations"> </td>
923 </tr>
924 <tr>
925 <td class="parameter_name"><p>arg_options</p></td>
926 <td class="parameter_description"><p>Argument to pass with the method invocation.</p></td>
927 <td class="parameter_annotations"> </td>
928 </tr>
929 <tr>
930 <td class="parameter_name"><p>cancellable</p></td>
931 <td class="parameter_description"><p>A <span class="type">GCancellable</span> or <code class="literal">NULL</code>. </p></td>
932 <td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
933 </tr>
934 <tr>
935 <td class="parameter_name"><p>error</p></td>
936 <td class="parameter_description"><p>Return location for error or <code class="literal">NULL</code>.</p></td>
937 <td class="parameter_annotations"> </td>
938 </tr>
939 </tbody>
940 </table></div>
941 </div>
942 <div class="refsect3">
943 <a name="udisks-swapspace-call-set-label-sync.returns"></a><h4>Returns</h4>
944 <p><code class="literal">TRUE</code> if the call succeeded, <code class="literal">FALSE</code> if <em class="parameter"><code>error</code></em>
945 is set. </p>
946 <p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
947 </div>
948 </div>
949 <hr>
950 <div class="refsect2">
951 <a name="udisks-swapspace-complete-set-label"></a><h3>udisks_swapspace_complete_set_label ()</h3>
952 <pre class="programlisting"><span class="returnvalue">void</span>
953 udisks_swapspace_complete_set_label (<em class="parameter"><code><a class="link" href="UDisksSwapspace.html" title="UDisksSwapspace"><span class="type">UDisksSwapspace</span></a> *object</code></em>,
954 <em class="parameter"><code><span class="type">GDBusMethodInvocation</span> *invocation</code></em>);</pre>
955 <p>Helper function used in service implementations to finish handling invocations of the <a class="link" href="gdbus-org.freedesktop.UDisks2.Swapspace.html#gdbus-method-org-freedesktop-UDisks2-Swapspace.SetLabel" title="The SetLabel() method"><code class="function">SetLabel()</code></a> D-Bus method. If you instead want to finish handling an invocation by returning an error, use <code class="function">g_dbus_method_invocation_return_error()</code> or similar.</p>
956 <p>This method will free <em class="parameter"><code>invocation</code></em>
957 , you cannot use it afterwards.</p>
958 <div class="refsect3">
959 <a name="udisks-swapspace-complete-set-label.parameters"></a><h4>Parameters</h4>
960 <div class="informaltable"><table class="informaltable" width="100%" border="0">
961 <colgroup>
962 <col width="150px" class="parameters_name">
963 <col class="parameters_description">
964 <col width="200px" class="parameters_annotations">
965 </colgroup>
966 <tbody>
967 <tr>
968 <td class="parameter_name"><p>object</p></td>
969 <td class="parameter_description"><p>A <a class="link" href="UDisksSwapspace.html" title="UDisksSwapspace"><span class="type">UDisksSwapspace</span></a>.</p></td>
970 <td class="parameter_annotations"> </td>
971 </tr>
972 <tr>
973 <td class="parameter_name"><p>invocation</p></td>
974 <td class="parameter_description"><p>A <span class="type">GDBusMethodInvocation</span>. </p></td>
975 <td class="parameter_annotations"><span class="annotation">[<acronym title="The caller owns the data, and is responsible for free it."><span class="acronym">transfer full</span></acronym>]</span></td>
976 </tr>
977 </tbody>
978 </table></div>
979 </div>
980 </div>
981 <hr>
982 <div class="refsect2">
983 <a name="udisks-swapspace-call-set-uuid"></a><h3>udisks_swapspace_call_set_uuid ()</h3>
984 <pre class="programlisting"><span class="returnvalue">void</span>
985 udisks_swapspace_call_set_uuid (<em class="parameter"><code><a class="link" href="UDisksSwapspace.html" title="UDisksSwapspace"><span class="type">UDisksSwapspace</span></a> *proxy</code></em>,
986 <em class="parameter"><code>const <span class="type">gchar</span> *arg_uuid</code></em>,
987 <em class="parameter"><code><span class="type">GVariant</span> *arg_options</code></em>,
988 <em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>,
989 <em class="parameter"><code><span class="type">GAsyncReadyCallback</span> callback</code></em>,
990 <em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);</pre>
991 <p>Asynchronously invokes the <a class="link" href="gdbus-org.freedesktop.UDisks2.Swapspace.html#gdbus-method-org-freedesktop-UDisks2-Swapspace.SetUUID" title="The SetUUID() method"><code class="function">SetUUID()</code></a> D-Bus method on <em class="parameter"><code>proxy</code></em>
992 .
993 When the operation is finished, <em class="parameter"><code>callback</code></em>
994 will be invoked in the thread-default main loop of the thread you are calling this method from (see <code class="function">g_main_context_push_thread_default()</code>).
995 You can then call <a class="link" href="UDisksSwapspace.html#udisks-swapspace-call-set-uuid-finish" title="udisks_swapspace_call_set_uuid_finish ()"><code class="function">udisks_swapspace_call_set_uuid_finish()</code></a> to get the result of the operation.</p>
996 <p>See <a class="link" href="UDisksSwapspace.html#udisks-swapspace-call-set-uuid-sync" title="udisks_swapspace_call_set_uuid_sync ()"><code class="function">udisks_swapspace_call_set_uuid_sync()</code></a> for the synchronous, blocking version of this method.</p>
997 <div class="refsect3">
998 <a name="udisks-swapspace-call-set-uuid.parameters"></a><h4>Parameters</h4>
999 <div class="informaltable"><table class="informaltable" width="100%" border="0">
1000 <colgroup>
1001 <col width="150px" class="parameters_name">
1002 <col class="parameters_description">
1003 <col width="200px" class="parameters_annotations">
1004 </colgroup>
1005 <tbody>
1006 <tr>
1007 <td class="parameter_name"><p>proxy</p></td>
1008 <td class="parameter_description"><p>A <a class="link" href="UDisksSwapspace.html#UDisksSwapspaceProxy"><span class="type">UDisksSwapspaceProxy</span></a>.</p></td>
1009 <td class="parameter_annotations"> </td>
1010 </tr>
1011 <tr>
1012 <td class="parameter_name"><p>arg_uuid</p></td>
1013 <td class="parameter_description"><p>Argument to pass with the method invocation.</p></td>
1014 <td class="parameter_annotations"> </td>
1015 </tr>
1016 <tr>
1017 <td class="parameter_name"><p>arg_options</p></td>
1018 <td class="parameter_description"><p>Argument to pass with the method invocation.</p></td>
1019 <td class="parameter_annotations"> </td>
1020 </tr>
1021 <tr>
1022 <td class="parameter_name"><p>cancellable</p></td>
1023 <td class="parameter_description"><p>A <span class="type">GCancellable</span> or <code class="literal">NULL</code>. </p></td>
1024 <td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
1025 </tr>
1026 <tr>
1027 <td class="parameter_name"><p>callback</p></td>
1028 <td class="parameter_description"><p>A <span class="type">GAsyncReadyCallback</span> to call when the request is satisfied or <code class="literal">NULL</code>.</p></td>
1029 <td class="parameter_annotations"> </td>
1030 </tr>
1031 <tr>
1032 <td class="parameter_name"><p>user_data</p></td>
1033 <td class="parameter_description"><p>User data to pass to <em class="parameter"><code>callback</code></em>
1034 .</p></td>
1035 <td class="parameter_annotations"> </td>
1036 </tr>
1037 </tbody>
1038 </table></div>
1039 </div>
1040 <p class="since">Since: 2.10.0</p>
1041 </div>
1042 <hr>
1043 <div class="refsect2">
1044 <a name="udisks-swapspace-call-set-uuid-finish"></a><h3>udisks_swapspace_call_set_uuid_finish ()</h3>
1045 <pre class="programlisting"><span class="returnvalue">gboolean</span>
1046 udisks_swapspace_call_set_uuid_finish (<em class="parameter"><code><a class="link" href="UDisksSwapspace.html" title="UDisksSwapspace"><span class="type">UDisksSwapspace</span></a> *proxy</code></em>,
1047 <em class="parameter"><code><span class="type">GAsyncResult</span> *res</code></em>,
1048 <em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
1049 <p>Finishes an operation started with <a class="link" href="UDisksSwapspace.html#udisks-swapspace-call-set-uuid" title="udisks_swapspace_call_set_uuid ()"><code class="function">udisks_swapspace_call_set_uuid()</code></a>.</p>
1050 <div class="refsect3">
1051 <a name="udisks-swapspace-call-set-uuid-finish.parameters"></a><h4>Parameters</h4>
1052 <div class="informaltable"><table class="informaltable" width="100%" border="0">
1053 <colgroup>
1054 <col width="150px" class="parameters_name">
1055 <col class="parameters_description">
1056 <col width="200px" class="parameters_annotations">
1057 </colgroup>
1058 <tbody>
1059 <tr>
1060 <td class="parameter_name"><p>proxy</p></td>
1061 <td class="parameter_description"><p>A <a class="link" href="UDisksSwapspace.html#UDisksSwapspaceProxy"><span class="type">UDisksSwapspaceProxy</span></a>.</p></td>
1062 <td class="parameter_annotations"> </td>
1063 </tr>
1064 <tr>
1065 <td class="parameter_name"><p>res</p></td>
1066 <td class="parameter_description"><p>The <span class="type">GAsyncResult</span> obtained from the <span class="type">GAsyncReadyCallback</span> passed to <a class="link" href="UDisksSwapspace.html#udisks-swapspace-call-set-uuid" title="udisks_swapspace_call_set_uuid ()"><code class="function">udisks_swapspace_call_set_uuid()</code></a>.</p></td>
1067 <td class="parameter_annotations"> </td>
1068 </tr>
1069 <tr>
1070 <td class="parameter_name"><p>error</p></td>
1071 <td class="parameter_description"><p>Return location for error or <code class="literal">NULL</code>.</p></td>
1072 <td class="parameter_annotations"> </td>
1073 </tr>
1074 </tbody>
1075 </table></div>
1076 </div>
1077 <div class="refsect3">
1078 <a name="udisks-swapspace-call-set-uuid-finish.returns"></a><h4>Returns</h4>
1079 <p><code class="literal">TRUE</code> if the call succeeded, <code class="literal">FALSE</code> if <em class="parameter"><code>error</code></em>
1080 is set. </p>
1081 <p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
1082 </div>
1083 <p class="since">Since: 2.10.0</p>
1084 </div>
1085 <hr>
1086 <div class="refsect2">
1087 <a name="udisks-swapspace-call-set-uuid-sync"></a><h3>udisks_swapspace_call_set_uuid_sync ()</h3>
1088 <pre class="programlisting"><span class="returnvalue">gboolean</span>
1089 udisks_swapspace_call_set_uuid_sync (<em class="parameter"><code><a class="link" href="UDisksSwapspace.html" title="UDisksSwapspace"><span class="type">UDisksSwapspace</span></a> *proxy</code></em>,
1090 <em class="parameter"><code>const <span class="type">gchar</span> *arg_uuid</code></em>,
1091 <em class="parameter"><code><span class="type">GVariant</span> *arg_options</code></em>,
1092 <em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>,
1093 <em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
1094 <p>Synchronously invokes the <a class="link" href="gdbus-org.freedesktop.UDisks2.Swapspace.html#gdbus-method-org-freedesktop-UDisks2-Swapspace.SetUUID" title="The SetUUID() method"><code class="function">SetUUID()</code></a> D-Bus method on <em class="parameter"><code>proxy</code></em>
1095 . The calling thread is blocked until a reply is received.</p>
1096 <p>See <a class="link" href="UDisksSwapspace.html#udisks-swapspace-call-set-uuid" title="udisks_swapspace_call_set_uuid ()"><code class="function">udisks_swapspace_call_set_uuid()</code></a> for the asynchronous version of this method.</p>
1097 <div class="refsect3">
1098 <a name="udisks-swapspace-call-set-uuid-sync.parameters"></a><h4>Parameters</h4>
1099 <div class="informaltable"><table class="informaltable" width="100%" border="0">
1100 <colgroup>
1101 <col width="150px" class="parameters_name">
1102 <col class="parameters_description">
1103 <col width="200px" class="parameters_annotations">
1104 </colgroup>
1105 <tbody>
1106 <tr>
1107 <td class="parameter_name"><p>proxy</p></td>
1108 <td class="parameter_description"><p>A <a class="link" href="UDisksSwapspace.html#UDisksSwapspaceProxy"><span class="type">UDisksSwapspaceProxy</span></a>.</p></td>
1109 <td class="parameter_annotations"> </td>
1110 </tr>
1111 <tr>
1112 <td class="parameter_name"><p>arg_uuid</p></td>
1113 <td class="parameter_description"><p>Argument to pass with the method invocation.</p></td>
1114 <td class="parameter_annotations"> </td>
1115 </tr>
1116 <tr>
1117 <td class="parameter_name"><p>arg_options</p></td>
1118 <td class="parameter_description"><p>Argument to pass with the method invocation.</p></td>
1119 <td class="parameter_annotations"> </td>
1120 </tr>
1121 <tr>
1122 <td class="parameter_name"><p>cancellable</p></td>
1123 <td class="parameter_description"><p>A <span class="type">GCancellable</span> or <code class="literal">NULL</code>. </p></td>
1124 <td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
1125 </tr>
1126 <tr>
1127 <td class="parameter_name"><p>error</p></td>
1128 <td class="parameter_description"><p>Return location for error or <code class="literal">NULL</code>.</p></td>
1129 <td class="parameter_annotations"> </td>
1130 </tr>
1131 </tbody>
1132 </table></div>
1133 </div>
1134 <div class="refsect3">
1135 <a name="udisks-swapspace-call-set-uuid-sync.returns"></a><h4>Returns</h4>
1136 <p><code class="literal">TRUE</code> if the call succeeded, <code class="literal">FALSE</code> if <em class="parameter"><code>error</code></em>
1137 is set. </p>
1138 <p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
1139 </div>
1140 <p class="since">Since: 2.10.0</p>
1141 </div>
1142 <hr>
1143 <div class="refsect2">
1144 <a name="udisks-swapspace-complete-set-uuid"></a><h3>udisks_swapspace_complete_set_uuid ()</h3>
1145 <pre class="programlisting"><span class="returnvalue">void</span>
1146 udisks_swapspace_complete_set_uuid (<em class="parameter"><code><a class="link" href="UDisksSwapspace.html" title="UDisksSwapspace"><span class="type">UDisksSwapspace</span></a> *object</code></em>,
1147 <em class="parameter"><code><span class="type">GDBusMethodInvocation</span> *invocation</code></em>);</pre>
1148 <p>Helper function used in service implementations to finish handling invocations of the <a class="link" href="gdbus-org.freedesktop.UDisks2.Swapspace.html#gdbus-method-org-freedesktop-UDisks2-Swapspace.SetUUID" title="The SetUUID() method"><code class="function">SetUUID()</code></a> D-Bus method. If you instead want to finish handling an invocation by returning an error, use <code class="function">g_dbus_method_invocation_return_error()</code> or similar.</p>
1149 <p>This method will free <em class="parameter"><code>invocation</code></em>
1150 , you cannot use it afterwards.</p>
1151 <div class="refsect3">
1152 <a name="udisks-swapspace-complete-set-uuid.parameters"></a><h4>Parameters</h4>
1153 <div class="informaltable"><table class="informaltable" width="100%" border="0">
1154 <colgroup>
1155 <col width="150px" class="parameters_name">
1156 <col class="parameters_description">
1157 <col width="200px" class="parameters_annotations">
1158 </colgroup>
1159 <tbody>
1160 <tr>
1161 <td class="parameter_name"><p>object</p></td>
1162 <td class="parameter_description"><p>A <a class="link" href="UDisksSwapspace.html" title="UDisksSwapspace"><span class="type">UDisksSwapspace</span></a>.</p></td>
1163 <td class="parameter_annotations"> </td>
1164 </tr>
1165 <tr>
1166 <td class="parameter_name"><p>invocation</p></td>
1167 <td class="parameter_description"><p>A <span class="type">GDBusMethodInvocation</span>. </p></td>
1168 <td class="parameter_annotations"><span class="annotation">[<acronym title="The caller owns the data, and is responsible for free it."><span class="acronym">transfer full</span></acronym>]</span></td>
1169 </tr>
1170 </tbody>
1171 </table></div>
1172 </div>
1173 <p class="since">Since: 2.10.0</p>
1174 </div>
1175 <hr>
1176 <div class="refsect2">
1177 <a name="udisks-swapspace-get-active"></a><h3>udisks_swapspace_get_active ()</h3>
1178 <pre class="programlisting"><span class="returnvalue">gboolean</span>
1179 udisks_swapspace_get_active (<em class="parameter"><code><a class="link" href="UDisksSwapspace.html" title="UDisksSwapspace"><span class="type">UDisksSwapspace</span></a> *object</code></em>);</pre>
1180 <p>Gets the value of the <a class="link" href="gdbus-org.freedesktop.UDisks2.Swapspace.html#gdbus-property-org-freedesktop-UDisks2-Swapspace.Active" title='The "Active" property'>"Active"</a> D-Bus property.</p>
1181 <p>Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.</p>
1182 <p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
1183 <div class="refsect3">
1184 <a name="udisks-swapspace-get-active.parameters"></a><h4>Parameters</h4>
1185 <div class="informaltable"><table class="informaltable" width="100%" border="0">
1186 <colgroup>
1187 <col width="150px" class="parameters_name">
1188 <col class="parameters_description">
1189 <col width="200px" class="parameters_annotations">
1190 </colgroup>
1191 <tbody><tr>
1192 <td class="parameter_name"><p>object</p></td>
1193 <td class="parameter_description"><p>A <a class="link" href="UDisksSwapspace.html" title="UDisksSwapspace"><span class="type">UDisksSwapspace</span></a>.</p></td>
1194 <td class="parameter_annotations"> </td>
1195 </tr></tbody>
1196 </table></div>
1197 </div>
1198 <div class="refsect3">
1199 <a name="udisks-swapspace-get-active.returns"></a><h4>Returns</h4>
1200 <p> The property value.</p>
1201 </div>
1202 </div>
1203 <hr>
1204 <div class="refsect2">
1205 <a name="udisks-swapspace-set-active"></a><h3>udisks_swapspace_set_active ()</h3>
1206 <pre class="programlisting"><span class="returnvalue">void</span>
1207 udisks_swapspace_set_active (<em class="parameter"><code><a class="link" href="UDisksSwapspace.html" title="UDisksSwapspace"><span class="type">UDisksSwapspace</span></a> *object</code></em>,
1208 <em class="parameter"><code><span class="type">gboolean</span> value</code></em>);</pre>
1209 <p>Sets the <a class="link" href="gdbus-org.freedesktop.UDisks2.Swapspace.html#gdbus-property-org-freedesktop-UDisks2-Swapspace.Active" title='The "Active" property'>"Active"</a> D-Bus property to <em class="parameter"><code>value</code></em>
1210 .</p>
1211 <p>Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.</p>
1212 <p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
1213 <div class="refsect3">
1214 <a name="udisks-swapspace-set-active.parameters"></a><h4>Parameters</h4>
1215 <div class="informaltable"><table class="informaltable" width="100%" border="0">
1216 <colgroup>
1217 <col width="150px" class="parameters_name">
1218 <col class="parameters_description">
1219 <col width="200px" class="parameters_annotations">
1220 </colgroup>
1221 <tbody>
1222 <tr>
1223 <td class="parameter_name"><p>object</p></td>
1224 <td class="parameter_description"><p>A <a class="link" href="UDisksSwapspace.html" title="UDisksSwapspace"><span class="type">UDisksSwapspace</span></a>.</p></td>
1225 <td class="parameter_annotations"> </td>
1226 </tr>
1227 <tr>
1228 <td class="parameter_name"><p>value</p></td>
1229 <td class="parameter_description"><p>The value to set.</p></td>
1230 <td class="parameter_annotations"> </td>
1231 </tr>
1232 </tbody>
1233 </table></div>
1234 </div>
1235 </div>
1236 <hr>
1237 <div class="refsect2">
1238 <a name="udisks-swapspace-proxy-new"></a><h3>udisks_swapspace_proxy_new ()</h3>
1239 <pre class="programlisting"><span class="returnvalue">void</span>
1240 udisks_swapspace_proxy_new (<em class="parameter"><code><span class="type">GDBusConnection</span> *connection</code></em>,
1241 <em class="parameter"><code><span class="type">GDBusProxyFlags</span> flags</code></em>,
1242 <em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>,
1243 <em class="parameter"><code>const <span class="type">gchar</span> *object_path</code></em>,
1244 <em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>,
1245 <em class="parameter"><code><span class="type">GAsyncReadyCallback</span> callback</code></em>,
1246 <em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);</pre>
1247 <p>Asynchronously creates a proxy for the D-Bus interface <a class="link" href="gdbus-org.freedesktop.UDisks2.Swapspace.html#gdbus-interface-org-freedesktop-UDisks2-Swapspace.top_of_page">org.freedesktop.UDisks2.Swapspace</a>. See <code class="function">g_dbus_proxy_new()</code> for more details.</p>
1248 <p>When the operation is finished, <em class="parameter"><code>callback</code></em>
1249 will be invoked in the thread-default main loop of the thread you are calling this method from (see <code class="function">g_main_context_push_thread_default()</code>).
1250 You can then call <a class="link" href="UDisksSwapspace.html#udisks-swapspace-proxy-new-finish" title="udisks_swapspace_proxy_new_finish ()"><code class="function">udisks_swapspace_proxy_new_finish()</code></a> to get the result of the operation.</p>
1251 <p>See <a class="link" href="UDisksSwapspace.html#udisks-swapspace-proxy-new-sync" title="udisks_swapspace_proxy_new_sync ()"><code class="function">udisks_swapspace_proxy_new_sync()</code></a> for the synchronous, blocking version of this constructor.</p>
1252 <div class="refsect3">
1253 <a name="udisks-swapspace-proxy-new.parameters"></a><h4>Parameters</h4>
1254 <div class="informaltable"><table class="informaltable" width="100%" border="0">
1255 <colgroup>
1256 <col width="150px" class="parameters_name">
1257 <col class="parameters_description">
1258 <col width="200px" class="parameters_annotations">
1259 </colgroup>
1260 <tbody>
1261 <tr>
1262 <td class="parameter_name"><p>connection</p></td>
1263 <td class="parameter_description"><p>A <span class="type">GDBusConnection</span>.</p></td>
1264 <td class="parameter_annotations"> </td>
1265 </tr>
1266 <tr>
1267 <td class="parameter_name"><p>flags</p></td>
1268 <td class="parameter_description"><p>Flags from the <span class="type">GDBusProxyFlags</span> enumeration.</p></td>
1269 <td class="parameter_annotations"> </td>
1270 </tr>
1271 <tr>
1272 <td class="parameter_name"><p>name</p></td>
1273 <td class="parameter_description"><p>A bus name (well-known or unique) or <code class="literal">NULL</code> if <em class="parameter"><code>connection</code></em>
1274 is not a message bus connection. </p></td>
1275 <td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
1276 </tr>
1277 <tr>
1278 <td class="parameter_name"><p>object_path</p></td>
1279 <td class="parameter_description"><p>An object path.</p></td>
1280 <td class="parameter_annotations"> </td>
1281 </tr>
1282 <tr>
1283 <td class="parameter_name"><p>cancellable</p></td>
1284 <td class="parameter_description"><p>A <span class="type">GCancellable</span> or <code class="literal">NULL</code>. </p></td>
1285 <td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
1286 </tr>
1287 <tr>
1288 <td class="parameter_name"><p>callback</p></td>
1289 <td class="parameter_description"><p>A <span class="type">GAsyncReadyCallback</span> to call when the request is satisfied.</p></td>
1290 <td class="parameter_annotations"> </td>
1291 </tr>
1292 <tr>
1293 <td class="parameter_name"><p>user_data</p></td>
1294 <td class="parameter_description"><p>User data to pass to <em class="parameter"><code>callback</code></em>
1295 .</p></td>
1296 <td class="parameter_annotations"> </td>
1297 </tr>
1298 </tbody>
1299 </table></div>
1300 </div>
1301 </div>
1302 <hr>
1303 <div class="refsect2">
1304 <a name="udisks-swapspace-proxy-new-finish"></a><h3>udisks_swapspace_proxy_new_finish ()</h3>
1305 <pre class="programlisting"><a class="link" href="UDisksSwapspace.html" title="UDisksSwapspace"><span class="returnvalue">UDisksSwapspace</span></a> *
1306 udisks_swapspace_proxy_new_finish (<em class="parameter"><code><span class="type">GAsyncResult</span> *res</code></em>,
1307 <em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
1308 <p>Finishes an operation started with <a class="link" href="UDisksSwapspace.html#udisks-swapspace-proxy-new" title="udisks_swapspace_proxy_new ()"><code class="function">udisks_swapspace_proxy_new()</code></a>.</p>
1309 <div class="refsect3">
1310 <a name="udisks-swapspace-proxy-new-finish.parameters"></a><h4>Parameters</h4>
1311 <div class="informaltable"><table class="informaltable" width="100%" border="0">
1312 <colgroup>
1313 <col width="150px" class="parameters_name">
1314 <col class="parameters_description">
1315 <col width="200px" class="parameters_annotations">
1316 </colgroup>
1317 <tbody>
1318 <tr>
1319 <td class="parameter_name"><p>res</p></td>
1320 <td class="parameter_description"><p>The <span class="type">GAsyncResult</span> obtained from the <span class="type">GAsyncReadyCallback</span> passed to <a class="link" href="UDisksSwapspace.html#udisks-swapspace-proxy-new" title="udisks_swapspace_proxy_new ()"><code class="function">udisks_swapspace_proxy_new()</code></a>.</p></td>
1321 <td class="parameter_annotations"> </td>
1322 </tr>
1323 <tr>
1324 <td class="parameter_name"><p>error</p></td>
1325 <td class="parameter_description"><p>Return location for error or <code class="literal">NULL</code></p></td>
1326 <td class="parameter_annotations"> </td>
1327 </tr>
1328 </tbody>
1329 </table></div>
1330 </div>
1331 <div class="refsect3">
1332 <a name="udisks-swapspace-proxy-new-finish.returns"></a><h4>Returns</h4>
1333 <p>The constructed proxy object or <code class="literal">NULL</code> if <em class="parameter"><code>error</code></em>
1334 is set. </p>
1335 <p><span class="annotation">[<acronym title="The caller owns the data, and is responsible for free it."><span class="acronym">transfer full</span></acronym>][<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> UDisksSwapspaceProxy]</span></p>
1336 </div>
1337 </div>
1338 <hr>
1339 <div class="refsect2">
1340 <a name="udisks-swapspace-proxy-new-sync"></a><h3>udisks_swapspace_proxy_new_sync ()</h3>
1341 <pre class="programlisting"><a class="link" href="UDisksSwapspace.html" title="UDisksSwapspace"><span class="returnvalue">UDisksSwapspace</span></a> *
1342 udisks_swapspace_proxy_new_sync (<em class="parameter"><code><span class="type">GDBusConnection</span> *connection</code></em>,
1343 <em class="parameter"><code><span class="type">GDBusProxyFlags</span> flags</code></em>,
1344 <em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>,
1345 <em class="parameter"><code>const <span class="type">gchar</span> *object_path</code></em>,
1346 <em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>,
1347 <em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
1348 <p>Synchronously creates a proxy for the D-Bus interface <a class="link" href="gdbus-org.freedesktop.UDisks2.Swapspace.html#gdbus-interface-org-freedesktop-UDisks2-Swapspace.top_of_page">org.freedesktop.UDisks2.Swapspace</a>. See <code class="function">g_dbus_proxy_new_sync()</code> for more details.</p>
1349 <p>The calling thread is blocked until a reply is received.</p>
1350 <p>See <a class="link" href="UDisksSwapspace.html#udisks-swapspace-proxy-new" title="udisks_swapspace_proxy_new ()"><code class="function">udisks_swapspace_proxy_new()</code></a> for the asynchronous version of this constructor.</p>
1351 <div class="refsect3">
1352 <a name="udisks-swapspace-proxy-new-sync.parameters"></a><h4>Parameters</h4>
1353 <div class="informaltable"><table class="informaltable" width="100%" border="0">
1354 <colgroup>
1355 <col width="150px" class="parameters_name">
1356 <col class="parameters_description">
1357 <col width="200px" class="parameters_annotations">
1358 </colgroup>
1359 <tbody>
1360 <tr>
1361 <td class="parameter_name"><p>connection</p></td>
1362 <td class="parameter_description"><p>A <span class="type">GDBusConnection</span>.</p></td>
1363 <td class="parameter_annotations"> </td>
1364 </tr>
1365 <tr>
1366 <td class="parameter_name"><p>flags</p></td>
1367 <td class="parameter_description"><p>Flags from the <span class="type">GDBusProxyFlags</span> enumeration.</p></td>
1368 <td class="parameter_annotations"> </td>
1369 </tr>
1370 <tr>
1371 <td class="parameter_name"><p>name</p></td>
1372 <td class="parameter_description"><p>A bus name (well-known or unique) or <code class="literal">NULL</code> if <em class="parameter"><code>connection</code></em>
1373 is not a message bus connection. </p></td>
1374 <td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
1375 </tr>
1376 <tr>
1377 <td class="parameter_name"><p>object_path</p></td>
1378 <td class="parameter_description"><p>An object path.</p></td>
1379 <td class="parameter_annotations"> </td>
1380 </tr>
1381 <tr>
1382 <td class="parameter_name"><p>cancellable</p></td>
1383 <td class="parameter_description"><p>A <span class="type">GCancellable</span> or <code class="literal">NULL</code>. </p></td>
1384 <td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
1385 </tr>
1386 <tr>
1387 <td class="parameter_name"><p>error</p></td>
1388 <td class="parameter_description"><p>Return location for error or <code class="literal">NULL</code></p></td>
1389 <td class="parameter_annotations"> </td>
1390 </tr>
1391 </tbody>
1392 </table></div>
1393 </div>
1394 <div class="refsect3">
1395 <a name="udisks-swapspace-proxy-new-sync.returns"></a><h4>Returns</h4>
1396 <p>The constructed proxy object or <code class="literal">NULL</code> if <em class="parameter"><code>error</code></em>
1397 is set. </p>
1398 <p><span class="annotation">[<acronym title="The caller owns the data, and is responsible for free it."><span class="acronym">transfer full</span></acronym>][<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> UDisksSwapspaceProxy]</span></p>
1399 </div>
1400 </div>
1401 <hr>
1402 <div class="refsect2">
1403 <a name="udisks-swapspace-proxy-new-for-bus"></a><h3>udisks_swapspace_proxy_new_for_bus ()</h3>
1404 <pre class="programlisting"><span class="returnvalue">void</span>
1405 udisks_swapspace_proxy_new_for_bus (<em class="parameter"><code><span class="type">GBusType</span> bus_type</code></em>,
1406 <em class="parameter"><code><span class="type">GDBusProxyFlags</span> flags</code></em>,
1407 <em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>,
1408 <em class="parameter"><code>const <span class="type">gchar</span> *object_path</code></em>,
1409 <em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>,
1410 <em class="parameter"><code><span class="type">GAsyncReadyCallback</span> callback</code></em>,
1411 <em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);</pre>
1412 <p>Like <a class="link" href="UDisksSwapspace.html#udisks-swapspace-proxy-new" title="udisks_swapspace_proxy_new ()"><code class="function">udisks_swapspace_proxy_new()</code></a> but takes a <span class="type">GBusType</span> instead of a <span class="type">GDBusConnection</span>.</p>
1413 <p>When the operation is finished, <em class="parameter"><code>callback</code></em>
1414 will be invoked in the thread-default main loop of the thread you are calling this method from (see <code class="function">g_main_context_push_thread_default()</code>).
1415 You can then call <a class="link" href="UDisksSwapspace.html#udisks-swapspace-proxy-new-for-bus-finish" title="udisks_swapspace_proxy_new_for_bus_finish ()"><code class="function">udisks_swapspace_proxy_new_for_bus_finish()</code></a> to get the result of the operation.</p>
1416 <p>See <a class="link" href="UDisksSwapspace.html#udisks-swapspace-proxy-new-for-bus-sync" title="udisks_swapspace_proxy_new_for_bus_sync ()"><code class="function">udisks_swapspace_proxy_new_for_bus_sync()</code></a> for the synchronous, blocking version of this constructor.</p>
1417 <div class="refsect3">
1418 <a name="udisks-swapspace-proxy-new-for-bus.parameters"></a><h4>Parameters</h4>
1419 <div class="informaltable"><table class="informaltable" width="100%" border="0">
1420 <colgroup>
1421 <col width="150px" class="parameters_name">
1422 <col class="parameters_description">
1423 <col width="200px" class="parameters_annotations">
1424 </colgroup>
1425 <tbody>
1426 <tr>
1427 <td class="parameter_name"><p>bus_type</p></td>
1428 <td class="parameter_description"><p>A <span class="type">GBusType</span>.</p></td>
1429 <td class="parameter_annotations"> </td>
1430 </tr>
1431 <tr>
1432 <td class="parameter_name"><p>flags</p></td>
1433 <td class="parameter_description"><p>Flags from the <span class="type">GDBusProxyFlags</span> enumeration.</p></td>
1434 <td class="parameter_annotations"> </td>
1435 </tr>
1436 <tr>
1437 <td class="parameter_name"><p>name</p></td>
1438 <td class="parameter_description"><p>A bus name (well-known or unique).</p></td>
1439 <td class="parameter_annotations"> </td>
1440 </tr>
1441 <tr>
1442 <td class="parameter_name"><p>object_path</p></td>
1443 <td class="parameter_description"><p>An object path.</p></td>
1444 <td class="parameter_annotations"> </td>
1445 </tr>
1446 <tr>
1447 <td class="parameter_name"><p>cancellable</p></td>
1448 <td class="parameter_description"><p>A <span class="type">GCancellable</span> or <code class="literal">NULL</code>. </p></td>
1449 <td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
1450 </tr>
1451 <tr>
1452 <td class="parameter_name"><p>callback</p></td>
1453 <td class="parameter_description"><p>A <span class="type">GAsyncReadyCallback</span> to call when the request is satisfied.</p></td>
1454 <td class="parameter_annotations"> </td>
1455 </tr>
1456 <tr>
1457 <td class="parameter_name"><p>user_data</p></td>
1458 <td class="parameter_description"><p>User data to pass to <em class="parameter"><code>callback</code></em>
1459 .</p></td>
1460 <td class="parameter_annotations"> </td>
1461 </tr>
1462 </tbody>
1463 </table></div>
1464 </div>
1465 </div>
1466 <hr>
1467 <div class="refsect2">
1468 <a name="udisks-swapspace-proxy-new-for-bus-finish"></a><h3>udisks_swapspace_proxy_new_for_bus_finish ()</h3>
1469 <pre class="programlisting"><a class="link" href="UDisksSwapspace.html" title="UDisksSwapspace"><span class="returnvalue">UDisksSwapspace</span></a> *
1470 udisks_swapspace_proxy_new_for_bus_finish
1471 (<em class="parameter"><code><span class="type">GAsyncResult</span> *res</code></em>,
1472 <em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
1473 <p>Finishes an operation started with <a class="link" href="UDisksSwapspace.html#udisks-swapspace-proxy-new-for-bus" title="udisks_swapspace_proxy_new_for_bus ()"><code class="function">udisks_swapspace_proxy_new_for_bus()</code></a>.</p>
1474 <div class="refsect3">
1475 <a name="udisks-swapspace-proxy-new-for-bus-finish.parameters"></a><h4>Parameters</h4>
1476 <div class="informaltable"><table class="informaltable" width="100%" border="0">
1477 <colgroup>
1478 <col width="150px" class="parameters_name">
1479 <col class="parameters_description">
1480 <col width="200px" class="parameters_annotations">
1481 </colgroup>
1482 <tbody>
1483 <tr>
1484 <td class="parameter_name"><p>res</p></td>
1485 <td class="parameter_description"><p>The <span class="type">GAsyncResult</span> obtained from the <span class="type">GAsyncReadyCallback</span> passed to <a class="link" href="UDisksSwapspace.html#udisks-swapspace-proxy-new-for-bus" title="udisks_swapspace_proxy_new_for_bus ()"><code class="function">udisks_swapspace_proxy_new_for_bus()</code></a>.</p></td>
1486 <td class="parameter_annotations"> </td>
1487 </tr>
1488 <tr>
1489 <td class="parameter_name"><p>error</p></td>
1490 <td class="parameter_description"><p>Return location for error or <code class="literal">NULL</code></p></td>
1491 <td class="parameter_annotations"> </td>
1492 </tr>
1493 </tbody>
1494 </table></div>
1495 </div>
1496 <div class="refsect3">
1497 <a name="udisks-swapspace-proxy-new-for-bus-finish.returns"></a><h4>Returns</h4>
1498 <p>The constructed proxy object or <code class="literal">NULL</code> if <em class="parameter"><code>error</code></em>
1499 is set. </p>
1500 <p><span class="annotation">[<acronym title="The caller owns the data, and is responsible for free it."><span class="acronym">transfer full</span></acronym>][<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> UDisksSwapspaceProxy]</span></p>
1501 </div>
1502 </div>
1503 <hr>
1504 <div class="refsect2">
1505 <a name="udisks-swapspace-proxy-new-for-bus-sync"></a><h3>udisks_swapspace_proxy_new_for_bus_sync ()</h3>
1506 <pre class="programlisting"><a class="link" href="UDisksSwapspace.html" title="UDisksSwapspace"><span class="returnvalue">UDisksSwapspace</span></a> *
1507 udisks_swapspace_proxy_new_for_bus_sync
1508 (<em class="parameter"><code><span class="type">GBusType</span> bus_type</code></em>,
1509 <em class="parameter"><code><span class="type">GDBusProxyFlags</span> flags</code></em>,
1510 <em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>,
1511 <em class="parameter"><code>const <span class="type">gchar</span> *object_path</code></em>,
1512 <em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>,
1513 <em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
1514 <p>Like <a class="link" href="UDisksSwapspace.html#udisks-swapspace-proxy-new-sync" title="udisks_swapspace_proxy_new_sync ()"><code class="function">udisks_swapspace_proxy_new_sync()</code></a> but takes a <span class="type">GBusType</span> instead of a <span class="type">GDBusConnection</span>.</p>
1515 <p>The calling thread is blocked until a reply is received.</p>
1516 <p>See <a class="link" href="UDisksSwapspace.html#udisks-swapspace-proxy-new-for-bus" title="udisks_swapspace_proxy_new_for_bus ()"><code class="function">udisks_swapspace_proxy_new_for_bus()</code></a> for the asynchronous version of this constructor.</p>
1517 <div class="refsect3">
1518 <a name="udisks-swapspace-proxy-new-for-bus-sync.parameters"></a><h4>Parameters</h4>
1519 <div class="informaltable"><table class="informaltable" width="100%" border="0">
1520 <colgroup>
1521 <col width="150px" class="parameters_name">
1522 <col class="parameters_description">
1523 <col width="200px" class="parameters_annotations">
1524 </colgroup>
1525 <tbody>
1526 <tr>
1527 <td class="parameter_name"><p>bus_type</p></td>
1528 <td class="parameter_description"><p>A <span class="type">GBusType</span>.</p></td>
1529 <td class="parameter_annotations"> </td>
1530 </tr>
1531 <tr>
1532 <td class="parameter_name"><p>flags</p></td>
1533 <td class="parameter_description"><p>Flags from the <span class="type">GDBusProxyFlags</span> enumeration.</p></td>
1534 <td class="parameter_annotations"> </td>
1535 </tr>
1536 <tr>
1537 <td class="parameter_name"><p>name</p></td>
1538 <td class="parameter_description"><p>A bus name (well-known or unique).</p></td>
1539 <td class="parameter_annotations"> </td>
1540 </tr>
1541 <tr>
1542 <td class="parameter_name"><p>object_path</p></td>
1543 <td class="parameter_description"><p>An object path.</p></td>
1544 <td class="parameter_annotations"> </td>
1545 </tr>
1546 <tr>
1547 <td class="parameter_name"><p>cancellable</p></td>
1548 <td class="parameter_description"><p>A <span class="type">GCancellable</span> or <code class="literal">NULL</code>. </p></td>
1549 <td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
1550 </tr>
1551 <tr>
1552 <td class="parameter_name"><p>error</p></td>
1553 <td class="parameter_description"><p>Return location for error or <code class="literal">NULL</code></p></td>
1554 <td class="parameter_annotations"> </td>
1555 </tr>
1556 </tbody>
1557 </table></div>
1558 </div>
1559 <div class="refsect3">
1560 <a name="udisks-swapspace-proxy-new-for-bus-sync.returns"></a><h4>Returns</h4>
1561 <p>The constructed proxy object or <code class="literal">NULL</code> if <em class="parameter"><code>error</code></em>
1562 is set. </p>
1563 <p><span class="annotation">[<acronym title="The caller owns the data, and is responsible for free it."><span class="acronym">transfer full</span></acronym>][<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> UDisksSwapspaceProxy]</span></p>
1564 </div>
1565 </div>
1566 <hr>
1567 <div class="refsect2">
1568 <a name="udisks-swapspace-skeleton-new"></a><h3>udisks_swapspace_skeleton_new ()</h3>
1569 <pre class="programlisting"><a class="link" href="UDisksSwapspace.html" title="UDisksSwapspace"><span class="returnvalue">UDisksSwapspace</span></a> *
1570 udisks_swapspace_skeleton_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
1571 <p>Creates a skeleton object for the D-Bus interface <a class="link" href="gdbus-org.freedesktop.UDisks2.Swapspace.html#gdbus-interface-org-freedesktop-UDisks2-Swapspace.top_of_page">org.freedesktop.UDisks2.Swapspace</a>.</p>
1572 <div class="refsect3">
1573 <a name="udisks-swapspace-skeleton-new.returns"></a><h4>Returns</h4>
1574 <p>The skeleton object. </p>
1575 <p><span class="annotation">[<acronym title="The caller owns the data, and is responsible for free it."><span class="acronym">transfer full</span></acronym>][<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> UDisksSwapspaceSkeleton]</span></p>
1576 </div>
1577 </div>
1578 </div>
1579 <div class="refsect1">
1580 <a name="UDisksSwapspace.other_details"></a><h2>Types and Values</h2>
1581 <div class="refsect2">
1582 <a name="UDisksSwapspace-struct"></a><h3>UDisksSwapspace</h3>
1583 <pre class="programlisting">typedef struct _UDisksSwapspace UDisksSwapspace;</pre>
1584 <p>Abstract interface type for the D-Bus interface <a class="link" href="gdbus-org.freedesktop.UDisks2.Swapspace.html#gdbus-interface-org-freedesktop-UDisks2-Swapspace.top_of_page">org.freedesktop.UDisks2.Swapspace</a>.</p>
1585 </div>
1586 <hr>
1587 <div class="refsect2">
1588 <a name="UDisksSwapspaceIface"></a><h3>struct UDisksSwapspaceIface</h3>
1589 <pre class="programlisting">struct UDisksSwapspaceIface {
1590 GTypeInterface parent_iface;
1591
1592 gboolean (*handle_set_label) (
1593 UDisksSwapspace *object,
1594 GDBusMethodInvocation *invocation,
1595 const gchar *arg_label,
1596 GVariant *arg_options);
1597
1598 gboolean (*handle_start) (
1599 UDisksSwapspace *object,
1600 GDBusMethodInvocation *invocation,
1601 GVariant *arg_options);
1602
1603 gboolean (*handle_stop) (
1604 UDisksSwapspace *object,
1605 GDBusMethodInvocation *invocation,
1606 GVariant *arg_options);
1607
1608 gboolean (*get_active) (UDisksSwapspace *object);
1609
1610 gboolean (*handle_set_uuid) (
1611 UDisksSwapspace *object,
1612 GDBusMethodInvocation *invocation,
1613 const gchar *arg_uuid,
1614 GVariant *arg_options);
1615 };
1616 </pre>
1617 <p>Virtual table for the D-Bus interface <a class="link" href="gdbus-org.freedesktop.UDisks2.Swapspace.html#gdbus-interface-org-freedesktop-UDisks2-Swapspace.top_of_page">org.freedesktop.UDisks2.Swapspace</a>.</p>
1618 <div class="refsect3">
1619 <a name="UDisksSwapspaceIface.members"></a><h4>Members</h4>
1620 <div class="informaltable"><table class="informaltable" width="100%" border="0">
1621 <colgroup>
1622 <col width="300px" class="struct_members_name">
1623 <col class="struct_members_description">
1624 <col width="200px" class="struct_members_annotations">
1625 </colgroup>
1626 <tbody>
1627 <tr>
1628 <td class="struct_member_name"><p><span class="type">GTypeInterface</span> <em class="structfield"><code><a name="UDisksSwapspaceIface.parent-iface"></a>parent_iface</code></em>;</p></td>
1629 <td class="struct_member_description"><p>The parent interface.</p></td>
1630 <td class="struct_member_annotations"> </td>
1631 </tr>
1632 <tr>
1633 <td class="struct_member_name"><p><em class="structfield"><code><a name="UDisksSwapspaceIface.handle-set-label"></a>handle_set_label</code></em> ()</p></td>
1634 <td class="struct_member_description"><p>Handler for the <a class="link" href="UDisksSwapspace.html#UDisksSwapspace-handle-set-label" title="The “handle-set-label” signal"><span class="type">“handle-set-label”</span></a> signal.</p></td>
1635 <td class="struct_member_annotations"> </td>
1636 </tr>
1637 <tr>
1638 <td class="struct_member_name"><p><em class="structfield"><code><a name="UDisksSwapspaceIface.handle-start"></a>handle_start</code></em> ()</p></td>
1639 <td class="struct_member_description"><p>Handler for the <a class="link" href="UDisksSwapspace.html#UDisksSwapspace-handle-start" title="The “handle-start” signal"><span class="type">“handle-start”</span></a> signal.</p></td>
1640 <td class="struct_member_annotations"> </td>
1641 </tr>
1642 <tr>
1643 <td class="struct_member_name"><p><em class="structfield"><code><a name="UDisksSwapspaceIface.handle-stop"></a>handle_stop</code></em> ()</p></td>
1644 <td class="struct_member_description"><p>Handler for the <a class="link" href="UDisksSwapspace.html#UDisksSwapspace-handle-stop" title="The “handle-stop” signal"><span class="type">“handle-stop”</span></a> signal.</p></td>
1645 <td class="struct_member_annotations"> </td>
1646 </tr>
1647 <tr>
1648 <td class="struct_member_name"><p><em class="structfield"><code><a name="UDisksSwapspaceIface.get-active"></a>get_active</code></em> ()</p></td>
1649 <td class="struct_member_description"><p>Getter for the <a class="link" href="UDisksSwapspace.html#UDisksSwapspace--active" title="The “active” property"><span class="type">“active”</span></a> property.</p></td>
1650 <td class="struct_member_annotations"> </td>
1651 </tr>
1652 <tr>
1653 <td class="struct_member_name"><p><em class="structfield"><code><a name="UDisksSwapspaceIface.handle-set-uuid"></a>handle_set_uuid</code></em> ()</p></td>
1654 <td class="struct_member_description"><p>Handler for the <a class="link" href="UDisksSwapspace.html#UDisksSwapspace-handle-set-uuid" title="The “handle-set-uuid” signal"><span class="type">“handle-set-uuid”</span></a> signal.</p></td>
1655 <td class="struct_member_annotations"> </td>
1656 </tr>
1657 </tbody>
1658 </table></div>
1659 </div>
1660 </div>
1661 <hr>
1662 <div class="refsect2">
1663 <a name="UDisksSwapspaceProxy-struct"></a><h3>struct UDisksSwapspaceProxy</h3>
1664 <pre class="programlisting">struct UDisksSwapspaceProxy;</pre>
1665 <p>The <a class="link" href="UDisksSwapspace.html#UDisksSwapspaceProxy"><span class="type">UDisksSwapspaceProxy</span></a> structure contains only private data and should only be accessed using the provided API.</p>
1666 </div>
1667 <hr>
1668 <div class="refsect2">
1669 <a name="UDisksSwapspaceProxyClass"></a><h3>struct UDisksSwapspaceProxyClass</h3>
1670 <pre class="programlisting">struct UDisksSwapspaceProxyClass {
1671 GDBusProxyClass parent_class;
1672 };
1673 </pre>
1674 <p>Class structure for <a class="link" href="UDisksSwapspace.html#UDisksSwapspaceProxy"><span class="type">UDisksSwapspaceProxy</span></a>.</p>
1675 <div class="refsect3">
1676 <a name="UDisksSwapspaceProxyClass.members"></a><h4>Members</h4>
1677 <div class="informaltable"><table class="informaltable" width="100%" border="0">
1678 <colgroup>
1679 <col width="300px" class="struct_members_name">
1680 <col class="struct_members_description">
1681 <col width="200px" class="struct_members_annotations">
1682 </colgroup>
1683 <tbody></tbody>
1684 </table></div>
1685 </div>
1686 </div>
1687 <hr>
1688 <div class="refsect2">
1689 <a name="UDisksSwapspaceSkeleton-struct"></a><h3>struct UDisksSwapspaceSkeleton</h3>
1690 <pre class="programlisting">struct UDisksSwapspaceSkeleton;</pre>
1691 <p>The <a class="link" href="UDisksSwapspace.html#UDisksSwapspaceSkeleton"><span class="type">UDisksSwapspaceSkeleton</span></a> structure contains only private data and should only be accessed using the provided API.</p>
1692 </div>
1693 <hr>
1694 <div class="refsect2">
1695 <a name="UDisksSwapspaceSkeletonClass"></a><h3>struct UDisksSwapspaceSkeletonClass</h3>
1696 <pre class="programlisting">struct UDisksSwapspaceSkeletonClass {
1697 GDBusInterfaceSkeletonClass parent_class;
1698 };
1699 </pre>
1700 <p>Class structure for <a class="link" href="UDisksSwapspace.html#UDisksSwapspaceSkeleton"><span class="type">UDisksSwapspaceSkeleton</span></a>.</p>
1701 <div class="refsect3">
1702 <a name="UDisksSwapspaceSkeletonClass.members"></a><h4>Members</h4>
1703 <div class="informaltable"><table class="informaltable" width="100%" border="0">
1704 <colgroup>
1705 <col width="300px" class="struct_members_name">
1706 <col class="struct_members_description">
1707 <col width="200px" class="struct_members_annotations">
1708 </colgroup>
1709 <tbody></tbody>
1710 </table></div>
1711 </div>
1712 </div>
1713 </div>
1714 <div class="refsect1">
1715 <a name="UDisksSwapspace.property-details"></a><h2>Property Details</h2>
1716 <div class="refsect2">
1717 <a name="UDisksSwapspace--active"></a><h3>The <code class="literal">“active”</code> property</h3>
1718 <pre class="programlisting"> “active” <span class="type">gboolean</span></pre>
1719 <p>Represents the D-Bus property <a class="link" href="gdbus-org.freedesktop.UDisks2.Swapspace.html#gdbus-property-org-freedesktop-UDisks2-Swapspace.Active" title='The "Active" property'>"Active"</a>.</p>
1720 <p>Since the D-Bus property for this <span class="type">GObject</span> property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.</p>
1721 <p>Owner: UDisksSwapspace</p>
1722 <p>Flags: Read / Write</p>
1723 <p>Default value: FALSE</p>
1724 </div>
1725 </div>
1726 <div class="refsect1">
1727 <a name="UDisksSwapspace.signal-details"></a><h2>Signal Details</h2>
1728 <div class="refsect2">
1729 <a name="UDisksSwapspace-handle-set-label"></a><h3>The <code class="literal">“handle-set-label”</code> signal</h3>
1730 <pre class="programlisting"><span class="returnvalue">gboolean</span>
1731 user_function (<a class="link" href="UDisksSwapspace.html" title="UDisksSwapspace"><span class="type">UDisksSwapspace</span></a> *object,
1732 <span class="type">GDBusMethodInvocation</span> *invocation,
1733 <span class="type">char</span> *arg_label,
1734 <span class="type">GVariant</span> *arg_options,
1735 <span class="type">gpointer</span> user_data)</pre>
1736 <p>Signal emitted when a remote caller is invoking the <a class="link" href="gdbus-org.freedesktop.UDisks2.Swapspace.html#gdbus-method-org-freedesktop-UDisks2-Swapspace.SetLabel" title="The SetLabel() method"><code class="function">SetLabel()</code></a> D-Bus method.</p>
1737 <p>If a signal handler returns <code class="literal">TRUE</code>, it means the signal handler will handle the invocation (e.g. take a reference to <em class="parameter"><code>invocation</code></em>
1738 and eventually call <a class="link" href="UDisksSwapspace.html#udisks-swapspace-complete-set-label" title="udisks_swapspace_complete_set_label ()"><code class="function">udisks_swapspace_complete_set_label()</code></a> or e.g. <code class="function">g_dbus_method_invocation_return_error()</code> on it) and no other 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>
1739 <div class="refsect3">
1740 <a name="UDisksSwapspace-handle-set-label.parameters"></a><h4>Parameters</h4>
1741 <div class="informaltable"><table class="informaltable" width="100%" border="0">
1742 <colgroup>
1743 <col width="150px" class="parameters_name">
1744 <col class="parameters_description">
1745 <col width="200px" class="parameters_annotations">
1746 </colgroup>
1747 <tbody>
1748 <tr>
1749 <td class="parameter_name"><p>object</p></td>
1750 <td class="parameter_description"><p>A <a class="link" href="UDisksSwapspace.html" title="UDisksSwapspace"><span class="type">UDisksSwapspace</span></a>.</p></td>
1751 <td class="parameter_annotations"> </td>
1752 </tr>
1753 <tr>
1754 <td class="parameter_name"><p>invocation</p></td>
1755 <td class="parameter_description"><p>A <span class="type">GDBusMethodInvocation</span>.</p></td>
1756 <td class="parameter_annotations"> </td>
1757 </tr>
1758 <tr>
1759 <td class="parameter_name"><p>arg_label</p></td>
1760 <td class="parameter_description"><p>Argument passed by remote caller.</p></td>
1761 <td class="parameter_annotations"> </td>
1762 </tr>
1763 <tr>
1764 <td class="parameter_name"><p>arg_options</p></td>
1765 <td class="parameter_description"><p>Argument passed by remote caller.</p></td>
1766 <td class="parameter_annotations"> </td>
1767 </tr>
1768 <tr>
1769 <td class="parameter_name"><p>user_data</p></td>
1770 <td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
1771 <td class="parameter_annotations"> </td>
1772 </tr>
1773 </tbody>
1774 </table></div>
1775 </div>
1776 <div class="refsect3">
1777 <a name="UDisksSwapspace-handle-set-label.returns"></a><h4>Returns</h4>
1778 <p> <code class="literal">G_DBUS_METHOD_INVOCATION_HANDLED</code> or <code class="literal">TRUE</code> if the invocation was handled, <code class="literal">G_DBUS_METHOD_INVOCATION_UNHANDLED</code> or <code class="literal">FALSE</code> to let other signal handlers run.</p>
1779 </div>
1780 <p>Flags: Run Last</p>
1781 </div>
1782 <hr>
1783 <div class="refsect2">
1784 <a name="UDisksSwapspace-handle-set-uuid"></a><h3>The <code class="literal">“handle-set-uuid”</code> signal</h3>
1785 <pre class="programlisting"><span class="returnvalue">gboolean</span>
1786 user_function (<a class="link" href="UDisksSwapspace.html" title="UDisksSwapspace"><span class="type">UDisksSwapspace</span></a> *object,
1787 <span class="type">GDBusMethodInvocation</span> *invocation,
1788 <span class="type">char</span> *arg_uuid,
1789 <span class="type">GVariant</span> *arg_options,
1790 <span class="type">gpointer</span> user_data)</pre>
1791 <p>Signal emitted when a remote caller is invoking the <a class="link" href="gdbus-org.freedesktop.UDisks2.Swapspace.html#gdbus-method-org-freedesktop-UDisks2-Swapspace.SetUUID" title="The SetUUID() method"><code class="function">SetUUID()</code></a> D-Bus method.</p>
1792 <p>If a signal handler returns <code class="literal">TRUE</code>, it means the signal handler will handle the invocation (e.g. take a reference to <em class="parameter"><code>invocation</code></em>
1793 and eventually call <a class="link" href="UDisksSwapspace.html#udisks-swapspace-complete-set-uuid" title="udisks_swapspace_complete_set_uuid ()"><code class="function">udisks_swapspace_complete_set_uuid()</code></a> or e.g. <code class="function">g_dbus_method_invocation_return_error()</code> on it) and no other 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>
1794 <div class="refsect3">
1795 <a name="UDisksSwapspace-handle-set-uuid.parameters"></a><h4>Parameters</h4>
1796 <div class="informaltable"><table class="informaltable" width="100%" border="0">
1797 <colgroup>
1798 <col width="150px" class="parameters_name">
1799 <col class="parameters_description">
1800 <col width="200px" class="parameters_annotations">
1801 </colgroup>
1802 <tbody>
1803 <tr>
1804 <td class="parameter_name"><p>object</p></td>
1805 <td class="parameter_description"><p>A <a class="link" href="UDisksSwapspace.html" title="UDisksSwapspace"><span class="type">UDisksSwapspace</span></a>.</p></td>
1806 <td class="parameter_annotations"> </td>
1807 </tr>
1808 <tr>
1809 <td class="parameter_name"><p>invocation</p></td>
1810 <td class="parameter_description"><p>A <span class="type">GDBusMethodInvocation</span>.</p></td>
1811 <td class="parameter_annotations"> </td>
1812 </tr>
1813 <tr>
1814 <td class="parameter_name"><p>arg_uuid</p></td>
1815 <td class="parameter_description"><p>Argument passed by remote caller.</p></td>
1816 <td class="parameter_annotations"> </td>
1817 </tr>
1818 <tr>
1819 <td class="parameter_name"><p>arg_options</p></td>
1820 <td class="parameter_description"><p>Argument passed by remote caller.</p></td>
1821 <td class="parameter_annotations"> </td>
1822 </tr>
1823 <tr>
1824 <td class="parameter_name"><p>user_data</p></td>
1825 <td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
1826 <td class="parameter_annotations"> </td>
1827 </tr>
1828 </tbody>
1829 </table></div>
1830 </div>
1831 <div class="refsect3">
1832 <a name="UDisksSwapspace-handle-set-uuid.returns"></a><h4>Returns</h4>
1833 <p> <code class="literal">G_DBUS_METHOD_INVOCATION_HANDLED</code> or <code class="literal">TRUE</code> if the invocation was handled, <code class="literal">G_DBUS_METHOD_INVOCATION_UNHANDLED</code> or <code class="literal">FALSE</code> to let other signal handlers run.</p>
1834 </div>
1835 <p>Flags: Run Last</p>
1836 <p class="since">Since: 2.10.0</p>
1837 </div>
1838 <hr>
1839 <div class="refsect2">
1840 <a name="UDisksSwapspace-handle-start"></a><h3>The <code class="literal">“handle-start”</code> signal</h3>
1841 <pre class="programlisting"><span class="returnvalue">gboolean</span>
1842 user_function (<a class="link" href="UDisksSwapspace.html" title="UDisksSwapspace"><span class="type">UDisksSwapspace</span></a> *object,
1843 <span class="type">GDBusMethodInvocation</span> *invocation,
1844 <span class="type">GVariant</span> *arg_options,
1845 <span class="type">gpointer</span> user_data)</pre>
1846 <p>Signal emitted when a remote caller is invoking the <a class="link" href="gdbus-org.freedesktop.UDisks2.Swapspace.html#gdbus-method-org-freedesktop-UDisks2-Swapspace.Start" title="The Start() method"><code class="function">Start()</code></a> D-Bus method.</p>
1847 <p>If a signal handler returns <code class="literal">TRUE</code>, it means the signal handler will handle the invocation (e.g. take a reference to <em class="parameter"><code>invocation</code></em>
1848 and eventually call <a class="link" href="UDisksSwapspace.html#udisks-swapspace-complete-start" title="udisks_swapspace_complete_start ()"><code class="function">udisks_swapspace_complete_start()</code></a> or e.g. <code class="function">g_dbus_method_invocation_return_error()</code> on it) and no other 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>
1849 <div class="refsect3">
1850 <a name="UDisksSwapspace-handle-start.parameters"></a><h4>Parameters</h4>
1851 <div class="informaltable"><table class="informaltable" width="100%" border="0">
1852 <colgroup>
1853 <col width="150px" class="parameters_name">
1854 <col class="parameters_description">
1855 <col width="200px" class="parameters_annotations">
1856 </colgroup>
1857 <tbody>
1858 <tr>
1859 <td class="parameter_name"><p>object</p></td>
1860 <td class="parameter_description"><p>A <a class="link" href="UDisksSwapspace.html" title="UDisksSwapspace"><span class="type">UDisksSwapspace</span></a>.</p></td>
1861 <td class="parameter_annotations"> </td>
1862 </tr>
1863 <tr>
1864 <td class="parameter_name"><p>invocation</p></td>
1865 <td class="parameter_description"><p>A <span class="type">GDBusMethodInvocation</span>.</p></td>
1866 <td class="parameter_annotations"> </td>
1867 </tr>
1868 <tr>
1869 <td class="parameter_name"><p>arg_options</p></td>
1870 <td class="parameter_description"><p>Argument passed by remote caller.</p></td>
1871 <td class="parameter_annotations"> </td>
1872 </tr>
1873 <tr>
1874 <td class="parameter_name"><p>user_data</p></td>
1875 <td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
1876 <td class="parameter_annotations"> </td>
1877 </tr>
1878 </tbody>
1879 </table></div>
1880 </div>
1881 <div class="refsect3">
1882 <a name="UDisksSwapspace-handle-start.returns"></a><h4>Returns</h4>
1883 <p> <code class="literal">G_DBUS_METHOD_INVOCATION_HANDLED</code> or <code class="literal">TRUE</code> if the invocation was handled, <code class="literal">G_DBUS_METHOD_INVOCATION_UNHANDLED</code> or <code class="literal">FALSE</code> to let other signal handlers run.</p>
1884 </div>
1885 <p>Flags: Run Last</p>
1886 </div>
1887 <hr>
1888 <div class="refsect2">
1889 <a name="UDisksSwapspace-handle-stop"></a><h3>The <code class="literal">“handle-stop”</code> signal</h3>
1890 <pre class="programlisting"><span class="returnvalue">gboolean</span>
1891 user_function (<a class="link" href="UDisksSwapspace.html" title="UDisksSwapspace"><span class="type">UDisksSwapspace</span></a> *object,
1892 <span class="type">GDBusMethodInvocation</span> *invocation,
1893 <span class="type">GVariant</span> *arg_options,
1894 <span class="type">gpointer</span> user_data)</pre>
1895 <p>Signal emitted when a remote caller is invoking the <a class="link" href="gdbus-org.freedesktop.UDisks2.Swapspace.html#gdbus-method-org-freedesktop-UDisks2-Swapspace.Stop" title="The Stop() method"><code class="function">Stop()</code></a> D-Bus method.</p>
1896 <p>If a signal handler returns <code class="literal">TRUE</code>, it means the signal handler will handle the invocation (e.g. take a reference to <em class="parameter"><code>invocation</code></em>
1897 and eventually call <a class="link" href="UDisksSwapspace.html#udisks-swapspace-complete-stop" title="udisks_swapspace_complete_stop ()"><code class="function">udisks_swapspace_complete_stop()</code></a> or e.g. <code class="function">g_dbus_method_invocation_return_error()</code> on it) and no other 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>
1898 <div class="refsect3">
1899 <a name="UDisksSwapspace-handle-stop.parameters"></a><h4>Parameters</h4>
1900 <div class="informaltable"><table class="informaltable" width="100%" border="0">
1901 <colgroup>
1902 <col width="150px" class="parameters_name">
1903 <col class="parameters_description">
1904 <col width="200px" class="parameters_annotations">
1905 </colgroup>
1906 <tbody>
1907 <tr>
1908 <td class="parameter_name"><p>object</p></td>
1909 <td class="parameter_description"><p>A <a class="link" href="UDisksSwapspace.html" title="UDisksSwapspace"><span class="type">UDisksSwapspace</span></a>.</p></td>
1910 <td class="parameter_annotations"> </td>
1911 </tr>
1912 <tr>
1913 <td class="parameter_name"><p>invocation</p></td>
1914 <td class="parameter_description"><p>A <span class="type">GDBusMethodInvocation</span>.</p></td>
1915 <td class="parameter_annotations"> </td>
1916 </tr>
1917 <tr>
1918 <td class="parameter_name"><p>arg_options</p></td>
1919 <td class="parameter_description"><p>Argument passed by remote caller.</p></td>
1920 <td class="parameter_annotations"> </td>
1921 </tr>
1922 <tr>
1923 <td class="parameter_name"><p>user_data</p></td>
1924 <td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
1925 <td class="parameter_annotations"> </td>
1926 </tr>
1927 </tbody>
1928 </table></div>
1929 </div>
1930 <div class="refsect3">
1931 <a name="UDisksSwapspace-handle-stop.returns"></a><h4>Returns</h4>
1932 <p> <code class="literal">G_DBUS_METHOD_INVOCATION_HANDLED</code> or <code class="literal">TRUE</code> if the invocation was handled, <code class="literal">G_DBUS_METHOD_INVOCATION_UNHANDLED</code> or <code class="literal">FALSE</code> to let other signal handlers run.</p>
1933 </div>
1934 <p>Flags: Run Last</p>
1935 </div>
1936 </div>
1937 </div>
1938 <div class="footer">
1939 <hr>Generated by GTK-Doc V1.35.1</div>
1940 </body>
1941 </html>