diff options
author | Alexander Larsson <alexl@redhat.com> | 2007-10-04 08:43:34 +0000 |
---|---|---|
committer | Alexander Larsson <alexl@src.gnome.org> | 2007-10-04 08:43:34 +0000 |
commit | 14f210480005deb8a9cb4e23d07f8ba979ee29bb (patch) | |
tree | b7bfab5f6a01f18af52c975e8504982c541d57d3 /daemon/gvfsbackend.h | |
parent | 3c3c180f02e8c9485cf35cc9d5275e32da62135b (diff) | |
download | gvfs-14f210480005deb8a9cb4e23d07f8ba979ee29bb.tar.gz |
Add GFileCreateFlags flag to open for write. No actual backend support yet
2007-10-04 Alexander Larsson <alexl@redhat.com>
* TODO:
* client/gdaemonfile.c:
* client/gvfsfusedaemon.c:
* daemon/gvfsbackend.h:
* daemon/gvfsbackendftp.c:
* daemon/gvfsbackendsftp.c:
* daemon/gvfsbackendsmb.c:
* daemon/gvfsjobopenforwrite.[ch]:
* test/benchmark-gvfs-big-files.c:
* test/benchmark-gvfs-small-files.c:
Add GFileCreateFlags flag to open for write.
No actual backend support yet though.
svn path=/trunk/; revision=967
Diffstat (limited to 'daemon/gvfsbackend.h')
-rw-r--r-- | daemon/gvfsbackend.h | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/daemon/gvfsbackend.h b/daemon/gvfsbackend.h index be77f563..e0ce31ac 100644 --- a/daemon/gvfsbackend.h +++ b/daemon/gvfsbackend.h @@ -121,26 +121,32 @@ struct _GVfsBackendClass GSeekType type); gboolean (*try_create) (GVfsBackend *backend, GVfsJobOpenForWrite *job, - const char *filename); + const char *filename, + GFileCreateFlags flags); void (*create) (GVfsBackend *backend, GVfsJobOpenForWrite *job, - const char *filename); + const char *filename, + GFileCreateFlags flags); gboolean (*try_append_to) (GVfsBackend *backend, GVfsJobOpenForWrite *job, - const char *filename); + const char *filename, + GFileCreateFlags flags); void (*append_to) (GVfsBackend *backend, GVfsJobOpenForWrite *job, - const char *filename); + const char *filename, + GFileCreateFlags flags); gboolean (*try_replace) (GVfsBackend *backend, GVfsJobOpenForWrite *job, const char *filename, const char *etag, - gboolean make_backup); + gboolean make_backup, + GFileCreateFlags flags); void (*replace) (GVfsBackend *backend, GVfsJobOpenForWrite *job, const char *filename, const char *etag, - gboolean make_backup); + gboolean make_backup, + GFileCreateFlags flags); void (*close_write) (GVfsBackend *backend, GVfsJobCloseWrite *job, GVfsBackendHandle handle); |