Debian Codegraph @

doc/html/UDisksManagerLVM2.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>UDisksManagerLVM2: 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="UDisksDriveLsmLocal.html" title="UDisksDriveLsmLocal">
10 <link rel="next" href="UDisksBlockLVM2.html" title="UDisksBlockLVM2">
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="#UDisksManagerLVM2.description" class="shortcut">Description</a></span><span id="nav_hierarchy">  <span class="dim">|</span> 
19 <a href="#UDisksManagerLVM2.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_interfaces">  <span class="dim">|</span> 
20 <a href="#UDisksManagerLVM2.implemented-interfaces" class="shortcut">Implemented Interfaces</a></span><span id="nav_prerequisites">  <span class="dim">|</span> 
21 <a href="#UDisksManagerLVM2.prerequisites" class="shortcut">Prerequisites</a></span><span id="nav_implementations">  <span class="dim">|</span> 
22 <a href="#UDisksManagerLVM2.implementations" class="shortcut">Known Implementations</a></span>
23 </td>
24 <td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
25 <td><a accesskey="u" href="ref-library-generated.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
26 <td><a accesskey="p" href="UDisksDriveLsmLocal.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
27 <td><a accesskey="n" href="UDisksBlockLVM2.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
28 </tr></table>
29 <div class="refentry">
30 <a name="UDisksManagerLVM2"></a><div class="titlepage"></div>
31 <div class="refnamediv"><table width="100%"><tr>
32 <td valign="top">
33 <h2><span class="refentrytitle"><a name="UDisksManagerLVM2.top_of_page"></a>UDisksManagerLVM2</span></h2>
34 <p>UDisksManagerLVM2 — Generated C code for the org.freedesktop.UDisks2.Manager.LVM2 D-Bus interface</p>
35 </td>
36 <td class="gallery_image" valign="top" align="right"></td>
37 </tr></table></div>
38 <div class="refsect1">
39 <a name="UDisksManagerLVM2.functions"></a><h2>Functions</h2>
40 <div class="informaltable"><table class="informaltable" width="100%" border="0">
41 <colgroup>
42 <col width="150px" class="functions_proto_type">
43 <col class="functions_proto_name">
44 </colgroup>
45 <tbody>
46 <tr>
47 <td class="function_type">
48 <span class="returnvalue">void</span>
49 </td>
50 <td class="function_name">
51 <a class="link" href="UDisksManagerLVM2.html#udisks-manager-lvm2-proxy-new" title="udisks_manager_lvm2_proxy_new ()">udisks_manager_lvm2_proxy_new</a> <span class="c_punctuation">()</span>
52 </td>
53 </tr>
54 <tr>
55 <td class="function_type">
56 <a class="link" href="UDisksManagerLVM2.html" title="UDisksManagerLVM2"><span class="returnvalue">UDisksManagerLVM2</span></a> *
57 </td>
58 <td class="function_name">
59 <a class="link" href="UDisksManagerLVM2.html#udisks-manager-lvm2-proxy-new-finish" title="udisks_manager_lvm2_proxy_new_finish ()">udisks_manager_lvm2_proxy_new_finish</a> <span class="c_punctuation">()</span>
60 </td>
61 </tr>
62 <tr>
63 <td class="function_type">
64 <a class="link" href="UDisksManagerLVM2.html" title="UDisksManagerLVM2"><span class="returnvalue">UDisksManagerLVM2</span></a> *
65 </td>
66 <td class="function_name">
67 <a class="link" href="UDisksManagerLVM2.html#udisks-manager-lvm2-proxy-new-sync" title="udisks_manager_lvm2_proxy_new_sync ()">udisks_manager_lvm2_proxy_new_sync</a> <span class="c_punctuation">()</span>
68 </td>
69 </tr>
70 <tr>
71 <td class="function_type">
72 <span class="returnvalue">void</span>
73 </td>
74 <td class="function_name">
75 <a class="link" href="UDisksManagerLVM2.html#udisks-manager-lvm2-proxy-new-for-bus" title="udisks_manager_lvm2_proxy_new_for_bus ()">udisks_manager_lvm2_proxy_new_for_bus</a> <span class="c_punctuation">()</span>
76 </td>
77 </tr>
78 <tr>
79 <td class="function_type">
80 <a class="link" href="UDisksManagerLVM2.html" title="UDisksManagerLVM2"><span class="returnvalue">UDisksManagerLVM2</span></a> *
81 </td>
82 <td class="function_name">
83 <a class="link" href="UDisksManagerLVM2.html#udisks-manager-lvm2-proxy-new-for-bus-finish" title="udisks_manager_lvm2_proxy_new_for_bus_finish ()">udisks_manager_lvm2_proxy_new_for_bus_finish</a> <span class="c_punctuation">()</span>
84 </td>
85 </tr>
86 <tr>
87 <td class="function_type">
88 <a class="link" href="UDisksManagerLVM2.html" title="UDisksManagerLVM2"><span class="returnvalue">UDisksManagerLVM2</span></a> *
89 </td>
90 <td class="function_name">
91 <a class="link" href="UDisksManagerLVM2.html#udisks-manager-lvm2-proxy-new-for-bus-sync" title="udisks_manager_lvm2_proxy_new_for_bus_sync ()">udisks_manager_lvm2_proxy_new_for_bus_sync</a> <span class="c_punctuation">()</span>
92 </td>
93 </tr>
94 <tr>
95 <td class="function_type">
96 <span class="returnvalue">void</span>
97 </td>
98 <td class="function_name">
99 <a class="link" href="UDisksManagerLVM2.html#udisks-manager-lvm2-call-volume-group-create" title="udisks_manager_lvm2_call_volume_group_create ()">udisks_manager_lvm2_call_volume_group_create</a> <span class="c_punctuation">()</span>
100 </td>
101 </tr>
102 <tr>
103 <td class="function_type">
104 <span class="returnvalue">gboolean</span>
105 </td>
106 <td class="function_name">
107 <a class="link" href="UDisksManagerLVM2.html#udisks-manager-lvm2-call-volume-group-create-finish" title="udisks_manager_lvm2_call_volume_group_create_finish ()">udisks_manager_lvm2_call_volume_group_create_finish</a> <span class="c_punctuation">()</span>
108 </td>
109 </tr>
110 <tr>
111 <td class="function_type">
112 <span class="returnvalue">gboolean</span>
113 </td>
114 <td class="function_name">
115 <a class="link" href="UDisksManagerLVM2.html#udisks-manager-lvm2-call-volume-group-create-sync" title="udisks_manager_lvm2_call_volume_group_create_sync ()">udisks_manager_lvm2_call_volume_group_create_sync</a> <span class="c_punctuation">()</span>
116 </td>
117 </tr>
118 <tr>
119 <td class="function_type">
120 <a class="link" href="UDisksManagerLVM2.html" title="UDisksManagerLVM2"><span class="returnvalue">UDisksManagerLVM2</span></a> *
121 </td>
122 <td class="function_name">
123 <a class="link" href="UDisksManagerLVM2.html#udisks-manager-lvm2-skeleton-new" title="udisks_manager_lvm2_skeleton_new ()">udisks_manager_lvm2_skeleton_new</a> <span class="c_punctuation">()</span>
124 </td>
125 </tr>
126 <tr>
127 <td class="function_type">
128 <span class="returnvalue">void</span>
129 </td>
130 <td class="function_name">
131 <a class="link" href="UDisksManagerLVM2.html#udisks-manager-lvm2-complete-volume-group-create" title="udisks_manager_lvm2_complete_volume_group_create ()">udisks_manager_lvm2_complete_volume_group_create</a> <span class="c_punctuation">()</span>
132 </td>
133 </tr>
134 </tbody>
135 </table></div>
136 </div>
137 <a name="UDisksManagerLVM2Proxy"></a><div class="refsect1">
138 <a name="UDisksManagerLVM2.other"></a><h2>Types and Values</h2>
139 <div class="informaltable"><table class="informaltable" width="100%" border="0">
140 <colgroup>
141 <col width="150px" class="other_proto_type">
142 <col class="other_proto_name">
143 </colgroup>
144 <tbody>
145 <tr>
146 <td class="datatype_keyword"> </td>
147 <td class="function_name"><a class="link" href="UDisksManagerLVM2.html#UDisksManagerLVM2-struct" title="UDisksManagerLVM2">UDisksManagerLVM2</a></td>
148 </tr>
149 <tr>
150 <td class="datatype_keyword">struct</td>
151 <td class="function_name"><a class="link" href="UDisksManagerLVM2.html#UDisksManagerLVM2Proxy-struct" title="struct UDisksManagerLVM2Proxy">UDisksManagerLVM2Proxy</a></td>
152 </tr>
153 <tr>
154 <td class="datatype_keyword">struct</td>
155 <td class="function_name"><a class="link" href="UDisksManagerLVM2.html#UDisksManagerLVM2ProxyClass" title="struct UDisksManagerLVM2ProxyClass">UDisksManagerLVM2ProxyClass</a></td>
156 </tr>
157 <tr>
158 <td class="datatype_keyword">struct</td>
159 <td class="function_name"><a class="link" href="UDisksManagerLVM2.html#UDisksManagerLVM2Skeleton" title="struct UDisksManagerLVM2Skeleton">UDisksManagerLVM2Skeleton</a></td>
160 </tr>
161 <tr>
162 <td class="datatype_keyword">struct</td>
163 <td class="function_name"><a class="link" href="UDisksManagerLVM2.html#UDisksManagerLVM2SkeletonClass" title="struct UDisksManagerLVM2SkeletonClass">UDisksManagerLVM2SkeletonClass</a></td>
164 </tr>
165 </tbody>
166 </table></div>
167 </div>
168 <div class="refsect1">
169 <a name="UDisksManagerLVM2.object-hierarchy"></a><h2>Object Hierarchy</h2>
170 <pre class="screen"> <a href="/usr/share/gtk-doc/html/gobject/GTypeModule.html">GInterface</a>
171 <span class="lineart">╰──</span> UDisksManagerLVM2
172 GObject
173 <span class="lineart">╰──</span> GDBusProxy
174 <span class="lineart">╰──</span> UDisksManagerLVM2Proxy
175 </pre>
176 </div>
177 <div class="refsect1">
178 <a name="UDisksManagerLVM2.prerequisites"></a><h2>Prerequisites</h2>
179 <p>
180 UDisksManagerLVM2 requires
181 GObject.</p>
182 </div>
183 <div class="refsect1">
184 <a name="UDisksManagerLVM2.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
185 <p>
186 UDisksManagerLVM2Proxy implements
187 GDBusInterface, GInitable, GAsyncInitable and <a class="link" href="UDisksManagerLVM2.html" title="UDisksManagerLVM2">UDisksManagerLVM2</a>.</p>
188 </div>
189 <div class="refsect1">
190 <a name="UDisksManagerLVM2.implementations"></a><h2>Known Implementations</h2>
191 <p>
192 UDisksManagerLVM2 is implemented by
193 <a class="link" href="UDisksManagerLVM2.html#UDisksManagerLVM2Proxy">UDisksManagerLVM2Proxy</a>.</p>
194 </div>
195 <div class="refsect1">
196 <a name="UDisksManagerLVM2.description"></a><h2>Description</h2>
197 <p>This section contains code for working with the <a class="link" href="gdbus-org.freedesktop.UDisks2.Manager.LVM2.html#gdbus-interface-org-freedesktop-UDisks2-Manager-LVM2.top_of_page">org.freedesktop.UDisks2.Manager.LVM2</a> D-Bus interface in C.</p>
198 </div>
199 <div class="refsect1">
200 <a name="UDisksManagerLVM2.functions_details"></a><h2>Functions</h2>
201 <div class="refsect2">
202 <a name="udisks-manager-lvm2-proxy-new"></a><h3>udisks_manager_lvm2_proxy_new ()</h3>
203 <pre class="programlisting"><span class="returnvalue">void</span>
204 udisks_manager_lvm2_proxy_new (<em class="parameter"><code><span class="type">GDBusConnection</span> *connection</code></em>,
205 <em class="parameter"><code><span class="type">GDBusProxyFlags</span> flags</code></em>,
206 <em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>,
207 <em class="parameter"><code>const <span class="type">gchar</span> *object_path</code></em>,
208 <em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>,
209 <em class="parameter"><code><span class="type">GAsyncReadyCallback</span> callback</code></em>,
210 <em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);</pre>
211 <p>Asynchronously creates a proxy for the D-Bus interface <a class="link" href="gdbus-org.freedesktop.UDisks2.Manager.LVM2.html#gdbus-interface-org-freedesktop-UDisks2-Manager-LVM2.top_of_page">org.freedesktop.UDisks2.Manager.LVM2</a>. See <code class="function">g_dbus_proxy_new()</code> for more details.</p>
212 <p>When the operation is finished, <em class="parameter"><code>callback</code></em>
213 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>).
214 You can then call <a class="link" href="UDisksManagerLVM2.html#udisks-manager-lvm2-proxy-new-finish" title="udisks_manager_lvm2_proxy_new_finish ()"><code class="function">udisks_manager_lvm2_proxy_new_finish()</code></a> to get the result of the operation.</p>
215 <p>See <a class="link" href="UDisksManagerLVM2.html#udisks-manager-lvm2-proxy-new-sync" title="udisks_manager_lvm2_proxy_new_sync ()"><code class="function">udisks_manager_lvm2_proxy_new_sync()</code></a> for the synchronous, blocking version of this constructor.</p>
216 <div class="refsect3">
217 <a name="udisks-manager-lvm2-proxy-new.parameters"></a><h4>Parameters</h4>
218 <div class="informaltable"><table class="informaltable" width="100%" border="0">
219 <colgroup>
220 <col width="150px" class="parameters_name">
221 <col class="parameters_description">
222 <col width="200px" class="parameters_annotations">
223 </colgroup>
224 <tbody>
225 <tr>
226 <td class="parameter_name"><p>connection</p></td>
227 <td class="parameter_description"><p>A <span class="type">GDBusConnection</span>.</p></td>
228 <td class="parameter_annotations"> </td>
229 </tr>
230 <tr>
231 <td class="parameter_name"><p>flags</p></td>
232 <td class="parameter_description"><p>Flags from the <span class="type">GDBusProxyFlags</span> enumeration.</p></td>
233 <td class="parameter_annotations"> </td>
234 </tr>
235 <tr>
236 <td class="parameter_name"><p>name</p></td>
237 <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>
238 is not a message bus connection. </p></td>
239 <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>
240 </tr>
241 <tr>
242 <td class="parameter_name"><p>object_path</p></td>
243 <td class="parameter_description"><p>An object path.</p></td>
244 <td class="parameter_annotations"> </td>
245 </tr>
246 <tr>
247 <td class="parameter_name"><p>cancellable</p></td>
248 <td class="parameter_description"><p>A <span class="type">GCancellable</span> or <code class="literal">NULL</code>. </p></td>
249 <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>
250 </tr>
251 <tr>
252 <td class="parameter_name"><p>callback</p></td>
253 <td class="parameter_description"><p>A <span class="type">GAsyncReadyCallback</span> to call when the request is satisfied.</p></td>
254 <td class="parameter_annotations"> </td>
255 </tr>
256 <tr>
257 <td class="parameter_name"><p>user_data</p></td>
258 <td class="parameter_description"><p>User data to pass to <em class="parameter"><code>callback</code></em>
259 .</p></td>
260 <td class="parameter_annotations"> </td>
261 </tr>
262 </tbody>
263 </table></div>
264 </div>
265 <p class="since">Since: 2.0.0</p>
266 </div>
267 <hr>
268 <div class="refsect2">
269 <a name="udisks-manager-lvm2-proxy-new-finish"></a><h3>udisks_manager_lvm2_proxy_new_finish ()</h3>
270 <pre class="programlisting"><a class="link" href="UDisksManagerLVM2.html" title="UDisksManagerLVM2"><span class="returnvalue">UDisksManagerLVM2</span></a> *
271 udisks_manager_lvm2_proxy_new_finish (<em class="parameter"><code><span class="type">GAsyncResult</span> *res</code></em>,
272 <em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
273 <p>Finishes an operation started with <a class="link" href="UDisksManagerLVM2.html#udisks-manager-lvm2-proxy-new" title="udisks_manager_lvm2_proxy_new ()"><code class="function">udisks_manager_lvm2_proxy_new()</code></a>.</p>
274 <div class="refsect3">
275 <a name="udisks-manager-lvm2-proxy-new-finish.parameters"></a><h4>Parameters</h4>
276 <div class="informaltable"><table class="informaltable" width="100%" border="0">
277 <colgroup>
278 <col width="150px" class="parameters_name">
279 <col class="parameters_description">
280 <col width="200px" class="parameters_annotations">
281 </colgroup>
282 <tbody>
283 <tr>
284 <td class="parameter_name"><p>res</p></td>
285 <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="UDisksManagerLVM2.html#udisks-manager-lvm2-proxy-new" title="udisks_manager_lvm2_proxy_new ()"><code class="function">udisks_manager_lvm2_proxy_new()</code></a>.</p></td>
286 <td class="parameter_annotations"> </td>
287 </tr>
288 <tr>
289 <td class="parameter_name"><p>error</p></td>
290 <td class="parameter_description"><p>Return location for error or <code class="literal">NULL</code></p></td>
291 <td class="parameter_annotations"> </td>
292 </tr>
293 </tbody>
294 </table></div>
295 </div>
296 <div class="refsect3">
297 <a name="udisks-manager-lvm2-proxy-new-finish.returns"></a><h4>Returns</h4>
298 <p>The constructed proxy object or <code class="literal">NULL</code> if <em class="parameter"><code>error</code></em>
299 is set. </p>
300 <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> UDisksManagerLVM2Proxy]</span></p>
301 </div>
302 <p class="since">Since: 2.0.0</p>
303 </div>
304 <hr>
305 <div class="refsect2">
306 <a name="udisks-manager-lvm2-proxy-new-sync"></a><h3>udisks_manager_lvm2_proxy_new_sync ()</h3>
307 <pre class="programlisting"><a class="link" href="UDisksManagerLVM2.html" title="UDisksManagerLVM2"><span class="returnvalue">UDisksManagerLVM2</span></a> *
308 udisks_manager_lvm2_proxy_new_sync (<em class="parameter"><code><span class="type">GDBusConnection</span> *connection</code></em>,
309 <em class="parameter"><code><span class="type">GDBusProxyFlags</span> flags</code></em>,
310 <em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>,
311 <em class="parameter"><code>const <span class="type">gchar</span> *object_path</code></em>,
312 <em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>,
313 <em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
314 <p>Synchronously creates a proxy for the D-Bus interface <a class="link" href="gdbus-org.freedesktop.UDisks2.Manager.LVM2.html#gdbus-interface-org-freedesktop-UDisks2-Manager-LVM2.top_of_page">org.freedesktop.UDisks2.Manager.LVM2</a>. See <code class="function">g_dbus_proxy_new_sync()</code> for more details.</p>
315 <p>The calling thread is blocked until a reply is received.</p>
316 <p>See <a class="link" href="UDisksManagerLVM2.html#udisks-manager-lvm2-proxy-new" title="udisks_manager_lvm2_proxy_new ()"><code class="function">udisks_manager_lvm2_proxy_new()</code></a> for the asynchronous version of this constructor.</p>
317 <div class="refsect3">
318 <a name="udisks-manager-lvm2-proxy-new-sync.parameters"></a><h4>Parameters</h4>
319 <div class="informaltable"><table class="informaltable" width="100%" border="0">
320 <colgroup>
321 <col width="150px" class="parameters_name">
322 <col class="parameters_description">
323 <col width="200px" class="parameters_annotations">
324 </colgroup>
325 <tbody>
326 <tr>
327 <td class="parameter_name"><p>connection</p></td>
328 <td class="parameter_description"><p>A <span class="type">GDBusConnection</span>.</p></td>
329 <td class="parameter_annotations"> </td>
330 </tr>
331 <tr>
332 <td class="parameter_name"><p>flags</p></td>
333 <td class="parameter_description"><p>Flags from the <span class="type">GDBusProxyFlags</span> enumeration.</p></td>
334 <td class="parameter_annotations"> </td>
335 </tr>
336 <tr>
337 <td class="parameter_name"><p>name</p></td>
338 <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>
339 is not a message bus connection. </p></td>
340 <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>
341 </tr>
342 <tr>
343 <td class="parameter_name"><p>object_path</p></td>
344 <td class="parameter_description"><p>An object path.</p></td>
345 <td class="parameter_annotations"> </td>
346 </tr>
347 <tr>
348 <td class="parameter_name"><p>cancellable</p></td>
349 <td class="parameter_description"><p>A <span class="type">GCancellable</span> or <code class="literal">NULL</code>. </p></td>
350 <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>
351 </tr>
352 <tr>
353 <td class="parameter_name"><p>error</p></td>
354 <td class="parameter_description"><p>Return location for error or <code class="literal">NULL</code></p></td>
355 <td class="parameter_annotations"> </td>
356 </tr>
357 </tbody>
358 </table></div>
359 </div>
360 <div class="refsect3">
361 <a name="udisks-manager-lvm2-proxy-new-sync.returns"></a><h4>Returns</h4>
362 <p>The constructed proxy object or <code class="literal">NULL</code> if <em class="parameter"><code>error</code></em>
363 is set. </p>
364 <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> UDisksManagerLVM2Proxy]</span></p>
365 </div>
366 <p class="since">Since: 2.0.0</p>
367 </div>
368 <hr>
369 <div class="refsect2">
370 <a name="udisks-manager-lvm2-proxy-new-for-bus"></a><h3>udisks_manager_lvm2_proxy_new_for_bus ()</h3>
371 <pre class="programlisting"><span class="returnvalue">void</span>
372 udisks_manager_lvm2_proxy_new_for_bus (<em class="parameter"><code><span class="type">GBusType</span> bus_type</code></em>,
373 <em class="parameter"><code><span class="type">GDBusProxyFlags</span> flags</code></em>,
374 <em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>,
375 <em class="parameter"><code>const <span class="type">gchar</span> *object_path</code></em>,
376 <em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>,
377 <em class="parameter"><code><span class="type">GAsyncReadyCallback</span> callback</code></em>,
378 <em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);</pre>
379 <p>Like <a class="link" href="UDisksManagerLVM2.html#udisks-manager-lvm2-proxy-new" title="udisks_manager_lvm2_proxy_new ()"><code class="function">udisks_manager_lvm2_proxy_new()</code></a> but takes a <span class="type">GBusType</span> instead of a <span class="type">GDBusConnection</span>.</p>
380 <p>When the operation is finished, <em class="parameter"><code>callback</code></em>
381 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>).
382 You can then call <a class="link" href="UDisksManagerLVM2.html#udisks-manager-lvm2-proxy-new-for-bus-finish" title="udisks_manager_lvm2_proxy_new_for_bus_finish ()"><code class="function">udisks_manager_lvm2_proxy_new_for_bus_finish()</code></a> to get the result of the operation.</p>
383 <p>See <a class="link" href="UDisksManagerLVM2.html#udisks-manager-lvm2-proxy-new-for-bus-sync" title="udisks_manager_lvm2_proxy_new_for_bus_sync ()"><code class="function">udisks_manager_lvm2_proxy_new_for_bus_sync()</code></a> for the synchronous, blocking version of this constructor.</p>
384 <div class="refsect3">
385 <a name="udisks-manager-lvm2-proxy-new-for-bus.parameters"></a><h4>Parameters</h4>
386 <div class="informaltable"><table class="informaltable" width="100%" border="0">
387 <colgroup>
388 <col width="150px" class="parameters_name">
389 <col class="parameters_description">
390 <col width="200px" class="parameters_annotations">
391 </colgroup>
392 <tbody>
393 <tr>
394 <td class="parameter_name"><p>bus_type</p></td>
395 <td class="parameter_description"><p>A <span class="type">GBusType</span>.</p></td>
396 <td class="parameter_annotations"> </td>
397 </tr>
398 <tr>
399 <td class="parameter_name"><p>flags</p></td>
400 <td class="parameter_description"><p>Flags from the <span class="type">GDBusProxyFlags</span> enumeration.</p></td>
401 <td class="parameter_annotations"> </td>
402 </tr>
403 <tr>
404 <td class="parameter_name"><p>name</p></td>
405 <td class="parameter_description"><p>A bus name (well-known or unique).</p></td>
406 <td class="parameter_annotations"> </td>
407 </tr>
408 <tr>
409 <td class="parameter_name"><p>object_path</p></td>
410 <td class="parameter_description"><p>An object path.</p></td>
411 <td class="parameter_annotations"> </td>
412 </tr>
413 <tr>
414 <td class="parameter_name"><p>cancellable</p></td>
415 <td class="parameter_description"><p>A <span class="type">GCancellable</span> or <code class="literal">NULL</code>. </p></td>
416 <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>
417 </tr>
418 <tr>
419 <td class="parameter_name"><p>callback</p></td>
420 <td class="parameter_description"><p>A <span class="type">GAsyncReadyCallback</span> to call when the request is satisfied.</p></td>
421 <td class="parameter_annotations"> </td>
422 </tr>
423 <tr>
424 <td class="parameter_name"><p>user_data</p></td>
425 <td class="parameter_description"><p>User data to pass to <em class="parameter"><code>callback</code></em>
426 .</p></td>
427 <td class="parameter_annotations"> </td>
428 </tr>
429 </tbody>
430 </table></div>
431 </div>
432 <p class="since">Since: 2.0.0</p>
433 </div>
434 <hr>
435 <div class="refsect2">
436 <a name="udisks-manager-lvm2-proxy-new-for-bus-finish"></a><h3>udisks_manager_lvm2_proxy_new_for_bus_finish ()</h3>
437 <pre class="programlisting"><a class="link" href="UDisksManagerLVM2.html" title="UDisksManagerLVM2"><span class="returnvalue">UDisksManagerLVM2</span></a> *
438 udisks_manager_lvm2_proxy_new_for_bus_finish
439 (<em class="parameter"><code><span class="type">GAsyncResult</span> *res</code></em>,
440 <em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
441 <p>Finishes an operation started with <a class="link" href="UDisksManagerLVM2.html#udisks-manager-lvm2-proxy-new-for-bus" title="udisks_manager_lvm2_proxy_new_for_bus ()"><code class="function">udisks_manager_lvm2_proxy_new_for_bus()</code></a>.</p>
442 <div class="refsect3">
443 <a name="udisks-manager-lvm2-proxy-new-for-bus-finish.parameters"></a><h4>Parameters</h4>
444 <div class="informaltable"><table class="informaltable" width="100%" border="0">
445 <colgroup>
446 <col width="150px" class="parameters_name">
447 <col class="parameters_description">
448 <col width="200px" class="parameters_annotations">
449 </colgroup>
450 <tbody>
451 <tr>
452 <td class="parameter_name"><p>res</p></td>
453 <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="UDisksManagerLVM2.html#udisks-manager-lvm2-proxy-new-for-bus" title="udisks_manager_lvm2_proxy_new_for_bus ()"><code class="function">udisks_manager_lvm2_proxy_new_for_bus()</code></a>.</p></td>
454 <td class="parameter_annotations"> </td>
455 </tr>
456 <tr>
457 <td class="parameter_name"><p>error</p></td>
458 <td class="parameter_description"><p>Return location for error or <code class="literal">NULL</code></p></td>
459 <td class="parameter_annotations"> </td>
460 </tr>
461 </tbody>
462 </table></div>
463 </div>
464 <div class="refsect3">
465 <a name="udisks-manager-lvm2-proxy-new-for-bus-finish.returns"></a><h4>Returns</h4>
466 <p>The constructed proxy object or <code class="literal">NULL</code> if <em class="parameter"><code>error</code></em>
467 is set. </p>
468 <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> UDisksManagerLVM2Proxy]</span></p>
469 </div>
470 <p class="since">Since: 2.0.0</p>
471 </div>
472 <hr>
473 <div class="refsect2">
474 <a name="udisks-manager-lvm2-proxy-new-for-bus-sync"></a><h3>udisks_manager_lvm2_proxy_new_for_bus_sync ()</h3>
475 <pre class="programlisting"><a class="link" href="UDisksManagerLVM2.html" title="UDisksManagerLVM2"><span class="returnvalue">UDisksManagerLVM2</span></a> *
476 udisks_manager_lvm2_proxy_new_for_bus_sync
477 (<em class="parameter"><code><span class="type">GBusType</span> bus_type</code></em>,
478 <em class="parameter"><code><span class="type">GDBusProxyFlags</span> flags</code></em>,
479 <em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>,
480 <em class="parameter"><code>const <span class="type">gchar</span> *object_path</code></em>,
481 <em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>,
482 <em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
483 <p>Like <a class="link" href="UDisksManagerLVM2.html#udisks-manager-lvm2-proxy-new-sync" title="udisks_manager_lvm2_proxy_new_sync ()"><code class="function">udisks_manager_lvm2_proxy_new_sync()</code></a> but takes a <span class="type">GBusType</span> instead of a <span class="type">GDBusConnection</span>.</p>
484 <p>The calling thread is blocked until a reply is received.</p>
485 <p>See <a class="link" href="UDisksManagerLVM2.html#udisks-manager-lvm2-proxy-new-for-bus" title="udisks_manager_lvm2_proxy_new_for_bus ()"><code class="function">udisks_manager_lvm2_proxy_new_for_bus()</code></a> for the asynchronous version of this constructor.</p>
486 <div class="refsect3">
487 <a name="udisks-manager-lvm2-proxy-new-for-bus-sync.parameters"></a><h4>Parameters</h4>
488 <div class="informaltable"><table class="informaltable" width="100%" border="0">
489 <colgroup>
490 <col width="150px" class="parameters_name">
491 <col class="parameters_description">
492 <col width="200px" class="parameters_annotations">
493 </colgroup>
494 <tbody>
495 <tr>
496 <td class="parameter_name"><p>bus_type</p></td>
497 <td class="parameter_description"><p>A <span class="type">GBusType</span>.</p></td>
498 <td class="parameter_annotations"> </td>
499 </tr>
500 <tr>
501 <td class="parameter_name"><p>flags</p></td>
502 <td class="parameter_description"><p>Flags from the <span class="type">GDBusProxyFlags</span> enumeration.</p></td>
503 <td class="parameter_annotations"> </td>
504 </tr>
505 <tr>
506 <td class="parameter_name"><p>name</p></td>
507 <td class="parameter_description"><p>A bus name (well-known or unique).</p></td>
508 <td class="parameter_annotations"> </td>
509 </tr>
510 <tr>
511 <td class="parameter_name"><p>object_path</p></td>
512 <td class="parameter_description"><p>An object path.</p></td>
513 <td class="parameter_annotations"> </td>
514 </tr>
515 <tr>
516 <td class="parameter_name"><p>cancellable</p></td>
517 <td class="parameter_description"><p>A <span class="type">GCancellable</span> or <code class="literal">NULL</code>. </p></td>
518 <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>
519 </tr>
520 <tr>
521 <td class="parameter_name"><p>error</p></td>
522 <td class="parameter_description"><p>Return location for error or <code class="literal">NULL</code></p></td>
523 <td class="parameter_annotations"> </td>
524 </tr>
525 </tbody>
526 </table></div>
527 </div>
528 <div class="refsect3">
529 <a name="udisks-manager-lvm2-proxy-new-for-bus-sync.returns"></a><h4>Returns</h4>
530 <p>The constructed proxy object or <code class="literal">NULL</code> if <em class="parameter"><code>error</code></em>
531 is set. </p>
532 <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> UDisksManagerLVM2Proxy]</span></p>
533 </div>
534 <p class="since">Since: 2.0.0</p>
535 </div>
536 <hr>
537 <div class="refsect2">
538 <a name="udisks-manager-lvm2-call-volume-group-create"></a><h3>udisks_manager_lvm2_call_volume_group_create ()</h3>
539 <pre class="programlisting"><span class="returnvalue">void</span>
540 udisks_manager_lvm2_call_volume_group_create
541 (<em class="parameter"><code><a class="link" href="UDisksManagerLVM2.html" title="UDisksManagerLVM2"><span class="type">UDisksManagerLVM2</span></a> *proxy</code></em>,
542 <em class="parameter"><code>const <span class="type">gchar</span> *arg_name</code></em>,
543 <em class="parameter"><code>const <span class="type">gchar</span> *const *arg_blocks</code></em>,
544 <em class="parameter"><code><span class="type">GVariant</span> *arg_options</code></em>,
545 <em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>,
546 <em class="parameter"><code><span class="type">GAsyncReadyCallback</span> callback</code></em>,
547 <em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);</pre>
548 <p>Asynchronously invokes the <a class="link" href="gdbus-org.freedesktop.UDisks2.Manager.LVM2.html#gdbus-method-org-freedesktop-UDisks2-Manager-LVM2.VolumeGroupCreate" title="The VolumeGroupCreate() method"><code class="function">VolumeGroupCreate()</code></a> D-Bus method on <em class="parameter"><code>proxy</code></em>
549 .
550 When the operation is finished, <em class="parameter"><code>callback</code></em>
551 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>).
552 You can then call <a class="link" href="UDisksManagerLVM2.html#udisks-manager-lvm2-call-volume-group-create-finish" title="udisks_manager_lvm2_call_volume_group_create_finish ()"><code class="function">udisks_manager_lvm2_call_volume_group_create_finish()</code></a> to get the result of the operation.</p>
553 <p>See <a class="link" href="UDisksManagerLVM2.html#udisks-manager-lvm2-call-volume-group-create-sync" title="udisks_manager_lvm2_call_volume_group_create_sync ()"><code class="function">udisks_manager_lvm2_call_volume_group_create_sync()</code></a> for the synchronous, blocking version of this method.</p>
554 <div class="refsect3">
555 <a name="udisks-manager-lvm2-call-volume-group-create.parameters"></a><h4>Parameters</h4>
556 <div class="informaltable"><table class="informaltable" width="100%" border="0">
557 <colgroup>
558 <col width="150px" class="parameters_name">
559 <col class="parameters_description">
560 <col width="200px" class="parameters_annotations">
561 </colgroup>
562 <tbody>
563 <tr>
564 <td class="parameter_name"><p>proxy</p></td>
565 <td class="parameter_description"><p>A <a class="link" href="UDisksManagerLVM2.html#UDisksManagerLVM2Proxy"><span class="type">UDisksManagerLVM2Proxy</span></a>.</p></td>
566 <td class="parameter_annotations"> </td>
567 </tr>
568 <tr>
569 <td class="parameter_name"><p>arg_name</p></td>
570 <td class="parameter_description"><p>Argument to pass with the method invocation.</p></td>
571 <td class="parameter_annotations"> </td>
572 </tr>
573 <tr>
574 <td class="parameter_name"><p>arg_blocks</p></td>
575 <td class="parameter_description"><p>Argument to pass with the method invocation.</p></td>
576 <td class="parameter_annotations"> </td>
577 </tr>
578 <tr>
579 <td class="parameter_name"><p>arg_options</p></td>
580 <td class="parameter_description"><p>Argument to pass with the method invocation.</p></td>
581 <td class="parameter_annotations"> </td>
582 </tr>
583 <tr>
584 <td class="parameter_name"><p>cancellable</p></td>
585 <td class="parameter_description"><p>A <span class="type">GCancellable</span> or <code class="literal">NULL</code>. </p></td>
586 <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>
587 </tr>
588 <tr>
589 <td class="parameter_name"><p>callback</p></td>
590 <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>
591 <td class="parameter_annotations"> </td>
592 </tr>
593 <tr>
594 <td class="parameter_name"><p>user_data</p></td>
595 <td class="parameter_description"><p>User data to pass to <em class="parameter"><code>callback</code></em>
596 .</p></td>
597 <td class="parameter_annotations"> </td>
598 </tr>
599 </tbody>
600 </table></div>
601 </div>
602 <p class="since">Since: 2.0.0</p>
603 </div>
604 <hr>
605 <div class="refsect2">
606 <a name="udisks-manager-lvm2-call-volume-group-create-finish"></a><h3>udisks_manager_lvm2_call_volume_group_create_finish ()</h3>
607 <pre class="programlisting"><span class="returnvalue">gboolean</span>
608 udisks_manager_lvm2_call_volume_group_create_finish
609 (<em class="parameter"><code><a class="link" href="UDisksManagerLVM2.html" title="UDisksManagerLVM2"><span class="type">UDisksManagerLVM2</span></a> *proxy</code></em>,
610 <em class="parameter"><code><span class="type">gchar</span> **out_result</code></em>,
611 <em class="parameter"><code><span class="type">GAsyncResult</span> *res</code></em>,
612 <em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
613 <p>Finishes an operation started with <a class="link" href="UDisksManagerLVM2.html#udisks-manager-lvm2-call-volume-group-create" title="udisks_manager_lvm2_call_volume_group_create ()"><code class="function">udisks_manager_lvm2_call_volume_group_create()</code></a>.</p>
614 <div class="refsect3">
615 <a name="udisks-manager-lvm2-call-volume-group-create-finish.parameters"></a><h4>Parameters</h4>
616 <div class="informaltable"><table class="informaltable" width="100%" border="0">
617 <colgroup>
618 <col width="150px" class="parameters_name">
619 <col class="parameters_description">
620 <col width="200px" class="parameters_annotations">
621 </colgroup>
622 <tbody>
623 <tr>
624 <td class="parameter_name"><p>proxy</p></td>
625 <td class="parameter_description"><p>A <a class="link" href="UDisksManagerLVM2.html#UDisksManagerLVM2Proxy"><span class="type">UDisksManagerLVM2Proxy</span></a>.</p></td>
626 <td class="parameter_annotations"> </td>
627 </tr>
628 <tr>
629 <td class="parameter_name"><p>out_result</p></td>
630 <td class="parameter_description"><p>Return location for return parameter or <code class="literal">NULL</code> to ignore. </p></td>
631 <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>
632 </tr>
633 <tr>
634 <td class="parameter_name"><p>res</p></td>
635 <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="UDisksManagerLVM2.html#udisks-manager-lvm2-call-volume-group-create" title="udisks_manager_lvm2_call_volume_group_create ()"><code class="function">udisks_manager_lvm2_call_volume_group_create()</code></a>.</p></td>
636 <td class="parameter_annotations"> </td>
637 </tr>
638 <tr>
639 <td class="parameter_name"><p>error</p></td>
640 <td class="parameter_description"><p>Return location for error or <code class="literal">NULL</code>.</p></td>
641 <td class="parameter_annotations"> </td>
642 </tr>
643 </tbody>
644 </table></div>
645 </div>
646 <div class="refsect3">
647 <a name="udisks-manager-lvm2-call-volume-group-create-finish.returns"></a><h4>Returns</h4>
648 <p><code class="literal">TRUE</code> if the call succeeded, <code class="literal">FALSE</code> if <em class="parameter"><code>error</code></em>
649 is set. </p>
650 <p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
651 </div>
652 <p class="since">Since: 2.0.0</p>
653 </div>
654 <hr>
655 <div class="refsect2">
656 <a name="udisks-manager-lvm2-call-volume-group-create-sync"></a><h3>udisks_manager_lvm2_call_volume_group_create_sync ()</h3>
657 <pre class="programlisting"><span class="returnvalue">gboolean</span>
658 udisks_manager_lvm2_call_volume_group_create_sync
659 (<em class="parameter"><code><a class="link" href="UDisksManagerLVM2.html" title="UDisksManagerLVM2"><span class="type">UDisksManagerLVM2</span></a> *proxy</code></em>,
660 <em class="parameter"><code>const <span class="type">gchar</span> *arg_name</code></em>,
661 <em class="parameter"><code>const <span class="type">gchar</span> *const *arg_blocks</code></em>,
662 <em class="parameter"><code><span class="type">GVariant</span> *arg_options</code></em>,
663 <em class="parameter"><code><span class="type">gchar</span> **out_result</code></em>,
664 <em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>,
665 <em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
666 <p>Synchronously invokes the <a class="link" href="gdbus-org.freedesktop.UDisks2.Manager.LVM2.html#gdbus-method-org-freedesktop-UDisks2-Manager-LVM2.VolumeGroupCreate" title="The VolumeGroupCreate() method"><code class="function">VolumeGroupCreate()</code></a> D-Bus method on <em class="parameter"><code>proxy</code></em>
667 . The calling thread is blocked until a reply is received.</p>
668 <p>See <a class="link" href="UDisksManagerLVM2.html#udisks-manager-lvm2-call-volume-group-create" title="udisks_manager_lvm2_call_volume_group_create ()"><code class="function">udisks_manager_lvm2_call_volume_group_create()</code></a> for the asynchronous version of this method.</p>
669 <div class="refsect3">
670 <a name="udisks-manager-lvm2-call-volume-group-create-sync.parameters"></a><h4>Parameters</h4>
671 <div class="informaltable"><table class="informaltable" width="100%" border="0">
672 <colgroup>
673 <col width="150px" class="parameters_name">
674 <col class="parameters_description">
675 <col width="200px" class="parameters_annotations">
676 </colgroup>
677 <tbody>
678 <tr>
679 <td class="parameter_name"><p>proxy</p></td>
680 <td class="parameter_description"><p>A <a class="link" href="UDisksManagerLVM2.html#UDisksManagerLVM2Proxy"><span class="type">UDisksManagerLVM2Proxy</span></a>.</p></td>
681 <td class="parameter_annotations"> </td>
682 </tr>
683 <tr>
684 <td class="parameter_name"><p>arg_name</p></td>
685 <td class="parameter_description"><p>Argument to pass with the method invocation.</p></td>
686 <td class="parameter_annotations"> </td>
687 </tr>
688 <tr>
689 <td class="parameter_name"><p>arg_blocks</p></td>
690 <td class="parameter_description"><p>Argument to pass with the method invocation.</p></td>
691 <td class="parameter_annotations"> </td>
692 </tr>
693 <tr>
694 <td class="parameter_name"><p>arg_options</p></td>
695 <td class="parameter_description"><p>Argument to pass with the method invocation.</p></td>
696 <td class="parameter_annotations"> </td>
697 </tr>
698 <tr>
699 <td class="parameter_name"><p>out_result</p></td>
700 <td class="parameter_description"><p>Return location for return parameter or <code class="literal">NULL</code> to ignore. </p></td>
701 <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>
702 </tr>
703 <tr>
704 <td class="parameter_name"><p>cancellable</p></td>
705 <td class="parameter_description"><p>A <span class="type">GCancellable</span> or <code class="literal">NULL</code>. </p></td>
706 <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>
707 </tr>
708 <tr>
709 <td class="parameter_name"><p>error</p></td>
710 <td class="parameter_description"><p>Return location for error or <code class="literal">NULL</code>.</p></td>
711 <td class="parameter_annotations"> </td>
712 </tr>
713 </tbody>
714 </table></div>
715 </div>
716 <div class="refsect3">
717 <a name="udisks-manager-lvm2-call-volume-group-create-sync.returns"></a><h4>Returns</h4>
718 <p><code class="literal">TRUE</code> if the call succeeded, <code class="literal">FALSE</code> if <em class="parameter"><code>error</code></em>
719 is set. </p>
720 <p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
721 </div>
722 <p class="since">Since: 2.0.0</p>
723 </div>
724 <hr>
725 <div class="refsect2">
726 <a name="udisks-manager-lvm2-skeleton-new"></a><h3>udisks_manager_lvm2_skeleton_new ()</h3>
727 <pre class="programlisting"><a class="link" href="UDisksManagerLVM2.html" title="UDisksManagerLVM2"><span class="returnvalue">UDisksManagerLVM2</span></a> *
728 udisks_manager_lvm2_skeleton_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
729 <p>Creates a skeleton object for the D-Bus interface <a class="link" href="gdbus-org.freedesktop.UDisks2.Manager.LVM2.html#gdbus-interface-org-freedesktop-UDisks2-Manager-LVM2.top_of_page">org.freedesktop.UDisks2.Manager.LVM2</a>.</p>
730 <div class="refsect3">
731 <a name="udisks-manager-lvm2-skeleton-new.returns"></a><h4>Returns</h4>
732 <p>The skeleton object. </p>
733 <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> UDisksManagerLVM2Skeleton]</span></p>
734 </div>
735 <p class="since">Since: 2.0.0</p>
736 </div>
737 <hr>
738 <div class="refsect2">
739 <a name="udisks-manager-lvm2-complete-volume-group-create"></a><h3>udisks_manager_lvm2_complete_volume_group_create ()</h3>
740 <pre class="programlisting"><span class="returnvalue">void</span>
741 udisks_manager_lvm2_complete_volume_group_create
742 (<em class="parameter"><code><a class="link" href="UDisksManagerLVM2.html" title="UDisksManagerLVM2"><span class="type">UDisksManagerLVM2</span></a> *object</code></em>,
743 <em class="parameter"><code><span class="type">GDBusMethodInvocation</span> *invocation</code></em>,
744 <em class="parameter"><code>const <span class="type">gchar</span> *result</code></em>);</pre>
745 <p>Helper function used in service implementations to finish handling invocations of the <a class="link" href="gdbus-org.freedesktop.UDisks2.Manager.LVM2.html#gdbus-method-org-freedesktop-UDisks2-Manager-LVM2.VolumeGroupCreate" title="The VolumeGroupCreate() method"><code class="function">VolumeGroupCreate()</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>
746 <p>This method will free <em class="parameter"><code>invocation</code></em>
747 , you cannot use it afterwards.</p>
748 <div class="refsect3">
749 <a name="udisks-manager-lvm2-complete-volume-group-create.parameters"></a><h4>Parameters</h4>
750 <div class="informaltable"><table class="informaltable" width="100%" border="0">
751 <colgroup>
752 <col width="150px" class="parameters_name">
753 <col class="parameters_description">
754 <col width="200px" class="parameters_annotations">
755 </colgroup>
756 <tbody>
757 <tr>
758 <td class="parameter_name"><p>object</p></td>
759 <td class="parameter_description"><p>A <a class="link" href="UDisksManagerLVM2.html" title="UDisksManagerLVM2"><span class="type">UDisksManagerLVM2</span></a>.</p></td>
760 <td class="parameter_annotations"> </td>
761 </tr>
762 <tr>
763 <td class="parameter_name"><p>invocation</p></td>
764 <td class="parameter_description"><p>A <span class="type">GDBusMethodInvocation</span>. </p></td>
765 <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>
766 </tr>
767 <tr>
768 <td class="parameter_name"><p>result</p></td>
769 <td class="parameter_description"><p>Parameter to return.</p></td>
770 <td class="parameter_annotations"> </td>
771 </tr>
772 </tbody>
773 </table></div>
774 </div>
775 <p class="since">Since: 2.0.0</p>
776 </div>
777 </div>
778 <div class="refsect1">
779 <a name="UDisksManagerLVM2.other_details"></a><h2>Types and Values</h2>
780 <div class="refsect2">
781 <a name="UDisksManagerLVM2-struct"></a><h3>UDisksManagerLVM2</h3>
782 <pre class="programlisting">typedef struct _UDisksManagerLVM2 UDisksManagerLVM2;</pre>
783 <p>Abstract interface type for the D-Bus interface <a class="link" href="gdbus-org.freedesktop.UDisks2.Manager.LVM2.html#gdbus-interface-org-freedesktop-UDisks2-Manager-LVM2.top_of_page">org.freedesktop.UDisks2.Manager.LVM2</a>.</p>
784 <p class="since">Since: 2.0.0</p>
785 </div>
786 <hr>
787 <div class="refsect2">
788 <a name="UDisksManagerLVM2Proxy-struct"></a><h3>struct UDisksManagerLVM2Proxy</h3>
789 <pre class="programlisting">struct UDisksManagerLVM2Proxy;</pre>
790 <p>The <a class="link" href="UDisksManagerLVM2.html#UDisksManagerLVM2Proxy"><span class="type">UDisksManagerLVM2Proxy</span></a> structure contains only private data and should only be accessed using the provided API.</p>
791 <p class="since">Since: 2.0.0</p>
792 </div>
793 <hr>
794 <div class="refsect2">
795 <a name="UDisksManagerLVM2ProxyClass"></a><h3>struct UDisksManagerLVM2ProxyClass</h3>
796 <pre class="programlisting">struct UDisksManagerLVM2ProxyClass {
797 GDBusProxyClass parent_class;
798 };
799 </pre>
800 <p>Class structure for <a class="link" href="UDisksManagerLVM2.html#UDisksManagerLVM2Proxy"><span class="type">UDisksManagerLVM2Proxy</span></a>.</p>
801 <div class="refsect3">
802 <a name="UDisksManagerLVM2ProxyClass.members"></a><h4>Members</h4>
803 <div class="informaltable"><table class="informaltable" width="100%" border="0">
804 <colgroup>
805 <col width="300px" class="struct_members_name">
806 <col class="struct_members_description">
807 <col width="200px" class="struct_members_annotations">
808 </colgroup>
809 <tbody></tbody>
810 </table></div>
811 </div>
812 <p class="since">Since: 2.0.0</p>
813 </div>
814 <hr>
815 <div class="refsect2">
816 <a name="UDisksManagerLVM2Skeleton"></a><h3>struct UDisksManagerLVM2Skeleton</h3>
817 <pre class="programlisting">struct UDisksManagerLVM2Skeleton {
818 };
819 </pre>
820 <p>The <a class="link" href="UDisksManagerLVM2.html#UDisksManagerLVM2Skeleton" title="struct UDisksManagerLVM2Skeleton"><span class="type">UDisksManagerLVM2Skeleton</span></a> structure contains only private data and should only be accessed using the provided API.</p>
821 <p class="since">Since: 2.0.0</p>
822 </div>
823 <hr>
824 <div class="refsect2">
825 <a name="UDisksManagerLVM2SkeletonClass"></a><h3>struct UDisksManagerLVM2SkeletonClass</h3>
826 <pre class="programlisting">struct UDisksManagerLVM2SkeletonClass {
827 GDBusInterfaceSkeletonClass parent_class;
828 };
829 </pre>
830 <p>Class structure for <a class="link" href="UDisksManagerLVM2.html#UDisksManagerLVM2Skeleton" title="struct UDisksManagerLVM2Skeleton"><span class="type">UDisksManagerLVM2Skeleton</span></a>.</p>
831 <div class="refsect3">
832 <a name="UDisksManagerLVM2SkeletonClass.members"></a><h4>Members</h4>
833 <div class="informaltable"><table class="informaltable" width="100%" border="0">
834 <colgroup>
835 <col width="300px" class="struct_members_name">
836 <col class="struct_members_description">
837 <col width="200px" class="struct_members_annotations">
838 </colgroup>
839 <tbody></tbody>
840 </table></div>
841 </div>
842 <p class="since">Since: 2.0.0</p>
843 </div>
844 </div>
845 </div>
846 <div class="footer">
847 <hr>Generated by GTK-Doc V1.35.1</div>
848 </body>
849 </html>