~ubuntu-branches/ubuntu/natty/gnome-keyring/natty

« back to all changes in this revision

Viewing changes to docs/reference/gp11/html/gp11-gp11-attributes.html

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2010-02-16 19:00:06 UTC
  • mfrom: (1.1.58 upstream)
  • Revision ID: james.westby@ubuntu.com-20100216190006-cqpnic4zxlkmmi0o
Tags: 2.29.90git20100218-0ubuntu1
Updated to a git snapshot version

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
<head>
4
4
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
5
<title>GP11Attributes</title>
6
 
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
 
6
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
7
7
<link rel="home" href="index.html" title="GP11 Reference Manual">
8
8
<link rel="up" href="ch01.html" title="PKCS#11 GObject Bindings">
9
9
<link rel="prev" href="gp11-gp11-attribute.html" title="GP11Attribute">
44
44
<a class="link" href="gp11-gp11-attributes.html#GP11Attributes" title="GP11Attributes">GP11Attributes</a>*     <a class="link" href="gp11-gp11-attributes.html#gp11-attributes-new" title="gp11_attributes_new ()">gp11_attributes_new</a>                 (void);
45
45
<a class="link" href="gp11-gp11-attributes.html#GP11Attributes" title="GP11Attributes">GP11Attributes</a>*     <a class="link" href="gp11-gp11-attributes.html#gp11-attributes-new-empty" title="gp11_attributes_new_empty ()">gp11_attributes_new_empty</a>           (<a
46
46
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gulong"
47
 
>gulong</a> attr_type);
 
47
>gulong</a> attr_type,
 
48
                                                         ...);
48
49
<a class="link" href="gp11-gp11-attributes.html#GP11Attributes" title="GP11Attributes">GP11Attributes</a>*     <a class="link" href="gp11-gp11-attributes.html#gp11-attributes-newv" title="gp11_attributes_newv ()">gp11_attributes_newv</a>                (<a
49
50
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gulong"
50
 
>gulong</a> attr_type);
 
51
>gulong</a> attr_type,
 
52
                                                         ...);
51
53
<a class="link" href="gp11-gp11-attribute.html#GP11Attribute" title="GP11Attribute">GP11Attribute</a>*      <a class="link" href="gp11-gp11-attributes.html#gp11-attributes-at" title="gp11_attributes_at ()">gp11_attributes_at</a>                  (<a class="link" href="gp11-gp11-attributes.html#GP11Attributes" title="GP11Attributes">GP11Attributes</a> *attrs,
52
54
                                                         <a
53
55
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"
54
56
>guint</a> index);
55
 
void                <a class="link" href="gp11-gp11-attributes.html#gp11-attributes-add" title="gp11_attributes_add ()">gp11_attributes_add</a>                 (<a class="link" href="gp11-gp11-attributes.html#GP11Attributes" title="GP11Attributes">GP11Attributes</a> *attrs,
 
57
<a class="link" href="gp11-gp11-attribute.html#GP11Attribute" title="GP11Attribute">GP11Attribute</a>*      <a class="link" href="gp11-gp11-attributes.html#gp11-attributes-add" title="gp11_attributes_add ()">gp11_attributes_add</a>                 (<a class="link" href="gp11-gp11-attributes.html#GP11Attributes" title="GP11Attributes">GP11Attributes</a> *attrs,
56
58
                                                         <a class="link" href="gp11-gp11-attribute.html#GP11Attribute" title="GP11Attribute">GP11Attribute</a> *attr);
57
 
void                <a class="link" href="gp11-gp11-attributes.html#gp11-attributes-add-data" title="gp11_attributes_add_data ()">gp11_attributes_add_data</a>            (<a class="link" href="gp11-gp11-attributes.html#GP11Attributes" title="GP11Attributes">GP11Attributes</a> *attrs,
 
59
<a class="link" href="gp11-gp11-attribute.html#GP11Attribute" title="GP11Attribute">GP11Attribute</a>*      <a class="link" href="gp11-gp11-attributes.html#gp11-attributes-add-data" title="gp11_attributes_add_data ()">gp11_attributes_add_data</a>            (<a class="link" href="gp11-gp11-attributes.html#GP11Attributes" title="GP11Attributes">GP11Attributes</a> *attrs,
58
60
                                                         <a
59
61
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gulong"
60
62
>gulong</a> attr_type,
64
66
                                                         <a
65
67
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gsize"
66
68
>gsize</a> length);
67
 
void                <a class="link" href="gp11-gp11-attributes.html#gp11-attributes-add-invalid" title="gp11_attributes_add_invalid ()">gp11_attributes_add_invalid</a>         (<a class="link" href="gp11-gp11-attributes.html#GP11Attributes" title="GP11Attributes">GP11Attributes</a> *attrs,
68
 
                                                         <a
69
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gulong"
70
 
>gulong</a> attr_type);
71
 
void                <a class="link" href="gp11-gp11-attributes.html#gp11-attributes-add-empty" title="gp11_attributes_add_empty ()">gp11_attributes_add_empty</a>           (<a class="link" href="gp11-gp11-attributes.html#GP11Attributes" title="GP11Attributes">GP11Attributes</a> *attrs,
72
 
                                                         <a
73
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gulong"
74
 
>gulong</a> attr_type);
75
 
void                <a class="link" href="gp11-gp11-attributes.html#gp11-attributes-add-boolean" title="gp11_attributes_add_boolean ()">gp11_attributes_add_boolean</a>         (<a class="link" href="gp11-gp11-attributes.html#GP11Attributes" title="GP11Attributes">GP11Attributes</a> *attrs,
 
69
<a class="link" href="gp11-gp11-attribute.html#GP11Attribute" title="GP11Attribute">GP11Attribute</a>*      <a class="link" href="gp11-gp11-attributes.html#gp11-attributes-add-invalid" title="gp11_attributes_add_invalid ()">gp11_attributes_add_invalid</a>         (<a class="link" href="gp11-gp11-attributes.html#GP11Attributes" title="GP11Attributes">GP11Attributes</a> *attrs,
 
70
                                                         <a
 
71
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gulong"
 
72
>gulong</a> attr_type);
 
73
<a class="link" href="gp11-gp11-attribute.html#GP11Attribute" title="GP11Attribute">GP11Attribute</a>*      <a class="link" href="gp11-gp11-attributes.html#gp11-attributes-add-empty" title="gp11_attributes_add_empty ()">gp11_attributes_add_empty</a>           (<a class="link" href="gp11-gp11-attributes.html#GP11Attributes" title="GP11Attributes">GP11Attributes</a> *attrs,
 
74
                                                         <a
 
75
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gulong"
 
76
>gulong</a> attr_type);
 
77
<a class="link" href="gp11-gp11-attribute.html#GP11Attribute" title="GP11Attribute">GP11Attribute</a>*      <a class="link" href="gp11-gp11-attributes.html#gp11-attributes-add-boolean" title="gp11_attributes_add_boolean ()">gp11_attributes_add_boolean</a>         (<a class="link" href="gp11-gp11-attributes.html#GP11Attributes" title="GP11Attributes">GP11Attributes</a> *attrs,
76
78
                                                         <a
77
79
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gulong"
78
80
>gulong</a> attr_type,
79
81
                                                         <a
80
82
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
81
83
>gboolean</a> value);
82
 
void                <a class="link" href="gp11-gp11-attributes.html#gp11-attributes-add-string" title="gp11_attributes_add_string ()">gp11_attributes_add_string</a>          (<a class="link" href="gp11-gp11-attributes.html#GP11Attributes" title="GP11Attributes">GP11Attributes</a> *attrs,
 
84
<a class="link" href="gp11-gp11-attribute.html#GP11Attribute" title="GP11Attribute">GP11Attribute</a>*      <a class="link" href="gp11-gp11-attributes.html#gp11-attributes-add-string" title="gp11_attributes_add_string ()">gp11_attributes_add_string</a>          (<a class="link" href="gp11-gp11-attributes.html#GP11Attributes" title="GP11Attributes">GP11Attributes</a> *attrs,
83
85
                                                         <a
84
86
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gulong"
85
87
>gulong</a> attr_type,
86
88
                                                         const <a
87
89
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
88
 
>gchar</a> *string);
89
 
void                <a class="link" href="gp11-gp11-attributes.html#gp11-attributes-add-date" title="gp11_attributes_add_date ()">gp11_attributes_add_date</a>            (<a class="link" href="gp11-gp11-attributes.html#GP11Attributes" title="GP11Attributes">GP11Attributes</a> *attrs,
 
90
>gchar</a> *value);
 
91
<a class="link" href="gp11-gp11-attribute.html#GP11Attribute" title="GP11Attribute">GP11Attribute</a>*      <a class="link" href="gp11-gp11-attributes.html#gp11-attributes-add-date" title="gp11_attributes_add_date ()">gp11_attributes_add_date</a>            (<a class="link" href="gp11-gp11-attributes.html#GP11Attributes" title="GP11Attributes">GP11Attributes</a> *attrs,
90
92
                                                         <a
91
93
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gulong"
92
94
>gulong</a> attr_type,
93
95
                                                         const <a
94
96
href="http://library.gnome.org/devel/glib/unstable/glib-Date-and-Time-Functions.html#GDate"
95
 
>GDate</a> *date);
96
 
void                <a class="link" href="gp11-gp11-attributes.html#gp11-attributes-add-ulong" title="gp11_attributes_add_ulong ()">gp11_attributes_add_ulong</a>           (<a class="link" href="gp11-gp11-attributes.html#GP11Attributes" title="GP11Attributes">GP11Attributes</a> *attrs,
 
97
>GDate</a> *value);
 
98
<a class="link" href="gp11-gp11-attribute.html#GP11Attribute" title="GP11Attribute">GP11Attribute</a>*      <a class="link" href="gp11-gp11-attributes.html#gp11-attributes-add-ulong" title="gp11_attributes_add_ulong ()">gp11_attributes_add_ulong</a>           (<a class="link" href="gp11-gp11-attributes.html#GP11Attributes" title="GP11Attributes">GP11Attributes</a> *attrs,
97
99
                                                         <a
98
100
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gulong"
99
101
>gulong</a> attr_type,
210
212
<a name="gp11-attributes-new-empty"></a><h3>gp11_attributes_new_empty ()</h3>
211
213
<pre class="programlisting"><a class="link" href="gp11-gp11-attributes.html#GP11Attributes" title="GP11Attributes">GP11Attributes</a>*     gp11_attributes_new_empty           (<a
212
214
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gulong"
213
 
>gulong</a> attr_type);</pre>
 
215
>gulong</a> attr_type,
 
216
                                                         ...);</pre>
214
217
<p>
215
218
Creates an GP11Attributes array with empty attributes. The arguments 
216
 
should be values of attribute types, terminated with -1.</p>
 
219
should be values of attribute types, terminated with GP11_INVALID.</p>
217
220
<p>
218
221
</p>
219
222
<div class="variablelist"><table border="0">
225
228
</td>
226
229
</tr>
227
230
<tr>
 
231
<td><p><span class="term"><em class="parameter"><code>...</code></em> :</span></p></td>
 
232
<td> The arguments should be values of attribute types, terminated with GP11_INVALID.
 
233
</td>
 
234
</tr>
 
235
<tr>
228
236
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
229
237
<td> The new attributes array. When done with the array 
230
238
release it with <a class="link" href="gp11-gp11-attributes.html#gp11-attributes-unref" title="gp11_attributes_unref ()"><code class="function">gp11_attributes_unref()</code></a>.
238
246
<a name="gp11-attributes-newv"></a><h3>gp11_attributes_newv ()</h3>
239
247
<pre class="programlisting"><a class="link" href="gp11-gp11-attributes.html#GP11Attributes" title="GP11Attributes">GP11Attributes</a>*     gp11_attributes_newv                (<a
240
248
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gulong"
241
 
>gulong</a> attr_type);</pre>
242
 
<p>
243
 
Create a new GP11Attributes array.
244
 
</p>
245
 
<p>
246
 
The arguments must be triples of: attribute type, data type, value
 
249
>gulong</a> attr_type,
 
250
                                                         ...);</pre>
 
251
<p>
 
252
Create a new GP11Attributes array, containing a list of attributes.
247
253
</p>
248
254
<p>
249
255
</p>
277
283
<tbody>
278
284
<tr>
279
285
<td><p><span class="term"><em class="parameter"><code>attr_type</code></em> :</span></p></td>
280
 
<td>
 
286
<td> The first attribute type.
 
287
</td>
 
288
</tr>
 
289
<tr>
 
290
<td><p><span class="term"><em class="parameter"><code>...</code></em> :</span></p></td>
 
291
<td> The arguments must be triples of: attribute type, data type, value
281
292
</td>
282
293
</tr>
283
294
<tr>
328
339
<hr>
329
340
<div class="refsect2" title="gp11_attributes_add ()">
330
341
<a name="gp11-attributes-add"></a><h3>gp11_attributes_add ()</h3>
331
 
<pre class="programlisting">void                gp11_attributes_add                 (<a class="link" href="gp11-gp11-attributes.html#GP11Attributes" title="GP11Attributes">GP11Attributes</a> *attrs,
 
342
<pre class="programlisting"><a class="link" href="gp11-gp11-attribute.html#GP11Attribute" title="GP11Attribute">GP11Attribute</a>*      gp11_attributes_add                 (<a class="link" href="gp11-gp11-attributes.html#GP11Attributes" title="GP11Attributes">GP11Attributes</a> *attrs,
332
343
                                                         <a class="link" href="gp11-gp11-attribute.html#GP11Attribute" title="GP11Attribute">GP11Attribute</a> *attr);</pre>
333
344
<p>
334
345
Add the specified attribute to the array. 
350
361
<td> The attribute to add.
351
362
</td>
352
363
</tr>
 
364
<tr>
 
365
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
366
<td> The attribute that was added.
 
367
</td>
 
368
</tr>
353
369
</tbody>
354
370
</table></div>
355
371
</div>
356
372
<hr>
357
373
<div class="refsect2" title="gp11_attributes_add_data ()">
358
374
<a name="gp11-attributes-add-data"></a><h3>gp11_attributes_add_data ()</h3>
359
 
<pre class="programlisting">void                gp11_attributes_add_data            (<a class="link" href="gp11-gp11-attributes.html#GP11Attributes" title="GP11Attributes">GP11Attributes</a> *attrs,
 
375
<pre class="programlisting"><a class="link" href="gp11-gp11-attribute.html#GP11Attribute" title="GP11Attribute">GP11Attribute</a>*      gp11_attributes_add_data            (<a class="link" href="gp11-gp11-attributes.html#GP11Attributes" title="GP11Attributes">GP11Attributes</a> *attrs,
360
376
                                                         <a
361
377
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gulong"
362
378
>gulong</a> attr_type,
396
412
<td> The length of the attribute value.
397
413
</td>
398
414
</tr>
 
415
<tr>
 
416
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
417
<td> The attribute that was added.
 
418
</td>
 
419
</tr>
399
420
</tbody>
400
421
</table></div>
401
422
</div>
402
423
<hr>
403
424
<div class="refsect2" title="gp11_attributes_add_invalid ()">
404
425
<a name="gp11-attributes-add-invalid"></a><h3>gp11_attributes_add_invalid ()</h3>
405
 
<pre class="programlisting">void                gp11_attributes_add_invalid         (<a class="link" href="gp11-gp11-attributes.html#GP11Attributes" title="GP11Attributes">GP11Attributes</a> *attrs,
 
426
<pre class="programlisting"><a class="link" href="gp11-gp11-attribute.html#GP11Attribute" title="GP11Attribute">GP11Attribute</a>*      gp11_attributes_add_invalid         (<a class="link" href="gp11-gp11-attributes.html#GP11Attributes" title="GP11Attributes">GP11Attributes</a> *attrs,
406
427
                                                         <a
407
428
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gulong"
408
429
>gulong</a> attr_type);</pre>
423
444
<td> The type of attribute to add.
424
445
</td>
425
446
</tr>
 
447
<tr>
 
448
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
449
<td> The attribute that was added.
 
450
</td>
 
451
</tr>
426
452
</tbody>
427
453
</table></div>
428
454
</div>
429
455
<hr>
430
456
<div class="refsect2" title="gp11_attributes_add_empty ()">
431
457
<a name="gp11-attributes-add-empty"></a><h3>gp11_attributes_add_empty ()</h3>
432
 
<pre class="programlisting">void                gp11_attributes_add_empty           (<a class="link" href="gp11-gp11-attributes.html#GP11Attributes" title="GP11Attributes">GP11Attributes</a> *attrs,
 
458
<pre class="programlisting"><a class="link" href="gp11-gp11-attribute.html#GP11Attribute" title="GP11Attribute">GP11Attribute</a>*      gp11_attributes_add_empty           (<a class="link" href="gp11-gp11-attributes.html#GP11Attributes" title="GP11Attributes">GP11Attributes</a> *attrs,
433
459
                                                         <a
434
460
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gulong"
435
461
>gulong</a> attr_type);</pre>
450
476
<td> The type of attribute to add.
451
477
</td>
452
478
</tr>
 
479
<tr>
 
480
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
481
<td> The attribute that was added.
 
482
</td>
 
483
</tr>
453
484
</tbody>
454
485
</table></div>
455
486
</div>
456
487
<hr>
457
488
<div class="refsect2" title="gp11_attributes_add_boolean ()">
458
489
<a name="gp11-attributes-add-boolean"></a><h3>gp11_attributes_add_boolean ()</h3>
459
 
<pre class="programlisting">void                gp11_attributes_add_boolean         (<a class="link" href="gp11-gp11-attributes.html#GP11Attributes" title="GP11Attributes">GP11Attributes</a> *attrs,
 
490
<pre class="programlisting"><a class="link" href="gp11-gp11-attribute.html#GP11Attribute" title="GP11Attribute">GP11Attribute</a>*      gp11_attributes_add_boolean         (<a class="link" href="gp11-gp11-attributes.html#GP11Attributes" title="GP11Attributes">GP11Attributes</a> *attrs,
460
491
                                                         <a
461
492
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gulong"
462
493
>gulong</a> attr_type,
488
519
<td> The boolean value to add.
489
520
</td>
490
521
</tr>
 
522
<tr>
 
523
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
524
<td> The attribute that was added.
 
525
</td>
 
526
</tr>
491
527
</tbody>
492
528
</table></div>
493
529
</div>
494
530
<hr>
495
531
<div class="refsect2" title="gp11_attributes_add_string ()">
496
532
<a name="gp11-attributes-add-string"></a><h3>gp11_attributes_add_string ()</h3>
497
 
<pre class="programlisting">void                gp11_attributes_add_string          (<a class="link" href="gp11-gp11-attributes.html#GP11Attributes" title="GP11Attributes">GP11Attributes</a> *attrs,
 
533
<pre class="programlisting"><a class="link" href="gp11-gp11-attribute.html#GP11Attribute" title="GP11Attribute">GP11Attribute</a>*      gp11_attributes_add_string          (<a class="link" href="gp11-gp11-attributes.html#GP11Attributes" title="GP11Attributes">GP11Attributes</a> *attrs,
498
534
                                                         <a
499
535
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gulong"
500
536
>gulong</a> attr_type,
501
537
                                                         const <a
502
538
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
503
 
>gchar</a> *string);</pre>
 
539
>gchar</a> *value);</pre>
504
540
<p>
505
541
Add an attribute with the specified type and value to the array. 
506
542
</p>
522
558
</td>
523
559
</tr>
524
560
<tr>
525
 
<td><p><span class="term"><em class="parameter"><code>string</code></em> :</span></p></td>
526
 
<td>
 
561
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
 
562
<td> The null terminated string value to add.
 
563
</td>
 
564
</tr>
 
565
<tr>
 
566
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
567
<td> The attribute that was added.
527
568
</td>
528
569
</tr>
529
570
</tbody>
532
573
<hr>
533
574
<div class="refsect2" title="gp11_attributes_add_date ()">
534
575
<a name="gp11-attributes-add-date"></a><h3>gp11_attributes_add_date ()</h3>
535
 
<pre class="programlisting">void                gp11_attributes_add_date            (<a class="link" href="gp11-gp11-attributes.html#GP11Attributes" title="GP11Attributes">GP11Attributes</a> *attrs,
 
576
<pre class="programlisting"><a class="link" href="gp11-gp11-attribute.html#GP11Attribute" title="GP11Attribute">GP11Attribute</a>*      gp11_attributes_add_date            (<a class="link" href="gp11-gp11-attributes.html#GP11Attributes" title="GP11Attributes">GP11Attributes</a> *attrs,
536
577
                                                         <a
537
578
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gulong"
538
579
>gulong</a> attr_type,
539
580
                                                         const <a
540
581
href="http://library.gnome.org/devel/glib/unstable/glib-Date-and-Time-Functions.html#GDate"
541
 
>GDate</a> *date);</pre>
 
582
>GDate</a> *value);</pre>
542
583
<p>
543
584
Add an attribute with the specified type and value to the array. 
544
585
</p>
560
601
</td>
561
602
</tr>
562
603
<tr>
563
 
<td><p><span class="term"><em class="parameter"><code>date</code></em> :</span></p></td>
564
 
<td>
 
604
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
 
605
<td> The GDate value to add.
 
606
</td>
 
607
</tr>
 
608
<tr>
 
609
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
610
<td> The attribute that was added.
565
611
</td>
566
612
</tr>
567
613
</tbody>
570
616
<hr>
571
617
<div class="refsect2" title="gp11_attributes_add_ulong ()">
572
618
<a name="gp11-attributes-add-ulong"></a><h3>gp11_attributes_add_ulong ()</h3>
573
 
<pre class="programlisting">void                gp11_attributes_add_ulong           (<a class="link" href="gp11-gp11-attributes.html#GP11Attributes" title="GP11Attributes">GP11Attributes</a> *attrs,
 
619
<pre class="programlisting"><a class="link" href="gp11-gp11-attribute.html#GP11Attribute" title="GP11Attribute">GP11Attribute</a>*      gp11_attributes_add_ulong           (<a class="link" href="gp11-gp11-attributes.html#GP11Attributes" title="GP11Attributes">GP11Attributes</a> *attrs,
574
620
                                                         <a
575
621
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gulong"
576
622
>gulong</a> attr_type,
602
648
<td> The gulong value to add.
603
649
</td>
604
650
</tr>
 
651
<tr>
 
652
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
653
<td> The attribute that was added.
 
654
</td>
 
655
</tr>
605
656
</tbody>
606
657
</table></div>
607
658
</div>
871
922
</tr>
872
923
<tr>
873
924
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
874
 
<td>
 
925
<td> The attributes.
875
926
</td>
876
927
</tr>
877
928
</tbody>
932
983
</tr>
933
984
<tr>
934
985
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
935
 
<td>
 
986
<td> The allocated memory, or NULL when freeing.
936
987
</td>
937
988
</tr>
938
989
</tbody>
944
995
<pre class="programlisting">#define GP11_BOOLEAN  ((gssize)-1)
945
996
</pre>
946
997
<p>
947
 
</p>
 
998
The attribute data is a gboolean. Used with variable argument functions.</p>
948
999
<p>
949
1000
</p>
950
1001
</div>
954
1005
<pre class="programlisting">#define GP11_ULONG    ((gssize)-2)
955
1006
</pre>
956
1007
<p>
957
 
</p>
 
1008
The attribute data is a gulong. Used with variable argument functions.</p>
958
1009
<p>
959
1010
</p>
960
1011
</div>
964
1015
<pre class="programlisting">#define GP11_STRING   ((gssize)-3)
965
1016
</pre>
966
1017
<p>
967
 
</p>
 
1018
The attribute data is a gchar. Used with variable argument functions.</p>
968
1019
<p>
969
1020
</p>
970
1021
</div>
974
1025
<pre class="programlisting">#define GP11_DATE     ((gssize)-4)
975
1026
</pre>
976
1027
<p>
977
 
</p>
 
1028
Signifies that no more attributes follow. Used with variable argument functions.</p>
978
1029
<p>
979
1030
</p>
980
1031
</div>