Debian Codegraph @

doc/html/UDisksObjectManagerClient.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>UDisksObjectManagerClient: 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="UDisksObject.html" title="UDisksObject">
10 <link rel="next" href="UDisksManager.html" title="UDisksManager">
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="#UDisksObjectManagerClient.description" class="shortcut">Description</a></span><span id="nav_hierarchy">  <span class="dim">|</span> 
19 <a href="#UDisksObjectManagerClient.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_interfaces">  <span class="dim">|</span> 
20 <a href="#UDisksObjectManagerClient.implemented-interfaces" class="shortcut">Implemented Interfaces</a></span>
21 </td>
22 <td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
23 <td><a accesskey="u" href="ref-library-generated.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
24 <td><a accesskey="p" href="UDisksObject.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
25 <td><a accesskey="n" href="UDisksManager.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
26 </tr></table>
27 <div class="refentry">
28 <a name="UDisksObjectManagerClient"></a><div class="titlepage"></div>
29 <div class="refnamediv"><table width="100%"><tr>
30 <td valign="top">
31 <h2><span class="refentrytitle"><a name="UDisksObjectManagerClient.top_of_page"></a>UDisksObjectManagerClient</span></h2>
32 <p>UDisksObjectManagerClient — Generated GDBusObjectManagerClient type</p>
33 </td>
34 <td class="gallery_image" valign="top" align="right"></td>
35 </tr></table></div>
36 <div class="refsect1">
37 <a name="UDisksObjectManagerClient.functions"></a><h2>Functions</h2>
38 <div class="informaltable"><table class="informaltable" width="100%" border="0">
39 <colgroup>
40 <col width="150px" class="functions_proto_type">
41 <col class="functions_proto_name">
42 </colgroup>
43 <tbody>
44 <tr>
45 <td class="function_type">
46 <span class="returnvalue">GType</span>
47 </td>
48 <td class="function_name">
49 <a class="link" href="UDisksObjectManagerClient.html#udisks-object-manager-client-get-proxy-type" title="udisks_object_manager_client_get_proxy_type ()">udisks_object_manager_client_get_proxy_type</a> <span class="c_punctuation">()</span>
50 </td>
51 </tr>
52 <tr>
53 <td class="function_type">
54 <span class="returnvalue">void</span>
55 </td>
56 <td class="function_name">
57 <a class="link" href="UDisksObjectManagerClient.html#udisks-object-manager-client-new" title="udisks_object_manager_client_new ()">udisks_object_manager_client_new</a> <span class="c_punctuation">()</span>
58 </td>
59 </tr>
60 <tr>
61 <td class="function_type">
62 <span class="returnvalue">GDBusObjectManager</span> *
63 </td>
64 <td class="function_name">
65 <a class="link" href="UDisksObjectManagerClient.html#udisks-object-manager-client-new-finish" title="udisks_object_manager_client_new_finish ()">udisks_object_manager_client_new_finish</a> <span class="c_punctuation">()</span>
66 </td>
67 </tr>
68 <tr>
69 <td class="function_type">
70 <span class="returnvalue">void</span>
71 </td>
72 <td class="function_name">
73 <a class="link" href="UDisksObjectManagerClient.html#udisks-object-manager-client-new-for-bus" title="udisks_object_manager_client_new_for_bus ()">udisks_object_manager_client_new_for_bus</a> <span class="c_punctuation">()</span>
74 </td>
75 </tr>
76 <tr>
77 <td class="function_type">
78 <span class="returnvalue">GDBusObjectManager</span> *
79 </td>
80 <td class="function_name">
81 <a class="link" href="UDisksObjectManagerClient.html#udisks-object-manager-client-new-for-bus-finish" title="udisks_object_manager_client_new_for_bus_finish ()">udisks_object_manager_client_new_for_bus_finish</a> <span class="c_punctuation">()</span>
82 </td>
83 </tr>
84 <tr>
85 <td class="function_type">
86 <span class="returnvalue">GDBusObjectManager</span> *
87 </td>
88 <td class="function_name">
89 <a class="link" href="UDisksObjectManagerClient.html#udisks-object-manager-client-new-for-bus-sync" title="udisks_object_manager_client_new_for_bus_sync ()">udisks_object_manager_client_new_for_bus_sync</a> <span class="c_punctuation">()</span>
90 </td>
91 </tr>
92 <tr>
93 <td class="function_type">
94 <span class="returnvalue">GDBusObjectManager</span> *
95 </td>
96 <td class="function_name">
97 <a class="link" href="UDisksObjectManagerClient.html#udisks-object-manager-client-new-sync" title="udisks_object_manager_client_new_sync ()">udisks_object_manager_client_new_sync</a> <span class="c_punctuation">()</span>
98 </td>
99 </tr>
100 </tbody>
101 </table></div>
102 </div>
103 <div class="refsect1">
104 <a name="UDisksObjectManagerClient.other"></a><h2>Types and Values</h2>
105 <div class="informaltable"><table class="informaltable" width="100%" border="0">
106 <colgroup>
107 <col width="150px" class="other_proto_type">
108 <col class="other_proto_name">
109 </colgroup>
110 <tbody>
111 <tr>
112 <td class="datatype_keyword">struct</td>
113 <td class="function_name"><a class="link" href="UDisksObjectManagerClient.html#UDisksObjectManagerClient-struct" title="struct UDisksObjectManagerClient">UDisksObjectManagerClient</a></td>
114 </tr>
115 <tr>
116 <td class="datatype_keyword">struct</td>
117 <td class="function_name"><a class="link" href="UDisksObjectManagerClient.html#UDisksObjectManagerClientClass" title="struct UDisksObjectManagerClientClass">UDisksObjectManagerClientClass</a></td>
118 </tr>
119 </tbody>
120 </table></div>
121 </div>
122 <div class="refsect1">
123 <a name="UDisksObjectManagerClient.object-hierarchy"></a><h2>Object Hierarchy</h2>
124 <pre class="screen"> GObject
125 <span class="lineart">╰──</span> GDBusObjectManagerClient
126 <span class="lineart">╰──</span> UDisksObjectManagerClient
127 </pre>
128 </div>
129 <div class="refsect1">
130 <a name="UDisksObjectManagerClient.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
131 <p>
132 UDisksObjectManagerClient implements
133 GInitable, GAsyncInitable and GDBusObjectManager.</p>
134 </div>
135 <div class="refsect1">
136 <a name="UDisksObjectManagerClient.description"></a><h2>Description</h2>
137 <p>This section contains a <span class="type">GDBusObjectManagerClient</span> that uses <a class="link" href="UDisksObjectManagerClient.html#udisks-object-manager-client-get-proxy-type" title="udisks_object_manager_client_get_proxy_type ()"><code class="function">udisks_object_manager_client_get_proxy_type()</code></a> as the <span class="type">GDBusProxyTypeFunc</span>.</p>
138 </div>
139 <div class="refsect1">
140 <a name="UDisksObjectManagerClient.functions_details"></a><h2>Functions</h2>
141 <div class="refsect2">
142 <a name="udisks-object-manager-client-get-proxy-type"></a><h3>udisks_object_manager_client_get_proxy_type ()</h3>
143 <pre class="programlisting"><span class="returnvalue">GType</span>
144 udisks_object_manager_client_get_proxy_type
145 (<em class="parameter"><code><span class="type">GDBusObjectManagerClient</span> *manager</code></em>,
146 <em class="parameter"><code>const <span class="type">gchar</span> *object_path</code></em>,
147 <em class="parameter"><code>const <span class="type">gchar</span> *interface_name</code></em>,
148 <em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);</pre>
149 <p>A <span class="type">GDBusProxyTypeFunc</span> that maps <em class="parameter"><code>interface_name</code></em>
150 to the generated <span class="type">GDBusObjectProxy</span> derived and <span class="type">GDBusProxy</span> derived types.</p>
151 <div class="refsect3">
152 <a name="udisks-object-manager-client-get-proxy-type.parameters"></a><h4>Parameters</h4>
153 <div class="informaltable"><table class="informaltable" width="100%" border="0">
154 <colgroup>
155 <col width="150px" class="parameters_name">
156 <col class="parameters_description">
157 <col width="200px" class="parameters_annotations">
158 </colgroup>
159 <tbody>
160 <tr>
161 <td class="parameter_name"><p>manager</p></td>
162 <td class="parameter_description"><p>A <span class="type">GDBusObjectManagerClient</span>.</p></td>
163 <td class="parameter_annotations"> </td>
164 </tr>
165 <tr>
166 <td class="parameter_name"><p>object_path</p></td>
167 <td class="parameter_description"><p>The object path of the remote object (unused).</p></td>
168 <td class="parameter_annotations"> </td>
169 </tr>
170 <tr>
171 <td class="parameter_name"><p>interface_name</p></td>
172 <td class="parameter_description"><p>Interface name of the remote object or <code class="literal">NULL</code> to get the object proxy <span class="type">GType</span>. </p></td>
173 <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>
174 </tr>
175 <tr>
176 <td class="parameter_name"><p>user_data</p></td>
177 <td class="parameter_description"><p>User data (unused).</p></td>
178 <td class="parameter_annotations"> </td>
179 </tr>
180 </tbody>
181 </table></div>
182 </div>
183 <div class="refsect3">
184 <a name="udisks-object-manager-client-get-proxy-type.returns"></a><h4>Returns</h4>
185 <p> A <span class="type">GDBusProxy</span> derived <span class="type">GType</span> if <em class="parameter"><code>interface_name</code></em>
186 is not <code class="literal">NULL</code>, otherwise the <span class="type">GType</span> for <a class="link" href="UDisksObject.html#UDisksObjectProxy"><span class="type">UDisksObjectProxy</span></a>.</p>
187 </div>
188 </div>
189 <hr>
190 <div class="refsect2">
191 <a name="udisks-object-manager-client-new"></a><h3>udisks_object_manager_client_new ()</h3>
192 <pre class="programlisting"><span class="returnvalue">void</span>
193 udisks_object_manager_client_new (<em class="parameter"><code><span class="type">GDBusConnection</span> *connection</code></em>,
194 <em class="parameter"><code><span class="type">GDBusObjectManagerClientFlags</span> flags</code></em>,
195 <em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>,
196 <em class="parameter"><code>const <span class="type">gchar</span> *object_path</code></em>,
197 <em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>,
198 <em class="parameter"><code><span class="type">GAsyncReadyCallback</span> callback</code></em>,
199 <em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);</pre>
200 <p>Asynchronously creates <span class="type">GDBusObjectManagerClient</span> using <a class="link" href="UDisksObjectManagerClient.html#udisks-object-manager-client-get-proxy-type" title="udisks_object_manager_client_get_proxy_type ()"><code class="function">udisks_object_manager_client_get_proxy_type()</code></a> as the <span class="type">GDBusProxyTypeFunc</span>. See <code class="function">g_dbus_object_manager_client_new()</code> for more details.</p>
201 <p>When the operation is finished, <em class="parameter"><code>callback</code></em>
202 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>).
203 You can then call <a class="link" href="UDisksObjectManagerClient.html#udisks-object-manager-client-new-finish" title="udisks_object_manager_client_new_finish ()"><code class="function">udisks_object_manager_client_new_finish()</code></a> to get the result of the operation.</p>
204 <p>See <a class="link" href="UDisksObjectManagerClient.html#udisks-object-manager-client-new-sync" title="udisks_object_manager_client_new_sync ()"><code class="function">udisks_object_manager_client_new_sync()</code></a> for the synchronous, blocking version of this constructor.</p>
205 <div class="refsect3">
206 <a name="udisks-object-manager-client-new.parameters"></a><h4>Parameters</h4>
207 <div class="informaltable"><table class="informaltable" width="100%" border="0">
208 <colgroup>
209 <col width="150px" class="parameters_name">
210 <col class="parameters_description">
211 <col width="200px" class="parameters_annotations">
212 </colgroup>
213 <tbody>
214 <tr>
215 <td class="parameter_name"><p>connection</p></td>
216 <td class="parameter_description"><p>A <span class="type">GDBusConnection</span>.</p></td>
217 <td class="parameter_annotations"> </td>
218 </tr>
219 <tr>
220 <td class="parameter_name"><p>flags</p></td>
221 <td class="parameter_description"><p>Flags from the <span class="type">GDBusObjectManagerClientFlags</span> enumeration.</p></td>
222 <td class="parameter_annotations"> </td>
223 </tr>
224 <tr>
225 <td class="parameter_name"><p>name</p></td>
226 <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>
227 is not a message bus connection. </p></td>
228 <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>
229 </tr>
230 <tr>
231 <td class="parameter_name"><p>object_path</p></td>
232 <td class="parameter_description"><p>An object path.</p></td>
233 <td class="parameter_annotations"> </td>
234 </tr>
235 <tr>
236 <td class="parameter_name"><p>cancellable</p></td>
237 <td class="parameter_description"><p>A <span class="type">GCancellable</span> or <code class="literal">NULL</code>. </p></td>
238 <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>
239 </tr>
240 <tr>
241 <td class="parameter_name"><p>callback</p></td>
242 <td class="parameter_description"><p>A <span class="type">GAsyncReadyCallback</span> to call when the request is satisfied.</p></td>
243 <td class="parameter_annotations"> </td>
244 </tr>
245 <tr>
246 <td class="parameter_name"><p>user_data</p></td>
247 <td class="parameter_description"><p>User data to pass to <em class="parameter"><code>callback</code></em>
248 .</p></td>
249 <td class="parameter_annotations"> </td>
250 </tr>
251 </tbody>
252 </table></div>
253 </div>
254 </div>
255 <hr>
256 <div class="refsect2">
257 <a name="udisks-object-manager-client-new-finish"></a><h3>udisks_object_manager_client_new_finish ()</h3>
258 <pre class="programlisting"><span class="returnvalue">GDBusObjectManager</span> *
259 udisks_object_manager_client_new_finish
260 (<em class="parameter"><code><span class="type">GAsyncResult</span> *res</code></em>,
261 <em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
262 <p>Finishes an operation started with <a class="link" href="UDisksObjectManagerClient.html#udisks-object-manager-client-new" title="udisks_object_manager_client_new ()"><code class="function">udisks_object_manager_client_new()</code></a>.</p>
263 <div class="refsect3">
264 <a name="udisks-object-manager-client-new-finish.parameters"></a><h4>Parameters</h4>
265 <div class="informaltable"><table class="informaltable" width="100%" border="0">
266 <colgroup>
267 <col width="150px" class="parameters_name">
268 <col class="parameters_description">
269 <col width="200px" class="parameters_annotations">
270 </colgroup>
271 <tbody>
272 <tr>
273 <td class="parameter_name"><p>res</p></td>
274 <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="UDisksObjectManagerClient.html#udisks-object-manager-client-new" title="udisks_object_manager_client_new ()"><code class="function">udisks_object_manager_client_new()</code></a>.</p></td>
275 <td class="parameter_annotations"> </td>
276 </tr>
277 <tr>
278 <td class="parameter_name"><p>error</p></td>
279 <td class="parameter_description"><p>Return location for error or <code class="literal">NULL</code></p></td>
280 <td class="parameter_annotations"> </td>
281 </tr>
282 </tbody>
283 </table></div>
284 </div>
285 <div class="refsect3">
286 <a name="udisks-object-manager-client-new-finish.returns"></a><h4>Returns</h4>
287 <p>The constructed object manager client or <code class="literal">NULL</code> if <em class="parameter"><code>error</code></em>
288 is set. </p>
289 <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> UDisksObjectManagerClient]</span></p>
290 </div>
291 </div>
292 <hr>
293 <div class="refsect2">
294 <a name="udisks-object-manager-client-new-for-bus"></a><h3>udisks_object_manager_client_new_for_bus ()</h3>
295 <pre class="programlisting"><span class="returnvalue">void</span>
296 udisks_object_manager_client_new_for_bus
297 (<em class="parameter"><code><span class="type">GBusType</span> bus_type</code></em>,
298 <em class="parameter"><code><span class="type">GDBusObjectManagerClientFlags</span> flags</code></em>,
299 <em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>,
300 <em class="parameter"><code>const <span class="type">gchar</span> *object_path</code></em>,
301 <em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>,
302 <em class="parameter"><code><span class="type">GAsyncReadyCallback</span> callback</code></em>,
303 <em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);</pre>
304 <p>Like <a class="link" href="UDisksObjectManagerClient.html#udisks-object-manager-client-new" title="udisks_object_manager_client_new ()"><code class="function">udisks_object_manager_client_new()</code></a> but takes a <span class="type">GBusType</span> instead of a <span class="type">GDBusConnection</span>.</p>
305 <p>When the operation is finished, <em class="parameter"><code>callback</code></em>
306 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>).
307 You can then call <a class="link" href="UDisksObjectManagerClient.html#udisks-object-manager-client-new-for-bus-finish" title="udisks_object_manager_client_new_for_bus_finish ()"><code class="function">udisks_object_manager_client_new_for_bus_finish()</code></a> to get the result of the operation.</p>
308 <p>See <a class="link" href="UDisksObjectManagerClient.html#udisks-object-manager-client-new-for-bus-sync" title="udisks_object_manager_client_new_for_bus_sync ()"><code class="function">udisks_object_manager_client_new_for_bus_sync()</code></a> for the synchronous, blocking version of this constructor.</p>
309 <div class="refsect3">
310 <a name="udisks-object-manager-client-new-for-bus.parameters"></a><h4>Parameters</h4>
311 <div class="informaltable"><table class="informaltable" width="100%" border="0">
312 <colgroup>
313 <col width="150px" class="parameters_name">
314 <col class="parameters_description">
315 <col width="200px" class="parameters_annotations">
316 </colgroup>
317 <tbody>
318 <tr>
319 <td class="parameter_name"><p>bus_type</p></td>
320 <td class="parameter_description"><p>A <span class="type">GBusType</span>.</p></td>
321 <td class="parameter_annotations"> </td>
322 </tr>
323 <tr>
324 <td class="parameter_name"><p>flags</p></td>
325 <td class="parameter_description"><p>Flags from the <span class="type">GDBusObjectManagerClientFlags</span> enumeration.</p></td>
326 <td class="parameter_annotations"> </td>
327 </tr>
328 <tr>
329 <td class="parameter_name"><p>name</p></td>
330 <td class="parameter_description"><p>A bus name (well-known or unique).</p></td>
331 <td class="parameter_annotations"> </td>
332 </tr>
333 <tr>
334 <td class="parameter_name"><p>object_path</p></td>
335 <td class="parameter_description"><p>An object path.</p></td>
336 <td class="parameter_annotations"> </td>
337 </tr>
338 <tr>
339 <td class="parameter_name"><p>cancellable</p></td>
340 <td class="parameter_description"><p>A <span class="type">GCancellable</span> or <code class="literal">NULL</code>. </p></td>
341 <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>
342 </tr>
343 <tr>
344 <td class="parameter_name"><p>callback</p></td>
345 <td class="parameter_description"><p>A <span class="type">GAsyncReadyCallback</span> to call when the request is satisfied.</p></td>
346 <td class="parameter_annotations"> </td>
347 </tr>
348 <tr>
349 <td class="parameter_name"><p>user_data</p></td>
350 <td class="parameter_description"><p>User data to pass to <em class="parameter"><code>callback</code></em>
351 .</p></td>
352 <td class="parameter_annotations"> </td>
353 </tr>
354 </tbody>
355 </table></div>
356 </div>
357 </div>
358 <hr>
359 <div class="refsect2">
360 <a name="udisks-object-manager-client-new-for-bus-finish"></a><h3>udisks_object_manager_client_new_for_bus_finish ()</h3>
361 <pre class="programlisting"><span class="returnvalue">GDBusObjectManager</span> *
362 udisks_object_manager_client_new_for_bus_finish
363 (<em class="parameter"><code><span class="type">GAsyncResult</span> *res</code></em>,
364 <em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
365 <p>Finishes an operation started with <a class="link" href="UDisksObjectManagerClient.html#udisks-object-manager-client-new-for-bus" title="udisks_object_manager_client_new_for_bus ()"><code class="function">udisks_object_manager_client_new_for_bus()</code></a>.</p>
366 <div class="refsect3">
367 <a name="udisks-object-manager-client-new-for-bus-finish.parameters"></a><h4>Parameters</h4>
368 <div class="informaltable"><table class="informaltable" width="100%" border="0">
369 <colgroup>
370 <col width="150px" class="parameters_name">
371 <col class="parameters_description">
372 <col width="200px" class="parameters_annotations">
373 </colgroup>
374 <tbody>
375 <tr>
376 <td class="parameter_name"><p>res</p></td>
377 <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="UDisksObjectManagerClient.html#udisks-object-manager-client-new-for-bus" title="udisks_object_manager_client_new_for_bus ()"><code class="function">udisks_object_manager_client_new_for_bus()</code></a>.</p></td>
378 <td class="parameter_annotations"> </td>
379 </tr>
380 <tr>
381 <td class="parameter_name"><p>error</p></td>
382 <td class="parameter_description"><p>Return location for error or <code class="literal">NULL</code></p></td>
383 <td class="parameter_annotations"> </td>
384 </tr>
385 </tbody>
386 </table></div>
387 </div>
388 <div class="refsect3">
389 <a name="udisks-object-manager-client-new-for-bus-finish.returns"></a><h4>Returns</h4>
390 <p>The constructed object manager client or <code class="literal">NULL</code> if <em class="parameter"><code>error</code></em>
391 is set. </p>
392 <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> UDisksObjectManagerClient]</span></p>
393 </div>
394 </div>
395 <hr>
396 <div class="refsect2">
397 <a name="udisks-object-manager-client-new-for-bus-sync"></a><h3>udisks_object_manager_client_new_for_bus_sync ()</h3>
398 <pre class="programlisting"><span class="returnvalue">GDBusObjectManager</span> *
399 udisks_object_manager_client_new_for_bus_sync
400 (<em class="parameter"><code><span class="type">GBusType</span> bus_type</code></em>,
401 <em class="parameter"><code><span class="type">GDBusObjectManagerClientFlags</span> flags</code></em>,
402 <em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>,
403 <em class="parameter"><code>const <span class="type">gchar</span> *object_path</code></em>,
404 <em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>,
405 <em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
406 <p>Like <a class="link" href="UDisksObjectManagerClient.html#udisks-object-manager-client-new-sync" title="udisks_object_manager_client_new_sync ()"><code class="function">udisks_object_manager_client_new_sync()</code></a> but takes a <span class="type">GBusType</span> instead of a <span class="type">GDBusConnection</span>.</p>
407 <p>The calling thread is blocked until a reply is received.</p>
408 <p>See <a class="link" href="UDisksObjectManagerClient.html#udisks-object-manager-client-new-for-bus" title="udisks_object_manager_client_new_for_bus ()"><code class="function">udisks_object_manager_client_new_for_bus()</code></a> for the asynchronous version of this constructor.</p>
409 <div class="refsect3">
410 <a name="udisks-object-manager-client-new-for-bus-sync.parameters"></a><h4>Parameters</h4>
411 <div class="informaltable"><table class="informaltable" width="100%" border="0">
412 <colgroup>
413 <col width="150px" class="parameters_name">
414 <col class="parameters_description">
415 <col width="200px" class="parameters_annotations">
416 </colgroup>
417 <tbody>
418 <tr>
419 <td class="parameter_name"><p>bus_type</p></td>
420 <td class="parameter_description"><p>A <span class="type">GBusType</span>.</p></td>
421 <td class="parameter_annotations"> </td>
422 </tr>
423 <tr>
424 <td class="parameter_name"><p>flags</p></td>
425 <td class="parameter_description"><p>Flags from the <span class="type">GDBusObjectManagerClientFlags</span> enumeration.</p></td>
426 <td class="parameter_annotations"> </td>
427 </tr>
428 <tr>
429 <td class="parameter_name"><p>name</p></td>
430 <td class="parameter_description"><p>A bus name (well-known or unique).</p></td>
431 <td class="parameter_annotations"> </td>
432 </tr>
433 <tr>
434 <td class="parameter_name"><p>object_path</p></td>
435 <td class="parameter_description"><p>An object path.</p></td>
436 <td class="parameter_annotations"> </td>
437 </tr>
438 <tr>
439 <td class="parameter_name"><p>cancellable</p></td>
440 <td class="parameter_description"><p>A <span class="type">GCancellable</span> or <code class="literal">NULL</code>. </p></td>
441 <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>
442 </tr>
443 <tr>
444 <td class="parameter_name"><p>error</p></td>
445 <td class="parameter_description"><p>Return location for error or <code class="literal">NULL</code></p></td>
446 <td class="parameter_annotations"> </td>
447 </tr>
448 </tbody>
449 </table></div>
450 </div>
451 <div class="refsect3">
452 <a name="udisks-object-manager-client-new-for-bus-sync.returns"></a><h4>Returns</h4>
453 <p>The constructed object manager client or <code class="literal">NULL</code> if <em class="parameter"><code>error</code></em>
454 is set. </p>
455 <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> UDisksObjectManagerClient]</span></p>
456 </div>
457 </div>
458 <hr>
459 <div class="refsect2">
460 <a name="udisks-object-manager-client-new-sync"></a><h3>udisks_object_manager_client_new_sync ()</h3>
461 <pre class="programlisting"><span class="returnvalue">GDBusObjectManager</span> *
462 udisks_object_manager_client_new_sync (<em class="parameter"><code><span class="type">GDBusConnection</span> *connection</code></em>,
463 <em class="parameter"><code><span class="type">GDBusObjectManagerClientFlags</span> flags</code></em>,
464 <em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>,
465 <em class="parameter"><code>const <span class="type">gchar</span> *object_path</code></em>,
466 <em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>,
467 <em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
468 <p>Synchronously creates <span class="type">GDBusObjectManagerClient</span> using <a class="link" href="UDisksObjectManagerClient.html#udisks-object-manager-client-get-proxy-type" title="udisks_object_manager_client_get_proxy_type ()"><code class="function">udisks_object_manager_client_get_proxy_type()</code></a> as the <span class="type">GDBusProxyTypeFunc</span>. See <code class="function">g_dbus_object_manager_client_new_sync()</code> for more details.</p>
469 <p>The calling thread is blocked until a reply is received.</p>
470 <p>See <a class="link" href="UDisksObjectManagerClient.html#udisks-object-manager-client-new" title="udisks_object_manager_client_new ()"><code class="function">udisks_object_manager_client_new()</code></a> for the asynchronous version of this constructor.</p>
471 <div class="refsect3">
472 <a name="udisks-object-manager-client-new-sync.parameters"></a><h4>Parameters</h4>
473 <div class="informaltable"><table class="informaltable" width="100%" border="0">
474 <colgroup>
475 <col width="150px" class="parameters_name">
476 <col class="parameters_description">
477 <col width="200px" class="parameters_annotations">
478 </colgroup>
479 <tbody>
480 <tr>
481 <td class="parameter_name"><p>connection</p></td>
482 <td class="parameter_description"><p>A <span class="type">GDBusConnection</span>.</p></td>
483 <td class="parameter_annotations"> </td>
484 </tr>
485 <tr>
486 <td class="parameter_name"><p>flags</p></td>
487 <td class="parameter_description"><p>Flags from the <span class="type">GDBusObjectManagerClientFlags</span> enumeration.</p></td>
488 <td class="parameter_annotations"> </td>
489 </tr>
490 <tr>
491 <td class="parameter_name"><p>name</p></td>
492 <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>
493 is not a message bus connection. </p></td>
494 <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>
495 </tr>
496 <tr>
497 <td class="parameter_name"><p>object_path</p></td>
498 <td class="parameter_description"><p>An object path.</p></td>
499 <td class="parameter_annotations"> </td>
500 </tr>
501 <tr>
502 <td class="parameter_name"><p>cancellable</p></td>
503 <td class="parameter_description"><p>A <span class="type">GCancellable</span> or <code class="literal">NULL</code>. </p></td>
504 <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>
505 </tr>
506 <tr>
507 <td class="parameter_name"><p>error</p></td>
508 <td class="parameter_description"><p>Return location for error or <code class="literal">NULL</code></p></td>
509 <td class="parameter_annotations"> </td>
510 </tr>
511 </tbody>
512 </table></div>
513 </div>
514 <div class="refsect3">
515 <a name="udisks-object-manager-client-new-sync.returns"></a><h4>Returns</h4>
516 <p>The constructed object manager client or <code class="literal">NULL</code> if <em class="parameter"><code>error</code></em>
517 is set. </p>
518 <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> UDisksObjectManagerClient]</span></p>
519 </div>
520 </div>
521 </div>
522 <div class="refsect1">
523 <a name="UDisksObjectManagerClient.other_details"></a><h2>Types and Values</h2>
524 <div class="refsect2">
525 <a name="UDisksObjectManagerClient-struct"></a><h3>struct UDisksObjectManagerClient</h3>
526 <pre class="programlisting">struct UDisksObjectManagerClient;</pre>
527 <p>The <a class="link" href="UDisksObjectManagerClient.html" title="UDisksObjectManagerClient"><span class="type">UDisksObjectManagerClient</span></a> structure contains only private data and should only be accessed using the provided API.</p>
528 </div>
529 <hr>
530 <div class="refsect2">
531 <a name="UDisksObjectManagerClientClass"></a><h3>struct UDisksObjectManagerClientClass</h3>
532 <pre class="programlisting">struct UDisksObjectManagerClientClass {
533 GDBusObjectManagerClientClass parent_class;
534 };
535 </pre>
536 <p>Class structure for <a class="link" href="UDisksObjectManagerClient.html" title="UDisksObjectManagerClient"><span class="type">UDisksObjectManagerClient</span></a>.</p>
537 <div class="refsect3">
538 <a name="UDisksObjectManagerClientClass.members"></a><h4>Members</h4>
539 <div class="informaltable"><table class="informaltable" width="100%" border="0">
540 <colgroup>
541 <col width="300px" class="struct_members_name">
542 <col class="struct_members_description">
543 <col width="200px" class="struct_members_annotations">
544 </colgroup>
545 <tbody></tbody>
546 </table></div>
547 </div>
548 </div>
549 </div>
550 </div>
551 <div class="footer">
552 <hr>Generated by GTK-Doc V1.35.1</div>
553 </body>
554 </html>