Debian Codegraph @

doc/html/UDisksManager.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>UDisksManager: 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="UDisksObjectManagerClient.html" title="UDisksObjectManagerClient">
10 <link rel="next" href="UDisksDrive.html" title="UDisksDrive">
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="#UDisksManager.description" class="shortcut">Description</a></span><span id="nav_hierarchy">  <span class="dim">|</span> 
19 <a href="#UDisksManager.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_interfaces">  <span class="dim">|</span> 
20 <a href="#UDisksManager.implemented-interfaces" class="shortcut">Implemented Interfaces</a></span><span id="nav_prerequisites">  <span class="dim">|</span> 
21 <a href="#UDisksManager.prerequisites" class="shortcut">Prerequisites</a></span><span id="nav_implementations">  <span class="dim">|</span> 
22 <a href="#UDisksManager.implementations" class="shortcut">Known Implementations</a></span><span id="nav_properties">  <span class="dim">|</span> 
23 <a href="#UDisksManager.properties" class="shortcut">Properties</a></span><span id="nav_signals">  <span class="dim">|</span> 
24 <a href="#UDisksManager.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="UDisksObjectManagerClient.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
29 <td><a accesskey="n" href="UDisksDrive.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="UDisksManager"></a><div class="titlepage"></div>
33 <div class="refnamediv"><table width="100%"><tr>
34 <td valign="top">
35 <h2><span class="refentrytitle"><a name="UDisksManager.top_of_page"></a>UDisksManager</span></h2>
36 <p>UDisksManager — Generated C code for the org.freedesktop.UDisks2.Manager 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="UDisksManager.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">void</span>
51 </td>
52 <td class="function_name">
53 <a class="link" href="UDisksManager.html#udisks-manager-proxy-new" title="udisks_manager_proxy_new ()">udisks_manager_proxy_new</a> <span class="c_punctuation">()</span>
54 </td>
55 </tr>
56 <tr>
57 <td class="function_type">
58 <a class="link" href="UDisksManager.html" title="UDisksManager"><span class="returnvalue">UDisksManager</span></a> *
59 </td>
60 <td class="function_name">
61 <a class="link" href="UDisksManager.html#udisks-manager-proxy-new-finish" title="udisks_manager_proxy_new_finish ()">udisks_manager_proxy_new_finish</a> <span class="c_punctuation">()</span>
62 </td>
63 </tr>
64 <tr>
65 <td class="function_type">
66 <a class="link" href="UDisksManager.html" title="UDisksManager"><span class="returnvalue">UDisksManager</span></a> *
67 </td>
68 <td class="function_name">
69 <a class="link" href="UDisksManager.html#udisks-manager-proxy-new-sync" title="udisks_manager_proxy_new_sync ()">udisks_manager_proxy_new_sync</a> <span class="c_punctuation">()</span>
70 </td>
71 </tr>
72 <tr>
73 <td class="function_type">
74 <span class="returnvalue">void</span>
75 </td>
76 <td class="function_name">
77 <a class="link" href="UDisksManager.html#udisks-manager-proxy-new-for-bus" title="udisks_manager_proxy_new_for_bus ()">udisks_manager_proxy_new_for_bus</a> <span class="c_punctuation">()</span>
78 </td>
79 </tr>
80 <tr>
81 <td class="function_type">
82 <a class="link" href="UDisksManager.html" title="UDisksManager"><span class="returnvalue">UDisksManager</span></a> *
83 </td>
84 <td class="function_name">
85 <a class="link" href="UDisksManager.html#udisks-manager-proxy-new-for-bus-finish" title="udisks_manager_proxy_new_for_bus_finish ()">udisks_manager_proxy_new_for_bus_finish</a> <span class="c_punctuation">()</span>
86 </td>
87 </tr>
88 <tr>
89 <td class="function_type">
90 <a class="link" href="UDisksManager.html" title="UDisksManager"><span class="returnvalue">UDisksManager</span></a> *
91 </td>
92 <td class="function_name">
93 <a class="link" href="UDisksManager.html#udisks-manager-proxy-new-for-bus-sync" title="udisks_manager_proxy_new_for_bus_sync ()">udisks_manager_proxy_new_for_bus_sync</a> <span class="c_punctuation">()</span>
94 </td>
95 </tr>
96 <tr>
97 <td class="function_type">
98 <span class="returnvalue">GDBusInterfaceInfo</span> *
99 </td>
100 <td class="function_name">
101 <a class="link" href="UDisksManager.html#udisks-manager-interface-info" title="udisks_manager_interface_info ()">udisks_manager_interface_info</a> <span class="c_punctuation">()</span>
102 </td>
103 </tr>
104 <tr>
105 <td class="function_type">
106 <span class="returnvalue">guint</span>
107 </td>
108 <td class="function_name">
109 <a class="link" href="UDisksManager.html#udisks-manager-override-properties" title="udisks_manager_override_properties ()">udisks_manager_override_properties</a> <span class="c_punctuation">()</span>
110 </td>
111 </tr>
112 <tr>
113 <td class="function_type">const <span class="returnvalue">gchar</span> *
114 </td>
115 <td class="function_name">
116 <a class="link" href="UDisksManager.html#udisks-manager-get-version" title="udisks_manager_get_version ()">udisks_manager_get_version</a> <span class="c_punctuation">()</span>
117 </td>
118 </tr>
119 <tr>
120 <td class="function_type">
121 <span class="returnvalue">gchar</span> *
122 </td>
123 <td class="function_name">
124 <a class="link" href="UDisksManager.html#udisks-manager-dup-version" title="udisks_manager_dup_version ()">udisks_manager_dup_version</a> <span class="c_punctuation">()</span>
125 </td>
126 </tr>
127 <tr>
128 <td class="function_type">
129 <span class="returnvalue">void</span>
130 </td>
131 <td class="function_name">
132 <a class="link" href="UDisksManager.html#udisks-manager-set-version" title="udisks_manager_set_version ()">udisks_manager_set_version</a> <span class="c_punctuation">()</span>
133 </td>
134 </tr>
135 <tr>
136 <td class="function_type">
137 <span class="returnvalue">void</span>
138 </td>
139 <td class="function_name">
140 <a class="link" href="UDisksManager.html#udisks-manager-call-enable-module" title="udisks_manager_call_enable_module ()">udisks_manager_call_enable_module</a> <span class="c_punctuation">()</span>
141 </td>
142 </tr>
143 <tr>
144 <td class="function_type">
145 <span class="returnvalue">gboolean</span>
146 </td>
147 <td class="function_name">
148 <a class="link" href="UDisksManager.html#udisks-manager-call-enable-module-finish" title="udisks_manager_call_enable_module_finish ()">udisks_manager_call_enable_module_finish</a> <span class="c_punctuation">()</span>
149 </td>
150 </tr>
151 <tr>
152 <td class="function_type">
153 <span class="returnvalue">gboolean</span>
154 </td>
155 <td class="function_name">
156 <a class="link" href="UDisksManager.html#udisks-manager-call-enable-module-sync" title="udisks_manager_call_enable_module_sync ()">udisks_manager_call_enable_module_sync</a> <span class="c_punctuation">()</span>
157 </td>
158 </tr>
159 <tr>
160 <td class="function_type">
161 <span class="returnvalue">void</span>
162 </td>
163 <td class="function_name">
164 <a class="link" href="UDisksManager.html#udisks-manager-complete-enable-module" title="udisks_manager_complete_enable_module ()">udisks_manager_complete_enable_module</a> <span class="c_punctuation">()</span>
165 </td>
166 </tr>
167 <tr>
168 <td class="function_type">
169 <span class="returnvalue">void</span>
170 </td>
171 <td class="function_name">
172 <a class="link" href="UDisksManager.html#udisks-manager-call-can-format" title="udisks_manager_call_can_format ()">udisks_manager_call_can_format</a> <span class="c_punctuation">()</span>
173 </td>
174 </tr>
175 <tr>
176 <td class="function_type">
177 <span class="returnvalue">gboolean</span>
178 </td>
179 <td class="function_name">
180 <a class="link" href="UDisksManager.html#udisks-manager-call-can-format-finish" title="udisks_manager_call_can_format_finish ()">udisks_manager_call_can_format_finish</a> <span class="c_punctuation">()</span>
181 </td>
182 </tr>
183 <tr>
184 <td class="function_type">
185 <span class="returnvalue">gboolean</span>
186 </td>
187 <td class="function_name">
188 <a class="link" href="UDisksManager.html#udisks-manager-call-can-format-sync" title="udisks_manager_call_can_format_sync ()">udisks_manager_call_can_format_sync</a> <span class="c_punctuation">()</span>
189 </td>
190 </tr>
191 <tr>
192 <td class="function_type">
193 <span class="returnvalue">void</span>
194 </td>
195 <td class="function_name">
196 <a class="link" href="UDisksManager.html#udisks-manager-complete-can-format" title="udisks_manager_complete_can_format ()">udisks_manager_complete_can_format</a> <span class="c_punctuation">()</span>
197 </td>
198 </tr>
199 <tr>
200 <td class="function_type">
201 <span class="returnvalue">void</span>
202 </td>
203 <td class="function_name">
204 <a class="link" href="UDisksManager.html#udisks-manager-call-get-block-devices" title="udisks_manager_call_get_block_devices ()">udisks_manager_call_get_block_devices</a> <span class="c_punctuation">()</span>
205 </td>
206 </tr>
207 <tr>
208 <td class="function_type">
209 <span class="returnvalue">gboolean</span>
210 </td>
211 <td class="function_name">
212 <a class="link" href="UDisksManager.html#udisks-manager-call-get-block-devices-finish" title="udisks_manager_call_get_block_devices_finish ()">udisks_manager_call_get_block_devices_finish</a> <span class="c_punctuation">()</span>
213 </td>
214 </tr>
215 <tr>
216 <td class="function_type">
217 <span class="returnvalue">gboolean</span>
218 </td>
219 <td class="function_name">
220 <a class="link" href="UDisksManager.html#udisks-manager-call-get-block-devices-sync" title="udisks_manager_call_get_block_devices_sync ()">udisks_manager_call_get_block_devices_sync</a> <span class="c_punctuation">()</span>
221 </td>
222 </tr>
223 <tr>
224 <td class="function_type">
225 <span class="returnvalue">void</span>
226 </td>
227 <td class="function_name">
228 <a class="link" href="UDisksManager.html#udisks-manager-complete-get-block-devices" title="udisks_manager_complete_get_block_devices ()">udisks_manager_complete_get_block_devices</a> <span class="c_punctuation">()</span>
229 </td>
230 </tr>
231 <tr>
232 <td class="function_type">
233 <span class="returnvalue">void</span>
234 </td>
235 <td class="function_name">
236 <a class="link" href="UDisksManager.html#udisks-manager-call-get-drives" title="udisks_manager_call_get_drives ()">udisks_manager_call_get_drives</a> <span class="c_punctuation">()</span>
237 </td>
238 </tr>
239 <tr>
240 <td class="function_type">
241 <span class="returnvalue">gboolean</span>
242 </td>
243 <td class="function_name">
244 <a class="link" href="UDisksManager.html#udisks-manager-call-get-drives-finish" title="udisks_manager_call_get_drives_finish ()">udisks_manager_call_get_drives_finish</a> <span class="c_punctuation">()</span>
245 </td>
246 </tr>
247 <tr>
248 <td class="function_type">
249 <span class="returnvalue">gboolean</span>
250 </td>
251 <td class="function_name">
252 <a class="link" href="UDisksManager.html#udisks-manager-call-get-drives-sync" title="udisks_manager_call_get_drives_sync ()">udisks_manager_call_get_drives_sync</a> <span class="c_punctuation">()</span>
253 </td>
254 </tr>
255 <tr>
256 <td class="function_type">
257 <span class="returnvalue">void</span>
258 </td>
259 <td class="function_name">
260 <a class="link" href="UDisksManager.html#udisks-manager-complete-get-drives" title="udisks_manager_complete_get_drives ()">udisks_manager_complete_get_drives</a> <span class="c_punctuation">()</span>
261 </td>
262 </tr>
263 <tr>
264 <td class="function_type">
265 <span class="returnvalue">void</span>
266 </td>
267 <td class="function_name">
268 <a class="link" href="UDisksManager.html#udisks-manager-call-can-resize" title="udisks_manager_call_can_resize ()">udisks_manager_call_can_resize</a> <span class="c_punctuation">()</span>
269 </td>
270 </tr>
271 <tr>
272 <td class="function_type">
273 <span class="returnvalue">gboolean</span>
274 </td>
275 <td class="function_name">
276 <a class="link" href="UDisksManager.html#udisks-manager-call-can-resize-finish" title="udisks_manager_call_can_resize_finish ()">udisks_manager_call_can_resize_finish</a> <span class="c_punctuation">()</span>
277 </td>
278 </tr>
279 <tr>
280 <td class="function_type">
281 <span class="returnvalue">gboolean</span>
282 </td>
283 <td class="function_name">
284 <a class="link" href="UDisksManager.html#udisks-manager-call-can-resize-sync" title="udisks_manager_call_can_resize_sync ()">udisks_manager_call_can_resize_sync</a> <span class="c_punctuation">()</span>
285 </td>
286 </tr>
287 <tr>
288 <td class="function_type">
289 <span class="returnvalue">void</span>
290 </td>
291 <td class="function_name">
292 <a class="link" href="UDisksManager.html#udisks-manager-complete-can-resize" title="udisks_manager_complete_can_resize ()">udisks_manager_complete_can_resize</a> <span class="c_punctuation">()</span>
293 </td>
294 </tr>
295 <tr>
296 <td class="function_type">
297 <span class="returnvalue">void</span>
298 </td>
299 <td class="function_name">
300 <a class="link" href="UDisksManager.html#udisks-manager-call-can-check" title="udisks_manager_call_can_check ()">udisks_manager_call_can_check</a> <span class="c_punctuation">()</span>
301 </td>
302 </tr>
303 <tr>
304 <td class="function_type">
305 <span class="returnvalue">gboolean</span>
306 </td>
307 <td class="function_name">
308 <a class="link" href="UDisksManager.html#udisks-manager-call-can-check-finish" title="udisks_manager_call_can_check_finish ()">udisks_manager_call_can_check_finish</a> <span class="c_punctuation">()</span>
309 </td>
310 </tr>
311 <tr>
312 <td class="function_type">
313 <span class="returnvalue">gboolean</span>
314 </td>
315 <td class="function_name">
316 <a class="link" href="UDisksManager.html#udisks-manager-call-can-check-sync" title="udisks_manager_call_can_check_sync ()">udisks_manager_call_can_check_sync</a> <span class="c_punctuation">()</span>
317 </td>
318 </tr>
319 <tr>
320 <td class="function_type">
321 <span class="returnvalue">void</span>
322 </td>
323 <td class="function_name">
324 <a class="link" href="UDisksManager.html#udisks-manager-complete-can-check" title="udisks_manager_complete_can_check ()">udisks_manager_complete_can_check</a> <span class="c_punctuation">()</span>
325 </td>
326 </tr>
327 <tr>
328 <td class="function_type">
329 <span class="returnvalue">void</span>
330 </td>
331 <td class="function_name">
332 <a class="link" href="UDisksManager.html#udisks-manager-call-can-repair" title="udisks_manager_call_can_repair ()">udisks_manager_call_can_repair</a> <span class="c_punctuation">()</span>
333 </td>
334 </tr>
335 <tr>
336 <td class="function_type">
337 <span class="returnvalue">gboolean</span>
338 </td>
339 <td class="function_name">
340 <a class="link" href="UDisksManager.html#udisks-manager-call-can-repair-finish" title="udisks_manager_call_can_repair_finish ()">udisks_manager_call_can_repair_finish</a> <span class="c_punctuation">()</span>
341 </td>
342 </tr>
343 <tr>
344 <td class="function_type">
345 <span class="returnvalue">gboolean</span>
346 </td>
347 <td class="function_name">
348 <a class="link" href="UDisksManager.html#udisks-manager-call-can-repair-sync" title="udisks_manager_call_can_repair_sync ()">udisks_manager_call_can_repair_sync</a> <span class="c_punctuation">()</span>
349 </td>
350 </tr>
351 <tr>
352 <td class="function_type">
353 <span class="returnvalue">void</span>
354 </td>
355 <td class="function_name">
356 <a class="link" href="UDisksManager.html#udisks-manager-complete-can-repair" title="udisks_manager_complete_can_repair ()">udisks_manager_complete_can_repair</a> <span class="c_punctuation">()</span>
357 </td>
358 </tr>
359 <tr>
360 <td class="function_type">
361 <span class="returnvalue">void</span>
362 </td>
363 <td class="function_name">
364 <a class="link" href="UDisksManager.html#udisks-manager-call-loop-setup" title="udisks_manager_call_loop_setup ()">udisks_manager_call_loop_setup</a> <span class="c_punctuation">()</span>
365 </td>
366 </tr>
367 <tr>
368 <td class="function_type">
369 <span class="returnvalue">gboolean</span>
370 </td>
371 <td class="function_name">
372 <a class="link" href="UDisksManager.html#udisks-manager-call-loop-setup-finish" title="udisks_manager_call_loop_setup_finish ()">udisks_manager_call_loop_setup_finish</a> <span class="c_punctuation">()</span>
373 </td>
374 </tr>
375 <tr>
376 <td class="function_type">
377 <span class="returnvalue">gboolean</span>
378 </td>
379 <td class="function_name">
380 <a class="link" href="UDisksManager.html#udisks-manager-call-loop-setup-sync" title="udisks_manager_call_loop_setup_sync ()">udisks_manager_call_loop_setup_sync</a> <span class="c_punctuation">()</span>
381 </td>
382 </tr>
383 <tr>
384 <td class="function_type">
385 <span class="returnvalue">void</span>
386 </td>
387 <td class="function_name">
388 <a class="link" href="UDisksManager.html#udisks-manager-complete-loop-setup" title="udisks_manager_complete_loop_setup ()">udisks_manager_complete_loop_setup</a> <span class="c_punctuation">()</span>
389 </td>
390 </tr>
391 <tr>
392 <td class="function_type">
393 <span class="returnvalue">void</span>
394 </td>
395 <td class="function_name">
396 <a class="link" href="UDisksManager.html#udisks-manager-call-mdraid-create" title="udisks_manager_call_mdraid_create ()">udisks_manager_call_mdraid_create</a> <span class="c_punctuation">()</span>
397 </td>
398 </tr>
399 <tr>
400 <td class="function_type">
401 <span class="returnvalue">gboolean</span>
402 </td>
403 <td class="function_name">
404 <a class="link" href="UDisksManager.html#udisks-manager-call-mdraid-create-finish" title="udisks_manager_call_mdraid_create_finish ()">udisks_manager_call_mdraid_create_finish</a> <span class="c_punctuation">()</span>
405 </td>
406 </tr>
407 <tr>
408 <td class="function_type">
409 <span class="returnvalue">gboolean</span>
410 </td>
411 <td class="function_name">
412 <a class="link" href="UDisksManager.html#udisks-manager-call-mdraid-create-sync" title="udisks_manager_call_mdraid_create_sync ()">udisks_manager_call_mdraid_create_sync</a> <span class="c_punctuation">()</span>
413 </td>
414 </tr>
415 <tr>
416 <td class="function_type">
417 <span class="returnvalue">void</span>
418 </td>
419 <td class="function_name">
420 <a class="link" href="UDisksManager.html#udisks-manager-complete-mdraid-create" title="udisks_manager_complete_mdraid_create ()">udisks_manager_complete_mdraid_create</a> <span class="c_punctuation">()</span>
421 </td>
422 </tr>
423 <tr>
424 <td class="function_type">
425 <span class="returnvalue">void</span>
426 </td>
427 <td class="function_name">
428 <a class="link" href="UDisksManager.html#udisks-manager-call-resolve-device" title="udisks_manager_call_resolve_device ()">udisks_manager_call_resolve_device</a> <span class="c_punctuation">()</span>
429 </td>
430 </tr>
431 <tr>
432 <td class="function_type">
433 <span class="returnvalue">gboolean</span>
434 </td>
435 <td class="function_name">
436 <a class="link" href="UDisksManager.html#udisks-manager-call-resolve-device-finish" title="udisks_manager_call_resolve_device_finish ()">udisks_manager_call_resolve_device_finish</a> <span class="c_punctuation">()</span>
437 </td>
438 </tr>
439 <tr>
440 <td class="function_type">
441 <span class="returnvalue">gboolean</span>
442 </td>
443 <td class="function_name">
444 <a class="link" href="UDisksManager.html#udisks-manager-call-resolve-device-sync" title="udisks_manager_call_resolve_device_sync ()">udisks_manager_call_resolve_device_sync</a> <span class="c_punctuation">()</span>
445 </td>
446 </tr>
447 <tr>
448 <td class="function_type">
449 <span class="returnvalue">void</span>
450 </td>
451 <td class="function_name">
452 <a class="link" href="UDisksManager.html#udisks-manager-complete-resolve-device" title="udisks_manager_complete_resolve_device ()">udisks_manager_complete_resolve_device</a> <span class="c_punctuation">()</span>
453 </td>
454 </tr>
455 <tr>
456 <td class="function_type">
457 <a class="link" href="UDisksManager.html" title="UDisksManager"><span class="returnvalue">UDisksManager</span></a> *
458 </td>
459 <td class="function_name">
460 <a class="link" href="UDisksManager.html#udisks-manager-skeleton-new" title="udisks_manager_skeleton_new ()">udisks_manager_skeleton_new</a> <span class="c_punctuation">()</span>
461 </td>
462 </tr>
463 </tbody>
464 </table></div>
465 </div>
466 <div class="refsect1">
467 <a name="UDisksManager.properties"></a><h2>Properties</h2>
468 <div class="informaltable"><table class="informaltable" border="0">
469 <colgroup>
470 <col width="150px" class="properties_type">
471 <col width="300px" class="properties_name">
472 <col width="200px" class="properties_flags">
473 </colgroup>
474 <tbody>
475 <tr>
476 <td class="property_type">
477 <span class="type">char</span> *</td>
478 <td class="property_name"><a class="link" href="UDisksManager.html#UDisksManager--default-encryption-type" title="The “default-encryption-type” property">default-encryption-type</a></td>
479 <td class="property_flags">Read / Write</td>
480 </tr>
481 <tr>
482 <td class="property_type"><span class="type">GStrv</span></td>
483 <td class="property_name"><a class="link" href="UDisksManager.html#UDisksManager--supported-encryption-types" title="The “supported-encryption-types” property">supported-encryption-types</a></td>
484 <td class="property_flags">Read / Write</td>
485 </tr>
486 <tr>
487 <td class="property_type"><span class="type">GStrv</span></td>
488 <td class="property_name"><a class="link" href="UDisksManager.html#UDisksManager--supported-filesystems" title="The “supported-filesystems” property">supported-filesystems</a></td>
489 <td class="property_flags">Read / Write</td>
490 </tr>
491 <tr>
492 <td class="property_type">
493 <span class="type">char</span> *</td>
494 <td class="property_name"><a class="link" href="UDisksManager.html#UDisksManager--version" title="The “version” property">version</a></td>
495 <td class="property_flags">Read / Write</td>
496 </tr>
497 </tbody>
498 </table></div>
499 </div>
500 <div class="refsect1">
501 <a name="UDisksManager.signals"></a><h2>Signals</h2>
502 <div class="informaltable"><table class="informaltable" border="0">
503 <colgroup>
504 <col width="150px" class="signal_proto_type">
505 <col width="300px" class="signal_proto_name">
506 <col width="200px" class="signal_proto_flags">
507 </colgroup>
508 <tbody>
509 <tr>
510 <td class="signal_type"><span class="returnvalue">gboolean</span></td>
511 <td class="signal_name"><a class="link" href="UDisksManager.html#UDisksManager-handle-can-check" title="The “handle-can-check” signal">handle-can-check</a></td>
512 <td class="signal_flags">Run Last</td>
513 </tr>
514 <tr>
515 <td class="signal_type"><span class="returnvalue">gboolean</span></td>
516 <td class="signal_name"><a class="link" href="UDisksManager.html#UDisksManager-handle-can-format" title="The “handle-can-format” signal">handle-can-format</a></td>
517 <td class="signal_flags">Run Last</td>
518 </tr>
519 <tr>
520 <td class="signal_type"><span class="returnvalue">gboolean</span></td>
521 <td class="signal_name"><a class="link" href="UDisksManager.html#UDisksManager-handle-can-repair" title="The “handle-can-repair” signal">handle-can-repair</a></td>
522 <td class="signal_flags">Run Last</td>
523 </tr>
524 <tr>
525 <td class="signal_type"><span class="returnvalue">gboolean</span></td>
526 <td class="signal_name"><a class="link" href="UDisksManager.html#UDisksManager-handle-can-resize" title="The “handle-can-resize” signal">handle-can-resize</a></td>
527 <td class="signal_flags">Run Last</td>
528 </tr>
529 <tr>
530 <td class="signal_type"><span class="returnvalue">gboolean</span></td>
531 <td class="signal_name"><a class="link" href="UDisksManager.html#UDisksManager-handle-enable-module" title="The “handle-enable-module” signal">handle-enable-module</a></td>
532 <td class="signal_flags">Run Last</td>
533 </tr>
534 <tr>
535 <td class="signal_type"><span class="returnvalue">gboolean</span></td>
536 <td class="signal_name"><a class="link" href="UDisksManager.html#UDisksManager-handle-enable-modules" title="The “handle-enable-modules” signal">handle-enable-modules</a></td>
537 <td class="signal_flags">Run Last</td>
538 </tr>
539 <tr>
540 <td class="signal_type"><span class="returnvalue">gboolean</span></td>
541 <td class="signal_name"><a class="link" href="UDisksManager.html#UDisksManager-handle-get-block-devices" title="The “handle-get-block-devices” signal">handle-get-block-devices</a></td>
542 <td class="signal_flags">Run Last</td>
543 </tr>
544 <tr>
545 <td class="signal_type"><span class="returnvalue">gboolean</span></td>
546 <td class="signal_name"><a class="link" href="UDisksManager.html#UDisksManager-handle-get-drives" title="The “handle-get-drives” signal">handle-get-drives</a></td>
547 <td class="signal_flags">Run Last</td>
548 </tr>
549 <tr>
550 <td class="signal_type"><span class="returnvalue">gboolean</span></td>
551 <td class="signal_name"><a class="link" href="UDisksManager.html#UDisksManager-handle-loop-setup" title="The “handle-loop-setup” signal">handle-loop-setup</a></td>
552 <td class="signal_flags">Run Last</td>
553 </tr>
554 <tr>
555 <td class="signal_type"><span class="returnvalue">gboolean</span></td>
556 <td class="signal_name"><a class="link" href="UDisksManager.html#UDisksManager-handle-mdraid-create" title="The “handle-mdraid-create” signal">handle-mdraid-create</a></td>
557 <td class="signal_flags">Run Last</td>
558 </tr>
559 <tr>
560 <td class="signal_type"><span class="returnvalue">gboolean</span></td>
561 <td class="signal_name"><a class="link" href="UDisksManager.html#UDisksManager-handle-resolve-device" title="The “handle-resolve-device” signal">handle-resolve-device</a></td>
562 <td class="signal_flags">Run Last</td>
563 </tr>
564 </tbody>
565 </table></div>
566 </div>
567 <a name="UDisksManagerProxy"></a><a name="UDisksManagerSkeleton"></a><div class="refsect1">
568 <a name="UDisksManager.other"></a><h2>Types and Values</h2>
569 <div class="informaltable"><table class="informaltable" width="100%" border="0">
570 <colgroup>
571 <col width="150px" class="other_proto_type">
572 <col class="other_proto_name">
573 </colgroup>
574 <tbody>
575 <tr>
576 <td class="datatype_keyword"> </td>
577 <td class="function_name"><a class="link" href="UDisksManager.html#UDisksManager-struct" title="UDisksManager">UDisksManager</a></td>
578 </tr>
579 <tr>
580 <td class="datatype_keyword">struct</td>
581 <td class="function_name"><a class="link" href="UDisksManager.html#UDisksManagerIface" title="struct UDisksManagerIface">UDisksManagerIface</a></td>
582 </tr>
583 <tr>
584 <td class="datatype_keyword">struct</td>
585 <td class="function_name"><a class="link" href="UDisksManager.html#UDisksManagerProxy-struct" title="struct UDisksManagerProxy">UDisksManagerProxy</a></td>
586 </tr>
587 <tr>
588 <td class="datatype_keyword">struct</td>
589 <td class="function_name"><a class="link" href="UDisksManager.html#UDisksManagerProxyClass" title="struct UDisksManagerProxyClass">UDisksManagerProxyClass</a></td>
590 </tr>
591 <tr>
592 <td class="datatype_keyword">struct</td>
593 <td class="function_name"><a class="link" href="UDisksManager.html#UDisksManagerSkeleton-struct" title="struct UDisksManagerSkeleton">UDisksManagerSkeleton</a></td>
594 </tr>
595 <tr>
596 <td class="datatype_keyword">struct</td>
597 <td class="function_name"><a class="link" href="UDisksManager.html#UDisksManagerSkeletonClass" title="struct UDisksManagerSkeletonClass">UDisksManagerSkeletonClass</a></td>
598 </tr>
599 </tbody>
600 </table></div>
601 </div>
602 <div class="refsect1">
603 <a name="UDisksManager.object-hierarchy"></a><h2>Object Hierarchy</h2>
604 <pre class="screen"> <a href="/usr/share/gtk-doc/html/gobject/GTypeModule.html">GInterface</a>
605 <span class="lineart">╰──</span> UDisksManager
606 GObject
607 <span class="lineart">├──</span> GDBusInterfaceSkeleton
608 <span class="lineart">│</span> <span class="lineart">╰──</span> UDisksManagerSkeleton
609 <span class="lineart">│</span> <span class="lineart">╰──</span> <a class="link" href="UDisksLinuxManager.html" title="UDisksLinuxManager">UDisksLinuxManager</a>
610 <span class="lineart">╰──</span> GDBusProxy
611 <span class="lineart">╰──</span> UDisksManagerProxy
612 </pre>
613 </div>
614 <div class="refsect1">
615 <a name="UDisksManager.prerequisites"></a><h2>Prerequisites</h2>
616 <p>
617 UDisksManager requires
618 GObject.</p>
619 </div>
620 <div class="refsect1">
621 <a name="UDisksManager.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
622 <p>
623 UDisksManagerProxy implements
624 GDBusInterface, GInitable, GAsyncInitable and <a class="link" href="UDisksManager.html" title="UDisksManager">UDisksManager</a>.</p>
625 <p>
626 UDisksManagerSkeleton implements
627 GDBusInterface and <a class="link" href="UDisksManager.html" title="UDisksManager">UDisksManager</a>.</p>
628 </div>
629 <div class="refsect1">
630 <a name="UDisksManager.implementations"></a><h2>Known Implementations</h2>
631 <p>
632 UDisksManager is implemented by
633 <a class="link" href="UDisksLinuxManager.html" title="UDisksLinuxManager">UDisksLinuxManager</a>, <a class="link" href="UDisksManager.html#UDisksManagerProxy">UDisksManagerProxy</a> and <a class="link" href="UDisksManager.html#UDisksManagerSkeleton">UDisksManagerSkeleton</a>.</p>
634 </div>
635 <div class="refsect1">
636 <a name="UDisksManager.description"></a><h2>Description</h2>
637 <p>This section contains code for working with the <a class="link" href="gdbus-org.freedesktop.UDisks2.Manager.html#gdbus-interface-org-freedesktop-UDisks2-Manager.top_of_page">org.freedesktop.UDisks2.Manager</a> D-Bus interface in C.</p>
638 </div>
639 <div class="refsect1">
640 <a name="UDisksManager.functions_details"></a><h2>Functions</h2>
641 <div class="refsect2">
642 <a name="udisks-manager-proxy-new"></a><h3>udisks_manager_proxy_new ()</h3>
643 <pre class="programlisting"><span class="returnvalue">void</span>
644 udisks_manager_proxy_new (<em class="parameter"><code><span class="type">GDBusConnection</span> *connection</code></em>,
645 <em class="parameter"><code><span class="type">GDBusProxyFlags</span> flags</code></em>,
646 <em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>,
647 <em class="parameter"><code>const <span class="type">gchar</span> *object_path</code></em>,
648 <em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>,
649 <em class="parameter"><code><span class="type">GAsyncReadyCallback</span> callback</code></em>,
650 <em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);</pre>
651 <p>Asynchronously creates a proxy for the D-Bus interface <a class="link" href="gdbus-org.freedesktop.UDisks2.Manager.html#gdbus-interface-org-freedesktop-UDisks2-Manager.top_of_page">org.freedesktop.UDisks2.Manager</a>. See <code class="function">g_dbus_proxy_new()</code> for more details.</p>
652 <p>When the operation is finished, <em class="parameter"><code>callback</code></em>
653 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>).
654 You can then call <a class="link" href="UDisksManager.html#udisks-manager-proxy-new-finish" title="udisks_manager_proxy_new_finish ()"><code class="function">udisks_manager_proxy_new_finish()</code></a> to get the result of the operation.</p>
655 <p>See <a class="link" href="UDisksManager.html#udisks-manager-proxy-new-sync" title="udisks_manager_proxy_new_sync ()"><code class="function">udisks_manager_proxy_new_sync()</code></a> for the synchronous, blocking version of this constructor.</p>
656 <div class="refsect3">
657 <a name="udisks-manager-proxy-new.parameters"></a><h4>Parameters</h4>
658 <div class="informaltable"><table class="informaltable" width="100%" border="0">
659 <colgroup>
660 <col width="150px" class="parameters_name">
661 <col class="parameters_description">
662 <col width="200px" class="parameters_annotations">
663 </colgroup>
664 <tbody>
665 <tr>
666 <td class="parameter_name"><p>connection</p></td>
667 <td class="parameter_description"><p>A <span class="type">GDBusConnection</span>.</p></td>
668 <td class="parameter_annotations"> </td>
669 </tr>
670 <tr>
671 <td class="parameter_name"><p>flags</p></td>
672 <td class="parameter_description"><p>Flags from the <span class="type">GDBusProxyFlags</span> enumeration.</p></td>
673 <td class="parameter_annotations"> </td>
674 </tr>
675 <tr>
676 <td class="parameter_name"><p>name</p></td>
677 <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>
678 is not a message bus connection. </p></td>
679 <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>
680 </tr>
681 <tr>
682 <td class="parameter_name"><p>object_path</p></td>
683 <td class="parameter_description"><p>An object path.</p></td>
684 <td class="parameter_annotations"> </td>
685 </tr>
686 <tr>
687 <td class="parameter_name"><p>cancellable</p></td>
688 <td class="parameter_description"><p>A <span class="type">GCancellable</span> or <code class="literal">NULL</code>. </p></td>
689 <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>
690 </tr>
691 <tr>
692 <td class="parameter_name"><p>callback</p></td>
693 <td class="parameter_description"><p>A <span class="type">GAsyncReadyCallback</span> to call when the request is satisfied.</p></td>
694 <td class="parameter_annotations"> </td>
695 </tr>
696 <tr>
697 <td class="parameter_name"><p>user_data</p></td>
698 <td class="parameter_description"><p>User data to pass to <em class="parameter"><code>callback</code></em>
699 .</p></td>
700 <td class="parameter_annotations"> </td>
701 </tr>
702 </tbody>
703 </table></div>
704 </div>
705 </div>
706 <hr>
707 <div class="refsect2">
708 <a name="udisks-manager-proxy-new-finish"></a><h3>udisks_manager_proxy_new_finish ()</h3>
709 <pre class="programlisting"><a class="link" href="UDisksManager.html" title="UDisksManager"><span class="returnvalue">UDisksManager</span></a> *
710 udisks_manager_proxy_new_finish (<em class="parameter"><code><span class="type">GAsyncResult</span> *res</code></em>,
711 <em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
712 <p>Finishes an operation started with <a class="link" href="UDisksManager.html#udisks-manager-proxy-new" title="udisks_manager_proxy_new ()"><code class="function">udisks_manager_proxy_new()</code></a>.</p>
713 <div class="refsect3">
714 <a name="udisks-manager-proxy-new-finish.parameters"></a><h4>Parameters</h4>
715 <div class="informaltable"><table class="informaltable" width="100%" border="0">
716 <colgroup>
717 <col width="150px" class="parameters_name">
718 <col class="parameters_description">
719 <col width="200px" class="parameters_annotations">
720 </colgroup>
721 <tbody>
722 <tr>
723 <td class="parameter_name"><p>res</p></td>
724 <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="UDisksManager.html#udisks-manager-proxy-new" title="udisks_manager_proxy_new ()"><code class="function">udisks_manager_proxy_new()</code></a>.</p></td>
725 <td class="parameter_annotations"> </td>
726 </tr>
727 <tr>
728 <td class="parameter_name"><p>error</p></td>
729 <td class="parameter_description"><p>Return location for error or <code class="literal">NULL</code></p></td>
730 <td class="parameter_annotations"> </td>
731 </tr>
732 </tbody>
733 </table></div>
734 </div>
735 <div class="refsect3">
736 <a name="udisks-manager-proxy-new-finish.returns"></a><h4>Returns</h4>
737 <p>The constructed proxy object or <code class="literal">NULL</code> if <em class="parameter"><code>error</code></em>
738 is set. </p>
739 <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> UDisksManagerProxy]</span></p>
740 </div>
741 </div>
742 <hr>
743 <div class="refsect2">
744 <a name="udisks-manager-proxy-new-sync"></a><h3>udisks_manager_proxy_new_sync ()</h3>
745 <pre class="programlisting"><a class="link" href="UDisksManager.html" title="UDisksManager"><span class="returnvalue">UDisksManager</span></a> *
746 udisks_manager_proxy_new_sync (<em class="parameter"><code><span class="type">GDBusConnection</span> *connection</code></em>,
747 <em class="parameter"><code><span class="type">GDBusProxyFlags</span> flags</code></em>,
748 <em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>,
749 <em class="parameter"><code>const <span class="type">gchar</span> *object_path</code></em>,
750 <em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>,
751 <em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
752 <p>Synchronously creates a proxy for the D-Bus interface <a class="link" href="gdbus-org.freedesktop.UDisks2.Manager.html#gdbus-interface-org-freedesktop-UDisks2-Manager.top_of_page">org.freedesktop.UDisks2.Manager</a>. See <code class="function">g_dbus_proxy_new_sync()</code> for more details.</p>
753 <p>The calling thread is blocked until a reply is received.</p>
754 <p>See <a class="link" href="UDisksManager.html#udisks-manager-proxy-new" title="udisks_manager_proxy_new ()"><code class="function">udisks_manager_proxy_new()</code></a> for the asynchronous version of this constructor.</p>
755 <div class="refsect3">
756 <a name="udisks-manager-proxy-new-sync.parameters"></a><h4>Parameters</h4>
757 <div class="informaltable"><table class="informaltable" width="100%" border="0">
758 <colgroup>
759 <col width="150px" class="parameters_name">
760 <col class="parameters_description">
761 <col width="200px" class="parameters_annotations">
762 </colgroup>
763 <tbody>
764 <tr>
765 <td class="parameter_name"><p>connection</p></td>
766 <td class="parameter_description"><p>A <span class="type">GDBusConnection</span>.</p></td>
767 <td class="parameter_annotations"> </td>
768 </tr>
769 <tr>
770 <td class="parameter_name"><p>flags</p></td>
771 <td class="parameter_description"><p>Flags from the <span class="type">GDBusProxyFlags</span> enumeration.</p></td>
772 <td class="parameter_annotations"> </td>
773 </tr>
774 <tr>
775 <td class="parameter_name"><p>name</p></td>
776 <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>
777 is not a message bus connection. </p></td>
778 <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>
779 </tr>
780 <tr>
781 <td class="parameter_name"><p>object_path</p></td>
782 <td class="parameter_description"><p>An object path.</p></td>
783 <td class="parameter_annotations"> </td>
784 </tr>
785 <tr>
786 <td class="parameter_name"><p>cancellable</p></td>
787 <td class="parameter_description"><p>A <span class="type">GCancellable</span> or <code class="literal">NULL</code>. </p></td>
788 <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>
789 </tr>
790 <tr>
791 <td class="parameter_name"><p>error</p></td>
792 <td class="parameter_description"><p>Return location for error or <code class="literal">NULL</code></p></td>
793 <td class="parameter_annotations"> </td>
794 </tr>
795 </tbody>
796 </table></div>
797 </div>
798 <div class="refsect3">
799 <a name="udisks-manager-proxy-new-sync.returns"></a><h4>Returns</h4>
800 <p>The constructed proxy object or <code class="literal">NULL</code> if <em class="parameter"><code>error</code></em>
801 is set. </p>
802 <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> UDisksManagerProxy]</span></p>
803 </div>
804 </div>
805 <hr>
806 <div class="refsect2">
807 <a name="udisks-manager-proxy-new-for-bus"></a><h3>udisks_manager_proxy_new_for_bus ()</h3>
808 <pre class="programlisting"><span class="returnvalue">void</span>
809 udisks_manager_proxy_new_for_bus (<em class="parameter"><code><span class="type">GBusType</span> bus_type</code></em>,
810 <em class="parameter"><code><span class="type">GDBusProxyFlags</span> flags</code></em>,
811 <em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>,
812 <em class="parameter"><code>const <span class="type">gchar</span> *object_path</code></em>,
813 <em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>,
814 <em class="parameter"><code><span class="type">GAsyncReadyCallback</span> callback</code></em>,
815 <em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);</pre>
816 <p>Like <a class="link" href="UDisksManager.html#udisks-manager-proxy-new" title="udisks_manager_proxy_new ()"><code class="function">udisks_manager_proxy_new()</code></a> but takes a <span class="type">GBusType</span> instead of a <span class="type">GDBusConnection</span>.</p>
817 <p>When the operation is finished, <em class="parameter"><code>callback</code></em>
818 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>).
819 You can then call <a class="link" href="UDisksManager.html#udisks-manager-proxy-new-for-bus-finish" title="udisks_manager_proxy_new_for_bus_finish ()"><code class="function">udisks_manager_proxy_new_for_bus_finish()</code></a> to get the result of the operation.</p>
820 <p>See <a class="link" href="UDisksManager.html#udisks-manager-proxy-new-for-bus-sync" title="udisks_manager_proxy_new_for_bus_sync ()"><code class="function">udisks_manager_proxy_new_for_bus_sync()</code></a> for the synchronous, blocking version of this constructor.</p>
821 <div class="refsect3">
822 <a name="udisks-manager-proxy-new-for-bus.parameters"></a><h4>Parameters</h4>
823 <div class="informaltable"><table class="informaltable" width="100%" border="0">
824 <colgroup>
825 <col width="150px" class="parameters_name">
826 <col class="parameters_description">
827 <col width="200px" class="parameters_annotations">
828 </colgroup>
829 <tbody>
830 <tr>
831 <td class="parameter_name"><p>bus_type</p></td>
832 <td class="parameter_description"><p>A <span class="type">GBusType</span>.</p></td>
833 <td class="parameter_annotations"> </td>
834 </tr>
835 <tr>
836 <td class="parameter_name"><p>flags</p></td>
837 <td class="parameter_description"><p>Flags from the <span class="type">GDBusProxyFlags</span> enumeration.</p></td>
838 <td class="parameter_annotations"> </td>
839 </tr>
840 <tr>
841 <td class="parameter_name"><p>name</p></td>
842 <td class="parameter_description"><p>A bus name (well-known or unique).</p></td>
843 <td class="parameter_annotations"> </td>
844 </tr>
845 <tr>
846 <td class="parameter_name"><p>object_path</p></td>
847 <td class="parameter_description"><p>An object path.</p></td>
848 <td class="parameter_annotations"> </td>
849 </tr>
850 <tr>
851 <td class="parameter_name"><p>cancellable</p></td>
852 <td class="parameter_description"><p>A <span class="type">GCancellable</span> or <code class="literal">NULL</code>. </p></td>
853 <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>
854 </tr>
855 <tr>
856 <td class="parameter_name"><p>callback</p></td>
857 <td class="parameter_description"><p>A <span class="type">GAsyncReadyCallback</span> to call when the request is satisfied.</p></td>
858 <td class="parameter_annotations"> </td>
859 </tr>
860 <tr>
861 <td class="parameter_name"><p>user_data</p></td>
862 <td class="parameter_description"><p>User data to pass to <em class="parameter"><code>callback</code></em>
863 .</p></td>
864 <td class="parameter_annotations"> </td>
865 </tr>
866 </tbody>
867 </table></div>
868 </div>
869 </div>
870 <hr>
871 <div class="refsect2">
872 <a name="udisks-manager-proxy-new-for-bus-finish"></a><h3>udisks_manager_proxy_new_for_bus_finish ()</h3>
873 <pre class="programlisting"><a class="link" href="UDisksManager.html" title="UDisksManager"><span class="returnvalue">UDisksManager</span></a> *
874 udisks_manager_proxy_new_for_bus_finish
875 (<em class="parameter"><code><span class="type">GAsyncResult</span> *res</code></em>,
876 <em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
877 <p>Finishes an operation started with <a class="link" href="UDisksManager.html#udisks-manager-proxy-new-for-bus" title="udisks_manager_proxy_new_for_bus ()"><code class="function">udisks_manager_proxy_new_for_bus()</code></a>.</p>
878 <div class="refsect3">
879 <a name="udisks-manager-proxy-new-for-bus-finish.parameters"></a><h4>Parameters</h4>
880 <div class="informaltable"><table class="informaltable" width="100%" border="0">
881 <colgroup>
882 <col width="150px" class="parameters_name">
883 <col class="parameters_description">
884 <col width="200px" class="parameters_annotations">
885 </colgroup>
886 <tbody>
887 <tr>
888 <td class="parameter_name"><p>res</p></td>
889 <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="UDisksManager.html#udisks-manager-proxy-new-for-bus" title="udisks_manager_proxy_new_for_bus ()"><code class="function">udisks_manager_proxy_new_for_bus()</code></a>.</p></td>
890 <td class="parameter_annotations"> </td>
891 </tr>
892 <tr>
893 <td class="parameter_name"><p>error</p></td>
894 <td class="parameter_description"><p>Return location for error or <code class="literal">NULL</code></p></td>
895 <td class="parameter_annotations"> </td>
896 </tr>
897 </tbody>
898 </table></div>
899 </div>
900 <div class="refsect3">
901 <a name="udisks-manager-proxy-new-for-bus-finish.returns"></a><h4>Returns</h4>
902 <p>The constructed proxy object or <code class="literal">NULL</code> if <em class="parameter"><code>error</code></em>
903 is set. </p>
904 <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> UDisksManagerProxy]</span></p>
905 </div>
906 </div>
907 <hr>
908 <div class="refsect2">
909 <a name="udisks-manager-proxy-new-for-bus-sync"></a><h3>udisks_manager_proxy_new_for_bus_sync ()</h3>
910 <pre class="programlisting"><a class="link" href="UDisksManager.html" title="UDisksManager"><span class="returnvalue">UDisksManager</span></a> *
911 udisks_manager_proxy_new_for_bus_sync (<em class="parameter"><code><span class="type">GBusType</span> bus_type</code></em>,
912 <em class="parameter"><code><span class="type">GDBusProxyFlags</span> flags</code></em>,
913 <em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>,
914 <em class="parameter"><code>const <span class="type">gchar</span> *object_path</code></em>,
915 <em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>,
916 <em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
917 <p>Like <a class="link" href="UDisksManager.html#udisks-manager-proxy-new-sync" title="udisks_manager_proxy_new_sync ()"><code class="function">udisks_manager_proxy_new_sync()</code></a> but takes a <span class="type">GBusType</span> instead of a <span class="type">GDBusConnection</span>.</p>
918 <p>The calling thread is blocked until a reply is received.</p>
919 <p>See <a class="link" href="UDisksManager.html#udisks-manager-proxy-new-for-bus" title="udisks_manager_proxy_new_for_bus ()"><code class="function">udisks_manager_proxy_new_for_bus()</code></a> for the asynchronous version of this constructor.</p>
920 <div class="refsect3">
921 <a name="udisks-manager-proxy-new-for-bus-sync.parameters"></a><h4>Parameters</h4>
922 <div class="informaltable"><table class="informaltable" width="100%" border="0">
923 <colgroup>
924 <col width="150px" class="parameters_name">
925 <col class="parameters_description">
926 <col width="200px" class="parameters_annotations">
927 </colgroup>
928 <tbody>
929 <tr>
930 <td class="parameter_name"><p>bus_type</p></td>
931 <td class="parameter_description"><p>A <span class="type">GBusType</span>.</p></td>
932 <td class="parameter_annotations"> </td>
933 </tr>
934 <tr>
935 <td class="parameter_name"><p>flags</p></td>
936 <td class="parameter_description"><p>Flags from the <span class="type">GDBusProxyFlags</span> enumeration.</p></td>
937 <td class="parameter_annotations"> </td>
938 </tr>
939 <tr>
940 <td class="parameter_name"><p>name</p></td>
941 <td class="parameter_description"><p>A bus name (well-known or unique).</p></td>
942 <td class="parameter_annotations"> </td>
943 </tr>
944 <tr>
945 <td class="parameter_name"><p>object_path</p></td>
946 <td class="parameter_description"><p>An object path.</p></td>
947 <td class="parameter_annotations"> </td>
948 </tr>
949 <tr>
950 <td class="parameter_name"><p>cancellable</p></td>
951 <td class="parameter_description"><p>A <span class="type">GCancellable</span> or <code class="literal">NULL</code>. </p></td>
952 <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>
953 </tr>
954 <tr>
955 <td class="parameter_name"><p>error</p></td>
956 <td class="parameter_description"><p>Return location for error or <code class="literal">NULL</code></p></td>
957 <td class="parameter_annotations"> </td>
958 </tr>
959 </tbody>
960 </table></div>
961 </div>
962 <div class="refsect3">
963 <a name="udisks-manager-proxy-new-for-bus-sync.returns"></a><h4>Returns</h4>
964 <p>The constructed proxy object or <code class="literal">NULL</code> if <em class="parameter"><code>error</code></em>
965 is set. </p>
966 <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> UDisksManagerProxy]</span></p>
967 </div>
968 </div>
969 <hr>
970 <div class="refsect2">
971 <a name="udisks-manager-interface-info"></a><h3>udisks_manager_interface_info ()</h3>
972 <pre class="programlisting"><span class="returnvalue">GDBusInterfaceInfo</span> *
973 udisks_manager_interface_info (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
974 <p>Gets a machine-readable description of the <a class="link" href="gdbus-org.freedesktop.UDisks2.Manager.html#gdbus-interface-org-freedesktop-UDisks2-Manager.top_of_page">org.freedesktop.UDisks2.Manager</a> D-Bus interface.</p>
975 <div class="refsect3">
976 <a name="udisks-manager-interface-info.returns"></a><h4>Returns</h4>
977 <p>A <span class="type">GDBusInterfaceInfo</span>. Do not free. </p>
978 <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>
979 </div>
980 </div>
981 <hr>
982 <div class="refsect2">
983 <a name="udisks-manager-override-properties"></a><h3>udisks_manager_override_properties ()</h3>
984 <pre class="programlisting"><span class="returnvalue">guint</span>
985 udisks_manager_override_properties (<em class="parameter"><code><span class="type">GObjectClass</span> *klass</code></em>,
986 <em class="parameter"><code><span class="type">guint</span> property_id_begin</code></em>);</pre>
987 <p>Overrides all <span class="type">GObject</span> properties in the <a class="link" href="UDisksManager.html" title="UDisksManager"><span class="type">UDisksManager</span></a> interface for a concrete class.
988 The properties are overridden in the order they are defined.</p>
989 <div class="refsect3">
990 <a name="udisks-manager-override-properties.parameters"></a><h4>Parameters</h4>
991 <div class="informaltable"><table class="informaltable" width="100%" border="0">
992 <colgroup>
993 <col width="150px" class="parameters_name">
994 <col class="parameters_description">
995 <col width="200px" class="parameters_annotations">
996 </colgroup>
997 <tbody>
998 <tr>
999 <td class="parameter_name"><p>klass</p></td>
1000 <td class="parameter_description"><p>The class structure for a <span class="type">GObject</span> derived class.</p></td>
1001 <td class="parameter_annotations"> </td>
1002 </tr>
1003 <tr>
1004 <td class="parameter_name"><p>property_id_begin</p></td>
1005 <td class="parameter_description"><p>The property id to assign to the first overridden property.</p></td>
1006 <td class="parameter_annotations"> </td>
1007 </tr>
1008 </tbody>
1009 </table></div>
1010 </div>
1011 <div class="refsect3">
1012 <a name="udisks-manager-override-properties.returns"></a><h4>Returns</h4>
1013 <p> The last property id.</p>
1014 </div>
1015 </div>
1016 <hr>
1017 <div class="refsect2">
1018 <a name="udisks-manager-get-version"></a><h3>udisks_manager_get_version ()</h3>
1019 <pre class="programlisting">const <span class="returnvalue">gchar</span> *
1020 udisks_manager_get_version (<em class="parameter"><code><a class="link" href="UDisksManager.html" title="UDisksManager"><span class="type">UDisksManager</span></a> *object</code></em>);</pre>
1021 <p>Gets the value of the <a class="link" href="gdbus-org.freedesktop.UDisks2.Manager.html#gdbus-property-org-freedesktop-UDisks2-Manager.Version" title='The "Version" property'>"Version"</a> D-Bus property.</p>
1022 <p>Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.</p>
1023 <p>The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where <em class="parameter"><code>object</code></em>
1024 was constructed. Use <a class="link" href="UDisksManager.html#udisks-manager-dup-version" title="udisks_manager_dup_version ()"><code class="function">udisks_manager_dup_version()</code></a> if on another thread.</p>
1025 <p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
1026 <div class="refsect3">
1027 <a name="udisks-manager-get-version.parameters"></a><h4>Parameters</h4>
1028 <div class="informaltable"><table class="informaltable" width="100%" border="0">
1029 <colgroup>
1030 <col width="150px" class="parameters_name">
1031 <col class="parameters_description">
1032 <col width="200px" class="parameters_annotations">
1033 </colgroup>
1034 <tbody><tr>
1035 <td class="parameter_name"><p>object</p></td>
1036 <td class="parameter_description"><p>A <a class="link" href="UDisksManager.html" title="UDisksManager"><span class="type">UDisksManager</span></a>.</p></td>
1037 <td class="parameter_annotations"> </td>
1038 </tr></tbody>
1039 </table></div>
1040 </div>
1041 <div class="refsect3">
1042 <a name="udisks-manager-get-version.returns"></a><h4>Returns</h4>
1043 <p>The property value or <code class="literal">NULL</code> if the property is not set. Do not free the returned value, it belongs to <em class="parameter"><code>object</code></em>
1044 . </p>
1045 <p><span class="annotation">[<acronym title="The data is owned by the callee, which is responsible of freeing it."><span class="acronym">transfer none</span></acronym>][<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></p>
1046 </div>
1047 </div>
1048 <hr>
1049 <div class="refsect2">
1050 <a name="udisks-manager-dup-version"></a><h3>udisks_manager_dup_version ()</h3>
1051 <pre class="programlisting"><span class="returnvalue">gchar</span> *
1052 udisks_manager_dup_version (<em class="parameter"><code><a class="link" href="UDisksManager.html" title="UDisksManager"><span class="type">UDisksManager</span></a> *object</code></em>);</pre>
1053 <p>Gets a copy of the <a class="link" href="gdbus-org.freedesktop.UDisks2.Manager.html#gdbus-property-org-freedesktop-UDisks2-Manager.Version" title='The "Version" property'>"Version"</a> D-Bus property.</p>
1054 <p>Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.</p>
1055 <p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
1056 <div class="refsect3">
1057 <a name="udisks-manager-dup-version.parameters"></a><h4>Parameters</h4>
1058 <div class="informaltable"><table class="informaltable" width="100%" border="0">
1059 <colgroup>
1060 <col width="150px" class="parameters_name">
1061 <col class="parameters_description">
1062 <col width="200px" class="parameters_annotations">
1063 </colgroup>
1064 <tbody><tr>
1065 <td class="parameter_name"><p>object</p></td>
1066 <td class="parameter_description"><p>A <a class="link" href="UDisksManager.html" title="UDisksManager"><span class="type">UDisksManager</span></a>.</p></td>
1067 <td class="parameter_annotations"> </td>
1068 </tr></tbody>
1069 </table></div>
1070 </div>
1071 <div class="refsect3">
1072 <a name="udisks-manager-dup-version.returns"></a><h4>Returns</h4>
1073 <p>The property value or <code class="literal">NULL</code> if the property is not set. The returned value should be freed with <code class="function">g_free()</code>. </p>
1074 <p><span class="annotation">[<acronym title="The caller owns the data, and is responsible for free it."><span class="acronym">transfer full</span></acronym>][<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></p>
1075 </div>
1076 </div>
1077 <hr>
1078 <div class="refsect2">
1079 <a name="udisks-manager-set-version"></a><h3>udisks_manager_set_version ()</h3>
1080 <pre class="programlisting"><span class="returnvalue">void</span>
1081 udisks_manager_set_version (<em class="parameter"><code><a class="link" href="UDisksManager.html" title="UDisksManager"><span class="type">UDisksManager</span></a> *object</code></em>,
1082 <em class="parameter"><code>const <span class="type">gchar</span> *value</code></em>);</pre>
1083 <p>Sets the <a class="link" href="gdbus-org.freedesktop.UDisks2.Manager.html#gdbus-property-org-freedesktop-UDisks2-Manager.Version" title='The "Version" property'>"Version"</a> D-Bus property to <em class="parameter"><code>value</code></em>
1084 .</p>
1085 <p>Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.</p>
1086 <p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
1087 <div class="refsect3">
1088 <a name="udisks-manager-set-version.parameters"></a><h4>Parameters</h4>
1089 <div class="informaltable"><table class="informaltable" width="100%" border="0">
1090 <colgroup>
1091 <col width="150px" class="parameters_name">
1092 <col class="parameters_description">
1093 <col width="200px" class="parameters_annotations">
1094 </colgroup>
1095 <tbody>
1096 <tr>
1097 <td class="parameter_name"><p>object</p></td>
1098 <td class="parameter_description"><p>A <a class="link" href="UDisksManager.html" title="UDisksManager"><span class="type">UDisksManager</span></a>.</p></td>
1099 <td class="parameter_annotations"> </td>
1100 </tr>
1101 <tr>
1102 <td class="parameter_name"><p>value</p></td>
1103 <td class="parameter_description"><p>The value to set.</p></td>
1104 <td class="parameter_annotations"> </td>
1105 </tr>
1106 </tbody>
1107 </table></div>
1108 </div>
1109 </div>
1110 <hr>
1111 <div class="refsect2">
1112 <a name="udisks-manager-call-enable-module"></a><h3>udisks_manager_call_enable_module ()</h3>
1113 <pre class="programlisting"><span class="returnvalue">void</span>
1114 udisks_manager_call_enable_module (<em class="parameter"><code><a class="link" href="UDisksManager.html" title="UDisksManager"><span class="type">UDisksManager</span></a> *proxy</code></em>,
1115 <em class="parameter"><code>const <span class="type">gchar</span> *arg_name</code></em>,
1116 <em class="parameter"><code><span class="type">gboolean</span> arg_enable</code></em>,
1117 <em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>,
1118 <em class="parameter"><code><span class="type">GAsyncReadyCallback</span> callback</code></em>,
1119 <em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);</pre>
1120 <div class="warning"><p><code class="literal">udisks_manager_call_enable_module</code> is deprecated and should not be used in newly-written code.</p></div>
1121 <p>Asynchronously invokes the <a class="link" href="gdbus-org.freedesktop.UDisks2.Manager.html#gdbus-method-org-freedesktop-UDisks2-Manager.EnableModule" title="The EnableModule() method"><code class="function">EnableModule()</code></a> D-Bus method on <em class="parameter"><code>proxy</code></em>
1122 .
1123 When the operation is finished, <em class="parameter"><code>callback</code></em>
1124 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>).
1125 You can then call <a class="link" href="UDisksManager.html#udisks-manager-call-enable-module-finish" title="udisks_manager_call_enable_module_finish ()"><code class="function">udisks_manager_call_enable_module_finish()</code></a> to get the result of the operation.</p>
1126 <p>See <a class="link" href="UDisksManager.html#udisks-manager-call-enable-module-sync" title="udisks_manager_call_enable_module_sync ()"><code class="function">udisks_manager_call_enable_module_sync()</code></a> for the synchronous, blocking version of this method.</p>
1127 <div class="refsect3">
1128 <a name="udisks-manager-call-enable-module.parameters"></a><h4>Parameters</h4>
1129 <div class="informaltable"><table class="informaltable" width="100%" border="0">
1130 <colgroup>
1131 <col width="150px" class="parameters_name">
1132 <col class="parameters_description">
1133 <col width="200px" class="parameters_annotations">
1134 </colgroup>
1135 <tbody>
1136 <tr>
1137 <td class="parameter_name"><p>proxy</p></td>
1138 <td class="parameter_description"><p>A <a class="link" href="UDisksManager.html#UDisksManagerProxy"><span class="type">UDisksManagerProxy</span></a>.</p></td>
1139 <td class="parameter_annotations"> </td>
1140 </tr>
1141 <tr>
1142 <td class="parameter_name"><p>arg_name</p></td>
1143 <td class="parameter_description"><p>Argument to pass with the method invocation.</p></td>
1144 <td class="parameter_annotations"> </td>
1145 </tr>
1146 <tr>
1147 <td class="parameter_name"><p>arg_enable</p></td>
1148 <td class="parameter_description"><p>Argument to pass with the method invocation.</p></td>
1149 <td class="parameter_annotations"> </td>
1150 </tr>
1151 <tr>
1152 <td class="parameter_name"><p>cancellable</p></td>
1153 <td class="parameter_description"><p>A <span class="type">GCancellable</span> or <code class="literal">NULL</code>. </p></td>
1154 <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>
1155 </tr>
1156 <tr>
1157 <td class="parameter_name"><p>callback</p></td>
1158 <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>
1159 <td class="parameter_annotations"> </td>
1160 </tr>
1161 <tr>
1162 <td class="parameter_name"><p>user_data</p></td>
1163 <td class="parameter_description"><p>User data to pass to <em class="parameter"><code>callback</code></em>
1164 .</p></td>
1165 <td class="parameter_annotations"> </td>
1166 </tr>
1167 </tbody>
1168 </table></div>
1169 </div>
1170 <p class="since">Since: 2.9.0</p>
1171 </div>
1172 <hr>
1173 <div class="refsect2">
1174 <a name="udisks-manager-call-enable-module-finish"></a><h3>udisks_manager_call_enable_module_finish ()</h3>
1175 <pre class="programlisting"><span class="returnvalue">gboolean</span>
1176 udisks_manager_call_enable_module_finish
1177 (<em class="parameter"><code><a class="link" href="UDisksManager.html" title="UDisksManager"><span class="type">UDisksManager</span></a> *proxy</code></em>,
1178 <em class="parameter"><code><span class="type">GAsyncResult</span> *res</code></em>,
1179 <em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
1180 <p>Finishes an operation started with <a class="link" href="UDisksManager.html#udisks-manager-call-enable-module" title="udisks_manager_call_enable_module ()"><code class="function">udisks_manager_call_enable_module()</code></a>.</p>
1181 <div class="refsect3">
1182 <a name="udisks-manager-call-enable-module-finish.parameters"></a><h4>Parameters</h4>
1183 <div class="informaltable"><table class="informaltable" width="100%" border="0">
1184 <colgroup>
1185 <col width="150px" class="parameters_name">
1186 <col class="parameters_description">
1187 <col width="200px" class="parameters_annotations">
1188 </colgroup>
1189 <tbody>
1190 <tr>
1191 <td class="parameter_name"><p>proxy</p></td>
1192 <td class="parameter_description"><p>A <a class="link" href="UDisksManager.html#UDisksManagerProxy"><span class="type">UDisksManagerProxy</span></a>.</p></td>
1193 <td class="parameter_annotations"> </td>
1194 </tr>
1195 <tr>
1196 <td class="parameter_name"><p>res</p></td>
1197 <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="UDisksManager.html#udisks-manager-call-enable-module" title="udisks_manager_call_enable_module ()"><code class="function">udisks_manager_call_enable_module()</code></a>.</p></td>
1198 <td class="parameter_annotations"> </td>
1199 </tr>
1200 <tr>
1201 <td class="parameter_name"><p>error</p></td>
1202 <td class="parameter_description"><p>Return location for error or <code class="literal">NULL</code>.</p></td>
1203 <td class="parameter_annotations"> </td>
1204 </tr>
1205 </tbody>
1206 </table></div>
1207 </div>
1208 <div class="refsect3">
1209 <a name="udisks-manager-call-enable-module-finish.returns"></a><h4>Returns</h4>
1210 <p><code class="literal">TRUE</code> if the call succeeded, <code class="literal">FALSE</code> if <em class="parameter"><code>error</code></em>
1211 is set. </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>
1214 <p class="since">Since: 2.9.0</p>
1215 </div>
1216 <hr>
1217 <div class="refsect2">
1218 <a name="udisks-manager-call-enable-module-sync"></a><h3>udisks_manager_call_enable_module_sync ()</h3>
1219 <pre class="programlisting"><span class="returnvalue">gboolean</span>
1220 udisks_manager_call_enable_module_sync
1221 (<em class="parameter"><code><a class="link" href="UDisksManager.html" title="UDisksManager"><span class="type">UDisksManager</span></a> *proxy</code></em>,
1222 <em class="parameter"><code>const <span class="type">gchar</span> *arg_name</code></em>,
1223 <em class="parameter"><code><span class="type">gboolean</span> arg_enable</code></em>,
1224 <em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>,
1225 <em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
1226 <p>Synchronously invokes the <a class="link" href="gdbus-org.freedesktop.UDisks2.Manager.html#gdbus-method-org-freedesktop-UDisks2-Manager.EnableModule" title="The EnableModule() method"><code class="function">EnableModule()</code></a> D-Bus method on <em class="parameter"><code>proxy</code></em>
1227 . The calling thread is blocked until a reply is received.</p>
1228 <p>See <a class="link" href="UDisksManager.html#udisks-manager-call-enable-module" title="udisks_manager_call_enable_module ()"><code class="function">udisks_manager_call_enable_module()</code></a> for the asynchronous version of this method.</p>
1229 <div class="refsect3">
1230 <a name="udisks-manager-call-enable-module-sync.parameters"></a><h4>Parameters</h4>
1231 <div class="informaltable"><table class="informaltable" width="100%" border="0">
1232 <colgroup>
1233 <col width="150px" class="parameters_name">
1234 <col class="parameters_description">
1235 <col width="200px" class="parameters_annotations">
1236 </colgroup>
1237 <tbody>
1238 <tr>
1239 <td class="parameter_name"><p>proxy</p></td>
1240 <td class="parameter_description"><p>A <a class="link" href="UDisksManager.html#UDisksManagerProxy"><span class="type">UDisksManagerProxy</span></a>.</p></td>
1241 <td class="parameter_annotations"> </td>
1242 </tr>
1243 <tr>
1244 <td class="parameter_name"><p>arg_name</p></td>
1245 <td class="parameter_description"><p>Argument to pass with the method invocation.</p></td>
1246 <td class="parameter_annotations"> </td>
1247 </tr>
1248 <tr>
1249 <td class="parameter_name"><p>arg_enable</p></td>
1250 <td class="parameter_description"><p>Argument to pass with the method invocation.</p></td>
1251 <td class="parameter_annotations"> </td>
1252 </tr>
1253 <tr>
1254 <td class="parameter_name"><p>cancellable</p></td>
1255 <td class="parameter_description"><p>A <span class="type">GCancellable</span> or <code class="literal">NULL</code>. </p></td>
1256 <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>
1257 </tr>
1258 <tr>
1259 <td class="parameter_name"><p>error</p></td>
1260 <td class="parameter_description"><p>Return location for error or <code class="literal">NULL</code>.</p></td>
1261 <td class="parameter_annotations"> </td>
1262 </tr>
1263 </tbody>
1264 </table></div>
1265 </div>
1266 <div class="refsect3">
1267 <a name="udisks-manager-call-enable-module-sync.returns"></a><h4>Returns</h4>
1268 <p><code class="literal">TRUE</code> if the call succeeded, <code class="literal">FALSE</code> if <em class="parameter"><code>error</code></em>
1269 is set. </p>
1270 <p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
1271 </div>
1272 <p class="since">Since: 2.9.0</p>
1273 </div>
1274 <hr>
1275 <div class="refsect2">
1276 <a name="udisks-manager-complete-enable-module"></a><h3>udisks_manager_complete_enable_module ()</h3>
1277 <pre class="programlisting"><span class="returnvalue">void</span>
1278 udisks_manager_complete_enable_module (<em class="parameter"><code><a class="link" href="UDisksManager.html" title="UDisksManager"><span class="type">UDisksManager</span></a> *object</code></em>,
1279 <em class="parameter"><code><span class="type">GDBusMethodInvocation</span> *invocation</code></em>);</pre>
1280 <div class="warning"><p><code class="literal">udisks_manager_complete_enable_module</code> is deprecated and should not be used in newly-written code.</p></div>
1281 <p>Helper function used in service implementations to finish handling invocations of the <a class="link" href="gdbus-org.freedesktop.UDisks2.Manager.html#gdbus-method-org-freedesktop-UDisks2-Manager.EnableModule" title="The EnableModule() method"><code class="function">EnableModule()</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>
1282 <p>This method will free <em class="parameter"><code>invocation</code></em>
1283 , you cannot use it afterwards.</p>
1284 <div class="refsect3">
1285 <a name="udisks-manager-complete-enable-module.parameters"></a><h4>Parameters</h4>
1286 <div class="informaltable"><table class="informaltable" width="100%" border="0">
1287 <colgroup>
1288 <col width="150px" class="parameters_name">
1289 <col class="parameters_description">
1290 <col width="200px" class="parameters_annotations">
1291 </colgroup>
1292 <tbody>
1293 <tr>
1294 <td class="parameter_name"><p>object</p></td>
1295 <td class="parameter_description"><p>A <a class="link" href="UDisksManager.html" title="UDisksManager"><span class="type">UDisksManager</span></a>.</p></td>
1296 <td class="parameter_annotations"> </td>
1297 </tr>
1298 <tr>
1299 <td class="parameter_name"><p>invocation</p></td>
1300 <td class="parameter_description"><p>A <span class="type">GDBusMethodInvocation</span>. </p></td>
1301 <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>
1302 </tr>
1303 </tbody>
1304 </table></div>
1305 </div>
1306 <p class="since">Since: 2.9.0</p>
1307 </div>
1308 <hr>
1309 <div class="refsect2">
1310 <a name="udisks-manager-call-can-format"></a><h3>udisks_manager_call_can_format ()</h3>
1311 <pre class="programlisting"><span class="returnvalue">void</span>
1312 udisks_manager_call_can_format (<em class="parameter"><code><a class="link" href="UDisksManager.html" title="UDisksManager"><span class="type">UDisksManager</span></a> *proxy</code></em>,
1313 <em class="parameter"><code>const <span class="type">gchar</span> *arg_type</code></em>,
1314 <em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>,
1315 <em class="parameter"><code><span class="type">GAsyncReadyCallback</span> callback</code></em>,
1316 <em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);</pre>
1317 <p>Asynchronously invokes the <a class="link" href="gdbus-org.freedesktop.UDisks2.Manager.html#gdbus-method-org-freedesktop-UDisks2-Manager.CanFormat" title="The CanFormat() method"><code class="function">CanFormat()</code></a> D-Bus method on <em class="parameter"><code>proxy</code></em>
1318 .
1319 When the operation is finished, <em class="parameter"><code>callback</code></em>
1320 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>).
1321 You can then call <a class="link" href="UDisksManager.html#udisks-manager-call-can-format-finish" title="udisks_manager_call_can_format_finish ()"><code class="function">udisks_manager_call_can_format_finish()</code></a> to get the result of the operation.</p>
1322 <p>See <a class="link" href="UDisksManager.html#udisks-manager-call-can-format-sync" title="udisks_manager_call_can_format_sync ()"><code class="function">udisks_manager_call_can_format_sync()</code></a> for the synchronous, blocking version of this method.</p>
1323 <div class="refsect3">
1324 <a name="udisks-manager-call-can-format.parameters"></a><h4>Parameters</h4>
1325 <div class="informaltable"><table class="informaltable" width="100%" border="0">
1326 <colgroup>
1327 <col width="150px" class="parameters_name">
1328 <col class="parameters_description">
1329 <col width="200px" class="parameters_annotations">
1330 </colgroup>
1331 <tbody>
1332 <tr>
1333 <td class="parameter_name"><p>proxy</p></td>
1334 <td class="parameter_description"><p>A <a class="link" href="UDisksManager.html#UDisksManagerProxy"><span class="type">UDisksManagerProxy</span></a>.</p></td>
1335 <td class="parameter_annotations"> </td>
1336 </tr>
1337 <tr>
1338 <td class="parameter_name"><p>arg_type</p></td>
1339 <td class="parameter_description"><p>Argument to pass with the method invocation.</p></td>
1340 <td class="parameter_annotations"> </td>
1341 </tr>
1342 <tr>
1343 <td class="parameter_name"><p>cancellable</p></td>
1344 <td class="parameter_description"><p>A <span class="type">GCancellable</span> or <code class="literal">NULL</code>. </p></td>
1345 <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>
1346 </tr>
1347 <tr>
1348 <td class="parameter_name"><p>callback</p></td>
1349 <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>
1350 <td class="parameter_annotations"> </td>
1351 </tr>
1352 <tr>
1353 <td class="parameter_name"><p>user_data</p></td>
1354 <td class="parameter_description"><p>User data to pass to <em class="parameter"><code>callback</code></em>
1355 .</p></td>
1356 <td class="parameter_annotations"> </td>
1357 </tr>
1358 </tbody>
1359 </table></div>
1360 </div>
1361 <p class="since">Since: 2.7.2</p>
1362 </div>
1363 <hr>
1364 <div class="refsect2">
1365 <a name="udisks-manager-call-can-format-finish"></a><h3>udisks_manager_call_can_format_finish ()</h3>
1366 <pre class="programlisting"><span class="returnvalue">gboolean</span>
1367 udisks_manager_call_can_format_finish (<em class="parameter"><code><a class="link" href="UDisksManager.html" title="UDisksManager"><span class="type">UDisksManager</span></a> *proxy</code></em>,
1368 <em class="parameter"><code><span class="type">GVariant</span> **out_available</code></em>,
1369 <em class="parameter"><code><span class="type">GAsyncResult</span> *res</code></em>,
1370 <em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
1371 <p>Finishes an operation started with <a class="link" href="UDisksManager.html#udisks-manager-call-can-format" title="udisks_manager_call_can_format ()"><code class="function">udisks_manager_call_can_format()</code></a>.</p>
1372 <div class="refsect3">
1373 <a name="udisks-manager-call-can-format-finish.parameters"></a><h4>Parameters</h4>
1374 <div class="informaltable"><table class="informaltable" width="100%" border="0">
1375 <colgroup>
1376 <col width="150px" class="parameters_name">
1377 <col class="parameters_description">
1378 <col width="200px" class="parameters_annotations">
1379 </colgroup>
1380 <tbody>
1381 <tr>
1382 <td class="parameter_name"><p>proxy</p></td>
1383 <td class="parameter_description"><p>A <a class="link" href="UDisksManager.html#UDisksManagerProxy"><span class="type">UDisksManagerProxy</span></a>.</p></td>
1384 <td class="parameter_annotations"> </td>
1385 </tr>
1386 <tr>
1387 <td class="parameter_name"><p>out_available</p></td>
1388 <td class="parameter_description"><p>Return location for return parameter or <code class="literal">NULL</code> to ignore. </p></td>
1389 <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL may be passed instead of a pointer to a location."><span class="acronym">optional</span></acronym>]</span></td>
1390 </tr>
1391 <tr>
1392 <td class="parameter_name"><p>res</p></td>
1393 <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="UDisksManager.html#udisks-manager-call-can-format" title="udisks_manager_call_can_format ()"><code class="function">udisks_manager_call_can_format()</code></a>.</p></td>
1394 <td class="parameter_annotations"> </td>
1395 </tr>
1396 <tr>
1397 <td class="parameter_name"><p>error</p></td>
1398 <td class="parameter_description"><p>Return location for error or <code class="literal">NULL</code>.</p></td>
1399 <td class="parameter_annotations"> </td>
1400 </tr>
1401 </tbody>
1402 </table></div>
1403 </div>
1404 <div class="refsect3">
1405 <a name="udisks-manager-call-can-format-finish.returns"></a><h4>Returns</h4>
1406 <p><code class="literal">TRUE</code> if the call succeeded, <code class="literal">FALSE</code> if <em class="parameter"><code>error</code></em>
1407 is set. </p>
1408 <p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
1409 </div>
1410 <p class="since">Since: 2.7.2</p>
1411 </div>
1412 <hr>
1413 <div class="refsect2">
1414 <a name="udisks-manager-call-can-format-sync"></a><h3>udisks_manager_call_can_format_sync ()</h3>
1415 <pre class="programlisting"><span class="returnvalue">gboolean</span>
1416 udisks_manager_call_can_format_sync (<em class="parameter"><code><a class="link" href="UDisksManager.html" title="UDisksManager"><span class="type">UDisksManager</span></a> *proxy</code></em>,
1417 <em class="parameter"><code>const <span class="type">gchar</span> *arg_type</code></em>,
1418 <em class="parameter"><code><span class="type">GVariant</span> **out_available</code></em>,
1419 <em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>,
1420 <em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
1421 <p>Synchronously invokes the <a class="link" href="gdbus-org.freedesktop.UDisks2.Manager.html#gdbus-method-org-freedesktop-UDisks2-Manager.CanFormat" title="The CanFormat() method"><code class="function">CanFormat()</code></a> D-Bus method on <em class="parameter"><code>proxy</code></em>
1422 . The calling thread is blocked until a reply is received.</p>
1423 <p>See <a class="link" href="UDisksManager.html#udisks-manager-call-can-format" title="udisks_manager_call_can_format ()"><code class="function">udisks_manager_call_can_format()</code></a> for the asynchronous version of this method.</p>
1424 <div class="refsect3">
1425 <a name="udisks-manager-call-can-format-sync.parameters"></a><h4>Parameters</h4>
1426 <div class="informaltable"><table class="informaltable" width="100%" border="0">
1427 <colgroup>
1428 <col width="150px" class="parameters_name">
1429 <col class="parameters_description">
1430 <col width="200px" class="parameters_annotations">
1431 </colgroup>
1432 <tbody>
1433 <tr>
1434 <td class="parameter_name"><p>proxy</p></td>
1435 <td class="parameter_description"><p>A <a class="link" href="UDisksManager.html#UDisksManagerProxy"><span class="type">UDisksManagerProxy</span></a>.</p></td>
1436 <td class="parameter_annotations"> </td>
1437 </tr>
1438 <tr>
1439 <td class="parameter_name"><p>arg_type</p></td>
1440 <td class="parameter_description"><p>Argument to pass with the method invocation.</p></td>
1441 <td class="parameter_annotations"> </td>
1442 </tr>
1443 <tr>
1444 <td class="parameter_name"><p>out_available</p></td>
1445 <td class="parameter_description"><p>Return location for return parameter or <code class="literal">NULL</code> to ignore. </p></td>
1446 <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL may be passed instead of a pointer to a location."><span class="acronym">optional</span></acronym>]</span></td>
1447 </tr>
1448 <tr>
1449 <td class="parameter_name"><p>cancellable</p></td>
1450 <td class="parameter_description"><p>A <span class="type">GCancellable</span> or <code class="literal">NULL</code>. </p></td>
1451 <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>
1452 </tr>
1453 <tr>
1454 <td class="parameter_name"><p>error</p></td>
1455 <td class="parameter_description"><p>Return location for error or <code class="literal">NULL</code>.</p></td>
1456 <td class="parameter_annotations"> </td>
1457 </tr>
1458 </tbody>
1459 </table></div>
1460 </div>
1461 <div class="refsect3">
1462 <a name="udisks-manager-call-can-format-sync.returns"></a><h4>Returns</h4>
1463 <p><code class="literal">TRUE</code> if the call succeeded, <code class="literal">FALSE</code> if <em class="parameter"><code>error</code></em>
1464 is set. </p>
1465 <p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
1466 </div>
1467 <p class="since">Since: 2.7.2</p>
1468 </div>
1469 <hr>
1470 <div class="refsect2">
1471 <a name="udisks-manager-complete-can-format"></a><h3>udisks_manager_complete_can_format ()</h3>
1472 <pre class="programlisting"><span class="returnvalue">void</span>
1473 udisks_manager_complete_can_format (<em class="parameter"><code><a class="link" href="UDisksManager.html" title="UDisksManager"><span class="type">UDisksManager</span></a> *object</code></em>,
1474 <em class="parameter"><code><span class="type">GDBusMethodInvocation</span> *invocation</code></em>,
1475 <em class="parameter"><code><span class="type">GVariant</span> *available</code></em>);</pre>
1476 <p>Helper function used in service implementations to finish handling invocations of the <a class="link" href="gdbus-org.freedesktop.UDisks2.Manager.html#gdbus-method-org-freedesktop-UDisks2-Manager.CanFormat" title="The CanFormat() method"><code class="function">CanFormat()</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>
1477 <p>This method will free <em class="parameter"><code>invocation</code></em>
1478 , you cannot use it afterwards.</p>
1479 <div class="refsect3">
1480 <a name="udisks-manager-complete-can-format.parameters"></a><h4>Parameters</h4>
1481 <div class="informaltable"><table class="informaltable" width="100%" border="0">
1482 <colgroup>
1483 <col width="150px" class="parameters_name">
1484 <col class="parameters_description">
1485 <col width="200px" class="parameters_annotations">
1486 </colgroup>
1487 <tbody>
1488 <tr>
1489 <td class="parameter_name"><p>object</p></td>
1490 <td class="parameter_description"><p>A <a class="link" href="UDisksManager.html" title="UDisksManager"><span class="type">UDisksManager</span></a>.</p></td>
1491 <td class="parameter_annotations"> </td>
1492 </tr>
1493 <tr>
1494 <td class="parameter_name"><p>invocation</p></td>
1495 <td class="parameter_description"><p>A <span class="type">GDBusMethodInvocation</span>. </p></td>
1496 <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>
1497 </tr>
1498 <tr>
1499 <td class="parameter_name"><p>available</p></td>
1500 <td class="parameter_description"><p>Parameter to return.</p></td>
1501 <td class="parameter_annotations"> </td>
1502 </tr>
1503 </tbody>
1504 </table></div>
1505 </div>
1506 <p class="since">Since: 2.7.2</p>
1507 </div>
1508 <hr>
1509 <div class="refsect2">
1510 <a name="udisks-manager-call-get-block-devices"></a><h3>udisks_manager_call_get_block_devices ()</h3>
1511 <pre class="programlisting"><span class="returnvalue">void</span>
1512 udisks_manager_call_get_block_devices (<em class="parameter"><code><a class="link" href="UDisksManager.html" title="UDisksManager"><span class="type">UDisksManager</span></a> *proxy</code></em>,
1513 <em class="parameter"><code><span class="type">GVariant</span> *arg_options</code></em>,
1514 <em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>,
1515 <em class="parameter"><code><span class="type">GAsyncReadyCallback</span> callback</code></em>,
1516 <em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);</pre>
1517 <p>Asynchronously invokes the <a class="link" href="gdbus-org.freedesktop.UDisks2.Manager.html#gdbus-method-org-freedesktop-UDisks2-Manager.GetBlockDevices" title="The GetBlockDevices() method"><code class="function">GetBlockDevices()</code></a> D-Bus method on <em class="parameter"><code>proxy</code></em>
1518 .
1519 When the operation is finished, <em class="parameter"><code>callback</code></em>
1520 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>).
1521 You can then call <a class="link" href="UDisksManager.html#udisks-manager-call-get-block-devices-finish" title="udisks_manager_call_get_block_devices_finish ()"><code class="function">udisks_manager_call_get_block_devices_finish()</code></a> to get the result of the operation.</p>
1522 <p>See <a class="link" href="UDisksManager.html#udisks-manager-call-get-block-devices-sync" title="udisks_manager_call_get_block_devices_sync ()"><code class="function">udisks_manager_call_get_block_devices_sync()</code></a> for the synchronous, blocking version of this method.</p>
1523 <div class="refsect3">
1524 <a name="udisks-manager-call-get-block-devices.parameters"></a><h4>Parameters</h4>
1525 <div class="informaltable"><table class="informaltable" width="100%" border="0">
1526 <colgroup>
1527 <col width="150px" class="parameters_name">
1528 <col class="parameters_description">
1529 <col width="200px" class="parameters_annotations">
1530 </colgroup>
1531 <tbody>
1532 <tr>
1533 <td class="parameter_name"><p>proxy</p></td>
1534 <td class="parameter_description"><p>A <a class="link" href="UDisksManager.html#UDisksManagerProxy"><span class="type">UDisksManagerProxy</span></a>.</p></td>
1535 <td class="parameter_annotations"> </td>
1536 </tr>
1537 <tr>
1538 <td class="parameter_name"><p>arg_options</p></td>
1539 <td class="parameter_description"><p>Argument to pass with the method invocation.</p></td>
1540 <td class="parameter_annotations"> </td>
1541 </tr>
1542 <tr>
1543 <td class="parameter_name"><p>cancellable</p></td>
1544 <td class="parameter_description"><p>A <span class="type">GCancellable</span> or <code class="literal">NULL</code>. </p></td>
1545 <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>
1546 </tr>
1547 <tr>
1548 <td class="parameter_name"><p>callback</p></td>
1549 <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>
1550 <td class="parameter_annotations"> </td>
1551 </tr>
1552 <tr>
1553 <td class="parameter_name"><p>user_data</p></td>
1554 <td class="parameter_description"><p>User data to pass to <em class="parameter"><code>callback</code></em>
1555 .</p></td>
1556 <td class="parameter_annotations"> </td>
1557 </tr>
1558 </tbody>
1559 </table></div>
1560 </div>
1561 <p class="since">Since: 2.7.2</p>
1562 </div>
1563 <hr>
1564 <div class="refsect2">
1565 <a name="udisks-manager-call-get-block-devices-finish"></a><h3>udisks_manager_call_get_block_devices_finish ()</h3>
1566 <pre class="programlisting"><span class="returnvalue">gboolean</span>
1567 udisks_manager_call_get_block_devices_finish
1568 (<em class="parameter"><code><a class="link" href="UDisksManager.html" title="UDisksManager"><span class="type">UDisksManager</span></a> *proxy</code></em>,
1569 <em class="parameter"><code><span class="type">gchar</span> ***out_block_objects</code></em>,
1570 <em class="parameter"><code><span class="type">GAsyncResult</span> *res</code></em>,
1571 <em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
1572 <p>Finishes an operation started with <a class="link" href="UDisksManager.html#udisks-manager-call-get-block-devices" title="udisks_manager_call_get_block_devices ()"><code class="function">udisks_manager_call_get_block_devices()</code></a>.</p>
1573 <div class="refsect3">
1574 <a name="udisks-manager-call-get-block-devices-finish.parameters"></a><h4>Parameters</h4>
1575 <div class="informaltable"><table class="informaltable" width="100%" border="0">
1576 <colgroup>
1577 <col width="150px" class="parameters_name">
1578 <col class="parameters_description">
1579 <col width="200px" class="parameters_annotations">
1580 </colgroup>
1581 <tbody>
1582 <tr>
1583 <td class="parameter_name"><p>proxy</p></td>
1584 <td class="parameter_description"><p>A <a class="link" href="UDisksManager.html#UDisksManagerProxy"><span class="type">UDisksManagerProxy</span></a>.</p></td>
1585 <td class="parameter_annotations"> </td>
1586 </tr>
1587 <tr>
1588 <td class="parameter_name"><p>out_block_objects</p></td>
1589 <td class="parameter_description"><p>Return location for return parameter or <code class="literal">NULL</code> to ignore. </p></td>
1590 <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL may be passed instead of a pointer to a location."><span class="acronym">optional</span></acronym>][<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> zero-terminated=1]</span></td>
1591 </tr>
1592 <tr>
1593 <td class="parameter_name"><p>res</p></td>
1594 <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="UDisksManager.html#udisks-manager-call-get-block-devices" title="udisks_manager_call_get_block_devices ()"><code class="function">udisks_manager_call_get_block_devices()</code></a>.</p></td>
1595 <td class="parameter_annotations"> </td>
1596 </tr>
1597 <tr>
1598 <td class="parameter_name"><p>error</p></td>
1599 <td class="parameter_description"><p>Return location for error or <code class="literal">NULL</code>.</p></td>
1600 <td class="parameter_annotations"> </td>
1601 </tr>
1602 </tbody>
1603 </table></div>
1604 </div>
1605 <div class="refsect3">
1606 <a name="udisks-manager-call-get-block-devices-finish.returns"></a><h4>Returns</h4>
1607 <p><code class="literal">TRUE</code> if the call succeeded, <code class="literal">FALSE</code> if <em class="parameter"><code>error</code></em>
1608 is set. </p>
1609 <p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
1610 </div>
1611 <p class="since">Since: 2.7.2</p>
1612 </div>
1613 <hr>
1614 <div class="refsect2">
1615 <a name="udisks-manager-call-get-block-devices-sync"></a><h3>udisks_manager_call_get_block_devices_sync ()</h3>
1616 <pre class="programlisting"><span class="returnvalue">gboolean</span>
1617 udisks_manager_call_get_block_devices_sync
1618 (<em class="parameter"><code><a class="link" href="UDisksManager.html" title="UDisksManager"><span class="type">UDisksManager</span></a> *proxy</code></em>,
1619 <em class="parameter"><code><span class="type">GVariant</span> *arg_options</code></em>,
1620 <em class="parameter"><code><span class="type">gchar</span> ***out_block_objects</code></em>,
1621 <em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>,
1622 <em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
1623 <p>Synchronously invokes the <a class="link" href="gdbus-org.freedesktop.UDisks2.Manager.html#gdbus-method-org-freedesktop-UDisks2-Manager.GetBlockDevices" title="The GetBlockDevices() method"><code class="function">GetBlockDevices()</code></a> D-Bus method on <em class="parameter"><code>proxy</code></em>
1624 . The calling thread is blocked until a reply is received.</p>
1625 <p>See <a class="link" href="UDisksManager.html#udisks-manager-call-get-block-devices" title="udisks_manager_call_get_block_devices ()"><code class="function">udisks_manager_call_get_block_devices()</code></a> for the asynchronous version of this method.</p>
1626 <div class="refsect3">
1627 <a name="udisks-manager-call-get-block-devices-sync.parameters"></a><h4>Parameters</h4>
1628 <div class="informaltable"><table class="informaltable" width="100%" border="0">
1629 <colgroup>
1630 <col width="150px" class="parameters_name">
1631 <col class="parameters_description">
1632 <col width="200px" class="parameters_annotations">
1633 </colgroup>
1634 <tbody>
1635 <tr>
1636 <td class="parameter_name"><p>proxy</p></td>
1637 <td class="parameter_description"><p>A <a class="link" href="UDisksManager.html#UDisksManagerProxy"><span class="type">UDisksManagerProxy</span></a>.</p></td>
1638 <td class="parameter_annotations"> </td>
1639 </tr>
1640 <tr>
1641 <td class="parameter_name"><p>arg_options</p></td>
1642 <td class="parameter_description"><p>Argument to pass with the method invocation.</p></td>
1643 <td class="parameter_annotations"> </td>
1644 </tr>
1645 <tr>
1646 <td class="parameter_name"><p>out_block_objects</p></td>
1647 <td class="parameter_description"><p>Return location for return parameter or <code class="literal">NULL</code> to ignore. </p></td>
1648 <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL may be passed instead of a pointer to a location."><span class="acronym">optional</span></acronym>][<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> zero-terminated=1]</span></td>
1649 </tr>
1650 <tr>
1651 <td class="parameter_name"><p>cancellable</p></td>
1652 <td class="parameter_description"><p>A <span class="type">GCancellable</span> or <code class="literal">NULL</code>. </p></td>
1653 <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>
1654 </tr>
1655 <tr>
1656 <td class="parameter_name"><p>error</p></td>
1657 <td class="parameter_description"><p>Return location for error or <code class="literal">NULL</code>.</p></td>
1658 <td class="parameter_annotations"> </td>
1659 </tr>
1660 </tbody>
1661 </table></div>
1662 </div>
1663 <div class="refsect3">
1664 <a name="udisks-manager-call-get-block-devices-sync.returns"></a><h4>Returns</h4>
1665 <p><code class="literal">TRUE</code> if the call succeeded, <code class="literal">FALSE</code> if <em class="parameter"><code>error</code></em>
1666 is set. </p>
1667 <p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
1668 </div>
1669 <p class="since">Since: 2.7.2</p>
1670 </div>
1671 <hr>
1672 <div class="refsect2">
1673 <a name="udisks-manager-complete-get-block-devices"></a><h3>udisks_manager_complete_get_block_devices ()</h3>
1674 <pre class="programlisting"><span class="returnvalue">void</span>
1675 udisks_manager_complete_get_block_devices
1676 (<em class="parameter"><code><a class="link" href="UDisksManager.html" title="UDisksManager"><span class="type">UDisksManager</span></a> *object</code></em>,
1677 <em class="parameter"><code><span class="type">GDBusMethodInvocation</span> *invocation</code></em>,
1678 <em class="parameter"><code>const <span class="type">gchar</span> *const *block_objects</code></em>);</pre>
1679 <p>Helper function used in service implementations to finish handling invocations of the <a class="link" href="gdbus-org.freedesktop.UDisks2.Manager.html#gdbus-method-org-freedesktop-UDisks2-Manager.GetBlockDevices" title="The GetBlockDevices() method"><code class="function">GetBlockDevices()</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>
1680 <p>This method will free <em class="parameter"><code>invocation</code></em>
1681 , you cannot use it afterwards.</p>
1682 <div class="refsect3">
1683 <a name="udisks-manager-complete-get-block-devices.parameters"></a><h4>Parameters</h4>
1684 <div class="informaltable"><table class="informaltable" width="100%" border="0">
1685 <colgroup>
1686 <col width="150px" class="parameters_name">
1687 <col class="parameters_description">
1688 <col width="200px" class="parameters_annotations">
1689 </colgroup>
1690 <tbody>
1691 <tr>
1692 <td class="parameter_name"><p>object</p></td>
1693 <td class="parameter_description"><p>A <a class="link" href="UDisksManager.html" title="UDisksManager"><span class="type">UDisksManager</span></a>.</p></td>
1694 <td class="parameter_annotations"> </td>
1695 </tr>
1696 <tr>
1697 <td class="parameter_name"><p>invocation</p></td>
1698 <td class="parameter_description"><p>A <span class="type">GDBusMethodInvocation</span>. </p></td>
1699 <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>
1700 </tr>
1701 <tr>
1702 <td class="parameter_name"><p>block_objects</p></td>
1703 <td class="parameter_description"><p>Parameter to return.</p></td>
1704 <td class="parameter_annotations"> </td>
1705 </tr>
1706 </tbody>
1707 </table></div>
1708 </div>
1709 <p class="since">Since: 2.7.2</p>
1710 </div>
1711 <hr>
1712 <div class="refsect2">
1713 <a name="udisks-manager-call-get-drives"></a><h3>udisks_manager_call_get_drives ()</h3>
1714 <pre class="programlisting"><span class="returnvalue">void</span>
1715 udisks_manager_call_get_drives (<em class="parameter"><code><a class="link" href="UDisksManager.html" title="UDisksManager"><span class="type">UDisksManager</span></a> *proxy</code></em>,
1716 <em class="parameter"><code><span class="type">GVariant</span> *arg_options</code></em>,
1717 <em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>,
1718 <em class="parameter"><code><span class="type">GAsyncReadyCallback</span> callback</code></em>,
1719 <em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);</pre>
1720 <p>Asynchronously invokes the <a class="link" href="gdbus-org.freedesktop.UDisks2.Manager.html#gdbus-method-org-freedesktop-UDisks2-Manager.GetDrives" title="The GetDrives() method"><code class="function">GetDrives()</code></a> D-Bus method on <em class="parameter"><code>proxy</code></em>
1721 .
1722 When the operation is finished, <em class="parameter"><code>callback</code></em>
1723 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>).
1724 You can then call <a class="link" href="UDisksManager.html#udisks-manager-call-get-drives-finish" title="udisks_manager_call_get_drives_finish ()"><code class="function">udisks_manager_call_get_drives_finish()</code></a> to get the result of the operation.</p>
1725 <p>See <a class="link" href="UDisksManager.html#udisks-manager-call-get-drives-sync" title="udisks_manager_call_get_drives_sync ()"><code class="function">udisks_manager_call_get_drives_sync()</code></a> for the synchronous, blocking version of this method.</p>
1726 <div class="refsect3">
1727 <a name="udisks-manager-call-get-drives.parameters"></a><h4>Parameters</h4>
1728 <div class="informaltable"><table class="informaltable" width="100%" border="0">
1729 <colgroup>
1730 <col width="150px" class="parameters_name">
1731 <col class="parameters_description">
1732 <col width="200px" class="parameters_annotations">
1733 </colgroup>
1734 <tbody>
1735 <tr>
1736 <td class="parameter_name"><p>proxy</p></td>
1737 <td class="parameter_description"><p>A <a class="link" href="UDisksManager.html#UDisksManagerProxy"><span class="type">UDisksManagerProxy</span></a>.</p></td>
1738 <td class="parameter_annotations"> </td>
1739 </tr>
1740 <tr>
1741 <td class="parameter_name"><p>arg_options</p></td>
1742 <td class="parameter_description"><p>Argument to pass with the method invocation.</p></td>
1743 <td class="parameter_annotations"> </td>
1744 </tr>
1745 <tr>
1746 <td class="parameter_name"><p>cancellable</p></td>
1747 <td class="parameter_description"><p>A <span class="type">GCancellable</span> or <code class="literal">NULL</code>. </p></td>
1748 <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>
1749 </tr>
1750 <tr>
1751 <td class="parameter_name"><p>callback</p></td>
1752 <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>
1753 <td class="parameter_annotations"> </td>
1754 </tr>
1755 <tr>
1756 <td class="parameter_name"><p>user_data</p></td>
1757 <td class="parameter_description"><p>User data to pass to <em class="parameter"><code>callback</code></em>
1758 .</p></td>
1759 <td class="parameter_annotations"> </td>
1760 </tr>
1761 </tbody>
1762 </table></div>
1763 </div>
1764 <p class="since">Since: 2.11</p>
1765 </div>
1766 <hr>
1767 <div class="refsect2">
1768 <a name="udisks-manager-call-get-drives-finish"></a><h3>udisks_manager_call_get_drives_finish ()</h3>
1769 <pre class="programlisting"><span class="returnvalue">gboolean</span>
1770 udisks_manager_call_get_drives_finish (<em class="parameter"><code><a class="link" href="UDisksManager.html" title="UDisksManager"><span class="type">UDisksManager</span></a> *proxy</code></em>,
1771 <em class="parameter"><code><span class="type">gchar</span> ***out_drive_objects</code></em>,
1772 <em class="parameter"><code><span class="type">GAsyncResult</span> *res</code></em>,
1773 <em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
1774 <p>Finishes an operation started with <a class="link" href="UDisksManager.html#udisks-manager-call-get-drives" title="udisks_manager_call_get_drives ()"><code class="function">udisks_manager_call_get_drives()</code></a>.</p>
1775 <div class="refsect3">
1776 <a name="udisks-manager-call-get-drives-finish.parameters"></a><h4>Parameters</h4>
1777 <div class="informaltable"><table class="informaltable" width="100%" border="0">
1778 <colgroup>
1779 <col width="150px" class="parameters_name">
1780 <col class="parameters_description">
1781 <col width="200px" class="parameters_annotations">
1782 </colgroup>
1783 <tbody>
1784 <tr>
1785 <td class="parameter_name"><p>proxy</p></td>
1786 <td class="parameter_description"><p>A <a class="link" href="UDisksManager.html#UDisksManagerProxy"><span class="type">UDisksManagerProxy</span></a>.</p></td>
1787 <td class="parameter_annotations"> </td>
1788 </tr>
1789 <tr>
1790 <td class="parameter_name"><p>out_drive_objects</p></td>
1791 <td class="parameter_description"><p>Return location for return parameter or <code class="literal">NULL</code> to ignore. </p></td>
1792 <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL may be passed instead of a pointer to a location."><span class="acronym">optional</span></acronym>][<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> zero-terminated=1]</span></td>
1793 </tr>
1794 <tr>
1795 <td class="parameter_name"><p>res</p></td>
1796 <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="UDisksManager.html#udisks-manager-call-get-drives" title="udisks_manager_call_get_drives ()"><code class="function">udisks_manager_call_get_drives()</code></a>.</p></td>
1797 <td class="parameter_annotations"> </td>
1798 </tr>
1799 <tr>
1800 <td class="parameter_name"><p>error</p></td>
1801 <td class="parameter_description"><p>Return location for error or <code class="literal">NULL</code>.</p></td>
1802 <td class="parameter_annotations"> </td>
1803 </tr>
1804 </tbody>
1805 </table></div>
1806 </div>
1807 <div class="refsect3">
1808 <a name="udisks-manager-call-get-drives-finish.returns"></a><h4>Returns</h4>
1809 <p><code class="literal">TRUE</code> if the call succeeded, <code class="literal">FALSE</code> if <em class="parameter"><code>error</code></em>
1810 is set. </p>
1811 <p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
1812 </div>
1813 <p class="since">Since: 2.11</p>
1814 </div>
1815 <hr>
1816 <div class="refsect2">
1817 <a name="udisks-manager-call-get-drives-sync"></a><h3>udisks_manager_call_get_drives_sync ()</h3>
1818 <pre class="programlisting"><span class="returnvalue">gboolean</span>
1819 udisks_manager_call_get_drives_sync (<em class="parameter"><code><a class="link" href="UDisksManager.html" title="UDisksManager"><span class="type">UDisksManager</span></a> *proxy</code></em>,
1820 <em class="parameter"><code><span class="type">GVariant</span> *arg_options</code></em>,
1821 <em class="parameter"><code><span class="type">gchar</span> ***out_drive_objects</code></em>,
1822 <em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>,
1823 <em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
1824 <p>Synchronously invokes the <a class="link" href="gdbus-org.freedesktop.UDisks2.Manager.html#gdbus-method-org-freedesktop-UDisks2-Manager.GetDrives" title="The GetDrives() method"><code class="function">GetDrives()</code></a> D-Bus method on <em class="parameter"><code>proxy</code></em>
1825 . The calling thread is blocked until a reply is received.</p>
1826 <p>See <a class="link" href="UDisksManager.html#udisks-manager-call-get-drives" title="udisks_manager_call_get_drives ()"><code class="function">udisks_manager_call_get_drives()</code></a> for the asynchronous version of this method.</p>
1827 <div class="refsect3">
1828 <a name="udisks-manager-call-get-drives-sync.parameters"></a><h4>Parameters</h4>
1829 <div class="informaltable"><table class="informaltable" width="100%" border="0">
1830 <colgroup>
1831 <col width="150px" class="parameters_name">
1832 <col class="parameters_description">
1833 <col width="200px" class="parameters_annotations">
1834 </colgroup>
1835 <tbody>
1836 <tr>
1837 <td class="parameter_name"><p>proxy</p></td>
1838 <td class="parameter_description"><p>A <a class="link" href="UDisksManager.html#UDisksManagerProxy"><span class="type">UDisksManagerProxy</span></a>.</p></td>
1839 <td class="parameter_annotations"> </td>
1840 </tr>
1841 <tr>
1842 <td class="parameter_name"><p>arg_options</p></td>
1843 <td class="parameter_description"><p>Argument to pass with the method invocation.</p></td>
1844 <td class="parameter_annotations"> </td>
1845 </tr>
1846 <tr>
1847 <td class="parameter_name"><p>out_drive_objects</p></td>
1848 <td class="parameter_description"><p>Return location for return parameter or <code class="literal">NULL</code> to ignore. </p></td>
1849 <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL may be passed instead of a pointer to a location."><span class="acronym">optional</span></acronym>][<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> zero-terminated=1]</span></td>
1850 </tr>
1851 <tr>
1852 <td class="parameter_name"><p>cancellable</p></td>
1853 <td class="parameter_description"><p>A <span class="type">GCancellable</span> or <code class="literal">NULL</code>. </p></td>
1854 <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>
1855 </tr>
1856 <tr>
1857 <td class="parameter_name"><p>error</p></td>
1858 <td class="parameter_description"><p>Return location for error or <code class="literal">NULL</code>.</p></td>
1859 <td class="parameter_annotations"> </td>
1860 </tr>
1861 </tbody>
1862 </table></div>
1863 </div>
1864 <div class="refsect3">
1865 <a name="udisks-manager-call-get-drives-sync.returns"></a><h4>Returns</h4>
1866 <p><code class="literal">TRUE</code> if the call succeeded, <code class="literal">FALSE</code> if <em class="parameter"><code>error</code></em>
1867 is set. </p>
1868 <p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
1869 </div>
1870 <p class="since">Since: 2.11</p>
1871 </div>
1872 <hr>
1873 <div class="refsect2">
1874 <a name="udisks-manager-complete-get-drives"></a><h3>udisks_manager_complete_get_drives ()</h3>
1875 <pre class="programlisting"><span class="returnvalue">void</span>
1876 udisks_manager_complete_get_drives (<em class="parameter"><code><a class="link" href="UDisksManager.html" title="UDisksManager"><span class="type">UDisksManager</span></a> *object</code></em>,
1877 <em class="parameter"><code><span class="type">GDBusMethodInvocation</span> *invocation</code></em>,
1878 <em class="parameter"><code>const <span class="type">gchar</span> *const *drive_objects</code></em>);</pre>
1879 <p>Helper function used in service implementations to finish handling invocations of the <a class="link" href="gdbus-org.freedesktop.UDisks2.Manager.html#gdbus-method-org-freedesktop-UDisks2-Manager.GetDrives" title="The GetDrives() method"><code class="function">GetDrives()</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>
1880 <p>This method will free <em class="parameter"><code>invocation</code></em>
1881 , you cannot use it afterwards.</p>
1882 <div class="refsect3">
1883 <a name="udisks-manager-complete-get-drives.parameters"></a><h4>Parameters</h4>
1884 <div class="informaltable"><table class="informaltable" width="100%" border="0">
1885 <colgroup>
1886 <col width="150px" class="parameters_name">
1887 <col class="parameters_description">
1888 <col width="200px" class="parameters_annotations">
1889 </colgroup>
1890 <tbody>
1891 <tr>
1892 <td class="parameter_name"><p>object</p></td>
1893 <td class="parameter_description"><p>A <a class="link" href="UDisksManager.html" title="UDisksManager"><span class="type">UDisksManager</span></a>.</p></td>
1894 <td class="parameter_annotations"> </td>
1895 </tr>
1896 <tr>
1897 <td class="parameter_name"><p>invocation</p></td>
1898 <td class="parameter_description"><p>A <span class="type">GDBusMethodInvocation</span>. </p></td>
1899 <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>
1900 </tr>
1901 <tr>
1902 <td class="parameter_name"><p>drive_objects</p></td>
1903 <td class="parameter_description"><p>Parameter to return.</p></td>
1904 <td class="parameter_annotations"> </td>
1905 </tr>
1906 </tbody>
1907 </table></div>
1908 </div>
1909 <p class="since">Since: 2.11</p>
1910 </div>
1911 <hr>
1912 <div class="refsect2">
1913 <a name="udisks-manager-call-can-resize"></a><h3>udisks_manager_call_can_resize ()</h3>
1914 <pre class="programlisting"><span class="returnvalue">void</span>
1915 udisks_manager_call_can_resize (<em class="parameter"><code><a class="link" href="UDisksManager.html" title="UDisksManager"><span class="type">UDisksManager</span></a> *proxy</code></em>,
1916 <em class="parameter"><code>const <span class="type">gchar</span> *arg_type</code></em>,
1917 <em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>,
1918 <em class="parameter"><code><span class="type">GAsyncReadyCallback</span> callback</code></em>,
1919 <em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);</pre>
1920 <p>Asynchronously invokes the <a class="link" href="gdbus-org.freedesktop.UDisks2.Manager.html#gdbus-method-org-freedesktop-UDisks2-Manager.CanResize" title="The CanResize() method"><code class="function">CanResize()</code></a> D-Bus method on <em class="parameter"><code>proxy</code></em>
1921 .
1922 When the operation is finished, <em class="parameter"><code>callback</code></em>
1923 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>).
1924 You can then call <a class="link" href="UDisksManager.html#udisks-manager-call-can-resize-finish" title="udisks_manager_call_can_resize_finish ()"><code class="function">udisks_manager_call_can_resize_finish()</code></a> to get the result of the operation.</p>
1925 <p>See <a class="link" href="UDisksManager.html#udisks-manager-call-can-resize-sync" title="udisks_manager_call_can_resize_sync ()"><code class="function">udisks_manager_call_can_resize_sync()</code></a> for the synchronous, blocking version of this method.</p>
1926 <div class="refsect3">
1927 <a name="udisks-manager-call-can-resize.parameters"></a><h4>Parameters</h4>
1928 <div class="informaltable"><table class="informaltable" width="100%" border="0">
1929 <colgroup>
1930 <col width="150px" class="parameters_name">
1931 <col class="parameters_description">
1932 <col width="200px" class="parameters_annotations">
1933 </colgroup>
1934 <tbody>
1935 <tr>
1936 <td class="parameter_name"><p>proxy</p></td>
1937 <td class="parameter_description"><p>A <a class="link" href="UDisksManager.html#UDisksManagerProxy"><span class="type">UDisksManagerProxy</span></a>.</p></td>
1938 <td class="parameter_annotations"> </td>
1939 </tr>
1940 <tr>
1941 <td class="parameter_name"><p>arg_type</p></td>
1942 <td class="parameter_description"><p>Argument to pass with the method invocation.</p></td>
1943 <td class="parameter_annotations"> </td>
1944 </tr>
1945 <tr>
1946 <td class="parameter_name"><p>cancellable</p></td>
1947 <td class="parameter_description"><p>A <span class="type">GCancellable</span> or <code class="literal">NULL</code>. </p></td>
1948 <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>
1949 </tr>
1950 <tr>
1951 <td class="parameter_name"><p>callback</p></td>
1952 <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>
1953 <td class="parameter_annotations"> </td>
1954 </tr>
1955 <tr>
1956 <td class="parameter_name"><p>user_data</p></td>
1957 <td class="parameter_description"><p>User data to pass to <em class="parameter"><code>callback</code></em>
1958 .</p></td>
1959 <td class="parameter_annotations"> </td>
1960 </tr>
1961 </tbody>
1962 </table></div>
1963 </div>
1964 <p class="since">Since: 2.7.2</p>
1965 </div>
1966 <hr>
1967 <div class="refsect2">
1968 <a name="udisks-manager-call-can-resize-finish"></a><h3>udisks_manager_call_can_resize_finish ()</h3>
1969 <pre class="programlisting"><span class="returnvalue">gboolean</span>
1970 udisks_manager_call_can_resize_finish (<em class="parameter"><code><a class="link" href="UDisksManager.html" title="UDisksManager"><span class="type">UDisksManager</span></a> *proxy</code></em>,
1971 <em class="parameter"><code><span class="type">GVariant</span> **out_available</code></em>,
1972 <em class="parameter"><code><span class="type">GAsyncResult</span> *res</code></em>,
1973 <em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
1974 <p>Finishes an operation started with <a class="link" href="UDisksManager.html#udisks-manager-call-can-resize" title="udisks_manager_call_can_resize ()"><code class="function">udisks_manager_call_can_resize()</code></a>.</p>
1975 <div class="refsect3">
1976 <a name="udisks-manager-call-can-resize-finish.parameters"></a><h4>Parameters</h4>
1977 <div class="informaltable"><table class="informaltable" width="100%" border="0">
1978 <colgroup>
1979 <col width="150px" class="parameters_name">
1980 <col class="parameters_description">
1981 <col width="200px" class="parameters_annotations">
1982 </colgroup>
1983 <tbody>
1984 <tr>
1985 <td class="parameter_name"><p>proxy</p></td>
1986 <td class="parameter_description"><p>A <a class="link" href="UDisksManager.html#UDisksManagerProxy"><span class="type">UDisksManagerProxy</span></a>.</p></td>
1987 <td class="parameter_annotations"> </td>
1988 </tr>
1989 <tr>
1990 <td class="parameter_name"><p>out_available</p></td>
1991 <td class="parameter_description"><p>Return location for return parameter or <code class="literal">NULL</code> to ignore. </p></td>
1992 <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL may be passed instead of a pointer to a location."><span class="acronym">optional</span></acronym>]</span></td>
1993 </tr>
1994 <tr>
1995 <td class="parameter_name"><p>res</p></td>
1996 <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="UDisksManager.html#udisks-manager-call-can-resize" title="udisks_manager_call_can_resize ()"><code class="function">udisks_manager_call_can_resize()</code></a>.</p></td>
1997 <td class="parameter_annotations"> </td>
1998 </tr>
1999 <tr>
2000 <td class="parameter_name"><p>error</p></td>
2001 <td class="parameter_description"><p>Return location for error or <code class="literal">NULL</code>.</p></td>
2002 <td class="parameter_annotations"> </td>
2003 </tr>
2004 </tbody>
2005 </table></div>
2006 </div>
2007 <div class="refsect3">
2008 <a name="udisks-manager-call-can-resize-finish.returns"></a><h4>Returns</h4>
2009 <p><code class="literal">TRUE</code> if the call succeeded, <code class="literal">FALSE</code> if <em class="parameter"><code>error</code></em>
2010 is set. </p>
2011 <p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
2012 </div>
2013 <p class="since">Since: 2.7.2</p>
2014 </div>
2015 <hr>
2016 <div class="refsect2">
2017 <a name="udisks-manager-call-can-resize-sync"></a><h3>udisks_manager_call_can_resize_sync ()</h3>
2018 <pre class="programlisting"><span class="returnvalue">gboolean</span>
2019 udisks_manager_call_can_resize_sync (<em class="parameter"><code><a class="link" href="UDisksManager.html" title="UDisksManager"><span class="type">UDisksManager</span></a> *proxy</code></em>,
2020 <em class="parameter"><code>const <span class="type">gchar</span> *arg_type</code></em>,
2021 <em class="parameter"><code><span class="type">GVariant</span> **out_available</code></em>,
2022 <em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>,
2023 <em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
2024 <p>Synchronously invokes the <a class="link" href="gdbus-org.freedesktop.UDisks2.Manager.html#gdbus-method-org-freedesktop-UDisks2-Manager.CanResize" title="The CanResize() method"><code class="function">CanResize()</code></a> D-Bus method on <em class="parameter"><code>proxy</code></em>
2025 . The calling thread is blocked until a reply is received.</p>
2026 <p>See <a class="link" href="UDisksManager.html#udisks-manager-call-can-resize" title="udisks_manager_call_can_resize ()"><code class="function">udisks_manager_call_can_resize()</code></a> for the asynchronous version of this method.</p>
2027 <div class="refsect3">
2028 <a name="udisks-manager-call-can-resize-sync.parameters"></a><h4>Parameters</h4>
2029 <div class="informaltable"><table class="informaltable" width="100%" border="0">
2030 <colgroup>
2031 <col width="150px" class="parameters_name">
2032 <col class="parameters_description">
2033 <col width="200px" class="parameters_annotations">
2034 </colgroup>
2035 <tbody>
2036 <tr>
2037 <td class="parameter_name"><p>proxy</p></td>
2038 <td class="parameter_description"><p>A <a class="link" href="UDisksManager.html#UDisksManagerProxy"><span class="type">UDisksManagerProxy</span></a>.</p></td>
2039 <td class="parameter_annotations"> </td>
2040 </tr>
2041 <tr>
2042 <td class="parameter_name"><p>arg_type</p></td>
2043 <td class="parameter_description"><p>Argument to pass with the method invocation.</p></td>
2044 <td class="parameter_annotations"> </td>
2045 </tr>
2046 <tr>
2047 <td class="parameter_name"><p>out_available</p></td>
2048 <td class="parameter_description"><p>Return location for return parameter or <code class="literal">NULL</code> to ignore. </p></td>
2049 <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL may be passed instead of a pointer to a location."><span class="acronym">optional</span></acronym>]</span></td>
2050 </tr>
2051 <tr>
2052 <td class="parameter_name"><p>cancellable</p></td>
2053 <td class="parameter_description"><p>A <span class="type">GCancellable</span> or <code class="literal">NULL</code>. </p></td>
2054 <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>
2055 </tr>
2056 <tr>
2057 <td class="parameter_name"><p>error</p></td>
2058 <td class="parameter_description"><p>Return location for error or <code class="literal">NULL</code>.</p></td>
2059 <td class="parameter_annotations"> </td>
2060 </tr>
2061 </tbody>
2062 </table></div>
2063 </div>
2064 <div class="refsect3">
2065 <a name="udisks-manager-call-can-resize-sync.returns"></a><h4>Returns</h4>
2066 <p><code class="literal">TRUE</code> if the call succeeded, <code class="literal">FALSE</code> if <em class="parameter"><code>error</code></em>
2067 is set. </p>
2068 <p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
2069 </div>
2070 <p class="since">Since: 2.7.2</p>
2071 </div>
2072 <hr>
2073 <div class="refsect2">
2074 <a name="udisks-manager-complete-can-resize"></a><h3>udisks_manager_complete_can_resize ()</h3>
2075 <pre class="programlisting"><span class="returnvalue">void</span>
2076 udisks_manager_complete_can_resize (<em class="parameter"><code><a class="link" href="UDisksManager.html" title="UDisksManager"><span class="type">UDisksManager</span></a> *object</code></em>,
2077 <em class="parameter"><code><span class="type">GDBusMethodInvocation</span> *invocation</code></em>,
2078 <em class="parameter"><code><span class="type">GVariant</span> *available</code></em>);</pre>
2079 <p>Helper function used in service implementations to finish handling invocations of the <a class="link" href="gdbus-org.freedesktop.UDisks2.Manager.html#gdbus-method-org-freedesktop-UDisks2-Manager.CanResize" title="The CanResize() method"><code class="function">CanResize()</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>
2080 <p>This method will free <em class="parameter"><code>invocation</code></em>
2081 , you cannot use it afterwards.</p>
2082 <div class="refsect3">
2083 <a name="udisks-manager-complete-can-resize.parameters"></a><h4>Parameters</h4>
2084 <div class="informaltable"><table class="informaltable" width="100%" border="0">
2085 <colgroup>
2086 <col width="150px" class="parameters_name">
2087 <col class="parameters_description">
2088 <col width="200px" class="parameters_annotations">
2089 </colgroup>
2090 <tbody>
2091 <tr>
2092 <td class="parameter_name"><p>object</p></td>
2093 <td class="parameter_description"><p>A <a class="link" href="UDisksManager.html" title="UDisksManager"><span class="type">UDisksManager</span></a>.</p></td>
2094 <td class="parameter_annotations"> </td>
2095 </tr>
2096 <tr>
2097 <td class="parameter_name"><p>invocation</p></td>
2098 <td class="parameter_description"><p>A <span class="type">GDBusMethodInvocation</span>. </p></td>
2099 <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>
2100 </tr>
2101 <tr>
2102 <td class="parameter_name"><p>available</p></td>
2103 <td class="parameter_description"><p>Parameter to return.</p></td>
2104 <td class="parameter_annotations"> </td>
2105 </tr>
2106 </tbody>
2107 </table></div>
2108 </div>
2109 <p class="since">Since: 2.7.2</p>
2110 </div>
2111 <hr>
2112 <div class="refsect2">
2113 <a name="udisks-manager-call-can-check"></a><h3>udisks_manager_call_can_check ()</h3>
2114 <pre class="programlisting"><span class="returnvalue">void</span>
2115 udisks_manager_call_can_check (<em class="parameter"><code><a class="link" href="UDisksManager.html" title="UDisksManager"><span class="type">UDisksManager</span></a> *proxy</code></em>,
2116 <em class="parameter"><code>const <span class="type">gchar</span> *arg_type</code></em>,
2117 <em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>,
2118 <em class="parameter"><code><span class="type">GAsyncReadyCallback</span> callback</code></em>,
2119 <em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);</pre>
2120 <p>Asynchronously invokes the <a class="link" href="gdbus-org.freedesktop.UDisks2.Manager.html#gdbus-method-org-freedesktop-UDisks2-Manager.CanCheck" title="The CanCheck() method"><code class="function">CanCheck()</code></a> D-Bus method on <em class="parameter"><code>proxy</code></em>
2121 .
2122 When the operation is finished, <em class="parameter"><code>callback</code></em>
2123 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>).
2124 You can then call <a class="link" href="UDisksManager.html#udisks-manager-call-can-check-finish" title="udisks_manager_call_can_check_finish ()"><code class="function">udisks_manager_call_can_check_finish()</code></a> to get the result of the operation.</p>
2125 <p>See <a class="link" href="UDisksManager.html#udisks-manager-call-can-check-sync" title="udisks_manager_call_can_check_sync ()"><code class="function">udisks_manager_call_can_check_sync()</code></a> for the synchronous, blocking version of this method.</p>
2126 <div class="refsect3">
2127 <a name="udisks-manager-call-can-check.parameters"></a><h4>Parameters</h4>
2128 <div class="informaltable"><table class="informaltable" width="100%" border="0">
2129 <colgroup>
2130 <col width="150px" class="parameters_name">
2131 <col class="parameters_description">
2132 <col width="200px" class="parameters_annotations">
2133 </colgroup>
2134 <tbody>
2135 <tr>
2136 <td class="parameter_name"><p>proxy</p></td>
2137 <td class="parameter_description"><p>A <a class="link" href="UDisksManager.html#UDisksManagerProxy"><span class="type">UDisksManagerProxy</span></a>.</p></td>
2138 <td class="parameter_annotations"> </td>
2139 </tr>
2140 <tr>
2141 <td class="parameter_name"><p>arg_type</p></td>
2142 <td class="parameter_description"><p>Argument to pass with the method invocation.</p></td>
2143 <td class="parameter_annotations"> </td>
2144 </tr>
2145 <tr>
2146 <td class="parameter_name"><p>cancellable</p></td>
2147 <td class="parameter_description"><p>A <span class="type">GCancellable</span> or <code class="literal">NULL</code>. </p></td>
2148 <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>
2149 </tr>
2150 <tr>
2151 <td class="parameter_name"><p>callback</p></td>
2152 <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>
2153 <td class="parameter_annotations"> </td>
2154 </tr>
2155 <tr>
2156 <td class="parameter_name"><p>user_data</p></td>
2157 <td class="parameter_description"><p>User data to pass to <em class="parameter"><code>callback</code></em>
2158 .</p></td>
2159 <td class="parameter_annotations"> </td>
2160 </tr>
2161 </tbody>
2162 </table></div>
2163 </div>
2164 <p class="since">Since: 2.7.2</p>
2165 </div>
2166 <hr>
2167 <div class="refsect2">
2168 <a name="udisks-manager-call-can-check-finish"></a><h3>udisks_manager_call_can_check_finish ()</h3>
2169 <pre class="programlisting"><span class="returnvalue">gboolean</span>
2170 udisks_manager_call_can_check_finish (<em class="parameter"><code><a class="link" href="UDisksManager.html" title="UDisksManager"><span class="type">UDisksManager</span></a> *proxy</code></em>,
2171 <em class="parameter"><code><span class="type">GVariant</span> **out_available</code></em>,
2172 <em class="parameter"><code><span class="type">GAsyncResult</span> *res</code></em>,
2173 <em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
2174 <p>Finishes an operation started with <a class="link" href="UDisksManager.html#udisks-manager-call-can-check" title="udisks_manager_call_can_check ()"><code class="function">udisks_manager_call_can_check()</code></a>.</p>
2175 <div class="refsect3">
2176 <a name="udisks-manager-call-can-check-finish.parameters"></a><h4>Parameters</h4>
2177 <div class="informaltable"><table class="informaltable" width="100%" border="0">
2178 <colgroup>
2179 <col width="150px" class="parameters_name">
2180 <col class="parameters_description">
2181 <col width="200px" class="parameters_annotations">
2182 </colgroup>
2183 <tbody>
2184 <tr>
2185 <td class="parameter_name"><p>proxy</p></td>
2186 <td class="parameter_description"><p>A <a class="link" href="UDisksManager.html#UDisksManagerProxy"><span class="type">UDisksManagerProxy</span></a>.</p></td>
2187 <td class="parameter_annotations"> </td>
2188 </tr>
2189 <tr>
2190 <td class="parameter_name"><p>out_available</p></td>
2191 <td class="parameter_description"><p>Return location for return parameter or <code class="literal">NULL</code> to ignore. </p></td>
2192 <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL may be passed instead of a pointer to a location."><span class="acronym">optional</span></acronym>]</span></td>
2193 </tr>
2194 <tr>
2195 <td class="parameter_name"><p>res</p></td>
2196 <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="UDisksManager.html#udisks-manager-call-can-check" title="udisks_manager_call_can_check ()"><code class="function">udisks_manager_call_can_check()</code></a>.</p></td>
2197 <td class="parameter_annotations"> </td>
2198 </tr>
2199 <tr>
2200 <td class="parameter_name"><p>error</p></td>
2201 <td class="parameter_description"><p>Return location for error or <code class="literal">NULL</code>.</p></td>
2202 <td class="parameter_annotations"> </td>
2203 </tr>
2204 </tbody>
2205 </table></div>
2206 </div>
2207 <div class="refsect3">
2208 <a name="udisks-manager-call-can-check-finish.returns"></a><h4>Returns</h4>
2209 <p><code class="literal">TRUE</code> if the call succeeded, <code class="literal">FALSE</code> if <em class="parameter"><code>error</code></em>
2210 is set. </p>
2211 <p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
2212 </div>
2213 <p class="since">Since: 2.7.2</p>
2214 </div>
2215 <hr>
2216 <div class="refsect2">
2217 <a name="udisks-manager-call-can-check-sync"></a><h3>udisks_manager_call_can_check_sync ()</h3>
2218 <pre class="programlisting"><span class="returnvalue">gboolean</span>
2219 udisks_manager_call_can_check_sync (<em class="parameter"><code><a class="link" href="UDisksManager.html" title="UDisksManager"><span class="type">UDisksManager</span></a> *proxy</code></em>,
2220 <em class="parameter"><code>const <span class="type">gchar</span> *arg_type</code></em>,
2221 <em class="parameter"><code><span class="type">GVariant</span> **out_available</code></em>,
2222 <em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>,
2223 <em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
2224 <p>Synchronously invokes the <a class="link" href="gdbus-org.freedesktop.UDisks2.Manager.html#gdbus-method-org-freedesktop-UDisks2-Manager.CanCheck" title="The CanCheck() method"><code class="function">CanCheck()</code></a> D-Bus method on <em class="parameter"><code>proxy</code></em>
2225 . The calling thread is blocked until a reply is received.</p>
2226 <p>See <a class="link" href="UDisksManager.html#udisks-manager-call-can-check" title="udisks_manager_call_can_check ()"><code class="function">udisks_manager_call_can_check()</code></a> for the asynchronous version of this method.</p>
2227 <div class="refsect3">
2228 <a name="udisks-manager-call-can-check-sync.parameters"></a><h4>Parameters</h4>
2229 <div class="informaltable"><table class="informaltable" width="100%" border="0">
2230 <colgroup>
2231 <col width="150px" class="parameters_name">
2232 <col class="parameters_description">
2233 <col width="200px" class="parameters_annotations">
2234 </colgroup>
2235 <tbody>
2236 <tr>
2237 <td class="parameter_name"><p>proxy</p></td>
2238 <td class="parameter_description"><p>A <a class="link" href="UDisksManager.html#UDisksManagerProxy"><span class="type">UDisksManagerProxy</span></a>.</p></td>
2239 <td class="parameter_annotations"> </td>
2240 </tr>
2241 <tr>
2242 <td class="parameter_name"><p>arg_type</p></td>
2243 <td class="parameter_description"><p>Argument to pass with the method invocation.</p></td>
2244 <td class="parameter_annotations"> </td>
2245 </tr>
2246 <tr>
2247 <td class="parameter_name"><p>out_available</p></td>
2248 <td class="parameter_description"><p>Return location for return parameter or <code class="literal">NULL</code> to ignore. </p></td>
2249 <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL may be passed instead of a pointer to a location."><span class="acronym">optional</span></acronym>]</span></td>
2250 </tr>
2251 <tr>
2252 <td class="parameter_name"><p>cancellable</p></td>
2253 <td class="parameter_description"><p>A <span class="type">GCancellable</span> or <code class="literal">NULL</code>. </p></td>
2254 <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>
2255 </tr>
2256 <tr>
2257 <td class="parameter_name"><p>error</p></td>
2258 <td class="parameter_description"><p>Return location for error or <code class="literal">NULL</code>.</p></td>
2259 <td class="parameter_annotations"> </td>
2260 </tr>
2261 </tbody>
2262 </table></div>
2263 </div>
2264 <div class="refsect3">
2265 <a name="udisks-manager-call-can-check-sync.returns"></a><h4>Returns</h4>
2266 <p><code class="literal">TRUE</code> if the call succeeded, <code class="literal">FALSE</code> if <em class="parameter"><code>error</code></em>
2267 is set. </p>
2268 <p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
2269 </div>
2270 <p class="since">Since: 2.7.2</p>
2271 </div>
2272 <hr>
2273 <div class="refsect2">
2274 <a name="udisks-manager-complete-can-check"></a><h3>udisks_manager_complete_can_check ()</h3>
2275 <pre class="programlisting"><span class="returnvalue">void</span>
2276 udisks_manager_complete_can_check (<em class="parameter"><code><a class="link" href="UDisksManager.html" title="UDisksManager"><span class="type">UDisksManager</span></a> *object</code></em>,
2277 <em class="parameter"><code><span class="type">GDBusMethodInvocation</span> *invocation</code></em>,
2278 <em class="parameter"><code><span class="type">GVariant</span> *available</code></em>);</pre>
2279 <p>Helper function used in service implementations to finish handling invocations of the <a class="link" href="gdbus-org.freedesktop.UDisks2.Manager.html#gdbus-method-org-freedesktop-UDisks2-Manager.CanCheck" title="The CanCheck() method"><code class="function">CanCheck()</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>
2280 <p>This method will free <em class="parameter"><code>invocation</code></em>
2281 , you cannot use it afterwards.</p>
2282 <div class="refsect3">
2283 <a name="udisks-manager-complete-can-check.parameters"></a><h4>Parameters</h4>
2284 <div class="informaltable"><table class="informaltable" width="100%" border="0">
2285 <colgroup>
2286 <col width="150px" class="parameters_name">
2287 <col class="parameters_description">
2288 <col width="200px" class="parameters_annotations">
2289 </colgroup>
2290 <tbody>
2291 <tr>
2292 <td class="parameter_name"><p>object</p></td>
2293 <td class="parameter_description"><p>A <a class="link" href="UDisksManager.html" title="UDisksManager"><span class="type">UDisksManager</span></a>.</p></td>
2294 <td class="parameter_annotations"> </td>
2295 </tr>
2296 <tr>
2297 <td class="parameter_name"><p>invocation</p></td>
2298 <td class="parameter_description"><p>A <span class="type">GDBusMethodInvocation</span>. </p></td>
2299 <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>
2300 </tr>
2301 <tr>
2302 <td class="parameter_name"><p>available</p></td>
2303 <td class="parameter_description"><p>Parameter to return.</p></td>
2304 <td class="parameter_annotations"> </td>
2305 </tr>
2306 </tbody>
2307 </table></div>
2308 </div>
2309 <p class="since">Since: 2.7.2</p>
2310 </div>
2311 <hr>
2312 <div class="refsect2">
2313 <a name="udisks-manager-call-can-repair"></a><h3>udisks_manager_call_can_repair ()</h3>
2314 <pre class="programlisting"><span class="returnvalue">void</span>
2315 udisks_manager_call_can_repair (<em class="parameter"><code><a class="link" href="UDisksManager.html" title="UDisksManager"><span class="type">UDisksManager</span></a> *proxy</code></em>,
2316 <em class="parameter"><code>const <span class="type">gchar</span> *arg_type</code></em>,
2317 <em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>,
2318 <em class="parameter"><code><span class="type">GAsyncReadyCallback</span> callback</code></em>,
2319 <em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);</pre>
2320 <p>Asynchronously invokes the <a class="link" href="gdbus-org.freedesktop.UDisks2.Manager.html#gdbus-method-org-freedesktop-UDisks2-Manager.CanRepair" title="The CanRepair() method"><code class="function">CanRepair()</code></a> D-Bus method on <em class="parameter"><code>proxy</code></em>
2321 .
2322 When the operation is finished, <em class="parameter"><code>callback</code></em>
2323 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>).
2324 You can then call <a class="link" href="UDisksManager.html#udisks-manager-call-can-repair-finish" title="udisks_manager_call_can_repair_finish ()"><code class="function">udisks_manager_call_can_repair_finish()</code></a> to get the result of the operation.</p>
2325 <p>See <a class="link" href="UDisksManager.html#udisks-manager-call-can-repair-sync" title="udisks_manager_call_can_repair_sync ()"><code class="function">udisks_manager_call_can_repair_sync()</code></a> for the synchronous, blocking version of this method.</p>
2326 <div class="refsect3">
2327 <a name="udisks-manager-call-can-repair.parameters"></a><h4>Parameters</h4>
2328 <div class="informaltable"><table class="informaltable" width="100%" border="0">
2329 <colgroup>
2330 <col width="150px" class="parameters_name">
2331 <col class="parameters_description">
2332 <col width="200px" class="parameters_annotations">
2333 </colgroup>
2334 <tbody>
2335 <tr>
2336 <td class="parameter_name"><p>proxy</p></td>
2337 <td class="parameter_description"><p>A <a class="link" href="UDisksManager.html#UDisksManagerProxy"><span class="type">UDisksManagerProxy</span></a>.</p></td>
2338 <td class="parameter_annotations"> </td>
2339 </tr>
2340 <tr>
2341 <td class="parameter_name"><p>arg_type</p></td>
2342 <td class="parameter_description"><p>Argument to pass with the method invocation.</p></td>
2343 <td class="parameter_annotations"> </td>
2344 </tr>
2345 <tr>
2346 <td class="parameter_name"><p>cancellable</p></td>
2347 <td class="parameter_description"><p>A <span class="type">GCancellable</span> or <code class="literal">NULL</code>. </p></td>
2348 <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>
2349 </tr>
2350 <tr>
2351 <td class="parameter_name"><p>callback</p></td>
2352 <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>
2353 <td class="parameter_annotations"> </td>
2354 </tr>
2355 <tr>
2356 <td class="parameter_name"><p>user_data</p></td>
2357 <td class="parameter_description"><p>User data to pass to <em class="parameter"><code>callback</code></em>
2358 .</p></td>
2359 <td class="parameter_annotations"> </td>
2360 </tr>
2361 </tbody>
2362 </table></div>
2363 </div>
2364 <p class="since">Since: 2.7.2</p>
2365 </div>
2366 <hr>
2367 <div class="refsect2">
2368 <a name="udisks-manager-call-can-repair-finish"></a><h3>udisks_manager_call_can_repair_finish ()</h3>
2369 <pre class="programlisting"><span class="returnvalue">gboolean</span>
2370 udisks_manager_call_can_repair_finish (<em class="parameter"><code><a class="link" href="UDisksManager.html" title="UDisksManager"><span class="type">UDisksManager</span></a> *proxy</code></em>,
2371 <em class="parameter"><code><span class="type">GVariant</span> **out_available</code></em>,
2372 <em class="parameter"><code><span class="type">GAsyncResult</span> *res</code></em>,
2373 <em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
2374 <p>Finishes an operation started with <a class="link" href="UDisksManager.html#udisks-manager-call-can-repair" title="udisks_manager_call_can_repair ()"><code class="function">udisks_manager_call_can_repair()</code></a>.</p>
2375 <div class="refsect3">
2376 <a name="udisks-manager-call-can-repair-finish.parameters"></a><h4>Parameters</h4>
2377 <div class="informaltable"><table class="informaltable" width="100%" border="0">
2378 <colgroup>
2379 <col width="150px" class="parameters_name">
2380 <col class="parameters_description">
2381 <col width="200px" class="parameters_annotations">
2382 </colgroup>
2383 <tbody>
2384 <tr>
2385 <td class="parameter_name"><p>proxy</p></td>
2386 <td class="parameter_description"><p>A <a class="link" href="UDisksManager.html#UDisksManagerProxy"><span class="type">UDisksManagerProxy</span></a>.</p></td>
2387 <td class="parameter_annotations"> </td>
2388 </tr>
2389 <tr>
2390 <td class="parameter_name"><p>out_available</p></td>
2391 <td class="parameter_description"><p>Return location for return parameter or <code class="literal">NULL</code> to ignore. </p></td>
2392 <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL may be passed instead of a pointer to a location."><span class="acronym">optional</span></acronym>]</span></td>
2393 </tr>
2394 <tr>
2395 <td class="parameter_name"><p>res</p></td>
2396 <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="UDisksManager.html#udisks-manager-call-can-repair" title="udisks_manager_call_can_repair ()"><code class="function">udisks_manager_call_can_repair()</code></a>.</p></td>
2397 <td class="parameter_annotations"> </td>
2398 </tr>
2399 <tr>
2400 <td class="parameter_name"><p>error</p></td>
2401 <td class="parameter_description"><p>Return location for error or <code class="literal">NULL</code>.</p></td>
2402 <td class="parameter_annotations"> </td>
2403 </tr>
2404 </tbody>
2405 </table></div>
2406 </div>
2407 <div class="refsect3">
2408 <a name="udisks-manager-call-can-repair-finish.returns"></a><h4>Returns</h4>
2409 <p><code class="literal">TRUE</code> if the call succeeded, <code class="literal">FALSE</code> if <em class="parameter"><code>error</code></em>
2410 is set. </p>
2411 <p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
2412 </div>
2413 <p class="since">Since: 2.7.2</p>
2414 </div>
2415 <hr>
2416 <div class="refsect2">
2417 <a name="udisks-manager-call-can-repair-sync"></a><h3>udisks_manager_call_can_repair_sync ()</h3>
2418 <pre class="programlisting"><span class="returnvalue">gboolean</span>
2419 udisks_manager_call_can_repair_sync (<em class="parameter"><code><a class="link" href="UDisksManager.html" title="UDisksManager"><span class="type">UDisksManager</span></a> *proxy</code></em>,
2420 <em class="parameter"><code>const <span class="type">gchar</span> *arg_type</code></em>,
2421 <em class="parameter"><code><span class="type">GVariant</span> **out_available</code></em>,
2422 <em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>,
2423 <em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
2424 <p>Synchronously invokes the <a class="link" href="gdbus-org.freedesktop.UDisks2.Manager.html#gdbus-method-org-freedesktop-UDisks2-Manager.CanRepair" title="The CanRepair() method"><code class="function">CanRepair()</code></a> D-Bus method on <em class="parameter"><code>proxy</code></em>
2425 . The calling thread is blocked until a reply is received.</p>
2426 <p>See <a class="link" href="UDisksManager.html#udisks-manager-call-can-repair" title="udisks_manager_call_can_repair ()"><code class="function">udisks_manager_call_can_repair()</code></a> for the asynchronous version of this method.</p>
2427 <div class="refsect3">
2428 <a name="udisks-manager-call-can-repair-sync.parameters"></a><h4>Parameters</h4>
2429 <div class="informaltable"><table class="informaltable" width="100%" border="0">
2430 <colgroup>
2431 <col width="150px" class="parameters_name">
2432 <col class="parameters_description">
2433 <col width="200px" class="parameters_annotations">
2434 </colgroup>
2435 <tbody>
2436 <tr>
2437 <td class="parameter_name"><p>proxy</p></td>
2438 <td class="parameter_description"><p>A <a class="link" href="UDisksManager.html#UDisksManagerProxy"><span class="type">UDisksManagerProxy</span></a>.</p></td>
2439 <td class="parameter_annotations"> </td>
2440 </tr>
2441 <tr>
2442 <td class="parameter_name"><p>arg_type</p></td>
2443 <td class="parameter_description"><p>Argument to pass with the method invocation.</p></td>
2444 <td class="parameter_annotations"> </td>
2445 </tr>
2446 <tr>
2447 <td class="parameter_name"><p>out_available</p></td>
2448 <td class="parameter_description"><p>Return location for return parameter or <code class="literal">NULL</code> to ignore. </p></td>
2449 <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL may be passed instead of a pointer to a location."><span class="acronym">optional</span></acronym>]</span></td>
2450 </tr>
2451 <tr>
2452 <td class="parameter_name"><p>cancellable</p></td>
2453 <td class="parameter_description"><p>A <span class="type">GCancellable</span> or <code class="literal">NULL</code>. </p></td>
2454 <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>
2455 </tr>
2456 <tr>
2457 <td class="parameter_name"><p>error</p></td>
2458 <td class="parameter_description"><p>Return location for error or <code class="literal">NULL</code>.</p></td>
2459 <td class="parameter_annotations"> </td>
2460 </tr>
2461 </tbody>
2462 </table></div>
2463 </div>
2464 <div class="refsect3">
2465 <a name="udisks-manager-call-can-repair-sync.returns"></a><h4>Returns</h4>
2466 <p><code class="literal">TRUE</code> if the call succeeded, <code class="literal">FALSE</code> if <em class="parameter"><code>error</code></em>
2467 is set. </p>
2468 <p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
2469 </div>
2470 <p class="since">Since: 2.7.2</p>
2471 </div>
2472 <hr>
2473 <div class="refsect2">
2474 <a name="udisks-manager-complete-can-repair"></a><h3>udisks_manager_complete_can_repair ()</h3>
2475 <pre class="programlisting"><span class="returnvalue">void</span>
2476 udisks_manager_complete_can_repair (<em class="parameter"><code><a class="link" href="UDisksManager.html" title="UDisksManager"><span class="type">UDisksManager</span></a> *object</code></em>,
2477 <em class="parameter"><code><span class="type">GDBusMethodInvocation</span> *invocation</code></em>,
2478 <em class="parameter"><code><span class="type">GVariant</span> *available</code></em>);</pre>
2479 <p>Helper function used in service implementations to finish handling invocations of the <a class="link" href="gdbus-org.freedesktop.UDisks2.Manager.html#gdbus-method-org-freedesktop-UDisks2-Manager.CanRepair" title="The CanRepair() method"><code class="function">CanRepair()</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>
2480 <p>This method will free <em class="parameter"><code>invocation</code></em>
2481 , you cannot use it afterwards.</p>
2482 <div class="refsect3">
2483 <a name="udisks-manager-complete-can-repair.parameters"></a><h4>Parameters</h4>
2484 <div class="informaltable"><table class="informaltable" width="100%" border="0">
2485 <colgroup>
2486 <col width="150px" class="parameters_name">
2487 <col class="parameters_description">
2488 <col width="200px" class="parameters_annotations">
2489 </colgroup>
2490 <tbody>
2491 <tr>
2492 <td class="parameter_name"><p>object</p></td>
2493 <td class="parameter_description"><p>A <a class="link" href="UDisksManager.html" title="UDisksManager"><span class="type">UDisksManager</span></a>.</p></td>
2494 <td class="parameter_annotations"> </td>
2495 </tr>
2496 <tr>
2497 <td class="parameter_name"><p>invocation</p></td>
2498 <td class="parameter_description"><p>A <span class="type">GDBusMethodInvocation</span>. </p></td>
2499 <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>
2500 </tr>
2501 <tr>
2502 <td class="parameter_name"><p>available</p></td>
2503 <td class="parameter_description"><p>Parameter to return.</p></td>
2504 <td class="parameter_annotations"> </td>
2505 </tr>
2506 </tbody>
2507 </table></div>
2508 </div>
2509 <p class="since">Since: 2.7.2</p>
2510 </div>
2511 <hr>
2512 <div class="refsect2">
2513 <a name="udisks-manager-call-loop-setup"></a><h3>udisks_manager_call_loop_setup ()</h3>
2514 <pre class="programlisting"><span class="returnvalue">void</span>
2515 udisks_manager_call_loop_setup (<em class="parameter"><code><a class="link" href="UDisksManager.html" title="UDisksManager"><span class="type">UDisksManager</span></a> *proxy</code></em>,
2516 <em class="parameter"><code><span class="type">GVariant</span> *arg_fd</code></em>,
2517 <em class="parameter"><code><span class="type">GVariant</span> *arg_options</code></em>,
2518 <em class="parameter"><code><span class="type">GUnixFDList</span> *fd_list</code></em>,
2519 <em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>,
2520 <em class="parameter"><code><span class="type">GAsyncReadyCallback</span> callback</code></em>,
2521 <em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);</pre>
2522 <p>Asynchronously invokes the <a class="link" href="gdbus-org.freedesktop.UDisks2.Manager.html#gdbus-method-org-freedesktop-UDisks2-Manager.LoopSetup" title="The LoopSetup() method"><code class="function">LoopSetup()</code></a> D-Bus method on <em class="parameter"><code>proxy</code></em>
2523 .
2524 When the operation is finished, <em class="parameter"><code>callback</code></em>
2525 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>).
2526 You can then call <a class="link" href="UDisksManager.html#udisks-manager-call-loop-setup-finish" title="udisks_manager_call_loop_setup_finish ()"><code class="function">udisks_manager_call_loop_setup_finish()</code></a> to get the result of the operation.</p>
2527 <p>See <a class="link" href="UDisksManager.html#udisks-manager-call-loop-setup-sync" title="udisks_manager_call_loop_setup_sync ()"><code class="function">udisks_manager_call_loop_setup_sync()</code></a> for the synchronous, blocking version of this method.</p>
2528 <div class="refsect3">
2529 <a name="udisks-manager-call-loop-setup.parameters"></a><h4>Parameters</h4>
2530 <div class="informaltable"><table class="informaltable" width="100%" border="0">
2531 <colgroup>
2532 <col width="150px" class="parameters_name">
2533 <col class="parameters_description">
2534 <col width="200px" class="parameters_annotations">
2535 </colgroup>
2536 <tbody>
2537 <tr>
2538 <td class="parameter_name"><p>proxy</p></td>
2539 <td class="parameter_description"><p>A <a class="link" href="UDisksManager.html#UDisksManagerProxy"><span class="type">UDisksManagerProxy</span></a>.</p></td>
2540 <td class="parameter_annotations"> </td>
2541 </tr>
2542 <tr>
2543 <td class="parameter_name"><p>arg_fd</p></td>
2544 <td class="parameter_description"><p>Argument to pass with the method invocation.</p></td>
2545 <td class="parameter_annotations"> </td>
2546 </tr>
2547 <tr>
2548 <td class="parameter_name"><p>arg_options</p></td>
2549 <td class="parameter_description"><p>Argument to pass with the method invocation.</p></td>
2550 <td class="parameter_annotations"> </td>
2551 </tr>
2552 <tr>
2553 <td class="parameter_name"><p>fd_list</p></td>
2554 <td class="parameter_description"><p>A <span class="type">GUnixFDList</span> or <code class="literal">NULL</code>. </p></td>
2555 <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>
2556 </tr>
2557 <tr>
2558 <td class="parameter_name"><p>cancellable</p></td>
2559 <td class="parameter_description"><p>A <span class="type">GCancellable</span> or <code class="literal">NULL</code>. </p></td>
2560 <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>
2561 </tr>
2562 <tr>
2563 <td class="parameter_name"><p>callback</p></td>
2564 <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>
2565 <td class="parameter_annotations"> </td>
2566 </tr>
2567 <tr>
2568 <td class="parameter_name"><p>user_data</p></td>
2569 <td class="parameter_description"><p>User data to pass to <em class="parameter"><code>callback</code></em>
2570 .</p></td>
2571 <td class="parameter_annotations"> </td>
2572 </tr>
2573 </tbody>
2574 </table></div>
2575 </div>
2576 </div>
2577 <hr>
2578 <div class="refsect2">
2579 <a name="udisks-manager-call-loop-setup-finish"></a><h3>udisks_manager_call_loop_setup_finish ()</h3>
2580 <pre class="programlisting"><span class="returnvalue">gboolean</span>
2581 udisks_manager_call_loop_setup_finish (<em class="parameter"><code><a class="link" href="UDisksManager.html" title="UDisksManager"><span class="type">UDisksManager</span></a> *proxy</code></em>,
2582 <em class="parameter"><code><span class="type">gchar</span> **out_resulting_device</code></em>,
2583 <em class="parameter"><code><span class="type">GUnixFDList</span> **out_fd_list</code></em>,
2584 <em class="parameter"><code><span class="type">GAsyncResult</span> *res</code></em>,
2585 <em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
2586 <p>Finishes an operation started with <a class="link" href="UDisksManager.html#udisks-manager-call-loop-setup" title="udisks_manager_call_loop_setup ()"><code class="function">udisks_manager_call_loop_setup()</code></a>.</p>
2587 <div class="refsect3">
2588 <a name="udisks-manager-call-loop-setup-finish.parameters"></a><h4>Parameters</h4>
2589 <div class="informaltable"><table class="informaltable" width="100%" border="0">
2590 <colgroup>
2591 <col width="150px" class="parameters_name">
2592 <col class="parameters_description">
2593 <col width="200px" class="parameters_annotations">
2594 </colgroup>
2595 <tbody>
2596 <tr>
2597 <td class="parameter_name"><p>proxy</p></td>
2598 <td class="parameter_description"><p>A <a class="link" href="UDisksManager.html#UDisksManagerProxy"><span class="type">UDisksManagerProxy</span></a>.</p></td>
2599 <td class="parameter_annotations"> </td>
2600 </tr>
2601 <tr>
2602 <td class="parameter_name"><p>out_resulting_device</p></td>
2603 <td class="parameter_description"><p>Return location for return parameter or <code class="literal">NULL</code> to ignore. </p></td>
2604 <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL may be passed instead of a pointer to a location."><span class="acronym">optional</span></acronym>]</span></td>
2605 </tr>
2606 <tr>
2607 <td class="parameter_name"><p>out_fd_list</p></td>
2608 <td class="parameter_description"><p>Return location for a <span class="type">GUnixFDList</span> or <code class="literal">NULL</code> to ignore. </p></td>
2609 <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL may be passed instead of a pointer to a location."><span class="acronym">optional</span></acronym>][<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>
2610 </tr>
2611 <tr>
2612 <td class="parameter_name"><p>res</p></td>
2613 <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="UDisksManager.html#udisks-manager-call-loop-setup" title="udisks_manager_call_loop_setup ()"><code class="function">udisks_manager_call_loop_setup()</code></a>.</p></td>
2614 <td class="parameter_annotations"> </td>
2615 </tr>
2616 <tr>
2617 <td class="parameter_name"><p>error</p></td>
2618 <td class="parameter_description"><p>Return location for error or <code class="literal">NULL</code>.</p></td>
2619 <td class="parameter_annotations"> </td>
2620 </tr>
2621 </tbody>
2622 </table></div>
2623 </div>
2624 <div class="refsect3">
2625 <a name="udisks-manager-call-loop-setup-finish.returns"></a><h4>Returns</h4>
2626 <p><code class="literal">TRUE</code> if the call succeeded, <code class="literal">FALSE</code> if <em class="parameter"><code>error</code></em>
2627 is set. </p>
2628 <p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
2629 </div>
2630 </div>
2631 <hr>
2632 <div class="refsect2">
2633 <a name="udisks-manager-call-loop-setup-sync"></a><h3>udisks_manager_call_loop_setup_sync ()</h3>
2634 <pre class="programlisting"><span class="returnvalue">gboolean</span>
2635 udisks_manager_call_loop_setup_sync (<em class="parameter"><code><a class="link" href="UDisksManager.html" title="UDisksManager"><span class="type">UDisksManager</span></a> *proxy</code></em>,
2636 <em class="parameter"><code><span class="type">GVariant</span> *arg_fd</code></em>,
2637 <em class="parameter"><code><span class="type">GVariant</span> *arg_options</code></em>,
2638 <em class="parameter"><code><span class="type">GUnixFDList</span> *fd_list</code></em>,
2639 <em class="parameter"><code><span class="type">gchar</span> **out_resulting_device</code></em>,
2640 <em class="parameter"><code><span class="type">GUnixFDList</span> **out_fd_list</code></em>,
2641 <em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>,
2642 <em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
2643 <p>Synchronously invokes the <a class="link" href="gdbus-org.freedesktop.UDisks2.Manager.html#gdbus-method-org-freedesktop-UDisks2-Manager.LoopSetup" title="The LoopSetup() method"><code class="function">LoopSetup()</code></a> D-Bus method on <em class="parameter"><code>proxy</code></em>
2644 . The calling thread is blocked until a reply is received.</p>
2645 <p>See <a class="link" href="UDisksManager.html#udisks-manager-call-loop-setup" title="udisks_manager_call_loop_setup ()"><code class="function">udisks_manager_call_loop_setup()</code></a> for the asynchronous version of this method.</p>
2646 <div class="refsect3">
2647 <a name="udisks-manager-call-loop-setup-sync.parameters"></a><h4>Parameters</h4>
2648 <div class="informaltable"><table class="informaltable" width="100%" border="0">
2649 <colgroup>
2650 <col width="150px" class="parameters_name">
2651 <col class="parameters_description">
2652 <col width="200px" class="parameters_annotations">
2653 </colgroup>
2654 <tbody>
2655 <tr>
2656 <td class="parameter_name"><p>proxy</p></td>
2657 <td class="parameter_description"><p>A <a class="link" href="UDisksManager.html#UDisksManagerProxy"><span class="type">UDisksManagerProxy</span></a>.</p></td>
2658 <td class="parameter_annotations"> </td>
2659 </tr>
2660 <tr>
2661 <td class="parameter_name"><p>arg_fd</p></td>
2662 <td class="parameter_description"><p>Argument to pass with the method invocation.</p></td>
2663 <td class="parameter_annotations"> </td>
2664 </tr>
2665 <tr>
2666 <td class="parameter_name"><p>arg_options</p></td>
2667 <td class="parameter_description"><p>Argument to pass with the method invocation.</p></td>
2668 <td class="parameter_annotations"> </td>
2669 </tr>
2670 <tr>
2671 <td class="parameter_name"><p>fd_list</p></td>
2672 <td class="parameter_description"><p>A <span class="type">GUnixFDList</span> or <code class="literal">NULL</code>. </p></td>
2673 <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>
2674 </tr>
2675 <tr>
2676 <td class="parameter_name"><p>out_resulting_device</p></td>
2677 <td class="parameter_description"><p>Return location for return parameter or <code class="literal">NULL</code> to ignore. </p></td>
2678 <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL may be passed instead of a pointer to a location."><span class="acronym">optional</span></acronym>]</span></td>
2679 </tr>
2680 <tr>
2681 <td class="parameter_name"><p>out_fd_list</p></td>
2682 <td class="parameter_description"><p>Return location for a <span class="type">GUnixFDList</span> or <code class="literal">NULL</code>. </p></td>
2683 <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL may be passed instead of a pointer to a location."><span class="acronym">optional</span></acronym>][<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>
2684 </tr>
2685 <tr>
2686 <td class="parameter_name"><p>cancellable</p></td>
2687 <td class="parameter_description"><p>A <span class="type">GCancellable</span> or <code class="literal">NULL</code>. </p></td>
2688 <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>
2689 </tr>
2690 <tr>
2691 <td class="parameter_name"><p>error</p></td>
2692 <td class="parameter_description"><p>Return location for error or <code class="literal">NULL</code>.</p></td>
2693 <td class="parameter_annotations"> </td>
2694 </tr>
2695 </tbody>
2696 </table></div>
2697 </div>
2698 <div class="refsect3">
2699 <a name="udisks-manager-call-loop-setup-sync.returns"></a><h4>Returns</h4>
2700 <p><code class="literal">TRUE</code> if the call succeeded, <code class="literal">FALSE</code> if <em class="parameter"><code>error</code></em>
2701 is set. </p>
2702 <p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
2703 </div>
2704 </div>
2705 <hr>
2706 <div class="refsect2">
2707 <a name="udisks-manager-complete-loop-setup"></a><h3>udisks_manager_complete_loop_setup ()</h3>
2708 <pre class="programlisting"><span class="returnvalue">void</span>
2709 udisks_manager_complete_loop_setup (<em class="parameter"><code><a class="link" href="UDisksManager.html" title="UDisksManager"><span class="type">UDisksManager</span></a> *object</code></em>,
2710 <em class="parameter"><code><span class="type">GDBusMethodInvocation</span> *invocation</code></em>,
2711 <em class="parameter"><code><span class="type">GUnixFDList</span> *fd_list</code></em>,
2712 <em class="parameter"><code>const <span class="type">gchar</span> *resulting_device</code></em>);</pre>
2713 <p>Helper function used in service implementations to finish handling invocations of the <a class="link" href="gdbus-org.freedesktop.UDisks2.Manager.html#gdbus-method-org-freedesktop-UDisks2-Manager.LoopSetup" title="The LoopSetup() method"><code class="function">LoopSetup()</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>
2714 <p>This method will free <em class="parameter"><code>invocation</code></em>
2715 , you cannot use it afterwards.</p>
2716 <div class="refsect3">
2717 <a name="udisks-manager-complete-loop-setup.parameters"></a><h4>Parameters</h4>
2718 <div class="informaltable"><table class="informaltable" width="100%" border="0">
2719 <colgroup>
2720 <col width="150px" class="parameters_name">
2721 <col class="parameters_description">
2722 <col width="200px" class="parameters_annotations">
2723 </colgroup>
2724 <tbody>
2725 <tr>
2726 <td class="parameter_name"><p>object</p></td>
2727 <td class="parameter_description"><p>A <a class="link" href="UDisksManager.html" title="UDisksManager"><span class="type">UDisksManager</span></a>.</p></td>
2728 <td class="parameter_annotations"> </td>
2729 </tr>
2730 <tr>
2731 <td class="parameter_name"><p>invocation</p></td>
2732 <td class="parameter_description"><p>A <span class="type">GDBusMethodInvocation</span>. </p></td>
2733 <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>
2734 </tr>
2735 <tr>
2736 <td class="parameter_name"><p>fd_list</p></td>
2737 <td class="parameter_description"><p>A <span class="type">GUnixFDList</span> or <code class="literal">NULL</code>. </p></td>
2738 <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>
2739 </tr>
2740 <tr>
2741 <td class="parameter_name"><p>resulting_device</p></td>
2742 <td class="parameter_description"><p>Parameter to return.</p></td>
2743 <td class="parameter_annotations"> </td>
2744 </tr>
2745 </tbody>
2746 </table></div>
2747 </div>
2748 </div>
2749 <hr>
2750 <div class="refsect2">
2751 <a name="udisks-manager-call-mdraid-create"></a><h3>udisks_manager_call_mdraid_create ()</h3>
2752 <pre class="programlisting"><span class="returnvalue">void</span>
2753 udisks_manager_call_mdraid_create (<em class="parameter"><code><a class="link" href="UDisksManager.html" title="UDisksManager"><span class="type">UDisksManager</span></a> *proxy</code></em>,
2754 <em class="parameter"><code>const <span class="type">gchar</span> *const *arg_blocks</code></em>,
2755 <em class="parameter"><code>const <span class="type">gchar</span> *arg_level</code></em>,
2756 <em class="parameter"><code>const <span class="type">gchar</span> *arg_name</code></em>,
2757 <em class="parameter"><code><span class="type">guint64</span> arg_chunk</code></em>,
2758 <em class="parameter"><code><span class="type">GVariant</span> *arg_options</code></em>,
2759 <em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>,
2760 <em class="parameter"><code><span class="type">GAsyncReadyCallback</span> callback</code></em>,
2761 <em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);</pre>
2762 <p>Asynchronously invokes the <a class="link" href="gdbus-org.freedesktop.UDisks2.Manager.html#gdbus-method-org-freedesktop-UDisks2-Manager.MDRaidCreate" title="The MDRaidCreate() method"><code class="function">MDRaidCreate()</code></a> D-Bus method on <em class="parameter"><code>proxy</code></em>
2763 .
2764 When the operation is finished, <em class="parameter"><code>callback</code></em>
2765 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>).
2766 You can then call <a class="link" href="UDisksManager.html#udisks-manager-call-mdraid-create-finish" title="udisks_manager_call_mdraid_create_finish ()"><code class="function">udisks_manager_call_mdraid_create_finish()</code></a> to get the result of the operation.</p>
2767 <p>See <a class="link" href="UDisksManager.html#udisks-manager-call-mdraid-create-sync" title="udisks_manager_call_mdraid_create_sync ()"><code class="function">udisks_manager_call_mdraid_create_sync()</code></a> for the synchronous, blocking version of this method.</p>
2768 <div class="refsect3">
2769 <a name="udisks-manager-call-mdraid-create.parameters"></a><h4>Parameters</h4>
2770 <div class="informaltable"><table class="informaltable" width="100%" border="0">
2771 <colgroup>
2772 <col width="150px" class="parameters_name">
2773 <col class="parameters_description">
2774 <col width="200px" class="parameters_annotations">
2775 </colgroup>
2776 <tbody>
2777 <tr>
2778 <td class="parameter_name"><p>proxy</p></td>
2779 <td class="parameter_description"><p>A <a class="link" href="UDisksManager.html#UDisksManagerProxy"><span class="type">UDisksManagerProxy</span></a>.</p></td>
2780 <td class="parameter_annotations"> </td>
2781 </tr>
2782 <tr>
2783 <td class="parameter_name"><p>arg_blocks</p></td>
2784 <td class="parameter_description"><p>Argument to pass with the method invocation.</p></td>
2785 <td class="parameter_annotations"> </td>
2786 </tr>
2787 <tr>
2788 <td class="parameter_name"><p>arg_level</p></td>
2789 <td class="parameter_description"><p>Argument to pass with the method invocation.</p></td>
2790 <td class="parameter_annotations"> </td>
2791 </tr>
2792 <tr>
2793 <td class="parameter_name"><p>arg_name</p></td>
2794 <td class="parameter_description"><p>Argument to pass with the method invocation.</p></td>
2795 <td class="parameter_annotations"> </td>
2796 </tr>
2797 <tr>
2798 <td class="parameter_name"><p>arg_chunk</p></td>
2799 <td class="parameter_description"><p>Argument to pass with the method invocation.</p></td>
2800 <td class="parameter_annotations"> </td>
2801 </tr>
2802 <tr>
2803 <td class="parameter_name"><p>arg_options</p></td>
2804 <td class="parameter_description"><p>Argument to pass with the method invocation.</p></td>
2805 <td class="parameter_annotations"> </td>
2806 </tr>
2807 <tr>
2808 <td class="parameter_name"><p>cancellable</p></td>
2809 <td class="parameter_description"><p>A <span class="type">GCancellable</span> or <code class="literal">NULL</code>. </p></td>
2810 <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>
2811 </tr>
2812 <tr>
2813 <td class="parameter_name"><p>callback</p></td>
2814 <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>
2815 <td class="parameter_annotations"> </td>
2816 </tr>
2817 <tr>
2818 <td class="parameter_name"><p>user_data</p></td>
2819 <td class="parameter_description"><p>User data to pass to <em class="parameter"><code>callback</code></em>
2820 .</p></td>
2821 <td class="parameter_annotations"> </td>
2822 </tr>
2823 </tbody>
2824 </table></div>
2825 </div>
2826 <p class="since">Since: 2.0.0</p>
2827 </div>
2828 <hr>
2829 <div class="refsect2">
2830 <a name="udisks-manager-call-mdraid-create-finish"></a><h3>udisks_manager_call_mdraid_create_finish ()</h3>
2831 <pre class="programlisting"><span class="returnvalue">gboolean</span>
2832 udisks_manager_call_mdraid_create_finish
2833 (<em class="parameter"><code><a class="link" href="UDisksManager.html" title="UDisksManager"><span class="type">UDisksManager</span></a> *proxy</code></em>,
2834 <em class="parameter"><code><span class="type">gchar</span> **out_resulting_array</code></em>,
2835 <em class="parameter"><code><span class="type">GAsyncResult</span> *res</code></em>,
2836 <em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
2837 <p>Finishes an operation started with <a class="link" href="UDisksManager.html#udisks-manager-call-mdraid-create" title="udisks_manager_call_mdraid_create ()"><code class="function">udisks_manager_call_mdraid_create()</code></a>.</p>
2838 <div class="refsect3">
2839 <a name="udisks-manager-call-mdraid-create-finish.parameters"></a><h4>Parameters</h4>
2840 <div class="informaltable"><table class="informaltable" width="100%" border="0">
2841 <colgroup>
2842 <col width="150px" class="parameters_name">
2843 <col class="parameters_description">
2844 <col width="200px" class="parameters_annotations">
2845 </colgroup>
2846 <tbody>
2847 <tr>
2848 <td class="parameter_name"><p>proxy</p></td>
2849 <td class="parameter_description"><p>A <a class="link" href="UDisksManager.html#UDisksManagerProxy"><span class="type">UDisksManagerProxy</span></a>.</p></td>
2850 <td class="parameter_annotations"> </td>
2851 </tr>
2852 <tr>
2853 <td class="parameter_name"><p>out_resulting_array</p></td>
2854 <td class="parameter_description"><p>Return location for return parameter or <code class="literal">NULL</code> to ignore. </p></td>
2855 <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL may be passed instead of a pointer to a location."><span class="acronym">optional</span></acronym>]</span></td>
2856 </tr>
2857 <tr>
2858 <td class="parameter_name"><p>res</p></td>
2859 <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="UDisksManager.html#udisks-manager-call-mdraid-create" title="udisks_manager_call_mdraid_create ()"><code class="function">udisks_manager_call_mdraid_create()</code></a>.</p></td>
2860 <td class="parameter_annotations"> </td>
2861 </tr>
2862 <tr>
2863 <td class="parameter_name"><p>error</p></td>
2864 <td class="parameter_description"><p>Return location for error or <code class="literal">NULL</code>.</p></td>
2865 <td class="parameter_annotations"> </td>
2866 </tr>
2867 </tbody>
2868 </table></div>
2869 </div>
2870 <div class="refsect3">
2871 <a name="udisks-manager-call-mdraid-create-finish.returns"></a><h4>Returns</h4>
2872 <p><code class="literal">TRUE</code> if the call succeeded, <code class="literal">FALSE</code> if <em class="parameter"><code>error</code></em>
2873 is set. </p>
2874 <p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
2875 </div>
2876 <p class="since">Since: 2.0.0</p>
2877 </div>
2878 <hr>
2879 <div class="refsect2">
2880 <a name="udisks-manager-call-mdraid-create-sync"></a><h3>udisks_manager_call_mdraid_create_sync ()</h3>
2881 <pre class="programlisting"><span class="returnvalue">gboolean</span>
2882 udisks_manager_call_mdraid_create_sync
2883 (<em class="parameter"><code><a class="link" href="UDisksManager.html" title="UDisksManager"><span class="type">UDisksManager</span></a> *proxy</code></em>,
2884 <em class="parameter"><code>const <span class="type">gchar</span> *const *arg_blocks</code></em>,
2885 <em class="parameter"><code>const <span class="type">gchar</span> *arg_level</code></em>,
2886 <em class="parameter"><code>const <span class="type">gchar</span> *arg_name</code></em>,
2887 <em class="parameter"><code><span class="type">guint64</span> arg_chunk</code></em>,
2888 <em class="parameter"><code><span class="type">GVariant</span> *arg_options</code></em>,
2889 <em class="parameter"><code><span class="type">gchar</span> **out_resulting_array</code></em>,
2890 <em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>,
2891 <em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
2892 <p>Synchronously invokes the <a class="link" href="gdbus-org.freedesktop.UDisks2.Manager.html#gdbus-method-org-freedesktop-UDisks2-Manager.MDRaidCreate" title="The MDRaidCreate() method"><code class="function">MDRaidCreate()</code></a> D-Bus method on <em class="parameter"><code>proxy</code></em>
2893 . The calling thread is blocked until a reply is received.</p>
2894 <p>See <a class="link" href="UDisksManager.html#udisks-manager-call-mdraid-create" title="udisks_manager_call_mdraid_create ()"><code class="function">udisks_manager_call_mdraid_create()</code></a> for the asynchronous version of this method.</p>
2895 <div class="refsect3">
2896 <a name="udisks-manager-call-mdraid-create-sync.parameters"></a><h4>Parameters</h4>
2897 <div class="informaltable"><table class="informaltable" width="100%" border="0">
2898 <colgroup>
2899 <col width="150px" class="parameters_name">
2900 <col class="parameters_description">
2901 <col width="200px" class="parameters_annotations">
2902 </colgroup>
2903 <tbody>
2904 <tr>
2905 <td class="parameter_name"><p>proxy</p></td>
2906 <td class="parameter_description"><p>A <a class="link" href="UDisksManager.html#UDisksManagerProxy"><span class="type">UDisksManagerProxy</span></a>.</p></td>
2907 <td class="parameter_annotations"> </td>
2908 </tr>
2909 <tr>
2910 <td class="parameter_name"><p>arg_blocks</p></td>
2911 <td class="parameter_description"><p>Argument to pass with the method invocation.</p></td>
2912 <td class="parameter_annotations"> </td>
2913 </tr>
2914 <tr>
2915 <td class="parameter_name"><p>arg_level</p></td>
2916 <td class="parameter_description"><p>Argument to pass with the method invocation.</p></td>
2917 <td class="parameter_annotations"> </td>
2918 </tr>
2919 <tr>
2920 <td class="parameter_name"><p>arg_name</p></td>
2921 <td class="parameter_description"><p>Argument to pass with the method invocation.</p></td>
2922 <td class="parameter_annotations"> </td>
2923 </tr>
2924 <tr>
2925 <td class="parameter_name"><p>arg_chunk</p></td>
2926 <td class="parameter_description"><p>Argument to pass with the method invocation.</p></td>
2927 <td class="parameter_annotations"> </td>
2928 </tr>
2929 <tr>
2930 <td class="parameter_name"><p>arg_options</p></td>
2931 <td class="parameter_description"><p>Argument to pass with the method invocation.</p></td>
2932 <td class="parameter_annotations"> </td>
2933 </tr>
2934 <tr>
2935 <td class="parameter_name"><p>out_resulting_array</p></td>
2936 <td class="parameter_description"><p>Return location for return parameter or <code class="literal">NULL</code> to ignore. </p></td>
2937 <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL may be passed instead of a pointer to a location."><span class="acronym">optional</span></acronym>]</span></td>
2938 </tr>
2939 <tr>
2940 <td class="parameter_name"><p>cancellable</p></td>
2941 <td class="parameter_description"><p>A <span class="type">GCancellable</span> or <code class="literal">NULL</code>. </p></td>
2942 <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>
2943 </tr>
2944 <tr>
2945 <td class="parameter_name"><p>error</p></td>
2946 <td class="parameter_description"><p>Return location for error or <code class="literal">NULL</code>.</p></td>
2947 <td class="parameter_annotations"> </td>
2948 </tr>
2949 </tbody>
2950 </table></div>
2951 </div>
2952 <div class="refsect3">
2953 <a name="udisks-manager-call-mdraid-create-sync.returns"></a><h4>Returns</h4>
2954 <p><code class="literal">TRUE</code> if the call succeeded, <code class="literal">FALSE</code> if <em class="parameter"><code>error</code></em>
2955 is set. </p>
2956 <p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
2957 </div>
2958 <p class="since">Since: 2.0.0</p>
2959 </div>
2960 <hr>
2961 <div class="refsect2">
2962 <a name="udisks-manager-complete-mdraid-create"></a><h3>udisks_manager_complete_mdraid_create ()</h3>
2963 <pre class="programlisting"><span class="returnvalue">void</span>
2964 udisks_manager_complete_mdraid_create (<em class="parameter"><code><a class="link" href="UDisksManager.html" title="UDisksManager"><span class="type">UDisksManager</span></a> *object</code></em>,
2965 <em class="parameter"><code><span class="type">GDBusMethodInvocation</span> *invocation</code></em>,
2966 <em class="parameter"><code>const <span class="type">gchar</span> *resulting_array</code></em>);</pre>
2967 <p>Helper function used in service implementations to finish handling invocations of the <a class="link" href="gdbus-org.freedesktop.UDisks2.Manager.html#gdbus-method-org-freedesktop-UDisks2-Manager.MDRaidCreate" title="The MDRaidCreate() method"><code class="function">MDRaidCreate()</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>
2968 <p>This method will free <em class="parameter"><code>invocation</code></em>
2969 , you cannot use it afterwards.</p>
2970 <div class="refsect3">
2971 <a name="udisks-manager-complete-mdraid-create.parameters"></a><h4>Parameters</h4>
2972 <div class="informaltable"><table class="informaltable" width="100%" border="0">
2973 <colgroup>
2974 <col width="150px" class="parameters_name">
2975 <col class="parameters_description">
2976 <col width="200px" class="parameters_annotations">
2977 </colgroup>
2978 <tbody>
2979 <tr>
2980 <td class="parameter_name"><p>object</p></td>
2981 <td class="parameter_description"><p>A <a class="link" href="UDisksManager.html" title="UDisksManager"><span class="type">UDisksManager</span></a>.</p></td>
2982 <td class="parameter_annotations"> </td>
2983 </tr>
2984 <tr>
2985 <td class="parameter_name"><p>invocation</p></td>
2986 <td class="parameter_description"><p>A <span class="type">GDBusMethodInvocation</span>. </p></td>
2987 <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>
2988 </tr>
2989 <tr>
2990 <td class="parameter_name"><p>resulting_array</p></td>
2991 <td class="parameter_description"><p>Parameter to return.</p></td>
2992 <td class="parameter_annotations"> </td>
2993 </tr>
2994 </tbody>
2995 </table></div>
2996 </div>
2997 <p class="since">Since: 2.0.0</p>
2998 </div>
2999 <hr>
3000 <div class="refsect2">
3001 <a name="udisks-manager-call-resolve-device"></a><h3>udisks_manager_call_resolve_device ()</h3>
3002 <pre class="programlisting"><span class="returnvalue">void</span>
3003 udisks_manager_call_resolve_device (<em class="parameter"><code><a class="link" href="UDisksManager.html" title="UDisksManager"><span class="type">UDisksManager</span></a> *proxy</code></em>,
3004 <em class="parameter"><code><span class="type">GVariant</span> *arg_devspec</code></em>,
3005 <em class="parameter"><code><span class="type">GVariant</span> *arg_options</code></em>,
3006 <em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>,
3007 <em class="parameter"><code><span class="type">GAsyncReadyCallback</span> callback</code></em>,
3008 <em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);</pre>
3009 <p>Asynchronously invokes the <a class="link" href="gdbus-org.freedesktop.UDisks2.Manager.html#gdbus-method-org-freedesktop-UDisks2-Manager.ResolveDevice" title="The ResolveDevice() method"><code class="function">ResolveDevice()</code></a> D-Bus method on <em class="parameter"><code>proxy</code></em>
3010 .
3011 When the operation is finished, <em class="parameter"><code>callback</code></em>
3012 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>).
3013 You can then call <a class="link" href="UDisksManager.html#udisks-manager-call-resolve-device-finish" title="udisks_manager_call_resolve_device_finish ()"><code class="function">udisks_manager_call_resolve_device_finish()</code></a> to get the result of the operation.</p>
3014 <p>See <a class="link" href="UDisksManager.html#udisks-manager-call-resolve-device-sync" title="udisks_manager_call_resolve_device_sync ()"><code class="function">udisks_manager_call_resolve_device_sync()</code></a> for the synchronous, blocking version of this method.</p>
3015 <div class="refsect3">
3016 <a name="udisks-manager-call-resolve-device.parameters"></a><h4>Parameters</h4>
3017 <div class="informaltable"><table class="informaltable" width="100%" border="0">
3018 <colgroup>
3019 <col width="150px" class="parameters_name">
3020 <col class="parameters_description">
3021 <col width="200px" class="parameters_annotations">
3022 </colgroup>
3023 <tbody>
3024 <tr>
3025 <td class="parameter_name"><p>proxy</p></td>
3026 <td class="parameter_description"><p>A <a class="link" href="UDisksManager.html#UDisksManagerProxy"><span class="type">UDisksManagerProxy</span></a>.</p></td>
3027 <td class="parameter_annotations"> </td>
3028 </tr>
3029 <tr>
3030 <td class="parameter_name"><p>arg_devspec</p></td>
3031 <td class="parameter_description"><p>Argument to pass with the method invocation.</p></td>
3032 <td class="parameter_annotations"> </td>
3033 </tr>
3034 <tr>
3035 <td class="parameter_name"><p>arg_options</p></td>
3036 <td class="parameter_description"><p>Argument to pass with the method invocation.</p></td>
3037 <td class="parameter_annotations"> </td>
3038 </tr>
3039 <tr>
3040 <td class="parameter_name"><p>cancellable</p></td>
3041 <td class="parameter_description"><p>A <span class="type">GCancellable</span> or <code class="literal">NULL</code>. </p></td>
3042 <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>
3043 </tr>
3044 <tr>
3045 <td class="parameter_name"><p>callback</p></td>
3046 <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>
3047 <td class="parameter_annotations"> </td>
3048 </tr>
3049 <tr>
3050 <td class="parameter_name"><p>user_data</p></td>
3051 <td class="parameter_description"><p>User data to pass to <em class="parameter"><code>callback</code></em>
3052 .</p></td>
3053 <td class="parameter_annotations"> </td>
3054 </tr>
3055 </tbody>
3056 </table></div>
3057 </div>
3058 <p class="since">Since: 2.7.3</p>
3059 </div>
3060 <hr>
3061 <div class="refsect2">
3062 <a name="udisks-manager-call-resolve-device-finish"></a><h3>udisks_manager_call_resolve_device_finish ()</h3>
3063 <pre class="programlisting"><span class="returnvalue">gboolean</span>
3064 udisks_manager_call_resolve_device_finish
3065 (<em class="parameter"><code><a class="link" href="UDisksManager.html" title="UDisksManager"><span class="type">UDisksManager</span></a> *proxy</code></em>,
3066 <em class="parameter"><code><span class="type">gchar</span> ***out_devices</code></em>,
3067 <em class="parameter"><code><span class="type">GAsyncResult</span> *res</code></em>,
3068 <em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
3069 <p>Finishes an operation started with <a class="link" href="UDisksManager.html#udisks-manager-call-resolve-device" title="udisks_manager_call_resolve_device ()"><code class="function">udisks_manager_call_resolve_device()</code></a>.</p>
3070 <div class="refsect3">
3071 <a name="udisks-manager-call-resolve-device-finish.parameters"></a><h4>Parameters</h4>
3072 <div class="informaltable"><table class="informaltable" width="100%" border="0">
3073 <colgroup>
3074 <col width="150px" class="parameters_name">
3075 <col class="parameters_description">
3076 <col width="200px" class="parameters_annotations">
3077 </colgroup>
3078 <tbody>
3079 <tr>
3080 <td class="parameter_name"><p>proxy</p></td>
3081 <td class="parameter_description"><p>A <a class="link" href="UDisksManager.html#UDisksManagerProxy"><span class="type">UDisksManagerProxy</span></a>.</p></td>
3082 <td class="parameter_annotations"> </td>
3083 </tr>
3084 <tr>
3085 <td class="parameter_name"><p>out_devices</p></td>
3086 <td class="parameter_description"><p>Return location for return parameter or <code class="literal">NULL</code> to ignore. </p></td>
3087 <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL may be passed instead of a pointer to a location."><span class="acronym">optional</span></acronym>][<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> zero-terminated=1]</span></td>
3088 </tr>
3089 <tr>
3090 <td class="parameter_name"><p>res</p></td>
3091 <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="UDisksManager.html#udisks-manager-call-resolve-device" title="udisks_manager_call_resolve_device ()"><code class="function">udisks_manager_call_resolve_device()</code></a>.</p></td>
3092 <td class="parameter_annotations"> </td>
3093 </tr>
3094 <tr>
3095 <td class="parameter_name"><p>error</p></td>
3096 <td class="parameter_description"><p>Return location for error or <code class="literal">NULL</code>.</p></td>
3097 <td class="parameter_annotations"> </td>
3098 </tr>
3099 </tbody>
3100 </table></div>
3101 </div>
3102 <div class="refsect3">
3103 <a name="udisks-manager-call-resolve-device-finish.returns"></a><h4>Returns</h4>
3104 <p><code class="literal">TRUE</code> if the call succeeded, <code class="literal">FALSE</code> if <em class="parameter"><code>error</code></em>
3105 is set. </p>
3106 <p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
3107 </div>
3108 <p class="since">Since: 2.7.3</p>
3109 </div>
3110 <hr>
3111 <div class="refsect2">
3112 <a name="udisks-manager-call-resolve-device-sync"></a><h3>udisks_manager_call_resolve_device_sync ()</h3>
3113 <pre class="programlisting"><span class="returnvalue">gboolean</span>
3114 udisks_manager_call_resolve_device_sync
3115 (<em class="parameter"><code><a class="link" href="UDisksManager.html" title="UDisksManager"><span class="type">UDisksManager</span></a> *proxy</code></em>,
3116 <em class="parameter"><code><span class="type">GVariant</span> *arg_devspec</code></em>,
3117 <em class="parameter"><code><span class="type">GVariant</span> *arg_options</code></em>,
3118 <em class="parameter"><code><span class="type">gchar</span> ***out_devices</code></em>,
3119 <em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>,
3120 <em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
3121 <p>Synchronously invokes the <a class="link" href="gdbus-org.freedesktop.UDisks2.Manager.html#gdbus-method-org-freedesktop-UDisks2-Manager.ResolveDevice" title="The ResolveDevice() method"><code class="function">ResolveDevice()</code></a> D-Bus method on <em class="parameter"><code>proxy</code></em>
3122 . The calling thread is blocked until a reply is received.</p>
3123 <p>See <a class="link" href="UDisksManager.html#udisks-manager-call-resolve-device" title="udisks_manager_call_resolve_device ()"><code class="function">udisks_manager_call_resolve_device()</code></a> for the asynchronous version of this method.</p>
3124 <div class="refsect3">
3125 <a name="udisks-manager-call-resolve-device-sync.parameters"></a><h4>Parameters</h4>
3126 <div class="informaltable"><table class="informaltable" width="100%" border="0">
3127 <colgroup>
3128 <col width="150px" class="parameters_name">
3129 <col class="parameters_description">
3130 <col width="200px" class="parameters_annotations">
3131 </colgroup>
3132 <tbody>
3133 <tr>
3134 <td class="parameter_name"><p>proxy</p></td>
3135 <td class="parameter_description"><p>A <a class="link" href="UDisksManager.html#UDisksManagerProxy"><span class="type">UDisksManagerProxy</span></a>.</p></td>
3136 <td class="parameter_annotations"> </td>
3137 </tr>
3138 <tr>
3139 <td class="parameter_name"><p>arg_devspec</p></td>
3140 <td class="parameter_description"><p>Argument to pass with the method invocation.</p></td>
3141 <td class="parameter_annotations"> </td>
3142 </tr>
3143 <tr>
3144 <td class="parameter_name"><p>arg_options</p></td>
3145 <td class="parameter_description"><p>Argument to pass with the method invocation.</p></td>
3146 <td class="parameter_annotations"> </td>
3147 </tr>
3148 <tr>
3149 <td class="parameter_name"><p>out_devices</p></td>
3150 <td class="parameter_description"><p>Return location for return parameter or <code class="literal">NULL</code> to ignore. </p></td>
3151 <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL may be passed instead of a pointer to a location."><span class="acronym">optional</span></acronym>][<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> zero-terminated=1]</span></td>
3152 </tr>
3153 <tr>
3154 <td class="parameter_name"><p>cancellable</p></td>
3155 <td class="parameter_description"><p>A <span class="type">GCancellable</span> or <code class="literal">NULL</code>. </p></td>
3156 <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>
3157 </tr>
3158 <tr>
3159 <td class="parameter_name"><p>error</p></td>
3160 <td class="parameter_description"><p>Return location for error or <code class="literal">NULL</code>.</p></td>
3161 <td class="parameter_annotations"> </td>
3162 </tr>
3163 </tbody>
3164 </table></div>
3165 </div>
3166 <div class="refsect3">
3167 <a name="udisks-manager-call-resolve-device-sync.returns"></a><h4>Returns</h4>
3168 <p><code class="literal">TRUE</code> if the call succeeded, <code class="literal">FALSE</code> if <em class="parameter"><code>error</code></em>
3169 is set. </p>
3170 <p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
3171 </div>
3172 <p class="since">Since: 2.7.3</p>
3173 </div>
3174 <hr>
3175 <div class="refsect2">
3176 <a name="udisks-manager-complete-resolve-device"></a><h3>udisks_manager_complete_resolve_device ()</h3>
3177 <pre class="programlisting"><span class="returnvalue">void</span>
3178 udisks_manager_complete_resolve_device
3179 (<em class="parameter"><code><a class="link" href="UDisksManager.html" title="UDisksManager"><span class="type">UDisksManager</span></a> *object</code></em>,
3180 <em class="parameter"><code><span class="type">GDBusMethodInvocation</span> *invocation</code></em>,
3181 <em class="parameter"><code>const <span class="type">gchar</span> *const *devices</code></em>);</pre>
3182 <p>Helper function used in service implementations to finish handling invocations of the <a class="link" href="gdbus-org.freedesktop.UDisks2.Manager.html#gdbus-method-org-freedesktop-UDisks2-Manager.ResolveDevice" title="The ResolveDevice() method"><code class="function">ResolveDevice()</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>
3183 <p>This method will free <em class="parameter"><code>invocation</code></em>
3184 , you cannot use it afterwards.</p>
3185 <div class="refsect3">
3186 <a name="udisks-manager-complete-resolve-device.parameters"></a><h4>Parameters</h4>
3187 <div class="informaltable"><table class="informaltable" width="100%" border="0">
3188 <colgroup>
3189 <col width="150px" class="parameters_name">
3190 <col class="parameters_description">
3191 <col width="200px" class="parameters_annotations">
3192 </colgroup>
3193 <tbody>
3194 <tr>
3195 <td class="parameter_name"><p>object</p></td>
3196 <td class="parameter_description"><p>A <a class="link" href="UDisksManager.html" title="UDisksManager"><span class="type">UDisksManager</span></a>.</p></td>
3197 <td class="parameter_annotations"> </td>
3198 </tr>
3199 <tr>
3200 <td class="parameter_name"><p>invocation</p></td>
3201 <td class="parameter_description"><p>A <span class="type">GDBusMethodInvocation</span>. </p></td>
3202 <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>
3203 </tr>
3204 <tr>
3205 <td class="parameter_name"><p>devices</p></td>
3206 <td class="parameter_description"><p>Parameter to return.</p></td>
3207 <td class="parameter_annotations"> </td>
3208 </tr>
3209 </tbody>
3210 </table></div>
3211 </div>
3212 <p class="since">Since: 2.7.3</p>
3213 </div>
3214 <hr>
3215 <div class="refsect2">
3216 <a name="udisks-manager-skeleton-new"></a><h3>udisks_manager_skeleton_new ()</h3>
3217 <pre class="programlisting"><a class="link" href="UDisksManager.html" title="UDisksManager"><span class="returnvalue">UDisksManager</span></a> *
3218 udisks_manager_skeleton_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
3219 <p>Creates a skeleton object for the D-Bus interface <a class="link" href="gdbus-org.freedesktop.UDisks2.Manager.html#gdbus-interface-org-freedesktop-UDisks2-Manager.top_of_page">org.freedesktop.UDisks2.Manager</a>.</p>
3220 <div class="refsect3">
3221 <a name="udisks-manager-skeleton-new.returns"></a><h4>Returns</h4>
3222 <p>The skeleton object. </p>
3223 <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> UDisksManagerSkeleton]</span></p>
3224 </div>
3225 </div>
3226 </div>
3227 <div class="refsect1">
3228 <a name="UDisksManager.other_details"></a><h2>Types and Values</h2>
3229 <div class="refsect2">
3230 <a name="UDisksManager-struct"></a><h3>UDisksManager</h3>
3231 <pre class="programlisting">typedef struct _UDisksManager UDisksManager;</pre>
3232 <p>Abstract interface type for the D-Bus interface <a class="link" href="gdbus-org.freedesktop.UDisks2.Manager.html#gdbus-interface-org-freedesktop-UDisks2-Manager.top_of_page">org.freedesktop.UDisks2.Manager</a>.</p>
3233 </div>
3234 <hr>
3235 <div class="refsect2">
3236 <a name="UDisksManagerIface"></a><h3>struct UDisksManagerIface</h3>
3237 <pre class="programlisting">struct UDisksManagerIface {
3238 GTypeInterface parent_iface;
3239
3240 gboolean (*handle_enable_modules) (
3241 UDisksManager *object,
3242 GDBusMethodInvocation *invocation,
3243 gboolean arg_enable);
3244
3245 gboolean (*handle_loop_setup) (
3246 UDisksManager *object,
3247 GDBusMethodInvocation *invocation,
3248 GUnixFDList *fd_list,
3249 GVariant *arg_fd,
3250 GVariant *arg_options);
3251
3252 const gchar *const * (*get_supported_filesystems) (UDisksManager *object);
3253
3254 const gchar * (*get_version) (UDisksManager *object);
3255
3256 gboolean (*handle_mdraid_create) (
3257 UDisksManager *object,
3258 GDBusMethodInvocation *invocation,
3259 const gchar *const *arg_blocks,
3260 const gchar *arg_level,
3261 const gchar *arg_name,
3262 guint64 arg_chunk,
3263 GVariant *arg_options);
3264
3265 gboolean (*handle_can_check) (
3266 UDisksManager *object,
3267 GDBusMethodInvocation *invocation,
3268 const gchar *arg_type);
3269
3270 gboolean (*handle_can_format) (
3271 UDisksManager *object,
3272 GDBusMethodInvocation *invocation,
3273 const gchar *arg_type);
3274
3275 gboolean (*handle_can_repair) (
3276 UDisksManager *object,
3277 GDBusMethodInvocation *invocation,
3278 const gchar *arg_type);
3279
3280 gboolean (*handle_can_resize) (
3281 UDisksManager *object,
3282 GDBusMethodInvocation *invocation,
3283 const gchar *arg_type);
3284
3285 gboolean (*handle_get_block_devices) (
3286 UDisksManager *object,
3287 GDBusMethodInvocation *invocation,
3288 GVariant *arg_options);
3289
3290 gboolean (*handle_resolve_device) (
3291 UDisksManager *object,
3292 GDBusMethodInvocation *invocation,
3293 GVariant *arg_devspec,
3294 GVariant *arg_options);
3295
3296 const gchar * (*get_default_encryption_type) (UDisksManager *object);
3297
3298 const gchar *const * (*get_supported_encryption_types) (UDisksManager *object);
3299
3300 gboolean (*handle_enable_module) (
3301 UDisksManager *object,
3302 GDBusMethodInvocation *invocation,
3303 const gchar *arg_name,
3304 gboolean arg_enable);
3305
3306 gboolean (*handle_get_drives) (
3307 UDisksManager *object,
3308 GDBusMethodInvocation *invocation,
3309 GVariant *arg_options);
3310 };
3311 </pre>
3312 <p>Virtual table for the D-Bus interface <a class="link" href="gdbus-org.freedesktop.UDisks2.Manager.html#gdbus-interface-org-freedesktop-UDisks2-Manager.top_of_page">org.freedesktop.UDisks2.Manager</a>.</p>
3313 <div class="refsect3">
3314 <a name="UDisksManagerIface.members"></a><h4>Members</h4>
3315 <div class="informaltable"><table class="informaltable" width="100%" border="0">
3316 <colgroup>
3317 <col width="300px" class="struct_members_name">
3318 <col class="struct_members_description">
3319 <col width="200px" class="struct_members_annotations">
3320 </colgroup>
3321 <tbody>
3322 <tr>
3323 <td class="struct_member_name"><p><span class="type">GTypeInterface</span> <em class="structfield"><code><a name="UDisksManagerIface.parent-iface"></a>parent_iface</code></em>;</p></td>
3324 <td class="struct_member_description"><p>The parent interface.</p></td>
3325 <td class="struct_member_annotations"> </td>
3326 </tr>
3327 <tr>
3328 <td class="struct_member_name"><p><em class="structfield"><code><a name="UDisksManagerIface.handle-enable-modules"></a>handle_enable_modules</code></em> ()</p></td>
3329 <td class="struct_member_description"><p>Handler for the <a class="link" href="UDisksManager.html#UDisksManager-handle-enable-modules" title="The “handle-enable-modules” signal"><span class="type">“handle-enable-modules”</span></a> signal.</p></td>
3330 <td class="struct_member_annotations"> </td>
3331 </tr>
3332 <tr>
3333 <td class="struct_member_name"><p><em class="structfield"><code><a name="UDisksManagerIface.handle-loop-setup"></a>handle_loop_setup</code></em> ()</p></td>
3334 <td class="struct_member_description"><p>Handler for the <a class="link" href="UDisksManager.html#UDisksManager-handle-loop-setup" title="The “handle-loop-setup” signal"><span class="type">“handle-loop-setup”</span></a> signal.</p></td>
3335 <td class="struct_member_annotations"> </td>
3336 </tr>
3337 <tr>
3338 <td class="struct_member_name"><p><em class="structfield"><code><a name="UDisksManagerIface.get-supported-filesystems"></a>get_supported_filesystems</code></em> ()</p></td>
3339 <td class="struct_member_description"><p>Getter for the <a class="link" href="UDisksManager.html#UDisksManager--supported-filesystems" title="The “supported-filesystems” property"><span class="type">“supported-filesystems”</span></a> property.</p></td>
3340 <td class="struct_member_annotations"> </td>
3341 </tr>
3342 <tr>
3343 <td class="struct_member_name"><p><em class="structfield"><code><a name="UDisksManagerIface.get-version"></a>get_version</code></em> ()</p></td>
3344 <td class="struct_member_description"><p>Getter for the <a class="link" href="UDisksManager.html#UDisksManager--version" title="The “version” property"><span class="type">“version”</span></a> property.</p></td>
3345 <td class="struct_member_annotations"> </td>
3346 </tr>
3347 <tr>
3348 <td class="struct_member_name"><p><em class="structfield"><code><a name="UDisksManagerIface.handle-mdraid-create"></a>handle_mdraid_create</code></em> ()</p></td>
3349 <td class="struct_member_description"><p>Handler for the <a class="link" href="UDisksManager.html#UDisksManager-handle-mdraid-create" title="The “handle-mdraid-create” signal"><span class="type">“handle-mdraid-create”</span></a> signal.</p></td>
3350 <td class="struct_member_annotations"> </td>
3351 </tr>
3352 <tr>
3353 <td class="struct_member_name"><p><em class="structfield"><code><a name="UDisksManagerIface.handle-can-check"></a>handle_can_check</code></em> ()</p></td>
3354 <td class="struct_member_description"><p>Handler for the <a class="link" href="UDisksManager.html#UDisksManager-handle-can-check" title="The “handle-can-check” signal"><span class="type">“handle-can-check”</span></a> signal.</p></td>
3355 <td class="struct_member_annotations"> </td>
3356 </tr>
3357 <tr>
3358 <td class="struct_member_name"><p><em class="structfield"><code><a name="UDisksManagerIface.handle-can-format"></a>handle_can_format</code></em> ()</p></td>
3359 <td class="struct_member_description"><p>Handler for the <a class="link" href="UDisksManager.html#UDisksManager-handle-can-format" title="The “handle-can-format” signal"><span class="type">“handle-can-format”</span></a> signal.</p></td>
3360 <td class="struct_member_annotations"> </td>
3361 </tr>
3362 <tr>
3363 <td class="struct_member_name"><p><em class="structfield"><code><a name="UDisksManagerIface.handle-can-repair"></a>handle_can_repair</code></em> ()</p></td>
3364 <td class="struct_member_description"><p>Handler for the <a class="link" href="UDisksManager.html#UDisksManager-handle-can-repair" title="The “handle-can-repair” signal"><span class="type">“handle-can-repair”</span></a> signal.</p></td>
3365 <td class="struct_member_annotations"> </td>
3366 </tr>
3367 <tr>
3368 <td class="struct_member_name"><p><em class="structfield"><code><a name="UDisksManagerIface.handle-can-resize"></a>handle_can_resize</code></em> ()</p></td>
3369 <td class="struct_member_description"><p>Handler for the <a class="link" href="UDisksManager.html#UDisksManager-handle-can-resize" title="The “handle-can-resize” signal"><span class="type">“handle-can-resize”</span></a> signal.</p></td>
3370 <td class="struct_member_annotations"> </td>
3371 </tr>
3372 <tr>
3373 <td class="struct_member_name"><p><em class="structfield"><code><a name="UDisksManagerIface.handle-get-block-devices"></a>handle_get_block_devices</code></em> ()</p></td>
3374 <td class="struct_member_description"><p>Handler for the <a class="link" href="UDisksManager.html#UDisksManager-handle-get-block-devices" title="The “handle-get-block-devices” signal"><span class="type">“handle-get-block-devices”</span></a> signal.</p></td>
3375 <td class="struct_member_annotations"> </td>
3376 </tr>
3377 <tr>
3378 <td class="struct_member_name"><p><em class="structfield"><code><a name="UDisksManagerIface.handle-resolve-device"></a>handle_resolve_device</code></em> ()</p></td>
3379 <td class="struct_member_description"><p>Handler for the <a class="link" href="UDisksManager.html#UDisksManager-handle-resolve-device" title="The “handle-resolve-device” signal"><span class="type">“handle-resolve-device”</span></a> signal.</p></td>
3380 <td class="struct_member_annotations"> </td>
3381 </tr>
3382 <tr>
3383 <td class="struct_member_name"><p><em class="structfield"><code><a name="UDisksManagerIface.get-default-encryption-type"></a>get_default_encryption_type</code></em> ()</p></td>
3384 <td class="struct_member_description"><p>Getter for the <a class="link" href="UDisksManager.html#UDisksManager--default-encryption-type" title="The “default-encryption-type” property"><span class="type">“default-encryption-type”</span></a> property.</p></td>
3385 <td class="struct_member_annotations"> </td>
3386 </tr>
3387 <tr>
3388 <td class="struct_member_name"><p><em class="structfield"><code><a name="UDisksManagerIface.get-supported-encryption-types"></a>get_supported_encryption_types</code></em> ()</p></td>
3389 <td class="struct_member_description"><p>Getter for the <a class="link" href="UDisksManager.html#UDisksManager--supported-encryption-types" title="The “supported-encryption-types” property"><span class="type">“supported-encryption-types”</span></a> property.</p></td>
3390 <td class="struct_member_annotations"> </td>
3391 </tr>
3392 <tr>
3393 <td class="struct_member_name"><p><em class="structfield"><code><a name="UDisksManagerIface.handle-enable-module"></a>handle_enable_module</code></em> ()</p></td>
3394 <td class="struct_member_description"><p>Handler for the <a class="link" href="UDisksManager.html#UDisksManager-handle-enable-module" title="The “handle-enable-module” signal"><span class="type">“handle-enable-module”</span></a> signal.</p></td>
3395 <td class="struct_member_annotations"> </td>
3396 </tr>
3397 <tr>
3398 <td class="struct_member_name"><p><em class="structfield"><code><a name="UDisksManagerIface.handle-get-drives"></a>handle_get_drives</code></em> ()</p></td>
3399 <td class="struct_member_description"><p>Handler for the <a class="link" href="UDisksManager.html#UDisksManager-handle-get-drives" title="The “handle-get-drives” signal"><span class="type">“handle-get-drives”</span></a> signal.</p></td>
3400 <td class="struct_member_annotations"> </td>
3401 </tr>
3402 </tbody>
3403 </table></div>
3404 </div>
3405 </div>
3406 <hr>
3407 <div class="refsect2">
3408 <a name="UDisksManagerProxy-struct"></a><h3>struct UDisksManagerProxy</h3>
3409 <pre class="programlisting">struct UDisksManagerProxy;</pre>
3410 <p>The <a class="link" href="UDisksManager.html#UDisksManagerProxy"><span class="type">UDisksManagerProxy</span></a> structure contains only private data and should only be accessed using the provided API.</p>
3411 </div>
3412 <hr>
3413 <div class="refsect2">
3414 <a name="UDisksManagerProxyClass"></a><h3>struct UDisksManagerProxyClass</h3>
3415 <pre class="programlisting">struct UDisksManagerProxyClass {
3416 GDBusProxyClass parent_class;
3417 };
3418 </pre>
3419 <p>Class structure for <a class="link" href="UDisksManager.html#UDisksManagerProxy"><span class="type">UDisksManagerProxy</span></a>.</p>
3420 <div class="refsect3">
3421 <a name="UDisksManagerProxyClass.members"></a><h4>Members</h4>
3422 <div class="informaltable"><table class="informaltable" width="100%" border="0">
3423 <colgroup>
3424 <col width="300px" class="struct_members_name">
3425 <col class="struct_members_description">
3426 <col width="200px" class="struct_members_annotations">
3427 </colgroup>
3428 <tbody></tbody>
3429 </table></div>
3430 </div>
3431 </div>
3432 <hr>
3433 <div class="refsect2">
3434 <a name="UDisksManagerSkeleton-struct"></a><h3>struct UDisksManagerSkeleton</h3>
3435 <pre class="programlisting">struct UDisksManagerSkeleton;</pre>
3436 <p>The <a class="link" href="UDisksManager.html#UDisksManagerSkeleton"><span class="type">UDisksManagerSkeleton</span></a> structure contains only private data and should only be accessed using the provided API.</p>
3437 </div>
3438 <hr>
3439 <div class="refsect2">
3440 <a name="UDisksManagerSkeletonClass"></a><h3>struct UDisksManagerSkeletonClass</h3>
3441 <pre class="programlisting">struct UDisksManagerSkeletonClass {
3442 GDBusInterfaceSkeletonClass parent_class;
3443 };
3444 </pre>
3445 <p>Class structure for <a class="link" href="UDisksManager.html#UDisksManagerSkeleton"><span class="type">UDisksManagerSkeleton</span></a>.</p>
3446 <div class="refsect3">
3447 <a name="UDisksManagerSkeletonClass.members"></a><h4>Members</h4>
3448 <div class="informaltable"><table class="informaltable" width="100%" border="0">
3449 <colgroup>
3450 <col width="300px" class="struct_members_name">
3451 <col class="struct_members_description">
3452 <col width="200px" class="struct_members_annotations">
3453 </colgroup>
3454 <tbody></tbody>
3455 </table></div>
3456 </div>
3457 </div>
3458 </div>
3459 <div class="refsect1">
3460 <a name="UDisksManager.property-details"></a><h2>Property Details</h2>
3461 <div class="refsect2">
3462 <a name="UDisksManager--default-encryption-type"></a><h3>The <code class="literal">“default-encryption-type”</code> property</h3>
3463 <pre class="programlisting"> “default-encryption-type” <span class="type">char</span> *</pre>
3464 <p>Represents the D-Bus property <a class="link" href="gdbus-org.freedesktop.UDisks2.Manager.html#gdbus-property-org-freedesktop-UDisks2-Manager.DefaultEncryptionType" title='The "DefaultEncryptionType" property'>"DefaultEncryptionType"</a>.</p>
3465 <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>
3466 <p>Owner: UDisksManager</p>
3467 <p>Flags: Read / Write</p>
3468 <p>Default value: NULL</p>
3469 <p class="since">Since: 2.8.3</p>
3470 </div>
3471 <hr>
3472 <div class="refsect2">
3473 <a name="UDisksManager--supported-encryption-types"></a><h3>The <code class="literal">“supported-encryption-types”</code> property</h3>
3474 <pre class="programlisting"> “supported-encryption-types” <span class="type">GStrv</span></pre>
3475 <p>Represents the D-Bus property <a class="link" href="gdbus-org.freedesktop.UDisks2.Manager.html#gdbus-property-org-freedesktop-UDisks2-Manager.SupportedEncryptionTypes" title='The "SupportedEncryptionTypes" property'>"SupportedEncryptionTypes"</a>.</p>
3476 <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>
3477 <p>Owner: UDisksManager</p>
3478 <p>Flags: Read / Write</p>
3479 <p class="since">Since: 2.8.3</p>
3480 </div>
3481 <hr>
3482 <div class="refsect2">
3483 <a name="UDisksManager--supported-filesystems"></a><h3>The <code class="literal">“supported-filesystems”</code> property</h3>
3484 <pre class="programlisting"> “supported-filesystems” <span class="type">GStrv</span></pre>
3485 <p>Represents the D-Bus property <a class="link" href="gdbus-org.freedesktop.UDisks2.Manager.html#gdbus-property-org-freedesktop-UDisks2-Manager.SupportedFilesystems" title='The "SupportedFilesystems" property'>"SupportedFilesystems"</a>.</p>
3486 <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>
3487 <p>Owner: UDisksManager</p>
3488 <p>Flags: Read / Write</p>
3489 </div>
3490 <hr>
3491 <div class="refsect2">
3492 <a name="UDisksManager--version"></a><h3>The <code class="literal">“version”</code> property</h3>
3493 <pre class="programlisting"> “version” <span class="type">char</span> *</pre>
3494 <p>Represents the D-Bus property <a class="link" href="gdbus-org.freedesktop.UDisks2.Manager.html#gdbus-property-org-freedesktop-UDisks2-Manager.Version" title='The "Version" property'>"Version"</a>.</p>
3495 <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>
3496 <p>Owner: UDisksManager</p>
3497 <p>Flags: Read / Write</p>
3498 <p>Default value: NULL</p>
3499 </div>
3500 </div>
3501 <div class="refsect1">
3502 <a name="UDisksManager.signal-details"></a><h2>Signal Details</h2>
3503 <div class="refsect2">
3504 <a name="UDisksManager-handle-can-check"></a><h3>The <code class="literal">“handle-can-check”</code> signal</h3>
3505 <pre class="programlisting"><span class="returnvalue">gboolean</span>
3506 user_function (<a class="link" href="UDisksManager.html" title="UDisksManager"><span class="type">UDisksManager</span></a> *object,
3507 <span class="type">GDBusMethodInvocation</span> *invocation,
3508 <span class="type">char</span> *arg_type,
3509 <span class="type">gpointer</span> user_data)</pre>
3510 <p>Signal emitted when a remote caller is invoking the <a class="link" href="gdbus-org.freedesktop.UDisks2.Manager.html#gdbus-method-org-freedesktop-UDisks2-Manager.CanCheck" title="The CanCheck() method"><code class="function">CanCheck()</code></a> D-Bus method.</p>
3511 <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>
3512 and eventually call <a class="link" href="UDisksManager.html#udisks-manager-complete-can-check" title="udisks_manager_complete_can_check ()"><code class="function">udisks_manager_complete_can_check()</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>
3513 <div class="refsect3">
3514 <a name="UDisksManager-handle-can-check.parameters"></a><h4>Parameters</h4>
3515 <div class="informaltable"><table class="informaltable" width="100%" border="0">
3516 <colgroup>
3517 <col width="150px" class="parameters_name">
3518 <col class="parameters_description">
3519 <col width="200px" class="parameters_annotations">
3520 </colgroup>
3521 <tbody>
3522 <tr>
3523 <td class="parameter_name"><p>object</p></td>
3524 <td class="parameter_description"><p>A <a class="link" href="UDisksManager.html" title="UDisksManager"><span class="type">UDisksManager</span></a>.</p></td>
3525 <td class="parameter_annotations"> </td>
3526 </tr>
3527 <tr>
3528 <td class="parameter_name"><p>invocation</p></td>
3529 <td class="parameter_description"><p>A <span class="type">GDBusMethodInvocation</span>.</p></td>
3530 <td class="parameter_annotations"> </td>
3531 </tr>
3532 <tr>
3533 <td class="parameter_name"><p>arg_type</p></td>
3534 <td class="parameter_description"><p>Argument passed by remote caller.</p></td>
3535 <td class="parameter_annotations"> </td>
3536 </tr>
3537 <tr>
3538 <td class="parameter_name"><p>user_data</p></td>
3539 <td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
3540 <td class="parameter_annotations"> </td>
3541 </tr>
3542 </tbody>
3543 </table></div>
3544 </div>
3545 <div class="refsect3">
3546 <a name="UDisksManager-handle-can-check.returns"></a><h4>Returns</h4>
3547 <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>
3548 </div>
3549 <p>Flags: Run Last</p>
3550 <p class="since">Since: 2.7.2</p>
3551 </div>
3552 <hr>
3553 <div class="refsect2">
3554 <a name="UDisksManager-handle-can-format"></a><h3>The <code class="literal">“handle-can-format”</code> signal</h3>
3555 <pre class="programlisting"><span class="returnvalue">gboolean</span>
3556 user_function (<a class="link" href="UDisksManager.html" title="UDisksManager"><span class="type">UDisksManager</span></a> *object,
3557 <span class="type">GDBusMethodInvocation</span> *invocation,
3558 <span class="type">char</span> *arg_type,
3559 <span class="type">gpointer</span> user_data)</pre>
3560 <p>Signal emitted when a remote caller is invoking the <a class="link" href="gdbus-org.freedesktop.UDisks2.Manager.html#gdbus-method-org-freedesktop-UDisks2-Manager.CanFormat" title="The CanFormat() method"><code class="function">CanFormat()</code></a> D-Bus method.</p>
3561 <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>
3562 and eventually call <a class="link" href="UDisksManager.html#udisks-manager-complete-can-format" title="udisks_manager_complete_can_format ()"><code class="function">udisks_manager_complete_can_format()</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>
3563 <div class="refsect3">
3564 <a name="UDisksManager-handle-can-format.parameters"></a><h4>Parameters</h4>
3565 <div class="informaltable"><table class="informaltable" width="100%" border="0">
3566 <colgroup>
3567 <col width="150px" class="parameters_name">
3568 <col class="parameters_description">
3569 <col width="200px" class="parameters_annotations">
3570 </colgroup>
3571 <tbody>
3572 <tr>
3573 <td class="parameter_name"><p>object</p></td>
3574 <td class="parameter_description"><p>A <a class="link" href="UDisksManager.html" title="UDisksManager"><span class="type">UDisksManager</span></a>.</p></td>
3575 <td class="parameter_annotations"> </td>
3576 </tr>
3577 <tr>
3578 <td class="parameter_name"><p>invocation</p></td>
3579 <td class="parameter_description"><p>A <span class="type">GDBusMethodInvocation</span>.</p></td>
3580 <td class="parameter_annotations"> </td>
3581 </tr>
3582 <tr>
3583 <td class="parameter_name"><p>arg_type</p></td>
3584 <td class="parameter_description"><p>Argument passed by remote caller.</p></td>
3585 <td class="parameter_annotations"> </td>
3586 </tr>
3587 <tr>
3588 <td class="parameter_name"><p>user_data</p></td>
3589 <td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
3590 <td class="parameter_annotations"> </td>
3591 </tr>
3592 </tbody>
3593 </table></div>
3594 </div>
3595 <div class="refsect3">
3596 <a name="UDisksManager-handle-can-format.returns"></a><h4>Returns</h4>
3597 <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>
3598 </div>
3599 <p>Flags: Run Last</p>
3600 <p class="since">Since: 2.7.2</p>
3601 </div>
3602 <hr>
3603 <div class="refsect2">
3604 <a name="UDisksManager-handle-can-repair"></a><h3>The <code class="literal">“handle-can-repair”</code> signal</h3>
3605 <pre class="programlisting"><span class="returnvalue">gboolean</span>
3606 user_function (<a class="link" href="UDisksManager.html" title="UDisksManager"><span class="type">UDisksManager</span></a> *object,
3607 <span class="type">GDBusMethodInvocation</span> *invocation,
3608 <span class="type">char</span> *arg_type,
3609 <span class="type">gpointer</span> user_data)</pre>
3610 <p>Signal emitted when a remote caller is invoking the <a class="link" href="gdbus-org.freedesktop.UDisks2.Manager.html#gdbus-method-org-freedesktop-UDisks2-Manager.CanRepair" title="The CanRepair() method"><code class="function">CanRepair()</code></a> D-Bus method.</p>
3611 <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>
3612 and eventually call <a class="link" href="UDisksManager.html#udisks-manager-complete-can-repair" title="udisks_manager_complete_can_repair ()"><code class="function">udisks_manager_complete_can_repair()</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>
3613 <div class="refsect3">
3614 <a name="UDisksManager-handle-can-repair.parameters"></a><h4>Parameters</h4>
3615 <div class="informaltable"><table class="informaltable" width="100%" border="0">
3616 <colgroup>
3617 <col width="150px" class="parameters_name">
3618 <col class="parameters_description">
3619 <col width="200px" class="parameters_annotations">
3620 </colgroup>
3621 <tbody>
3622 <tr>
3623 <td class="parameter_name"><p>object</p></td>
3624 <td class="parameter_description"><p>A <a class="link" href="UDisksManager.html" title="UDisksManager"><span class="type">UDisksManager</span></a>.</p></td>
3625 <td class="parameter_annotations"> </td>
3626 </tr>
3627 <tr>
3628 <td class="parameter_name"><p>invocation</p></td>
3629 <td class="parameter_description"><p>A <span class="type">GDBusMethodInvocation</span>.</p></td>
3630 <td class="parameter_annotations"> </td>
3631 </tr>
3632 <tr>
3633 <td class="parameter_name"><p>arg_type</p></td>
3634 <td class="parameter_description"><p>Argument passed by remote caller.</p></td>
3635 <td class="parameter_annotations"> </td>
3636 </tr>
3637 <tr>
3638 <td class="parameter_name"><p>user_data</p></td>
3639 <td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
3640 <td class="parameter_annotations"> </td>
3641 </tr>
3642 </tbody>
3643 </table></div>
3644 </div>
3645 <div class="refsect3">
3646 <a name="UDisksManager-handle-can-repair.returns"></a><h4>Returns</h4>
3647 <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>
3648 </div>
3649 <p>Flags: Run Last</p>
3650 <p class="since">Since: 2.7.2</p>
3651 </div>
3652 <hr>
3653 <div class="refsect2">
3654 <a name="UDisksManager-handle-can-resize"></a><h3>The <code class="literal">“handle-can-resize”</code> signal</h3>
3655 <pre class="programlisting"><span class="returnvalue">gboolean</span>
3656 user_function (<a class="link" href="UDisksManager.html" title="UDisksManager"><span class="type">UDisksManager</span></a> *object,
3657 <span class="type">GDBusMethodInvocation</span> *invocation,
3658 <span class="type">char</span> *arg_type,
3659 <span class="type">gpointer</span> user_data)</pre>
3660 <p>Signal emitted when a remote caller is invoking the <a class="link" href="gdbus-org.freedesktop.UDisks2.Manager.html#gdbus-method-org-freedesktop-UDisks2-Manager.CanResize" title="The CanResize() method"><code class="function">CanResize()</code></a> D-Bus method.</p>
3661 <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>
3662 and eventually call <a class="link" href="UDisksManager.html#udisks-manager-complete-can-resize" title="udisks_manager_complete_can_resize ()"><code class="function">udisks_manager_complete_can_resize()</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>
3663 <div class="refsect3">
3664 <a name="UDisksManager-handle-can-resize.parameters"></a><h4>Parameters</h4>
3665 <div class="informaltable"><table class="informaltable" width="100%" border="0">
3666 <colgroup>
3667 <col width="150px" class="parameters_name">
3668 <col class="parameters_description">
3669 <col width="200px" class="parameters_annotations">
3670 </colgroup>
3671 <tbody>
3672 <tr>
3673 <td class="parameter_name"><p>object</p></td>
3674 <td class="parameter_description"><p>A <a class="link" href="UDisksManager.html" title="UDisksManager"><span class="type">UDisksManager</span></a>.</p></td>
3675 <td class="parameter_annotations"> </td>
3676 </tr>
3677 <tr>
3678 <td class="parameter_name"><p>invocation</p></td>
3679 <td class="parameter_description"><p>A <span class="type">GDBusMethodInvocation</span>.</p></td>
3680 <td class="parameter_annotations"> </td>
3681 </tr>
3682 <tr>
3683 <td class="parameter_name"><p>arg_type</p></td>
3684 <td class="parameter_description"><p>Argument passed by remote caller.</p></td>
3685 <td class="parameter_annotations"> </td>
3686 </tr>
3687 <tr>
3688 <td class="parameter_name"><p>user_data</p></td>
3689 <td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
3690 <td class="parameter_annotations"> </td>
3691 </tr>
3692 </tbody>
3693 </table></div>
3694 </div>
3695 <div class="refsect3">
3696 <a name="UDisksManager-handle-can-resize.returns"></a><h4>Returns</h4>
3697 <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>
3698 </div>
3699 <p>Flags: Run Last</p>
3700 <p class="since">Since: 2.7.2</p>
3701 </div>
3702 <hr>
3703 <div class="refsect2">
3704 <a name="UDisksManager-handle-enable-module"></a><h3>The <code class="literal">“handle-enable-module”</code> signal</h3>
3705 <pre class="programlisting"><span class="returnvalue">gboolean</span>
3706 user_function (<a class="link" href="UDisksManager.html" title="UDisksManager"><span class="type">UDisksManager</span></a> *object,
3707 <span class="type">GDBusMethodInvocation</span> *invocation,
3708 <span class="type">char</span> *arg_name,
3709 <span class="type">gboolean</span> arg_enable,
3710 <span class="type">gpointer</span> user_data)</pre>
3711 <p>Signal emitted when a remote caller is invoking the <a class="link" href="gdbus-org.freedesktop.UDisks2.Manager.html#gdbus-method-org-freedesktop-UDisks2-Manager.EnableModule" title="The EnableModule() method"><code class="function">EnableModule()</code></a> D-Bus method.</p>
3712 <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>
3713 and eventually call <a class="link" href="UDisksManager.html#udisks-manager-complete-enable-module" title="udisks_manager_complete_enable_module ()"><code class="function">udisks_manager_complete_enable_module()</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>
3714 <div class="refsect3">
3715 <a name="UDisksManager-handle-enable-module.parameters"></a><h4>Parameters</h4>
3716 <div class="informaltable"><table class="informaltable" width="100%" border="0">
3717 <colgroup>
3718 <col width="150px" class="parameters_name">
3719 <col class="parameters_description">
3720 <col width="200px" class="parameters_annotations">
3721 </colgroup>
3722 <tbody>
3723 <tr>
3724 <td class="parameter_name"><p>object</p></td>
3725 <td class="parameter_description"><p>A <a class="link" href="UDisksManager.html" title="UDisksManager"><span class="type">UDisksManager</span></a>.</p></td>
3726 <td class="parameter_annotations"> </td>
3727 </tr>
3728 <tr>
3729 <td class="parameter_name"><p>invocation</p></td>
3730 <td class="parameter_description"><p>A <span class="type">GDBusMethodInvocation</span>.</p></td>
3731 <td class="parameter_annotations"> </td>
3732 </tr>
3733 <tr>
3734 <td class="parameter_name"><p>arg_name</p></td>
3735 <td class="parameter_description"><p>Argument passed by remote caller.</p></td>
3736 <td class="parameter_annotations"> </td>
3737 </tr>
3738 <tr>
3739 <td class="parameter_name"><p>arg_enable</p></td>
3740 <td class="parameter_description"><p>Argument passed by remote caller.</p></td>
3741 <td class="parameter_annotations"> </td>
3742 </tr>
3743 <tr>
3744 <td class="parameter_name"><p>user_data</p></td>
3745 <td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
3746 <td class="parameter_annotations"> </td>
3747 </tr>
3748 </tbody>
3749 </table></div>
3750 </div>
3751 <div class="refsect3">
3752 <a name="UDisksManager-handle-enable-module.returns"></a><h4>Returns</h4>
3753 <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>
3754 </div>
3755 <p>Flags: Run Last</p>
3756 <p class="since">Since: 2.9.0</p>
3757 </div>
3758 <hr>
3759 <div class="refsect2">
3760 <a name="UDisksManager-handle-enable-modules"></a><h3>The <code class="literal">“handle-enable-modules”</code> signal</h3>
3761 <pre class="programlisting"><span class="returnvalue">gboolean</span>
3762 user_function (<a class="link" href="UDisksManager.html" title="UDisksManager"><span class="type">UDisksManager</span></a> *object,
3763 <span class="type">GDBusMethodInvocation</span> *invocation,
3764 <span class="type">gboolean</span> arg_enable,
3765 <span class="type">gpointer</span> user_data)</pre>
3766 <p>Signal emitted when a remote caller is invoking the <a class="link" href="gdbus-org.freedesktop.UDisks2.Manager.html#gdbus-method-org-freedesktop-UDisks2-Manager.EnableModules" title="The EnableModules() method"><code class="function">EnableModules()</code></a> D-Bus method.</p>
3767 <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>
3768 and eventually call <code class="function">udisks_manager_complete_enable_modules()</code> 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>
3769 <div class="warning">
3770 <p><code class="literal">UDisksManager::handle-enable-modules</code> is deprecated and should not be used in newly-written code.</p>
3771 <p>The D-Bus method has been deprecated.</p>
3772 </div>
3773 <div class="refsect3">
3774 <a name="UDisksManager-handle-enable-modules.parameters"></a><h4>Parameters</h4>
3775 <div class="informaltable"><table class="informaltable" width="100%" border="0">
3776 <colgroup>
3777 <col width="150px" class="parameters_name">
3778 <col class="parameters_description">
3779 <col width="200px" class="parameters_annotations">
3780 </colgroup>
3781 <tbody>
3782 <tr>
3783 <td class="parameter_name"><p>object</p></td>
3784 <td class="parameter_description"><p>A <a class="link" href="UDisksManager.html" title="UDisksManager"><span class="type">UDisksManager</span></a>.</p></td>
3785 <td class="parameter_annotations"> </td>
3786 </tr>
3787 <tr>
3788 <td class="parameter_name"><p>invocation</p></td>
3789 <td class="parameter_description"><p>A <span class="type">GDBusMethodInvocation</span>.</p></td>
3790 <td class="parameter_annotations"> </td>
3791 </tr>
3792 <tr>
3793 <td class="parameter_name"><p>arg_enable</p></td>
3794 <td class="parameter_description"><p>Argument passed by remote caller.</p></td>
3795 <td class="parameter_annotations"> </td>
3796 </tr>
3797 <tr>
3798 <td class="parameter_name"><p>user_data</p></td>
3799 <td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
3800 <td class="parameter_annotations"> </td>
3801 </tr>
3802 </tbody>
3803 </table></div>
3804 </div>
3805 <div class="refsect3">
3806 <a name="UDisksManager-handle-enable-modules.returns"></a><h4>Returns</h4>
3807 <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>
3808 </div>
3809 <p>Flags: Run Last</p>
3810 </div>
3811 <hr>
3812 <div class="refsect2">
3813 <a name="UDisksManager-handle-get-block-devices"></a><h3>The <code class="literal">“handle-get-block-devices”</code> signal</h3>
3814 <pre class="programlisting"><span class="returnvalue">gboolean</span>
3815 user_function (<a class="link" href="UDisksManager.html" title="UDisksManager"><span class="type">UDisksManager</span></a> *object,
3816 <span class="type">GDBusMethodInvocation</span> *invocation,
3817 <span class="type">GVariant</span> *arg_options,
3818 <span class="type">gpointer</span> user_data)</pre>
3819 <p>Signal emitted when a remote caller is invoking the <a class="link" href="gdbus-org.freedesktop.UDisks2.Manager.html#gdbus-method-org-freedesktop-UDisks2-Manager.GetBlockDevices" title="The GetBlockDevices() method"><code class="function">GetBlockDevices()</code></a> D-Bus method.</p>
3820 <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>
3821 and eventually call <a class="link" href="UDisksManager.html#udisks-manager-complete-get-block-devices" title="udisks_manager_complete_get_block_devices ()"><code class="function">udisks_manager_complete_get_block_devices()</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>
3822 <div class="refsect3">
3823 <a name="UDisksManager-handle-get-block-devices.parameters"></a><h4>Parameters</h4>
3824 <div class="informaltable"><table class="informaltable" width="100%" border="0">
3825 <colgroup>
3826 <col width="150px" class="parameters_name">
3827 <col class="parameters_description">
3828 <col width="200px" class="parameters_annotations">
3829 </colgroup>
3830 <tbody>
3831 <tr>
3832 <td class="parameter_name"><p>object</p></td>
3833 <td class="parameter_description"><p>A <a class="link" href="UDisksManager.html" title="UDisksManager"><span class="type">UDisksManager</span></a>.</p></td>
3834 <td class="parameter_annotations"> </td>
3835 </tr>
3836 <tr>
3837 <td class="parameter_name"><p>invocation</p></td>
3838 <td class="parameter_description"><p>A <span class="type">GDBusMethodInvocation</span>.</p></td>
3839 <td class="parameter_annotations"> </td>
3840 </tr>
3841 <tr>
3842 <td class="parameter_name"><p>arg_options</p></td>
3843 <td class="parameter_description"><p>Argument passed by remote caller.</p></td>
3844 <td class="parameter_annotations"> </td>
3845 </tr>
3846 <tr>
3847 <td class="parameter_name"><p>user_data</p></td>
3848 <td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
3849 <td class="parameter_annotations"> </td>
3850 </tr>
3851 </tbody>
3852 </table></div>
3853 </div>
3854 <div class="refsect3">
3855 <a name="UDisksManager-handle-get-block-devices.returns"></a><h4>Returns</h4>
3856 <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>
3857 </div>
3858 <p>Flags: Run Last</p>
3859 <p class="since">Since: 2.7.2</p>
3860 </div>
3861 <hr>
3862 <div class="refsect2">
3863 <a name="UDisksManager-handle-get-drives"></a><h3>The <code class="literal">“handle-get-drives”</code> signal</h3>
3864 <pre class="programlisting"><span class="returnvalue">gboolean</span>
3865 user_function (<a class="link" href="UDisksManager.html" title="UDisksManager"><span class="type">UDisksManager</span></a> *object,
3866 <span class="type">GDBusMethodInvocation</span> *invocation,
3867 <span class="type">GVariant</span> *arg_options,
3868 <span class="type">gpointer</span> user_data)</pre>
3869 <p>Signal emitted when a remote caller is invoking the <a class="link" href="gdbus-org.freedesktop.UDisks2.Manager.html#gdbus-method-org-freedesktop-UDisks2-Manager.GetDrives" title="The GetDrives() method"><code class="function">GetDrives()</code></a> D-Bus method.</p>
3870 <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>
3871 and eventually call <a class="link" href="UDisksManager.html#udisks-manager-complete-get-drives" title="udisks_manager_complete_get_drives ()"><code class="function">udisks_manager_complete_get_drives()</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>
3872 <div class="refsect3">
3873 <a name="UDisksManager-handle-get-drives.parameters"></a><h4>Parameters</h4>
3874 <div class="informaltable"><table class="informaltable" width="100%" border="0">
3875 <colgroup>
3876 <col width="150px" class="parameters_name">
3877 <col class="parameters_description">
3878 <col width="200px" class="parameters_annotations">
3879 </colgroup>
3880 <tbody>
3881 <tr>
3882 <td class="parameter_name"><p>object</p></td>
3883 <td class="parameter_description"><p>A <a class="link" href="UDisksManager.html" title="UDisksManager"><span class="type">UDisksManager</span></a>.</p></td>
3884 <td class="parameter_annotations"> </td>
3885 </tr>
3886 <tr>
3887 <td class="parameter_name"><p>invocation</p></td>
3888 <td class="parameter_description"><p>A <span class="type">GDBusMethodInvocation</span>.</p></td>
3889 <td class="parameter_annotations"> </td>
3890 </tr>
3891 <tr>
3892 <td class="parameter_name"><p>arg_options</p></td>
3893 <td class="parameter_description"><p>Argument passed by remote caller.</p></td>
3894 <td class="parameter_annotations"> </td>
3895 </tr>
3896 <tr>
3897 <td class="parameter_name"><p>user_data</p></td>
3898 <td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
3899 <td class="parameter_annotations"> </td>
3900 </tr>
3901 </tbody>
3902 </table></div>
3903 </div>
3904 <div class="refsect3">
3905 <a name="UDisksManager-handle-get-drives.returns"></a><h4>Returns</h4>
3906 <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>
3907 </div>
3908 <p>Flags: Run Last</p>
3909 <p class="since">Since: 2.11</p>
3910 </div>
3911 <hr>
3912 <div class="refsect2">
3913 <a name="UDisksManager-handle-loop-setup"></a><h3>The <code class="literal">“handle-loop-setup”</code> signal</h3>
3914 <pre class="programlisting"><span class="returnvalue">gboolean</span>
3915 user_function (<a class="link" href="UDisksManager.html" title="UDisksManager"><span class="type">UDisksManager</span></a> *object,
3916 <span class="type">GDBusMethodInvocation</span> *invocation,
3917 <span class="type">GUnixFDList</span> *fd_list,
3918 <span class="type">GVariant</span> *arg_fd,
3919 <span class="type">GVariant</span> *arg_options,
3920 <span class="type">gpointer</span> user_data)</pre>
3921 <p>Signal emitted when a remote caller is invoking the <a class="link" href="gdbus-org.freedesktop.UDisks2.Manager.html#gdbus-method-org-freedesktop-UDisks2-Manager.LoopSetup" title="The LoopSetup() method"><code class="function">LoopSetup()</code></a> D-Bus method.</p>
3922 <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>
3923 and eventually call <a class="link" href="UDisksManager.html#udisks-manager-complete-loop-setup" title="udisks_manager_complete_loop_setup ()"><code class="function">udisks_manager_complete_loop_setup()</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>
3924 <div class="refsect3">
3925 <a name="UDisksManager-handle-loop-setup.parameters"></a><h4>Parameters</h4>
3926 <div class="informaltable"><table class="informaltable" width="100%" border="0">
3927 <colgroup>
3928 <col width="150px" class="parameters_name">
3929 <col class="parameters_description">
3930 <col width="200px" class="parameters_annotations">
3931 </colgroup>
3932 <tbody>
3933 <tr>
3934 <td class="parameter_name"><p>object</p></td>
3935 <td class="parameter_description"><p>A <a class="link" href="UDisksManager.html" title="UDisksManager"><span class="type">UDisksManager</span></a>.</p></td>
3936 <td class="parameter_annotations"> </td>
3937 </tr>
3938 <tr>
3939 <td class="parameter_name"><p>invocation</p></td>
3940 <td class="parameter_description"><p>A <span class="type">GDBusMethodInvocation</span>.</p></td>
3941 <td class="parameter_annotations"> </td>
3942 </tr>
3943 <tr>
3944 <td class="parameter_name"><p>fd_list</p></td>
3945 <td class="parameter_description"><p>A <span class="type">GUnixFDList</span> or <code class="literal">NULL</code>. </p></td>
3946 <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>
3947 </tr>
3948 <tr>
3949 <td class="parameter_name"><p>arg_fd</p></td>
3950 <td class="parameter_description"><p>Argument passed by remote caller.</p></td>
3951 <td class="parameter_annotations"> </td>
3952 </tr>
3953 <tr>
3954 <td class="parameter_name"><p>arg_options</p></td>
3955 <td class="parameter_description"><p>Argument passed by remote caller.</p></td>
3956 <td class="parameter_annotations"> </td>
3957 </tr>
3958 <tr>
3959 <td class="parameter_name"><p>user_data</p></td>
3960 <td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
3961 <td class="parameter_annotations"> </td>
3962 </tr>
3963 </tbody>
3964 </table></div>
3965 </div>
3966 <div class="refsect3">
3967 <a name="UDisksManager-handle-loop-setup.returns"></a><h4>Returns</h4>
3968 <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>
3969 </div>
3970 <p>Flags: Run Last</p>
3971 </div>
3972 <hr>
3973 <div class="refsect2">
3974 <a name="UDisksManager-handle-mdraid-create"></a><h3>The <code class="literal">“handle-mdraid-create”</code> signal</h3>
3975 <pre class="programlisting"><span class="returnvalue">gboolean</span>
3976 user_function (<a class="link" href="UDisksManager.html" title="UDisksManager"><span class="type">UDisksManager</span></a> *object,
3977 <span class="type">GDBusMethodInvocation</span> *invocation,
3978 <span class="type">GStrv</span> arg_blocks,
3979 <span class="type">char</span> *arg_level,
3980 <span class="type">char</span> *arg_name,
3981 <span class="type">guint64</span> arg_chunk,
3982 <span class="type">GVariant</span> *arg_options,
3983 <span class="type">gpointer</span> user_data)</pre>
3984 <p>Signal emitted when a remote caller is invoking the <a class="link" href="gdbus-org.freedesktop.UDisks2.Manager.html#gdbus-method-org-freedesktop-UDisks2-Manager.MDRaidCreate" title="The MDRaidCreate() method"><code class="function">MDRaidCreate()</code></a> D-Bus method.</p>
3985 <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>
3986 and eventually call <a class="link" href="UDisksManager.html#udisks-manager-complete-mdraid-create" title="udisks_manager_complete_mdraid_create ()"><code class="function">udisks_manager_complete_mdraid_create()</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>
3987 <div class="refsect3">
3988 <a name="UDisksManager-handle-mdraid-create.parameters"></a><h4>Parameters</h4>
3989 <div class="informaltable"><table class="informaltable" width="100%" border="0">
3990 <colgroup>
3991 <col width="150px" class="parameters_name">
3992 <col class="parameters_description">
3993 <col width="200px" class="parameters_annotations">
3994 </colgroup>
3995 <tbody>
3996 <tr>
3997 <td class="parameter_name"><p>object</p></td>
3998 <td class="parameter_description"><p>A <a class="link" href="UDisksManager.html" title="UDisksManager"><span class="type">UDisksManager</span></a>.</p></td>
3999 <td class="parameter_annotations"> </td>
4000 </tr>
4001 <tr>
4002 <td class="parameter_name"><p>invocation</p></td>
4003 <td class="parameter_description"><p>A <span class="type">GDBusMethodInvocation</span>.</p></td>
4004 <td class="parameter_annotations"> </td>
4005 </tr>
4006 <tr>
4007 <td class="parameter_name"><p>arg_blocks</p></td>
4008 <td class="parameter_description"><p>Argument passed by remote caller.</p></td>
4009 <td class="parameter_annotations"> </td>
4010 </tr>
4011 <tr>
4012 <td class="parameter_name"><p>arg_level</p></td>
4013 <td class="parameter_description"><p>Argument passed by remote caller.</p></td>
4014 <td class="parameter_annotations"> </td>
4015 </tr>
4016 <tr>
4017 <td class="parameter_name"><p>arg_name</p></td>
4018 <td class="parameter_description"><p>Argument passed by remote caller.</p></td>
4019 <td class="parameter_annotations"> </td>
4020 </tr>
4021 <tr>
4022 <td class="parameter_name"><p>arg_chunk</p></td>
4023 <td class="parameter_description"><p>Argument passed by remote caller.</p></td>
4024 <td class="parameter_annotations"> </td>
4025 </tr>
4026 <tr>
4027 <td class="parameter_name"><p>arg_options</p></td>
4028 <td class="parameter_description"><p>Argument passed by remote caller.</p></td>
4029 <td class="parameter_annotations"> </td>
4030 </tr>
4031 <tr>
4032 <td class="parameter_name"><p>user_data</p></td>
4033 <td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
4034 <td class="parameter_annotations"> </td>
4035 </tr>
4036 </tbody>
4037 </table></div>
4038 </div>
4039 <div class="refsect3">
4040 <a name="UDisksManager-handle-mdraid-create.returns"></a><h4>Returns</h4>
4041 <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>
4042 </div>
4043 <p>Flags: Run Last</p>
4044 <p class="since">Since: 2.0.0</p>
4045 </div>
4046 <hr>
4047 <div class="refsect2">
4048 <a name="UDisksManager-handle-resolve-device"></a><h3>The <code class="literal">“handle-resolve-device”</code> signal</h3>
4049 <pre class="programlisting"><span class="returnvalue">gboolean</span>
4050 user_function (<a class="link" href="UDisksManager.html" title="UDisksManager"><span class="type">UDisksManager</span></a> *object,
4051 <span class="type">GDBusMethodInvocation</span> *invocation,
4052 <span class="type">GVariant</span> *arg_devspec,
4053 <span class="type">GVariant</span> *arg_options,
4054 <span class="type">gpointer</span> user_data)</pre>
4055 <p>Signal emitted when a remote caller is invoking the <a class="link" href="gdbus-org.freedesktop.UDisks2.Manager.html#gdbus-method-org-freedesktop-UDisks2-Manager.ResolveDevice" title="The ResolveDevice() method"><code class="function">ResolveDevice()</code></a> D-Bus method.</p>
4056 <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>
4057 and eventually call <a class="link" href="UDisksManager.html#udisks-manager-complete-resolve-device" title="udisks_manager_complete_resolve_device ()"><code class="function">udisks_manager_complete_resolve_device()</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>
4058 <div class="refsect3">
4059 <a name="UDisksManager-handle-resolve-device.parameters"></a><h4>Parameters</h4>
4060 <div class="informaltable"><table class="informaltable" width="100%" border="0">
4061 <colgroup>
4062 <col width="150px" class="parameters_name">
4063 <col class="parameters_description">
4064 <col width="200px" class="parameters_annotations">
4065 </colgroup>
4066 <tbody>
4067 <tr>
4068 <td class="parameter_name"><p>object</p></td>
4069 <td class="parameter_description"><p>A <a class="link" href="UDisksManager.html" title="UDisksManager"><span class="type">UDisksManager</span></a>.</p></td>
4070 <td class="parameter_annotations"> </td>
4071 </tr>
4072 <tr>
4073 <td class="parameter_name"><p>invocation</p></td>
4074 <td class="parameter_description"><p>A <span class="type">GDBusMethodInvocation</span>.</p></td>
4075 <td class="parameter_annotations"> </td>
4076 </tr>
4077 <tr>
4078 <td class="parameter_name"><p>arg_devspec</p></td>
4079 <td class="parameter_description"><p>Argument passed by remote caller.</p></td>
4080 <td class="parameter_annotations"> </td>
4081 </tr>
4082 <tr>
4083 <td class="parameter_name"><p>arg_options</p></td>
4084 <td class="parameter_description"><p>Argument passed by remote caller.</p></td>
4085 <td class="parameter_annotations"> </td>
4086 </tr>
4087 <tr>
4088 <td class="parameter_name"><p>user_data</p></td>
4089 <td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
4090 <td class="parameter_annotations"> </td>
4091 </tr>
4092 </tbody>
4093 </table></div>
4094 </div>
4095 <div class="refsect3">
4096 <a name="UDisksManager-handle-resolve-device.returns"></a><h4>Returns</h4>
4097 <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>
4098 </div>
4099 <p>Flags: Run Last</p>
4100 <p class="since">Since: 2.7.3</p>
4101 </div>
4102 </div>
4103 </div>
4104 <div class="footer">
4105 <hr>Generated by GTK-Doc V1.35.1</div>
4106 </body>
4107 </html>