GVfs

GVfs

Synopsis




                    GVfs;
GFile*              g_vfs_get_file_for_path             (GVfs *vfs,
                                                         const char *path);
GFile*              g_vfs_get_file_for_uri              (GVfs *vfs,
                                                         const char *uri);
GFile*              g_vfs_parse_name                    (GVfs *vfs,
                                                         const char *parse_name);
GVfs*               g_vfs_get_default                   (void);
GVfs*               g_vfs_get_local                     (void);


Object Hierarchy


  GObject
   +----GVfs

Description

Details

GVfs

typedef struct _GVfs GVfs;


g_vfs_get_file_for_path ()

GFile*              g_vfs_get_file_for_path             (GVfs *vfs,
                                                         const char *path);

vfs :

an input GVfs.

path :

a string containing a VFS path.

Returns :

a GFile for the given path.

g_vfs_get_file_for_uri ()

GFile*              g_vfs_get_file_for_uri              (GVfs *vfs,
                                                         const char *uri);

This operation never fails, but the returned object might not support any I/O operation if the uri is malformed or if the uri type is not supported.

vfs :

an input GVfs.

uri :

an input string containing a URI path.

Returns :

a GFile for the given uri.

g_vfs_parse_name ()

GFile*              g_vfs_parse_name                    (GVfs *vfs,
                                                         const char *parse_name);

This operation never fails, but the returned object might not support any I/O operations if the parse_name cannot be parsed by the GVfs module.

vfs :

an input GVfs.

parse_name :

a string to be parsed by the VFS module.

Returns :

a GFile for the given parse_name.

g_vfs_get_default ()

GVfs*               g_vfs_get_default                   (void);

Returns :

the default GVfs for the system.

g_vfs_get_local ()

GVfs*               g_vfs_get_local                     (void);

Returns :

the local GVfs for the system.