This file is indexed.

/usr/share/gtk-doc/html/gdata/GDataLink.html is in libgdata-doc 0.14.1-1.

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
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>GData Reference Manual: GDataLink</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="index.html" title="GData Reference Manual">
<link rel="up" href="ch07.html" title="Atom API">
<link rel="prev" href="GDataGenerator.html" title="GDataGenerator">
<link rel="next" href="ch08.html" title="Atom Publishing Protocol API">
<meta name="generator" content="GTK-Doc V1.19.1 (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="10"><tr valign="middle">
<td width="100%" align="left">
<a href="#" class="shortcut">Top</a>
                   | 
                  <a href="#GDataLink.description" class="shortcut">Description</a>
                   | 
                  <a href="#GDataLink.object-hierarchy" class="shortcut">Object Hierarchy</a>
                   | 
                  <a href="#GDataLink.implemented-interfaces" class="shortcut">Implemented Interfaces</a>
                   | 
                  <a href="#GDataLink.properties" class="shortcut">Properties</a>
</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="ch07.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="GDataGenerator.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="ch08.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="GDataLink"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="GDataLink.top_of_page"></a>GDataLink</span></h2>
<p>GDataLink — Atom link element</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="GDataLink.stability-level"></a><h2>Stability Level</h2>
Unstable, unless otherwise indicated
</div>
<div class="refsynopsisdiv">
<a name="GDataLink.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">
#include &lt;gdata/atom/gdata-link.h&gt;

#define             <a class="link" href="GDataLink.html#GDATA-LINK-ALTERNATE:CAPS" title="GDATA_LINK_ALTERNATE">GDATA_LINK_ALTERNATE</a>
#define             <a class="link" href="GDataLink.html#GDATA-LINK-BATCH:CAPS" title="GDATA_LINK_BATCH">GDATA_LINK_BATCH</a>
#define             <a class="link" href="GDataLink.html#GDATA-LINK-EDIT:CAPS" title="GDATA_LINK_EDIT">GDATA_LINK_EDIT</a>
#define             <a class="link" href="GDataLink.html#GDATA-LINK-EDIT-MEDIA:CAPS" title="GDATA_LINK_EDIT_MEDIA">GDATA_LINK_EDIT_MEDIA</a>
#define             <a class="link" href="GDataLink.html#GDATA-LINK-ENCLOSURE:CAPS" title="GDATA_LINK_ENCLOSURE">GDATA_LINK_ENCLOSURE</a>
#define             <a class="link" href="GDataLink.html#GDATA-LINK-RELATED:CAPS" title="GDATA_LINK_RELATED">GDATA_LINK_RELATED</a>
#define             <a class="link" href="GDataLink.html#GDATA-LINK-SELF:CAPS" title="GDATA_LINK_SELF">GDATA_LINK_SELF</a>
#define             <a class="link" href="GDataLink.html#GDATA-LINK-VIA:CAPS" title="GDATA_LINK_VIA">GDATA_LINK_VIA</a>
                    <a class="link" href="GDataLink.html#GDataLink-struct" title="GDataLink">GDataLink</a>;
                    <a class="link" href="GDataLink.html#GDataLinkClass" title="GDataLinkClass">GDataLinkClass</a>;
<a class="link" href="GDataLink.html" title="GDataLink"><span class="returnvalue">GDataLink</span></a> *         <a class="link" href="GDataLink.html#gdata-link-new" title="gdata_link_new ()">gdata_link_new</a>                      (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *uri</code></em>,
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *relation_type</code></em>);
const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *       <a class="link" href="GDataLink.html#gdata-link-get-uri" title="gdata_link_get_uri ()">gdata_link_get_uri</a>                  (<em class="parameter"><code><a class="link" href="GDataLink.html" title="GDataLink"><span class="type">GDataLink</span></a> *self</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="GDataLink.html#gdata-link-set-uri" title="gdata_link_set_uri ()">gdata_link_set_uri</a>                  (<em class="parameter"><code><a class="link" href="GDataLink.html" title="GDataLink"><span class="type">GDataLink</span></a> *self</code></em>,
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *uri</code></em>);
const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *       <a class="link" href="GDataLink.html#gdata-link-get-relation-type" title="gdata_link_get_relation_type ()">gdata_link_get_relation_type</a>        (<em class="parameter"><code><a class="link" href="GDataLink.html" title="GDataLink"><span class="type">GDataLink</span></a> *self</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="GDataLink.html#gdata-link-set-relation-type" title="gdata_link_set_relation_type ()">gdata_link_set_relation_type</a>        (<em class="parameter"><code><a class="link" href="GDataLink.html" title="GDataLink"><span class="type">GDataLink</span></a> *self</code></em>,
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *relation_type</code></em>);
const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *       <a class="link" href="GDataLink.html#gdata-link-get-content-type" title="gdata_link_get_content_type ()">gdata_link_get_content_type</a>         (<em class="parameter"><code><a class="link" href="GDataLink.html" title="GDataLink"><span class="type">GDataLink</span></a> *self</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="GDataLink.html#gdata-link-set-content-type" title="gdata_link_set_content_type ()">gdata_link_set_content_type</a>         (<em class="parameter"><code><a class="link" href="GDataLink.html" title="GDataLink"><span class="type">GDataLink</span></a> *self</code></em>,
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *content_type</code></em>);
const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *       <a class="link" href="GDataLink.html#gdata-link-get-language" title="gdata_link_get_language ()">gdata_link_get_language</a>             (<em class="parameter"><code><a class="link" href="GDataLink.html" title="GDataLink"><span class="type">GDataLink</span></a> *self</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="GDataLink.html#gdata-link-set-language" title="gdata_link_set_language ()">gdata_link_set_language</a>             (<em class="parameter"><code><a class="link" href="GDataLink.html" title="GDataLink"><span class="type">GDataLink</span></a> *self</code></em>,
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *language</code></em>);
const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *       <a class="link" href="GDataLink.html#gdata-link-get-title" title="gdata_link_get_title ()">gdata_link_get_title</a>                (<em class="parameter"><code><a class="link" href="GDataLink.html" title="GDataLink"><span class="type">GDataLink</span></a> *self</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="GDataLink.html#gdata-link-set-title" title="gdata_link_set_title ()">gdata_link_set_title</a>                (<em class="parameter"><code><a class="link" href="GDataLink.html" title="GDataLink"><span class="type">GDataLink</span></a> *self</code></em>,
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *title</code></em>);
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>                <a class="link" href="GDataLink.html#gdata-link-get-length" title="gdata_link_get_length ()">gdata_link_get_length</a>               (<em class="parameter"><code><a class="link" href="GDataLink.html" title="GDataLink"><span class="type">GDataLink</span></a> *self</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="GDataLink.html#gdata-link-set-length" title="gdata_link_set_length ()">gdata_link_set_length</a>               (<em class="parameter"><code><a class="link" href="GDataLink.html" title="GDataLink"><span class="type">GDataLink</span></a> *self</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> length</code></em>);
</pre>
</div>
<div class="refsect1">
<a name="GDataLink.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
  <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
   +----<a class="link" href="GDataParsable.html" title="GDataParsable">GDataParsable</a>
         +----GDataLink
</pre>
</div>
<div class="refsect1">
<a name="GDataLink.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
<p>
GDataLink implements
 <a class="link" href="GDataComparable.html" title="GDataComparable">GDataComparable</a>.</p>
</div>
<div class="refsect1">
<a name="GDataLink.properties"></a><h2>Properties</h2>
<pre class="synopsis">
  "<a class="link" href="GDataLink.html#GDataLink--content-type" title='The "content-type" property'>content-type</a>"             <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>*                : Read / Write
  "<a class="link" href="GDataLink.html#GDataLink--language" title='The "language" property'>language</a>"                 <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>*                : Read / Write
  "<a class="link" href="GDataLink.html#GDataLink--length" title='The "length" property'>length</a>"                   <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read / Write
  "<a class="link" href="GDataLink.html#GDataLink--relation-type" title='The "relation-type" property'>relation-type</a>"            <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>*                : Read / Write
  "<a class="link" href="GDataLink.html#GDataLink--title" title='The "title" property'>title</a>"                    <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>*                : Read / Write
  "<a class="link" href="GDataLink.html#GDataLink--uri" title='The "uri" property'>uri</a>"                      <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>*                : Read / Write
</pre>
</div>
<div class="refsect1">
<a name="GDataLink.description"></a><h2>Description</h2>
<p>
<a class="link" href="GDataLink.html" title="GDataLink"><span class="type">GDataLink</span></a> represents a "link" element from the
<a class="ulink" href="http://www.atomenabled.org/developers/syndication/atom-format-spec.php" target="_top">Atom specification</a>.
</p>
</div>
<div class="refsect1">
<a name="GDataLink.details"></a><h2>Details</h2>
<div class="refsect2">
<a name="GDATA-LINK-ALTERNATE:CAPS"></a><h3>GDATA_LINK_ALTERNATE</h3>
<pre class="programlisting">#define GDATA_LINK_ALTERNATE "http://www.iana.org/assignments/relation/alternate"
</pre>
<p>
The relation type URI for alternate resources to the current one.
</p>
<p>
For more information, see the <a class="ulink" href="http://www.atomenabled.org/developers/syndication/atom-format-spec.php#rel_attribute" target="_top">
Atom specification</a>.
</p>
<p class="since">Since 0.4.0</p>
</div>
<hr>
<div class="refsect2">
<a name="GDATA-LINK-BATCH:CAPS"></a><h3>GDATA_LINK_BATCH</h3>
<pre class="programlisting">#define GDATA_LINK_BATCH "http://schemas.google.com/g/2005#batch"
</pre>
<p>
The relation type URI for the batch operation URI for a given <a class="link" href="GDataFeed.html" title="GDataFeed"><span class="type">GDataFeed</span></a>.
</p>
<p>
For more information, see the <a class="ulink" href="http://code.google.com/apis/gdata/docs/batch.html#Submit_HTTP" target="_top">GData specification</a>.
</p>
<p class="since">Since 0.7.0</p>
</div>
<hr>
<div class="refsect2">
<a name="GDATA-LINK-EDIT:CAPS"></a><h3>GDATA_LINK_EDIT</h3>
<pre class="programlisting">#define GDATA_LINK_EDIT "http://www.iana.org/assignments/relation/edit"
</pre>
<p>
The relation type URI of the edit location for this resource.
</p>
<p>
For more information, see the <a class="ulink" href="http://www.atomenabled.org/developers/protocol/atom-protocol-spec.php#new-link-relation" target="_top">
Atom Publishing Protocol specification</a>.
</p>
<p class="since">Since 0.4.0</p>
</div>
<hr>
<div class="refsect2">
<a name="GDATA-LINK-EDIT-MEDIA:CAPS"></a><h3>GDATA_LINK_EDIT_MEDIA</h3>
<pre class="programlisting">#define GDATA_LINK_EDIT_MEDIA "http://www.iana.org/assignments/relation/edit-media"
</pre>
<p>
The relation type URI of the edit location for media resources attached to this resource.
</p>
<p>
For more information, see the
<a class="ulink" href="http://www.atomenabled.org/developers/protocol/atom-protocol-spec.php#new-media-link-relation" target="_top">
Atom Publishing Protocol specification</a>.
</p>
<p class="since">Since 0.4.0</p>
</div>
<hr>
<div class="refsect2">
<a name="GDATA-LINK-ENCLOSURE:CAPS"></a><h3>GDATA_LINK_ENCLOSURE</h3>
<pre class="programlisting">#define GDATA_LINK_ENCLOSURE "http://www.iana.org/assignments/relation/enclosure"
</pre>
<p>
The relation type URI for attached objects which may be large in size.
</p>
<p>
For more information, see the <a class="ulink" href="http://www.atomenabled.org/developers/syndication/atom-format-spec.php#rel_attribute" target="_top">
Atom specification</a>.
</p>
<p class="since">Since 0.4.0</p>
</div>
<hr>
<div class="refsect2">
<a name="GDATA-LINK-RELATED:CAPS"></a><h3>GDATA_LINK_RELATED</h3>
<pre class="programlisting">#define GDATA_LINK_RELATED "http://www.iana.org/assignments/relation/related"
</pre>
<p>
The relation type URI for resources related to the current one.
</p>
<p>
For more information, see the <a class="ulink" href="http://www.atomenabled.org/developers/syndication/atom-format-spec.php#rel_attribute" target="_top">
Atom specification</a>.
</p>
<p class="since">Since 0.4.0</p>
</div>
<hr>
<div class="refsect2">
<a name="GDATA-LINK-SELF:CAPS"></a><h3>GDATA_LINK_SELF</h3>
<pre class="programlisting">#define GDATA_LINK_SELF "http://www.iana.org/assignments/relation/self"
</pre>
<p>
The relation type URI for the current resource.
</p>
<p>
For more information, see the <a class="ulink" href="http://www.atomenabled.org/developers/syndication/atom-format-spec.php#rel_attribute" target="_top">
Atom specification</a>.
</p>
<p class="since">Since 0.4.0</p>
</div>
<hr>
<div class="refsect2">
<a name="GDATA-LINK-VIA:CAPS"></a><h3>GDATA_LINK_VIA</h3>
<pre class="programlisting">#define GDATA_LINK_VIA "http://www.iana.org/assignments/relation/via"
</pre>
<p>
The relation type URI for the source document of the current resource.
</p>
<p>
For more information, see the <a class="ulink" href="http://www.atomenabled.org/developers/syndication/atom-format-spec.php#rel_attribute" target="_top">
Atom specification</a>.
</p>
<p class="since">Since 0.4.0</p>
</div>
<hr>
<div class="refsect2">
<a name="GDataLink-struct"></a><h3>GDataLink</h3>
<pre class="programlisting">typedef struct _GDataLink GDataLink;</pre>
<p>
All the fields in the <a class="link" href="GDataLink.html" title="GDataLink"><span class="type">GDataLink</span></a> structure are private and should never be accessed directly.
</p>
</div>
<hr>
<div class="refsect2">
<a name="GDataLinkClass"></a><h3>GDataLinkClass</h3>
<pre class="programlisting">typedef struct {
} GDataLinkClass;
</pre>
<p>
All the fields in the <a class="link" href="GDataLink.html#GDataLinkClass" title="GDataLinkClass"><span class="type">GDataLinkClass</span></a> structure are private and should never be accessed directly.
</p>
<p class="since">Since 0.4.0</p>
</div>
<hr>
<div class="refsect2">
<a name="gdata-link-new"></a><h3>gdata_link_new ()</h3>
<pre class="programlisting"><a class="link" href="GDataLink.html" title="GDataLink"><span class="returnvalue">GDataLink</span></a> *         gdata_link_new                      (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *uri</code></em>,
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *relation_type</code></em>);</pre>
<p>
Creates a new <a class="link" href="GDataLink.html" title="GDataLink"><span class="type">GDataLink</span></a>. More information is available in the <a class="ulink" href="http://www.atomenabled.org/developers/syndication/atom-format-spec.php#element.link" target="_top">Atom specification</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>uri</code></em> :</span></p></td>
<td>the link's IRI</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>relation_type</code></em> :</span></p></td>
<td>the relationship of the link to the current document, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <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"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>a new <a class="link" href="GDataLink.html" title="GDataLink"><span class="type">GDataLink</span></a>, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>; unref with <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gdata-link-get-uri"></a><h3>gdata_link_get_uri ()</h3>
<pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *       gdata_link_get_uri                  (<em class="parameter"><code><a class="link" href="GDataLink.html" title="GDataLink"><span class="type">GDataLink</span></a> *self</code></em>);</pre>
<p>
Gets the <a class="link" href="GDataLink.html#GDataLink--uri" title='The "uri" property'><span class="type">"uri"</span></a> property. The return value is guaranteed to be a valid IRI, as
specified by the Atom protocol. Common relationship values such as <code class="literal">alternate</code>
are returned as <code class="literal">http://www.iana.org/assignments/relation/alternate</code>.
</p>
<p>
For more information, see the <a class="ulink" href="" target="_top">
Atom specification</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>self</code></em> :</span></p></td>
<td>a <a class="link" href="GDataLink.html" title="GDataLink"><span class="type">GDataLink</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the link's URI</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 0.4.0</p>
</div>
<hr>
<div class="refsect2">
<a name="gdata-link-set-uri"></a><h3>gdata_link_set_uri ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gdata_link_set_uri                  (<em class="parameter"><code><a class="link" href="GDataLink.html" title="GDataLink"><span class="type">GDataLink</span></a> *self</code></em>,
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *uri</code></em>);</pre>
<p>
Sets the <a class="link" href="GDataLink.html#GDataLink--uri" title='The "uri" property'><span class="type">"uri"</span></a> property to <em class="parameter"><code>uri</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>self</code></em> :</span></p></td>
<td>a <a class="link" href="GDataLink.html" title="GDataLink"><span class="type">GDataLink</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>uri</code></em> :</span></p></td>
<td>the new URI for the link</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 0.4.0</p>
</div>
<hr>
<div class="refsect2">
<a name="gdata-link-get-relation-type"></a><h3>gdata_link_get_relation_type ()</h3>
<pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *       gdata_link_get_relation_type        (<em class="parameter"><code><a class="link" href="GDataLink.html" title="GDataLink"><span class="type">GDataLink</span></a> *self</code></em>);</pre>
<p>
Gets the <a class="link" href="GDataLink.html#GDataLink--relation-type" title='The "relation-type" property'><span class="type">"relation-type"</span></a> property.
</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>self</code></em> :</span></p></td>
<td>a <a class="link" href="GDataLink.html" title="GDataLink"><span class="type">GDataLink</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the link's relation type</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 0.4.0</p>
</div>
<hr>
<div class="refsect2">
<a name="gdata-link-set-relation-type"></a><h3>gdata_link_set_relation_type ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gdata_link_set_relation_type        (<em class="parameter"><code><a class="link" href="GDataLink.html" title="GDataLink"><span class="type">GDataLink</span></a> *self</code></em>,
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *relation_type</code></em>);</pre>
<p>
Sets the <a class="link" href="GDataLink.html#GDataLink--relation-type" title='The "relation-type" property'><span class="type">"relation-type"</span></a> property to <em class="parameter"><code>relation_type</code></em>. If <em class="parameter"><code>relation_type</code></em> is one of the standard Atom relation types,
use one of the defined relation type values, instead of a static string. e.g. <a class="link" href="GDataLink.html#GDATA-LINK-EDIT:CAPS" title="GDATA_LINK_EDIT"><code class="literal">GDATA_LINK_EDIT</code></a> or <a class="link" href="GDataLink.html#GDATA-LINK-SELF:CAPS" title="GDATA_LINK_SELF"><code class="literal">GDATA_LINK_SELF</code></a>.
</p>
<p>
Set <em class="parameter"><code>relation_type</code></em> to <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to unset the property in the link.
</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>self</code></em> :</span></p></td>
<td>a <a class="link" href="GDataLink.html" title="GDataLink"><span class="type">GDataLink</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>relation_type</code></em> :</span></p></td>
<td>the new relation type for the link, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 0.4.0</p>
</div>
<hr>
<div class="refsect2">
<a name="gdata-link-get-content-type"></a><h3>gdata_link_get_content_type ()</h3>
<pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *       gdata_link_get_content_type         (<em class="parameter"><code><a class="link" href="GDataLink.html" title="GDataLink"><span class="type">GDataLink</span></a> *self</code></em>);</pre>
<p>
Gets the <a class="link" href="GDataLink.html#GDataLink--content-type" title='The "content-type" property'><span class="type">"content-type"</span></a> property.
</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>self</code></em> :</span></p></td>
<td>a <a class="link" href="GDataLink.html" title="GDataLink"><span class="type">GDataLink</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the link's content type, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 0.4.0</p>
</div>
<hr>
<div class="refsect2">
<a name="gdata-link-set-content-type"></a><h3>gdata_link_set_content_type ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gdata_link_set_content_type         (<em class="parameter"><code><a class="link" href="GDataLink.html" title="GDataLink"><span class="type">GDataLink</span></a> *self</code></em>,
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *content_type</code></em>);</pre>
<p>
Sets the <a class="link" href="GDataLink.html#GDataLink--content-type" title='The "content-type" property'><span class="type">"content-type"</span></a> property to <em class="parameter"><code>content_type</code></em>.
</p>
<p>
Set <em class="parameter"><code>content_type</code></em> to <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to unset the property in the link.
</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>self</code></em> :</span></p></td>
<td>a <a class="link" href="GDataLink.html" title="GDataLink"><span class="type">GDataLink</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>content_type</code></em> :</span></p></td>
<td>the new content type for the link, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 0.4.0</p>
</div>
<hr>
<div class="refsect2">
<a name="gdata-link-get-language"></a><h3>gdata_link_get_language ()</h3>
<pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *       gdata_link_get_language             (<em class="parameter"><code><a class="link" href="GDataLink.html" title="GDataLink"><span class="type">GDataLink</span></a> *self</code></em>);</pre>
<p>
Gets the <a class="link" href="GDataLink.html#GDataLink--language" title='The "language" property'><span class="type">"language"</span></a> property.
</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>self</code></em> :</span></p></td>
<td>a <a class="link" href="GDataLink.html" title="GDataLink"><span class="type">GDataLink</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the link's language, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 0.4.0</p>
</div>
<hr>
<div class="refsect2">
<a name="gdata-link-set-language"></a><h3>gdata_link_set_language ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gdata_link_set_language             (<em class="parameter"><code><a class="link" href="GDataLink.html" title="GDataLink"><span class="type">GDataLink</span></a> *self</code></em>,
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *language</code></em>);</pre>
<p>
Sets the <a class="link" href="GDataLink.html#GDataLink--language" title='The "language" property'><span class="type">"language"</span></a> property to <em class="parameter"><code>language</code></em>.
</p>
<p>
Set <em class="parameter"><code>language</code></em> to <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to unset the property in the link.
</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>self</code></em> :</span></p></td>
<td>a <a class="link" href="GDataLink.html" title="GDataLink"><span class="type">GDataLink</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>language</code></em> :</span></p></td>
<td>the new language for the link, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 0.4.0</p>
</div>
<hr>
<div class="refsect2">
<a name="gdata-link-get-title"></a><h3>gdata_link_get_title ()</h3>
<pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *       gdata_link_get_title                (<em class="parameter"><code><a class="link" href="GDataLink.html" title="GDataLink"><span class="type">GDataLink</span></a> *self</code></em>);</pre>
<p>
Gets the <a class="link" href="GDataLink.html#GDataLink--title" title='The "title" property'><span class="type">"title"</span></a> property.
</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>self</code></em> :</span></p></td>
<td>a <a class="link" href="GDataLink.html" title="GDataLink"><span class="type">GDataLink</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the link's title, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 0.4.0</p>
</div>
<hr>
<div class="refsect2">
<a name="gdata-link-set-title"></a><h3>gdata_link_set_title ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gdata_link_set_title                (<em class="parameter"><code><a class="link" href="GDataLink.html" title="GDataLink"><span class="type">GDataLink</span></a> *self</code></em>,
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *title</code></em>);</pre>
<p>
Sets the <a class="link" href="GDataLink.html#GDataLink--title" title='The "title" property'><span class="type">"title"</span></a> property to <em class="parameter"><code>title</code></em>.
</p>
<p>
Set <em class="parameter"><code>title</code></em> to <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to unset the property in the link.
</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>self</code></em> :</span></p></td>
<td>a <a class="link" href="GDataLink.html" title="GDataLink"><span class="type">GDataLink</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>title</code></em> :</span></p></td>
<td>the new title for the link, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 0.4.0</p>
</div>
<hr>
<div class="refsect2">
<a name="gdata-link-get-length"></a><h3>gdata_link_get_length ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>                gdata_link_get_length               (<em class="parameter"><code><a class="link" href="GDataLink.html" title="GDataLink"><span class="type">GDataLink</span></a> *self</code></em>);</pre>
<p>
Gets the <a class="link" href="GDataLink.html#GDataLink--length" title='The "length" property'><span class="type">"length"</span></a> property.
</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>self</code></em> :</span></p></td>
<td>a <a class="link" href="GDataLink.html" title="GDataLink"><span class="type">GDataLink</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the link's length, or <code class="code">-1</code>
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 0.4.0</p>
</div>
<hr>
<div class="refsect2">
<a name="gdata-link-set-length"></a><h3>gdata_link_set_length ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gdata_link_set_length               (<em class="parameter"><code><a class="link" href="GDataLink.html" title="GDataLink"><span class="type">GDataLink</span></a> *self</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> length</code></em>);</pre>
<p>
Sets the <a class="link" href="GDataLink.html#GDataLink--length" title='The "length" property'><span class="type">"length"</span></a> property to <em class="parameter"><code>length</code></em>.
</p>
<p>
Set <em class="parameter"><code>length</code></em> to <code class="code">-1</code> to unset the property in the link.
</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>self</code></em> :</span></p></td>
<td>a <a class="link" href="GDataLink.html" title="GDataLink"><span class="type">GDataLink</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>length</code></em> :</span></p></td>
<td>the new length for the link, or <code class="code">-1</code>
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 0.4.0</p>
</div>
</div>
<div class="refsect1">
<a name="GDataLink.property-details"></a><h2>Property Details</h2>
<div class="refsect2">
<a name="GDataLink--content-type"></a><h3>The <code class="literal">"content-type"</code> property</h3>
<pre class="programlisting">  "content-type"             <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>*                : Read / Write</pre>
<p>
An advisory media type: it is a hint about the type of the representation that is expected to be returned when the value
of the <a class="link" href="GDataLink.html#GDataLink--uri" title='The "uri" property'><span class="type">"uri"</span></a> property is dereferenced.
</p>
<p>
For more information, see the
<a class="ulink" href="http://www.atomenabled.org/developers/syndication/atom-format-spec.php#element.link" target="_top">Atom specification</a>.
</p>
<p>Default value: NULL</p>
<p class="since">Since 0.4.0</p>
</div>
<hr>
<div class="refsect2">
<a name="GDataLink--language"></a><h3>The <code class="literal">"language"</code> property</h3>
<pre class="programlisting">  "language"                 <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>*                : Read / Write</pre>
<p>
Describes the language of the resource pointed to by the <a class="link" href="GDataLink.html#GDataLink--uri" title='The "uri" property'><span class="type">"uri"</span></a> property.
</p>
<p>
For more information, see the
<a class="ulink" href="http://www.atomenabled.org/developers/syndication/atom-format-spec.php#element.link" target="_top">Atom specification</a>.
</p>
<p>Default value: NULL</p>
<p class="since">Since 0.4.0</p>
</div>
<hr>
<div class="refsect2">
<a name="GDataLink--length"></a><h3>The <code class="literal">"length"</code> property</h3>
<pre class="programlisting">  "length"                   <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read / Write</pre>
<p>
Indicates an advisory length of the linked content in octets. <code class="code">-1</code> means the length is unspecified.
</p>
<p>
For more information, see the
<a class="ulink" href="http://www.atomenabled.org/developers/syndication/atom-format-spec.php#element.link" target="_top">Atom specification</a>.
</p>
<p>Allowed values: &gt;= -1</p>
<p>Default value: -1</p>
<p class="since">Since 0.4.0</p>
</div>
<hr>
<div class="refsect2">
<a name="GDataLink--relation-type"></a><h3>The <code class="literal">"relation-type"</code> property</h3>
<pre class="programlisting">  "relation-type"            <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>*                : Read / Write</pre>
<p>
The link relation type.
</p>
<p>
For more information, see the
<a class="ulink" href="http://www.atomenabled.org/developers/syndication/atom-format-spec.php#element.link" target="_top">Atom specification</a>.
</p>
<p>Default value: "http://www.iana.org/assignments/relation/alternate"</p>
<p class="since">Since 0.4.0</p>
</div>
<hr>
<div class="refsect2">
<a name="GDataLink--title"></a><h3>The <code class="literal">"title"</code> property</h3>
<pre class="programlisting">  "title"                    <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>*                : Read / Write</pre>
<p>
Conveys human-readable information about the link.
</p>
<p>
For more information, see the
<a class="ulink" href="http://www.atomenabled.org/developers/syndication/atom-format-spec.php#element.link" target="_top">Atom specification</a>.
</p>
<p>Default value: NULL</p>
<p class="since">Since 0.4.0</p>
</div>
<hr>
<div class="refsect2">
<a name="GDataLink--uri"></a><h3>The <code class="literal">"uri"</code> property</h3>
<pre class="programlisting">  "uri"                      <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>*                : Read / Write</pre>
<p>
The link's IRI.
</p>
<p>
For more information, see the
<a class="ulink" href="http://www.atomenabled.org/developers/syndication/atom-format-spec.php#element.link" target="_top">Atom specification</a>.
</p>
<p>Default value: NULL</p>
<p class="since">Since 0.4.0</p>
</div>
</div>
</div>
<div class="footer">
<hr>
          Generated by GTK-Doc V1.19.1</div>
</body>
</html>