diff options
author | Alexander Larsson <alexl@redhat.com> | 2007-10-25 12:27:28 +0000 |
---|---|---|
committer | Alexander Larsson <alexl@src.gnome.org> | 2007-10-25 12:27:28 +0000 |
commit | ce5ac44208adee3efb5216c7a35b436538101dd8 (patch) | |
tree | 25a9a21cf070e6eb6d2082c79a8a848ab016138b /client/gdaemonvfs.h | |
parent | b43a67248d56a4ad0bdc9ebcbe6e343ca6c280a0 (diff) | |
download | gvfs-ce5ac44208adee3efb5216c7a35b436538101dd8.tar.gz |
Make to_uri_scheme return const string.
2007-10-25 Alexander Larsson <alexl@redhat.com>
* client/smburi.c:
* common/gvfsurimapper.[ch]:
Make to_uri_scheme return const string.
* client/gdaemonfile.[ch]:
* client/gdaemonvfs.[ch]:
Add _g_daemon_vfs_mountspec_has_uri_scheme and use it to
implement g_file_has_uri_scheme
svn path=/trunk/; revision=994
Diffstat (limited to 'client/gdaemonvfs.h')
-rw-r--r-- | client/gdaemonvfs.h | 33 |
1 files changed, 18 insertions, 15 deletions
diff --git a/client/gdaemonvfs.h b/client/gdaemonvfs.h index ca1e49c6..27972dd8 100644 --- a/client/gdaemonvfs.h +++ b/client/gdaemonvfs.h @@ -27,21 +27,24 @@ GType g_daemon_vfs_get_type (void); GDaemonVfs *g_daemon_vfs_new (void); -char * _g_daemon_vfs_get_uri_for_mountspec (GMountSpec *spec, - char *path, - gboolean allow_utf8); -void _g_daemon_vfs_get_mount_ref_async (GMountSpec *spec, - const char *path, - GMountRefLookupCallback callback, - gpointer user_data); -GMountRef * _g_daemon_vfs_get_mount_ref_sync (GMountSpec *spec, - const char *path, - GError **error); -const char * _g_mount_ref_resolve_path (GMountRef *ref, - const char *path); -GMountRef * _g_mount_ref_ref (GMountRef *ref); -void _g_mount_ref_unref (GMountRef *ref); -DBusConnection *_g_daemon_vfs_get_async_bus (void); +char * _g_daemon_vfs_get_uri_for_mountspec (GMountSpec *spec, + char *path, + gboolean allow_utf8); +gboolean _g_daemon_vfs_mountspec_has_uri_scheme (GMountSpec *spec, + const char *uri_scheme); +void _g_daemon_vfs_get_mount_ref_async (GMountSpec *spec, + const char *path, + GMountRefLookupCallback callback, + gpointer user_data); +GMountRef * _g_daemon_vfs_get_mount_ref_sync (GMountSpec *spec, + const char *path, + GError **error); +const char * _g_mount_ref_resolve_path (GMountRef *ref, + const char *path); +GMountRef * _g_mount_ref_ref (GMountRef *ref); +void _g_mount_ref_unref (GMountRef *ref); +DBusConnection *_g_daemon_vfs_get_async_bus (void); + G_END_DECLS |