This file is indexed.

/usr/share/gtk-doc/html/libsecret-1/migrating-misc.html is in libsecret-1-dev 0.16-0ubuntu1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Errors and cancellation</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="index.html" title="Libsecret Library Reference Manual">
<link rel="up" href="migrating-api.html" title="API conversion">
<link rel="prev" href="migrating-memory.html" title="Non-pageable memory">
<link rel="next" href="annotation-glossary.html" title="Annotation Glossary">
<meta name="generator" content="GTK-Doc V1.19 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle">
<td><a accesskey="p" href="migrating-memory.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="migrating-api.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">Libsecret Library Reference Manual</th>
<td><a accesskey="n" href="annotation-glossary.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr></table>
<div class="section">
<div class="titlepage"><div><div><h2 class="title" style="clear: both">
<a name="migrating-misc"></a>Errors and cancellation</h2></div></div></div>
<p>libsecret uses standard the standard <a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> idiom
	to cancel operations.</p>
<p>It is not necessary to check whether the keyring daemon is
	available before using it. It is started automatically.</p>
<p>Errors are returned as standard <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> in the usual way.
	There are fewer errors that are worth handling in an intelligent way,
	exceptions are in the <a class="link" href="SecretError.html" title="SecretError"><span class="type">SecretError</span></a> enumeration. It is not recommended
	to display any <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> message returned by libsecret to the user. Most
	of the possible errors are DBus communication problems or similar.</p>
<p>Replacements for related libgnome-keyring functions and types
	are described below:
	</p>
<div class="table">
<a name="id-1.6.3.12.5.1"></a><p class="title"><b>Table 10. </b></p>
<div class="table-contents"><table border="1">
<colgroup>
<col>
<col>
</colgroup>
<thead><tr>
<th>libgnome-keyring</th>
<th>libsecret</th>
</tr></thead>
<tbody>
<tr>
<td><a href="/usr/share/gtk-doc/html/gnome-keyring/gnome-keyring-Miscellaneous-Functions.html#gnome-keyring-cancel-request"><code class="function">gnome_keyring_cancel_request()</code></a></td>
<td>
<a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html#g-cancellable-cancel"><code class="function">g_cancellable_cancel()</code></a> on a <a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> passed to the relevant operation</td>
</tr>
<tr>
<td><a href="/usr/share/gtk-doc/html/gnome-keyring/gnome-keyring-Miscellaneous-Functions.html#gnome-keyring-is-available"><code class="function">gnome_keyring_is_available()</code></a></td>
<td>no equivalent, the secret service is autostarted as necessary</td>
</tr>
<tr>
<td><a href="/usr/share/gtk-doc/html/gnome-keyring/gnome-keyring-Result-Codes.html#gnome-keyring-result-to-message"><code class="function">gnome_keyring_result_to_message()</code></a></td>
<td>use the message in the <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>, although most failures are not appropriate for display to the user</td>
</tr>
<tr>
<td><a href="/usr/share/gtk-doc/html/gnome-keyring/gnome-keyring-Result-Codes.html#GNOME-KEYRING-RESULT-OK:CAPS"><code class="literal">GNOME_KEYRING_RESULT_OK</code></a></td>
<td>no <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> returned</td>
</tr>
<tr>
<td><a href="/usr/share/gtk-doc/html/gnome-keyring/gnome-keyring-Result-Codes.html#GNOME-KEYRING-RESULT-DENIED:CAPS"><code class="literal">GNOME_KEYRING_RESULT_DENIED</code></a></td>
<td>no longer used, item or collection is simply not unlocked</td>
</tr>
<tr>
<td><a href="/usr/share/gtk-doc/html/gnome-keyring/gnome-keyring-Result-Codes.html#GNOME-KEYRING-RESULT-NO-KEYRING-DAEMON:CAPS"><code class="literal">GNOME_KEYRING_RESULT_NO_KEYRING_DAEMON</code></a></td>
<td><a href="http://library.gnome.org/devel/gio/unstable/gio-GDBusError.html#G-DBUS-ERROR-SPAWN-SERVICE-NOT-FOUND:CAPS"><code class="literal">G_DBUS_ERROR_SPAWN_SERVICE_NOT_FOUND</code></a></td>
</tr>
<tr>
<td><a href="/usr/share/gtk-doc/html/gnome-keyring/gnome-keyring-Result-Codes.html#GNOME-KEYRING-RESULT-ALREADY-UNLOCKED:CAPS"><code class="literal">GNOME_KEYRING_RESULT_ALREADY_UNLOCKED</code></a></td>
<td>no error, success returned</td>
</tr>
<tr>
<td><a href="/usr/share/gtk-doc/html/gnome-keyring/gnome-keyring-Result-Codes.html#GNOME-KEYRING-RESULT-NO-SUCH-KEYRING:CAPS"><code class="literal">GNOME_KEYRING_RESULT_NO_SUCH_KEYRING</code></a></td>
<td>keyrings no longer have names, accessing an missing DBus object has usual failure</td>
</tr>
<tr>
<td><a href="/usr/share/gtk-doc/html/gnome-keyring/gnome-keyring-Result-Codes.html#GNOME-KEYRING-RESULT-BAD-ARGUMENTS:CAPS"><code class="literal">GNOME_KEYRING_RESULT_BAD_ARGUMENTS</code></a></td>
<td>
<a href="http://library.gnome.org/devel/gio/unstable/gio-GDBusError.html#G-DBUS-ERROR-INVALID-ARGS:CAPS"><code class="literal">G_DBUS_ERROR_INVALID_ARGS</code></a> or precondition failure in libsecret, this is always
			a programmer error</td>
</tr>
<tr>
<td><a href="/usr/share/gtk-doc/html/gnome-keyring/gnome-keyring-Result-Codes.html#GNOME-KEYRING-RESULT-IO-ERROR:CAPS"><code class="literal">GNOME_KEYRING_RESULT_IO_ERROR</code></a></td>
<td>relevant DBus errors, or <a class="link" href="SecretError.html#SECRET-ERROR-PROTOCOL:CAPS"><code class="literal">SECRET_ERROR_PROTOCOL</code></a>
</td>
</tr>
<tr>
<td><a href="/usr/share/gtk-doc/html/gnome-keyring/gnome-keyring-Result-Codes.html#GNOME-KEYRING-RESULT-CANCELLED:CAPS"><code class="literal">GNOME_KEYRING_RESULT_CANCELLED</code></a></td>
<td><a href="http://library.gnome.org/devel/gio/unstable/gio-GIOError.html#G-IO-ERROR-CANCELLED:CAPS"><code class="literal">G_IO_ERROR_CANCELLED</code></a></td>
</tr>
<tr>
<td><a href="/usr/share/gtk-doc/html/gnome-keyring/gnome-keyring-Result-Codes.html#GNOME-KEYRING-RESULT-KEYRING-ALREADY-EXISTS:CAPS"><code class="literal">GNOME_KEYRING_RESULT_KEYRING_ALREADY_EXISTS</code></a></td>
<td>no error, simply returns already existing keyring</td>
</tr>
<tr>
<td><a href="/usr/share/gtk-doc/html/gnome-keyring/gnome-keyring-Result-Codes.html#GNOME-KEYRING-RESULT-NO-MATCH:CAPS"><code class="literal">GNOME_KEYRING_RESULT_NO_MATCH</code></a></td>
<td>on error, an empty list is returned</td>
</tr>
<tr>
<td><a href="/usr/share/gtk-doc/html/gnome-keyring/gnome-keyring-Miscellaneous-Functions.html#gnome-keyring-string-list-free"><code class="function">gnome_keyring_string_list_free()</code></a></td>
<td>no equivalent</td>
</tr>
</tbody>
</table></div>
</div>
<p><br class="table-break"></p>
</div>
<div class="footer">
<hr>
          Generated by GTK-Doc V1.19</div>
</body>
</html>