Debian Codegraph @

doc/html/UDisksBlockLVM2.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>UDisksBlockLVM2: 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="UDisksManagerLVM2.html" title="UDisksManagerLVM2">
10 <link rel="next" href="UDisksPhysicalVolume.html" title="UDisksPhysicalVolume">
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="#UDisksBlockLVM2.description" class="shortcut">Description</a></span><span id="nav_hierarchy">  <span class="dim">|</span> 
19 <a href="#UDisksBlockLVM2.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_prerequisites">  <span class="dim">|</span> 
20 <a href="#UDisksBlockLVM2.prerequisites" class="shortcut">Prerequisites</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="UDisksManagerLVM2.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
25 <td><a accesskey="n" href="UDisksPhysicalVolume.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="UDisksBlockLVM2"></a><div class="titlepage"></div>
29 <div class="refnamediv"><table width="100%"><tr>
30 <td valign="top">
31 <h2><span class="refentrytitle"><a name="UDisksBlockLVM2.top_of_page"></a>UDisksBlockLVM2</span></h2>
32 <p>UDisksBlockLVM2 — Generated C code for the org.freedesktop.UDisks2.Block.LVM2 D-Bus interface</p>
33 </td>
34 <td class="gallery_image" valign="top" align="right"></td>
35 </tr></table></div>
36 <div class="refsect1">
37 <a name="UDisksBlockLVM2.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">void</span>
47 </td>
48 <td class="function_name">
49 <a class="link" href="UDisksBlockLVM2.html#udisks-block-lvm2-proxy-new" title="udisks_block_lvm2_proxy_new ()">udisks_block_lvm2_proxy_new</a> <span class="c_punctuation">()</span>
50 </td>
51 </tr>
52 <tr>
53 <td class="function_type">
54 <a class="link" href="UDisksBlockLVM2.html" title="UDisksBlockLVM2"><span class="returnvalue">UDisksBlockLVM2</span></a> *
55 </td>
56 <td class="function_name">
57 <a class="link" href="UDisksBlockLVM2.html#udisks-block-lvm2-proxy-new-finish" title="udisks_block_lvm2_proxy_new_finish ()">udisks_block_lvm2_proxy_new_finish</a> <span class="c_punctuation">()</span>
58 </td>
59 </tr>
60 <tr>
61 <td class="function_type">
62 <a class="link" href="UDisksBlockLVM2.html" title="UDisksBlockLVM2"><span class="returnvalue">UDisksBlockLVM2</span></a> *
63 </td>
64 <td class="function_name">
65 <a class="link" href="UDisksBlockLVM2.html#udisks-block-lvm2-proxy-new-sync" title="udisks_block_lvm2_proxy_new_sync ()">udisks_block_lvm2_proxy_new_sync</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="UDisksBlockLVM2.html#udisks-block-lvm2-proxy-new-for-bus" title="udisks_block_lvm2_proxy_new_for_bus ()">udisks_block_lvm2_proxy_new_for_bus</a> <span class="c_punctuation">()</span>
74 </td>
75 </tr>
76 <tr>
77 <td class="function_type">
78 <a class="link" href="UDisksBlockLVM2.html" title="UDisksBlockLVM2"><span class="returnvalue">UDisksBlockLVM2</span></a> *
79 </td>
80 <td class="function_name">
81 <a class="link" href="UDisksBlockLVM2.html#udisks-block-lvm2-proxy-new-for-bus-finish" title="udisks_block_lvm2_proxy_new_for_bus_finish ()">udisks_block_lvm2_proxy_new_for_bus_finish</a> <span class="c_punctuation">()</span>
82 </td>
83 </tr>
84 <tr>
85 <td class="function_type">
86 <a class="link" href="UDisksBlockLVM2.html" title="UDisksBlockLVM2"><span class="returnvalue">UDisksBlockLVM2</span></a> *
87 </td>
88 <td class="function_name">
89 <a class="link" href="UDisksBlockLVM2.html#udisks-block-lvm2-proxy-new-for-bus-sync" title="udisks_block_lvm2_proxy_new_for_bus_sync ()">udisks_block_lvm2_proxy_new_for_bus_sync</a> <span class="c_punctuation">()</span>
90 </td>
91 </tr>
92 <tr>
93 <td class="function_type">const <span class="returnvalue">gchar</span> *
94 </td>
95 <td class="function_name">
96 <a class="link" href="UDisksBlockLVM2.html#udisks-block-lvm2-get-logical-volume" title="udisks_block_lvm2_get_logical_volume ()">udisks_block_lvm2_get_logical_volume</a> <span class="c_punctuation">()</span>
97 </td>
98 </tr>
99 <tr>
100 <td class="function_type">
101 <span class="returnvalue">gchar</span> *
102 </td>
103 <td class="function_name">
104 <a class="link" href="UDisksBlockLVM2.html#udisks-block-lvm2-dup-logical-volume" title="udisks_block_lvm2_dup_logical_volume ()">udisks_block_lvm2_dup_logical_volume</a> <span class="c_punctuation">()</span>
105 </td>
106 </tr>
107 <tr>
108 <td class="function_type">
109 <span class="returnvalue">void</span>
110 </td>
111 <td class="function_name">
112 <a class="link" href="UDisksBlockLVM2.html#udisks-block-lvm2-set-logical-volume" title="udisks_block_lvm2_set_logical_volume ()">udisks_block_lvm2_set_logical_volume</a> <span class="c_punctuation">()</span>
113 </td>
114 </tr>
115 <tr>
116 <td class="function_type">
117 <a class="link" href="UDisksBlockLVM2.html" title="UDisksBlockLVM2"><span class="returnvalue">UDisksBlockLVM2</span></a> *
118 </td>
119 <td class="function_name">
120 <a class="link" href="UDisksBlockLVM2.html#udisks-block-lvm2-skeleton-new" title="udisks_block_lvm2_skeleton_new ()">udisks_block_lvm2_skeleton_new</a> <span class="c_punctuation">()</span>
121 </td>
122 </tr>
123 </tbody>
124 </table></div>
125 </div>
126 <div class="refsect1">
127 <a name="UDisksBlockLVM2.other"></a><h2>Types and Values</h2>
128 <div class="informaltable"><table class="informaltable" width="100%" border="0">
129 <colgroup>
130 <col width="150px" class="other_proto_type">
131 <col class="other_proto_name">
132 </colgroup>
133 <tbody>
134 <tr>
135 <td class="datatype_keyword"> </td>
136 <td class="function_name"><a class="link" href="UDisksBlockLVM2.html#UDisksBlockLVM2-struct" title="UDisksBlockLVM2">UDisksBlockLVM2</a></td>
137 </tr>
138 <tr>
139 <td class="datatype_keyword">struct</td>
140 <td class="function_name"><a class="link" href="UDisksBlockLVM2.html#UDisksBlockLVM2Proxy" title="struct UDisksBlockLVM2Proxy">UDisksBlockLVM2Proxy</a></td>
141 </tr>
142 <tr>
143 <td class="datatype_keyword">struct</td>
144 <td class="function_name"><a class="link" href="UDisksBlockLVM2.html#UDisksBlockLVM2ProxyClass" title="struct UDisksBlockLVM2ProxyClass">UDisksBlockLVM2ProxyClass</a></td>
145 </tr>
146 <tr>
147 <td class="datatype_keyword">struct</td>
148 <td class="function_name"><a class="link" href="UDisksBlockLVM2.html#UDisksBlockLVM2Skeleton" title="struct UDisksBlockLVM2Skeleton">UDisksBlockLVM2Skeleton</a></td>
149 </tr>
150 <tr>
151 <td class="datatype_keyword">struct</td>
152 <td class="function_name"><a class="link" href="UDisksBlockLVM2.html#UDisksBlockLVM2SkeletonClass" title="struct UDisksBlockLVM2SkeletonClass">UDisksBlockLVM2SkeletonClass</a></td>
153 </tr>
154 </tbody>
155 </table></div>
156 </div>
157 <div class="refsect1">
158 <a name="UDisksBlockLVM2.object-hierarchy"></a><h2>Object Hierarchy</h2>
159 <pre class="screen"> <a href="/usr/share/gtk-doc/html/gobject/GTypeModule.html">GInterface</a>
160 <span class="lineart">╰──</span> UDisksBlockLVM2
161 </pre>
162 </div>
163 <div class="refsect1">
164 <a name="UDisksBlockLVM2.prerequisites"></a><h2>Prerequisites</h2>
165 <p>
166 UDisksBlockLVM2 requires
167 GObject.</p>
168 </div>
169 <div class="refsect1">
170 <a name="UDisksBlockLVM2.description"></a><h2>Description</h2>
171 <p>This section contains code for working with the <a class="link" href="gdbus-org.freedesktop.UDisks2.Block.LVM2.html#gdbus-interface-org-freedesktop-UDisks2-Block-LVM2.top_of_page">org.freedesktop.UDisks2.Block.LVM2</a> D-Bus interface in C.</p>
172 </div>
173 <div class="refsect1">
174 <a name="UDisksBlockLVM2.functions_details"></a><h2>Functions</h2>
175 <div class="refsect2">
176 <a name="udisks-block-lvm2-proxy-new"></a><h3>udisks_block_lvm2_proxy_new ()</h3>
177 <pre class="programlisting"><span class="returnvalue">void</span>
178 udisks_block_lvm2_proxy_new (<em class="parameter"><code><span class="type">GDBusConnection</span> *connection</code></em>,
179 <em class="parameter"><code><span class="type">GDBusProxyFlags</span> flags</code></em>,
180 <em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>,
181 <em class="parameter"><code>const <span class="type">gchar</span> *object_path</code></em>,
182 <em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>,
183 <em class="parameter"><code><span class="type">GAsyncReadyCallback</span> callback</code></em>,
184 <em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);</pre>
185 <p>Asynchronously creates a proxy for the D-Bus interface <a class="link" href="gdbus-org.freedesktop.UDisks2.Block.LVM2.html#gdbus-interface-org-freedesktop-UDisks2-Block-LVM2.top_of_page">org.freedesktop.UDisks2.Block.LVM2</a>. See <code class="function">g_dbus_proxy_new()</code> for more details.</p>
186 <p>When the operation is finished, <em class="parameter"><code>callback</code></em>
187 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>).
188 You can then call <a class="link" href="UDisksBlockLVM2.html#udisks-block-lvm2-proxy-new-finish" title="udisks_block_lvm2_proxy_new_finish ()"><code class="function">udisks_block_lvm2_proxy_new_finish()</code></a> to get the result of the operation.</p>
189 <p>See <a class="link" href="UDisksBlockLVM2.html#udisks-block-lvm2-proxy-new-sync" title="udisks_block_lvm2_proxy_new_sync ()"><code class="function">udisks_block_lvm2_proxy_new_sync()</code></a> for the synchronous, blocking version of this constructor.</p>
190 <div class="refsect3">
191 <a name="udisks-block-lvm2-proxy-new.parameters"></a><h4>Parameters</h4>
192 <div class="informaltable"><table class="informaltable" width="100%" border="0">
193 <colgroup>
194 <col width="150px" class="parameters_name">
195 <col class="parameters_description">
196 <col width="200px" class="parameters_annotations">
197 </colgroup>
198 <tbody>
199 <tr>
200 <td class="parameter_name"><p>connection</p></td>
201 <td class="parameter_description"><p>A <span class="type">GDBusConnection</span>.</p></td>
202 <td class="parameter_annotations"> </td>
203 </tr>
204 <tr>
205 <td class="parameter_name"><p>flags</p></td>
206 <td class="parameter_description"><p>Flags from the <span class="type">GDBusProxyFlags</span> enumeration.</p></td>
207 <td class="parameter_annotations"> </td>
208 </tr>
209 <tr>
210 <td class="parameter_name"><p>name</p></td>
211 <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>
212 is not a message bus connection. </p></td>
213 <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>
214 </tr>
215 <tr>
216 <td class="parameter_name"><p>object_path</p></td>
217 <td class="parameter_description"><p>An object path.</p></td>
218 <td class="parameter_annotations"> </td>
219 </tr>
220 <tr>
221 <td class="parameter_name"><p>cancellable</p></td>
222 <td class="parameter_description"><p>A <span class="type">GCancellable</span> or <code class="literal">NULL</code>. </p></td>
223 <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>
224 </tr>
225 <tr>
226 <td class="parameter_name"><p>callback</p></td>
227 <td class="parameter_description"><p>A <span class="type">GAsyncReadyCallback</span> to call when the request is satisfied.</p></td>
228 <td class="parameter_annotations"> </td>
229 </tr>
230 <tr>
231 <td class="parameter_name"><p>user_data</p></td>
232 <td class="parameter_description"><p>User data to pass to <em class="parameter"><code>callback</code></em>
233 .</p></td>
234 <td class="parameter_annotations"> </td>
235 </tr>
236 </tbody>
237 </table></div>
238 </div>
239 <p class="since">Since: 2.0.0</p>
240 </div>
241 <hr>
242 <div class="refsect2">
243 <a name="udisks-block-lvm2-proxy-new-finish"></a><h3>udisks_block_lvm2_proxy_new_finish ()</h3>
244 <pre class="programlisting"><a class="link" href="UDisksBlockLVM2.html" title="UDisksBlockLVM2"><span class="returnvalue">UDisksBlockLVM2</span></a> *
245 udisks_block_lvm2_proxy_new_finish (<em class="parameter"><code><span class="type">GAsyncResult</span> *res</code></em>,
246 <em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
247 <p>Finishes an operation started with <a class="link" href="UDisksBlockLVM2.html#udisks-block-lvm2-proxy-new" title="udisks_block_lvm2_proxy_new ()"><code class="function">udisks_block_lvm2_proxy_new()</code></a>.</p>
248 <div class="refsect3">
249 <a name="udisks-block-lvm2-proxy-new-finish.parameters"></a><h4>Parameters</h4>
250 <div class="informaltable"><table class="informaltable" width="100%" border="0">
251 <colgroup>
252 <col width="150px" class="parameters_name">
253 <col class="parameters_description">
254 <col width="200px" class="parameters_annotations">
255 </colgroup>
256 <tbody>
257 <tr>
258 <td class="parameter_name"><p>res</p></td>
259 <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="UDisksBlockLVM2.html#udisks-block-lvm2-proxy-new" title="udisks_block_lvm2_proxy_new ()"><code class="function">udisks_block_lvm2_proxy_new()</code></a>.</p></td>
260 <td class="parameter_annotations"> </td>
261 </tr>
262 <tr>
263 <td class="parameter_name"><p>error</p></td>
264 <td class="parameter_description"><p>Return location for error or <code class="literal">NULL</code></p></td>
265 <td class="parameter_annotations"> </td>
266 </tr>
267 </tbody>
268 </table></div>
269 </div>
270 <div class="refsect3">
271 <a name="udisks-block-lvm2-proxy-new-finish.returns"></a><h4>Returns</h4>
272 <p>The constructed proxy object or <code class="literal">NULL</code> if <em class="parameter"><code>error</code></em>
273 is set. </p>
274 <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> UDisksBlockLVM2Proxy]</span></p>
275 </div>
276 <p class="since">Since: 2.0.0</p>
277 </div>
278 <hr>
279 <div class="refsect2">
280 <a name="udisks-block-lvm2-proxy-new-sync"></a><h3>udisks_block_lvm2_proxy_new_sync ()</h3>
281 <pre class="programlisting"><a class="link" href="UDisksBlockLVM2.html" title="UDisksBlockLVM2"><span class="returnvalue">UDisksBlockLVM2</span></a> *
282 udisks_block_lvm2_proxy_new_sync (<em class="parameter"><code><span class="type">GDBusConnection</span> *connection</code></em>,
283 <em class="parameter"><code><span class="type">GDBusProxyFlags</span> flags</code></em>,
284 <em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>,
285 <em class="parameter"><code>const <span class="type">gchar</span> *object_path</code></em>,
286 <em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>,
287 <em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
288 <p>Synchronously creates a proxy for the D-Bus interface <a class="link" href="gdbus-org.freedesktop.UDisks2.Block.LVM2.html#gdbus-interface-org-freedesktop-UDisks2-Block-LVM2.top_of_page">org.freedesktop.UDisks2.Block.LVM2</a>. See <code class="function">g_dbus_proxy_new_sync()</code> for more details.</p>
289 <p>The calling thread is blocked until a reply is received.</p>
290 <p>See <a class="link" href="UDisksBlockLVM2.html#udisks-block-lvm2-proxy-new" title="udisks_block_lvm2_proxy_new ()"><code class="function">udisks_block_lvm2_proxy_new()</code></a> for the asynchronous version of this constructor.</p>
291 <div class="refsect3">
292 <a name="udisks-block-lvm2-proxy-new-sync.parameters"></a><h4>Parameters</h4>
293 <div class="informaltable"><table class="informaltable" width="100%" border="0">
294 <colgroup>
295 <col width="150px" class="parameters_name">
296 <col class="parameters_description">
297 <col width="200px" class="parameters_annotations">
298 </colgroup>
299 <tbody>
300 <tr>
301 <td class="parameter_name"><p>connection</p></td>
302 <td class="parameter_description"><p>A <span class="type">GDBusConnection</span>.</p></td>
303 <td class="parameter_annotations"> </td>
304 </tr>
305 <tr>
306 <td class="parameter_name"><p>flags</p></td>
307 <td class="parameter_description"><p>Flags from the <span class="type">GDBusProxyFlags</span> enumeration.</p></td>
308 <td class="parameter_annotations"> </td>
309 </tr>
310 <tr>
311 <td class="parameter_name"><p>name</p></td>
312 <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>
313 is not a message bus connection. </p></td>
314 <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>
315 </tr>
316 <tr>
317 <td class="parameter_name"><p>object_path</p></td>
318 <td class="parameter_description"><p>An object path.</p></td>
319 <td class="parameter_annotations"> </td>
320 </tr>
321 <tr>
322 <td class="parameter_name"><p>cancellable</p></td>
323 <td class="parameter_description"><p>A <span class="type">GCancellable</span> or <code class="literal">NULL</code>. </p></td>
324 <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>
325 </tr>
326 <tr>
327 <td class="parameter_name"><p>error</p></td>
328 <td class="parameter_description"><p>Return location for error or <code class="literal">NULL</code></p></td>
329 <td class="parameter_annotations"> </td>
330 </tr>
331 </tbody>
332 </table></div>
333 </div>
334 <div class="refsect3">
335 <a name="udisks-block-lvm2-proxy-new-sync.returns"></a><h4>Returns</h4>
336 <p>The constructed proxy object or <code class="literal">NULL</code> if <em class="parameter"><code>error</code></em>
337 is set. </p>
338 <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> UDisksBlockLVM2Proxy]</span></p>
339 </div>
340 <p class="since">Since: 2.0.0</p>
341 </div>
342 <hr>
343 <div class="refsect2">
344 <a name="udisks-block-lvm2-proxy-new-for-bus"></a><h3>udisks_block_lvm2_proxy_new_for_bus ()</h3>
345 <pre class="programlisting"><span class="returnvalue">void</span>
346 udisks_block_lvm2_proxy_new_for_bus (<em class="parameter"><code><span class="type">GBusType</span> bus_type</code></em>,
347 <em class="parameter"><code><span class="type">GDBusProxyFlags</span> flags</code></em>,
348 <em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>,
349 <em class="parameter"><code>const <span class="type">gchar</span> *object_path</code></em>,
350 <em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>,
351 <em class="parameter"><code><span class="type">GAsyncReadyCallback</span> callback</code></em>,
352 <em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);</pre>
353 <p>Like <a class="link" href="UDisksBlockLVM2.html#udisks-block-lvm2-proxy-new" title="udisks_block_lvm2_proxy_new ()"><code class="function">udisks_block_lvm2_proxy_new()</code></a> but takes a <span class="type">GBusType</span> instead of a <span class="type">GDBusConnection</span>.</p>
354 <p>When the operation is finished, <em class="parameter"><code>callback</code></em>
355 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>).
356 You can then call <a class="link" href="UDisksBlockLVM2.html#udisks-block-lvm2-proxy-new-for-bus-finish" title="udisks_block_lvm2_proxy_new_for_bus_finish ()"><code class="function">udisks_block_lvm2_proxy_new_for_bus_finish()</code></a> to get the result of the operation.</p>
357 <p>See <a class="link" href="UDisksBlockLVM2.html#udisks-block-lvm2-proxy-new-for-bus-sync" title="udisks_block_lvm2_proxy_new_for_bus_sync ()"><code class="function">udisks_block_lvm2_proxy_new_for_bus_sync()</code></a> for the synchronous, blocking version of this constructor.</p>
358 <div class="refsect3">
359 <a name="udisks-block-lvm2-proxy-new-for-bus.parameters"></a><h4>Parameters</h4>
360 <div class="informaltable"><table class="informaltable" width="100%" border="0">
361 <colgroup>
362 <col width="150px" class="parameters_name">
363 <col class="parameters_description">
364 <col width="200px" class="parameters_annotations">
365 </colgroup>
366 <tbody>
367 <tr>
368 <td class="parameter_name"><p>bus_type</p></td>
369 <td class="parameter_description"><p>A <span class="type">GBusType</span>.</p></td>
370 <td class="parameter_annotations"> </td>
371 </tr>
372 <tr>
373 <td class="parameter_name"><p>flags</p></td>
374 <td class="parameter_description"><p>Flags from the <span class="type">GDBusProxyFlags</span> enumeration.</p></td>
375 <td class="parameter_annotations"> </td>
376 </tr>
377 <tr>
378 <td class="parameter_name"><p>name</p></td>
379 <td class="parameter_description"><p>A bus name (well-known or unique).</p></td>
380 <td class="parameter_annotations"> </td>
381 </tr>
382 <tr>
383 <td class="parameter_name"><p>object_path</p></td>
384 <td class="parameter_description"><p>An object path.</p></td>
385 <td class="parameter_annotations"> </td>
386 </tr>
387 <tr>
388 <td class="parameter_name"><p>cancellable</p></td>
389 <td class="parameter_description"><p>A <span class="type">GCancellable</span> or <code class="literal">NULL</code>. </p></td>
390 <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>
391 </tr>
392 <tr>
393 <td class="parameter_name"><p>callback</p></td>
394 <td class="parameter_description"><p>A <span class="type">GAsyncReadyCallback</span> to call when the request is satisfied.</p></td>
395 <td class="parameter_annotations"> </td>
396 </tr>
397 <tr>
398 <td class="parameter_name"><p>user_data</p></td>
399 <td class="parameter_description"><p>User data to pass to <em class="parameter"><code>callback</code></em>
400 .</p></td>
401 <td class="parameter_annotations"> </td>
402 </tr>
403 </tbody>
404 </table></div>
405 </div>
406 <p class="since">Since: 2.0.0</p>
407 </div>
408 <hr>
409 <div class="refsect2">
410 <a name="udisks-block-lvm2-proxy-new-for-bus-finish"></a><h3>udisks_block_lvm2_proxy_new_for_bus_finish ()</h3>
411 <pre class="programlisting"><a class="link" href="UDisksBlockLVM2.html" title="UDisksBlockLVM2"><span class="returnvalue">UDisksBlockLVM2</span></a> *
412 udisks_block_lvm2_proxy_new_for_bus_finish
413 (<em class="parameter"><code><span class="type">GAsyncResult</span> *res</code></em>,
414 <em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
415 <p>Finishes an operation started with <a class="link" href="UDisksBlockLVM2.html#udisks-block-lvm2-proxy-new-for-bus" title="udisks_block_lvm2_proxy_new_for_bus ()"><code class="function">udisks_block_lvm2_proxy_new_for_bus()</code></a>.</p>
416 <div class="refsect3">
417 <a name="udisks-block-lvm2-proxy-new-for-bus-finish.parameters"></a><h4>Parameters</h4>
418 <div class="informaltable"><table class="informaltable" width="100%" border="0">
419 <colgroup>
420 <col width="150px" class="parameters_name">
421 <col class="parameters_description">
422 <col width="200px" class="parameters_annotations">
423 </colgroup>
424 <tbody>
425 <tr>
426 <td class="parameter_name"><p>res</p></td>
427 <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="UDisksBlockLVM2.html#udisks-block-lvm2-proxy-new-for-bus" title="udisks_block_lvm2_proxy_new_for_bus ()"><code class="function">udisks_block_lvm2_proxy_new_for_bus()</code></a>.</p></td>
428 <td class="parameter_annotations"> </td>
429 </tr>
430 <tr>
431 <td class="parameter_name"><p>error</p></td>
432 <td class="parameter_description"><p>Return location for error or <code class="literal">NULL</code></p></td>
433 <td class="parameter_annotations"> </td>
434 </tr>
435 </tbody>
436 </table></div>
437 </div>
438 <div class="refsect3">
439 <a name="udisks-block-lvm2-proxy-new-for-bus-finish.returns"></a><h4>Returns</h4>
440 <p>The constructed proxy object or <code class="literal">NULL</code> if <em class="parameter"><code>error</code></em>
441 is set. </p>
442 <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> UDisksBlockLVM2Proxy]</span></p>
443 </div>
444 <p class="since">Since: 2.0.0</p>
445 </div>
446 <hr>
447 <div class="refsect2">
448 <a name="udisks-block-lvm2-proxy-new-for-bus-sync"></a><h3>udisks_block_lvm2_proxy_new_for_bus_sync ()</h3>
449 <pre class="programlisting"><a class="link" href="UDisksBlockLVM2.html" title="UDisksBlockLVM2"><span class="returnvalue">UDisksBlockLVM2</span></a> *
450 udisks_block_lvm2_proxy_new_for_bus_sync
451 (<em class="parameter"><code><span class="type">GBusType</span> bus_type</code></em>,
452 <em class="parameter"><code><span class="type">GDBusProxyFlags</span> flags</code></em>,
453 <em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>,
454 <em class="parameter"><code>const <span class="type">gchar</span> *object_path</code></em>,
455 <em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>,
456 <em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
457 <p>Like <a class="link" href="UDisksBlockLVM2.html#udisks-block-lvm2-proxy-new-sync" title="udisks_block_lvm2_proxy_new_sync ()"><code class="function">udisks_block_lvm2_proxy_new_sync()</code></a> but takes a <span class="type">GBusType</span> instead of a <span class="type">GDBusConnection</span>.</p>
458 <p>The calling thread is blocked until a reply is received.</p>
459 <p>See <a class="link" href="UDisksBlockLVM2.html#udisks-block-lvm2-proxy-new-for-bus" title="udisks_block_lvm2_proxy_new_for_bus ()"><code class="function">udisks_block_lvm2_proxy_new_for_bus()</code></a> for the asynchronous version of this constructor.</p>
460 <div class="refsect3">
461 <a name="udisks-block-lvm2-proxy-new-for-bus-sync.parameters"></a><h4>Parameters</h4>
462 <div class="informaltable"><table class="informaltable" width="100%" border="0">
463 <colgroup>
464 <col width="150px" class="parameters_name">
465 <col class="parameters_description">
466 <col width="200px" class="parameters_annotations">
467 </colgroup>
468 <tbody>
469 <tr>
470 <td class="parameter_name"><p>bus_type</p></td>
471 <td class="parameter_description"><p>A <span class="type">GBusType</span>.</p></td>
472 <td class="parameter_annotations"> </td>
473 </tr>
474 <tr>
475 <td class="parameter_name"><p>flags</p></td>
476 <td class="parameter_description"><p>Flags from the <span class="type">GDBusProxyFlags</span> enumeration.</p></td>
477 <td class="parameter_annotations"> </td>
478 </tr>
479 <tr>
480 <td class="parameter_name"><p>name</p></td>
481 <td class="parameter_description"><p>A bus name (well-known or unique).</p></td>
482 <td class="parameter_annotations"> </td>
483 </tr>
484 <tr>
485 <td class="parameter_name"><p>object_path</p></td>
486 <td class="parameter_description"><p>An object path.</p></td>
487 <td class="parameter_annotations"> </td>
488 </tr>
489 <tr>
490 <td class="parameter_name"><p>cancellable</p></td>
491 <td class="parameter_description"><p>A <span class="type">GCancellable</span> or <code class="literal">NULL</code>. </p></td>
492 <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>
493 </tr>
494 <tr>
495 <td class="parameter_name"><p>error</p></td>
496 <td class="parameter_description"><p>Return location for error or <code class="literal">NULL</code></p></td>
497 <td class="parameter_annotations"> </td>
498 </tr>
499 </tbody>
500 </table></div>
501 </div>
502 <div class="refsect3">
503 <a name="udisks-block-lvm2-proxy-new-for-bus-sync.returns"></a><h4>Returns</h4>
504 <p>The constructed proxy object or <code class="literal">NULL</code> if <em class="parameter"><code>error</code></em>
505 is set. </p>
506 <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> UDisksBlockLVM2Proxy]</span></p>
507 </div>
508 <p class="since">Since: 2.0.0</p>
509 </div>
510 <hr>
511 <div class="refsect2">
512 <a name="udisks-block-lvm2-get-logical-volume"></a><h3>udisks_block_lvm2_get_logical_volume ()</h3>
513 <pre class="programlisting">const <span class="returnvalue">gchar</span> *
514 udisks_block_lvm2_get_logical_volume (<em class="parameter"><code><a class="link" href="UDisksBlockLVM2.html" title="UDisksBlockLVM2"><span class="type">UDisksBlockLVM2</span></a> *object</code></em>);</pre>
515 <p>Gets the value of the <a class="link" href="gdbus-org.freedesktop.UDisks2.Block.LVM2.html#gdbus-property-org-freedesktop-UDisks2-Block-LVM2.LogicalVolume" title='The "LogicalVolume" property'>"LogicalVolume"</a> D-Bus property.</p>
516 <p>Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.</p>
517 <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>
518 was constructed. Use <a class="link" href="UDisksBlockLVM2.html#udisks-block-lvm2-dup-logical-volume" title="udisks_block_lvm2_dup_logical_volume ()"><code class="function">udisks_block_lvm2_dup_logical_volume()</code></a> if on another thread.</p>
519 <p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
520 <div class="refsect3">
521 <a name="udisks-block-lvm2-get-logical-volume.parameters"></a><h4>Parameters</h4>
522 <div class="informaltable"><table class="informaltable" width="100%" border="0">
523 <colgroup>
524 <col width="150px" class="parameters_name">
525 <col class="parameters_description">
526 <col width="200px" class="parameters_annotations">
527 </colgroup>
528 <tbody><tr>
529 <td class="parameter_name"><p>object</p></td>
530 <td class="parameter_description"><p>A <a class="link" href="UDisksBlockLVM2.html" title="UDisksBlockLVM2"><span class="type">UDisksBlockLVM2</span></a>.</p></td>
531 <td class="parameter_annotations"> </td>
532 </tr></tbody>
533 </table></div>
534 </div>
535 <div class="refsect3">
536 <a name="udisks-block-lvm2-get-logical-volume.returns"></a><h4>Returns</h4>
537 <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>
538 . </p>
539 <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>
540 </div>
541 <p class="since">Since: 2.0.0</p>
542 </div>
543 <hr>
544 <div class="refsect2">
545 <a name="udisks-block-lvm2-dup-logical-volume"></a><h3>udisks_block_lvm2_dup_logical_volume ()</h3>
546 <pre class="programlisting"><span class="returnvalue">gchar</span> *
547 udisks_block_lvm2_dup_logical_volume (<em class="parameter"><code><a class="link" href="UDisksBlockLVM2.html" title="UDisksBlockLVM2"><span class="type">UDisksBlockLVM2</span></a> *object</code></em>);</pre>
548 <p>Gets a copy of the <a class="link" href="gdbus-org.freedesktop.UDisks2.Block.LVM2.html#gdbus-property-org-freedesktop-UDisks2-Block-LVM2.LogicalVolume" title='The "LogicalVolume" property'>"LogicalVolume"</a> D-Bus property.</p>
549 <p>Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.</p>
550 <p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
551 <div class="refsect3">
552 <a name="udisks-block-lvm2-dup-logical-volume.parameters"></a><h4>Parameters</h4>
553 <div class="informaltable"><table class="informaltable" width="100%" border="0">
554 <colgroup>
555 <col width="150px" class="parameters_name">
556 <col class="parameters_description">
557 <col width="200px" class="parameters_annotations">
558 </colgroup>
559 <tbody><tr>
560 <td class="parameter_name"><p>object</p></td>
561 <td class="parameter_description"><p>A <a class="link" href="UDisksBlockLVM2.html" title="UDisksBlockLVM2"><span class="type">UDisksBlockLVM2</span></a>.</p></td>
562 <td class="parameter_annotations"> </td>
563 </tr></tbody>
564 </table></div>
565 </div>
566 <div class="refsect3">
567 <a name="udisks-block-lvm2-dup-logical-volume.returns"></a><h4>Returns</h4>
568 <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>
569 <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>
570 </div>
571 <p class="since">Since: 2.0.0</p>
572 </div>
573 <hr>
574 <div class="refsect2">
575 <a name="udisks-block-lvm2-set-logical-volume"></a><h3>udisks_block_lvm2_set_logical_volume ()</h3>
576 <pre class="programlisting"><span class="returnvalue">void</span>
577 udisks_block_lvm2_set_logical_volume (<em class="parameter"><code><a class="link" href="UDisksBlockLVM2.html" title="UDisksBlockLVM2"><span class="type">UDisksBlockLVM2</span></a> *object</code></em>,
578 <em class="parameter"><code>const <span class="type">gchar</span> *value</code></em>);</pre>
579 <p>Sets the <a class="link" href="gdbus-org.freedesktop.UDisks2.Block.LVM2.html#gdbus-property-org-freedesktop-UDisks2-Block-LVM2.LogicalVolume" title='The "LogicalVolume" property'>"LogicalVolume"</a> D-Bus property to <em class="parameter"><code>value</code></em>
580 .</p>
581 <p>Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.</p>
582 <p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
583 <div class="refsect3">
584 <a name="udisks-block-lvm2-set-logical-volume.parameters"></a><h4>Parameters</h4>
585 <div class="informaltable"><table class="informaltable" width="100%" border="0">
586 <colgroup>
587 <col width="150px" class="parameters_name">
588 <col class="parameters_description">
589 <col width="200px" class="parameters_annotations">
590 </colgroup>
591 <tbody>
592 <tr>
593 <td class="parameter_name"><p>object</p></td>
594 <td class="parameter_description"><p>A <a class="link" href="UDisksBlockLVM2.html" title="UDisksBlockLVM2"><span class="type">UDisksBlockLVM2</span></a>.</p></td>
595 <td class="parameter_annotations"> </td>
596 </tr>
597 <tr>
598 <td class="parameter_name"><p>value</p></td>
599 <td class="parameter_description"><p>The value to set.</p></td>
600 <td class="parameter_annotations"> </td>
601 </tr>
602 </tbody>
603 </table></div>
604 </div>
605 <p class="since">Since: 2.0.0</p>
606 </div>
607 <hr>
608 <div class="refsect2">
609 <a name="udisks-block-lvm2-skeleton-new"></a><h3>udisks_block_lvm2_skeleton_new ()</h3>
610 <pre class="programlisting"><a class="link" href="UDisksBlockLVM2.html" title="UDisksBlockLVM2"><span class="returnvalue">UDisksBlockLVM2</span></a> *
611 udisks_block_lvm2_skeleton_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
612 <p>Creates a skeleton object for the D-Bus interface <a class="link" href="gdbus-org.freedesktop.UDisks2.Block.LVM2.html#gdbus-interface-org-freedesktop-UDisks2-Block-LVM2.top_of_page">org.freedesktop.UDisks2.Block.LVM2</a>.</p>
613 <div class="refsect3">
614 <a name="udisks-block-lvm2-skeleton-new.returns"></a><h4>Returns</h4>
615 <p>The skeleton object. </p>
616 <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> UDisksBlockLVM2Skeleton]</span></p>
617 </div>
618 <p class="since">Since: 2.0.0</p>
619 </div>
620 </div>
621 <div class="refsect1">
622 <a name="UDisksBlockLVM2.other_details"></a><h2>Types and Values</h2>
623 <div class="refsect2">
624 <a name="UDisksBlockLVM2-struct"></a><h3>UDisksBlockLVM2</h3>
625 <pre class="programlisting">typedef struct _UDisksBlockLVM2 UDisksBlockLVM2;</pre>
626 <p>Abstract interface type for the D-Bus interface <a class="link" href="gdbus-org.freedesktop.UDisks2.Block.LVM2.html#gdbus-interface-org-freedesktop-UDisks2-Block-LVM2.top_of_page">org.freedesktop.UDisks2.Block.LVM2</a>.</p>
627 <p class="since">Since: 2.0.0</p>
628 </div>
629 <hr>
630 <div class="refsect2">
631 <a name="UDisksBlockLVM2Proxy"></a><h3>struct UDisksBlockLVM2Proxy</h3>
632 <pre class="programlisting">struct UDisksBlockLVM2Proxy {
633 };
634 </pre>
635 <p>The <a class="link" href="UDisksBlockLVM2.html#UDisksBlockLVM2Proxy" title="struct UDisksBlockLVM2Proxy"><span class="type">UDisksBlockLVM2Proxy</span></a> structure contains only private data and should only be accessed using the provided API.</p>
636 <p class="since">Since: 2.0.0</p>
637 </div>
638 <hr>
639 <div class="refsect2">
640 <a name="UDisksBlockLVM2ProxyClass"></a><h3>struct UDisksBlockLVM2ProxyClass</h3>
641 <pre class="programlisting">struct UDisksBlockLVM2ProxyClass {
642 GDBusProxyClass parent_class;
643 };
644 </pre>
645 <p>Class structure for <a class="link" href="UDisksBlockLVM2.html#UDisksBlockLVM2Proxy" title="struct UDisksBlockLVM2Proxy"><span class="type">UDisksBlockLVM2Proxy</span></a>.</p>
646 <div class="refsect3">
647 <a name="UDisksBlockLVM2ProxyClass.members"></a><h4>Members</h4>
648 <div class="informaltable"><table class="informaltable" width="100%" border="0">
649 <colgroup>
650 <col width="300px" class="struct_members_name">
651 <col class="struct_members_description">
652 <col width="200px" class="struct_members_annotations">
653 </colgroup>
654 <tbody></tbody>
655 </table></div>
656 </div>
657 <p class="since">Since: 2.0.0</p>
658 </div>
659 <hr>
660 <div class="refsect2">
661 <a name="UDisksBlockLVM2Skeleton"></a><h3>struct UDisksBlockLVM2Skeleton</h3>
662 <pre class="programlisting">struct UDisksBlockLVM2Skeleton {
663 };
664 </pre>
665 <p>The <a class="link" href="UDisksBlockLVM2.html#UDisksBlockLVM2Skeleton" title="struct UDisksBlockLVM2Skeleton"><span class="type">UDisksBlockLVM2Skeleton</span></a> structure contains only private data and should only be accessed using the provided API.</p>
666 <p class="since">Since: 2.0.0</p>
667 </div>
668 <hr>
669 <div class="refsect2">
670 <a name="UDisksBlockLVM2SkeletonClass"></a><h3>struct UDisksBlockLVM2SkeletonClass</h3>
671 <pre class="programlisting">struct UDisksBlockLVM2SkeletonClass {
672 GDBusInterfaceSkeletonClass parent_class;
673 };
674 </pre>
675 <p>Class structure for <a class="link" href="UDisksBlockLVM2.html#UDisksBlockLVM2Skeleton" title="struct UDisksBlockLVM2Skeleton"><span class="type">UDisksBlockLVM2Skeleton</span></a>.</p>
676 <div class="refsect3">
677 <a name="UDisksBlockLVM2SkeletonClass.members"></a><h4>Members</h4>
678 <div class="informaltable"><table class="informaltable" width="100%" border="0">
679 <colgroup>
680 <col width="300px" class="struct_members_name">
681 <col class="struct_members_description">
682 <col width="200px" class="struct_members_annotations">
683 </colgroup>
684 <tbody></tbody>
685 </table></div>
686 </div>
687 <p class="since">Since: 2.0.0</p>
688 </div>
689 </div>
690 </div>
691 <div class="footer">
692 <hr>Generated by GTK-Doc V1.35.1</div>
693 </body>
694 </html>