Copyright (C) 2000-2012 |
Whole document tree
uriSynopsis
Detailsgnome_vfs_uri_new ()
Create a new URI from text_uri. gnome_vfs_uri_resolve_relative ()
Create a new URI from text_uri relative to base. gnome_vfs_uri_ref ()
Increment uri's reference count. gnome_vfs_uri_unref ()
Decrement uri's reference count. If the reference count reaches zero, uri is destroyed. gnome_vfs_uri_append_string ()
Create a new URI obtained by appending path to uri. This will take care of adding an appropriate directory separator between the end of uri and the start of path if necessary. gnome_vfs_uri_append_path ()
Create a new URI obtained by appending path to uri. This will take care of adding an appropriate directory separator between the end of uri and the start of path if necessary as well as escaping path as necessary. gnome_vfs_uri_append_file_name ()
Create a new URI obtained by appending file_name to uri. This will take care of adding an appropriate directory separator between the end of uri and the start of file_name if necessary. gnome_vfs_uri_to_string ()
Translate uri into a printable string. The string will not contain the URI elements specified by hide_options. gnome_vfs_uri_is_local ()
Check if uri is a local (native) file system. gnome_vfs_uri_has_parent ()
Check if URI has a parent or not. gnome_vfs_uri_get_parent ()
Retrieve uri's parent URI. gnome_vfs_uri_get_toplevel ()
Retrieve the toplevel URI in uri. gnome_vfs_uri_get_host_name ()
Retrieve the host name for uri. gnome_vfs_uri_get_scheme ()
Retrieve the scheme used for uri gnome_vfs_uri_get_host_port ()
Retrieve the host port number in uri. gnome_vfs_uri_get_user_name ()
Retrieve the user name in uri. gnome_vfs_uri_get_password ()
Retrieve the password for uri. gnome_vfs_uri_set_host_name ()
Set host_name as the host name accessed by uri. gnome_vfs_uri_set_host_port ()
Set the host port number in uri. If host_port is zero, the default port for uri's toplevel access method is used. gnome_vfs_uri_set_user_name ()
Set user_name as the user name for uri. gnome_vfs_uri_set_password ()
Set password as the password for uri. gnome_vfs_uri_equal ()
Compare a and b. gnome_vfs_uri_is_parent ()
Check if possible_child is contained by possible_parent. If recursive is FALSE, just try the immediate parent directory, else search up through the hierarchy. gnome_vfs_uri_get_path ()
Retrieve full path name for uri. gnome_vfs_uri_get_basename ()
Retrieve base file name for uri. gnome_vfs_uri_get_fragment_identifier ()
gnome_vfs_uri_extract_dirname ()
Extract the name of the directory in which the file pointed to by uri is stored as a newly allocated string. The string will end with a GNOME_VFS_URI_PATH_CHR. gnome_vfs_uri_extract_short_name ()
Retrieve base file name for uri, 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 uri points to the root of a domain, returns the host name. If there's no host name, returns GNOME_VFS_URI_PATH_STR. See also: gnome_vfs_uri_extract_short_path_name. gnome_vfs_uri_extract_short_path_name ()
Retrieve base file name for uri, 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 uri points to the root (including the root of any domain), returns GNOME_VFS_URI_PATH_STR. See also: gnome_vfs_uri_extract_short_name. |