![]() |
![]() |
![]() |
GIO Reference Manual | ![]() |
---|---|---|---|---|
#include <gio.h> 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); gboolean g_vfs_is_active (GVfs *vfs);
GFile* g_vfs_get_file_for_path (GVfs *vfs, const char *path);
Gets a GFile for path
.
GFile* g_vfs_get_file_for_uri (GVfs *vfs, const char *uri);
Gets a GFile for 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.
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.
GVfs* g_vfs_get_default (void);
Gets the default GVfs for the system.
Returns : |
a GVfs. |
GVfs* g_vfs_get_local (void);
Gets the local GVfs for the system.
Returns : |
a GVfs. |