7 CONTENT="Modular DocBook HTML Stylesheet Version 1.64
10 TITLE="GnomeVFS - Filesystem Abstraction library"
11 HREF="index.html"><LINK
13 TITLE="Common Data Types"
14 HREF="data-types.html"><LINK
17 HREF="gnome-vfs-result.html"><LINK
19 TITLE="MIME types & the Application Registry"
20 HREF="mime-registry.html"></HEAD
43 >GnomeVFS - Filesystem Abstraction library</FONT
52 HREF="gnome-vfs-result.html"
57 ><<< Previous Page</B
90 HREF="data-types.html"
106 HREF="mime-registry.html"
111 >Next Page >>></B
130 >uri -- </DIV
132 CLASS="REFSYNOPSISDIV"
150 HREF="gnome-vfs-uri.html#GNOME-VFS-URI-NEW"
151 >gnome_vfs_uri_new</A
153 HREF=../glib/glib-basic-types.html#GCHAR
154 >gchar</A> *text_uri);
156 HREF="gnome-vfs-uri.html#GNOME-VFS-URI-REF"
157 >gnome_vfs_uri_ref</A
158 > (GnomeVFSURI *uri);
160 HREF="gnome-vfs-uri.html#GNOME-VFS-URI-UNREF"
161 >gnome_vfs_uri_unref</A
162 > (GnomeVFSURI *uri);
164 HREF="gnome-vfs-uri.html#GNOME-VFS-URI-APPEND-STRING"
165 >gnome_vfs_uri_append_string</A
166 > (const GnomeVFSURI *uri,
169 HREF="gnome-vfs-uri.html#GNOME-VFS-URI-APPEND-PATH"
170 >gnome_vfs_uri_append_path</A
171 > (const GnomeVFSURI *uri,
174 HREF="gnome-vfs-uri.html#GNOME-VFS-URI-APPEND-FILE-NAME"
175 >gnome_vfs_uri_append_file_name</A
176 > (const GnomeVFSURI *uri,
178 HREF=../glib/glib-basic-types.html#GCHAR
179 >gchar</A> *filename);
181 HREF=../glib/glib-basic-types.html#GCHAR
183 HREF="gnome-vfs-uri.html#GNOME-VFS-URI-TO-STRING"
184 >gnome_vfs_uri_to_string</A
185 > (const GnomeVFSURI *uri,
187 HREF="gnome-vfs-types.html#GNOMEVFSURIHIDEOPTIONS"
188 >GnomeVFSURIHideOptions</A
191 HREF="gnome-vfs-uri.html#GNOME-VFS-URI-DUP"
192 >gnome_vfs_uri_dup</A
193 > (const GnomeVFSURI *uri);
195 HREF=../glib/glib-basic-types.html#GBOOLEAN
197 HREF="gnome-vfs-uri.html#GNOME-VFS-URI-IS-LOCAL"
198 >gnome_vfs_uri_is_local</A
199 > (const GnomeVFSURI *uri);
201 HREF=../glib/glib-basic-types.html#GBOOLEAN
203 HREF="gnome-vfs-uri.html#GNOME-VFS-URI-HAS-PARENT"
204 >gnome_vfs_uri_has_parent</A
205 > (const GnomeVFSURI *uri);
207 HREF="gnome-vfs-uri.html#GNOME-VFS-URI-GET-PARENT"
208 >gnome_vfs_uri_get_parent</A
209 > (const GnomeVFSURI *uri);
211 HREF="gnome-vfs-types.html#GNOMEVFSTOPLEVELURI"
212 >GnomeVFSToplevelURI</A
214 HREF="gnome-vfs-uri.html#GNOME-VFS-URI-GET-TOPLEVEL"
215 >gnome_vfs_uri_get_toplevel</A
217 (const GnomeVFSURI *uri);
219 HREF=../glib/glib-basic-types.html#GCHAR
221 HREF="gnome-vfs-uri.html#GNOME-VFS-URI-GET-HOST-NAME"
222 >gnome_vfs_uri_get_host_name</A
223 > (const GnomeVFSURI *uri);
225 HREF=../glib/glib-basic-types.html#GCHAR
227 HREF="gnome-vfs-uri.html#GNOME-VFS-URI-GET-SCHEME"
228 >gnome_vfs_uri_get_scheme</A
229 > (const GnomeVFSURI *uri);
231 HREF=../glib/glib-basic-types.html#GUINT
233 HREF="gnome-vfs-uri.html#GNOME-VFS-URI-GET-HOST-PORT"
234 >gnome_vfs_uri_get_host_port</A
235 > (const GnomeVFSURI *uri);
237 HREF=../glib/glib-basic-types.html#GCHAR
239 HREF="gnome-vfs-uri.html#GNOME-VFS-URI-GET-USER-NAME"
240 >gnome_vfs_uri_get_user_name</A
241 > (const GnomeVFSURI *uri);
243 HREF=../glib/glib-basic-types.html#GCHAR
245 HREF="gnome-vfs-uri.html#GNOME-VFS-URI-GET-PASSWORD"
246 >gnome_vfs_uri_get_password</A
247 > (const GnomeVFSURI *uri);
249 HREF="gnome-vfs-uri.html#GNOME-VFS-URI-SET-HOST-NAME"
250 >gnome_vfs_uri_set_host_name</A
253 HREF=../glib/glib-basic-types.html#GCHAR
254 >gchar</A> *host_name);
256 HREF="gnome-vfs-uri.html#GNOME-VFS-URI-SET-HOST-PORT"
257 >gnome_vfs_uri_set_host_port</A
260 HREF=../glib/glib-basic-types.html#GUINT
261 >guint</A> host_port);
263 HREF="gnome-vfs-uri.html#GNOME-VFS-URI-SET-USER-NAME"
264 >gnome_vfs_uri_set_user_name</A
267 HREF=../glib/glib-basic-types.html#GCHAR
268 >gchar</A> *user_name);
270 HREF="gnome-vfs-uri.html#GNOME-VFS-URI-SET-PASSWORD"
271 >gnome_vfs_uri_set_password</A
274 HREF=../glib/glib-basic-types.html#GCHAR
275 >gchar</A> *password);
277 HREF=../glib/glib-basic-types.html#GBOOLEAN
279 HREF="gnome-vfs-uri.html#GNOME-VFS-URI-EQUAL"
280 >gnome_vfs_uri_equal</A
281 > (const GnomeVFSURI *a,
282 const GnomeVFSURI *b);
284 HREF=../glib/glib-basic-types.html#GBOOLEAN
286 HREF="gnome-vfs-uri.html#GNOME-VFS-URI-IS-PARENT"
287 >gnome_vfs_uri_is_parent</A
288 > (const GnomeVFSURI *parent,
289 const GnomeVFSURI *item,
291 HREF=../glib/glib-basic-types.html#GBOOLEAN
292 >gboolean</A> recursive);
294 HREF=../glib/glib-basic-types.html#GCHAR
296 HREF="gnome-vfs-uri.html#GNOME-VFS-URI-GET-PATH"
297 >gnome_vfs_uri_get_path</A
298 > (const GnomeVFSURI *uri);
300 HREF=../glib/glib-basic-types.html#GCHAR
302 HREF="gnome-vfs-uri.html#GNOME-VFS-URI-GET-FRAGMENT-IDENTIFIER"
303 >gnome_vfs_uri_get_fragment_identifier</A
305 (const GnomeVFSURI *uri);
307 HREF=../glib/glib-basic-types.html#GCHAR
309 HREF="gnome-vfs-uri.html#GNOME-VFS-URI-EXTRACT-DIRNAME"
310 >gnome_vfs_uri_extract_dirname</A
311 > (const GnomeVFSURI *uri);
313 HREF=../glib/glib-basic-types.html#GCHAR
315 HREF="gnome-vfs-uri.html#GNOME-VFS-URI-EXTRACT-SHORT-NAME"
316 >gnome_vfs_uri_extract_short_name</A
318 (const GnomeVFSURI *uri);
320 HREF=../glib/glib-basic-types.html#GCHAR
322 HREF="gnome-vfs-uri.html#GNOME-VFS-URI-EXTRACT-SHORT-PATH-NAME"
323 >gnome_vfs_uri_extract_short_path_name</A
325 (const GnomeVFSURI *uri);
327 HREF=../glib/glib-basic-types.html#GINT
329 HREF="gnome-vfs-uri.html#GNOME-VFS-URI-HEQUAL"
330 >gnome_vfs_uri_hequal</A
332 HREF=../glib/glib-basic-types.html#GCONSTPOINTER
333 >gconstpointer</A> a,
335 HREF=../glib/glib-basic-types.html#GCONSTPOINTER
336 >gconstpointer</A> b);
338 HREF=../glib/glib-basic-types.html#GUINT
340 HREF="gnome-vfs-uri.html#GNOME-VFS-URI-HASH"
341 >gnome_vfs_uri_hash</A
343 HREF=../glib/glib-basic-types.html#GCONSTPOINTER
344 >gconstpointer</A> p);
346 HREF=../glib/glib-doubly-linked-lists.html#GLIST
348 HREF="gnome-vfs-uri.html#GNOME-VFS-URI-LIST-REF"
349 >gnome_vfs_uri_list_ref</A
351 HREF=../glib/glib-doubly-linked-lists.html#GLIST
354 HREF=../glib/glib-doubly-linked-lists.html#GLIST
356 HREF="gnome-vfs-uri.html#GNOME-VFS-URI-LIST-UNREF"
357 >gnome_vfs_uri_list_unref</A
359 HREF=../glib/glib-doubly-linked-lists.html#GLIST
362 HREF=../glib/glib-doubly-linked-lists.html#GLIST
364 HREF="gnome-vfs-uri.html#GNOME-VFS-URI-LIST-COPY"
365 >gnome_vfs_uri_list_copy</A
367 HREF=../glib/glib-doubly-linked-lists.html#GLIST
370 HREF="gnome-vfs-uri.html#GNOME-VFS-URI-LIST-FREE"
371 >gnome_vfs_uri_list_free</A
373 HREF=../glib/glib-doubly-linked-lists.html#GLIST
376 HREF="gnome-vfs-uri.html#GNOME-VFS-URI-MAGIC-CHR-CAPS"
377 >GNOME_VFS_URI_MAGIC_CHR</A
380 HREF="gnome-vfs-uri.html#GNOME-VFS-URI-MAGIC-STR-CAPS"
381 >GNOME_VFS_URI_MAGIC_STR</A
384 HREF="gnome-vfs-uri.html#GNOME-VFS-URI-PATH-CHR-CAPS"
385 >GNOME_VFS_URI_PATH_CHR</A
388 HREF="gnome-vfs-uri.html#GNOME-VFS-URI-PATH-STR-CAPS"
389 >GNOME_VFS_URI_PATH_STR</A
419 NAME="GNOME-VFS-URI-NEW"
421 >gnome_vfs_uri_new ()</H3
430 CLASS="PROGRAMLISTING"
431 >GnomeVFSURI* gnome_vfs_uri_new (const <A
432 HREF=../glib/glib-basic-types.html#GCHAR
433 >gchar</A> *text_uri);</PRE
438 >Create a new URI from <TT
447 CLASS="INFORMALTABLE"
476 > A string representing a URI.</TD
506 NAME="GNOME-VFS-URI-REF"
508 >gnome_vfs_uri_ref ()</H3
517 CLASS="PROGRAMLISTING"
518 >GnomeVFSURI* gnome_vfs_uri_ref (GnomeVFSURI *uri);</PRE
528 >'s reference count.</P
532 CLASS="INFORMALTABLE"
596 NAME="GNOME-VFS-URI-UNREF"
598 >gnome_vfs_uri_unref ()</H3
607 CLASS="PROGRAMLISTING"
608 >void gnome_vfs_uri_unref (GnomeVFSURI *uri);</PRE
618 >'s reference count. If the reference count reaches zero,
628 CLASS="INFORMALTABLE"
672 NAME="GNOME-VFS-URI-APPEND-STRING"
674 >gnome_vfs_uri_append_string ()</H3
683 CLASS="PROGRAMLISTING"
684 >GnomeVFSURI* gnome_vfs_uri_append_string (const GnomeVFSURI *uri,
685 const char *path);</PRE
690 >Create a new URI obtained by appending <TT
700 >. This will take care
701 of adding an appropriate directory separator between the end of <TT
716 CLASS="INFORMALTABLE"
777 > The new URI obtained by combining <TT
802 NAME="GNOME-VFS-URI-APPEND-PATH"
804 >gnome_vfs_uri_append_path ()</H3
813 CLASS="PROGRAMLISTING"
814 >GnomeVFSURI* gnome_vfs_uri_append_path (const GnomeVFSURI *uri,
815 const char *path);</PRE
820 >Create a new URI obtained by appending <TT
830 >. This will take care
831 of adding an appropriate directory separator between the end of <TT
842 > if necessary as well as escaping <TT
851 CLASS="INFORMALTABLE"
897 > A non-escaped file path</TD
912 > The new URI obtained by combining <TT
937 NAME="GNOME-VFS-URI-APPEND-FILE-NAME"
939 >gnome_vfs_uri_append_file_name ()</H3
948 CLASS="PROGRAMLISTING"
949 >GnomeVFSURI* gnome_vfs_uri_append_file_name (const GnomeVFSURI *uri,
951 HREF=../glib/glib-basic-types.html#GCHAR
952 >gchar</A> *filename);</PRE
957 >Create a new URI obtained by appending <TT
967 >. This will take care
968 of adding an appropriate directory separator between the end of <TT
983 CLASS="INFORMALTABLE"
1012 > A GnomeVFSURI.</TD
1044 > The new URI obtained by combining <TT
1069 NAME="GNOME-VFS-URI-TO-STRING"
1071 >gnome_vfs_uri_to_string ()</H3
1080 CLASS="PROGRAMLISTING"
1082 HREF=../glib/glib-basic-types.html#GCHAR
1083 >gchar</A>* gnome_vfs_uri_to_string (const GnomeVFSURI *uri,
1085 HREF="gnome-vfs-types.html#GNOMEVFSURIHIDEOPTIONS"
1086 >GnomeVFSURIHideOptions</A
1087 > hide_options);</PRE
1097 > into a printable string. The string will not contain the
1098 URI elements specified by <TT
1107 CLASS="INFORMALTABLE"
1136 > A GnomeVFSURI.</TD
1153 > Bitmask specifying what URI elements (e.g. password,
1154 user name etc.) should not be represented in the returned string.</TD
1169 > A malloced printable string representing <TT
1189 NAME="GNOME-VFS-URI-DUP"
1191 >gnome_vfs_uri_dup ()</H3
1200 CLASS="PROGRAMLISTING"
1201 >GnomeVFSURI* gnome_vfs_uri_dup (const GnomeVFSURI *uri);</PRE
1215 CLASS="INFORMALTABLE"
1244 > A GnomeVFSURI.</TD
1259 > A pointer to a new URI that is exactly the same as <TT
1279 NAME="GNOME-VFS-URI-IS-LOCAL"
1281 >gnome_vfs_uri_is_local ()</H3
1290 CLASS="PROGRAMLISTING"
1292 HREF=../glib/glib-basic-types.html#GBOOLEAN
1293 >gboolean</A> gnome_vfs_uri_is_local (const GnomeVFSURI *uri);</PRE
1303 > is a local (native) file system.</P
1307 CLASS="INFORMALTABLE"
1336 > A GnomeVFSURI.</TD
1359 > is not a local file system, <TT
1377 NAME="GNOME-VFS-URI-HAS-PARENT"
1379 >gnome_vfs_uri_has_parent ()</H3
1388 CLASS="PROGRAMLISTING"
1390 HREF=../glib/glib-basic-types.html#GBOOLEAN
1391 >gboolean</A> gnome_vfs_uri_has_parent (const GnomeVFSURI *uri);</PRE
1396 >Check if URI has a parent or not.</P
1400 CLASS="INFORMALTABLE"
1429 > A GnomeVFSURI.</TD
1470 NAME="GNOME-VFS-URI-GET-PARENT"
1472 >gnome_vfs_uri_get_parent ()</H3
1481 CLASS="PROGRAMLISTING"
1482 >GnomeVFSURI* gnome_vfs_uri_get_parent (const GnomeVFSURI *uri);</PRE
1496 CLASS="INFORMALTABLE"
1525 > A GnomeVFSURI.</TD
1560 NAME="GNOME-VFS-URI-GET-TOPLEVEL"
1562 >gnome_vfs_uri_get_toplevel ()</H3
1571 CLASS="PROGRAMLISTING"
1573 HREF="gnome-vfs-types.html#GNOMEVFSTOPLEVELURI"
1574 >GnomeVFSToplevelURI</A
1575 >* gnome_vfs_uri_get_toplevel
1576 (const GnomeVFSURI *uri);</PRE
1581 >Retrieve the toplevel URI in <TT
1590 CLASS="INFORMALTABLE"
1619 > A GnomeVFSURI.</TD
1634 > A pointer to the toplevel URI object.</TD
1649 NAME="GNOME-VFS-URI-GET-HOST-NAME"
1651 >gnome_vfs_uri_get_host_name ()</H3
1660 CLASS="PROGRAMLISTING"
1662 HREF=../glib/glib-basic-types.html#GCHAR
1663 >gchar</A>* gnome_vfs_uri_get_host_name (const GnomeVFSURI *uri);</PRE
1668 >Retrieve the host name for <TT
1677 CLASS="INFORMALTABLE"
1706 > A GnomeVFSURI.</TD
1721 > A string representing the host name.</TD
1736 NAME="GNOME-VFS-URI-GET-SCHEME"
1738 >gnome_vfs_uri_get_scheme ()</H3
1747 CLASS="PROGRAMLISTING"
1749 HREF=../glib/glib-basic-types.html#GCHAR
1750 >gchar</A>* gnome_vfs_uri_get_scheme (const GnomeVFSURI *uri);</PRE
1755 >Retrieve the scheme used for <TT
1764 CLASS="INFORMALTABLE"
1808 > A string representing the scheme</TD
1823 NAME="GNOME-VFS-URI-GET-HOST-PORT"
1825 >gnome_vfs_uri_get_host_port ()</H3
1834 CLASS="PROGRAMLISTING"
1836 HREF=../glib/glib-basic-types.html#GUINT
1837 >guint</A> gnome_vfs_uri_get_host_port (const GnomeVFSURI *uri);</PRE
1842 >Retrieve the host port number in <TT
1851 CLASS="INFORMALTABLE"
1880 > A GnomeVFSURI.</TD
1895 > The host port number used by <TT
1900 >. If the value is zero, the
1901 default port value for the specified toplevel access method is used.</TD
1916 NAME="GNOME-VFS-URI-GET-USER-NAME"
1918 >gnome_vfs_uri_get_user_name ()</H3
1927 CLASS="PROGRAMLISTING"
1929 HREF=../glib/glib-basic-types.html#GCHAR
1930 >gchar</A>* gnome_vfs_uri_get_user_name (const GnomeVFSURI *uri);</PRE
1935 >Retrieve the user name in <TT
1944 CLASS="INFORMALTABLE"
1973 > A GnomeVFSURI.</TD
1988 > A string representing the user name in <TT
2008 NAME="GNOME-VFS-URI-GET-PASSWORD"
2010 >gnome_vfs_uri_get_password ()</H3
2019 CLASS="PROGRAMLISTING"
2021 HREF=../glib/glib-basic-types.html#GCHAR
2022 >gchar</A>* gnome_vfs_uri_get_password (const GnomeVFSURI *uri);</PRE
2027 >Retrieve the password for <TT
2036 CLASS="INFORMALTABLE"
2065 > A GnomeVFSURI.</TD
2080 > The password for <TT
2100 NAME="GNOME-VFS-URI-SET-HOST-NAME"
2102 >gnome_vfs_uri_set_host_name ()</H3
2111 CLASS="PROGRAMLISTING"
2112 >void gnome_vfs_uri_set_host_name (GnomeVFSURI *uri,
2114 HREF=../glib/glib-basic-types.html#GCHAR
2115 >gchar</A> *host_name);</PRE
2125 > as the host name accessed by <TT
2134 CLASS="INFORMALTABLE"
2163 > A GnomeVFSURI.</TD
2180 > A string representing a host name.</TD
2195 NAME="GNOME-VFS-URI-SET-HOST-PORT"
2197 >gnome_vfs_uri_set_host_port ()</H3
2206 CLASS="PROGRAMLISTING"
2207 >void gnome_vfs_uri_set_host_port (GnomeVFSURI *uri,
2209 HREF=../glib/glib-basic-types.html#GUINT
2210 >guint</A> host_port);</PRE
2215 >Set the host port number in <TT
2225 > is zero, the default port
2231 >'s toplevel access method is used.</P
2235 CLASS="INFORMALTABLE"
2264 > A GnomeVFSURI.</TD
2281 > A TCP/IP port number.</TD
2296 NAME="GNOME-VFS-URI-SET-USER-NAME"
2298 >gnome_vfs_uri_set_user_name ()</H3
2307 CLASS="PROGRAMLISTING"
2308 >void gnome_vfs_uri_set_user_name (GnomeVFSURI *uri,
2310 HREF=../glib/glib-basic-types.html#GCHAR
2311 >gchar</A> *user_name);</PRE
2321 > as the user name for <TT
2330 CLASS="INFORMALTABLE"
2359 > A GnomeVFSURI.</TD
2376 > A string representing a user name on the host accessed by <TT
2396 NAME="GNOME-VFS-URI-SET-PASSWORD"
2398 >gnome_vfs_uri_set_password ()</H3
2407 CLASS="PROGRAMLISTING"
2408 >void gnome_vfs_uri_set_password (GnomeVFSURI *uri,
2410 HREF=../glib/glib-basic-types.html#GCHAR
2411 >gchar</A> *password);</PRE
2421 > as the password for <TT
2430 CLASS="INFORMALTABLE"
2459 > A GnomeVFSURI.</TD
2476 > A password string.</TD
2491 NAME="GNOME-VFS-URI-EQUAL"
2493 >gnome_vfs_uri_equal ()</H3
2502 CLASS="PROGRAMLISTING"
2504 HREF=../glib/glib-basic-types.html#GBOOLEAN
2505 >gboolean</A> gnome_vfs_uri_equal (const GnomeVFSURI *a,
2506 const GnomeVFSURI *b);</PRE
2525 CLASS="INFORMALTABLE"
2554 > A GnomeVFSURI.</TD
2571 > A GnomeVFSURI.</TD
2604 FIXME: This comparison should take into account the possiblity
2605 that unreserved characters may be escaped.
2606 ...or perhaps gnome_vfs_uri_new should unescape unreserved characters?</TD
2621 NAME="GNOME-VFS-URI-IS-PARENT"
2623 >gnome_vfs_uri_is_parent ()</H3
2632 CLASS="PROGRAMLISTING"
2634 HREF=../glib/glib-basic-types.html#GBOOLEAN
2635 >gboolean</A> gnome_vfs_uri_is_parent (const GnomeVFSURI *parent,
2636 const GnomeVFSURI *item,
2638 HREF=../glib/glib-basic-types.html#GBOOLEAN
2639 >gboolean</A> recursive);</PRE
2649 > is contained by <TT
2660 > is FALSE, just try the immediate parent directory, else
2661 search up through the hierarchy.</P
2665 CLASS="INFORMALTABLE"
2728 > a flag to turn recursive check on.</TD
2751 > is contained in <TT
2771 NAME="GNOME-VFS-URI-GET-PATH"
2773 >gnome_vfs_uri_get_path ()</H3
2782 CLASS="PROGRAMLISTING"
2784 HREF=../glib/glib-basic-types.html#GCHAR
2785 >gchar</A>* gnome_vfs_uri_get_path (const GnomeVFSURI *uri);</PRE
2790 >Retrieve full path name for <TT
2799 CLASS="INFORMALTABLE"
2843 > A pointer to the full path name in <TT
2849 pointer points to the name store in <TT
2854 >, so the name returned must not
2855 be modified nor freed.</TD
2870 NAME="GNOME-VFS-URI-GET-FRAGMENT-IDENTIFIER"
2872 >gnome_vfs_uri_get_fragment_identifier ()</H3
2881 CLASS="PROGRAMLISTING"
2883 HREF=../glib/glib-basic-types.html#GCHAR
2884 >gchar</A>* gnome_vfs_uri_get_fragment_identifier
2885 (const GnomeVFSURI *uri);</PRE
2892 CLASS="INFORMALTABLE"
2951 NAME="GNOME-VFS-URI-EXTRACT-DIRNAME"
2953 >gnome_vfs_uri_extract_dirname ()</H3
2962 CLASS="PROGRAMLISTING"
2964 HREF=../glib/glib-basic-types.html#GCHAR
2965 >gchar</A>* gnome_vfs_uri_extract_dirname (const GnomeVFSURI *uri);</PRE
2970 >Extract the name of the directory in which the file pointed to by <TT
2976 stored as a newly allocated string. The string will end with a
2977 GNOME_VFS_URI_PATH_CHR.</P
2981 CLASS="INFORMALTABLE"
3025 > A pointer to the newly allocated string representing the
3026 parent directory.</TD
3041 NAME="GNOME-VFS-URI-EXTRACT-SHORT-NAME"
3043 >gnome_vfs_uri_extract_short_name ()</H3
3052 CLASS="PROGRAMLISTING"
3054 HREF=../glib/glib-basic-types.html#GCHAR
3055 >gchar</A>* gnome_vfs_uri_extract_short_name
3056 (const GnomeVFSURI *uri);</PRE
3061 >Retrieve base file name for <TT
3066 >, ignoring any trailing path separators.
3067 This matches the XPG definition of basename, but not g_basename. This is
3068 often useful when you want the name of something that's pointed to by a
3069 uri, and don't care whether the uri has a directory or file form.
3075 > points to the root of a domain, returns the host name. If there's
3076 no host name, returns GNOME_VFS_URI_PATH_STR.</P
3078 >See also: gnome_vfs_uri_extract_short_path_name.</P
3082 CLASS="INFORMALTABLE"
3126 > A pointer to the newly allocated string representing the
3127 unescaped short form of the name.</TD
3142 NAME="GNOME-VFS-URI-EXTRACT-SHORT-PATH-NAME"
3144 >gnome_vfs_uri_extract_short_path_name ()</H3
3153 CLASS="PROGRAMLISTING"
3155 HREF=../glib/glib-basic-types.html#GCHAR
3156 >gchar</A>* gnome_vfs_uri_extract_short_path_name
3157 (const GnomeVFSURI *uri);</PRE
3162 >Retrieve base file name for <TT
3167 >, ignoring any trailing path separators.
3168 This matches the XPG definition of basename, but not g_basename. This is
3169 often useful when you want the name of something that's pointed to by a
3170 uri, and don't care whether the uri has a directory or file form.
3176 > points to the root (including the root of any domain),
3177 returns GNOME_VFS_URI_PATH_STR.</P
3179 >See also: gnome_vfs_uri_extract_short_name.</P
3183 CLASS="INFORMALTABLE"
3227 > A pointer to the newly allocated string representing the
3228 escaped short form of the name.</TD
3243 NAME="GNOME-VFS-URI-HEQUAL"
3245 >gnome_vfs_uri_hequal ()</H3
3254 CLASS="PROGRAMLISTING"
3256 HREF=../glib/glib-basic-types.html#GINT
3257 >gint</A> gnome_vfs_uri_hequal (<A
3258 HREF=../glib/glib-basic-types.html#GCONSTPOINTER
3259 >gconstpointer</A> a,
3261 HREF=../glib/glib-basic-types.html#GCONSTPOINTER
3262 >gconstpointer</A> b);</PRE
3269 CLASS="INFORMALTABLE"
3345 NAME="GNOME-VFS-URI-HASH"
3347 >gnome_vfs_uri_hash ()</H3
3356 CLASS="PROGRAMLISTING"
3358 HREF=../glib/glib-basic-types.html#GUINT
3359 >guint</A> gnome_vfs_uri_hash (<A
3360 HREF=../glib/glib-basic-types.html#GCONSTPOINTER
3361 >gconstpointer</A> p);</PRE
3368 CLASS="INFORMALTABLE"
3427 NAME="GNOME-VFS-URI-LIST-REF"
3429 >gnome_vfs_uri_list_ref ()</H3
3438 CLASS="PROGRAMLISTING"
3440 HREF=../glib/glib-doubly-linked-lists.html#GLIST
3441 >GList</A>* gnome_vfs_uri_list_ref (<A
3442 HREF=../glib/glib-doubly-linked-lists.html#GLIST
3443 >GList</A> *list);</PRE
3450 CLASS="INFORMALTABLE"
3509 NAME="GNOME-VFS-URI-LIST-UNREF"
3511 >gnome_vfs_uri_list_unref ()</H3
3520 CLASS="PROGRAMLISTING"
3522 HREF=../glib/glib-doubly-linked-lists.html#GLIST
3523 >GList</A>* gnome_vfs_uri_list_unref (<A
3524 HREF=../glib/glib-doubly-linked-lists.html#GLIST
3525 >GList</A> *list);</PRE
3532 CLASS="INFORMALTABLE"
3591 NAME="GNOME-VFS-URI-LIST-COPY"
3593 >gnome_vfs_uri_list_copy ()</H3
3602 CLASS="PROGRAMLISTING"
3604 HREF=../glib/glib-doubly-linked-lists.html#GLIST
3605 >GList</A>* gnome_vfs_uri_list_copy (<A
3606 HREF=../glib/glib-doubly-linked-lists.html#GLIST
3607 >GList</A> *list);</PRE
3614 CLASS="INFORMALTABLE"
3673 NAME="GNOME-VFS-URI-LIST-FREE"
3675 >gnome_vfs_uri_list_free ()</H3
3684 CLASS="PROGRAMLISTING"
3685 >void gnome_vfs_uri_list_free (<A
3686 HREF=../glib/glib-doubly-linked-lists.html#GLIST
3687 >GList</A> *list);</PRE
3694 CLASS="INFORMALTABLE"
3738 NAME="GNOME-VFS-URI-MAGIC-CHR-CAPS"
3740 >GNOME_VFS_URI_MAGIC_CHR</H3
3749 CLASS="PROGRAMLISTING"
3750 >#define GNOME_VFS_URI_MAGIC_CHR '#'</PRE
3764 NAME="GNOME-VFS-URI-MAGIC-STR-CAPS"
3766 >GNOME_VFS_URI_MAGIC_STR</H3
3775 CLASS="PROGRAMLISTING"
3776 >#define GNOME_VFS_URI_MAGIC_STR "#"</PRE
3790 NAME="GNOME-VFS-URI-PATH-CHR-CAPS"
3792 >GNOME_VFS_URI_PATH_CHR</H3
3801 CLASS="PROGRAMLISTING"
3802 >#define GNOME_VFS_URI_PATH_CHR '/'</PRE
3816 NAME="GNOME-VFS-URI-PATH-STR-CAPS"
3818 >GNOME_VFS_URI_PATH_STR</H3
3827 CLASS="PROGRAMLISTING"
3828 >#define GNOME_VFS_URI_PATH_STR "/"</PRE
3839 CLEAR="all"><BR><TABLE
3851 HREF="gnome-vfs-result.html"
3856 ><<< Previous Page</B
3889 HREF="data-types.html"
3905 HREF="mime-registry.html"
3910 >Next Page >>></B
3933 >MIME types & the Application Registry</B