Debian Codegraph @

doc/html/UDisksLinuxBlock.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>UDisksLinuxBlock: 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-daemon-block-devices.html" title="Block devices on Linux">
9 <link rel="prev" href="ref-daemon-block-devices.html" title="Block devices on Linux">
10 <link rel="next" href="UDisksLinuxPartition.html" title="UDisksLinuxPartition">
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="#UDisksLinuxBlock.description" class="shortcut">Description</a></span><span id="nav_hierarchy">  <span class="dim">|</span> 
19 <a href="#UDisksLinuxBlock.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_interfaces">  <span class="dim">|</span> 
20 <a href="#UDisksLinuxBlock.implemented-interfaces" class="shortcut">Implemented Interfaces</a></span>
21 </td>
22 <td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
23 <td><a accesskey="u" href="ref-daemon-block-devices.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
24 <td><a accesskey="p" href="ref-daemon-block-devices.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
25 <td><a accesskey="n" href="UDisksLinuxPartition.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="UDisksLinuxBlock"></a><div class="titlepage"></div>
29 <div class="refnamediv"><table width="100%"><tr>
30 <td valign="top">
31 <h2><span class="refentrytitle"><a name="UDisksLinuxBlock.top_of_page"></a>UDisksLinuxBlock</span></h2>
32 <p>UDisksLinuxBlock — Linux implementation of <a class="link" href="UDisksBlock.html" title="UDisksBlock"><span class="type">UDisksBlock</span></a></p>
33 </td>
34 <td class="gallery_image" valign="top" align="right"></td>
35 </tr></table></div>
36 <div class="refsect1">
37 <a name="UDisksLinuxBlock.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 <a class="link" href="UDisksBlock.html" title="UDisksBlock"><span class="returnvalue">UDisksBlock</span></a> *
47 </td>
48 <td class="function_name">
49 <a class="link" href="UDisksLinuxBlock.html#udisks-linux-block-new" title="udisks_linux_block_new ()">udisks_linux_block_new</a> <span class="c_punctuation">()</span>
50 </td>
51 </tr>
52 <tr>
53 <td class="function_type">
54 <span class="returnvalue">void</span>
55 </td>
56 <td class="function_name">
57 <a class="link" href="UDisksLinuxBlock.html#udisks-linux-block-update" title="udisks_linux_block_update ()">udisks_linux_block_update</a> <span class="c_punctuation">()</span>
58 </td>
59 </tr>
60 <tr>
61 <td class="function_type">
62 <span class="returnvalue">gboolean</span>
63 </td>
64 <td class="function_name">
65 <a class="link" href="UDisksLinuxBlock.html#udisks-linux-block-matches-id" title="udisks_linux_block_matches_id ()">udisks_linux_block_matches_id</a> <span class="c_punctuation">()</span>
66 </td>
67 </tr>
68 </tbody>
69 </table></div>
70 </div>
71 <div class="refsect1">
72 <a name="UDisksLinuxBlock.other"></a><h2>Types and Values</h2>
73 <div class="informaltable"><table class="informaltable" width="100%" border="0">
74 <colgroup>
75 <col width="150px" class="other_proto_type">
76 <col class="other_proto_name">
77 </colgroup>
78 <tbody><tr>
79 <td class="datatype_keyword"> </td>
80 <td class="function_name"><a class="link" href="UDisksLinuxBlock.html#UDisksLinuxBlock-struct" title="UDisksLinuxBlock">UDisksLinuxBlock</a></td>
81 </tr></tbody>
82 </table></div>
83 </div>
84 <div class="refsect1">
85 <a name="UDisksLinuxBlock.object-hierarchy"></a><h2>Object Hierarchy</h2>
86 <pre class="screen"> GObject
87 <span class="lineart">╰──</span> GDBusInterfaceSkeleton
88 <span class="lineart">╰──</span> <a class="link" href="UDisksBlock.html#UDisksBlockSkeleton">UDisksBlockSkeleton</a>
89 <span class="lineart">╰──</span> UDisksLinuxBlock
90 </pre>
91 </div>
92 <div class="refsect1">
93 <a name="UDisksLinuxBlock.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
94 <p>
95 UDisksLinuxBlock implements
96 GDBusInterface and <a class="link" href="UDisksBlock.html" title="UDisksBlock">UDisksBlock</a>.</p>
97 </div>
98 <div class="refsect1">
99 <a name="UDisksLinuxBlock.description"></a><h2>Description</h2>
100 <p>This type provides an implementation of the <a class="link" href="UDisksBlock.html" title="UDisksBlock"><span class="type">UDisksBlock</span></a>
101 interface on Linux.</p>
102 </div>
103 <div class="refsect1">
104 <a name="UDisksLinuxBlock.functions_details"></a><h2>Functions</h2>
105 <div class="refsect2">
106 <a name="udisks-linux-block-new"></a><h3>udisks_linux_block_new ()</h3>
107 <pre class="programlisting"><a class="link" href="UDisksBlock.html" title="UDisksBlock"><span class="returnvalue">UDisksBlock</span></a> *
108 udisks_linux_block_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
109 <p>Creates a new <a class="link" href="UDisksLinuxBlock.html" title="UDisksLinuxBlock"><span class="type">UDisksLinuxBlock</span></a> instance.</p>
110 <div class="refsect3">
111 <a name="udisks-linux-block-new.returns"></a><h4>Returns</h4>
112 <p> A new <a class="link" href="UDisksLinuxBlock.html" title="UDisksLinuxBlock"><span class="type">UDisksLinuxBlock</span></a>. Free with <code class="function">g_object_unref()</code>.</p>
113 </div>
114 </div>
115 <hr>
116 <div class="refsect2">
117 <a name="udisks-linux-block-update"></a><h3>udisks_linux_block_update ()</h3>
118 <pre class="programlisting"><span class="returnvalue">void</span>
119 udisks_linux_block_update (<em class="parameter"><code><a class="link" href="UDisksLinuxBlock.html" title="UDisksLinuxBlock"><span class="type">UDisksLinuxBlock</span></a> *block</code></em>,
120 <em class="parameter"><code><a class="link" href="UDisksLinuxBlockObject.html" title="UDisksLinuxBlockObject"><span class="type">UDisksLinuxBlockObject</span></a> *object</code></em>);</pre>
121 <p>Updates the interface.</p>
122 <div class="refsect3">
123 <a name="udisks-linux-block-update.parameters"></a><h4>Parameters</h4>
124 <div class="informaltable"><table class="informaltable" width="100%" border="0">
125 <colgroup>
126 <col width="150px" class="parameters_name">
127 <col class="parameters_description">
128 <col width="200px" class="parameters_annotations">
129 </colgroup>
130 <tbody>
131 <tr>
132 <td class="parameter_name"><p>block</p></td>
133 <td class="parameter_description"><p>A <a class="link" href="UDisksLinuxBlock.html" title="UDisksLinuxBlock"><span class="type">UDisksLinuxBlock</span></a>.</p></td>
134 <td class="parameter_annotations"> </td>
135 </tr>
136 <tr>
137 <td class="parameter_name"><p>object</p></td>
138 <td class="parameter_description"><p>The enclosing <a class="link" href="UDisksLinuxBlockObject.html" title="UDisksLinuxBlockObject"><span class="type">UDisksLinuxBlockObject</span></a> instance.</p></td>
139 <td class="parameter_annotations"> </td>
140 </tr>
141 </tbody>
142 </table></div>
143 </div>
144 </div>
145 <hr>
146 <div class="refsect2">
147 <a name="udisks-linux-block-matches-id"></a><h3>udisks_linux_block_matches_id ()</h3>
148 <pre class="programlisting"><span class="returnvalue">gboolean</span>
149 udisks_linux_block_matches_id (<em class="parameter"><code><a class="link" href="UDisksLinuxBlock.html" title="UDisksLinuxBlock"><span class="type">UDisksLinuxBlock</span></a> *block</code></em>,
150 <em class="parameter"><code>const <span class="type">gchar</span> *device_path</code></em>);</pre>
151 <p>Compares block device identifiers and returns <code class="literal">TRUE</code> if match is found. The <em class="parameter"><code>device_path</code></em>
152
153 argument may be a device file or a common KEY=VALUE identifier as used e.g. in /etc/fstab
154 or /etc/crypttab.</p>
155 <p>The <em class="parameter"><code>device_path</code></em>
156 should be a demangled (unquoted/unencoded/unescaped) string.</p>
157 <div class="refsect3">
158 <a name="udisks-linux-block-matches-id.parameters"></a><h4>Parameters</h4>
159 <div class="informaltable"><table class="informaltable" width="100%" border="0">
160 <colgroup>
161 <col width="150px" class="parameters_name">
162 <col class="parameters_description">
163 <col width="200px" class="parameters_annotations">
164 </colgroup>
165 <tbody>
166 <tr>
167 <td class="parameter_name"><p>block</p></td>
168 <td class="parameter_description"><p>A <a class="link" href="UDisksLinuxBlock.html" title="UDisksLinuxBlock"><span class="type">UDisksLinuxBlock</span></a>.</p></td>
169 <td class="parameter_annotations"> </td>
170 </tr>
171 <tr>
172 <td class="parameter_name"><p>device_path</p></td>
173 <td class="parameter_description"><p>A device path string.</p></td>
174 <td class="parameter_annotations"> </td>
175 </tr>
176 </tbody>
177 </table></div>
178 </div>
179 <div class="refsect3">
180 <a name="udisks-linux-block-matches-id.returns"></a><h4>Returns</h4>
181 <p> <code class="literal">TRUE</code> when identifiers do match, <code class="literal">FALSE</code> otherwise.</p>
182 </div>
183 </div>
184 </div>
185 <div class="refsect1">
186 <a name="UDisksLinuxBlock.other_details"></a><h2>Types and Values</h2>
187 <div class="refsect2">
188 <a name="UDisksLinuxBlock-struct"></a><h3>UDisksLinuxBlock</h3>
189 <pre class="programlisting">typedef struct _UDisksLinuxBlock UDisksLinuxBlock;</pre>
190 <p>The <a class="link" href="UDisksLinuxBlock.html" title="UDisksLinuxBlock"><span class="type">UDisksLinuxBlock</span></a> structure contains only private data and should
191 only be accessed using the provided API.</p>
192 </div>
193 </div>
194 </div>
195 <div class="footer">
196 <hr>Generated by GTK-Doc V1.35.1</div>
197 </body>
198 </html>