summaryrefslogtreecommitdiff
path: root/daemon/gvfsbackend.h
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@src.gnome.org>2007-09-13 14:48:29 +0000
committerAlexander Larsson <alexl@src.gnome.org>2007-09-13 14:48:29 +0000
commita5b854635081f328c017bd9382dec8e72beed39c (patch)
treec026af5fcf480874680d7367fdc9d2df7c9d7693 /daemon/gvfsbackend.h
parentb4614bcb1e025990f994bcbec1cb8225c79c68c2 (diff)
downloadgvfs-a5b854635081f328c017bd9382dec8e72beed39c.tar.gz
Pass preallocated infos and attribute masks to backends. Use auto-masking.
Original git commit by Alexander Larsson <alexl@redhat.com> at 1187866884 +0200 svn path=/trunk/; revision=769
Diffstat (limited to 'daemon/gvfsbackend.h')
-rw-r--r--daemon/gvfsbackend.h20
1 files changed, 12 insertions, 8 deletions
diff --git a/daemon/gvfsbackend.h b/daemon/gvfsbackend.h
index 85d3e94e..7724ac7f 100644
--- a/daemon/gvfsbackend.h
+++ b/daemon/gvfsbackend.h
@@ -170,30 +170,34 @@ struct _GVfsBackendClass
void (*get_info) (GVfsBackend *backend,
GVfsJobGetInfo *job,
const char *filename,
- const char *attributes,
- GFileGetInfoFlags flags);
+ GFileGetInfoFlags flags,
+ GFileInfo *info,
+ GFileAttributeMatcher *attribute_matcher);
gboolean (*try_get_info) (GVfsBackend *backend,
GVfsJobGetInfo *job,
const char *filename,
- const char *attributes,
- GFileGetInfoFlags flags);
+ GFileGetInfoFlags flags,
+ GFileInfo *info,
+ GFileAttributeMatcher *attribute_matcher);
void (*get_fs_info) (GVfsBackend *backend,
GVfsJobGetFsInfo *job,
const char *filename,
- const char *attributes);
+ GFileInfo *info,
+ GFileAttributeMatcher *attribute_matcher);
gboolean (*try_get_fs_info) (GVfsBackend *backend,
GVfsJobGetFsInfo *job,
const char *filename,
- const char *attributes);
+ GFileInfo *info,
+ GFileAttributeMatcher *attribute_matcher);
void (*enumerate) (GVfsBackend *backend,
GVfsJobEnumerate *job,
const char *filename,
- const char *attributes,
+ GFileAttributeMatcher *attribute_matcher,
GFileGetInfoFlags flags);
gboolean (*try_enumerate) (GVfsBackend *backend,
GVfsJobEnumerate *job,
const char *filename,
- const char *attributes,
+ GFileAttributeMatcher *attribute_matcher,
GFileGetInfoFlags flags);
void (*set_display_name) (GVfsBackend *backend,
GVfsJobSetDisplayName *job,