Synopsis#include <gio/gio.h> GVfs; #define G_VFS_EXTENSION_POINT_NAME 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); const gchar* const * g_vfs_get_supported_uri_schemes (GVfs *vfs); DetailsG_VFS_EXTENSION_POINT_NAME#define G_VFS_EXTENSION_POINT_NAME "gio-vfs" Extension point for GVfs functionality. See Extending GIO.
g_vfs_get_file_for_path ()GFile* g_vfs_get_file_for_path (GVfs *vfs, const char *path);
Gets a GFile for
g_vfs_get_file_for_uri ()GFile* g_vfs_get_file_for_uri (GVfs *vfs, const char *uri);
Gets a GFile for This operation never fails, but the returned object might not support any I/O operation if the URI is malformed or if the URI scheme is not supported.
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
g_vfs_get_default ()GVfs* g_vfs_get_default (void); Gets the default GVfs for the system.
g_vfs_get_local ()GVfs* g_vfs_get_local (void); Gets the local GVfs for the system.
g_vfs_is_active ()gboolean g_vfs_is_active (GVfs *vfs); Checks if the VFS is active.
|