summaryrefslogtreecommitdiff
path: root/daemon/gvfsjobqueryinfo.h
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2007-09-17 14:25:37 +0000
committerAlexander Larsson <alexl@src.gnome.org>2007-09-17 14:25:37 +0000
commited88dc9e0519e1d35c0819f8672888dbd41d5fe1 (patch)
tree9e6637fe66c800259ea28afd98e9ba2d91f462c4 /daemon/gvfsjobqueryinfo.h
parent944ba0f90d0934be141ec8bdaf92822913e01d1a (diff)
downloadgvfs-ed88dc9e0519e1d35c0819f8672888dbd41d5fe1.tar.gz
Removed. Removed. Added. Added.
2007-09-17 Alexander Larsson <alexl@redhat.com> * client/gdaemonfile.c: * client/gdaemonfileinputstream.c: * client/gdaemonfileoutputstream.c: * client/gvfsfusedaemon.c: * common/gvfsdaemonprotocol.h: * daemon/Makefile.am: * daemon/gvfsbackend.[ch]: * daemon/gvfsbackendftp.c: * daemon/gvfsbackendsftp.c: * daemon/gvfsbackendsmb.c: * daemon/gvfsbackendsmbbrowse.c: * daemon/gvfsbackendtest.c: * daemon/gvfsjobenumerate.h: * daemon/gvfsjobgetfsinfo.[ch]: Removed. * daemon/gvfsjobgetinfo.[ch]: Removed. * daemon/gvfsjobqueryfsinfo.[ch]: Added. * daemon/gvfsjobqueryinfo.[ch]: Added. * daemon/gvfsjobsetattribute.[ch]: * test/benchmark-gvfs-big-files.c: * test/benchmark-gvfs-small-files.c: Update with the get_info -> query_info rename in gio svn path=/trunk/; revision=955
Diffstat (limited to 'daemon/gvfsjobqueryinfo.h')
-rw-r--r--daemon/gvfsjobqueryinfo.h45
1 files changed, 45 insertions, 0 deletions
diff --git a/daemon/gvfsjobqueryinfo.h b/daemon/gvfsjobqueryinfo.h
new file mode 100644
index 00000000..d180e757
--- /dev/null
+++ b/daemon/gvfsjobqueryinfo.h
@@ -0,0 +1,45 @@
+#ifndef __G_VFS_JOB_QUERY_INFO_H__
+#define __G_VFS_JOB_QUERY_INFO_H__
+
+#include <gio/gfileinfo.h>
+#include <gvfsjob.h>
+#include <gvfsjobdbus.h>
+#include <gvfsbackend.h>
+
+G_BEGIN_DECLS
+
+#define G_VFS_TYPE_JOB_QUERY_INFO (g_vfs_job_query_info_get_type ())
+#define G_VFS_JOB_QUERY_INFO(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), G_VFS_TYPE_JOB_QUERY_INFO, GVfsJobQueryInfo))
+#define G_VFS_JOB_QUERY_INFO_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), G_VFS_TYPE_JOB_QUERY_INFO, GVfsJobQueryInfoClass))
+#define G_VFS_IS_JOB_QUERY_INFO(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), G_VFS_TYPE_JOB_QUERY_INFO))
+#define G_VFS_IS_JOB_QUERY_INFO_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), G_VFS_TYPE_JOB_QUERY_INFO))
+#define G_VFS_JOB_QUERY_INFO_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), G_VFS_TYPE_JOB_QUERY_INFO, GVfsJobQueryInfoClass))
+
+typedef struct _GVfsJobQueryInfoClass GVfsJobQueryInfoClass;
+
+struct _GVfsJobQueryInfo
+{
+ GVfsJobDBus parent_instance;
+
+ GVfsBackend *backend;
+ char *filename;
+ GFileAttributeMatcher *attribute_matcher;
+ GFileQueryInfoFlags flags;
+
+ GFileInfo *file_info;
+};
+
+struct _GVfsJobQueryInfoClass
+{
+ GVfsJobDBusClass parent_class;
+};
+
+GType g_vfs_job_query_info_get_type (void) G_GNUC_CONST;
+
+GVfsJob *g_vfs_job_query_info_new (DBusConnection *connection,
+ DBusMessage *message,
+ GVfsBackend *backend);
+
+G_END_DECLS
+
+#endif /* __G_VFS_JOB_QUERY_INFO_H__ */