summaryrefslogtreecommitdiff
path: root/daemon/gvfsbackend.h
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@src.gnome.org>2007-09-13 14:24:32 +0000
committerAlexander Larsson <alexl@src.gnome.org>2007-09-13 14:24:32 +0000
commit33167345fadd071dc00ee67d4410397162d7e0b2 (patch)
tree8525425c73c88dc6b3a25a3697dea09925222a1b /daemon/gvfsbackend.h
parent3c0b23bd7421537bc59e7e7ce191f9a3ca220fad (diff)
downloadgvfs-33167345fadd071dc00ee67d4410397162d7e0b2.tar.gz
Add daemon side query attribute support
Original git commit by Alexander Larsson <alexl@redhat.com> at 1183735279 +0200 svn path=/trunk/; revision=678
Diffstat (limited to 'daemon/gvfsbackend.h')
-rw-r--r--daemon/gvfsbackend.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/daemon/gvfsbackend.h b/daemon/gvfsbackend.h
index 6ccf6684..95034abf 100644
--- a/daemon/gvfsbackend.h
+++ b/daemon/gvfsbackend.h
@@ -44,6 +44,7 @@ typedef struct _GVfsJobMakeSymlink GVfsJobMakeSymlink;
typedef struct _GVfsJobCopy GVfsJobCopy;
typedef struct _GVfsJobMove GVfsJobMove;
typedef struct _GVfsJobSetAttribute GVfsJobSetAttribute;
+typedef struct _GVfsJobQueryAttributes GVfsJobQueryAttributes;
typedef gpointer GVfsBackendHandle;
@@ -268,6 +269,18 @@ struct _GVfsBackendClass
const char *attribute,
GFileAttributeValue *value,
GFileGetInfoFlags flags);
+ void (*query_settable_attributes) (GVfsBackend *backend,
+ GVfsJobQueryAttributes *job,
+ const char *filename);
+ gboolean (*try_query_settable_attributes) (GVfsBackend *backend,
+ GVfsJobQueryAttributes *job,
+ const char *filename);
+ void (*query_writable_namespaces) (GVfsBackend *backend,
+ GVfsJobQueryAttributes *job,
+ const char *filename);
+ gboolean (*try_query_writable_namespaces) (GVfsBackend *backend,
+ GVfsJobQueryAttributes *job,
+ const char *filename);
};
GType g_vfs_backend_get_type (void) G_GNUC_CONST;