diff options
author | Alexander Larsson <alexl@src.gnome.org> | 2007-09-13 13:30:31 +0000 |
---|---|---|
committer | Alexander Larsson <alexl@src.gnome.org> | 2007-09-13 13:30:31 +0000 |
commit | 5f50676f601fd06e58606b32ddd341de37d35dd4 (patch) | |
tree | 0e925949890cdb70caa4d657be41515db06359a1 /client/gdaemonvfs.h | |
parent | 794ae9152ff31f3de75cb3612a7746c9520f4266 (diff) | |
download | gvfs-5f50676f601fd06e58606b32ddd341de37d35dd4.tar.gz |
Rename GMountInfo to GMountRef
Original git commit by Alexander Larsson <alexl@redhat.com> at 1178708195 +0200
svn path=/trunk/; revision=536
Diffstat (limited to 'client/gdaemonvfs.h')
-rw-r--r-- | client/gdaemonvfs.h | 31 |
1 files changed, 15 insertions, 16 deletions
diff --git a/client/gdaemonvfs.h b/client/gdaemonvfs.h index b640d18a..99c621fd 100644 --- a/client/gdaemonvfs.h +++ b/client/gdaemonvfs.h @@ -22,11 +22,11 @@ typedef struct { char *dbus_id; char *object_path; GMountSpec *spec; -} GMountInfo; +} GMountRef; -typedef void (*GMountInfoLookupCallback) (GMountInfo *mount_info, - gpointer data, - GError *error); +typedef void (*GMountRefLookupCallback) (GMountRef *mount_ref, + gpointer data, + GError *error); struct _GDaemonVfsClass { @@ -37,18 +37,17 @@ GType g_daemon_vfs_get_type (void) G_GNUC_CONST; GDaemonVfs *g_daemon_vfs_new (void); -GList *_g_daemon_vfs_get_mount_list_sync (GError **error); - -void _g_daemon_vfs_get_mount_info_async (GMountSpec *spec, - const char *path, - GMountInfoLookupCallback callback, - gpointer user_data); -GMountInfo *_g_daemon_vfs_get_mount_info_sync (GMountSpec *spec, - const char *path, - GError **error); -const char *_g_mount_info_resolve_path (GMountInfo *info, - const char *path); -void _g_mount_info_unref (GMountInfo *info); +GList *_g_daemon_vfs_get_mount_list_sync (GError **error); +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); +void _g_mount_ref_unref (GMountRef *ref); G_END_DECLS |