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>Keyrings</title>
6
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
7
<link rel="home" href="index.html" title="gnome-keyring Reference Manual">
8
<link rel="up" href="ch01.html" title="gnome-keyring API Reference">
9
<link rel="prev" href="gnome-keyring-gnome-keyring-password.html" title="Simple Password Storage">
10
<link rel="next" href="gnome-keyring-gnome-keyring-keyring-info.html" title="Keyring Info">
11
<meta name="generator" content="GTK-Doc V1.11 (XML mode)">
12
<link rel="stylesheet" href="style.css" type="text/css">
13
<link rel="chapter" href="ch01.html" title="gnome-keyring API Reference">
15
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
16
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
18
<td><a accesskey="p" href="gnome-keyring-gnome-keyring-password.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
19
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
20
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
21
<th width="100%" align="center">gnome-keyring Reference Manual</th>
22
<td><a accesskey="n" href="gnome-keyring-gnome-keyring-keyring-info.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
24
<tr><td colspan="5" class="shortcuts">
25
<a href="#gnome-keyring-gnome-keyring-keyrings.synopsis" class="shortcut">Top</a>
27
<a href="#gnome-keyring-gnome-keyring-keyrings.description" class="shortcut">Description</a>
30
<div class="refentry" title="Keyrings">
31
<a name="gnome-keyring-gnome-keyring-keyrings"></a><div class="titlepage"></div>
32
<div class="refnamediv"><table width="100%"><tr>
34
<h2><span class="refentrytitle"><a name="gnome-keyring-gnome-keyring-keyrings.top_of_page"></a>Keyrings</span></h2>
35
<p>Keyrings — Listing and managing keyrings</p>
37
<td valign="top" align="right"></td>
39
<div class="refsynopsisdiv" title="Synopsis">
40
<a name="gnome-keyring-gnome-keyring-keyrings.synopsis"></a><h2>Synopsis</h2>
41
<pre class="synopsis">
42
void (<a class="link" href="gnome-keyring-gnome-keyring-keyrings.html#GnomeKeyringOperationGetKeyringInfoCallback" title="GnomeKeyringOperationGetKeyringInfoCallback ()">*GnomeKeyringOperationGetKeyringInfoCallback</a>)
43
(<a class="link" href="gnome-keyring-gnome-keyring-result.html#GnomeKeyringResult" title="enum GnomeKeyringResult">GnomeKeyringResult</a> result,
44
<a class="link" href="gnome-keyring-gnome-keyring-keyring-info.html#GnomeKeyringInfo" title="GnomeKeyringInfo">GnomeKeyringInfo</a> *info,
46
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
49
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
50
>gpointer</a> <a class="link" href="gnome-keyring-gnome-keyring-keyrings.html#gnome-keyring-set-default-keyring" title="gnome_keyring_set_default_keyring ()">gnome_keyring_set_default_keyring</a> (const char *keyring,
51
<a class="link" href="gnome-keyring-gnome-keyring-generic-callbacks.html#GnomeKeyringOperationDoneCallback" title="GnomeKeyringOperationDoneCallback ()">GnomeKeyringOperationDoneCallback</a> callback,
53
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
56
href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"
57
>GDestroyNotify</a> destroy_data);
58
<a class="link" href="gnome-keyring-gnome-keyring-result.html#GnomeKeyringResult" title="enum GnomeKeyringResult">GnomeKeyringResult</a> <a class="link" href="gnome-keyring-gnome-keyring-keyrings.html#gnome-keyring-set-default-keyring-sync" title="gnome_keyring_set_default_keyring_sync ()">gnome_keyring_set_default_keyring_sync</a>
59
(const char *keyring);
61
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
62
>gpointer</a> <a class="link" href="gnome-keyring-gnome-keyring-keyrings.html#gnome-keyring-get-default-keyring" title="gnome_keyring_get_default_keyring ()">gnome_keyring_get_default_keyring</a> (<a class="link" href="gnome-keyring-gnome-keyring-generic-callbacks.html#GnomeKeyringOperationGetStringCallback" title="GnomeKeyringOperationGetStringCallback ()">GnomeKeyringOperationGetStringCallback</a> callback,
64
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
67
href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"
68
>GDestroyNotify</a> destroy_data);
69
<a class="link" href="gnome-keyring-gnome-keyring-result.html#GnomeKeyringResult" title="enum GnomeKeyringResult">GnomeKeyringResult</a> <a class="link" href="gnome-keyring-gnome-keyring-keyrings.html#gnome-keyring-get-default-keyring-sync" title="gnome_keyring_get_default_keyring_sync ()">gnome_keyring_get_default_keyring_sync</a>
72
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
73
>gpointer</a> <a class="link" href="gnome-keyring-gnome-keyring-keyrings.html#gnome-keyring-list-keyring-names" title="gnome_keyring_list_keyring_names ()">gnome_keyring_list_keyring_names</a> (<a class="link" href="gnome-keyring-gnome-keyring-generic-callbacks.html#GnomeKeyringOperationGetListCallback" title="GnomeKeyringOperationGetListCallback ()">GnomeKeyringOperationGetListCallback</a> callback,
75
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
78
href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"
79
>GDestroyNotify</a> destroy_data);
80
<a class="link" href="gnome-keyring-gnome-keyring-result.html#GnomeKeyringResult" title="enum GnomeKeyringResult">GnomeKeyringResult</a> <a class="link" href="gnome-keyring-gnome-keyring-keyrings.html#gnome-keyring-list-keyring-names-sync" title="gnome_keyring_list_keyring_names_sync ()">gnome_keyring_list_keyring_names_sync</a>
82
href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"
83
>GList</a> **keyrings);
85
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
86
>gpointer</a> <a class="link" href="gnome-keyring-gnome-keyring-keyrings.html#gnome-keyring-lock-all" title="gnome_keyring_lock_all ()">gnome_keyring_lock_all</a> (<a class="link" href="gnome-keyring-gnome-keyring-generic-callbacks.html#GnomeKeyringOperationDoneCallback" title="GnomeKeyringOperationDoneCallback ()">GnomeKeyringOperationDoneCallback</a> callback,
88
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
91
href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"
92
>GDestroyNotify</a> destroy_data);
93
<a class="link" href="gnome-keyring-gnome-keyring-result.html#GnomeKeyringResult" title="enum GnomeKeyringResult">GnomeKeyringResult</a> <a class="link" href="gnome-keyring-gnome-keyring-keyrings.html#gnome-keyring-lock-all-sync" title="gnome_keyring_lock_all_sync ()">gnome_keyring_lock_all_sync</a> (void);
95
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
96
>gpointer</a> <a class="link" href="gnome-keyring-gnome-keyring-keyrings.html#gnome-keyring-create" title="gnome_keyring_create ()">gnome_keyring_create</a> (const char *keyring_name,
98
<a class="link" href="gnome-keyring-gnome-keyring-generic-callbacks.html#GnomeKeyringOperationDoneCallback" title="GnomeKeyringOperationDoneCallback ()">GnomeKeyringOperationDoneCallback</a> callback,
100
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
103
href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"
104
>GDestroyNotify</a> destroy_data);
105
<a class="link" href="gnome-keyring-gnome-keyring-result.html#GnomeKeyringResult" title="enum GnomeKeyringResult">GnomeKeyringResult</a> <a class="link" href="gnome-keyring-gnome-keyring-keyrings.html#gnome-keyring-create-sync" title="gnome_keyring_create_sync ()">gnome_keyring_create_sync</a> (const char *keyring_name,
106
const char *password);
108
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
109
>gpointer</a> <a class="link" href="gnome-keyring-gnome-keyring-keyrings.html#gnome-keyring-unlock" title="gnome_keyring_unlock ()">gnome_keyring_unlock</a> (const char *keyring,
110
const char *password,
111
<a class="link" href="gnome-keyring-gnome-keyring-generic-callbacks.html#GnomeKeyringOperationDoneCallback" title="GnomeKeyringOperationDoneCallback ()">GnomeKeyringOperationDoneCallback</a> callback,
113
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
116
href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"
117
>GDestroyNotify</a> destroy_data);
118
<a class="link" href="gnome-keyring-gnome-keyring-result.html#GnomeKeyringResult" title="enum GnomeKeyringResult">GnomeKeyringResult</a> <a class="link" href="gnome-keyring-gnome-keyring-keyrings.html#gnome-keyring-unlock-sync" title="gnome_keyring_unlock_sync ()">gnome_keyring_unlock_sync</a> (const char *keyring,
119
const char *password);
121
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
122
>gpointer</a> <a class="link" href="gnome-keyring-gnome-keyring-keyrings.html#gnome-keyring-lock" title="gnome_keyring_lock ()">gnome_keyring_lock</a> (const char *keyring,
123
<a class="link" href="gnome-keyring-gnome-keyring-generic-callbacks.html#GnomeKeyringOperationDoneCallback" title="GnomeKeyringOperationDoneCallback ()">GnomeKeyringOperationDoneCallback</a> callback,
125
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
128
href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"
129
>GDestroyNotify</a> destroy_data);
130
<a class="link" href="gnome-keyring-gnome-keyring-result.html#GnomeKeyringResult" title="enum GnomeKeyringResult">GnomeKeyringResult</a> <a class="link" href="gnome-keyring-gnome-keyring-keyrings.html#gnome-keyring-lock-sync" title="gnome_keyring_lock_sync ()">gnome_keyring_lock_sync</a> (const char *keyring);
132
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
133
>gpointer</a> <a class="link" href="gnome-keyring-gnome-keyring-keyrings.html#gnome-keyring-delete" title="gnome_keyring_delete ()">gnome_keyring_delete</a> (const char *keyring,
134
<a class="link" href="gnome-keyring-gnome-keyring-generic-callbacks.html#GnomeKeyringOperationDoneCallback" title="GnomeKeyringOperationDoneCallback ()">GnomeKeyringOperationDoneCallback</a> callback,
136
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
139
href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"
140
>GDestroyNotify</a> destroy_data);
141
<a class="link" href="gnome-keyring-gnome-keyring-result.html#GnomeKeyringResult" title="enum GnomeKeyringResult">GnomeKeyringResult</a> <a class="link" href="gnome-keyring-gnome-keyring-keyrings.html#gnome-keyring-delete-sync" title="gnome_keyring_delete_sync ()">gnome_keyring_delete_sync</a> (const char *keyring);
143
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
144
>gpointer</a> <a class="link" href="gnome-keyring-gnome-keyring-keyrings.html#gnome-keyring-get-info" title="gnome_keyring_get_info ()">gnome_keyring_get_info</a> (const char *keyring,
145
<a class="link" href="gnome-keyring-gnome-keyring-keyrings.html#GnomeKeyringOperationGetKeyringInfoCallback" title="GnomeKeyringOperationGetKeyringInfoCallback ()">GnomeKeyringOperationGetKeyringInfoCallback</a> callback,
147
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
150
href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"
151
>GDestroyNotify</a> destroy_data);
152
<a class="link" href="gnome-keyring-gnome-keyring-result.html#GnomeKeyringResult" title="enum GnomeKeyringResult">GnomeKeyringResult</a> <a class="link" href="gnome-keyring-gnome-keyring-keyrings.html#gnome-keyring-get-info-sync" title="gnome_keyring_get_info_sync ()">gnome_keyring_get_info_sync</a> (const char *keyring,
153
<a class="link" href="gnome-keyring-gnome-keyring-keyring-info.html#GnomeKeyringInfo" title="GnomeKeyringInfo">GnomeKeyringInfo</a> **info);
155
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
156
>gpointer</a> <a class="link" href="gnome-keyring-gnome-keyring-keyrings.html#gnome-keyring-set-info" title="gnome_keyring_set_info ()">gnome_keyring_set_info</a> (const char *keyring,
157
<a class="link" href="gnome-keyring-gnome-keyring-keyring-info.html#GnomeKeyringInfo" title="GnomeKeyringInfo">GnomeKeyringInfo</a> *info,
158
<a class="link" href="gnome-keyring-gnome-keyring-generic-callbacks.html#GnomeKeyringOperationDoneCallback" title="GnomeKeyringOperationDoneCallback ()">GnomeKeyringOperationDoneCallback</a> callback,
160
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
163
href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"
164
>GDestroyNotify</a> destroy_data);
165
<a class="link" href="gnome-keyring-gnome-keyring-result.html#GnomeKeyringResult" title="enum GnomeKeyringResult">GnomeKeyringResult</a> <a class="link" href="gnome-keyring-gnome-keyring-keyrings.html#gnome-keyring-set-info-sync" title="gnome_keyring_set_info_sync ()">gnome_keyring_set_info_sync</a> (const char *keyring,
166
<a class="link" href="gnome-keyring-gnome-keyring-keyring-info.html#GnomeKeyringInfo" title="GnomeKeyringInfo">GnomeKeyringInfo</a> *info);
168
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
169
>gpointer</a> <a class="link" href="gnome-keyring-gnome-keyring-keyrings.html#gnome-keyring-change-password" title="gnome_keyring_change_password ()">gnome_keyring_change_password</a> (const char *keyring,
170
const char *original,
171
const char *password,
172
<a class="link" href="gnome-keyring-gnome-keyring-generic-callbacks.html#GnomeKeyringOperationDoneCallback" title="GnomeKeyringOperationDoneCallback ()">GnomeKeyringOperationDoneCallback</a> callback,
174
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
177
href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"
178
>GDestroyNotify</a> destroy_data);
179
<a class="link" href="gnome-keyring-gnome-keyring-result.html#GnomeKeyringResult" title="enum GnomeKeyringResult">GnomeKeyringResult</a> <a class="link" href="gnome-keyring-gnome-keyring-keyrings.html#gnome-keyring-change-password-sync" title="gnome_keyring_change_password_sync ()">gnome_keyring_change_password_sync</a> (const char *keyring,
180
const char *original,
181
const char *password);
183
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
184
>gpointer</a> <a class="link" href="gnome-keyring-gnome-keyring-keyrings.html#gnome-keyring-list-item-ids" title="gnome_keyring_list_item_ids ()">gnome_keyring_list_item_ids</a> (const char *keyring,
185
<a class="link" href="gnome-keyring-gnome-keyring-generic-callbacks.html#GnomeKeyringOperationGetListCallback" title="GnomeKeyringOperationGetListCallback ()">GnomeKeyringOperationGetListCallback</a> callback,
187
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
190
href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"
191
>GDestroyNotify</a> destroy_data);
192
<a class="link" href="gnome-keyring-gnome-keyring-result.html#GnomeKeyringResult" title="enum GnomeKeyringResult">GnomeKeyringResult</a> <a class="link" href="gnome-keyring-gnome-keyring-keyrings.html#gnome-keyring-list-item-ids-sync" title="gnome_keyring_list_item_ids_sync ()">gnome_keyring_list_item_ids_sync</a> (const char *keyring,
194
href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"
198
<div class="refsect1" title="Description">
199
<a name="gnome-keyring-gnome-keyring-keyrings.description"></a><h2>Description</h2>
201
<code class="literal">gnome</code>-keyring-daemon manages multiple keyrings. Each keyring can store one or more items containing secrets.
204
One of the keyrings is the default keyring, which can in many cases be used by specifying <a
205
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL--CAPS"
206
><code class="literal">NULL</code></a> for a keyring name.
209
Each keyring can be in a locked or unlocked state. A password must be specified, either by the user or the calling application, to unlock the keyring.</p>
213
<div class="refsect1" title="Details">
214
<a name="gnome-keyring-gnome-keyring-keyrings.details"></a><h2>Details</h2>
215
<div class="refsect2" title="GnomeKeyringOperationGetKeyringInfoCallback ()">
216
<a name="GnomeKeyringOperationGetKeyringInfoCallback"></a><h3>GnomeKeyringOperationGetKeyringInfoCallback ()</h3>
217
<pre class="programlisting">void (*GnomeKeyringOperationGetKeyringInfoCallback)
218
(<a class="link" href="gnome-keyring-gnome-keyring-result.html#GnomeKeyringResult" title="enum GnomeKeyringResult">GnomeKeyringResult</a> result,
219
<a class="link" href="gnome-keyring-gnome-keyring-keyring-info.html#GnomeKeyringInfo" title="GnomeKeyringInfo">GnomeKeyringInfo</a> *info,
221
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
222
>gpointer</a> data);</pre>
225
<div class="variablelist"><table border="0">
226
<col align="left" valign="top">
229
<td><p><span class="term"><em class="parameter"><code>result</code></em> :</span></p></td>
234
<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td>
239
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
247
<div class="refsect2" title="gnome_keyring_set_default_keyring ()">
248
<a name="gnome-keyring-set-default-keyring"></a><h3>gnome_keyring_set_default_keyring ()</h3>
249
<pre class="programlisting"><a
250
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
251
>gpointer</a> gnome_keyring_set_default_keyring (const char *keyring,
252
<a class="link" href="gnome-keyring-gnome-keyring-generic-callbacks.html#GnomeKeyringOperationDoneCallback" title="GnomeKeyringOperationDoneCallback ()">GnomeKeyringOperationDoneCallback</a> callback,
254
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
257
href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"
258
>GDestroyNotify</a> destroy_data);</pre>
260
Change the default keyring.
263
For a synchronous version of this function see <a class="link" href="gnome-keyring-gnome-keyring-keyrings.html#gnome-keyring-set-default-keyring-sync" title="gnome_keyring_set_default_keyring_sync ()"><code class="function">gnome_keyring_set_default_keyring_sync()</code></a>.</p>
266
<div class="variablelist"><table border="0">
267
<col align="left" valign="top">
270
<td><p><span class="term"><em class="parameter"><code>keyring</code></em> :</span></p></td>
271
<td> The keyring to make default
275
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
276
<td> A callback which will be called when the request completes or fails.
280
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
281
<td> A pointer to arbitrary data that will be passed to the <em class="parameter"><code>callback</code></em>.
285
<td><p><span class="term"><em class="parameter"><code>destroy_data</code></em> :</span></p></td>
286
<td> A function to free <em class="parameter"><code>data</code></em> when it's no longer needed.
290
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
291
<td> The asychronous request, which can be passed to <a class="link" href="gnome-keyring-gnome-keyring-misc.html#gnome-keyring-cancel-request" title="gnome_keyring_cancel_request ()"><code class="function">gnome_keyring_cancel_request()</code></a>.
298
<div class="refsect2" title="gnome_keyring_set_default_keyring_sync ()">
299
<a name="gnome-keyring-set-default-keyring-sync"></a><h3>gnome_keyring_set_default_keyring_sync ()</h3>
300
<pre class="programlisting"><a class="link" href="gnome-keyring-gnome-keyring-result.html#GnomeKeyringResult" title="enum GnomeKeyringResult">GnomeKeyringResult</a> gnome_keyring_set_default_keyring_sync
301
(const char *keyring);</pre>
303
Change the default keyring.
306
For an asynchronous version of this function see <a class="link" href="gnome-keyring-gnome-keyring-keyrings.html#gnome-keyring-set-default-keyring" title="gnome_keyring_set_default_keyring ()"><code class="function">gnome_keyring_set_default_keyring()</code></a>.</p>
309
<div class="variablelist"><table border="0">
310
<col align="left" valign="top">
313
<td><p><span class="term"><em class="parameter"><code>keyring</code></em> :</span></p></td>
314
<td> The keyring to make default
318
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
319
<td> <code class="literal">GNOME_KEYRING_RESULT_OK</code> if the operation was succcessful or
320
an error result otherwise.
327
<div class="refsect2" title="gnome_keyring_get_default_keyring ()">
328
<a name="gnome-keyring-get-default-keyring"></a><h3>gnome_keyring_get_default_keyring ()</h3>
329
<pre class="programlisting"><a
330
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
331
>gpointer</a> gnome_keyring_get_default_keyring (<a class="link" href="gnome-keyring-gnome-keyring-generic-callbacks.html#GnomeKeyringOperationGetStringCallback" title="GnomeKeyringOperationGetStringCallback ()">GnomeKeyringOperationGetStringCallback</a> callback,
333
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
336
href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"
337
>GDestroyNotify</a> destroy_data);</pre>
339
Get the default keyring name, which will be passed to the <em class="parameter"><code>callback</code></em>. If no
340
default keyring exists, then <a
341
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL--CAPS"
342
><code class="literal">NULL</code></a> will be passed to the <em class="parameter"><code>callback</code></em>. The
343
string will be freed after <em class="parameter"><code>callback</code></em> returns.
346
For a synchronous version of this function see <a class="link" href="gnome-keyring-gnome-keyring-keyrings.html#gnome-keyring-get-default-keyring-sync" title="gnome_keyring_get_default_keyring_sync ()"><code class="function">gnome_keyring_get_default_keyring_sync()</code></a>.</p>
349
<div class="variablelist"><table border="0">
350
<col align="left" valign="top">
353
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
354
<td> A callback which will be called when the request completes or fails.
358
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
359
<td> A pointer to arbitrary data that will be passed to the <em class="parameter"><code>callback</code></em>.
363
<td><p><span class="term"><em class="parameter"><code>destroy_data</code></em> :</span></p></td>
364
<td> A function to free <em class="parameter"><code>data</code></em> when it's no longer needed.
368
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
369
<td> The asychronous request, which can be passed to <a class="link" href="gnome-keyring-gnome-keyring-misc.html#gnome-keyring-cancel-request" title="gnome_keyring_cancel_request ()"><code class="function">gnome_keyring_cancel_request()</code></a>.
376
<div class="refsect2" title="gnome_keyring_get_default_keyring_sync ()">
377
<a name="gnome-keyring-get-default-keyring-sync"></a><h3>gnome_keyring_get_default_keyring_sync ()</h3>
378
<pre class="programlisting"><a class="link" href="gnome-keyring-gnome-keyring-result.html#GnomeKeyringResult" title="enum GnomeKeyringResult">GnomeKeyringResult</a> gnome_keyring_get_default_keyring_sync
379
(char **keyring);</pre>
381
Get the default keyring name.
384
The string returned in <em class="parameter"><code>keyring</code></em> must be freed with <a
385
href="http://library.gnome.org/devel/glib/unstable/glib-Memory-Allocation.html#g-free"
386
><code class="function">g_free()</code></a>.
389
For an asynchronous version of this function see <a class="link" href="gnome-keyring-gnome-keyring-keyrings.html#gnome-keyring-get-default-keyring" title="gnome_keyring_get_default_keyring ()"><code class="function">gnome_keyring_get_default_keyring()</code></a>.</p>
392
<div class="variablelist"><table border="0">
393
<col align="left" valign="top">
396
<td><p><span class="term"><em class="parameter"><code>keyring</code></em> :</span></p></td>
397
<td> Location for the default keyring name to be returned.
401
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
402
<td> <code class="literal">GNOME_KEYRING_RESULT_OK</code> if the operation was succcessful or
403
an error result otherwise.
410
<div class="refsect2" title="gnome_keyring_list_keyring_names ()">
411
<a name="gnome-keyring-list-keyring-names"></a><h3>gnome_keyring_list_keyring_names ()</h3>
412
<pre class="programlisting"><a
413
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
414
>gpointer</a> gnome_keyring_list_keyring_names (<a class="link" href="gnome-keyring-gnome-keyring-generic-callbacks.html#GnomeKeyringOperationGetListCallback" title="GnomeKeyringOperationGetListCallback ()">GnomeKeyringOperationGetListCallback</a> callback,
416
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
419
href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"
420
>GDestroyNotify</a> destroy_data);</pre>
422
Get a list of keyring names.
426
href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"
427
><code class="literal">GList</code></a> of null terminated strings will be passed to
428
the <em class="parameter"><code>callback</code></em>. If no keyrings exist then an empty list will be passed to the
429
<em class="parameter"><code>callback</code></em>. The list is freed after <em class="parameter"><code>callback</code></em> returns.
432
For a synchronous version of this function see <code class="function">gnome_keyring_list_keyrings_sync()</code>.</p>
435
<div class="variablelist"><table border="0">
436
<col align="left" valign="top">
439
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
440
<td> A callback which will be called when the request completes or fails.
444
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
445
<td> A pointer to arbitrary data that will be passed to the <em class="parameter"><code>callback</code></em>.
449
<td><p><span class="term"><em class="parameter"><code>destroy_data</code></em> :</span></p></td>
450
<td> A function to free <em class="parameter"><code>data</code></em> when it's no longer needed.
454
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
455
<td> The asychronous request, which can be passed to <a class="link" href="gnome-keyring-gnome-keyring-misc.html#gnome-keyring-cancel-request" title="gnome_keyring_cancel_request ()"><code class="function">gnome_keyring_cancel_request()</code></a>.
462
<div class="refsect2" title="gnome_keyring_list_keyring_names_sync ()">
463
<a name="gnome-keyring-list-keyring-names-sync"></a><h3>gnome_keyring_list_keyring_names_sync ()</h3>
464
<pre class="programlisting"><a class="link" href="gnome-keyring-gnome-keyring-result.html#GnomeKeyringResult" title="enum GnomeKeyringResult">GnomeKeyringResult</a> gnome_keyring_list_keyring_names_sync
466
href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"
467
>GList</a> **keyrings);</pre>
469
Get a list of keyring names.
472
The list returned in in <em class="parameter"><code>keyrings</code></em> must be freed using
473
<a class="link" href="gnome-keyring-gnome-keyring-misc.html#gnome-keyring-string-list-free" title="gnome_keyring_string_list_free ()"><code class="function">gnome_keyring_string_list_free()</code></a>.
476
For an asynchronous version of this function see <a class="link" href="gnome-keyring-gnome-keyring-keyrings.html#gnome-keyring-list-keyring-names" title="gnome_keyring_list_keyring_names ()"><code class="function">gnome_keyring_list_keyring_names()</code></a>.</p>
479
<div class="variablelist"><table border="0">
480
<col align="left" valign="top">
483
<td><p><span class="term"><em class="parameter"><code>keyrings</code></em> :</span></p></td>
484
<td> Location for a <a
485
href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"
486
><code class="literal">GList</code></a> of keyring names to be returned.
490
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
491
<td> <code class="literal">GNOME_KEYRING_RESULT_OK</code> if the operation was succcessful or
492
an error result otherwise.
499
<div class="refsect2" title="gnome_keyring_lock_all ()">
500
<a name="gnome-keyring-lock-all"></a><h3>gnome_keyring_lock_all ()</h3>
501
<pre class="programlisting"><a
502
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
503
>gpointer</a> gnome_keyring_lock_all (<a class="link" href="gnome-keyring-gnome-keyring-generic-callbacks.html#GnomeKeyringOperationDoneCallback" title="GnomeKeyringOperationDoneCallback ()">GnomeKeyringOperationDoneCallback</a> callback,
505
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
508
href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"
509
>GDestroyNotify</a> destroy_data);</pre>
511
Lock all the keyrings, so that their contents may not be accessed without
512
first unlocking them with a password.
515
For a synchronous version of this function see <a class="link" href="gnome-keyring-gnome-keyring-keyrings.html#gnome-keyring-lock-all-sync" title="gnome_keyring_lock_all_sync ()"><code class="function">gnome_keyring_lock_all_sync()</code></a>.</p>
518
<div class="variablelist"><table border="0">
519
<col align="left" valign="top">
522
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
523
<td> A callback which will be called when the request completes or fails.
527
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
528
<td> A pointer to arbitrary data that will be passed to the <em class="parameter"><code>callback</code></em>.
532
<td><p><span class="term"><em class="parameter"><code>destroy_data</code></em> :</span></p></td>
533
<td> A function to free <em class="parameter"><code>data</code></em> when it's no longer needed.
537
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
538
<td> The asychronous request, which can be passed to <a class="link" href="gnome-keyring-gnome-keyring-misc.html#gnome-keyring-cancel-request" title="gnome_keyring_cancel_request ()"><code class="function">gnome_keyring_cancel_request()</code></a>.
545
<div class="refsect2" title="gnome_keyring_lock_all_sync ()">
546
<a name="gnome-keyring-lock-all-sync"></a><h3>gnome_keyring_lock_all_sync ()</h3>
547
<pre class="programlisting"><a class="link" href="gnome-keyring-gnome-keyring-result.html#GnomeKeyringResult" title="enum GnomeKeyringResult">GnomeKeyringResult</a> gnome_keyring_lock_all_sync (void);</pre>
549
Lock all the keyrings, so that their contents may not eb accessed without
550
first unlocking them with a password.
553
For an asynchronous version of this function see <a class="link" href="gnome-keyring-gnome-keyring-keyrings.html#gnome-keyring-lock-all" title="gnome_keyring_lock_all ()"><code class="function">gnome_keyring_lock_all()</code></a>.</p>
556
<div class="variablelist"><table border="0">
557
<col align="left" valign="top">
559
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
560
<td> <code class="literal">GNOME_KEYRING_RESULT_OK</code> if the operation was succcessful or
561
an error result otherwise.
567
<div class="refsect2" title="gnome_keyring_create ()">
568
<a name="gnome-keyring-create"></a><h3>gnome_keyring_create ()</h3>
569
<pre class="programlisting"><a
570
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
571
>gpointer</a> gnome_keyring_create (const char *keyring_name,
572
const char *password,
573
<a class="link" href="gnome-keyring-gnome-keyring-generic-callbacks.html#GnomeKeyringOperationDoneCallback" title="GnomeKeyringOperationDoneCallback ()">GnomeKeyringOperationDoneCallback</a> callback,
575
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
578
href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"
579
>GDestroyNotify</a> destroy_data);</pre>
581
Create a new keyring with the specified name. In most cases <a
582
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL--CAPS"
583
><code class="literal">NULL</code></a> will be
584
passed as the <em class="parameter"><code>password</code></em>, which will prompt the user to enter a password
588
For a synchronous version of this function see <a class="link" href="gnome-keyring-gnome-keyring-keyrings.html#gnome-keyring-create-sync" title="gnome_keyring_create_sync ()"><code class="function">gnome_keyring_create_sync()</code></a>.</p>
591
<div class="variablelist"><table border="0">
592
<col align="left" valign="top">
595
<td><p><span class="term"><em class="parameter"><code>keyring_name</code></em> :</span></p></td>
596
<td> The new keyring name. Must not be <a
597
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL--CAPS"
598
><code class="literal">NULL</code></a>.
602
<td><p><span class="term"><em class="parameter"><code>password</code></em> :</span></p></td>
603
<td> The password for the new keyring. If <a
604
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL--CAPS"
605
><code class="literal">NULL</code></a> user will be prompted.
609
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
610
<td> A callback which will be called when the request completes or fails.
614
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
615
<td> A pointer to arbitrary data that will be passed to the <em class="parameter"><code>callback</code></em>.
619
<td><p><span class="term"><em class="parameter"><code>destroy_data</code></em> :</span></p></td>
620
<td> A function to free <em class="parameter"><code>data</code></em> when it's no longer needed.
624
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
625
<td> The asychronous request, which can be passed to <a class="link" href="gnome-keyring-gnome-keyring-misc.html#gnome-keyring-cancel-request" title="gnome_keyring_cancel_request ()"><code class="function">gnome_keyring_cancel_request()</code></a>.
632
<div class="refsect2" title="gnome_keyring_create_sync ()">
633
<a name="gnome-keyring-create-sync"></a><h3>gnome_keyring_create_sync ()</h3>
634
<pre class="programlisting"><a class="link" href="gnome-keyring-gnome-keyring-result.html#GnomeKeyringResult" title="enum GnomeKeyringResult">GnomeKeyringResult</a> gnome_keyring_create_sync (const char *keyring_name,
635
const char *password);</pre>
637
Create a new keyring with the specified name. In most cases <a
638
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL--CAPS"
639
><code class="literal">NULL</code></a> will be
640
passed in as the <em class="parameter"><code>password</code></em>, which will prompt the user to enter a password
644
For an asynchronous version of this function see <a class="link" href="gnome-keyring-gnome-keyring-keyrings.html#gnome-keyring-create" title="gnome_keyring_create ()"><code class="function">gnome_keyring_create()</code></a>.</p>
647
<div class="variablelist"><table border="0">
648
<col align="left" valign="top">
651
<td><p><span class="term"><em class="parameter"><code>keyring_name</code></em> :</span></p></td>
652
<td> The new keyring name. Must not be <a
653
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL--CAPS"
654
><code class="literal">NULL</code></a>
658
<td><p><span class="term"><em class="parameter"><code>password</code></em> :</span></p></td>
659
<td> The password for the new keyring. If <a
660
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL--CAPS"
661
><code class="literal">NULL</code></a> user will be prompted.
665
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
666
<td> <code class="literal">GNOME_KEYRING_RESULT_OK</code> if the operation was succcessful or
667
an error result otherwise.
674
<div class="refsect2" title="gnome_keyring_unlock ()">
675
<a name="gnome-keyring-unlock"></a><h3>gnome_keyring_unlock ()</h3>
676
<pre class="programlisting"><a
677
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
678
>gpointer</a> gnome_keyring_unlock (const char *keyring,
679
const char *password,
680
<a class="link" href="gnome-keyring-gnome-keyring-generic-callbacks.html#GnomeKeyringOperationDoneCallback" title="GnomeKeyringOperationDoneCallback ()">GnomeKeyringOperationDoneCallback</a> callback,
682
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
685
href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"
686
>GDestroyNotify</a> destroy_data);</pre>
688
Unlock a <em class="parameter"><code>keyring</code></em>, so that its contents may be accessed. In most cases <a
689
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL--CAPS"
690
><code class="literal">NULL</code></a>
691
will be passed as the <em class="parameter"><code>password</code></em>, which will prompt the user to enter the
695
Most keyring operations involving items require that you first unlock the
696
keyring. One exception is <a class="link" href="gnome-keyring-gnome-keyring-find.html#gnome-keyring-find-items" title="gnome_keyring_find_items ()"><code class="function">gnome_keyring_find_items()</code></a> and related functions.
699
For a synchronous version of this function see <a class="link" href="gnome-keyring-gnome-keyring-keyrings.html#gnome-keyring-unlock-sync" title="gnome_keyring_unlock_sync ()"><code class="function">gnome_keyring_unlock_sync()</code></a>.</p>
702
<div class="variablelist"><table border="0">
703
<col align="left" valign="top">
706
<td><p><span class="term"><em class="parameter"><code>keyring</code></em> :</span></p></td>
707
<td> The name of the keyring to unlock, or <a
708
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL--CAPS"
709
><code class="literal">NULL</code></a> for the default keyring.
713
<td><p><span class="term"><em class="parameter"><code>password</code></em> :</span></p></td>
714
<td> The password to unlock the keyring with, or <a
715
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL--CAPS"
716
><code class="literal">NULL</code></a> to prompt the user.
720
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
721
<td> A callback which will be called when the request completes or fails.
725
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
726
<td> A pointer to arbitrary data that will be passed to the <em class="parameter"><code>callback</code></em>.
730
<td><p><span class="term"><em class="parameter"><code>destroy_data</code></em> :</span></p></td>
731
<td> A function to free <em class="parameter"><code>data</code></em> when it's no longer needed.
735
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
736
<td> The asychronous request, which can be passed to <a class="link" href="gnome-keyring-gnome-keyring-misc.html#gnome-keyring-cancel-request" title="gnome_keyring_cancel_request ()"><code class="function">gnome_keyring_cancel_request()</code></a>.
743
<div class="refsect2" title="gnome_keyring_unlock_sync ()">
744
<a name="gnome-keyring-unlock-sync"></a><h3>gnome_keyring_unlock_sync ()</h3>
745
<pre class="programlisting"><a class="link" href="gnome-keyring-gnome-keyring-result.html#GnomeKeyringResult" title="enum GnomeKeyringResult">GnomeKeyringResult</a> gnome_keyring_unlock_sync (const char *keyring,
746
const char *password);</pre>
748
Lock a <em class="parameter"><code>keyring</code></em>, so that its contents may not be accessed without first
749
supplying a password.
752
Most keyring opretaions involving items require that you first unlock the
753
keyring. One exception is <a class="link" href="gnome-keyring-gnome-keyring-find.html#gnome-keyring-find-items-sync" title="gnome_keyring_find_items_sync ()"><code class="function">gnome_keyring_find_items_sync()</code></a> and related functions.
756
For an asynchronous version of this function see <a class="link" href="gnome-keyring-gnome-keyring-keyrings.html#gnome-keyring-lock" title="gnome_keyring_lock ()"><code class="function">gnome_keyring_lock()</code></a>.</p>
759
<div class="variablelist"><table border="0">
760
<col align="left" valign="top">
763
<td><p><span class="term"><em class="parameter"><code>keyring</code></em> :</span></p></td>
764
<td> The name of the keyring to lock, or <a
765
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL--CAPS"
766
><code class="literal">NULL</code></a> for the default keyring.
770
<td><p><span class="term"><em class="parameter"><code>password</code></em> :</span></p></td>
775
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
776
<td> <code class="literal">GNOME_KEYRING_RESULT_OK</code> if the operation was succcessful or
777
an error result otherwise.
784
<div class="refsect2" title="gnome_keyring_lock ()">
785
<a name="gnome-keyring-lock"></a><h3>gnome_keyring_lock ()</h3>
786
<pre class="programlisting"><a
787
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
788
>gpointer</a> gnome_keyring_lock (const char *keyring,
789
<a class="link" href="gnome-keyring-gnome-keyring-generic-callbacks.html#GnomeKeyringOperationDoneCallback" title="GnomeKeyringOperationDoneCallback ()">GnomeKeyringOperationDoneCallback</a> callback,
791
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
794
href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"
795
>GDestroyNotify</a> destroy_data);</pre>
797
Lock a <em class="parameter"><code>keyring</code></em>, so that its contents may not be accessed without first
798
supplying a password.
801
Most keyring operations involving items require that you first unlock the
802
keyring. One exception is <a class="link" href="gnome-keyring-gnome-keyring-find.html#gnome-keyring-find-items" title="gnome_keyring_find_items ()"><code class="function">gnome_keyring_find_items()</code></a> and related functions.
805
For a synchronous version of this function see <a class="link" href="gnome-keyring-gnome-keyring-keyrings.html#gnome-keyring-lock-sync" title="gnome_keyring_lock_sync ()"><code class="function">gnome_keyring_lock_sync()</code></a>.</p>
808
<div class="variablelist"><table border="0">
809
<col align="left" valign="top">
812
<td><p><span class="term"><em class="parameter"><code>keyring</code></em> :</span></p></td>
813
<td> The name of the keyring to lock, or <a
814
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL--CAPS"
815
><code class="literal">NULL</code></a> for the default keyring.
819
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
820
<td> A callback which will be called when the request completes or fails.
824
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
825
<td> A pointer to arbitrary data that will be passed to the <em class="parameter"><code>callback</code></em>.
829
<td><p><span class="term"><em class="parameter"><code>destroy_data</code></em> :</span></p></td>
830
<td> A function to free <em class="parameter"><code>data</code></em> when it's no longer needed.
834
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
835
<td> The asychronous request, which can be passed to <a class="link" href="gnome-keyring-gnome-keyring-misc.html#gnome-keyring-cancel-request" title="gnome_keyring_cancel_request ()"><code class="function">gnome_keyring_cancel_request()</code></a>.
842
<div class="refsect2" title="gnome_keyring_lock_sync ()">
843
<a name="gnome-keyring-lock-sync"></a><h3>gnome_keyring_lock_sync ()</h3>
844
<pre class="programlisting"><a class="link" href="gnome-keyring-gnome-keyring-result.html#GnomeKeyringResult" title="enum GnomeKeyringResult">GnomeKeyringResult</a> gnome_keyring_lock_sync (const char *keyring);</pre>
847
<div class="variablelist"><table border="0">
848
<col align="left" valign="top">
851
<td><p><span class="term"><em class="parameter"><code>keyring</code></em> :</span></p></td>
856
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
864
<div class="refsect2" title="gnome_keyring_delete ()">
865
<a name="gnome-keyring-delete"></a><h3>gnome_keyring_delete ()</h3>
866
<pre class="programlisting"><a
867
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
868
>gpointer</a> gnome_keyring_delete (const char *keyring,
869
<a class="link" href="gnome-keyring-gnome-keyring-generic-callbacks.html#GnomeKeyringOperationDoneCallback" title="GnomeKeyringOperationDoneCallback ()">GnomeKeyringOperationDoneCallback</a> callback,
871
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
874
href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"
875
>GDestroyNotify</a> destroy_data);</pre>
877
Delete <em class="parameter"><code>keyring</code></em>. Once a keyring is deleted there is no mechanism for
878
recovery of its contents.
881
For a synchronous version of this function see <a class="link" href="gnome-keyring-gnome-keyring-keyrings.html#gnome-keyring-delete-sync" title="gnome_keyring_delete_sync ()"><code class="function">gnome_keyring_delete_sync()</code></a>.</p>
884
<div class="variablelist"><table border="0">
885
<col align="left" valign="top">
888
<td><p><span class="term"><em class="parameter"><code>keyring</code></em> :</span></p></td>
889
<td> The name of the keyring to delete. Cannot be <a
890
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL--CAPS"
891
><code class="literal">NULL</code></a>.
895
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
896
<td> A callback which will be called when the request completes or fails.
900
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
901
<td> A pointer to arbitrary data that will be passed to the <em class="parameter"><code>callback</code></em>.
905
<td><p><span class="term"><em class="parameter"><code>destroy_data</code></em> :</span></p></td>
906
<td> A function to free <em class="parameter"><code>data</code></em> when it's no longer needed.
910
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
911
<td> The asychronous request, which can be passed to <a class="link" href="gnome-keyring-gnome-keyring-misc.html#gnome-keyring-cancel-request" title="gnome_keyring_cancel_request ()"><code class="function">gnome_keyring_cancel_request()</code></a>.
918
<div class="refsect2" title="gnome_keyring_delete_sync ()">
919
<a name="gnome-keyring-delete-sync"></a><h3>gnome_keyring_delete_sync ()</h3>
920
<pre class="programlisting"><a class="link" href="gnome-keyring-gnome-keyring-result.html#GnomeKeyringResult" title="enum GnomeKeyringResult">GnomeKeyringResult</a> gnome_keyring_delete_sync (const char *keyring);</pre>
922
Delete <em class="parameter"><code>keyring</code></em>. Once a keyring is deleted there is no mechanism for
923
recovery of its contents.
926
For an asynchronous version of this function see <a class="link" href="gnome-keyring-gnome-keyring-keyrings.html#gnome-keyring-delete" title="gnome_keyring_delete ()"><code class="function">gnome_keyring_delete()</code></a>.</p>
929
<div class="variablelist"><table border="0">
930
<col align="left" valign="top">
933
<td><p><span class="term"><em class="parameter"><code>keyring</code></em> :</span></p></td>
934
<td> The name of the keyring to delete. Cannot be <a
935
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL--CAPS"
936
><code class="literal">NULL</code></a>
940
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
941
<td> <code class="literal">GNOME_KEYRING_RESULT_OK</code> if the operation was succcessful or
942
an error result otherwise.
949
<div class="refsect2" title="gnome_keyring_get_info ()">
950
<a name="gnome-keyring-get-info"></a><h3>gnome_keyring_get_info ()</h3>
951
<pre class="programlisting"><a
952
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
953
>gpointer</a> gnome_keyring_get_info (const char *keyring,
954
<a class="link" href="gnome-keyring-gnome-keyring-keyrings.html#GnomeKeyringOperationGetKeyringInfoCallback" title="GnomeKeyringOperationGetKeyringInfoCallback ()">GnomeKeyringOperationGetKeyringInfoCallback</a> callback,
956
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
959
href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"
960
>GDestroyNotify</a> destroy_data);</pre>
962
Get information about the <em class="parameter"><code>keyring</code></em>. The resulting <a class="link" href="gnome-keyring-gnome-keyring-keyring-info.html#GnomeKeyringInfo" title="GnomeKeyringInfo"><span class="type">GnomeKeyringInfo</span></a> structure
963
will be passed to <em class="parameter"><code>callback</code></em>. The structure is freed after <em class="parameter"><code>callback</code></em> returns.
966
For a synchronous version of this function see <a class="link" href="gnome-keyring-gnome-keyring-keyrings.html#gnome-keyring-get-info-sync" title="gnome_keyring_get_info_sync ()"><code class="function">gnome_keyring_get_info_sync()</code></a>.</p>
969
<div class="variablelist"><table border="0">
970
<col align="left" valign="top">
973
<td><p><span class="term"><em class="parameter"><code>keyring</code></em> :</span></p></td>
974
<td> The name of the keyring, or <a
975
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL--CAPS"
976
><code class="literal">NULL</code></a> for the default keyring.
980
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
981
<td> A callback which will be called when the request completes or fails.
985
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
986
<td> A pointer to arbitrary data that will be passed to the <em class="parameter"><code>callback</code></em>.
990
<td><p><span class="term"><em class="parameter"><code>destroy_data</code></em> :</span></p></td>
991
<td> A function to free <em class="parameter"><code>data</code></em> when it's no longer needed.
995
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
996
<td> The asychronous request, which can be passed to <a class="link" href="gnome-keyring-gnome-keyring-misc.html#gnome-keyring-cancel-request" title="gnome_keyring_cancel_request ()"><code class="function">gnome_keyring_cancel_request()</code></a>.
1003
<div class="refsect2" title="gnome_keyring_get_info_sync ()">
1004
<a name="gnome-keyring-get-info-sync"></a><h3>gnome_keyring_get_info_sync ()</h3>
1005
<pre class="programlisting"><a class="link" href="gnome-keyring-gnome-keyring-result.html#GnomeKeyringResult" title="enum GnomeKeyringResult">GnomeKeyringResult</a> gnome_keyring_get_info_sync (const char *keyring,
1006
<a class="link" href="gnome-keyring-gnome-keyring-keyring-info.html#GnomeKeyringInfo" title="GnomeKeyringInfo">GnomeKeyringInfo</a> **info);</pre>
1008
Get information about <em class="parameter"><code>keyring</code></em>.
1011
The <a class="link" href="gnome-keyring-gnome-keyring-keyring-info.html#GnomeKeyringInfo" title="GnomeKeyringInfo"><span class="type">GnomeKeyringInfo</span></a> structure returned in <em class="parameter"><code>info</code></em> must be freed with
1012
<a class="link" href="gnome-keyring-gnome-keyring-keyring-info.html#gnome-keyring-info-free" title="gnome_keyring_info_free ()"><code class="function">gnome_keyring_info_free()</code></a>.
1015
For an asynchronous version of this function see <a class="link" href="gnome-keyring-gnome-keyring-keyrings.html#gnome-keyring-get-info" title="gnome_keyring_get_info ()"><code class="function">gnome_keyring_get_info()</code></a>.</p>
1018
<div class="variablelist"><table border="0">
1019
<col align="left" valign="top">
1022
<td><p><span class="term"><em class="parameter"><code>keyring</code></em> :</span></p></td>
1023
<td> The name of the keyring, or <a
1024
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL--CAPS"
1025
><code class="literal">NULL</code></a> for the default keyring.
1029
<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td>
1030
<td> Location for the information about the keyring to be returned.
1034
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1035
<td> <code class="literal">GNOME_KEYRING_RESULT_OK</code> if the operation was succcessful or
1036
an error result otherwise.
1043
<div class="refsect2" title="gnome_keyring_set_info ()">
1044
<a name="gnome-keyring-set-info"></a><h3>gnome_keyring_set_info ()</h3>
1045
<pre class="programlisting"><a
1046
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
1047
>gpointer</a> gnome_keyring_set_info (const char *keyring,
1048
<a class="link" href="gnome-keyring-gnome-keyring-keyring-info.html#GnomeKeyringInfo" title="GnomeKeyringInfo">GnomeKeyringInfo</a> *info,
1049
<a class="link" href="gnome-keyring-gnome-keyring-generic-callbacks.html#GnomeKeyringOperationDoneCallback" title="GnomeKeyringOperationDoneCallback ()">GnomeKeyringOperationDoneCallback</a> callback,
1051
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
1054
href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"
1055
>GDestroyNotify</a> destroy_data);</pre>
1057
Set flags and info for the <em class="parameter"><code>keyring</code></em>. The only fields in <em class="parameter"><code>info</code></em> that are used
1058
are <code class="literal">lock_on_idle</code> and <code class="literal">lock_timeout</code>.
1061
For a synchronous version of this function see <a class="link" href="gnome-keyring-gnome-keyring-keyrings.html#gnome-keyring-set-info-sync" title="gnome_keyring_set_info_sync ()"><code class="function">gnome_keyring_set_info_sync()</code></a>.</p>
1064
<div class="variablelist"><table border="0">
1065
<col align="left" valign="top">
1068
<td><p><span class="term"><em class="parameter"><code>keyring</code></em> :</span></p></td>
1069
<td> The name of the keyring, or <a
1070
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL--CAPS"
1071
><code class="literal">NULL</code></a> for the default keyring.
1075
<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td>
1076
<td> A structure containing flags and info for the keyring.
1080
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
1081
<td> A callback which will be called when the request completes or fails.
1085
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
1086
<td> A pointer to arbitrary data that will be passed to the <em class="parameter"><code>callback</code></em>.
1090
<td><p><span class="term"><em class="parameter"><code>destroy_data</code></em> :</span></p></td>
1091
<td> A function to free <em class="parameter"><code>data</code></em> when it's no longer needed.
1095
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1096
<td> The asychronous request, which can be passed to <a class="link" href="gnome-keyring-gnome-keyring-misc.html#gnome-keyring-cancel-request" title="gnome_keyring_cancel_request ()"><code class="function">gnome_keyring_cancel_request()</code></a>.
1103
<div class="refsect2" title="gnome_keyring_set_info_sync ()">
1104
<a name="gnome-keyring-set-info-sync"></a><h3>gnome_keyring_set_info_sync ()</h3>
1105
<pre class="programlisting"><a class="link" href="gnome-keyring-gnome-keyring-result.html#GnomeKeyringResult" title="enum GnomeKeyringResult">GnomeKeyringResult</a> gnome_keyring_set_info_sync (const char *keyring,
1106
<a class="link" href="gnome-keyring-gnome-keyring-keyring-info.html#GnomeKeyringInfo" title="GnomeKeyringInfo">GnomeKeyringInfo</a> *info);</pre>
1108
Set flags and info for <em class="parameter"><code>keyring</code></em>. The only fields in <em class="parameter"><code>info</code></em> that are used
1109
are <code class="literal">lock_on_idle</code> and <code class="literal">lock_timeout</code>.
1112
For an asynchronous version of this function see <a class="link" href="gnome-keyring-gnome-keyring-keyrings.html#gnome-keyring-set-info" title="gnome_keyring_set_info ()"><code class="function">gnome_keyring_set_info()</code></a>.</p>
1115
<div class="variablelist"><table border="0">
1116
<col align="left" valign="top">
1119
<td><p><span class="term"><em class="parameter"><code>keyring</code></em> :</span></p></td>
1120
<td> The name of the keyring, or <a
1121
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL--CAPS"
1122
><code class="literal">NULL</code></a> for the default keyring.
1126
<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td>
1127
<td> A structure containing flags and info for the keyring.
1131
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1132
<td> <code class="literal">GNOME_KEYRING_RESULT_OK</code> if the operation was succcessful or
1133
an error result otherwise.
1140
<div class="refsect2" title="gnome_keyring_change_password ()">
1141
<a name="gnome-keyring-change-password"></a><h3>gnome_keyring_change_password ()</h3>
1142
<pre class="programlisting"><a
1143
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
1144
>gpointer</a> gnome_keyring_change_password (const char *keyring,
1145
const char *original,
1146
const char *password,
1147
<a class="link" href="gnome-keyring-gnome-keyring-generic-callbacks.html#GnomeKeyringOperationDoneCallback" title="GnomeKeyringOperationDoneCallback ()">GnomeKeyringOperationDoneCallback</a> callback,
1149
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
1152
href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"
1153
>GDestroyNotify</a> destroy_data);</pre>
1155
Change the password for a <em class="parameter"><code>keyring</code></em>. In most cases you would specify <a
1156
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL--CAPS"
1157
><code class="literal">NULL</code></a> for
1158
both the <em class="parameter"><code>original</code></em> and <em class="parameter"><code>password</code></em> arguments and allow the user to type the
1162
For a synchronous version of this function see <a class="link" href="gnome-keyring-gnome-keyring-keyrings.html#gnome-keyring-change-password-sync" title="gnome_keyring_change_password_sync ()"><code class="function">gnome_keyring_change_password_sync()</code></a>.</p>
1165
<div class="variablelist"><table border="0">
1166
<col align="left" valign="top">
1169
<td><p><span class="term"><em class="parameter"><code>keyring</code></em> :</span></p></td>
1170
<td> The name of the keyring to change the password for. Cannot be <a
1171
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL--CAPS"
1172
><code class="literal">NULL</code></a>.
1176
<td><p><span class="term"><em class="parameter"><code>original</code></em> :</span></p></td>
1177
<td> The old keyring password, or <a
1178
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL--CAPS"
1179
><code class="literal">NULL</code></a> to prompt the user for it.
1183
<td><p><span class="term"><em class="parameter"><code>password</code></em> :</span></p></td>
1184
<td> The new keyring password, or <a
1185
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL--CAPS"
1186
><code class="literal">NULL</code></a> to prompt the user for it.
1190
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
1191
<td> A callback which will be called when the request completes or fails.
1195
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
1196
<td> A pointer to arbitrary data that will be passed to the <em class="parameter"><code>callback</code></em>.
1200
<td><p><span class="term"><em class="parameter"><code>destroy_data</code></em> :</span></p></td>
1201
<td> A function to free <em class="parameter"><code>data</code></em> when it's no longer needed.
1205
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1206
<td> The asychronous request, which can be passed to <a class="link" href="gnome-keyring-gnome-keyring-misc.html#gnome-keyring-cancel-request" title="gnome_keyring_cancel_request ()"><code class="function">gnome_keyring_cancel_request()</code></a>.
1213
<div class="refsect2" title="gnome_keyring_change_password_sync ()">
1214
<a name="gnome-keyring-change-password-sync"></a><h3>gnome_keyring_change_password_sync ()</h3>
1215
<pre class="programlisting"><a class="link" href="gnome-keyring-gnome-keyring-result.html#GnomeKeyringResult" title="enum GnomeKeyringResult">GnomeKeyringResult</a> gnome_keyring_change_password_sync (const char *keyring,
1216
const char *original,
1217
const char *password);</pre>
1219
Change the password for <em class="parameter"><code>keyring</code></em>. In most cases you would specify <a
1220
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL--CAPS"
1221
><code class="literal">NULL</code></a> for
1222
both the <em class="parameter"><code>original</code></em> and <em class="parameter"><code>password</code></em> arguments and allow the user to type the
1226
For an asynchronous version of this function see <a class="link" href="gnome-keyring-gnome-keyring-keyrings.html#gnome-keyring-change-password" title="gnome_keyring_change_password ()"><code class="function">gnome_keyring_change_password()</code></a>.</p>
1229
<div class="variablelist"><table border="0">
1230
<col align="left" valign="top">
1233
<td><p><span class="term"><em class="parameter"><code>keyring</code></em> :</span></p></td>
1234
<td> The name of the keyring to change the password for. Cannot be <a
1235
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL--CAPS"
1236
><code class="literal">NULL</code></a>
1240
<td><p><span class="term"><em class="parameter"><code>original</code></em> :</span></p></td>
1241
<td> The old keyring password, or <a
1242
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL--CAPS"
1243
><code class="literal">NULL</code></a> to prompt the user for it.
1247
<td><p><span class="term"><em class="parameter"><code>password</code></em> :</span></p></td>
1248
<td> The new keyring password, or <a
1249
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL--CAPS"
1250
><code class="literal">NULL</code></a> to prompt the user for it.
1254
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1255
<td> <code class="literal">GNOME_KEYRING_RESULT_OK</code> if the operation was succcessful or
1256
an error result otherwise.
1263
<div class="refsect2" title="gnome_keyring_list_item_ids ()">
1264
<a name="gnome-keyring-list-item-ids"></a><h3>gnome_keyring_list_item_ids ()</h3>
1265
<pre class="programlisting"><a
1266
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
1267
>gpointer</a> gnome_keyring_list_item_ids (const char *keyring,
1268
<a class="link" href="gnome-keyring-gnome-keyring-generic-callbacks.html#GnomeKeyringOperationGetListCallback" title="GnomeKeyringOperationGetListCallback ()">GnomeKeyringOperationGetListCallback</a> callback,
1270
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
1273
href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"
1274
>GDestroyNotify</a> destroy_data);</pre>
1276
Get a list of all the ids for items in <em class="parameter"><code>keyring</code></em>. These are passed in a <a
1277
href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"
1278
><code class="literal">GList</code></a>
1279
to the <em class="parameter"><code>callback</code></em>. Use <a
1280
href="http://library.gnome.org/devel/glib/unstable/glib-Type-Conversion-Macros.html#GPOINTER-TO-UINT--CAPS"
1281
><code class="function">GPOINTER_TO_UINT()</code></a> on the list to access the integer ids.
1282
The list is freed after <em class="parameter"><code>callback</code></em> returns.
1285
All items that are not flagged as <code class="literal">GNOME_KEYRING_ITEM_APPLICATION_SECRET</code> are
1286
included in the list. This includes items that the calling application may not
1287
(yet) have access to.
1290
For a synchronous version of this function see <a class="link" href="gnome-keyring-gnome-keyring-keyrings.html#gnome-keyring-list-item-ids-sync" title="gnome_keyring_list_item_ids_sync ()"><code class="function">gnome_keyring_list_item_ids_sync()</code></a>.</p>
1293
<div class="variablelist"><table border="0">
1294
<col align="left" valign="top">
1297
<td><p><span class="term"><em class="parameter"><code>keyring</code></em> :</span></p></td>
1298
<td> The name of the keyring, or <a
1299
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL--CAPS"
1300
><code class="literal">NULL</code></a> for the default keyring.
1304
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
1305
<td> A callback which will be called when the request completes or fails.
1309
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
1310
<td> A pointer to arbitrary data that will be passed to the <em class="parameter"><code>callback</code></em>.
1314
<td><p><span class="term"><em class="parameter"><code>destroy_data</code></em> :</span></p></td>
1315
<td> A function to free <em class="parameter"><code>data</code></em> when it's no longer needed.
1319
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1320
<td> The asychronous request, which can be passed to <a class="link" href="gnome-keyring-gnome-keyring-misc.html#gnome-keyring-cancel-request" title="gnome_keyring_cancel_request ()"><code class="function">gnome_keyring_cancel_request()</code></a>.
1327
<div class="refsect2" title="gnome_keyring_list_item_ids_sync ()">
1328
<a name="gnome-keyring-list-item-ids-sync"></a><h3>gnome_keyring_list_item_ids_sync ()</h3>
1329
<pre class="programlisting"><a class="link" href="gnome-keyring-gnome-keyring-result.html#GnomeKeyringResult" title="enum GnomeKeyringResult">GnomeKeyringResult</a> gnome_keyring_list_item_ids_sync (const char *keyring,
1331
href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"
1332
>GList</a> **ids);</pre>
1334
Get a list of all the ids for items in <em class="parameter"><code>keyring</code></em>.
1338
href="http://library.gnome.org/devel/glib/unstable/glib-Type-Conversion-Macros.html#GPOINTER-TO-UINT--CAPS"
1339
><code class="function">GPOINTER_TO_UINT()</code></a> on the list to access the integer ids. The list
1340
should be freed with <a
1341
href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#g-list-free"
1342
><code class="function">g_list_free()</code></a>.
1345
For an asynchronous version of this function see <a class="link" href="gnome-keyring-gnome-keyring-keyrings.html#gnome-keyring-list-item-ids" title="gnome_keyring_list_item_ids ()"><code class="function">gnome_keyring_list_item_ids()</code></a>.</p>
1348
<div class="variablelist"><table border="0">
1349
<col align="left" valign="top">
1352
<td><p><span class="term"><em class="parameter"><code>keyring</code></em> :</span></p></td>
1353
<td> The name of the keyring, or <a
1354
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL--CAPS"
1355
><code class="literal">NULL</code></a> for the default keyring.
1359
<td><p><span class="term"><em class="parameter"><code>ids</code></em> :</span></p></td>
1360
<td> The location to store a <a
1361
href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"
1362
><code class="literal">GList</code></a> of item ids (ie: unsigned integers).
1366
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1367
<td> <code class="literal">GNOME_KEYRING_RESULT_OK</code> if the operation was succcessful or
1368
an error result otherwise.
1376
<div class="footer">
1378
Generated by GTK-Doc V1.11</div>