1
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
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">
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>
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>
27
<div class="refentry">
28
<a name="UDisksMountMonitor"></a><div class="titlepage"></div>
29
<div class="refnamediv"><table width="100%"><tr>
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>
34
<td class="gallery_image" valign="top" align="right"></td>
36
<div class="refsect1">
37
<a name="UDisksMountMonitor.functions"></a><h2>Functions</h2>
38
<div class="informaltable"><table width="100%" border="0">
40
<col width="150px" class="functions_return">
41
<col class="functions_name">
45
<td class="function_type">
46
<span class="returnvalue">dev_t</span>
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>
53
<td class="function_type">
54
<a class="link" href="UDisksMountMonitor.html#UDisksMountType" title="enum UDisksMountType"><span class="returnvalue">UDisksMountType</span></a>
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>
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> *
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>
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>
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>
76
<td class="function_type">
77
<a class="link" href="UDisksMountMonitor.html" title="UDisksMountMonitor"><span class="returnvalue">UDisksMountMonitor</span></a> *
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>
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> *
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>
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>
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>
102
<div class="refsect1">
103
<a name="UDisksMountMonitor.signals"></a><h2>Signals</h2>
104
<div class="informaltable"><table border="0">
106
<col width="150px" class="signals_return">
107
<col width="300px" class="signals_name">
108
<col width="200px" class="signals_flags">
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>
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>
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">
128
<col width="150px" class="name">
129
<col class="description">
133
<td class="datatype_keyword"> </td>
134
<td class="function_name"><a class="link" href="UDisksMountMonitor.html#UDisksMount-struct" title="UDisksMount">UDisksMount</a></td>
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>
141
<td class="datatype_keyword"> </td>
142
<td class="function_name"><a class="link" href="UDisksMountMonitor.html#UDisksMountMonitor-struct" title="UDisksMountMonitor">UDisksMountMonitor</a></td>
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
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>
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>
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">
173
<col width="150px" class="parameters_name">
174
<col class="parameters_description">
175
<col width="200px" class="parameters_annotations">
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>
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>
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>
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">
201
<col width="150px" class="parameters_name">
202
<col class="parameters_description">
203
<col width="200px" class="parameters_annotations">
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>
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>
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">
229
<col width="150px" class="parameters_name">
230
<col class="parameters_description">
231
<col width="200px" class="parameters_annotations">
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>
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>
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">
258
<col width="150px" class="parameters_name">
259
<col class="parameters_description">
260
<col width="200px" class="parameters_annotations">
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>
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>
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
< <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
> <em class="parameter"><code>other_mount</code></em>
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>
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>
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">
315
<col width="150px" class="parameters_name">
316
<col class="parameters_description">
317
<col width="200px" class="parameters_annotations">
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>
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>
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>
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">
354
<col width="150px" class="parameters_name">
355
<col class="parameters_description">
356
<col width="200px" class="parameters_annotations">
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>
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>
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>
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>
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>
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">
400
<col width="300px" class="enum_members_name">
401
<col class="enum_members_description">
402
<col width="200px" class="enum_members_annotations">
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>
410
<td class="enum_member_annotations"> </td>
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>
417
<td class="enum_member_annotations"> </td>
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>
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>
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">
447
<col width="150px" class="parameters_name">
448
<col class="parameters_description">
449
<col width="200px" class="parameters_annotations">
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>
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>
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>
470
<p>Flags: Has Details</p>
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>
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">
487
<col width="150px" class="parameters_name">
488
<col class="parameters_description">
489
<col width="200px" class="parameters_annotations">
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>
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>
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>
510
<p>Flags: Has Details</p>
516
Generated by GTK-Doc V1.20</div>
b'\\ No newline at end of file'