diff options
author | Christian Kellner <gicmo@gnome.org> | 2008-01-13 21:50:47 +0000 |
---|---|---|
committer | Christian Kellner <gicmo@src.gnome.org> | 2008-01-13 21:50:47 +0000 |
commit | 71b9a18901e0f961acef374d70d0cc463b32ea2e (patch) | |
tree | b8336fa9ef3f5cca5519afefebed65bde8d84d14 /daemon/gvfsbackendhttp.h | |
parent | 5a43268a2ae5505a6e23391b4d30bbf8fd18f48c (diff) | |
download | gvfs-71b9a18901e0f961acef374d70d0cc463b32ea2e.tar.gz |
Also handle dav uris in the http mapper.
2008-01-13 Christian Kellner <gicmo@gnome.org>
* client/httpuri.c:
Also handle dav uris in the http mapper.
* daemon/dav.mount.in:
* daemon/Makefile.am:
Add the new dav backend.
* daemon/gvfsbackendhttp.c:
* daemon/gvfsbackendhttp.h:
Implement a utility function so dav and http
backend can share uri from filename creation.
* daemon/gvfsbackenddav.c:
First attempt to write the dav backend as a subclass of http.
Mount, QueryInfo, Enumerate should work and Read is provided
by the base class.
svn path=/trunk/; revision=1116
Diffstat (limited to 'daemon/gvfsbackendhttp.h')
-rw-r--r-- | daemon/gvfsbackendhttp.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/daemon/gvfsbackendhttp.h b/daemon/gvfsbackendhttp.h index 24751376..496b0993 100644 --- a/daemon/gvfsbackendhttp.h +++ b/daemon/gvfsbackendhttp.h @@ -25,6 +25,7 @@ #include <gvfsbackend.h> #include <gmountspec.h> +#include <libsoup/soup.h> G_BEGIN_DECLS @@ -43,8 +44,16 @@ struct _GVfsBackendHttpClass GVfsBackendClass parent_class; }; -GType g_vfs_backend_http_get_type (void) G_GNUC_CONST; +struct _GVfsBackendHttp +{ + GVfsBackend parent_instance; + + SoupUri *mount_base; + SoupSession *session; +}; +GType g_vfs_backend_http_get_type (void) G_GNUC_CONST; +SoupUri * g_vfs_backend_uri_for_filename (GVfsBackend *backend, const char *filename); G_END_DECLS #endif /* __G_VFS_BACKEND_HTTP_H__ */ |