| 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>UDisksCrypttabMonitor: 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="UDisksFstabEntry.html" title="UDisksFstabEntry"> |
| 10 |
<link rel="next" href="udisks2-UDisksUtabMonitor.html" title="UDisksUtabMonitor"> |
| 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="#UDisksCrypttabMonitor.description" class="shortcut">Description</a></span><span id="nav_hierarchy"> <span class="dim">|</span> |
| 19 |
<a href="#UDisksCrypttabMonitor.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_signals"> <span class="dim">|</span> |
| 20 |
<a href="#UDisksCrypttabMonitor.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="UDisksFstabEntry.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td> |
| 25 |
<td><a accesskey="n" href="udisks2-UDisksUtabMonitor.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="UDisksCrypttabMonitor"></a><div class="titlepage"></div> |
| 29 |
<div class="refnamediv"><table width="100%"><tr> |
| 30 |
<td valign="top"> |
| 31 |
<h2><span class="refentrytitle"><a name="UDisksCrypttabMonitor.top_of_page"></a>UDisksCrypttabMonitor</span></h2> |
| 32 |
<p>UDisksCrypttabMonitor — Monitors entries in the crypttab file</p> |
| 33 |
</td> |
| 34 |
<td class="gallery_image" valign="top" align="right"></td> |
| 35 |
</tr></table></div> |
| 36 |
<div class="refsect1"> |
| 37 |
<a name="UDisksCrypttabMonitor.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">const <span class="returnvalue">gchar</span> * |
| 46 |
</td> |
| 47 |
<td class="function_name"> |
| 48 |
<a class="link" href="UDisksCrypttabMonitor.html#udisks-crypttab-entry-get-name" title="udisks_crypttab_entry_get_name ()">udisks_crypttab_entry_get_name</a> <span class="c_punctuation">()</span> |
| 49 |
</td> |
| 50 |
</tr> |
| 51 |
<tr> |
| 52 |
<td class="function_type">const <span class="returnvalue">gchar</span> * |
| 53 |
</td> |
| 54 |
<td class="function_name"> |
| 55 |
<a class="link" href="UDisksCrypttabMonitor.html#udisks-crypttab-entry-get-device" title="udisks_crypttab_entry_get_device ()">udisks_crypttab_entry_get_device</a> <span class="c_punctuation">()</span> |
| 56 |
</td> |
| 57 |
</tr> |
| 58 |
<tr> |
| 59 |
<td class="function_type">const <span class="returnvalue">gchar</span> * |
| 60 |
</td> |
| 61 |
<td class="function_name"> |
| 62 |
<a class="link" href="UDisksCrypttabMonitor.html#udisks-crypttab-entry-get-passphrase-path" title="udisks_crypttab_entry_get_passphrase_path ()">udisks_crypttab_entry_get_passphrase_path</a> <span class="c_punctuation">()</span> |
| 63 |
</td> |
| 64 |
</tr> |
| 65 |
<tr> |
| 66 |
<td class="function_type">const <span class="returnvalue">gchar</span> * |
| 67 |
</td> |
| 68 |
<td class="function_name"> |
| 69 |
<a class="link" href="UDisksCrypttabMonitor.html#udisks-crypttab-entry-get-options" title="udisks_crypttab_entry_get_options ()">udisks_crypttab_entry_get_options</a> <span class="c_punctuation">()</span> |
| 70 |
</td> |
| 71 |
</tr> |
| 72 |
<tr> |
| 73 |
<td class="function_type"> |
| 74 |
<span class="returnvalue">gint</span> |
| 75 |
</td> |
| 76 |
<td class="function_name"> |
| 77 |
<a class="link" href="UDisksCrypttabMonitor.html#udisks-crypttab-entry-compare" title="udisks_crypttab_entry_compare ()">udisks_crypttab_entry_compare</a> <span class="c_punctuation">()</span> |
| 78 |
</td> |
| 79 |
</tr> |
| 80 |
<tr> |
| 81 |
<td class="function_type"> |
| 82 |
<a class="link" href="UDisksCrypttabMonitor.html" title="UDisksCrypttabMonitor"><span class="returnvalue">UDisksCrypttabMonitor</span></a> * |
| 83 |
</td> |
| 84 |
<td class="function_name"> |
| 85 |
<a class="link" href="UDisksCrypttabMonitor.html#udisks-crypttab-monitor-new" title="udisks_crypttab_monitor_new ()">udisks_crypttab_monitor_new</a> <span class="c_punctuation">()</span> |
| 86 |
</td> |
| 87 |
</tr> |
| 88 |
<tr> |
| 89 |
<td class="function_type"> |
| 90 |
<span class="returnvalue">GList</span> * |
| 91 |
</td> |
| 92 |
<td class="function_name"> |
| 93 |
<a class="link" href="UDisksCrypttabMonitor.html#udisks-crypttab-monitor-get-entries" title="udisks_crypttab_monitor_get_entries ()">udisks_crypttab_monitor_get_entries</a> <span class="c_punctuation">()</span> |
| 94 |
</td> |
| 95 |
</tr> |
| 96 |
</tbody> |
| 97 |
</table></div> |
| 98 |
</div> |
| 99 |
<div class="refsect1"> |
| 100 |
<a name="UDisksCrypttabMonitor.signals"></a><h2>Signals</h2> |
| 101 |
<div class="informaltable"><table class="informaltable" border="0"> |
| 102 |
<colgroup> |
| 103 |
<col width="150px" class="signal_proto_type"> |
| 104 |
<col width="300px" class="signal_proto_name"> |
| 105 |
<col width="200px" class="signal_proto_flags"> |
| 106 |
</colgroup> |
| 107 |
<tbody> |
| 108 |
<tr> |
| 109 |
<td class="signal_type"><span class="returnvalue">void</span></td> |
| 110 |
<td class="signal_name"><a class="link" href="UDisksCrypttabMonitor.html#UDisksCrypttabMonitor-entry-added" title="The “entry-added” signal">entry-added</a></td> |
| 111 |
<td class="signal_flags">Has Details</td> |
| 112 |
</tr> |
| 113 |
<tr> |
| 114 |
<td class="signal_type"><span class="returnvalue">void</span></td> |
| 115 |
<td class="signal_name"><a class="link" href="UDisksCrypttabMonitor.html#UDisksCrypttabMonitor-entry-removed" title="The “entry-removed” signal">entry-removed</a></td> |
| 116 |
<td class="signal_flags">Has Details</td> |
| 117 |
</tr> |
| 118 |
</tbody> |
| 119 |
</table></div> |
| 120 |
</div> |
| 121 |
<a name="UDisksCrypttabEntry"></a><div class="refsect1"> |
| 122 |
<a name="UDisksCrypttabMonitor.other"></a><h2>Types and Values</h2> |
| 123 |
<div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 124 |
<colgroup> |
| 125 |
<col width="150px" class="other_proto_type"> |
| 126 |
<col class="other_proto_name"> |
| 127 |
</colgroup> |
| 128 |
<tbody> |
| 129 |
<tr> |
| 130 |
<td class="datatype_keyword"> </td> |
| 131 |
<td class="function_name"><a class="link" href="UDisksCrypttabMonitor.html#UDisksCrypttabEntry-struct" title="UDisksCrypttabEntry">UDisksCrypttabEntry</a></td> |
| 132 |
</tr> |
| 133 |
<tr> |
| 134 |
<td class="datatype_keyword"> </td> |
| 135 |
<td class="function_name"><a class="link" href="UDisksCrypttabMonitor.html#UDisksCrypttabMonitor-struct" title="UDisksCrypttabMonitor">UDisksCrypttabMonitor</a></td> |
| 136 |
</tr> |
| 137 |
</tbody> |
| 138 |
</table></div> |
| 139 |
</div> |
| 140 |
<div class="refsect1"> |
| 141 |
<a name="UDisksCrypttabMonitor.object-hierarchy"></a><h2>Object Hierarchy</h2> |
| 142 |
<pre class="screen"> GObject |
| 143 |
<span class="lineart">├──</span> UDisksCrypttabEntry |
| 144 |
<span class="lineart">╰──</span> UDisksCrypttabMonitor |
| 145 |
</pre> |
| 146 |
</div> |
| 147 |
<div class="refsect1"> |
| 148 |
<a name="UDisksCrypttabMonitor.description"></a><h2>Description</h2> |
| 149 |
<p>This type is used for monitoring entries in the |
| 150 |
<code class="filename">/etc/crypttab</code> file.</p> |
| 151 |
</div> |
| 152 |
<div class="refsect1"> |
| 153 |
<a name="UDisksCrypttabMonitor.functions_details"></a><h2>Functions</h2> |
| 154 |
<div class="refsect2"> |
| 155 |
<a name="udisks-crypttab-entry-get-name"></a><h3>udisks_crypttab_entry_get_name ()</h3> |
| 156 |
<pre class="programlisting">const <span class="returnvalue">gchar</span> * |
| 157 |
udisks_crypttab_entry_get_name (<em class="parameter"><code><a class="link" href="UDisksCrypttabMonitor.html#UDisksCrypttabEntry"><span class="type">UDisksCrypttabEntry</span></a> *entry</code></em>);</pre> |
| 158 |
<p>Gets the name field of <em class="parameter"><code>entry</code></em> |
| 159 |
.</p> |
| 160 |
<div class="refsect3"> |
| 161 |
<a name="udisks-crypttab-entry-get-name.parameters"></a><h4>Parameters</h4> |
| 162 |
<div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 163 |
<colgroup> |
| 164 |
<col width="150px" class="parameters_name"> |
| 165 |
<col class="parameters_description"> |
| 166 |
<col width="200px" class="parameters_annotations"> |
| 167 |
</colgroup> |
| 168 |
<tbody><tr> |
| 169 |
<td class="parameter_name"><p>entry</p></td> |
| 170 |
<td class="parameter_description"><p>A <a class="link" href="UDisksCrypttabMonitor.html#UDisksCrypttabEntry"><span class="type">UDisksCrypttabEntry</span></a>.</p></td> |
| 171 |
<td class="parameter_annotations"> </td> |
| 172 |
</tr></tbody> |
| 173 |
</table></div> |
| 174 |
</div> |
| 175 |
<div class="refsect3"> |
| 176 |
<a name="udisks-crypttab-entry-get-name.returns"></a><h4>Returns</h4> |
| 177 |
<p> The name field.</p> |
| 178 |
</div> |
| 179 |
</div> |
| 180 |
<hr> |
| 181 |
<div class="refsect2"> |
| 182 |
<a name="udisks-crypttab-entry-get-device"></a><h3>udisks_crypttab_entry_get_device ()</h3> |
| 183 |
<pre class="programlisting">const <span class="returnvalue">gchar</span> * |
| 184 |
udisks_crypttab_entry_get_device (<em class="parameter"><code><a class="link" href="UDisksCrypttabMonitor.html#UDisksCrypttabEntry"><span class="type">UDisksCrypttabEntry</span></a> *entry</code></em>);</pre> |
| 185 |
<p>Gets the device field of <em class="parameter"><code>entry</code></em> |
| 186 |
.</p> |
| 187 |
<div class="refsect3"> |
| 188 |
<a name="udisks-crypttab-entry-get-device.parameters"></a><h4>Parameters</h4> |
| 189 |
<div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 190 |
<colgroup> |
| 191 |
<col width="150px" class="parameters_name"> |
| 192 |
<col class="parameters_description"> |
| 193 |
<col width="200px" class="parameters_annotations"> |
| 194 |
</colgroup> |
| 195 |
<tbody><tr> |
| 196 |
<td class="parameter_name"><p>entry</p></td> |
| 197 |
<td class="parameter_description"><p>A <a class="link" href="UDisksCrypttabMonitor.html#UDisksCrypttabEntry"><span class="type">UDisksCrypttabEntry</span></a>.</p></td> |
| 198 |
<td class="parameter_annotations"> </td> |
| 199 |
</tr></tbody> |
| 200 |
</table></div> |
| 201 |
</div> |
| 202 |
<div class="refsect3"> |
| 203 |
<a name="udisks-crypttab-entry-get-device.returns"></a><h4>Returns</h4> |
| 204 |
<p> The device field.</p> |
| 205 |
</div> |
| 206 |
</div> |
| 207 |
<hr> |
| 208 |
<div class="refsect2"> |
| 209 |
<a name="udisks-crypttab-entry-get-passphrase-path"></a><h3>udisks_crypttab_entry_get_passphrase_path ()</h3> |
| 210 |
<pre class="programlisting">const <span class="returnvalue">gchar</span> * |
| 211 |
udisks_crypttab_entry_get_passphrase_path |
| 212 |
(<em class="parameter"><code><a class="link" href="UDisksCrypttabMonitor.html#UDisksCrypttabEntry"><span class="type">UDisksCrypttabEntry</span></a> *entry</code></em>);</pre> |
| 213 |
<p>Gets the passphrase path field of <em class="parameter"><code>entry</code></em> |
| 214 |
.</p> |
| 215 |
<div class="refsect3"> |
| 216 |
<a name="udisks-crypttab-entry-get-passphrase-path.parameters"></a><h4>Parameters</h4> |
| 217 |
<div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 218 |
<colgroup> |
| 219 |
<col width="150px" class="parameters_name"> |
| 220 |
<col class="parameters_description"> |
| 221 |
<col width="200px" class="parameters_annotations"> |
| 222 |
</colgroup> |
| 223 |
<tbody><tr> |
| 224 |
<td class="parameter_name"><p>entry</p></td> |
| 225 |
<td class="parameter_description"><p>A <a class="link" href="UDisksCrypttabMonitor.html#UDisksCrypttabEntry"><span class="type">UDisksCrypttabEntry</span></a>.</p></td> |
| 226 |
<td class="parameter_annotations"> </td> |
| 227 |
</tr></tbody> |
| 228 |
</table></div> |
| 229 |
</div> |
| 230 |
<div class="refsect3"> |
| 231 |
<a name="udisks-crypttab-entry-get-passphrase-path.returns"></a><h4>Returns</h4> |
| 232 |
<p> The passphrase path field.</p> |
| 233 |
</div> |
| 234 |
</div> |
| 235 |
<hr> |
| 236 |
<div class="refsect2"> |
| 237 |
<a name="udisks-crypttab-entry-get-options"></a><h3>udisks_crypttab_entry_get_options ()</h3> |
| 238 |
<pre class="programlisting">const <span class="returnvalue">gchar</span> * |
| 239 |
udisks_crypttab_entry_get_options (<em class="parameter"><code><a class="link" href="UDisksCrypttabMonitor.html#UDisksCrypttabEntry"><span class="type">UDisksCrypttabEntry</span></a> *entry</code></em>);</pre> |
| 240 |
<p>Gets the options field of <em class="parameter"><code>entry</code></em> |
| 241 |
.</p> |
| 242 |
<div class="refsect3"> |
| 243 |
<a name="udisks-crypttab-entry-get-options.parameters"></a><h4>Parameters</h4> |
| 244 |
<div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 245 |
<colgroup> |
| 246 |
<col width="150px" class="parameters_name"> |
| 247 |
<col class="parameters_description"> |
| 248 |
<col width="200px" class="parameters_annotations"> |
| 249 |
</colgroup> |
| 250 |
<tbody><tr> |
| 251 |
<td class="parameter_name"><p>entry</p></td> |
| 252 |
<td class="parameter_description"><p>A <a class="link" href="UDisksCrypttabMonitor.html#UDisksCrypttabEntry"><span class="type">UDisksCrypttabEntry</span></a>.</p></td> |
| 253 |
<td class="parameter_annotations"> </td> |
| 254 |
</tr></tbody> |
| 255 |
</table></div> |
| 256 |
</div> |
| 257 |
<div class="refsect3"> |
| 258 |
<a name="udisks-crypttab-entry-get-options.returns"></a><h4>Returns</h4> |
| 259 |
<p> The options field.</p> |
| 260 |
</div> |
| 261 |
</div> |
| 262 |
<hr> |
| 263 |
<div class="refsect2"> |
| 264 |
<a name="udisks-crypttab-entry-compare"></a><h3>udisks_crypttab_entry_compare ()</h3> |
| 265 |
<pre class="programlisting"><span class="returnvalue">gint</span> |
| 266 |
udisks_crypttab_entry_compare (<em class="parameter"><code><a class="link" href="UDisksCrypttabMonitor.html#UDisksCrypttabEntry"><span class="type">UDisksCrypttabEntry</span></a> *entry</code></em>, |
| 267 |
<em class="parameter"><code><a class="link" href="UDisksCrypttabMonitor.html#UDisksCrypttabEntry"><span class="type">UDisksCrypttabEntry</span></a> *other_entry</code></em>);</pre> |
| 268 |
<p>Comparison function for comparing two <a class="link" href="UDisksCrypttabMonitor.html#UDisksCrypttabEntry"><span class="type">UDisksCrypttabEntry</span></a> objects.</p> |
| 269 |
<div class="refsect3"> |
| 270 |
<a name="udisks-crypttab-entry-compare.parameters"></a><h4>Parameters</h4> |
| 271 |
<div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 272 |
<colgroup> |
| 273 |
<col width="150px" class="parameters_name"> |
| 274 |
<col class="parameters_description"> |
| 275 |
<col width="200px" class="parameters_annotations"> |
| 276 |
</colgroup> |
| 277 |
<tbody> |
| 278 |
<tr> |
| 279 |
<td class="parameter_name"><p>entry</p></td> |
| 280 |
<td class="parameter_description"><p>A <a class="link" href="UDisksCrypttabMonitor.html#UDisksCrypttabEntry"><span class="type">UDisksCrypttabEntry</span></a></p></td> |
| 281 |
<td class="parameter_annotations"> </td> |
| 282 |
</tr> |
| 283 |
<tr> |
| 284 |
<td class="parameter_name"><p>other_entry</p></td> |
| 285 |
<td class="parameter_description"><p>Another <a class="link" href="UDisksCrypttabMonitor.html#UDisksCrypttabEntry"><span class="type">UDisksCrypttabEntry</span></a>.</p></td> |
| 286 |
<td class="parameter_annotations"> </td> |
| 287 |
</tr> |
| 288 |
</tbody> |
| 289 |
</table></div> |
| 290 |
</div> |
| 291 |
<div class="refsect3"> |
| 292 |
<a name="udisks-crypttab-entry-compare.returns"></a><h4>Returns</h4> |
| 293 |
<p> Negative value if <em class="parameter"><code>entry</code></em> |
| 294 |
< <em class="parameter"><code>other_entry</code></em> |
| 295 |
; zero if <em class="parameter"><code>entry</code></em> |
| 296 |
= <em class="parameter"><code>other_entry</code></em> |
| 297 |
; positive value if <em class="parameter"><code>entry</code></em> |
| 298 |
> <em class="parameter"><code>other_entry</code></em> |
| 299 |
.</p> |
| 300 |
</div> |
| 301 |
</div> |
| 302 |
<hr> |
| 303 |
<div class="refsect2"> |
| 304 |
<a name="udisks-crypttab-monitor-new"></a><h3>udisks_crypttab_monitor_new ()</h3> |
| 305 |
<pre class="programlisting"><a class="link" href="UDisksCrypttabMonitor.html" title="UDisksCrypttabMonitor"><span class="returnvalue">UDisksCrypttabMonitor</span></a> * |
| 306 |
udisks_crypttab_monitor_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre> |
| 307 |
<p>Creates a new <a class="link" href="UDisksCrypttabMonitor.html" title="UDisksCrypttabMonitor"><span class="type">UDisksCrypttabMonitor</span></a> object.</p> |
| 308 |
<p>Signals are emitted in the <GTKDOCLINK HREF="g-main-context-push-thread-default">thread-default main |
| 309 |
loop</GTKDOCLINK> that this function is called from.</p> |
| 310 |
<div class="refsect3"> |
| 311 |
<a name="udisks-crypttab-monitor-new.returns"></a><h4>Returns</h4> |
| 312 |
<p> A <a class="link" href="UDisksCrypttabMonitor.html" title="UDisksCrypttabMonitor"><span class="type">UDisksCrypttabMonitor</span></a>. Free with <code class="function">g_object_unref()</code>.</p> |
| 313 |
</div> |
| 314 |
</div> |
| 315 |
<hr> |
| 316 |
<div class="refsect2"> |
| 317 |
<a name="udisks-crypttab-monitor-get-entries"></a><h3>udisks_crypttab_monitor_get_entries ()</h3> |
| 318 |
<pre class="programlisting"><span class="returnvalue">GList</span> * |
| 319 |
udisks_crypttab_monitor_get_entries (<em class="parameter"><code><a class="link" href="UDisksCrypttabMonitor.html" title="UDisksCrypttabMonitor"><span class="type">UDisksCrypttabMonitor</span></a> *monitor</code></em>);</pre> |
| 320 |
<p>Gets all /etc/crypttab entries</p> |
| 321 |
<div class="refsect3"> |
| 322 |
<a name="udisks-crypttab-monitor-get-entries.parameters"></a><h4>Parameters</h4> |
| 323 |
<div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 324 |
<colgroup> |
| 325 |
<col width="150px" class="parameters_name"> |
| 326 |
<col class="parameters_description"> |
| 327 |
<col width="200px" class="parameters_annotations"> |
| 328 |
</colgroup> |
| 329 |
<tbody><tr> |
| 330 |
<td class="parameter_name"><p>monitor</p></td> |
| 331 |
<td class="parameter_description"><p>A <a class="link" href="UDisksCrypttabMonitor.html" title="UDisksCrypttabMonitor"><span class="type">UDisksCrypttabMonitor</span></a>.</p></td> |
| 332 |
<td class="parameter_annotations"> </td> |
| 333 |
</tr></tbody> |
| 334 |
</table></div> |
| 335 |
</div> |
| 336 |
<div class="refsect3"> |
| 337 |
<a name="udisks-crypttab-monitor-get-entries.returns"></a><h4>Returns</h4> |
| 338 |
<p>A list of <a class="link" href="UDisksCrypttabMonitor.html#UDisksCrypttabEntry"><span class="type">UDisksCrypttabEntry</span></a> objects that must be freed with <code class="function">g_list_free()</code> after each element has been freed with <code class="function">g_object_unref()</code>. </p> |
| 339 |
<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> UDisksCrypttabEntry]</span></p> |
| 340 |
</div> |
| 341 |
</div> |
| 342 |
</div> |
| 343 |
<div class="refsect1"> |
| 344 |
<a name="UDisksCrypttabMonitor.other_details"></a><h2>Types and Values</h2> |
| 345 |
<div class="refsect2"> |
| 346 |
<a name="UDisksCrypttabEntry-struct"></a><h3>UDisksCrypttabEntry</h3> |
| 347 |
<pre class="programlisting">typedef struct _UDisksCrypttabEntry UDisksCrypttabEntry;</pre> |
| 348 |
<p>The <a class="link" href="UDisksCrypttabMonitor.html#UDisksCrypttabEntry"><span class="type">UDisksCrypttabEntry</span></a> structure contains only private data and should |
| 349 |
only be accessed using the provided API.</p> |
| 350 |
</div> |
| 351 |
<hr> |
| 352 |
<div class="refsect2"> |
| 353 |
<a name="UDisksCrypttabMonitor-struct"></a><h3>UDisksCrypttabMonitor</h3> |
| 354 |
<pre class="programlisting">typedef struct _UDisksCrypttabMonitor UDisksCrypttabMonitor;</pre> |
| 355 |
<p>The <a class="link" href="UDisksCrypttabMonitor.html" title="UDisksCrypttabMonitor"><span class="type">UDisksCrypttabMonitor</span></a> structure contains only private data and |
| 356 |
should only be accessed using the provided API.</p> |
| 357 |
</div> |
| 358 |
</div> |
| 359 |
<div class="refsect1"> |
| 360 |
<a name="UDisksCrypttabMonitor.signal-details"></a><h2>Signal Details</h2> |
| 361 |
<div class="refsect2"> |
| 362 |
<a name="UDisksCrypttabMonitor-entry-added"></a><h3>The <code class="literal">“entry-added”</code> signal</h3> |
| 363 |
<pre class="programlisting"><span class="returnvalue">void</span> |
| 364 |
user_function (<a class="link" href="UDisksCrypttabMonitor.html" title="UDisksCrypttabMonitor"><span class="type">UDisksCrypttabMonitor</span></a> *monitor, |
| 365 |
<a class="link" href="UDisksCrypttabMonitor.html#UDisksCrypttabEntry"><span class="type">UDisksCrypttabEntry</span></a> *entry, |
| 366 |
<span class="type">gpointer</span> user_data)</pre> |
| 367 |
<p>Emitted when a crypttab entry is added.</p> |
| 368 |
<p>This signal is emitted in the</p> |
| 369 |
thread-default main loop<p>that <em class="parameter"><code>monitor</code></em> |
| 370 |
was created in.</p> |
| 371 |
<div class="refsect3"> |
| 372 |
<a name="UDisksCrypttabMonitor-entry-added.parameters"></a><h4>Parameters</h4> |
| 373 |
<div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 374 |
<colgroup> |
| 375 |
<col width="150px" class="parameters_name"> |
| 376 |
<col class="parameters_description"> |
| 377 |
<col width="200px" class="parameters_annotations"> |
| 378 |
</colgroup> |
| 379 |
<tbody> |
| 380 |
<tr> |
| 381 |
<td class="parameter_name"><p>monitor</p></td> |
| 382 |
<td class="parameter_description"><p>A <a class="link" href="UDisksCrypttabMonitor.html" title="UDisksCrypttabMonitor"><span class="type">UDisksCrypttabMonitor</span></a>.</p></td> |
| 383 |
<td class="parameter_annotations"> </td> |
| 384 |
</tr> |
| 385 |
<tr> |
| 386 |
<td class="parameter_name"><p>entry</p></td> |
| 387 |
<td class="parameter_description"><p>The <a class="link" href="UDisksCrypttabMonitor.html#UDisksCrypttabEntry"><span class="type">UDisksCrypttabEntry</span></a> that was added.</p></td> |
| 388 |
<td class="parameter_annotations"> </td> |
| 389 |
</tr> |
| 390 |
<tr> |
| 391 |
<td class="parameter_name"><p>user_data</p></td> |
| 392 |
<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td> |
| 393 |
<td class="parameter_annotations"> </td> |
| 394 |
</tr> |
| 395 |
</tbody> |
| 396 |
</table></div> |
| 397 |
</div> |
| 398 |
<p>Flags: Has Details</p> |
| 399 |
</div> |
| 400 |
<hr> |
| 401 |
<div class="refsect2"> |
| 402 |
<a name="UDisksCrypttabMonitor-entry-removed"></a><h3>The <code class="literal">“entry-removed”</code> signal</h3> |
| 403 |
<pre class="programlisting"><span class="returnvalue">void</span> |
| 404 |
user_function (<a class="link" href="UDisksCrypttabMonitor.html" title="UDisksCrypttabMonitor"><span class="type">UDisksCrypttabMonitor</span></a> *monitor, |
| 405 |
<a class="link" href="UDisksCrypttabMonitor.html#UDisksCrypttabEntry"><span class="type">UDisksCrypttabEntry</span></a> *entry, |
| 406 |
<span class="type">gpointer</span> user_data)</pre> |
| 407 |
<p>Emitted when a crypttab entry is removed.</p> |
| 408 |
<p>This signal is emitted in the</p> |
| 409 |
thread-default main loop<p>that <em class="parameter"><code>monitor</code></em> |
| 410 |
was created in.</p> |
| 411 |
<div class="refsect3"> |
| 412 |
<a name="UDisksCrypttabMonitor-entry-removed.parameters"></a><h4>Parameters</h4> |
| 413 |
<div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 414 |
<colgroup> |
| 415 |
<col width="150px" class="parameters_name"> |
| 416 |
<col class="parameters_description"> |
| 417 |
<col width="200px" class="parameters_annotations"> |
| 418 |
</colgroup> |
| 419 |
<tbody> |
| 420 |
<tr> |
| 421 |
<td class="parameter_name"><p>monitor</p></td> |
| 422 |
<td class="parameter_description"><p>A <a class="link" href="UDisksCrypttabMonitor.html" title="UDisksCrypttabMonitor"><span class="type">UDisksCrypttabMonitor</span></a>.</p></td> |
| 423 |
<td class="parameter_annotations"> </td> |
| 424 |
</tr> |
| 425 |
<tr> |
| 426 |
<td class="parameter_name"><p>entry</p></td> |
| 427 |
<td class="parameter_description"><p>The <a class="link" href="UDisksCrypttabMonitor.html#UDisksCrypttabEntry"><span class="type">UDisksCrypttabEntry</span></a> that was removed.</p></td> |
| 428 |
<td class="parameter_annotations"> </td> |
| 429 |
</tr> |
| 430 |
<tr> |
| 431 |
<td class="parameter_name"><p>user_data</p></td> |
| 432 |
<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td> |
| 433 |
<td class="parameter_annotations"> </td> |
| 434 |
</tr> |
| 435 |
</tbody> |
| 436 |
</table></div> |
| 437 |
</div> |
| 438 |
<p>Flags: Has Details</p> |
| 439 |
</div> |
| 440 |
</div> |
| 441 |
</div> |
| 442 |
<div class="footer"> |
| 443 |
<hr>Generated by GTK-Doc V1.35.1</div> |
| 444 |
</body> |
| 445 |
</html> |