| 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>UDisksUtabMonitor: 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-monitoring.html" title="State and Configuration"> |
| 9 |
<link rel="prev" href="UDisksCrypttabMonitor.html" title="UDisksCrypttabMonitor"> |
| 10 |
<link rel="next" href="ref-daemon-jobs.html" title="Jobs"> |
| 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="#udisks2-UDisksUtabMonitor.description" class="shortcut">Description</a></span> |
| 19 |
</td> |
| 20 |
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td> |
| 21 |
<td><a accesskey="u" href="ref-daemon-monitoring.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td> |
| 22 |
<td><a accesskey="p" href="UDisksCrypttabMonitor.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td> |
| 23 |
<td><a accesskey="n" href="ref-daemon-jobs.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td> |
| 24 |
</tr></table> |
| 25 |
<div class="refentry"> |
| 26 |
<a name="udisks2-UDisksUtabMonitor"></a><div class="titlepage"></div> |
| 27 |
<div class="refnamediv"><table width="100%"><tr> |
| 28 |
<td valign="top"> |
| 29 |
<h2><span class="refentrytitle"><a name="udisks2-UDisksUtabMonitor.top_of_page"></a>UDisksUtabMonitor</span></h2> |
| 30 |
<p>UDisksUtabMonitor — Monitors entries in the utab file</p> |
| 31 |
</td> |
| 32 |
<td class="gallery_image" valign="top" align="right"></td> |
| 33 |
</tr></table></div> |
| 34 |
<div class="refsect1"> |
| 35 |
<a name="udisks2-UDisksUtabMonitor.functions"></a><h2>Functions</h2> |
| 36 |
<div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 37 |
<colgroup> |
| 38 |
<col width="150px" class="functions_proto_type"> |
| 39 |
<col class="functions_proto_name"> |
| 40 |
</colgroup> |
| 41 |
<tbody> |
| 42 |
<tr> |
| 43 |
<td class="function_type">const <span class="returnvalue">gchar</span> * |
| 44 |
</td> |
| 45 |
<td class="function_name"> |
| 46 |
<a class="link" href="udisks2-UDisksUtabMonitor.html#udisks-utab-entry-get-source" title="udisks_utab_entry_get_source ()">udisks_utab_entry_get_source</a> <span class="c_punctuation">()</span> |
| 47 |
</td> |
| 48 |
</tr> |
| 49 |
<tr> |
| 50 |
<td class="function_type">const <span class="returnvalue">gchar</span> * const * |
| 51 |
</td> |
| 52 |
<td class="function_name"> |
| 53 |
<a class="link" href="udisks2-UDisksUtabMonitor.html#udisks-utab-entry-get-opts" title="udisks_utab_entry_get_opts ()">udisks_utab_entry_get_opts</a> <span class="c_punctuation">()</span> |
| 54 |
</td> |
| 55 |
</tr> |
| 56 |
<tr> |
| 57 |
<td class="function_type"> |
| 58 |
<a class="link" href="udisks2-UDisksUtabMonitor.html#UDisksUtabMonitor" title="UDisksUtabMonitor"><span class="returnvalue">UDisksUtabMonitor</span></a> * |
| 59 |
</td> |
| 60 |
<td class="function_name"> |
| 61 |
<a class="link" href="udisks2-UDisksUtabMonitor.html#udisks-utab-monitor-new" title="udisks_utab_monitor_new ()">udisks_utab_monitor_new</a> <span class="c_punctuation">()</span> |
| 62 |
</td> |
| 63 |
</tr> |
| 64 |
<tr> |
| 65 |
<td class="function_type"> |
| 66 |
<span class="returnvalue">GSList</span> * |
| 67 |
</td> |
| 68 |
<td class="function_name"> |
| 69 |
<a class="link" href="udisks2-UDisksUtabMonitor.html#udisks-utab-monitor-get-entries" title="udisks_utab_monitor_get_entries ()">udisks_utab_monitor_get_entries</a> <span class="c_punctuation">()</span> |
| 70 |
</td> |
| 71 |
</tr> |
| 72 |
</tbody> |
| 73 |
</table></div> |
| 74 |
</div> |
| 75 |
<div class="refsect1"> |
| 76 |
<a name="udisks2-UDisksUtabMonitor.other"></a><h2>Types and Values</h2> |
| 77 |
<div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 78 |
<colgroup> |
| 79 |
<col width="150px" class="other_proto_type"> |
| 80 |
<col class="other_proto_name"> |
| 81 |
</colgroup> |
| 82 |
<tbody> |
| 83 |
<tr> |
| 84 |
<td class="datatype_keyword"> </td> |
| 85 |
<td class="function_name"><a class="link" href="udisks2-UDisksUtabMonitor.html#UDisksUtabEntry" title="UDisksUtabEntry">UDisksUtabEntry</a></td> |
| 86 |
</tr> |
| 87 |
<tr> |
| 88 |
<td class="datatype_keyword"> </td> |
| 89 |
<td class="function_name"><a class="link" href="udisks2-UDisksUtabMonitor.html#UDisksUtabMonitor" title="UDisksUtabMonitor">UDisksUtabMonitor</a></td> |
| 90 |
</tr> |
| 91 |
</tbody> |
| 92 |
</table></div> |
| 93 |
</div> |
| 94 |
<div class="refsect1"> |
| 95 |
<a name="udisks2-UDisksUtabMonitor.description"></a><h2>Description</h2> |
| 96 |
<p>This type is used for monitoring entries in the |
| 97 |
<code class="filename">/run/mounts/utab</code> file.</p> |
| 98 |
</div> |
| 99 |
<div class="refsect1"> |
| 100 |
<a name="udisks2-UDisksUtabMonitor.functions_details"></a><h2>Functions</h2> |
| 101 |
<div class="refsect2"> |
| 102 |
<a name="udisks-utab-entry-get-source"></a><h3>udisks_utab_entry_get_source ()</h3> |
| 103 |
<pre class="programlisting">const <span class="returnvalue">gchar</span> * |
| 104 |
udisks_utab_entry_get_source (<em class="parameter"><code><a class="link" href="udisks2-UDisksUtabMonitor.html#UDisksUtabEntry" title="UDisksUtabEntry"><span class="type">UDisksUtabEntry</span></a> *entry</code></em>);</pre> |
| 105 |
<p>Gets the source field of <em class="parameter"><code>entry</code></em> |
| 106 |
.</p> |
| 107 |
<div class="refsect3"> |
| 108 |
<a name="udisks-utab-entry-get-source.parameters"></a><h4>Parameters</h4> |
| 109 |
<div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 110 |
<colgroup> |
| 111 |
<col width="150px" class="parameters_name"> |
| 112 |
<col class="parameters_description"> |
| 113 |
<col width="200px" class="parameters_annotations"> |
| 114 |
</colgroup> |
| 115 |
<tbody><tr> |
| 116 |
<td class="parameter_name"><p>entry</p></td> |
| 117 |
<td class="parameter_description"><p>A <a class="link" href="udisks2-UDisksUtabMonitor.html#UDisksUtabEntry" title="UDisksUtabEntry"><span class="type">UDisksUtabEntry</span></a>.</p></td> |
| 118 |
<td class="parameter_annotations"> </td> |
| 119 |
</tr></tbody> |
| 120 |
</table></div> |
| 121 |
</div> |
| 122 |
<div class="refsect3"> |
| 123 |
<a name="udisks-utab-entry-get-source.returns"></a><h4>Returns</h4> |
| 124 |
<p> The source field.</p> |
| 125 |
</div> |
| 126 |
</div> |
| 127 |
<hr> |
| 128 |
<div class="refsect2"> |
| 129 |
<a name="udisks-utab-entry-get-opts"></a><h3>udisks_utab_entry_get_opts ()</h3> |
| 130 |
<pre class="programlisting">const <span class="returnvalue">gchar</span> * const * |
| 131 |
udisks_utab_entry_get_opts (<em class="parameter"><code><a class="link" href="udisks2-UDisksUtabMonitor.html#UDisksUtabEntry" title="UDisksUtabEntry"><span class="type">UDisksUtabEntry</span></a> *entry</code></em>);</pre> |
| 132 |
<p>Gets the opts field of <em class="parameter"><code>entry</code></em> |
| 133 |
.</p> |
| 134 |
<div class="refsect3"> |
| 135 |
<a name="udisks-utab-entry-get-opts.parameters"></a><h4>Parameters</h4> |
| 136 |
<div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 137 |
<colgroup> |
| 138 |
<col width="150px" class="parameters_name"> |
| 139 |
<col class="parameters_description"> |
| 140 |
<col width="200px" class="parameters_annotations"> |
| 141 |
</colgroup> |
| 142 |
<tbody><tr> |
| 143 |
<td class="parameter_name"><p>entry</p></td> |
| 144 |
<td class="parameter_description"><p>A <a class="link" href="udisks2-UDisksUtabMonitor.html#UDisksUtabEntry" title="UDisksUtabEntry"><span class="type">UDisksUtabEntry</span></a>.</p></td> |
| 145 |
<td class="parameter_annotations"> </td> |
| 146 |
</tr></tbody> |
| 147 |
</table></div> |
| 148 |
</div> |
| 149 |
<div class="refsect3"> |
| 150 |
<a name="udisks-utab-entry-get-opts.returns"></a><h4>Returns</h4> |
| 151 |
<p> The opts field.</p> |
| 152 |
</div> |
| 153 |
</div> |
| 154 |
<hr> |
| 155 |
<div class="refsect2"> |
| 156 |
<a name="udisks-utab-monitor-new"></a><h3>udisks_utab_monitor_new ()</h3> |
| 157 |
<pre class="programlisting"><a class="link" href="udisks2-UDisksUtabMonitor.html#UDisksUtabMonitor" title="UDisksUtabMonitor"><span class="returnvalue">UDisksUtabMonitor</span></a> * |
| 158 |
udisks_utab_monitor_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre> |
| 159 |
<p>Creates a new <a class="link" href="udisks2-UDisksUtabMonitor.html#UDisksUtabMonitor" title="UDisksUtabMonitor"><span class="type">UDisksUtabMonitor</span></a> object.</p> |
| 160 |
<p>Signals are emitted in the <GTKDOCLINK HREF="g-main-context-push-thread-default">thread-default main |
| 161 |
loop</GTKDOCLINK> that this function is called from.</p> |
| 162 |
<div class="refsect3"> |
| 163 |
<a name="udisks-utab-monitor-new.returns"></a><h4>Returns</h4> |
| 164 |
<p> A <a class="link" href="udisks2-UDisksUtabMonitor.html#UDisksUtabMonitor" title="UDisksUtabMonitor"><span class="type">UDisksUtabMonitor</span></a>. Free with <code class="function">g_object_unref()</code>.</p> |
| 165 |
</div> |
| 166 |
</div> |
| 167 |
<hr> |
| 168 |
<div class="refsect2"> |
| 169 |
<a name="udisks-utab-monitor-get-entries"></a><h3>udisks_utab_monitor_get_entries ()</h3> |
| 170 |
<pre class="programlisting"><span class="returnvalue">GSList</span> * |
| 171 |
udisks_utab_monitor_get_entries (<em class="parameter"><code><a class="link" href="udisks2-UDisksUtabMonitor.html#UDisksUtabMonitor" title="UDisksUtabMonitor"><span class="type">UDisksUtabMonitor</span></a> *monitor</code></em>);</pre> |
| 172 |
<p>Gets all /run/mounts/utab entries</p> |
| 173 |
<div class="refsect3"> |
| 174 |
<a name="udisks-utab-monitor-get-entries.parameters"></a><h4>Parameters</h4> |
| 175 |
<div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 176 |
<colgroup> |
| 177 |
<col width="150px" class="parameters_name"> |
| 178 |
<col class="parameters_description"> |
| 179 |
<col width="200px" class="parameters_annotations"> |
| 180 |
</colgroup> |
| 181 |
<tbody><tr> |
| 182 |
<td class="parameter_name"><p>monitor</p></td> |
| 183 |
<td class="parameter_description"><p>A <a class="link" href="udisks2-UDisksUtabMonitor.html#UDisksUtabMonitor" title="UDisksUtabMonitor"><span class="type">UDisksUtabMonitor</span></a>.</p></td> |
| 184 |
<td class="parameter_annotations"> </td> |
| 185 |
</tr></tbody> |
| 186 |
</table></div> |
| 187 |
</div> |
| 188 |
<div class="refsect3"> |
| 189 |
<a name="udisks-utab-monitor-get-entries.returns"></a><h4>Returns</h4> |
| 190 |
<p>A list of <a class="link" href="udisks2-UDisksUtabMonitor.html#UDisksUtabEntry" title="UDisksUtabEntry"><span class="type">UDisksUtabEntry</span></a> objects that must be freed with <code class="function">g_slist_free()</code> after each element has been freed with <code class="function">g_object_unref()</code>. </p> |
| 191 |
<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="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> UDisksUtabEntry]</span></p> |
| 192 |
</div> |
| 193 |
</div> |
| 194 |
</div> |
| 195 |
<div class="refsect1"> |
| 196 |
<a name="udisks2-UDisksUtabMonitor.other_details"></a><h2>Types and Values</h2> |
| 197 |
<div class="refsect2"> |
| 198 |
<a name="UDisksUtabEntry"></a><h3>UDisksUtabEntry</h3> |
| 199 |
<pre class="programlisting">typedef struct _UDisksUtabEntry UDisksUtabEntry;</pre> |
| 200 |
<p>The <a class="link" href="udisks2-UDisksUtabMonitor.html#UDisksUtabEntry" title="UDisksUtabEntry"><span class="type">UDisksUtabEntry</span></a> structure contains only private data and should |
| 201 |
only be accessed using the provided API.</p> |
| 202 |
</div> |
| 203 |
<hr> |
| 204 |
<div class="refsect2"> |
| 205 |
<a name="UDisksUtabMonitor"></a><h3>UDisksUtabMonitor</h3> |
| 206 |
<pre class="programlisting">typedef struct _UDisksUtabMonitor UDisksUtabMonitor;</pre> |
| 207 |
<p>The <a class="link" href="udisks2-UDisksUtabMonitor.html#UDisksUtabMonitor" title="UDisksUtabMonitor"><span class="type">UDisksUtabMonitor</span></a> structure contains only private data and |
| 208 |
should only be accessed using the provided API.</p> |
| 209 |
</div> |
| 210 |
</div> |
| 211 |
</div> |
| 212 |
<div class="footer"> |
| 213 |
<hr>Generated by GTK-Doc V1.35.1</div> |
| 214 |
</body> |
| 215 |
</html> |