This file is indexed.

/usr/share/gtk-doc/html/gnome-keyring/gnome-keyring-Item-Attributes.html is in libgnome-keyring-dev 3.12.0-1build1.

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
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>gnome-keyring Reference Manual: Item Attributes</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-Information.html" title="Item Information">
<link rel="next" href="gnome-keyring-Item-ACLs.html" title="Item ACLs">
<meta name="generator" content="GTK-Doc V1.21 (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="5"><tr valign="middle">
<td width="100%" align="left" class="shortcuts">
<a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
                  <a href="#gnome-keyring-Item-Attributes.description" class="shortcut">Description</a></span>
</td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="gnome-keyring-Item-Information.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="gnome-keyring-Item-ACLs.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="gnome-keyring-Item-Attributes"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="gnome-keyring-Item-Attributes.top_of_page"></a>Item Attributes</span></h2>
<p>Item Attributes — Attributes of individual keyring items.</p>
</td>
<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="gnome-keyring-Item-Attributes.functions"></a><h2>Functions</h2>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="functions_return">
<col class="functions_name">
</colgroup>
<tbody>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="gnome-keyring-Item-Attributes.html#gnome-keyring-attribute-list-index" title="gnome_keyring_attribute_list_index()">gnome_keyring_attribute_list_index</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="gnome-keyring-Item-Attributes.html#GnomeKeyringAttributeList" title="GnomeKeyringAttributeList"><span class="returnvalue">GnomeKeyringAttributeList</span></a> *
</td>
<td class="function_name">
<a class="link" href="gnome-keyring-Item-Attributes.html#gnome-keyring-attribute-list-new" title="gnome_keyring_attribute_list_new ()">gnome_keyring_attribute_list_new</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="gnome-keyring-Item-Attributes.html#gnome-keyring-attribute-list-append-string" title="gnome_keyring_attribute_list_append_string ()">gnome_keyring_attribute_list_append_string</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="gnome-keyring-Item-Attributes.html#gnome-keyring-attribute-list-append-uint32" title="gnome_keyring_attribute_list_append_uint32 ()">gnome_keyring_attribute_list_append_uint32</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="gnome-keyring-Item-Attributes.html#gnome-keyring-attribute-list-free" title="gnome_keyring_attribute_list_free ()">gnome_keyring_attribute_list_free</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="gnome-keyring-Item-Attributes.html#GnomeKeyringAttributeList" title="GnomeKeyringAttributeList"><span class="returnvalue">GnomeKeyringAttributeList</span></a> *
</td>
<td class="function_name">
<a class="link" href="gnome-keyring-Item-Attributes.html#gnome-keyring-attribute-list-copy" title="gnome_keyring_attribute_list_copy ()">gnome_keyring_attribute_list_copy</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
</td>
<td class="function_name">
<a class="link" href="gnome-keyring-Item-Attributes.html#gnome-keyring-attribute-get-string" title="gnome_keyring_attribute_get_string ()">gnome_keyring_attribute_get_string</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">guint32</span>
</td>
<td class="function_name">
<a class="link" href="gnome-keyring-Item-Attributes.html#gnome-keyring-attribute-get-uint32" title="gnome_keyring_attribute_get_uint32 ()">gnome_keyring_attribute_get_uint32</a> <span class="c_punctuation">()</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="gnome-keyring-Item-Attributes.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="name">
<col class="description">
</colgroup>
<tbody>
<tr>
<td class="datatype_keyword">enum</td>
<td class="function_name"><a class="link" href="gnome-keyring-Item-Attributes.html#GnomeKeyringAttributeType" title="enum GnomeKeyringAttributeType">GnomeKeyringAttributeType</a></td>
</tr>
<tr>
<td class="typedef_keyword">typedef</td>
<td class="function_name"><a class="link" href="gnome-keyring-Item-Attributes.html#GnomeKeyringAttributeList" title="GnomeKeyringAttributeList">GnomeKeyringAttributeList</a></td>
</tr>
<tr>
<td class="datatype_keyword"> </td>
<td class="function_name"><a class="link" href="gnome-keyring-Item-Attributes.html#GnomeKeyringAttribute" title="GnomeKeyringAttribute">GnomeKeyringAttribute</a></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="gnome-keyring-Item-Attributes.description"></a><h2>Description</h2>
<div class="warning">All of these APIs are deprecated. Use
<a class="ulink" href="" target="_top">libsecret</a>
instead.</div>
<p>Attributes allow various other pieces of information to be associated with an item.
These can also be used to search for relevant items. Use <a class="link" href="gnome-keyring-Keyring-Items.html#gnome-keyring-item-get-attributes" title="gnome_keyring_item_get_attributes ()"><code class="function">gnome_keyring_item_get_attributes()</code></a>
or <a class="link" href="gnome-keyring-Keyring-Items.html#gnome-keyring-item-set-attributes" title="gnome_keyring_item_set_attributes ()"><code class="function">gnome_keyring_item_set_attributes()</code></a>.</p>
<p>Attributes are not stored in a secret or encrypted manner by gnome-keyring. Do
not store sensitive information in attributes.</p>
<p>Each attribute has either a string, or unsigned integer value.</p>
</div>
<div class="refsect1">
<a name="gnome-keyring-Item-Attributes.functions_details"></a><h2>Functions</h2>
<div class="refsect2">
<a name="gnome-keyring-attribute-list-index"></a><h3>gnome_keyring_attribute_list_index()</h3>
<pre class="programlisting">#define             gnome_keyring_attribute_list_index(a, i)</pre>
<div class="warning"><p><code class="literal">gnome_keyring_attribute_list_index</code> is deprecated and should not be used in newly-written code.</p></div>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="gnome-keyring-attribute-list-new"></a><h3>gnome_keyring_attribute_list_new ()</h3>
<pre class="programlisting"><a class="link" href="gnome-keyring-Item-Attributes.html#GnomeKeyringAttributeList" title="GnomeKeyringAttributeList"><span class="returnvalue">GnomeKeyringAttributeList</span></a> *
gnome_keyring_attribute_list_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<div class="warning">
<p><code class="literal">gnome_keyring_attribute_list_new</code> is deprecated and should not be used in newly-written code.</p>
<p>libsecret stores attributes as a <a href="/usr/share/gtk-doc/html/glib/glib-Hash-Tables.html#GHashTable"><span class="type">GHashTable</span></a> containing
            string keys and values; use <a href="/usr/share/gtk-doc/html/glib/glib-Hash-Tables.html#g-hash-table-new"><code class="function">g_hash_table_new()</code></a> instead.</p>
</div>
<p>Create a new <a class="link" href="gnome-keyring-Item-Attributes.html#GnomeKeyringAttributeList" title="GnomeKeyringAttributeList"><span class="type">GnomeKeyringAttributeList</span></a>.</p>
<div class="refsect3">
<a name="id-1.2.7.6.3.6"></a><h4>Returns</h4>
<p> The new <a class="link" href="gnome-keyring-Item-Attributes.html#GnomeKeyringAttributeList" title="GnomeKeyringAttributeList"><span class="type">GnomeKeyringAttributeList</span></a>. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-keyring-attribute-list-append-string"></a><h3>gnome_keyring_attribute_list_append_string ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gnome_keyring_attribute_list_append_string
                               (<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>const <span class="type">char</span> *name</code></em>,
                                <em class="parameter"><code>const <span class="type">char</span> *value</code></em>);</pre>
<div class="warning">
<p><code class="literal">gnome_keyring_attribute_list_append_string</code> is deprecated and should not be used in newly-written code.</p>
<p>libsecret stores attributes as a <a href="/usr/share/gtk-doc/html/glib/glib-Hash-Tables.html#GHashTable"><span class="type">GHashTable</span></a> containing
            string keys and values, use <a href="/usr/share/gtk-doc/html/glib/glib-Hash-Tables.html#g-hash-table-replace"><code class="function">g_hash_table_replace()</code></a> instead.</p>
</div>
<p>Store a key-value-pair with a string value in <em class="parameter"><code>attributes</code></em>
.</p>
<div class="refsect3">
<a name="id-1.2.7.6.4.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>attributes</p></td>
<td class="parameter_description"><p>A <a class="link" href="gnome-keyring-Item-Attributes.html#GnomeKeyringAttributeList" title="GnomeKeyringAttributeList"><span class="type">GnomeKeyringAttributeList</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>name</p></td>
<td class="parameter_description"><p>The name of the new attribute</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>value</p></td>
<td class="parameter_description"><p>The value to store in <em class="parameter"><code>attributes</code></em>
</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-keyring-attribute-list-append-uint32"></a><h3>gnome_keyring_attribute_list_append_uint32 ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gnome_keyring_attribute_list_append_uint32
                               (<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>const <span class="type">char</span> *name</code></em>,
                                <em class="parameter"><code><span class="type">guint32</span> value</code></em>);</pre>
<div class="warning">
<p><code class="literal">gnome_keyring_attribute_list_append_uint32</code> is deprecated and should not be used in newly-written code.</p>
<p>libsecret does not support number attributes.</p>
</div>
<p>Store a key-value-pair with an unsigned 32bit number value in <em class="parameter"><code>attributes</code></em>
.</p>
<div class="refsect3">
<a name="id-1.2.7.6.5.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>attributes</p></td>
<td class="parameter_description"><p>A <a class="link" href="gnome-keyring-Item-Attributes.html#GnomeKeyringAttributeList" title="GnomeKeyringAttributeList"><span class="type">GnomeKeyringAttributeList</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>name</p></td>
<td class="parameter_description"><p>The name of the new attribute</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>value</p></td>
<td class="parameter_description"><p>The value to store in <em class="parameter"><code>attributes</code></em>
</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-keyring-attribute-list-free"></a><h3>gnome_keyring_attribute_list_free ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gnome_keyring_attribute_list_free (<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>);</pre>
<div class="warning">
<p><code class="literal">gnome_keyring_attribute_list_free</code> is deprecated and should not be used in newly-written code.</p>
<p>libsecret stores attributes as a <a href="/usr/share/gtk-doc/html/glib/glib-Hash-Tables.html#GHashTable"><span class="type">GHashTable</span></a> containing
            string keys and values, use <a href="/usr/share/gtk-doc/html/glib/glib-Hash-Tables.html#g-hash-table-unref"><code class="function">g_hash_table_unref()</code></a> instead.</p>
</div>
<p>Free the memory used by <em class="parameter"><code>attributes</code></em>
.</p>
<p>If a <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> pointer is passed, it is ignored.</p>
<div class="refsect3">
<a name="id-1.2.7.6.6.7"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>attributes</p></td>
<td class="parameter_description"><p>A <a class="link" href="gnome-keyring-Item-Attributes.html#GnomeKeyringAttributeList" title="GnomeKeyringAttributeList"><span class="type">GnomeKeyringAttributeList</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-keyring-attribute-list-copy"></a><h3>gnome_keyring_attribute_list_copy ()</h3>
<pre class="programlisting"><a class="link" href="gnome-keyring-Item-Attributes.html#GnomeKeyringAttributeList" title="GnomeKeyringAttributeList"><span class="returnvalue">GnomeKeyringAttributeList</span></a> *
gnome_keyring_attribute_list_copy (<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>);</pre>
<div class="warning">
<p><code class="literal">gnome_keyring_attribute_list_copy</code> is deprecated and should not be used in newly-written code.</p>
<p>Not needed when using libsecret.</p>
</div>
<p>Copy a list of item attributes.</p>
<div class="refsect3">
<a name="id-1.2.7.6.7.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>attributes</p></td>
<td class="parameter_description"><p>A <a class="link" href="gnome-keyring-Item-Attributes.html#GnomeKeyringAttributeList" title="GnomeKeyringAttributeList"><span class="type">GnomeKeyringAttributeList</span></a> to copy.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.7.6.7.7"></a><h4>Returns</h4>
<p> The new <a class="link" href="gnome-keyring-Item-Attributes.html#GnomeKeyringAttributeList" title="GnomeKeyringAttributeList"><span class="type">GnomeKeyringAttributeList</span></a>. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-keyring-attribute-get-string"></a><h3>gnome_keyring_attribute_get_string ()</h3>
<pre class="programlisting">const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
gnome_keyring_attribute_get_string (<em class="parameter"><code><a class="link" href="gnome-keyring-Item-Attributes.html#GnomeKeyringAttribute" title="GnomeKeyringAttribute"><span class="type">GnomeKeyringAttribute</span></a> *attribute</code></em>);</pre>
<div class="warning">
<p><code class="literal">gnome_keyring_attribute_get_string</code> is deprecated and should not be used in newly-written code.</p>
<p>Not needed when using libsecret.</p>
</div>
<p>Return the string value. It is an error to call this method if
<em class="parameter"><code>attribute.type</code></em>
 is not <a class="link" href="gnome-keyring-Item-Attributes.html#GNOME-KEYRING-ATTRIBUTE-TYPE-STRING:CAPS"><span class="type">GNOME_KEYRING_ATTRIBUTE_TYPE_STRING</span></a>. This method is
mostly useful for language bindings which do not provide union access. In C
you should just use attribute-&gt;value.string.</p>
<div class="refsect3">
<a name="id-1.2.7.6.8.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>attribute</p></td>
<td class="parameter_description"><p>a <a class="link" href="gnome-keyring-Item-Attributes.html#GnomeKeyringAttribute" title="GnomeKeyringAttribute"><span class="type">GnomeKeyringAttribute</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.7.6.8.7"></a><h4>Returns</h4>
<p> The value.string pointer of <em class="parameter"><code>attribute</code></em>
. This is
not a copy, do not free. </p>
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-keyring-attribute-get-uint32"></a><h3>gnome_keyring_attribute_get_uint32 ()</h3>
<pre class="programlisting"><span class="returnvalue">guint32</span>
gnome_keyring_attribute_get_uint32 (<em class="parameter"><code><a class="link" href="gnome-keyring-Item-Attributes.html#GnomeKeyringAttribute" title="GnomeKeyringAttribute"><span class="type">GnomeKeyringAttribute</span></a> *attribute</code></em>);</pre>
<div class="warning">
<p><code class="literal">gnome_keyring_attribute_get_uint32</code> is deprecated and should not be used in newly-written code.</p>
<p>Not needed when using libsecret.</p>
</div>
<p>Return the uint32 value. It is an error to call this method if
<em class="parameter"><code>attribute.type</code></em>
 is not <a class="link" href="gnome-keyring-Item-Attributes.html#GNOME-KEYRING-ATTRIBUTE-TYPE-UINT32:CAPS"><span class="type">GNOME_KEYRING_ATTRIBUTE_TYPE_UINT32</span></a>. This method is
mostly useful for language bindings which do not provide union access. In C
you should just use attribute-&gt;value.integer.</p>
<div class="refsect3">
<a name="id-1.2.7.6.9.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>attribute</p></td>
<td class="parameter_description"><p>a <a class="link" href="gnome-keyring-Item-Attributes.html#GnomeKeyringAttribute" title="GnomeKeyringAttribute"><span class="type">GnomeKeyringAttribute</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.7.6.9.7"></a><h4>Returns</h4>
<p> The value.integer of <em class="parameter"><code>attribute</code></em>
.</p>
<p></p>
</div>
</div>
</div>
<div class="refsect1">
<a name="gnome-keyring-Item-Attributes.other_details"></a><h2>Types and Values</h2>
<div class="refsect2">
<a name="GnomeKeyringAttributeType"></a><h3>enum GnomeKeyringAttributeType</h3>
<div class="warning"><p><code class="literal">GnomeKeyringAttributeType</code> is deprecated and should not be used in newly-written code.</p></div>
<p>The data type of the item attribute.</p>
<div class="refsect3">
<a name="id-1.2.7.7.2.5"></a><h4>Members</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="300px" class="enum_members_name">
<col class="enum_members_description">
<col width="200px" class="enum_members_annotations">
</colgroup>
<tbody>
<tr>
<td class="enum_member_name"><p><a name="GNOME-KEYRING-ATTRIBUTE-TYPE-STRING:CAPS"></a>GNOME_KEYRING_ATTRIBUTE_TYPE_STRING</p></td>
<td class="enum_member_description">
<p>A UTF-8 encoded string attribute.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GNOME-KEYRING-ATTRIBUTE-TYPE-UINT32:CAPS"></a>GNOME_KEYRING_ATTRIBUTE_TYPE_UINT32</p></td>
<td class="enum_member_description">
<p>A unsigned integer attribute.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="GnomeKeyringAttributeList"></a><h3>GnomeKeyringAttributeList</h3>
<pre class="programlisting">typedef GArray GnomeKeyringAttributeList;
</pre>
<div class="warning"><p><code class="literal">GnomeKeyringAttributeList</code> is deprecated and should not be used in newly-written code.</p></div>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GnomeKeyringAttribute"></a><h3>GnomeKeyringAttribute</h3>
<pre class="programlisting">typedef struct {
	char *name;
	GnomeKeyringAttributeType type;
	union {
		char *string;
		guint32 integer;
	} value;
} GnomeKeyringAttribute;
</pre>
<div class="warning">
<p><code class="literal">GnomeKeyringAttribute</code> is deprecated and should not be used in newly-written code.</p>
<p>libsecret only supports string attributes.</p>
</div>
<p>An item attribute. Set <code class="code">string</code> if data type is
<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 <code class="code">integer</code> if data type is
<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></p>
<div class="refsect3">
<a name="id-1.2.7.7.4.6"></a><h4>Members</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="300px" class="struct_members_name">
<col class="struct_members_description">
<col width="200px" class="struct_members_annotations">
</colgroup>
<tbody>
<tr>
<td class="struct_member_name"><p><span class="type">char</span> *<em class="structfield"><code><a name="GnomeKeyringAttribute.name"></a>name</code></em>;</p></td>
<td class="struct_member_description"><p>The name of the attribute.</p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><a class="link" href="gnome-keyring-Item-Attributes.html#GnomeKeyringAttributeType" title="enum GnomeKeyringAttributeType"><span class="type">GnomeKeyringAttributeType</span></a> <em class="structfield"><code><a name="GnomeKeyringAttribute.type"></a>type</code></em>;</p></td>
<td class="struct_member_description"><p>The data type.</p></td>
<td class="struct_member_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
</div>
</div>
<div class="footer">
<hr>
          Generated by GTK-Doc V1.21</div>
</body>
</html>