This file is indexed.

/usr/share/gtk-doc/html/librdf/redland-uri.html is in librdf0-dev 1.0.17-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
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>URI</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
<link rel="home" href="index.html" title="Redland RDF Library Manual">
<link rel="up" href="reference-manual.html" title="Part II. Reference Manual">
<link rel="prev" href="redland-unicode.html" title="Unicode">
<link rel="next" href="redland-changes.html" title="API Changes">
<meta name="generator" content="GTK-Doc V1.18 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
<tr valign="middle">
<td><a accesskey="p" href="redland-unicode.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="reference-manual.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">Redland RDF Library Manual</th>
<td><a accesskey="n" href="redland-changes.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#redland-uri.synopsis" class="shortcut">Top</a>
                   | 
                  <a href="#redland-uri.description" class="shortcut">Description</a>
</td></tr>
</table>
<div class="refentry">
<a name="redland-uri"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="redland-uri.top_of_page"></a>URI</span></h2>
<p>URI — URI class</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<a name="redland-uri.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">typedef             <a class="link" href="redland-uri.html#librdf-uri" title="librdf_uri">librdf_uri</a>;
<a class="link" href="redland-uri.html#librdf-uri" title="librdf_uri"><span class="returnvalue">librdf_uri</span></a> *        <a class="link" href="redland-uri.html#librdf-new-uri" title="librdf_new_uri ()">librdf_new_uri</a>                      (<em class="parameter"><code><a class="link" href="redland-world.html#librdf-world" title="librdf_world"><span class="type">librdf_world</span></a> *world</code></em>,
                                                         <em class="parameter"><code>const unsigned <span class="type">char</span> *uri_string</code></em>);
<a class="link" href="redland-uri.html#librdf-uri" title="librdf_uri"><span class="returnvalue">librdf_uri</span></a> *        <a class="link" href="redland-uri.html#librdf-new-uri2" title="librdf_new_uri2 ()">librdf_new_uri2</a>                     (<em class="parameter"><code><a class="link" href="redland-world.html#librdf-world" title="librdf_world"><span class="type">librdf_world</span></a> *world</code></em>,
                                                         <em class="parameter"><code>const unsigned <span class="type">char</span> *uri_string</code></em>,
                                                         <em class="parameter"><code><span class="type">size_t</span> length</code></em>);
<a class="link" href="redland-uri.html#librdf-uri" title="librdf_uri"><span class="returnvalue">librdf_uri</span></a> *        <a class="link" href="redland-uri.html#librdf-new-uri-from-uri" title="librdf_new_uri_from_uri ()">librdf_new_uri_from_uri</a>             (<em class="parameter"><code><a class="link" href="redland-uri.html#librdf-uri" title="librdf_uri"><span class="type">librdf_uri</span></a> *old_uri</code></em>);
<a class="link" href="redland-uri.html#librdf-uri" title="librdf_uri"><span class="returnvalue">librdf_uri</span></a> *        <a class="link" href="redland-uri.html#librdf-new-uri-from-uri-local-name" title="librdf_new_uri_from_uri_local_name ()">librdf_new_uri_from_uri_local_name</a>  (<em class="parameter"><code><a class="link" href="redland-uri.html#librdf-uri" title="librdf_uri"><span class="type">librdf_uri</span></a> *old_uri</code></em>,
                                                         <em class="parameter"><code>const unsigned <span class="type">char</span> *local_name</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="redland-uri.html#librdf-free-uri" title="librdf_free_uri ()">librdf_free_uri</a>                     (<em class="parameter"><code><a class="link" href="redland-uri.html#librdf-uri" title="librdf_uri"><span class="type">librdf_uri</span></a> *uri</code></em>);
unsigned <span class="returnvalue">char</span> *     <a class="link" href="redland-uri.html#librdf-uri-as-string" title="librdf_uri_as_string ()">librdf_uri_as_string</a>                (<em class="parameter"><code><a class="link" href="redland-uri.html#librdf-uri" title="librdf_uri"><span class="type">librdf_uri</span></a> *uri</code></em>);
unsigned <span class="returnvalue">char</span> *     <a class="link" href="redland-uri.html#librdf-uri-as-counted-string" title="librdf_uri_as_counted_string ()">librdf_uri_as_counted_string</a>        (<em class="parameter"><code><a class="link" href="redland-uri.html#librdf-uri" title="librdf_uri"><span class="type">librdf_uri</span></a> *uri</code></em>,
                                                         <em class="parameter"><code><span class="type">size_t</span> *len_p</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="redland-uri.html#librdf-uri-print" title="librdf_uri_print ()">librdf_uri_print</a>                    (<em class="parameter"><code><a class="link" href="redland-uri.html#librdf-uri" title="librdf_uri"><span class="type">librdf_uri</span></a> *uri</code></em>,
                                                         <em class="parameter"><code><span class="type">FILE</span> *fh</code></em>);
unsigned <span class="returnvalue">char</span> *     <a class="link" href="redland-uri.html#librdf-uri-to-string" title="librdf_uri_to_string ()">librdf_uri_to_string</a>                (<em class="parameter"><code><a class="link" href="redland-uri.html#librdf-uri" title="librdf_uri"><span class="type">librdf_uri</span></a> *uri</code></em>);
unsigned <span class="returnvalue">char</span> *     <a class="link" href="redland-uri.html#librdf-uri-to-counted-string" title="librdf_uri_to_counted_string ()">librdf_uri_to_counted_string</a>        (<em class="parameter"><code><a class="link" href="redland-uri.html#librdf-uri" title="librdf_uri"><span class="type">librdf_uri</span></a> *uri</code></em>,
                                                         <em class="parameter"><code><span class="type">size_t</span> *len_p</code></em>);
<span class="returnvalue">int</span>                 <a class="link" href="redland-uri.html#librdf-uri-equals" title="librdf_uri_equals ()">librdf_uri_equals</a>                   (<em class="parameter"><code><a class="link" href="redland-uri.html#librdf-uri" title="librdf_uri"><span class="type">librdf_uri</span></a> *first_uri</code></em>,
                                                         <em class="parameter"><code><a class="link" href="redland-uri.html#librdf-uri" title="librdf_uri"><span class="type">librdf_uri</span></a> *second_uri</code></em>);
<span class="returnvalue">int</span>                 <a class="link" href="redland-uri.html#librdf-uri-is-file-uri" title="librdf_uri_is_file_uri ()">librdf_uri_is_file_uri</a>              (<em class="parameter"><code><a class="link" href="redland-uri.html#librdf-uri" title="librdf_uri"><span class="type">librdf_uri</span></a> *uri</code></em>);
const <span class="returnvalue">char</span> *        <a class="link" href="redland-uri.html#librdf-uri-to-filename" title="librdf_uri_to_filename ()">librdf_uri_to_filename</a>              (<em class="parameter"><code><a class="link" href="redland-uri.html#librdf-uri" title="librdf_uri"><span class="type">librdf_uri</span></a> *uri</code></em>);
<a class="link" href="redland-uri.html#librdf-uri" title="librdf_uri"><span class="returnvalue">librdf_uri</span></a> *        <a class="link" href="redland-uri.html#librdf-new-uri-normalised-to-base" title="librdf_new_uri_normalised_to_base ()">librdf_new_uri_normalised_to_base</a>   (<em class="parameter"><code>const unsigned <span class="type">char</span> *uri_string</code></em>,
                                                         <em class="parameter"><code><a class="link" href="redland-uri.html#librdf-uri" title="librdf_uri"><span class="type">librdf_uri</span></a> *source_uri</code></em>,
                                                         <em class="parameter"><code><a class="link" href="redland-uri.html#librdf-uri" title="librdf_uri"><span class="type">librdf_uri</span></a> *base_uri</code></em>);
<a class="link" href="redland-uri.html#librdf-uri" title="librdf_uri"><span class="returnvalue">librdf_uri</span></a> *        <a class="link" href="redland-uri.html#librdf-new-uri-relative-to-base" title="librdf_new_uri_relative_to_base ()">librdf_new_uri_relative_to_base</a>     (<em class="parameter"><code><a class="link" href="redland-uri.html#librdf-uri" title="librdf_uri"><span class="type">librdf_uri</span></a> *base_uri</code></em>,
                                                         <em class="parameter"><code>const unsigned <span class="type">char</span> *uri_string</code></em>);
<a class="link" href="redland-uri.html#librdf-uri" title="librdf_uri"><span class="returnvalue">librdf_uri</span></a> *        <a class="link" href="redland-uri.html#librdf-new-uri-from-filename" title="librdf_new_uri_from_filename ()">librdf_new_uri_from_filename</a>        (<em class="parameter"><code><a class="link" href="redland-world.html#librdf-world" title="librdf_world"><span class="type">librdf_world</span></a> *world</code></em>,
                                                         <em class="parameter"><code>const <span class="type">char</span> *filename</code></em>);
<span class="returnvalue">int</span>                 <a class="link" href="redland-uri.html#librdf-uri-compare" title="librdf_uri_compare ()">librdf_uri_compare</a>                  (<em class="parameter"><code><a class="link" href="redland-uri.html#librdf-uri" title="librdf_uri"><span class="type">librdf_uri</span></a> *uri1</code></em>,
                                                         <em class="parameter"><code><a class="link" href="redland-uri.html#librdf-uri" title="librdf_uri"><span class="type">librdf_uri</span></a> *uri2</code></em>);
<span class="returnvalue">int</span>                 (<a class="link" href="redland-uri.html#librdf-uri-filter-func" title="librdf_uri_filter_func ()">*librdf_uri_filter_func</a>)           (<em class="parameter"><code><span class="type">void</span> *user_data</code></em>,
                                                         <em class="parameter"><code><a class="link" href="redland-uri.html#librdf-uri" title="librdf_uri"><span class="type">librdf_uri</span></a> *uri</code></em>);
</pre>
</div>
<div class="refsect1">
<a name="redland-uri.description"></a><h2>Description</h2>
<p>
A class for absolute URIs and relative URI computation utility
functions.  Only absolute URIs are provided, with no current access
to internals of URIs such as URI scheme, path, authority.  Relative
URIs can be generated against some base or turned to and from local
filenames.
</p>
</div>
<div class="refsect1">
<a name="redland-uri.details"></a><h2>Details</h2>
<div class="refsect2">
<a name="librdf-uri"></a><h3>librdf_uri</h3>
<pre class="programlisting">typedef struct raptor_uri_s librdf_uri;
</pre>
<p>
Redland URI class.
</p>
</div>
<hr>
<div class="refsect2">
<a name="librdf-new-uri"></a><h3>librdf_new_uri ()</h3>
<pre class="programlisting"><a class="link" href="redland-uri.html#librdf-uri" title="librdf_uri"><span class="returnvalue">librdf_uri</span></a> *        librdf_new_uri                      (<em class="parameter"><code><a class="link" href="redland-world.html#librdf-world" title="librdf_world"><span class="type">librdf_world</span></a> *world</code></em>,
                                                         <em class="parameter"><code>const unsigned <span class="type">char</span> *uri_string</code></em>);</pre>
<p>
Constructor - create a new <a class="link" href="redland-uri.html#librdf-uri" title="librdf_uri"><span class="type">librdf_uri</span></a> object from a URI string.
</p>
<p>
A new URI is constructed from a copy of the string.  If the
string is a NULL pointer or empty (0 length) then the result is NULL.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>world</code></em> :</span></p></td>
<td>redland world object</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>uri_string</code></em> :</span></p></td>
<td>URI in string form</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="redland-uri.html#librdf-uri" title="librdf_uri"><span class="type">librdf_uri</span></a> object or NULL on failure</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="librdf-new-uri2"></a><h3>librdf_new_uri2 ()</h3>
<pre class="programlisting"><a class="link" href="redland-uri.html#librdf-uri" title="librdf_uri"><span class="returnvalue">librdf_uri</span></a> *        librdf_new_uri2                     (<em class="parameter"><code><a class="link" href="redland-world.html#librdf-world" title="librdf_world"><span class="type">librdf_world</span></a> *world</code></em>,
                                                         <em class="parameter"><code>const unsigned <span class="type">char</span> *uri_string</code></em>,
                                                         <em class="parameter"><code><span class="type">size_t</span> length</code></em>);</pre>
<p>
Constructor - create a new <a class="link" href="redland-uri.html#librdf-uri" title="librdf_uri"><span class="type">librdf_uri</span></a> object from a counted URI string.
</p>
<p>
A new URI is constructed from a copy of the string.  If the string
is a NULL pointer or 0 length or empty (first byte is 0) then the
result is NULL.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>world</code></em> :</span></p></td>
<td>redland world object</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>uri_string</code></em> :</span></p></td>
<td>URI in string form</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>length</code></em> :</span></p></td>
<td>length of string</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="redland-uri.html#librdf-uri" title="librdf_uri"><span class="type">librdf_uri</span></a> object or NULL on failure</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="librdf-new-uri-from-uri"></a><h3>librdf_new_uri_from_uri ()</h3>
<pre class="programlisting"><a class="link" href="redland-uri.html#librdf-uri" title="librdf_uri"><span class="returnvalue">librdf_uri</span></a> *        librdf_new_uri_from_uri             (<em class="parameter"><code><a class="link" href="redland-uri.html#librdf-uri" title="librdf_uri"><span class="type">librdf_uri</span></a> *old_uri</code></em>);</pre>
<p>
Copy constructor - create a new librdf_uri object from an existing librdf_uri object.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>old_uri</code></em> :</span></p></td>
<td>
<a class="link" href="redland-uri.html#librdf-uri" title="librdf_uri"><span class="type">librdf_uri</span></a> object</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="redland-uri.html#librdf-uri" title="librdf_uri"><span class="type">librdf_uri</span></a> object or NULL on failure</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="librdf-new-uri-from-uri-local-name"></a><h3>librdf_new_uri_from_uri_local_name ()</h3>
<pre class="programlisting"><a class="link" href="redland-uri.html#librdf-uri" title="librdf_uri"><span class="returnvalue">librdf_uri</span></a> *        librdf_new_uri_from_uri_local_name  (<em class="parameter"><code><a class="link" href="redland-uri.html#librdf-uri" title="librdf_uri"><span class="type">librdf_uri</span></a> *old_uri</code></em>,
                                                         <em class="parameter"><code>const unsigned <span class="type">char</span> *local_name</code></em>);</pre>
<p>
Copy constructor - create a new librdf_uri object from an existing librdf_uri object and a local name.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>old_uri</code></em> :</span></p></td>
<td>
<a class="link" href="redland-uri.html#librdf-uri" title="librdf_uri"><span class="type">librdf_uri</span></a> object</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>local_name</code></em> :</span></p></td>
<td>local name to append to URI</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="redland-uri.html#librdf-uri" title="librdf_uri"><span class="type">librdf_uri</span></a> object or NULL on failure</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="librdf-free-uri"></a><h3>librdf_free_uri ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                librdf_free_uri                     (<em class="parameter"><code><a class="link" href="redland-uri.html#librdf-uri" title="librdf_uri"><span class="type">librdf_uri</span></a> *uri</code></em>);</pre>
<p>
Destructor - destroy a <a class="link" href="redland-uri.html#librdf-uri" title="librdf_uri"><span class="type">librdf_uri</span></a> object.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><em class="parameter"><code>uri</code></em> :</span></p></td>
<td>
<a class="link" href="redland-uri.html#librdf-uri" title="librdf_uri"><span class="type">librdf_uri</span></a> object</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="librdf-uri-as-string"></a><h3>librdf_uri_as_string ()</h3>
<pre class="programlisting">unsigned <span class="returnvalue">char</span> *     librdf_uri_as_string                (<em class="parameter"><code><a class="link" href="redland-uri.html#librdf-uri" title="librdf_uri"><span class="type">librdf_uri</span></a> *uri</code></em>);</pre>
<p>
Get a pointer to the string representation of the URI.
</p>
<p>
Returns a shared pointer to the URI string representation. 
Note: does not allocate a new string so the caller must not free it.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>uri</code></em> :</span></p></td>
<td>
<a class="link" href="redland-uri.html#librdf-uri" title="librdf_uri"><span class="type">librdf_uri</span></a> object</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>string representation of URI</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="librdf-uri-as-counted-string"></a><h3>librdf_uri_as_counted_string ()</h3>
<pre class="programlisting">unsigned <span class="returnvalue">char</span> *     librdf_uri_as_counted_string        (<em class="parameter"><code><a class="link" href="redland-uri.html#librdf-uri" title="librdf_uri"><span class="type">librdf_uri</span></a> *uri</code></em>,
                                                         <em class="parameter"><code><span class="type">size_t</span> *len_p</code></em>);</pre>
<p>
Get a pointer to the string representation of the URI with length.
</p>
<p>
Returns a shared pointer to the URI string representation. 
Note: does not allocate a new string so the caller must not free it.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>uri</code></em> :</span></p></td>
<td>
<a class="link" href="redland-uri.html#librdf-uri" title="librdf_uri"><span class="type">librdf_uri</span></a> object</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>len_p</code></em> :</span></p></td>
<td>pointer to location to store length</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>string representation of URI</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="librdf-uri-print"></a><h3>librdf_uri_print ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                librdf_uri_print                    (<em class="parameter"><code><a class="link" href="redland-uri.html#librdf-uri" title="librdf_uri"><span class="type">librdf_uri</span></a> *uri</code></em>,
                                                         <em class="parameter"><code><span class="type">FILE</span> *fh</code></em>);</pre>
<p>
Print the URI to the given file handle.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>uri</code></em> :</span></p></td>
<td>
<a class="link" href="redland-uri.html#librdf-uri" title="librdf_uri"><span class="type">librdf_uri</span></a> object</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>fh</code></em> :</span></p></td>
<td>file handle</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="librdf-uri-to-string"></a><h3>librdf_uri_to_string ()</h3>
<pre class="programlisting">unsigned <span class="returnvalue">char</span> *     librdf_uri_to_string                (<em class="parameter"><code><a class="link" href="redland-uri.html#librdf-uri" title="librdf_uri"><span class="type">librdf_uri</span></a> *uri</code></em>);</pre>
<p>
Format the URI as a string.
</p>
<p>
Note: this method allocates a new string since this is a _to_ method
and the caller must free the resulting memory.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>uri</code></em> :</span></p></td>
<td>
<a class="link" href="redland-uri.html#librdf-uri" title="librdf_uri"><span class="type">librdf_uri</span></a> object</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>string representation of the URI or NULL on failure</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="librdf-uri-to-counted-string"></a><h3>librdf_uri_to_counted_string ()</h3>
<pre class="programlisting">unsigned <span class="returnvalue">char</span> *     librdf_uri_to_counted_string        (<em class="parameter"><code><a class="link" href="redland-uri.html#librdf-uri" title="librdf_uri"><span class="type">librdf_uri</span></a> *uri</code></em>,
                                                         <em class="parameter"><code><span class="type">size_t</span> *len_p</code></em>);</pre>
<p>
Format the URI as a counted string.
</p>
<p>
Note: this method allocates a new string since this is a _to_ method
and the caller must free the resulting memory.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>uri</code></em> :</span></p></td>
<td>
<a class="link" href="redland-uri.html#librdf-uri" title="librdf_uri"><span class="type">librdf_uri</span></a> object</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>len_p</code></em> :</span></p></td>
<td>pointer to location to store length</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>string representation of the URI or NULL on failure</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="librdf-uri-equals"></a><h3>librdf_uri_equals ()</h3>
<pre class="programlisting"><span class="returnvalue">int</span>                 librdf_uri_equals                   (<em class="parameter"><code><a class="link" href="redland-uri.html#librdf-uri" title="librdf_uri"><span class="type">librdf_uri</span></a> *first_uri</code></em>,
                                                         <em class="parameter"><code><a class="link" href="redland-uri.html#librdf-uri" title="librdf_uri"><span class="type">librdf_uri</span></a> *second_uri</code></em>);</pre>
<p>
Compare two librdf_uri objects for equality.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>first_uri</code></em> :</span></p></td>
<td>
<a class="link" href="redland-uri.html#librdf-uri" title="librdf_uri"><span class="type">librdf_uri</span></a> object 1</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>second_uri</code></em> :</span></p></td>
<td>
<a class="link" href="redland-uri.html#librdf-uri" title="librdf_uri"><span class="type">librdf_uri</span></a> object 2</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>non 0 if the objects are equal</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="librdf-uri-is-file-uri"></a><h3>librdf_uri_is_file_uri ()</h3>
<pre class="programlisting"><span class="returnvalue">int</span>                 librdf_uri_is_file_uri              (<em class="parameter"><code><a class="link" href="redland-uri.html#librdf-uri" title="librdf_uri"><span class="type">librdf_uri</span></a> *uri</code></em>);</pre>
<p>
Test if a URI points to a filename.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>uri</code></em> :</span></p></td>
<td>
<a class="link" href="redland-uri.html#librdf-uri" title="librdf_uri"><span class="type">librdf_uri</span></a> object</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>Non zero if the URI points to a file</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="librdf-uri-to-filename"></a><h3>librdf_uri_to_filename ()</h3>
<pre class="programlisting">const <span class="returnvalue">char</span> *        librdf_uri_to_filename              (<em class="parameter"><code><a class="link" href="redland-uri.html#librdf-uri" title="librdf_uri"><span class="type">librdf_uri</span></a> *uri</code></em>);</pre>
<p>
Return pointer to filename of URI.
</p>
<p>
Returns a pointer to a newly allocated buffer that
the caller must free.  This will fail if the URI
is not a file: URI.  This can be checked with <a class="link" href="redland-uri.html#librdf-uri-is-file-uri" title="librdf_uri_is_file_uri ()"><span class="type">librdf_uri_is_file_uri</span></a>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>uri</code></em> :</span></p></td>
<td>
<a class="link" href="redland-uri.html#librdf-uri" title="librdf_uri"><span class="type">librdf_uri</span></a> object</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>pointer to filename or NULL on failure</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="librdf-new-uri-normalised-to-base"></a><h3>librdf_new_uri_normalised_to_base ()</h3>
<pre class="programlisting"><a class="link" href="redland-uri.html#librdf-uri" title="librdf_uri"><span class="returnvalue">librdf_uri</span></a> *        librdf_new_uri_normalised_to_base   (<em class="parameter"><code>const unsigned <span class="type">char</span> *uri_string</code></em>,
                                                         <em class="parameter"><code><a class="link" href="redland-uri.html#librdf-uri" title="librdf_uri"><span class="type">librdf_uri</span></a> *source_uri</code></em>,
                                                         <em class="parameter"><code><a class="link" href="redland-uri.html#librdf-uri" title="librdf_uri"><span class="type">librdf_uri</span></a> *base_uri</code></em>);</pre>
<p>
Constructor - create a new <a class="link" href="redland-uri.html#librdf-uri" title="librdf_uri"><span class="type">librdf_uri</span></a> object from a URI string stripped of the source URI, made relative to the base URI.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>uri_string</code></em> :</span></p></td>
<td>URI in string form</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>source_uri</code></em> :</span></p></td>
<td>source URI to remove</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>base_uri</code></em> :</span></p></td>
<td>base URI to add</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="redland-uri.html#librdf-uri" title="librdf_uri"><span class="type">librdf_uri</span></a> object or NULL on failure</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="librdf-new-uri-relative-to-base"></a><h3>librdf_new_uri_relative_to_base ()</h3>
<pre class="programlisting"><a class="link" href="redland-uri.html#librdf-uri" title="librdf_uri"><span class="returnvalue">librdf_uri</span></a> *        librdf_new_uri_relative_to_base     (<em class="parameter"><code><a class="link" href="redland-uri.html#librdf-uri" title="librdf_uri"><span class="type">librdf_uri</span></a> *base_uri</code></em>,
                                                         <em class="parameter"><code>const unsigned <span class="type">char</span> *uri_string</code></em>);</pre>
<p>
Constructor - create a new <a class="link" href="redland-uri.html#librdf-uri" title="librdf_uri"><span class="type">librdf_uri</span></a> object from a URI string relative to a base URI.
</p>
<p>
An empty uri_string or NULL is equivalent to 
librdf_new_uri_from_uri(base_uri)
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>base_uri</code></em> :</span></p></td>
<td>absolute base URI</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>uri_string</code></em> :</span></p></td>
<td>relative URI string</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="redland-uri.html#librdf-uri" title="librdf_uri"><span class="type">librdf_uri</span></a> object or NULL on failure</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="librdf-new-uri-from-filename"></a><h3>librdf_new_uri_from_filename ()</h3>
<pre class="programlisting"><a class="link" href="redland-uri.html#librdf-uri" title="librdf_uri"><span class="returnvalue">librdf_uri</span></a> *        librdf_new_uri_from_filename        (<em class="parameter"><code><a class="link" href="redland-world.html#librdf-world" title="librdf_world"><span class="type">librdf_world</span></a> *world</code></em>,
                                                         <em class="parameter"><code>const <span class="type">char</span> *filename</code></em>);</pre>
<p>
Constructor - create a new <a class="link" href="redland-uri.html#librdf-uri" title="librdf_uri"><span class="type">librdf_uri</span></a> object from a filename.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>world</code></em> :</span></p></td>
<td>Redland <a class="link" href="redland-world.html#librdf-world" title="librdf_world"><span class="type">librdf_world</span></a> object</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>filename</code></em> :</span></p></td>
<td>filename</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="redland-uri.html#librdf-uri" title="librdf_uri"><span class="type">librdf_uri</span></a> object or NULL on failure</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="librdf-uri-compare"></a><h3>librdf_uri_compare ()</h3>
<pre class="programlisting"><span class="returnvalue">int</span>                 librdf_uri_compare                  (<em class="parameter"><code><a class="link" href="redland-uri.html#librdf-uri" title="librdf_uri"><span class="type">librdf_uri</span></a> *uri1</code></em>,
                                                         <em class="parameter"><code><a class="link" href="redland-uri.html#librdf-uri" title="librdf_uri"><span class="type">librdf_uri</span></a> *uri2</code></em>);</pre>
<p>
Compare two librdf_uri objects lexicographically.
</p>
<p>
A NULL URI is always less than (never equal to) a non-NULL URI.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>uri1</code></em> :</span></p></td>
<td>
<a class="link" href="redland-uri.html#librdf-uri" title="librdf_uri"><span class="type">librdf_uri</span></a> object 1 or NULL</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>uri2</code></em> :</span></p></td>
<td>
<a class="link" href="redland-uri.html#librdf-uri" title="librdf_uri"><span class="type">librdf_uri</span></a> object 2 or NULL</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>&lt;0 if <em class="parameter"><code>uri1</code></em> is less than <em class="parameter"><code>uri2</code></em>, 0 if equal, &gt;0 if <em class="parameter"><code>uri1</code></em> is greater than <em class="parameter"><code>uri2</code></em>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="librdf-uri-filter-func"></a><h3>librdf_uri_filter_func ()</h3>
<pre class="programlisting"><span class="returnvalue">int</span>                 (*librdf_uri_filter_func)           (<em class="parameter"><code><span class="type">void</span> *user_data</code></em>,
                                                         <em class="parameter"><code><a class="link" href="redland-uri.html#librdf-uri" title="librdf_uri"><span class="type">librdf_uri</span></a> *uri</code></em>);</pre>
<p>
Callback function for <a class="link" href="redland-parser.html#librdf-parser-set-uri-filter" title="librdf_parser_set_uri_filter ()"><code class="function">librdf_parser_set_uri_filter()</code></a>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
<td>user data</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>uri</code></em> :</span></p></td>
<td>
<a class="link" href="redland-uri.html#librdf-uri" title="librdf_uri"><span class="type">librdf_uri</span></a> URI to check</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>non-0 to filter the URI</td>
</tr>
</tbody>
</table></div>
</div>
</div>
</div>
<div class="footer">
<hr>
          Generated by GTK-Doc V1.18</div>
</body>
</html>