This file is indexed.

/usr/share/gtk-doc/html/gnome-keyring/gnome-keyring-Search-Functionality.html is in libgnome-keyring-dev 3.8.0-2.

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
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Search Functionality</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="index.html" title="gnome-keyring Reference Manual">
<link rel="up" href="ch01.html" title="gnome-keyring API Reference">
<link rel="prev" href="gnome-keyring-Item-ACLs.html" title="Item ACLs">
<link rel="next" href="gnome-keyring-Network-Passwords.html" title="Network Passwords">
<meta name="generator" content="GTK-Doc V1.18 (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="gnome-keyring-Item-ACLs.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="ch01.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">gnome-keyring Reference Manual</th>
<td><a accesskey="n" href="gnome-keyring-Network-Passwords.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#gnome-keyring-Search-Functionality.synopsis" class="shortcut">Top</a>
                   | 
                  <a href="#gnome-keyring-Search-Functionality.description" class="shortcut">Description</a>
</td></tr>
</table>
<div class="refentry">
<a name="gnome-keyring-Search-Functionality"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="gnome-keyring-Search-Functionality.top_of_page"></a>Search Functionality</span></h2>
<p>Search Functionality — Find Keyring Items</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<a name="gnome-keyring-Search-Functionality.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">                    <a class="link" href="gnome-keyring-Search-Functionality.html#GnomeKeyringFound" title="GnomeKeyringFound">GnomeKeyringFound</a>;
<a class="link" href="gnome-keyring-Search-Functionality.html#GnomeKeyringFound" title="GnomeKeyringFound"><span class="returnvalue">GnomeKeyringFound</span></a> * <a class="link" href="gnome-keyring-Search-Functionality.html#gnome-keyring-found-copy" title="gnome_keyring_found_copy ()">gnome_keyring_found_copy</a>            (<em class="parameter"><code><a class="link" href="gnome-keyring-Search-Functionality.html#GnomeKeyringFound" title="GnomeKeyringFound"><span class="type">GnomeKeyringFound</span></a> *found</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="gnome-keyring-Search-Functionality.html#gnome-keyring-found-free" title="gnome_keyring_found_free ()">gnome_keyring_found_free</a>            (<em class="parameter"><code><a class="link" href="gnome-keyring-Search-Functionality.html#GnomeKeyringFound" title="GnomeKeyringFound"><span class="type">GnomeKeyringFound</span></a> *found</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="gnome-keyring-Search-Functionality.html#gnome-keyring-found-list-free" title="gnome_keyring_found_list_free ()">gnome_keyring_found_list_free</a>       (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> *found_list</code></em>);
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a>            <a class="link" href="gnome-keyring-Search-Functionality.html#gnome-keyring-find-items" title="gnome_keyring_find_items ()">gnome_keyring_find_items</a>            (<em class="parameter"><code><a class="link" href="gnome-keyring-Item-Information.html#GnomeKeyringItemType" title="enum GnomeKeyringItemType"><span class="type">GnomeKeyringItemType</span></a> type</code></em>,
                                                         <em class="parameter"><code><a class="link" href="gnome-keyring-Item-Attributes.html#GnomeKeyringAttributeList" title="GnomeKeyringAttributeList"><span class="type">GnomeKeyringAttributeList</span></a> *attributes</code></em>,
                                                         <em class="parameter"><code><a class="link" href="gnome-keyring-Callbacks.html#GnomeKeyringOperationGetListCallback" title="GnomeKeyringOperationGetListCallback ()"><span class="type">GnomeKeyringOperationGetListCallback</span></a> callback</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy_data</code></em>);
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a>            <a class="link" href="gnome-keyring-Search-Functionality.html#gnome-keyring-find-itemsv" title="gnome_keyring_find_itemsv ()">gnome_keyring_find_itemsv</a>           (<em class="parameter"><code><a class="link" href="gnome-keyring-Item-Information.html#GnomeKeyringItemType" title="enum GnomeKeyringItemType"><span class="type">GnomeKeyringItemType</span></a> type</code></em>,
                                                         <em class="parameter"><code><a class="link" href="gnome-keyring-Callbacks.html#GnomeKeyringOperationGetListCallback" title="GnomeKeyringOperationGetListCallback ()"><span class="type">GnomeKeyringOperationGetListCallback</span></a> callback</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy_data</code></em>,
                                                         <em class="parameter"><code>...</code></em>);
<a class="link" href="gnome-keyring-Result-Codes.html#GnomeKeyringResult" title="enum GnomeKeyringResult"><span class="returnvalue">GnomeKeyringResult</span></a>  <a class="link" href="gnome-keyring-Search-Functionality.html#gnome-keyring-find-items-sync" title="gnome_keyring_find_items_sync ()">gnome_keyring_find_items_sync</a>       (<em class="parameter"><code><a class="link" href="gnome-keyring-Item-Information.html#GnomeKeyringItemType" title="enum GnomeKeyringItemType"><span class="type">GnomeKeyringItemType</span></a> type</code></em>,
                                                         <em class="parameter"><code><a class="link" href="gnome-keyring-Item-Attributes.html#GnomeKeyringAttributeList" title="GnomeKeyringAttributeList"><span class="type">GnomeKeyringAttributeList</span></a> *attributes</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> **found</code></em>);
<a class="link" href="gnome-keyring-Result-Codes.html#GnomeKeyringResult" title="enum GnomeKeyringResult"><span class="returnvalue">GnomeKeyringResult</span></a>  <a class="link" href="gnome-keyring-Search-Functionality.html#gnome-keyring-find-itemsv-sync" title="gnome_keyring_find_itemsv_sync ()">gnome_keyring_find_itemsv_sync</a>      (<em class="parameter"><code><a class="link" href="gnome-keyring-Item-Information.html#GnomeKeyringItemType" title="enum GnomeKeyringItemType"><span class="type">GnomeKeyringItemType</span></a> type</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> **found</code></em>,
                                                         <em class="parameter"><code>...</code></em>);
</pre>
</div>
<div class="refsect1">
<a name="gnome-keyring-Search-Functionality.description"></a><h2>Description</h2>
<p>
A find operation searches through all keyrings for items that match the
attributes. The user may have been prompted to unlock necessary keyrings, and
user will have been prompted for access to the items if needed.
</p>
<p>
A find operation may return multiple or zero results.
</p>
</div>
<div class="refsect1">
<a name="gnome-keyring-Search-Functionality.details"></a><h2>Details</h2>
<div class="refsect2">
<a name="GnomeKeyringFound"></a><h3>GnomeKeyringFound</h3>
<pre class="programlisting">typedef struct {
	char *keyring;
	guint item_id;
	GnomeKeyringAttributeList *attributes;
	char *secret;
} GnomeKeyringFound;
</pre>
<p>
A found structure returned by a found operation. Use <a class="link" href="gnome-keyring-Search-Functionality.html#gnome-keyring-found-list-free" title="gnome_keyring_found_list_free ()"><code class="function">gnome_keyring_found_list_free()</code></a>
to free a list of these structures.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><span class="type">char</span> *<em class="structfield"><code><a name="GnomeKeyringFound.keyring"></a>keyring</code></em>;</span></p></td>
<td>The keyring the item was found in.</td>
</tr>
<tr>
<td><p><span class="term"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="GnomeKeyringFound.item-id"></a>item_id</code></em>;</span></p></td>
<td>The identifier for the item.</td>
</tr>
<tr>
<td><p><span class="term"><a class="link" href="gnome-keyring-Item-Attributes.html#GnomeKeyringAttributeList" title="GnomeKeyringAttributeList"><span class="type">GnomeKeyringAttributeList</span></a> *<em class="structfield"><code><a name="GnomeKeyringFound.attributes"></a>attributes</code></em>;</span></p></td>
<td>The item's attributes.</td>
</tr>
<tr>
<td><p><span class="term"><span class="type">char</span> *<em class="structfield"><code><a name="GnomeKeyringFound.secret"></a>secret</code></em>;</span></p></td>
<td>The item's secret.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-keyring-found-copy"></a><h3>gnome_keyring_found_copy ()</h3>
<pre class="programlisting"><a class="link" href="gnome-keyring-Search-Functionality.html#GnomeKeyringFound" title="GnomeKeyringFound"><span class="returnvalue">GnomeKeyringFound</span></a> * gnome_keyring_found_copy            (<em class="parameter"><code><a class="link" href="gnome-keyring-Search-Functionality.html#GnomeKeyringFound" title="GnomeKeyringFound"><span class="type">GnomeKeyringFound</span></a> *found</code></em>);</pre>
<p>
Copy a <a class="link" href="gnome-keyring-Search-Functionality.html#GnomeKeyringFound" title="GnomeKeyringFound"><span class="type">GnomeKeyringFound</span></a> item.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>found</code></em> :</span></p></td>
<td>a <a class="link" href="gnome-keyring-Search-Functionality.html#GnomeKeyringFound" title="GnomeKeyringFound"><span class="type">GnomeKeyringFound</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>The new <a class="link" href="gnome-keyring-Search-Functionality.html#GnomeKeyringFound" title="GnomeKeyringFound"><span class="type">GnomeKeyringFound</span></a>. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-keyring-found-free"></a><h3>gnome_keyring_found_free ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gnome_keyring_found_free            (<em class="parameter"><code><a class="link" href="gnome-keyring-Search-Functionality.html#GnomeKeyringFound" title="GnomeKeyringFound"><span class="type">GnomeKeyringFound</span></a> *found</code></em>);</pre>
<p>
Free the memory used by a <a class="link" href="gnome-keyring-Search-Functionality.html#GnomeKeyringFound" title="GnomeKeyringFound"><span class="type">GnomeKeyringFound</span></a> item.
</p>
<p>
You usually want to use <a class="link" href="gnome-keyring-Search-Functionality.html#gnome-keyring-found-list-free" title="gnome_keyring_found_list_free ()"><code class="function">gnome_keyring_found_list_free()</code></a> on the list of
results.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody><tr>
<td><p><span class="term"><em class="parameter"><code>found</code></em> :</span></p></td>
<td>a <a class="link" href="gnome-keyring-Search-Functionality.html#GnomeKeyringFound" title="GnomeKeyringFound"><span class="type">GnomeKeyringFound</span></a>
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-keyring-found-list-free"></a><h3>gnome_keyring_found_list_free ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gnome_keyring_found_list_free       (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> *found_list</code></em>);</pre>
<p>
Free the memory used by the <a class="link" href="gnome-keyring-Search-Functionality.html#GnomeKeyringFound" title="GnomeKeyringFound"><span class="type">GnomeKeyringFound</span></a> items in <em class="parameter"><code>found_list</code></em>.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody><tr>
<td><p><span class="term"><em class="parameter"><code>found_list</code></em> :</span></p></td>
<td>a <a href="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> of <a class="link" href="gnome-keyring-Search-Functionality.html#GnomeKeyringFound" title="GnomeKeyringFound"><span class="type">GnomeKeyringFound</span></a>. <span class="annotation">[<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> GnomeKeyringFound]</span>
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-keyring-find-items"></a><h3>gnome_keyring_find_items ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a>            gnome_keyring_find_items            (<em class="parameter"><code><a class="link" href="gnome-keyring-Item-Information.html#GnomeKeyringItemType" title="enum GnomeKeyringItemType"><span class="type">GnomeKeyringItemType</span></a> type</code></em>,
                                                         <em class="parameter"><code><a class="link" href="gnome-keyring-Item-Attributes.html#GnomeKeyringAttributeList" title="GnomeKeyringAttributeList"><span class="type">GnomeKeyringAttributeList</span></a> *attributes</code></em>,
                                                         <em class="parameter"><code><a class="link" href="gnome-keyring-Callbacks.html#GnomeKeyringOperationGetListCallback" title="GnomeKeyringOperationGetListCallback ()"><span class="type">GnomeKeyringOperationGetListCallback</span></a> callback</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy_data</code></em>);</pre>
<p>
Searches through all keyrings for items that match the <em class="parameter"><code>attributes</code></em>. The matches
are for exact equality.
</p>
<p>
A <a href="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"><code class="literal">GList</code></a> of GnomeKeyringFound structures are passed to the <em class="parameter"><code>callback</code></em>. The
list and structures are freed after the callback returns.
</p>
<p>
The user may have been prompted to unlock necessary keyrings, and user will
have been prompted for access to the items if needed.
</p>
<p>
For a synchronous version of this function see <a class="link" href="gnome-keyring-Search-Functionality.html#gnome-keyring-find-items-sync" title="gnome_keyring_find_items_sync ()"><code class="function">gnome_keyring_find_items_sync()</code></a>.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>type</code></em> :</span></p></td>
<td>The type of items to find.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>attributes</code></em> :</span></p></td>
<td>A list of attributes to search for. This cannot be an empty list.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
<td>A callback which will be called when the request completes or fails.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
<td>A pointer to arbitrary data that will be passed to the
<em class="parameter"><code>callback</code></em>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>destroy_data</code></em> :</span></p></td>
<td>A function to free <em class="parameter"><code>data</code></em> when it's no longer needed.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>The asynchronous request, which can be passed
to <a class="link" href="gnome-keyring-Miscellaneous-Functions.html#gnome-keyring-cancel-request" title="gnome_keyring_cancel_request ()"><code class="function">gnome_keyring_cancel_request()</code></a>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-keyring-find-itemsv"></a><h3>gnome_keyring_find_itemsv ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a>            gnome_keyring_find_itemsv           (<em class="parameter"><code><a class="link" href="gnome-keyring-Item-Information.html#GnomeKeyringItemType" title="enum GnomeKeyringItemType"><span class="type">GnomeKeyringItemType</span></a> type</code></em>,
                                                         <em class="parameter"><code><a class="link" href="gnome-keyring-Callbacks.html#GnomeKeyringOperationGetListCallback" title="GnomeKeyringOperationGetListCallback ()"><span class="type">GnomeKeyringOperationGetListCallback</span></a> callback</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy_data</code></em>,
                                                         <em class="parameter"><code>...</code></em>);</pre>
<p>
Searches through all keyrings for items that match the specified attributes.
The matches are for exact equality.
</p>
<p>
The variable argument list should contain a) The attribute name as a null
terminated string, followed by b) The attribute type, either
<a class="link" href="gnome-keyring-Item-Attributes.html#GNOME-KEYRING-ATTRIBUTE-TYPE-STRING:CAPS"><code class="literal">GNOME_KEYRING_ATTRIBUTE_TYPE_STRING</code></a> or <a class="link" href="gnome-keyring-Item-Attributes.html#GNOME-KEYRING-ATTRIBUTE-TYPE-UINT32:CAPS"><code class="literal">GNOME_KEYRING_ATTRIBUTE_TYPE_UINT32</code></a>
and then the c) attribute value, either a character string, or 32-bit
unsigned int. The list should be terminated with a NULL.
</p>
<p>
A <a href="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"><code class="literal">GList</code></a> of GnomeKeyringFound structures are passed to the <em class="parameter"><code>callback</code></em>. The
list and structures are freed after the callback returns.
</p>
<p>
The user may have been prompted to unlock necessary keyrings, and user will
have been prompted for access to the items if needed.
</p>
<p>
For a synchronous version of this function see <a class="link" href="gnome-keyring-Search-Functionality.html#gnome-keyring-find-itemsv-sync" title="gnome_keyring_find_itemsv_sync ()"><code class="function">gnome_keyring_find_itemsv_sync()</code></a>.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>type</code></em> :</span></p></td>
<td>The type of items to find.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
<td>A callback which will be called when the request completes or fails.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
<td>A pointer to arbitrary data that will be passed to the
<em class="parameter"><code>callback</code></em>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>destroy_data</code></em> :</span></p></td>
<td>A function to free <em class="parameter"><code>data</code></em> when it's no longer needed.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>...</code></em> :</span></p></td>
<td>Attribute name, followed by the attribute type, and string or 32-bit unsigned int value. Terminated with <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>The asynchronous request, which can be passed
to <a class="link" href="gnome-keyring-Miscellaneous-Functions.html#gnome-keyring-cancel-request" title="gnome_keyring_cancel_request ()"><code class="function">gnome_keyring_cancel_request()</code></a>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-keyring-find-items-sync"></a><h3>gnome_keyring_find_items_sync ()</h3>
<pre class="programlisting"><a class="link" href="gnome-keyring-Result-Codes.html#GnomeKeyringResult" title="enum GnomeKeyringResult"><span class="returnvalue">GnomeKeyringResult</span></a>  gnome_keyring_find_items_sync       (<em class="parameter"><code><a class="link" href="gnome-keyring-Item-Information.html#GnomeKeyringItemType" title="enum GnomeKeyringItemType"><span class="type">GnomeKeyringItemType</span></a> type</code></em>,
                                                         <em class="parameter"><code><a class="link" href="gnome-keyring-Item-Attributes.html#GnomeKeyringAttributeList" title="GnomeKeyringAttributeList"><span class="type">GnomeKeyringAttributeList</span></a> *attributes</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> **found</code></em>);</pre>
<p>
Searches through all keyrings for items that match the <em class="parameter"><code>attributes</code></em> and <em class="parameter"><code>type</code></em>.
The matches are for exact equality.
</p>
<p>
A <a href="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"><code class="literal">GList</code></a> of GnomeKeyringFound structures is returned in <em class="parameter"><code>found</code></em>. The list may
have zero items if nothing matched the criteria. The list should be freed
using <a class="link" href="gnome-keyring-Search-Functionality.html#gnome-keyring-found-list-free" title="gnome_keyring_found_list_free ()"><code class="function">gnome_keyring_found_list_free()</code></a>.
</p>
<p>
The user may have been prompted to unlock necessary keyrings, and user will
have been prompted for access to the items if needed.
</p>
<p>
For an asynchronous version of this function see <a class="link" href="gnome-keyring-Search-Functionality.html#gnome-keyring-find-items" title="gnome_keyring_find_items ()"><code class="function">gnome_keyring_find_items()</code></a>.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>type</code></em> :</span></p></td>
<td>The type of items to find.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>attributes</code></em> :</span></p></td>
<td>A list of attributes to search for. This cannot be an empty list.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>found</code></em> :</span></p></td>
<td>The location to return a
list of <a class="link" href="gnome-keyring-Search-Functionality.html#GnomeKeyringFound" title="GnomeKeyringFound"><span class="type">GnomeKeyringFound</span></a> pointers. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> GnomeKeyringFound]</span>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>
<a class="link" href="gnome-keyring-Result-Codes.html#GNOME-KEYRING-RESULT-OK:CAPS"><code class="literal">GNOME_KEYRING_RESULT_OK</code></a> if the operation was succcessful or
an error result otherwise.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-keyring-find-itemsv-sync"></a><h3>gnome_keyring_find_itemsv_sync ()</h3>
<pre class="programlisting"><a class="link" href="gnome-keyring-Result-Codes.html#GnomeKeyringResult" title="enum GnomeKeyringResult"><span class="returnvalue">GnomeKeyringResult</span></a>  gnome_keyring_find_itemsv_sync      (<em class="parameter"><code><a class="link" href="gnome-keyring-Item-Information.html#GnomeKeyringItemType" title="enum GnomeKeyringItemType"><span class="type">GnomeKeyringItemType</span></a> type</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> **found</code></em>,
                                                         <em class="parameter"><code>...</code></em>);</pre>
<p>
Searches through all keyrings for items that match the <em class="parameter"><code>attributes</code></em> and <em class="parameter"><code>type</code></em>.
The matches are for exact equality.
</p>
<p>
The variable argument list should contain a) The attribute name as a null
terminated string, followed by b) The attribute type, either
<a class="link" href="gnome-keyring-Item-Attributes.html#GNOME-KEYRING-ATTRIBUTE-TYPE-STRING:CAPS"><code class="literal">GNOME_KEYRING_ATTRIBUTE_TYPE_STRING</code></a> or <a class="link" href="gnome-keyring-Item-Attributes.html#GNOME-KEYRING-ATTRIBUTE-TYPE-UINT32:CAPS"><code class="literal">GNOME_KEYRING_ATTRIBUTE_TYPE_UINT32</code></a>
and then the c) attribute value, either a character string, or 32-bit
unsigned int. The list should be terminated with a <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
</p>
<p>
A <a href="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"><code class="literal">GList</code></a> of GnomeKeyringFound structures is returned in <em class="parameter"><code>found</code></em>. The list may
have zero items if nothing matched the criteria. The list should be freed
using <a class="link" href="gnome-keyring-Search-Functionality.html#gnome-keyring-found-list-free" title="gnome_keyring_found_list_free ()"><code class="function">gnome_keyring_found_list_free()</code></a>.
</p>
<p>
The user may have been prompted to unlock necessary keyrings, and user will
have been prompted for access to the items if needed.
</p>
<p>
For an asynchronous version of this function see <a class="link" href="gnome-keyring-Search-Functionality.html#gnome-keyring-find-items" title="gnome_keyring_find_items ()"><code class="function">gnome_keyring_find_items()</code></a>.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>type</code></em> :</span></p></td>
<td>The type of items to find.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>found</code></em> :</span></p></td>
<td>The location to return a
list of <a class="link" href="gnome-keyring-Search-Functionality.html#GnomeKeyringFound" title="GnomeKeyringFound"><span class="type">GnomeKeyringFound</span></a> pointers. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> GnomeKeyringFound]</span>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>...</code></em> :</span></p></td>
<td>Attribute name, followed by the attribute type, and string or 32-bit unsigned int value. Terminated with <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>
<a class="link" href="gnome-keyring-Result-Codes.html#GNOME-KEYRING-RESULT-OK:CAPS"><code class="literal">GNOME_KEYRING_RESULT_OK</code></a> if the operation was succcessful or
an error result otherwise.</td>
</tr>
</tbody>
</table></div>
</div>
</div>
</div>
<div class="footer">
<hr>
          Generated by GTK-Doc V1.18</div>
</body>
</html>