~behda/+junk/udisks2.original

« back to all changes in this revision

Viewing changes to doc/html/UDisksMountMonitor.html

  • Committer: behda
  • Date: 2014-05-24 15:15:11 UTC
  • Revision ID: pauvitk@gmail.com-20140524151511-3vtr0uubjewx3z2j
Initial commit of source code and Debian packaging.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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>UDisks Reference Manual: UDisksMountMonitor</title>
 
6
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
 
7
<link rel="home" href="index.html" title="UDisks Reference Manual">
 
8
<link rel="up" href="ref-daemon-monitoring.html" title="State and Configuration">
 
9
<link rel="prev" href="ref-daemon-monitoring.html" title="State and Configuration">
 
10
<link rel="next" href="UDisksFstabMonitor.html" title="UDisksFstabMonitor">
 
11
<meta name="generator" content="GTK-Doc V1.20 (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="10"><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="#UDisksMountMonitor.description" class="shortcut">Description</a></span><span id="nav_hierarchy"> <span class="dim">|</span> 
 
19
                  <a href="#UDisksMountMonitor.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_signals"> <span class="dim">|</span> 
 
20
                  <a href="#UDisksMountMonitor.signals" class="shortcut">Signals</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-monitoring.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
 
24
<td><a accesskey="p" href="ref-daemon-monitoring.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
 
25
<td><a accesskey="n" href="UDisksFstabMonitor.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="UDisksMountMonitor"></a><div class="titlepage"></div>
 
29
<div class="refnamediv"><table width="100%"><tr>
 
30
<td valign="top">
 
31
<h2><span class="refentrytitle"><a name="UDisksMountMonitor.top_of_page"></a>UDisksMountMonitor</span></h2>
 
32
<p>UDisksMountMonitor — Monitors mounted filesystems or in-use swap devices</p>
 
33
</td>
 
34
<td class="gallery_image" valign="top" align="right"></td>
 
35
</tr></table></div>
 
36
<div class="refsect1">
 
37
<a name="UDisksMountMonitor.functions"></a><h2>Functions</h2>
 
38
<div class="informaltable"><table width="100%" border="0">
 
39
<colgroup>
 
40
<col width="150px" class="functions_return">
 
41
<col class="functions_name">
 
42
</colgroup>
 
43
<tbody>
 
44
<tr>
 
45
<td class="function_type">
 
46
<span class="returnvalue">dev_t</span>
 
47
</td>
 
48
<td class="function_name">
 
49
<a class="link" href="UDisksMountMonitor.html#udisks-mount-get-dev" title="udisks_mount_get_dev ()">udisks_mount_get_dev</a> <span class="c_punctuation">()</span>
 
50
</td>
 
51
</tr>
 
52
<tr>
 
53
<td class="function_type">
 
54
<a class="link" href="UDisksMountMonitor.html#UDisksMountType" title="enum UDisksMountType"><span class="returnvalue">UDisksMountType</span></a>
 
55
</td>
 
56
<td class="function_name">
 
57
<a class="link" href="UDisksMountMonitor.html#udisks-mount-get-mount-type" title="udisks_mount_get_mount_type ()">udisks_mount_get_mount_type</a> <span class="c_punctuation">()</span>
 
58
</td>
 
59
</tr>
 
60
<tr>
 
61
<td class="function_type">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
 
62
</td>
 
63
<td class="function_name">
 
64
<a class="link" href="UDisksMountMonitor.html#udisks-mount-get-mount-path" title="udisks_mount_get_mount_path ()">udisks_mount_get_mount_path</a> <span class="c_punctuation">()</span>
 
65
</td>
 
66
</tr>
 
67
<tr>
 
68
<td class="function_type">
 
69
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
 
70
</td>
 
71
<td class="function_name">
 
72
<a class="link" href="UDisksMountMonitor.html#udisks-mount-compare" title="udisks_mount_compare ()">udisks_mount_compare</a> <span class="c_punctuation">()</span>
 
73
</td>
 
74
</tr>
 
75
<tr>
 
76
<td class="function_type">
 
77
<a class="link" href="UDisksMountMonitor.html" title="UDisksMountMonitor"><span class="returnvalue">UDisksMountMonitor</span></a> *
 
78
</td>
 
79
<td class="function_name">
 
80
<a class="link" href="UDisksMountMonitor.html#udisks-mount-monitor-new" title="udisks_mount_monitor_new ()">udisks_mount_monitor_new</a> <span class="c_punctuation">()</span>
 
81
</td>
 
82
</tr>
 
83
<tr>
 
84
<td class="function_type">
 
85
<a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *
 
86
</td>
 
87
<td class="function_name">
 
88
<a class="link" href="UDisksMountMonitor.html#udisks-mount-monitor-get-mounts-for-dev" title="udisks_mount_monitor_get_mounts_for_dev ()">udisks_mount_monitor_get_mounts_for_dev</a> <span class="c_punctuation">()</span>
 
89
</td>
 
90
</tr>
 
91
<tr>
 
92
<td class="function_type">
 
93
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
 
94
</td>
 
95
<td class="function_name">
 
96
<a class="link" href="UDisksMountMonitor.html#udisks-mount-monitor-is-dev-in-use" title="udisks_mount_monitor_is_dev_in_use ()">udisks_mount_monitor_is_dev_in_use</a> <span class="c_punctuation">()</span>
 
97
</td>
 
98
</tr>
 
99
</tbody>
 
100
</table></div>
 
101
</div>
 
102
<div class="refsect1">
 
103
<a name="UDisksMountMonitor.signals"></a><h2>Signals</h2>
 
104
<div class="informaltable"><table border="0">
 
105
<colgroup>
 
106
<col width="150px" class="signals_return">
 
107
<col width="300px" class="signals_name">
 
108
<col width="200px" class="signals_flags">
 
109
</colgroup>
 
110
<tbody>
 
111
<tr>
 
112
<td class="signal_type"><span class="returnvalue">void</span></td>
 
113
<td class="signal_name"><a class="link" href="UDisksMountMonitor.html#UDisksMountMonitor-mount-added" title="The “mount-added” signal">mount-added</a></td>
 
114
<td class="signal_flags">Has Details</td>
 
115
</tr>
 
116
<tr>
 
117
<td class="signal_type"><span class="returnvalue">void</span></td>
 
118
<td class="signal_name"><a class="link" href="UDisksMountMonitor.html#UDisksMountMonitor-mount-removed" title="The “mount-removed” signal">mount-removed</a></td>
 
119
<td class="signal_flags">Has Details</td>
 
120
</tr>
 
121
</tbody>
 
122
</table></div>
 
123
</div>
 
124
<a name="UDisksMount"></a><div class="refsect1">
 
125
<a name="UDisksMountMonitor.other"></a><h2>Types and Values</h2>
 
126
<div class="informaltable"><table width="100%" border="0">
 
127
<colgroup>
 
128
<col width="150px" class="name">
 
129
<col class="description">
 
130
</colgroup>
 
131
<tbody>
 
132
<tr>
 
133
<td class="datatype_keyword"> </td>
 
134
<td class="function_name"><a class="link" href="UDisksMountMonitor.html#UDisksMount-struct" title="UDisksMount">UDisksMount</a></td>
 
135
</tr>
 
136
<tr>
 
137
<td class="datatype_keyword">enum</td>
 
138
<td class="function_name"><a class="link" href="UDisksMountMonitor.html#UDisksMountType" title="enum UDisksMountType">UDisksMountType</a></td>
 
139
</tr>
 
140
<tr>
 
141
<td class="datatype_keyword"> </td>
 
142
<td class="function_name"><a class="link" href="UDisksMountMonitor.html#UDisksMountMonitor-struct" title="UDisksMountMonitor">UDisksMountMonitor</a></td>
 
143
</tr>
 
144
</tbody>
 
145
</table></div>
 
146
</div>
 
147
<div class="refsect1">
 
148
<a name="UDisksMountMonitor.object-hierarchy"></a><h2>Object Hierarchy</h2>
 
149
<pre class="screen">    <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
 
150
    <span class="lineart">├──</span> UDisksMount
 
151
    <span class="lineart">╰──</span> UDisksMountMonitor
 
152
</pre>
 
153
</div>
 
154
<div class="refsect1">
 
155
<a name="UDisksMountMonitor.description"></a><h2>Description</h2>
 
156
<p>This type is used for monitoring mounted devices and swap devices
 
157
in use. On Linux, this is done by inspecting and monitoring the
 
158
<code class="literal">/proc/self/mountinfo</code> and
 
159
<code class="literal">/proc/swaps</code> files.</p>
 
160
</div>
 
161
<div class="refsect1">
 
162
<a name="UDisksMountMonitor.functions_details"></a><h2>Functions</h2>
 
163
<div class="refsect2">
 
164
<a name="udisks-mount-get-dev"></a><h3>udisks_mount_get_dev ()</h3>
 
165
<pre class="programlisting"><span class="returnvalue">dev_t</span>
 
166
udisks_mount_get_dev (<em class="parameter"><code><a class="link" href="UDisksMountMonitor.html#UDisksMount"><span class="type">UDisksMount</span></a> *mount</code></em>);</pre>
 
167
<p>Gets the device number for <em class="parameter"><code>mount</code></em>
 
168
.</p>
 
169
<div class="refsect3">
 
170
<a name="id-1.5.3.2.9.2.5"></a><h4>Parameters</h4>
 
171
<div class="informaltable"><table width="100%" border="0">
 
172
<colgroup>
 
173
<col width="150px" class="parameters_name">
 
174
<col class="parameters_description">
 
175
<col width="200px" class="parameters_annotations">
 
176
</colgroup>
 
177
<tbody><tr>
 
178
<td class="parameter_name"><p>mount</p></td>
 
179
<td class="parameter_description"><p>A <a class="link" href="UDisksMountMonitor.html#UDisksMount"><span class="type">UDisksMount</span></a>.</p></td>
 
180
<td class="parameter_annotations"> </td>
 
181
</tr></tbody>
 
182
</table></div>
 
183
</div>
 
184
<div class="refsect3">
 
185
<a name="id-1.5.3.2.9.2.6"></a><h4>Returns</h4>
 
186
<p> A <span class="type">dev_t</span>.</p>
 
187
<p></p>
 
188
</div>
 
189
</div>
 
190
<hr>
 
191
<div class="refsect2">
 
192
<a name="udisks-mount-get-mount-type"></a><h3>udisks_mount_get_mount_type ()</h3>
 
193
<pre class="programlisting"><a class="link" href="UDisksMountMonitor.html#UDisksMountType" title="enum UDisksMountType"><span class="returnvalue">UDisksMountType</span></a>
 
194
udisks_mount_get_mount_type (<em class="parameter"><code><a class="link" href="UDisksMountMonitor.html#UDisksMount"><span class="type">UDisksMount</span></a> *mount</code></em>);</pre>
 
195
<p>Gets the <a class="link" href="UDisksMountMonitor.html#UDisksMountType" title="enum UDisksMountType"><span class="type">UDisksMountType</span></a> for <em class="parameter"><code>mount</code></em>
 
196
.</p>
 
197
<div class="refsect3">
 
198
<a name="id-1.5.3.2.9.3.5"></a><h4>Parameters</h4>
 
199
<div class="informaltable"><table width="100%" border="0">
 
200
<colgroup>
 
201
<col width="150px" class="parameters_name">
 
202
<col class="parameters_description">
 
203
<col width="200px" class="parameters_annotations">
 
204
</colgroup>
 
205
<tbody><tr>
 
206
<td class="parameter_name"><p>mount</p></td>
 
207
<td class="parameter_description"><p>A <a class="link" href="UDisksMountMonitor.html#UDisksMount"><span class="type">UDisksMount</span></a>.</p></td>
 
208
<td class="parameter_annotations"> </td>
 
209
</tr></tbody>
 
210
</table></div>
 
211
</div>
 
212
<div class="refsect3">
 
213
<a name="id-1.5.3.2.9.3.6"></a><h4>Returns</h4>
 
214
<p> A value from the <a class="link" href="UDisksMountMonitor.html#UDisksMountType" title="enum UDisksMountType"><span class="type">UDisksMountType</span></a> enumeration.</p>
 
215
<p></p>
 
216
</div>
 
217
</div>
 
218
<hr>
 
219
<div class="refsect2">
 
220
<a name="udisks-mount-get-mount-path"></a><h3>udisks_mount_get_mount_path ()</h3>
 
221
<pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
 
222
udisks_mount_get_mount_path (<em class="parameter"><code><a class="link" href="UDisksMountMonitor.html#UDisksMount"><span class="type">UDisksMount</span></a> *mount</code></em>);</pre>
 
223
<p>Gets the mount path for a <a class="link" href="UDisksMountMonitor.html#UDISKS-MOUNT-TYPE-FILESYSTEM:CAPS"><span class="type">UDISKS_MOUNT_TYPE_FILESYSTEM</span></a>-type mount.</p>
 
224
<p>It is a programming error to call this on any other type of <a class="link" href="UDisksMountMonitor.html#UDisksMount"><span class="type">UDisksMount</span></a>.</p>
 
225
<div class="refsect3">
 
226
<a name="id-1.5.3.2.9.4.6"></a><h4>Parameters</h4>
 
227
<div class="informaltable"><table width="100%" border="0">
 
228
<colgroup>
 
229
<col width="150px" class="parameters_name">
 
230
<col class="parameters_description">
 
231
<col width="200px" class="parameters_annotations">
 
232
</colgroup>
 
233
<tbody><tr>
 
234
<td class="parameter_name"><p>mount</p></td>
 
235
<td class="parameter_description"><p>A <a class="link" href="UDisksMountMonitor.html#UDisksMount"><span class="type">UDisksMount</span></a></p></td>
 
236
<td class="parameter_annotations"> </td>
 
237
</tr></tbody>
 
238
</table></div>
 
239
</div>
 
240
<div class="refsect3">
 
241
<a name="id-1.5.3.2.9.4.7"></a><h4>Returns</h4>
 
242
<p> A string owned by <em class="parameter"><code>mount</code></em>
 
243
. Do not free.</p>
 
244
<p></p>
 
245
</div>
 
246
</div>
 
247
<hr>
 
248
<div class="refsect2">
 
249
<a name="udisks-mount-compare"></a><h3>udisks_mount_compare ()</h3>
 
250
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
 
251
udisks_mount_compare (<em class="parameter"><code><a class="link" href="UDisksMountMonitor.html#UDisksMount"><span class="type">UDisksMount</span></a> *mount</code></em>,
 
252
                      <em class="parameter"><code><a class="link" href="UDisksMountMonitor.html#UDisksMount"><span class="type">UDisksMount</span></a> *other_mount</code></em>);</pre>
 
253
<p>Comparison function for comparing two <a class="link" href="UDisksMountMonitor.html#UDisksMount"><span class="type">UDisksMount</span></a> objects.</p>
 
254
<div class="refsect3">
 
255
<a name="id-1.5.3.2.9.5.5"></a><h4>Parameters</h4>
 
256
<div class="informaltable"><table width="100%" border="0">
 
257
<colgroup>
 
258
<col width="150px" class="parameters_name">
 
259
<col class="parameters_description">
 
260
<col width="200px" class="parameters_annotations">
 
261
</colgroup>
 
262
<tbody>
 
263
<tr>
 
264
<td class="parameter_name"><p>mount</p></td>
 
265
<td class="parameter_description"><p>A <a class="link" href="UDisksMountMonitor.html#UDisksMount"><span class="type">UDisksMount</span></a></p></td>
 
266
<td class="parameter_annotations"> </td>
 
267
</tr>
 
268
<tr>
 
269
<td class="parameter_name"><p>other_mount</p></td>
 
270
<td class="parameter_description"><p>Another <a class="link" href="UDisksMountMonitor.html#UDisksMount"><span class="type">UDisksMount</span></a>.</p></td>
 
271
<td class="parameter_annotations"> </td>
 
272
</tr>
 
273
</tbody>
 
274
</table></div>
 
275
</div>
 
276
<div class="refsect3">
 
277
<a name="id-1.5.3.2.9.5.6"></a><h4>Returns</h4>
 
278
<p> Negative value if <em class="parameter"><code>mount</code></em>
 
279
&lt; <em class="parameter"><code>other_mount</code></em>
 
280
; zero if <em class="parameter"><code>mount</code></em>
 
281
= <em class="parameter"><code>other_mount</code></em>
 
282
; positive value if <em class="parameter"><code>mount</code></em>
 
283
&gt; <em class="parameter"><code>other_mount</code></em>
 
284
.</p>
 
285
<p></p>
 
286
</div>
 
287
</div>
 
288
<hr>
 
289
<div class="refsect2">
 
290
<a name="udisks-mount-monitor-new"></a><h3>udisks_mount_monitor_new ()</h3>
 
291
<pre class="programlisting"><a class="link" href="UDisksMountMonitor.html" title="UDisksMountMonitor"><span class="returnvalue">UDisksMountMonitor</span></a> *
 
292
udisks_mount_monitor_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
 
293
<p>Creates a new <a class="link" href="UDisksMountMonitor.html" title="UDisksMountMonitor"><span class="type">UDisksMountMonitor</span></a> object.</p>
 
294
<p>Signals are emitted in the <GTKDOCLINK HREF="g-main-context-push-thread-default">thread-default main
 
295
loop</GTKDOCLINK> that this function is called from.</p>
 
296
<div class="refsect3">
 
297
<a name="id-1.5.3.2.9.6.6"></a><h4>Returns</h4>
 
298
<p> A <a class="link" href="UDisksMountMonitor.html" title="UDisksMountMonitor"><span class="type">UDisksMountMonitor</span></a>. Free with <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a>.</p>
 
299
<p></p>
 
300
</div>
 
301
</div>
 
302
<hr>
 
303
<div class="refsect2">
 
304
<a name="udisks-mount-monitor-get-mounts-for-dev"></a><h3>udisks_mount_monitor_get_mounts_for_dev ()</h3>
 
305
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *
 
306
udisks_mount_monitor_get_mounts_for_dev
 
307
                               (<em class="parameter"><code><a class="link" href="UDisksMountMonitor.html" title="UDisksMountMonitor"><span class="type">UDisksMountMonitor</span></a> *monitor</code></em>,
 
308
                                <em class="parameter"><code><span class="type">dev_t</span> dev</code></em>);</pre>
 
309
<p>Gets all <a class="link" href="UDisksMountMonitor.html#UDisksMount"><span class="type">UDisksMount</span></a> objects for <em class="parameter"><code>dev</code></em>
 
310
.</p>
 
311
<div class="refsect3">
 
312
<a name="id-1.5.3.2.9.7.5"></a><h4>Parameters</h4>
 
313
<div class="informaltable"><table width="100%" border="0">
 
314
<colgroup>
 
315
<col width="150px" class="parameters_name">
 
316
<col class="parameters_description">
 
317
<col width="200px" class="parameters_annotations">
 
318
</colgroup>
 
319
<tbody>
 
320
<tr>
 
321
<td class="parameter_name"><p>monitor</p></td>
 
322
<td class="parameter_description"><p>A <a class="link" href="UDisksMountMonitor.html" title="UDisksMountMonitor"><span class="type">UDisksMountMonitor</span></a>.</p></td>
 
323
<td class="parameter_annotations"> </td>
 
324
</tr>
 
325
<tr>
 
326
<td class="parameter_name"><p>dev</p></td>
 
327
<td class="parameter_description"><p>A <span class="type">dev_t</span> device number.</p></td>
 
328
<td class="parameter_annotations"> </td>
 
329
</tr>
 
330
</tbody>
 
331
</table></div>
 
332
</div>
 
333
<div class="refsect3">
 
334
<a name="id-1.5.3.2.9.7.6"></a><h4>Returns</h4>
 
335
<p> A <a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> of <a class="link" href="UDisksMountMonitor.html#UDisksMount"><span class="type">UDisksMount</span></a> objects. The returned list must
 
336
be freed with <a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#g-list-free"><code class="function">g_list_free()</code></a> after each element has been freed with
 
337
<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a>.</p>
 
338
<p></p>
 
339
</div>
 
340
</div>
 
341
<hr>
 
342
<div class="refsect2">
 
343
<a name="udisks-mount-monitor-is-dev-in-use"></a><h3>udisks_mount_monitor_is_dev_in_use ()</h3>
 
344
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
 
345
udisks_mount_monitor_is_dev_in_use (<em class="parameter"><code><a class="link" href="UDisksMountMonitor.html" title="UDisksMountMonitor"><span class="type">UDisksMountMonitor</span></a> *monitor</code></em>,
 
346
                                    <em class="parameter"><code><span class="type">dev_t</span> dev</code></em>,
 
347
                                    <em class="parameter"><code><a class="link" href="UDisksMountMonitor.html#UDisksMountType" title="enum UDisksMountType"><span class="type">UDisksMountType</span></a> *out_type</code></em>);</pre>
 
348
<p>Checks if <em class="parameter"><code>dev</code></em>
 
349
 is in use (e.g. mounted or swap-area in-use).</p>
 
350
<div class="refsect3">
 
351
<a name="id-1.5.3.2.9.8.5"></a><h4>Parameters</h4>
 
352
<div class="informaltable"><table width="100%" border="0">
 
353
<colgroup>
 
354
<col width="150px" class="parameters_name">
 
355
<col class="parameters_description">
 
356
<col width="200px" class="parameters_annotations">
 
357
</colgroup>
 
358
<tbody>
 
359
<tr>
 
360
<td class="parameter_name"><p>monitor</p></td>
 
361
<td class="parameter_description"><p>A <a class="link" href="UDisksMountMonitor.html" title="UDisksMountMonitor"><span class="type">UDisksMountMonitor</span></a>.</p></td>
 
362
<td class="parameter_annotations"> </td>
 
363
</tr>
 
364
<tr>
 
365
<td class="parameter_name"><p>dev</p></td>
 
366
<td class="parameter_description"><p>A <span class="type">dev_t</span> device number.</p></td>
 
367
<td class="parameter_annotations"> </td>
 
368
</tr>
 
369
<tr>
 
370
<td class="parameter_name"><p>out_type</p></td>
 
371
<td class="parameter_description"><p> Return location for mount type, if in use or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
 
372
<td class="parameter_annotations"><span class="annotation">[<a href="http://foldoc.org/out"><span class="acronym">out</span></a> allow-none]</span></td>
 
373
</tr>
 
374
</tbody>
 
375
</table></div>
 
376
</div>
 
377
<div class="refsect3">
 
378
<a name="id-1.5.3.2.9.8.6"></a><h4>Returns</h4>
 
379
<p> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if in use, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</p>
 
380
<p></p>
 
381
</div>
 
382
</div>
 
383
</div>
 
384
<div class="refsect1">
 
385
<a name="UDisksMountMonitor.other_details"></a><h2>Types and Values</h2>
 
386
<div class="refsect2">
 
387
<a name="UDisksMount-struct"></a><h3>UDisksMount</h3>
 
388
<pre class="programlisting">typedef struct _UDisksMount UDisksMount;</pre>
 
389
<p>The <a class="link" href="UDisksMountMonitor.html#UDisksMount"><span class="type">UDisksMount</span></a> structure contains only private data and should
 
390
only be accessed using the provided API.</p>
 
391
</div>
 
392
<hr>
 
393
<div class="refsect2">
 
394
<a name="UDisksMountType"></a><h3>enum UDisksMountType</h3>
 
395
<p>Types of a mount.</p>
 
396
<div class="refsect3">
 
397
<a name="id-1.5.3.2.10.3.4"></a><h4>Members</h4>
 
398
<div class="informaltable"><table width="100%" border="0">
 
399
<colgroup>
 
400
<col width="300px" class="enum_members_name">
 
401
<col class="enum_members_description">
 
402
<col width="200px" class="enum_members_annotations">
 
403
</colgroup>
 
404
<tbody>
 
405
<tr>
 
406
<td class="enum_member_name"><p><a name="UDISKS-MOUNT-TYPE-FILESYSTEM:CAPS"></a>UDISKS_MOUNT_TYPE_FILESYSTEM</p></td>
 
407
<td class="enum_member_description">
 
408
<p>Object correspond to a mounted filesystem.</p>
 
409
</td>
 
410
<td class="enum_member_annotations"> </td>
 
411
</tr>
 
412
<tr>
 
413
<td class="enum_member_name"><p><a name="UDISKS-MOUNT-TYPE-SWAP:CAPS"></a>UDISKS_MOUNT_TYPE_SWAP</p></td>
 
414
<td class="enum_member_description">
 
415
<p>Object correspond to an in-use swap device.</p>
 
416
</td>
 
417
<td class="enum_member_annotations"> </td>
 
418
</tr>
 
419
</tbody>
 
420
</table></div>
 
421
</div>
 
422
</div>
 
423
<hr>
 
424
<div class="refsect2">
 
425
<a name="UDisksMountMonitor-struct"></a><h3>UDisksMountMonitor</h3>
 
426
<pre class="programlisting">typedef struct _UDisksMountMonitor UDisksMountMonitor;</pre>
 
427
<p>The <a class="link" href="UDisksMountMonitor.html" title="UDisksMountMonitor"><span class="type">UDisksMountMonitor</span></a> structure contains only private data and
 
428
should only be accessed using the provided API.</p>
 
429
</div>
 
430
</div>
 
431
<div class="refsect1">
 
432
<a name="UDisksMountMonitor.signal-details"></a><h2>Signal Details</h2>
 
433
<div class="refsect2">
 
434
<a name="UDisksMountMonitor-mount-added"></a><h3>The <code class="literal">“mount-added”</code> signal</h3>
 
435
<pre class="programlisting"><span class="returnvalue">void</span>
 
436
user_function (<a class="link" href="UDisksMountMonitor.html" title="UDisksMountMonitor"><span class="type">UDisksMountMonitor</span></a> *monitor,
 
437
               <a class="link" href="UDisksMountMonitor.html#UDisksMount"><span class="type">UDisksMount</span></a>        *mount,
 
438
               <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>            user_data)</pre>
 
439
<p>Emitted when a mount is added.</p>
 
440
<p>This signal is emitted in the</p>
 
441
<a href="http://library.gnome.org/devel/glib/unstable/glib-The-Main-Event-Loop.html#g-main-context-push-thread-default">thread-default main loop</a><p>that <em class="parameter"><code>monitor</code></em>
 
442
 was created in.</p>
 
443
<div class="refsect3">
 
444
<a name="id-1.5.3.2.11.2.8"></a><h4>Parameters</h4>
 
445
<div class="informaltable"><table width="100%" border="0">
 
446
<colgroup>
 
447
<col width="150px" class="parameters_name">
 
448
<col class="parameters_description">
 
449
<col width="200px" class="parameters_annotations">
 
450
</colgroup>
 
451
<tbody>
 
452
<tr>
 
453
<td class="parameter_name"><p>monitor</p></td>
 
454
<td class="parameter_description"><p>A <a class="link" href="UDisksMountMonitor.html" title="UDisksMountMonitor"><span class="type">UDisksMountMonitor</span></a>.</p></td>
 
455
<td class="parameter_annotations"> </td>
 
456
</tr>
 
457
<tr>
 
458
<td class="parameter_name"><p>mount</p></td>
 
459
<td class="parameter_description"><p>The <a class="link" href="UDisksMountMonitor.html#UDisksMount"><span class="type">UDisksMount</span></a> that was added.</p></td>
 
460
<td class="parameter_annotations"> </td>
 
461
</tr>
 
462
<tr>
 
463
<td class="parameter_name"><p>user_data</p></td>
 
464
<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
 
465
<td class="parameter_annotations"> </td>
 
466
</tr>
 
467
</tbody>
 
468
</table></div>
 
469
</div>
 
470
<p>Flags: Has Details</p>
 
471
</div>
 
472
<hr>
 
473
<div class="refsect2">
 
474
<a name="UDisksMountMonitor-mount-removed"></a><h3>The <code class="literal">“mount-removed”</code> signal</h3>
 
475
<pre class="programlisting"><span class="returnvalue">void</span>
 
476
user_function (<a class="link" href="UDisksMountMonitor.html" title="UDisksMountMonitor"><span class="type">UDisksMountMonitor</span></a> *monitor,
 
477
               <a class="link" href="UDisksMountMonitor.html#UDisksMount"><span class="type">UDisksMount</span></a>        *mount,
 
478
               <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>            user_data)</pre>
 
479
<p>Emitted when a mount is removed.</p>
 
480
<p>This signal is emitted in the</p>
 
481
<a href="http://library.gnome.org/devel/glib/unstable/glib-The-Main-Event-Loop.html#g-main-context-push-thread-default">thread-default main loop</a><p>that <em class="parameter"><code>monitor</code></em>
 
482
 was created in.</p>
 
483
<div class="refsect3">
 
484
<a name="id-1.5.3.2.11.3.8"></a><h4>Parameters</h4>
 
485
<div class="informaltable"><table width="100%" border="0">
 
486
<colgroup>
 
487
<col width="150px" class="parameters_name">
 
488
<col class="parameters_description">
 
489
<col width="200px" class="parameters_annotations">
 
490
</colgroup>
 
491
<tbody>
 
492
<tr>
 
493
<td class="parameter_name"><p>monitor</p></td>
 
494
<td class="parameter_description"><p>A <a class="link" href="UDisksMountMonitor.html" title="UDisksMountMonitor"><span class="type">UDisksMountMonitor</span></a>.</p></td>
 
495
<td class="parameter_annotations"> </td>
 
496
</tr>
 
497
<tr>
 
498
<td class="parameter_name"><p>mount</p></td>
 
499
<td class="parameter_description"><p>The <a class="link" href="UDisksMountMonitor.html#UDisksMount"><span class="type">UDisksMount</span></a> that was removed.</p></td>
 
500
<td class="parameter_annotations"> </td>
 
501
</tr>
 
502
<tr>
 
503
<td class="parameter_name"><p>user_data</p></td>
 
504
<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
 
505
<td class="parameter_annotations"> </td>
 
506
</tr>
 
507
</tbody>
 
508
</table></div>
 
509
</div>
 
510
<p>Flags: Has Details</p>
 
511
</div>
 
512
</div>
 
513
</div>
 
514
<div class="footer">
 
515
<hr>
 
516
          Generated by GTK-Doc V1.20</div>
 
517
</body>
 
518
</html>
 
 
b'\\ No newline at end of file'