diff options
author | Alexander Larsson <alexl@src.gnome.org> | 2007-09-13 13:25:51 +0000 |
---|---|---|
committer | Alexander Larsson <alexl@src.gnome.org> | 2007-09-13 13:25:51 +0000 |
commit | cc83b35498ee2d30894486a91d50bf4cc629ec4d (patch) | |
tree | 3ed00754a73f6e446b7d1f7558fbf5c06391b8ee /daemon/mount.h | |
parent | 82fa73ce3b1463c051ead839cdde2e19f80efdbc (diff) | |
download | gvfs-cc83b35498ee2d30894486a91d50bf4cc629ec4d.tar.gz |
Update gvfs mounting to the new APIs
Original git commit by Alexander Larsson <alexl@redhat.com> at 1178632314 +0200
svn path=/trunk/; revision=525
Diffstat (limited to 'daemon/mount.h')
-rw-r--r-- | daemon/mount.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/daemon/mount.h b/daemon/mount.h index aa4ce5fe..95c9df2c 100644 --- a/daemon/mount.h +++ b/daemon/mount.h @@ -9,11 +9,19 @@ G_BEGIN_DECLS typedef struct _Mountable Mountable; +typedef void (*MountCallback) (Mountable *mountable, + GError *error, + gpointer user_data); + void mount_init (void); Mountable *lookup_mountable (GMountSpec *spec); gboolean mountable_is_automount (Mountable *mountable); void mountable_mount (Mountable *mountable, - GMountSource *source); + GMountSpec *mount_spec, + GMountSource *source, + gboolean automount, + MountCallback callback, + gpointer user_data); G_END_DECLS |