This file is indexed.

/usr/share/doc/libgnomevfs2-common/html/gnome-vfs-2.0-gnome-vfs-uri.html is in libgnomevfs2-dev 1:2.24.4-1ubuntu2.

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
 721
 722
 723
 724
 725
 726
 727
 728
 729
 730
 731
 732
 733
 734
 735
 736
 737
 738
 739
 740
 741
 742
 743
 744
 745
 746
 747
 748
 749
 750
 751
 752
 753
 754
 755
 756
 757
 758
 759
 760
 761
 762
 763
 764
 765
 766
 767
 768
 769
 770
 771
 772
 773
 774
 775
 776
 777
 778
 779
 780
 781
 782
 783
 784
 785
 786
 787
 788
 789
 790
 791
 792
 793
 794
 795
 796
 797
 798
 799
 800
 801
 802
 803
 804
 805
 806
 807
 808
 809
 810
 811
 812
 813
 814
 815
 816
 817
 818
 819
 820
 821
 822
 823
 824
 825
 826
 827
 828
 829
 830
 831
 832
 833
 834
 835
 836
 837
 838
 839
 840
 841
 842
 843
 844
 845
 846
 847
 848
 849
 850
 851
 852
 853
 854
 855
 856
 857
 858
 859
 860
 861
 862
 863
 864
 865
 866
 867
 868
 869
 870
 871
 872
 873
 874
 875
 876
 877
 878
 879
 880
 881
 882
 883
 884
 885
 886
 887
 888
 889
 890
 891
 892
 893
 894
 895
 896
 897
 898
 899
 900
 901
 902
 903
 904
 905
 906
 907
 908
 909
 910
 911
 912
 913
 914
 915
 916
 917
 918
 919
 920
 921
 922
 923
 924
 925
 926
 927
 928
 929
 930
 931
 932
 933
 934
 935
 936
 937
 938
 939
 940
 941
 942
 943
 944
 945
 946
 947
 948
 949
 950
 951
 952
 953
 954
 955
 956
 957
 958
 959
 960
 961
 962
 963
 964
 965
 966
 967
 968
 969
 970
 971
 972
 973
 974
 975
 976
 977
 978
 979
 980
 981
 982
 983
 984
 985
 986
 987
 988
 989
 990
 991
 992
 993
 994
 995
 996
 997
 998
 999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>GnomeVFSURI</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
<link rel="home" href="index.html" title="GnomeVFS - Filesystem Abstraction library">
<link rel="up" href="data-types.html" title="Basic Data Types">
<link rel="prev" href="gnome-vfs-2.0-gnome-vfs-result.html" title="GnomeVFSResult">
<link rel="next" href="gnome-vfs-2.0-gnome-vfs-utils.html" title="gnome-vfs-utils">
<meta name="generator" content="GTK-Doc V1.18 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
<tr valign="middle">
<td><a accesskey="p" href="gnome-vfs-2.0-gnome-vfs-result.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="data-types.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">GnomeVFS - Filesystem Abstraction library</th>
<td><a accesskey="n" href="gnome-vfs-2.0-gnome-vfs-utils.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#gnome-vfs-2.0-gnome-vfs-uri.synopsis" class="shortcut">Top</a>
                   | 
                  <a href="#gnome-vfs-2.0-gnome-vfs-uri.description" class="shortcut">Description</a>
</td></tr>
</table>
<div class="refentry">
<a name="gnome-vfs-2.0-gnome-vfs-uri"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="gnome-vfs-2.0-gnome-vfs-uri.top_of_page"></a>GnomeVFSURI</span></h2>
<p>GnomeVFSURI — A uniform resource identifier.</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<a name="gnome-vfs-2.0-gnome-vfs-uri.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">                    <a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#GnomeVFSURI" title="GnomeVFSURI">GnomeVFSURI</a>;
                    <a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#GnomeVFSToplevelURI" title="GnomeVFSToplevelURI">GnomeVFSToplevelURI</a>;
enum                <a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#GnomeVFSURIHideOptions" title="enum GnomeVFSURIHideOptions">GnomeVFSURIHideOptions</a>;
#define             <a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#GNOME-VFS-URI-MAGIC-CHR:CAPS" title="GNOME_VFS_URI_MAGIC_CHR">GNOME_VFS_URI_MAGIC_CHR</a>
#define             <a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#GNOME-VFS-URI-MAGIC-STR:CAPS" title="GNOME_VFS_URI_MAGIC_STR">GNOME_VFS_URI_MAGIC_STR</a>
#define             <a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#GNOME-VFS-URI-PATH-CHR:CAPS" title="GNOME_VFS_URI_PATH_CHR">GNOME_VFS_URI_PATH_CHR</a>
#define             <a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#GNOME-VFS-URI-PATH-STR:CAPS" title="GNOME_VFS_URI_PATH_STR">GNOME_VFS_URI_PATH_STR</a>
<a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#GnomeVFSURI" title="GnomeVFSURI"><span class="returnvalue">GnomeVFSURI</span></a> *       <a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#gnome-vfs-uri-new" title="gnome_vfs_uri_new ()">gnome_vfs_uri_new</a>                   (<em class="parameter"><code>const <span class="type">gchar</span> *text_uri</code></em>);
<a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#GnomeVFSURI" title="GnomeVFSURI"><span class="returnvalue">GnomeVFSURI</span></a> *       <a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#gnome-vfs-uri-resolve-relative" title="gnome_vfs_uri_resolve_relative ()">gnome_vfs_uri_resolve_relative</a>      (<em class="parameter"><code>const <a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#GnomeVFSURI" title="GnomeVFSURI"><span class="type">GnomeVFSURI</span></a> *base</code></em>,
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *relative_reference</code></em>);
<a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#GnomeVFSURI" title="GnomeVFSURI"><span class="returnvalue">GnomeVFSURI</span></a> *       <a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#gnome-vfs-uri-resolve-symbolic-link" title="gnome_vfs_uri_resolve_symbolic_link ()">gnome_vfs_uri_resolve_symbolic_link</a> (<em class="parameter"><code>const <a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#GnomeVFSURI" title="GnomeVFSURI"><span class="type">GnomeVFSURI</span></a> *base</code></em>,
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *relative_reference</code></em>);
<a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#GnomeVFSURI" title="GnomeVFSURI"><span class="returnvalue">GnomeVFSURI</span></a> *       <a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#gnome-vfs-uri-ref" title="gnome_vfs_uri_ref ()">gnome_vfs_uri_ref</a>                   (<em class="parameter"><code><a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#GnomeVFSURI" title="GnomeVFSURI"><span class="type">GnomeVFSURI</span></a> *uri</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#gnome-vfs-uri-unref" title="gnome_vfs_uri_unref ()">gnome_vfs_uri_unref</a>                 (<em class="parameter"><code><a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#GnomeVFSURI" title="GnomeVFSURI"><span class="type">GnomeVFSURI</span></a> *uri</code></em>);
<a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#GnomeVFSURI" title="GnomeVFSURI"><span class="returnvalue">GnomeVFSURI</span></a> *       <a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#gnome-vfs-uri-append-string" title="gnome_vfs_uri_append_string ()">gnome_vfs_uri_append_string</a>         (<em class="parameter"><code>const <a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#GnomeVFSURI" title="GnomeVFSURI"><span class="type">GnomeVFSURI</span></a> *uri</code></em>,
                                                         <em class="parameter"><code>const <span class="type">char</span> *uri_fragment</code></em>);
<a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#GnomeVFSURI" title="GnomeVFSURI"><span class="returnvalue">GnomeVFSURI</span></a> *       <a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#gnome-vfs-uri-append-path" title="gnome_vfs_uri_append_path ()">gnome_vfs_uri_append_path</a>           (<em class="parameter"><code>const <a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#GnomeVFSURI" title="GnomeVFSURI"><span class="type">GnomeVFSURI</span></a> *uri</code></em>,
                                                         <em class="parameter"><code>const <span class="type">char</span> *path</code></em>);
<a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#GnomeVFSURI" title="GnomeVFSURI"><span class="returnvalue">GnomeVFSURI</span></a> *       <a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#gnome-vfs-uri-append-file-name" title="gnome_vfs_uri_append_file_name ()">gnome_vfs_uri_append_file_name</a>      (<em class="parameter"><code>const <a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#GnomeVFSURI" title="GnomeVFSURI"><span class="type">GnomeVFSURI</span></a> *uri</code></em>,
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *filename</code></em>);
<span class="returnvalue">gchar</span> *             <a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#gnome-vfs-uri-to-string" title="gnome_vfs_uri_to_string ()">gnome_vfs_uri_to_string</a>             (<em class="parameter"><code>const <a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#GnomeVFSURI" title="GnomeVFSURI"><span class="type">GnomeVFSURI</span></a> *uri</code></em>,
                                                         <em class="parameter"><code><a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#GnomeVFSURIHideOptions" title="enum GnomeVFSURIHideOptions"><span class="type">GnomeVFSURIHideOptions</span></a> hide_options</code></em>);
<a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#GnomeVFSURI" title="GnomeVFSURI"><span class="returnvalue">GnomeVFSURI</span></a> *       <a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#gnome-vfs-uri-dup" title="gnome_vfs_uri_dup ()">gnome_vfs_uri_dup</a>                   (<em class="parameter"><code>const <a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#GnomeVFSURI" title="GnomeVFSURI"><span class="type">GnomeVFSURI</span></a> *uri</code></em>);
<span class="returnvalue">gboolean</span>            <a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#gnome-vfs-uri-is-local" title="gnome_vfs_uri_is_local ()">gnome_vfs_uri_is_local</a>              (<em class="parameter"><code>const <a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#GnomeVFSURI" title="GnomeVFSURI"><span class="type">GnomeVFSURI</span></a> *uri</code></em>);
<span class="returnvalue">gboolean</span>            <a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#gnome-vfs-uri-has-parent" title="gnome_vfs_uri_has_parent ()">gnome_vfs_uri_has_parent</a>            (<em class="parameter"><code>const <a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#GnomeVFSURI" title="GnomeVFSURI"><span class="type">GnomeVFSURI</span></a> *uri</code></em>);
<a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#GnomeVFSURI" title="GnomeVFSURI"><span class="returnvalue">GnomeVFSURI</span></a> *       <a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#gnome-vfs-uri-get-parent" title="gnome_vfs_uri_get_parent ()">gnome_vfs_uri_get_parent</a>            (<em class="parameter"><code>const <a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#GnomeVFSURI" title="GnomeVFSURI"><span class="type">GnomeVFSURI</span></a> *uri</code></em>);
<a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#GnomeVFSToplevelURI" title="GnomeVFSToplevelURI"><span class="returnvalue">GnomeVFSToplevelURI</span></a> * <a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#gnome-vfs-uri-get-toplevel" title="gnome_vfs_uri_get_toplevel ()">gnome_vfs_uri_get_toplevel</a>        (<em class="parameter"><code>const <a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#GnomeVFSURI" title="GnomeVFSURI"><span class="type">GnomeVFSURI</span></a> *uri</code></em>);
const <span class="returnvalue">gchar</span> *       <a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#gnome-vfs-uri-get-host-name" title="gnome_vfs_uri_get_host_name ()">gnome_vfs_uri_get_host_name</a>         (<em class="parameter"><code>const <a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#GnomeVFSURI" title="GnomeVFSURI"><span class="type">GnomeVFSURI</span></a> *uri</code></em>);
const <span class="returnvalue">gchar</span> *       <a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#gnome-vfs-uri-get-scheme" title="gnome_vfs_uri_get_scheme ()">gnome_vfs_uri_get_scheme</a>            (<em class="parameter"><code>const <a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#GnomeVFSURI" title="GnomeVFSURI"><span class="type">GnomeVFSURI</span></a> *uri</code></em>);
<span class="returnvalue">guint</span>               <a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#gnome-vfs-uri-get-host-port" title="gnome_vfs_uri_get_host_port ()">gnome_vfs_uri_get_host_port</a>         (<em class="parameter"><code>const <a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#GnomeVFSURI" title="GnomeVFSURI"><span class="type">GnomeVFSURI</span></a> *uri</code></em>);
const <span class="returnvalue">gchar</span> *       <a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#gnome-vfs-uri-get-user-name" title="gnome_vfs_uri_get_user_name ()">gnome_vfs_uri_get_user_name</a>         (<em class="parameter"><code>const <a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#GnomeVFSURI" title="GnomeVFSURI"><span class="type">GnomeVFSURI</span></a> *uri</code></em>);
const <span class="returnvalue">gchar</span> *       <a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#gnome-vfs-uri-get-password" title="gnome_vfs_uri_get_password ()">gnome_vfs_uri_get_password</a>          (<em class="parameter"><code>const <a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#GnomeVFSURI" title="GnomeVFSURI"><span class="type">GnomeVFSURI</span></a> *uri</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#gnome-vfs-uri-set-host-name" title="gnome_vfs_uri_set_host_name ()">gnome_vfs_uri_set_host_name</a>         (<em class="parameter"><code><a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#GnomeVFSURI" title="GnomeVFSURI"><span class="type">GnomeVFSURI</span></a> *uri</code></em>,
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *host_name</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#gnome-vfs-uri-set-host-port" title="gnome_vfs_uri_set_host_port ()">gnome_vfs_uri_set_host_port</a>         (<em class="parameter"><code><a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#GnomeVFSURI" title="GnomeVFSURI"><span class="type">GnomeVFSURI</span></a> *uri</code></em>,
                                                         <em class="parameter"><code><span class="type">guint</span> host_port</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#gnome-vfs-uri-set-user-name" title="gnome_vfs_uri_set_user_name ()">gnome_vfs_uri_set_user_name</a>         (<em class="parameter"><code><a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#GnomeVFSURI" title="GnomeVFSURI"><span class="type">GnomeVFSURI</span></a> *uri</code></em>,
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *user_name</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#gnome-vfs-uri-set-password" title="gnome_vfs_uri_set_password ()">gnome_vfs_uri_set_password</a>          (<em class="parameter"><code><a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#GnomeVFSURI" title="GnomeVFSURI"><span class="type">GnomeVFSURI</span></a> *uri</code></em>,
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *password</code></em>);
<span class="returnvalue">gboolean</span>            <a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#gnome-vfs-uri-equal" title="gnome_vfs_uri_equal ()">gnome_vfs_uri_equal</a>                 (<em class="parameter"><code>const <a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#GnomeVFSURI" title="GnomeVFSURI"><span class="type">GnomeVFSURI</span></a> *a</code></em>,
                                                         <em class="parameter"><code>const <a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#GnomeVFSURI" title="GnomeVFSURI"><span class="type">GnomeVFSURI</span></a> *b</code></em>);
<span class="returnvalue">gboolean</span>            <a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#gnome-vfs-uri-is-parent" title="gnome_vfs_uri_is_parent ()">gnome_vfs_uri_is_parent</a>             (<em class="parameter"><code>const <a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#GnomeVFSURI" title="GnomeVFSURI"><span class="type">GnomeVFSURI</span></a> *possible_parent</code></em>,
                                                         <em class="parameter"><code>const <a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#GnomeVFSURI" title="GnomeVFSURI"><span class="type">GnomeVFSURI</span></a> *possible_child</code></em>,
                                                         <em class="parameter"><code><span class="type">gboolean</span> recursive</code></em>);
const <span class="returnvalue">gchar</span> *       <a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#gnome-vfs-uri-get-path" title="gnome_vfs_uri_get_path ()">gnome_vfs_uri_get_path</a>              (<em class="parameter"><code>const <a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#GnomeVFSURI" title="GnomeVFSURI"><span class="type">GnomeVFSURI</span></a> *uri</code></em>);
const <span class="returnvalue">gchar</span> *       <a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#gnome-vfs-uri-get-fragment-identifier" title="gnome_vfs_uri_get_fragment_identifier ()">gnome_vfs_uri_get_fragment_identifier</a>
                                                        (<em class="parameter"><code>const <a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#GnomeVFSURI" title="GnomeVFSURI"><span class="type">GnomeVFSURI</span></a> *uri</code></em>);
<span class="returnvalue">gchar</span> *             <a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#gnome-vfs-uri-extract-dirname" title="gnome_vfs_uri_extract_dirname ()">gnome_vfs_uri_extract_dirname</a>       (<em class="parameter"><code>const <a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#GnomeVFSURI" title="GnomeVFSURI"><span class="type">GnomeVFSURI</span></a> *uri</code></em>);
<span class="returnvalue">gchar</span> *             <a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#gnome-vfs-uri-extract-short-name" title="gnome_vfs_uri_extract_short_name ()">gnome_vfs_uri_extract_short_name</a>    (<em class="parameter"><code>const <a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#GnomeVFSURI" title="GnomeVFSURI"><span class="type">GnomeVFSURI</span></a> *uri</code></em>);
<span class="returnvalue">gchar</span> *             <a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#gnome-vfs-uri-extract-short-path-name" title="gnome_vfs_uri_extract_short_path_name ()">gnome_vfs_uri_extract_short_path_name</a>
                                                        (<em class="parameter"><code>const <a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#GnomeVFSURI" title="GnomeVFSURI"><span class="type">GnomeVFSURI</span></a> *uri</code></em>);
<span class="returnvalue">gint</span>                <a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#gnome-vfs-uri-hequal" title="gnome_vfs_uri_hequal ()">gnome_vfs_uri_hequal</a>                (<em class="parameter"><code><span class="type">gconstpointer</span> a</code></em>,
                                                         <em class="parameter"><code><span class="type">gconstpointer</span> b</code></em>);
<span class="returnvalue">guint</span>               <a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#gnome-vfs-uri-hash" title="gnome_vfs_uri_hash ()">gnome_vfs_uri_hash</a>                  (<em class="parameter"><code><span class="type">gconstpointer</span> p</code></em>);
<span class="returnvalue">GList</span> *             <a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#gnome-vfs-uri-list-parse" title="gnome_vfs_uri_list_parse ()">gnome_vfs_uri_list_parse</a>            (<em class="parameter"><code>const <span class="type">gchar</span> *uri_list</code></em>);
<span class="returnvalue">GList</span> *             <a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#gnome-vfs-uri-list-ref" title="gnome_vfs_uri_list_ref ()">gnome_vfs_uri_list_ref</a>              (<em class="parameter"><code><span class="type">GList</span> *list</code></em>);
<span class="returnvalue">GList</span> *             <a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#gnome-vfs-uri-list-unref" title="gnome_vfs_uri_list_unref ()">gnome_vfs_uri_list_unref</a>            (<em class="parameter"><code><span class="type">GList</span> *list</code></em>);
<span class="returnvalue">GList</span> *             <a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#gnome-vfs-uri-list-copy" title="gnome_vfs_uri_list_copy ()">gnome_vfs_uri_list_copy</a>             (<em class="parameter"><code><span class="type">GList</span> *list</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#gnome-vfs-uri-list-free" title="gnome_vfs_uri_list_free ()">gnome_vfs_uri_list_free</a>             (<em class="parameter"><code><span class="type">GList</span> *list</code></em>);
<span class="returnvalue">char</span> *              <a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#gnome-vfs-uri-make-full-from-relative" title="gnome_vfs_uri_make_full_from_relative ()">gnome_vfs_uri_make_full_from_relative</a>
                                                        (<em class="parameter"><code>const <span class="type">char</span> *base_uri</code></em>,
                                                         <em class="parameter"><code>const <span class="type">char</span> *relative_uri</code></em>);
</pre>
</div>
<div class="refsect1">
<a name="gnome-vfs-2.0-gnome-vfs-uri.description"></a><h2>Description</h2>
<p>
  A <a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#GnomeVFSURI" title="GnomeVFSURI"><span class="type">GnomeVFSURI</span></a> is a semi-textual representation
  of a uniform resource identifier. It contains the
  information about a resource location encoded
  as canononicalized text, but also holds extra
  information about the context in which the
  URI is used.
</p>
</div>
<div class="refsect1">
<a name="gnome-vfs-2.0-gnome-vfs-uri.details"></a><h2>Details</h2>
<div class="refsect2">
<a name="GnomeVFSURI"></a><h3>GnomeVFSURI</h3>
<pre class="programlisting">typedef struct {
	guint ref_count;

	gchar *text;
	gchar *fragment_id;

	gchar *method_string;
	struct GnomeVFSMethod *method;

	struct GnomeVFSURI *parent;
} GnomeVFSURI;
</pre>
<p>
Holds information about the location of a particular resource.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><span class="type">guint</span> <em class="structfield"><code><a name="GnomeVFSURI.ref-count"></a>ref_count</code></em>;</span></p></td>
<td>Reference count. The URI is freed when it drops to zero.</td>
</tr>
<tr>
<td><p><span class="term"><span class="type">gchar</span> *<em class="structfield"><code><a name="GnomeVFSURI.text"></a>text</code></em>;</span></p></td>
<td>A canonical representation of the path associated with this resource.</td>
</tr>
<tr>
<td><p><span class="term"><span class="type">gchar</span> *<em class="structfield"><code><a name="GnomeVFSURI.fragment-id"></a>fragment_id</code></em>;</span></p></td>
<td>Extra data identifying this resource.</td>
</tr>
<tr>
<td><p><span class="term"><span class="type">gchar</span> *<em class="structfield"><code><a name="GnomeVFSURI.method-string"></a>method_string</code></em>;</span></p></td>
<td>The <em class="parameter"><code>method</code></em>'s method associated with this resource.
One <span class="type">GnomeVFSMethod</span> can be used for multiple method strings.</td>
</tr>
<tr>
<td><p><span class="term">struct <span class="type">GnomeVFSMethod</span> *<em class="structfield"><code><a name="GnomeVFSURI.method"></a>method</code></em>;</span></p></td>
<td>The <span class="type">GnomeVFSMethod</span> associated with this resource.</td>
</tr>
<tr>
<td><p><span class="term">struct <a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#GnomeVFSURI" title="GnomeVFSURI"><span class="type">GnomeVFSURI</span></a> *<em class="structfield"><code><a name="GnomeVFSURI.parent"></a>parent</code></em>;</span></p></td>
<td>Pointer to the parent element, or <code class="literal">NULL</code> for <a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#GnomeVFSURI" title="GnomeVFSURI"><span class="type">GnomeVFSURI</span></a> that
have no enclosing <a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#GnomeVFSURI" title="GnomeVFSURI"><span class="type">GnomeVFSURI</span></a>. The process of encapsulating one
URI in another one is called URI chaining.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="GnomeVFSToplevelURI"></a><h3>GnomeVFSToplevelURI</h3>
<pre class="programlisting">typedef struct {
	GnomeVFSURI uri;

	gchar *host_name;
	guint host_port;

	gchar *user_name;
	gchar *password;

	gchar *urn;
} GnomeVFSToplevelURI;
</pre>
<p>
This is the toplevel URI element used to access ressources stored on
a remote server. Toplevel method implementations should cast the <a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#GnomeVFSURI" title="GnomeVFSURI"><span class="type">GnomeVFSURI</span></a>
argument to this type to get the additional host and authentication information.
</p>
<p>
If any of the elements is 0 respectively <code class="literal">NULL</code>, it is unspecified.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#GnomeVFSURI" title="GnomeVFSURI"><span class="type">GnomeVFSURI</span></a> <em class="structfield"><code><a name="GnomeVFSToplevelURI.uri"></a>uri</code></em>;</span></p></td>
<td></td>
</tr>
<tr>
<td><p><span class="term"><span class="type">gchar</span> *<em class="structfield"><code><a name="GnomeVFSToplevelURI.host-name"></a>host_name</code></em>;</span></p></td>
<td>The name of the host used to access this resource, o <code class="literal">NULL</code>.</td>
</tr>
<tr>
<td><p><span class="term"><span class="type">guint</span> <em class="structfield"><code><a name="GnomeVFSToplevelURI.host-port"></a>host_port</code></em>;</span></p></td>
<td>The port used to access this resource, or <code class="literal">0</code>.</td>
</tr>
<tr>
<td><p><span class="term"><span class="type">gchar</span> *<em class="structfield"><code><a name="GnomeVFSToplevelURI.user-name"></a>user_name</code></em>;</span></p></td>
<td>Unescaped user name used to access this resource, or <code class="literal">NULL</code>.</td>
</tr>
<tr>
<td><p><span class="term"><span class="type">gchar</span> *<em class="structfield"><code><a name="GnomeVFSToplevelURI.password"></a>password</code></em>;</span></p></td>
<td>Unescaped password used to access this resource, or <code class="literal">NULL</code>.</td>
</tr>
<tr>
<td><p><span class="term"><span class="type">gchar</span> *<em class="structfield"><code><a name="GnomeVFSToplevelURI.urn"></a>urn</code></em>;</span></p></td>
<td>The parent URN, or <code class="literal">NULL</code> if it doesn't exist.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="GnomeVFSURIHideOptions"></a><h3>enum GnomeVFSURIHideOptions</h3>
<pre class="programlisting">typedef enum {
	GNOME_VFS_URI_HIDE_NONE = 0,
	GNOME_VFS_URI_HIDE_USER_NAME = 1 &lt;&lt; 0,
	GNOME_VFS_URI_HIDE_PASSWORD = 1 &lt;&lt; 1,
	GNOME_VFS_URI_HIDE_HOST_NAME = 1 &lt;&lt; 2,
	GNOME_VFS_URI_HIDE_HOST_PORT = 1 &lt;&lt; 3,
	GNOME_VFS_URI_HIDE_TOPLEVEL_METHOD = 1 &lt;&lt; 4,
	GNOME_VFS_URI_HIDE_FRAGMENT_IDENTIFIER = 1 &lt;&lt; 8
} GnomeVFSURIHideOptions;
</pre>
<p>
Packed boolean bitfield controlling hiding of various elements
of a <a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#GnomeVFSURI" title="GnomeVFSURI"><span class="type">GnomeVFSURI</span></a> when it is converted to a string using
<a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#gnome-vfs-uri-to-string" title="gnome_vfs_uri_to_string ()"><code class="function">gnome_vfs_uri_to_string()</code></a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><a name="GNOME-VFS-URI-HIDE-NONE:CAPS"></a><span class="term"><code class="literal">GNOME_VFS_URI_HIDE_NONE</code></span></p></td>
<td>don't hide anything
</td>
</tr>
<tr>
<td><p><a name="GNOME-VFS-URI-HIDE-USER-NAME:CAPS"></a><span class="term"><code class="literal">GNOME_VFS_URI_HIDE_USER_NAME</code></span></p></td>
<td>hide the user name
</td>
</tr>
<tr>
<td><p><a name="GNOME-VFS-URI-HIDE-PASSWORD:CAPS"></a><span class="term"><code class="literal">GNOME_VFS_URI_HIDE_PASSWORD</code></span></p></td>
<td>hide the password
</td>
</tr>
<tr>
<td><p><a name="GNOME-VFS-URI-HIDE-HOST-NAME:CAPS"></a><span class="term"><code class="literal">GNOME_VFS_URI_HIDE_HOST_NAME</code></span></p></td>
<td>hide the host name
</td>
</tr>
<tr>
<td><p><a name="GNOME-VFS-URI-HIDE-HOST-PORT:CAPS"></a><span class="term"><code class="literal">GNOME_VFS_URI_HIDE_HOST_PORT</code></span></p></td>
<td>hide the port
</td>
</tr>
<tr>
<td><p><a name="GNOME-VFS-URI-HIDE-TOPLEVEL-METHOD:CAPS"></a><span class="term"><code class="literal">GNOME_VFS_URI_HIDE_TOPLEVEL_METHOD</code></span></p></td>
<td>hide the method (e.g. http, file)
</td>
</tr>
<tr>
<td><p><a name="GNOME-VFS-URI-HIDE-FRAGMENT-IDENTIFIER:CAPS"></a><span class="term"><code class="literal">GNOME_VFS_URI_HIDE_FRAGMENT_IDENTIFIER</code></span></p></td>
<td>hide the fragment identifier
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="GNOME-VFS-URI-MAGIC-CHR:CAPS"></a><h3>GNOME_VFS_URI_MAGIC_CHR</h3>
<pre class="programlisting">#define GNOME_VFS_URI_MAGIC_CHR '#'
</pre>
<p>
The character used to divide location from
extra "arguments" passed to the method.
</p>
</div>
<hr>
<div class="refsect2">
<a name="GNOME-VFS-URI-MAGIC-STR:CAPS"></a><h3>GNOME_VFS_URI_MAGIC_STR</h3>
<pre class="programlisting">#define GNOME_VFS_URI_MAGIC_STR "#"
</pre>
<p>
The character used to divide location from
extra "arguments" passed to the method.
</p>
</div>
<hr>
<div class="refsect2">
<a name="GNOME-VFS-URI-PATH-CHR:CAPS"></a><h3>GNOME_VFS_URI_PATH_CHR</h3>
<pre class="programlisting">#define GNOME_VFS_URI_PATH_CHR '/'
</pre>
<p>
Defines the path seperator character.
</p>
</div>
<hr>
<div class="refsect2">
<a name="GNOME-VFS-URI-PATH-STR:CAPS"></a><h3>GNOME_VFS_URI_PATH_STR</h3>
<pre class="programlisting">#define GNOME_VFS_URI_PATH_STR "/"
</pre>
<p>
Defines the path seperator string.
</p>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-uri-new"></a><h3>gnome_vfs_uri_new ()</h3>
<pre class="programlisting"><a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#GnomeVFSURI" title="GnomeVFSURI"><span class="returnvalue">GnomeVFSURI</span></a> *       gnome_vfs_uri_new                   (<em class="parameter"><code>const <span class="type">gchar</span> *text_uri</code></em>);</pre>
<p>
Create a new uri from <em class="parameter"><code>text_uri</code></em>. Unsupported and unsafe methods
are not allowed and will result in <code class="literal">NULL</code> being returned. URL
transforms are allowed.
</p>
<p>
The <em class="parameter"><code>a</code></em> text_uri must be an escaped URI string such as returned by 
<a class="link" href="gnome-vfs-2.0-gnome-vfs-utils.html#gnome-vfs-get-uri-from-local-path" title="gnome_vfs_get_uri_from_local_path ()"><code class="function">gnome_vfs_get_uri_from_local_path()</code></a>, <a class="link" href="gnome-vfs-2.0-gnome-vfs-utils.html#gnome-vfs-make-uri-from-input" title="gnome_vfs_make_uri_from_input ()"><code class="function">gnome_vfs_make_uri_from_input()</code></a>, 
or <code class="function">gtk_file_chooser_get_uri()</code>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>text_uri</code></em> :</span></p></td>
<td>an escaped string representing a uri.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>The new uri.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-uri-resolve-relative"></a><h3>gnome_vfs_uri_resolve_relative ()</h3>
<pre class="programlisting"><a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#GnomeVFSURI" title="GnomeVFSURI"><span class="returnvalue">GnomeVFSURI</span></a> *       gnome_vfs_uri_resolve_relative      (<em class="parameter"><code>const <a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#GnomeVFSURI" title="GnomeVFSURI"><span class="type">GnomeVFSURI</span></a> *base</code></em>,
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *relative_reference</code></em>);</pre>
<p>
Create a new uri from <em class="parameter"><code>relative_reference</code></em>, relative to <em class="parameter"><code>base</code></em>. The resolution
algorithm in some aspects follows <a class="ulink" href="http://www.ietf.org/rfc/rfc2396.txt" target="_top">RFC
2396</a>, section 5.2, but is not identical due to some extra assumptions GnomeVFS
makes about URIs.
</p>
<p>
If <em class="parameter"><code>relative_reference</code></em> begins with a valid scheme identifier followed by ':',
it is assumed to refer to an absolute URI, and a <a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#GnomeVFSURI" title="GnomeVFSURI"><span class="type">GnomeVFSURI</span></a> is created from
it using <a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#gnome-vfs-uri-new" title="gnome_vfs_uri_new ()"><code class="function">gnome_vfs_uri_new()</code></a>. 
</p>
<p>
Otherwise, depending on its precise syntax, it inherits some aspects of the parent URI,
but the parents' fragment and query components are ignored.
</p>
<p>
If <em class="parameter"><code>relative_reference</code></em> begins with "//", it only inherits the <em class="parameter"><code>base</code></em> scheme,
if it begins with '/' (i.e. is an absolute path reference), it inherits everything
ecxept the <em class="parameter"><code>base</code></em> path. Otherwise, it replaces the part of <em class="parameter"><code>base</code></em> after the last '/'.
</p>
<p>
</p>
<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Note</h3>
 This function should not be used by application authors unless they expect very
 distinct semantics. Instead, authors should use <a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#gnome-vfs-uri-append-file-name" title="gnome_vfs_uri_append_file_name ()"><code class="function">gnome_vfs_uri_append_file_name()</code></a>,
 <a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#gnome-vfs-uri-append-path" title="gnome_vfs_uri_append_path ()"><code class="function">gnome_vfs_uri_append_path()</code></a>, <a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#gnome-vfs-uri-append-string" title="gnome_vfs_uri_append_string ()"><code class="function">gnome_vfs_uri_append_string()</code></a> or
 <a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#gnome-vfs-uri-resolve-symbolic-link" title="gnome_vfs_uri_resolve_symbolic_link ()"><code class="function">gnome_vfs_uri_resolve_symbolic_link()</code></a>.
</div>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>base</code></em> :</span></p></td>
<td>base uri.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>relative_reference</code></em> :</span></p></td>
<td>a string representing a possibly relative uri reference.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A <a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#GnomeVFSURI" title="GnomeVFSURI"><span class="type">GnomeVFSURI</span></a> referring to <em class="parameter"><code>relative_reference</code></em>, or <code class="literal">NULL</code>
if <em class="parameter"><code>relative_reference</code></em> was malformed.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-uri-resolve-symbolic-link"></a><h3>gnome_vfs_uri_resolve_symbolic_link ()</h3>
<pre class="programlisting"><a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#GnomeVFSURI" title="GnomeVFSURI"><span class="returnvalue">GnomeVFSURI</span></a> *       gnome_vfs_uri_resolve_symbolic_link (<em class="parameter"><code>const <a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#GnomeVFSURI" title="GnomeVFSURI"><span class="type">GnomeVFSURI</span></a> *base</code></em>,
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *relative_reference</code></em>);</pre>
<p>
Create a new uri from <em class="parameter"><code>symbolic_link</code></em>, relative to <em class="parameter"><code>base</code></em>.
</p>
<p>
If <em class="parameter"><code>symbolic_link</code></em> begins with a '/', it replaces the path of <em class="parameter"><code>base</code></em>,
otherwise it is appended after the last '/' character of <em class="parameter"><code>base</code></em>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>base</code></em> :</span></p></td>
<td>base 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="gnome-vfs-2.0-gnome-vfs-uri.html#GnomeVFSURI" title="GnomeVFSURI"><span class="type">GnomeVFSURI</span></a> referring to <em class="parameter"><code>symbolic_link</code></em>.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.16</p>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-uri-ref"></a><h3>gnome_vfs_uri_ref ()</h3>
<pre class="programlisting"><a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#GnomeVFSURI" title="GnomeVFSURI"><span class="returnvalue">GnomeVFSURI</span></a> *       gnome_vfs_uri_ref                   (<em class="parameter"><code><a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#GnomeVFSURI" title="GnomeVFSURI"><span class="type">GnomeVFSURI</span></a> *uri</code></em>);</pre>
<p>
Increment <em class="parameter"><code>uri</code></em>'s reference count.
</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 <a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#GnomeVFSURI" title="GnomeVFSURI"><span class="type">GnomeVFSURI</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>
<em class="parameter"><code>uri</code></em>.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-uri-unref"></a><h3>gnome_vfs_uri_unref ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gnome_vfs_uri_unref                 (<em class="parameter"><code><a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#GnomeVFSURI" title="GnomeVFSURI"><span class="type">GnomeVFSURI</span></a> *uri</code></em>);</pre>
<p>
Decrement <em class="parameter"><code>uri</code></em>'s reference count.  If the reference count reaches zero,
<em class="parameter"><code>uri</code></em> is destroyed.
</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 <a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#GnomeVFSURI" title="GnomeVFSURI"><span class="type">GnomeVFSURI</span></a>.</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-uri-append-string"></a><h3>gnome_vfs_uri_append_string ()</h3>
<pre class="programlisting"><a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#GnomeVFSURI" title="GnomeVFSURI"><span class="returnvalue">GnomeVFSURI</span></a> *       gnome_vfs_uri_append_string         (<em class="parameter"><code>const <a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#GnomeVFSURI" title="GnomeVFSURI"><span class="type">GnomeVFSURI</span></a> *uri</code></em>,
                                                         <em class="parameter"><code>const <span class="type">char</span> *uri_fragment</code></em>);</pre>
<p>
Create a new uri obtained by appending <em class="parameter"><code>uri_fragment</code></em> to <em class="parameter"><code>uri</code></em>.  This will take care
of adding an appropriate directory separator between the end of <em class="parameter"><code>uri</code></em> and
the start of <em class="parameter"><code>uri_fragment</code></em> if necessary.
</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 <a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#GnomeVFSURI" title="GnomeVFSURI"><span class="type">GnomeVFSURI</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>uri_fragment</code></em> :</span></p></td>
<td>a piece of a uri (ie a fully escaped partial path).</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>The new uri obtained by combining <em class="parameter"><code>uri</code></em> and <em class="parameter"><code>uri_fragment</code></em>.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-uri-append-path"></a><h3>gnome_vfs_uri_append_path ()</h3>
<pre class="programlisting"><a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#GnomeVFSURI" title="GnomeVFSURI"><span class="returnvalue">GnomeVFSURI</span></a> *       gnome_vfs_uri_append_path           (<em class="parameter"><code>const <a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#GnomeVFSURI" title="GnomeVFSURI"><span class="type">GnomeVFSURI</span></a> *uri</code></em>,
                                                         <em class="parameter"><code>const <span class="type">char</span> *path</code></em>);</pre>
<p>
Create a new uri obtained by appending <em class="parameter"><code>path</code></em> to <em class="parameter"><code>uri</code></em>.  This will take care
of adding an appropriate directory separator between the end of <em class="parameter"><code>uri</code></em> and
the start of <em class="parameter"><code>path</code></em> if necessary as well as escaping <em class="parameter"><code>path</code></em> as necessary.
</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 <a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#GnomeVFSURI" title="GnomeVFSURI"><span class="type">GnomeVFSURI</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>path</code></em> :</span></p></td>
<td>a non-escaped file path.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>The new uri obtained by combining <em class="parameter"><code>uri</code></em> and <em class="parameter"><code>path</code></em>.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-uri-append-file-name"></a><h3>gnome_vfs_uri_append_file_name ()</h3>
<pre class="programlisting"><a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#GnomeVFSURI" title="GnomeVFSURI"><span class="returnvalue">GnomeVFSURI</span></a> *       gnome_vfs_uri_append_file_name      (<em class="parameter"><code>const <a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#GnomeVFSURI" title="GnomeVFSURI"><span class="type">GnomeVFSURI</span></a> *uri</code></em>,
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *filename</code></em>);</pre>
<p>
Create a new uri obtained by appending <em class="parameter"><code>file_name</code></em> to <em class="parameter"><code>uri</code></em>.  This will take care
of adding an appropriate directory separator between the end of <em class="parameter"><code>uri</code></em> and
the start of <em class="parameter"><code>file_name</code></em> if necessary. <em class="parameter"><code>file_name</code></em> might, for instance, be the 
result of a call to <code class="function">g_dir_read_name()</code>.
</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 <a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#GnomeVFSURI" title="GnomeVFSURI"><span class="type">GnomeVFSURI</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>filename</code></em> :</span></p></td>
<td>any "regular" file name (can include #, /, etc) in the file system encoding. This is not an escaped URI.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>The new uri obtained by combining <em class="parameter"><code>uri</code></em> and <em class="parameter"><code>path</code></em>.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-uri-to-string"></a><h3>gnome_vfs_uri_to_string ()</h3>
<pre class="programlisting"><span class="returnvalue">gchar</span> *             gnome_vfs_uri_to_string             (<em class="parameter"><code>const <a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#GnomeVFSURI" title="GnomeVFSURI"><span class="type">GnomeVFSURI</span></a> *uri</code></em>,
                                                         <em class="parameter"><code><a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#GnomeVFSURIHideOptions" title="enum GnomeVFSURIHideOptions"><span class="type">GnomeVFSURIHideOptions</span></a> hide_options</code></em>);</pre>
<p>
Translate <em class="parameter"><code>uri</code></em> into a printable string.  The string will not
contain the uri elements specified by <em class="parameter"><code>hide_options</code></em>.
</p>
<p>
A file: URI on Win32 might look like file:///x:/foo/bar.txt. Note
that the part after file:// is not a legal file name, you need to
remove the / in front of the drive letter. This function does that
automatically if <em class="parameter"><code>hide_options</code></em> specifies that the toplevel method,
user name, password, host name and host port should be hidden.
</p>
<p>
On the other hand, a file: URI for a UNC path looks like
file:////server/share/foo/bar.txt, and in that case the part after
file:// is the correct file name.
</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 <a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#GnomeVFSURI" title="GnomeVFSURI"><span class="type">GnomeVFSURI</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>hide_options</code></em> :</span></p></td>
<td>bitmask specifying what uri elements (e.g. password,
user name etc.) should not be represented in the returned string.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>a malloc'd printable string representing <em class="parameter"><code>uri</code></em>.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-uri-dup"></a><h3>gnome_vfs_uri_dup ()</h3>
<pre class="programlisting"><a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#GnomeVFSURI" title="GnomeVFSURI"><span class="returnvalue">GnomeVFSURI</span></a> *       gnome_vfs_uri_dup                   (<em class="parameter"><code>const <a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#GnomeVFSURI" title="GnomeVFSURI"><span class="type">GnomeVFSURI</span></a> *uri</code></em>);</pre>
<p>
Duplicate <em class="parameter"><code>uri</code></em>.
</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 <a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#GnomeVFSURI" title="GnomeVFSURI"><span class="type">GnomeVFSURI</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>a pointer to a new uri that is exactly the same as <em class="parameter"><code>uri</code></em>.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-uri-is-local"></a><h3>gnome_vfs_uri_is_local ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>            gnome_vfs_uri_is_local              (<em class="parameter"><code>const <a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#GnomeVFSURI" title="GnomeVFSURI"><span class="type">GnomeVFSURI</span></a> *uri</code></em>);</pre>
<p>
Check if <em class="parameter"><code>uri</code></em> is a local URI. Note that the return value of this
function entirely depends on the <span class="type">GnomeVFSMethod</span> associated with the
URI. It is up to the method author to distinguish between remote URIs
add URIs referring to entities on the local computer.
</p>
<p>
Warning, this can be slow, as it does i/o to detect things like NFS mounts.
</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 <a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#GnomeVFSURI" title="GnomeVFSURI"><span class="type">GnomeVFSURI</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>
<code class="literal">TRUE</code> if <em class="parameter"><code>uri</code></em> refers to a local entity, <code class="literal">FALSE</code> otherwise.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-uri-has-parent"></a><h3>gnome_vfs_uri_has_parent ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>            gnome_vfs_uri_has_parent            (<em class="parameter"><code>const <a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#GnomeVFSURI" title="GnomeVFSURI"><span class="type">GnomeVFSURI</span></a> *uri</code></em>);</pre>
<p>
Check if uri has a parent or not.
</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 <a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#GnomeVFSURI" title="GnomeVFSURI"><span class="type">GnomeVFSURI</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>
<code class="literal">TRUE</code> if <em class="parameter"><code>uri</code></em> has a parent, <code class="literal">FALSE</code> otherwise.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-uri-get-parent"></a><h3>gnome_vfs_uri_get_parent ()</h3>
<pre class="programlisting"><a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#GnomeVFSURI" title="GnomeVFSURI"><span class="returnvalue">GnomeVFSURI</span></a> *       gnome_vfs_uri_get_parent            (<em class="parameter"><code>const <a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#GnomeVFSURI" title="GnomeVFSURI"><span class="type">GnomeVFSURI</span></a> *uri</code></em>);</pre>
<p>
Retrieve <em class="parameter"><code>uri</code></em>'s parent 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</code></em> :</span></p></td>
<td>a <a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#GnomeVFSURI" title="GnomeVFSURI"><span class="type">GnomeVFSURI</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>a pointer to <em class="parameter"><code>uri</code></em>'s parent uri.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-uri-get-toplevel"></a><h3>gnome_vfs_uri_get_toplevel ()</h3>
<pre class="programlisting"><a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#GnomeVFSToplevelURI" title="GnomeVFSToplevelURI"><span class="returnvalue">GnomeVFSToplevelURI</span></a> * gnome_vfs_uri_get_toplevel        (<em class="parameter"><code>const <a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#GnomeVFSURI" title="GnomeVFSURI"><span class="type">GnomeVFSURI</span></a> *uri</code></em>);</pre>
<p>
Retrieve the toplevel uri in <em class="parameter"><code>uri</code></em>.
</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 <a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#GnomeVFSURI" title="GnomeVFSURI"><span class="type">GnomeVFSURI</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>a pointer to the toplevel uri object.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-uri-get-host-name"></a><h3>gnome_vfs_uri_get_host_name ()</h3>
<pre class="programlisting">const <span class="returnvalue">gchar</span> *       gnome_vfs_uri_get_host_name         (<em class="parameter"><code>const <a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#GnomeVFSURI" title="GnomeVFSURI"><span class="type">GnomeVFSURI</span></a> *uri</code></em>);</pre>
<p>
Retrieve the host name for <em class="parameter"><code>uri</code></em>.
</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 <a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#GnomeVFSURI" title="GnomeVFSURI"><span class="type">GnomeVFSURI</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>a string representing the host name.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-uri-get-scheme"></a><h3>gnome_vfs_uri_get_scheme ()</h3>
<pre class="programlisting">const <span class="returnvalue">gchar</span> *       gnome_vfs_uri_get_scheme            (<em class="parameter"><code>const <a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#GnomeVFSURI" title="GnomeVFSURI"><span class="type">GnomeVFSURI</span></a> *uri</code></em>);</pre>
<p>
Retrieve the scheme used for <em class="parameter"><code>uri</code></em>.
</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 <a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#GnomeVFSURI" title="GnomeVFSURI"><span class="type">GnomeVFSURI</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>a string representing the scheme.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-uri-get-host-port"></a><h3>gnome_vfs_uri_get_host_port ()</h3>
<pre class="programlisting"><span class="returnvalue">guint</span>               gnome_vfs_uri_get_host_port         (<em class="parameter"><code>const <a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#GnomeVFSURI" title="GnomeVFSURI"><span class="type">GnomeVFSURI</span></a> *uri</code></em>);</pre>
<p>
Retrieve the host port number in <em class="parameter"><code>uri</code></em>.
</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 <a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#GnomeVFSURI" title="GnomeVFSURI"><span class="type">GnomeVFSURI</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>The host port number used by <em class="parameter"><code>uri</code></em>.  If the value is zero, the
default port value for the specified toplevel access method is used.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-uri-get-user-name"></a><h3>gnome_vfs_uri_get_user_name ()</h3>
<pre class="programlisting">const <span class="returnvalue">gchar</span> *       gnome_vfs_uri_get_user_name         (<em class="parameter"><code>const <a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#GnomeVFSURI" title="GnomeVFSURI"><span class="type">GnomeVFSURI</span></a> *uri</code></em>);</pre>
<p>
Retrieve the user name in <em class="parameter"><code>uri</code></em>.
</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 <a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#GnomeVFSURI" title="GnomeVFSURI"><span class="type">GnomeVFSURI</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>a string representing the user name in <em class="parameter"><code>uri</code></em>.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-uri-get-password"></a><h3>gnome_vfs_uri_get_password ()</h3>
<pre class="programlisting">const <span class="returnvalue">gchar</span> *       gnome_vfs_uri_get_password          (<em class="parameter"><code>const <a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#GnomeVFSURI" title="GnomeVFSURI"><span class="type">GnomeVFSURI</span></a> *uri</code></em>);</pre>
<p>
Retrieve the password for <em class="parameter"><code>uri</code></em>.
</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 <a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#GnomeVFSURI" title="GnomeVFSURI"><span class="type">GnomeVFSURI</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>The password for <em class="parameter"><code>uri</code></em>.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-uri-set-host-name"></a><h3>gnome_vfs_uri_set_host_name ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gnome_vfs_uri_set_host_name         (<em class="parameter"><code><a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#GnomeVFSURI" title="GnomeVFSURI"><span class="type">GnomeVFSURI</span></a> *uri</code></em>,
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *host_name</code></em>);</pre>
<p>
Set <em class="parameter"><code>host_name</code></em> as the host name accessed by <em class="parameter"><code>uri</code></em>.
</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 <a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#GnomeVFSURI" title="GnomeVFSURI"><span class="type">GnomeVFSURI</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>host_name</code></em> :</span></p></td>
<td>a string representing a host name.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-uri-set-host-port"></a><h3>gnome_vfs_uri_set_host_port ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gnome_vfs_uri_set_host_port         (<em class="parameter"><code><a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#GnomeVFSURI" title="GnomeVFSURI"><span class="type">GnomeVFSURI</span></a> *uri</code></em>,
                                                         <em class="parameter"><code><span class="type">guint</span> host_port</code></em>);</pre>
<p>
Set the host port number in <em class="parameter"><code>uri</code></em>.  If <em class="parameter"><code>host_port</code></em> is zero, the default port
for <em class="parameter"><code>uri</code></em>'s toplevel access method is used.
</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 <a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#GnomeVFSURI" title="GnomeVFSURI"><span class="type">GnomeVFSURI</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>host_port</code></em> :</span></p></td>
<td>a TCP/IP port number.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-uri-set-user-name"></a><h3>gnome_vfs_uri_set_user_name ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gnome_vfs_uri_set_user_name         (<em class="parameter"><code><a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#GnomeVFSURI" title="GnomeVFSURI"><span class="type">GnomeVFSURI</span></a> *uri</code></em>,
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *user_name</code></em>);</pre>
<p>
Set <em class="parameter"><code>user_name</code></em> as the user name for <em class="parameter"><code>uri</code></em>.
</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 <a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#GnomeVFSURI" title="GnomeVFSURI"><span class="type">GnomeVFSURI</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_name</code></em> :</span></p></td>
<td>a string representing a user name on the host accessed by <em class="parameter"><code>uri</code></em>.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-uri-set-password"></a><h3>gnome_vfs_uri_set_password ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gnome_vfs_uri_set_password          (<em class="parameter"><code><a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#GnomeVFSURI" title="GnomeVFSURI"><span class="type">GnomeVFSURI</span></a> *uri</code></em>,
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *password</code></em>);</pre>
<p>
Set <em class="parameter"><code>password</code></em> as the password for <em class="parameter"><code>uri</code></em>.
</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 <a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#GnomeVFSURI" title="GnomeVFSURI"><span class="type">GnomeVFSURI</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>password</code></em> :</span></p></td>
<td>a password string.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-uri-equal"></a><h3>gnome_vfs_uri_equal ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>            gnome_vfs_uri_equal                 (<em class="parameter"><code>const <a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#GnomeVFSURI" title="GnomeVFSURI"><span class="type">GnomeVFSURI</span></a> *a</code></em>,
                                                         <em class="parameter"><code>const <a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#GnomeVFSURI" title="GnomeVFSURI"><span class="type">GnomeVFSURI</span></a> *b</code></em>);</pre>
<p>
Compare <em class="parameter"><code>a</code></em> and <em class="parameter"><code>b</code></em>.
</p>
<p>
FIXME: This comparison should take into account the possiblity
that unreserved characters may be escaped.
...or perhaps <a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#gnome-vfs-uri-new" title="gnome_vfs_uri_new ()"><code class="function">gnome_vfs_uri_new()</code></a> should unescape unreserved characters?
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>a</code></em> :</span></p></td>
<td>a <a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#GnomeVFSURI" title="GnomeVFSURI"><span class="type">GnomeVFSURI</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>b</code></em> :</span></p></td>
<td>a <a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#GnomeVFSURI" title="GnomeVFSURI"><span class="type">GnomeVFSURI</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>
<code class="literal">TRUE</code> if <em class="parameter"><code>a</code></em> and <em class="parameter"><code>b</code></em> are equal, <code class="literal">FALSE</code> otherwise.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-uri-is-parent"></a><h3>gnome_vfs_uri_is_parent ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>            gnome_vfs_uri_is_parent             (<em class="parameter"><code>const <a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#GnomeVFSURI" title="GnomeVFSURI"><span class="type">GnomeVFSURI</span></a> *possible_parent</code></em>,
                                                         <em class="parameter"><code>const <a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#GnomeVFSURI" title="GnomeVFSURI"><span class="type">GnomeVFSURI</span></a> *possible_child</code></em>,
                                                         <em class="parameter"><code><span class="type">gboolean</span> recursive</code></em>);</pre>
<p>
Check if <em class="parameter"><code>possible_child</code></em> is contained by <em class="parameter"><code>possible_parent</code></em>.
If <em class="parameter"><code>recursive</code></em> is <code class="literal">FALSE</code>, just try the immediate parent directory, else
search up through the hierarchy.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>possible_parent</code></em> :</span></p></td>
<td>a <a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#GnomeVFSURI" title="GnomeVFSURI"><span class="type">GnomeVFSURI</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>possible_child</code></em> :</span></p></td>
<td>a <a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#GnomeVFSURI" title="GnomeVFSURI"><span class="type">GnomeVFSURI</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>recursive</code></em> :</span></p></td>
<td>a flag to turn recursive check on.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>
<code class="literal">TRUE</code> if <em class="parameter"><code>possible_child</code></em> is contained in  <em class="parameter"><code>possible_parent</code></em>.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-uri-get-path"></a><h3>gnome_vfs_uri_get_path ()</h3>
<pre class="programlisting">const <span class="returnvalue">gchar</span> *       gnome_vfs_uri_get_path              (<em class="parameter"><code>const <a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#GnomeVFSURI" title="GnomeVFSURI"><span class="type">GnomeVFSURI</span></a> *uri</code></em>);</pre>
<p>
Retrieve full path name for <em class="parameter"><code>uri</code></em>.
</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 <a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#GnomeVFSURI" title="GnomeVFSURI"><span class="type">GnomeVFSURI</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>a pointer to the full path name in <em class="parameter"><code>uri</code></em>.  Notice that the
pointer points to the path name stored in <em class="parameter"><code>uri</code></em>, so the path name returned must not
be modified nor freed.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-uri-get-fragment-identifier"></a><h3>gnome_vfs_uri_get_fragment_identifier ()</h3>
<pre class="programlisting">const <span class="returnvalue">gchar</span> *       gnome_vfs_uri_get_fragment_identifier
                                                        (<em class="parameter"><code>const <a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#GnomeVFSURI" title="GnomeVFSURI"><span class="type">GnomeVFSURI</span></a> *uri</code></em>);</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-uri-extract-dirname"></a><h3>gnome_vfs_uri_extract_dirname ()</h3>
<pre class="programlisting"><span class="returnvalue">gchar</span> *             gnome_vfs_uri_extract_dirname       (<em class="parameter"><code>const <a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#GnomeVFSURI" title="GnomeVFSURI"><span class="type">GnomeVFSURI</span></a> *uri</code></em>);</pre>
<p>
Extract the name of the directory in which the file pointed to by <em class="parameter"><code>uri</code></em> is
stored as a newly allocated string.  The string will end with a
<a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#GNOME-VFS-URI-PATH-CHR:CAPS" title="GNOME_VFS_URI_PATH_CHR"><code class="literal">GNOME_VFS_URI_PATH_CHR</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>uri</code></em> :</span></p></td>
<td>a <a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#GnomeVFSURI" title="GnomeVFSURI"><span class="type">GnomeVFSURI</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>a pointer to the newly allocated string representing the
parent directory.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-uri-extract-short-name"></a><h3>gnome_vfs_uri_extract_short_name ()</h3>
<pre class="programlisting"><span class="returnvalue">gchar</span> *             gnome_vfs_uri_extract_short_name    (<em class="parameter"><code>const <a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#GnomeVFSURI" title="GnomeVFSURI"><span class="type">GnomeVFSURI</span></a> *uri</code></em>);</pre>
<p>
Retrieve base file name for <em class="parameter"><code>uri</code></em>, ignoring any trailing path separators.
This matches the XPG definition of basename, but not g_basename. This is
often useful when you want the name of something that's pointed to by a
uri, and don't care whether the uri has a directory or file form.
If <em class="parameter"><code>uri</code></em> points to the root of a domain, returns the host name. If there's
no host name, returns <a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#GNOME-VFS-URI-PATH-STR:CAPS" title="GNOME_VFS_URI_PATH_STR"><code class="literal">GNOME_VFS_URI_PATH_STR</code></a>.
</p>
<p>
See also: <a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#gnome-vfs-uri-extract-short-path-name" title="gnome_vfs_uri_extract_short_path_name ()"><code class="function">gnome_vfs_uri_extract_short_path_name()</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>uri</code></em> :</span></p></td>
<td>a <a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#GnomeVFSURI" title="GnomeVFSURI"><span class="type">GnomeVFSURI</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>a pointer to the newly allocated string representing the
unescaped short form of the name.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-uri-extract-short-path-name"></a><h3>gnome_vfs_uri_extract_short_path_name ()</h3>
<pre class="programlisting"><span class="returnvalue">gchar</span> *             gnome_vfs_uri_extract_short_path_name
                                                        (<em class="parameter"><code>const <a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#GnomeVFSURI" title="GnomeVFSURI"><span class="type">GnomeVFSURI</span></a> *uri</code></em>);</pre>
<p>
Retrieve base file name for <em class="parameter"><code>uri</code></em>, ignoring any trailing path separators.
This matches the XPG definition of basename, but not g_basename. This is
often useful when you want the name of something that's pointed to by a
uri, and don't care whether the uri has a directory or file form.
If <em class="parameter"><code>uri</code></em> points to the root (including the root of any domain),
returns <a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#GNOME-VFS-URI-PATH-STR:CAPS" title="GNOME_VFS_URI_PATH_STR"><code class="literal">GNOME_VFS_URI_PATH_STR</code></a>.
</p>
<p>
See also: <a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#gnome-vfs-uri-extract-short-name" title="gnome_vfs_uri_extract_short_name ()"><code class="function">gnome_vfs_uri_extract_short_name()</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>uri</code></em> :</span></p></td>
<td>a <a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#GnomeVFSURI" title="GnomeVFSURI"><span class="type">GnomeVFSURI</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>a pointer to the newly allocated string representing the
escaped short form of the name.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-uri-hequal"></a><h3>gnome_vfs_uri_hequal ()</h3>
<pre class="programlisting"><span class="returnvalue">gint</span>                gnome_vfs_uri_hequal                (<em class="parameter"><code><span class="type">gconstpointer</span> a</code></em>,
                                                         <em class="parameter"><code><span class="type">gconstpointer</span> b</code></em>);</pre>
<p>
Function intended for use as a hash table "are these two items
the same" comparison. Useful for creating a hash table of uris.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>a</code></em> :</span></p></td>
<td>a pointer to a <a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#GnomeVFSURI" title="GnomeVFSURI"><span class="type">GnomeVFSURI</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>b</code></em> :</span></p></td>
<td>a pointer to a <a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#GnomeVFSURI" title="GnomeVFSURI"><span class="type">GnomeVFSURI</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>
<code class="literal">TRUE</code> if the uris are the same.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-uri-hash"></a><h3>gnome_vfs_uri_hash ()</h3>
<pre class="programlisting"><span class="returnvalue">guint</span>               gnome_vfs_uri_hash                  (<em class="parameter"><code><span class="type">gconstpointer</span> p</code></em>);</pre>
<p>
Creates an integer value from a <a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#GnomeVFSURI" title="GnomeVFSURI"><span class="type">GnomeVFSURI</span></a>, appropriate
for using as the key to a hash table entry.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>p</code></em> :</span></p></td>
<td>a pointer to a <a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#GnomeVFSURI" title="GnomeVFSURI"><span class="type">GnomeVFSURI</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>a hash key corresponding to <em class="parameter"><code>p</code></em>.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-uri-list-parse"></a><h3>gnome_vfs_uri_list_parse ()</h3>
<pre class="programlisting"><span class="returnvalue">GList</span> *             gnome_vfs_uri_list_parse            (<em class="parameter"><code>const <span class="type">gchar</span> *uri_list</code></em>);</pre>
<p>
Extracts a list of <a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#GnomeVFSURI" title="GnomeVFSURI"><span class="type">GnomeVFSURI</span></a> objects from a standard text/uri-list,
such as one you would get on a drop operation.  Use
<a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#gnome-vfs-uri-list-free" title="gnome_vfs_uri_list_free ()"><code class="function">gnome_vfs_uri_list_free()</code></a> when you are done with the list.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>uri_list</code></em> :</span></p></td>
<td>string consists of <a href="gnome-vfs-2.0-gnome-vfs-uri.html#GnomeVFSURI"><span class="type">GnomeVFSURIs</span></a> and/or paths seperated by newline character.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>a <span class="type">GList</span> of <a href="gnome-vfs-2.0-gnome-vfs-uri.html#GnomeVFSURI"><span class="type">GnomeVFSURIs</span></a>.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-uri-list-ref"></a><h3>gnome_vfs_uri_list_ref ()</h3>
<pre class="programlisting"><span class="returnvalue">GList</span> *             gnome_vfs_uri_list_ref              (<em class="parameter"><code><span class="type">GList</span> *list</code></em>);</pre>
<p>
Increments the reference count of the items in <em class="parameter"><code>list</code></em> by one.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>list</code></em> :</span></p></td>
<td>list of <a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#GnomeVFSURI" title="GnomeVFSURI"><span class="type">GnomeVFSURI</span></a> elements.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>
<em class="parameter"><code>list</code></em>.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-uri-list-unref"></a><h3>gnome_vfs_uri_list_unref ()</h3>
<pre class="programlisting"><span class="returnvalue">GList</span> *             gnome_vfs_uri_list_unref            (<em class="parameter"><code><span class="type">GList</span> *list</code></em>);</pre>
<p>
Decrements the reference count of the items in <em class="parameter"><code>list</code></em> by one.
Note that the list is *not freed* even if each member of the list
is freed.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>list</code></em> :</span></p></td>
<td>list of <a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#GnomeVFSURI" title="GnomeVFSURI"><span class="type">GnomeVFSURI</span></a> elements.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>
<em class="parameter"><code>list</code></em>.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-uri-list-copy"></a><h3>gnome_vfs_uri_list_copy ()</h3>
<pre class="programlisting"><span class="returnvalue">GList</span> *             gnome_vfs_uri_list_copy             (<em class="parameter"><code><span class="type">GList</span> *list</code></em>);</pre>
<p>
Creates a duplicate of <em class="parameter"><code>list</code></em>, and references each member of
that list.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>list</code></em> :</span></p></td>
<td>list of <a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#GnomeVFSURI" title="GnomeVFSURI"><span class="type">GnomeVFSURI</span></a> elements.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>a newly referenced duplicate of <em class="parameter"><code>list</code></em>.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-uri-list-free"></a><h3>gnome_vfs_uri_list_free ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gnome_vfs_uri_list_free             (<em class="parameter"><code><span class="type">GList</span> *list</code></em>);</pre>
<p>
Decrements the reference count of each member of <em class="parameter"><code>list</code></em> by one,
and frees the list itself.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><em class="parameter"><code>list</code></em> :</span></p></td>
<td>list of <a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#GnomeVFSURI" title="GnomeVFSURI"><span class="type">GnomeVFSURI</span></a> elements.</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-uri-make-full-from-relative"></a><h3>gnome_vfs_uri_make_full_from_relative ()</h3>
<pre class="programlisting"><span class="returnvalue">char</span> *              gnome_vfs_uri_make_full_from_relative
                                                        (<em class="parameter"><code>const <span class="type">char</span> *base_uri</code></em>,
                                                         <em class="parameter"><code>const <span class="type">char</span> *relative_uri</code></em>);</pre>
<p>
Returns a full uri given a full base uri, and a secondary uri which may
be relative.
</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>a string representing the base uri.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>relative_uri</code></em> :</span></p></td>
<td>a uri fragment/reference to be appended to <em class="parameter"><code>base_uri</code></em>.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>a newly allocated string containing the uri
(<code class="literal">NULL</code> for some bad errors).</td>
</tr>
</tbody>
</table></div>
</div>
</div>
</div>
<div class="footer">
<hr>
          Generated by GTK-Doc V1.18</div>
</body>
</html>