summaryrefslogtreecommitdiff
path: root/daemon/gvfsjobenumerate.h
diff options
context:
space:
mode:
authorTomas Bzatek <tbzatek@redhat.com>2012-07-31 11:58:09 +0200
committerTomas Bzatek <tbzatek@redhat.com>2012-07-31 11:58:09 +0200
commit622a5c0d167556188c38fcde40a42a0dfad9c625 (patch)
tree04f27be7f2a54779e17029ede2554e39c3464aa0 /daemon/gvfsjobenumerate.h
parenta494b809eaf82994108bfbbe5d950fed1a0a8c7c (diff)
downloadgvfs-622a5c0d167556188c38fcde40a42a0dfad9c625.tar.gz
gdbus: Core daemon and client port
Port of most of the gvfs core, few bits still missing. Lot of debug prints around, will be removed in further commits. Same amount of TODOs and FIXMEs. Notes: * kill serials? * get rid of mainloops where applicable (copy/move progress callback, enumerator) * fix keyring integration * use gdbus builtin fd passing within gvfsdaemon.c, kill the extra_fd stuff
Diffstat (limited to 'daemon/gvfsjobenumerate.h')
-rw-r--r--daemon/gvfsjobenumerate.h16
1 files changed, 10 insertions, 6 deletions
diff --git a/daemon/gvfsjobenumerate.h b/daemon/gvfsjobenumerate.h
index 622f49bb..56b0778e 100644
--- a/daemon/gvfsjobenumerate.h
+++ b/daemon/gvfsjobenumerate.h
@@ -51,9 +51,7 @@ struct _GVfsJobEnumerate
GFileQueryInfoFlags flags;
char *uri;
- DBusMessage *building_infos;
- DBusMessageIter building_iter;
- DBusMessageIter building_array_iter;
+ GVariantBuilder *building_infos;
int n_building_infos;
};
@@ -64,9 +62,15 @@ struct _GVfsJobEnumerateClass
GType g_vfs_job_enumerate_get_type (void) G_GNUC_CONST;
-GVfsJob *g_vfs_job_enumerate_new (DBusConnection *connection,
- DBusMessage *message,
- GVfsBackend *backend);
+gboolean g_vfs_job_enumerate_new_handle (GVfsDBusMount *object,
+ GDBusMethodInvocation *invocation,
+ const gchar *arg_path_data,
+ const gchar *arg_obj_path,
+ const gchar *arg_attributes,
+ guint arg_flags,
+ const gchar *arg_uri,
+ GVfsBackend *backend);
+
void g_vfs_job_enumerate_add_info (GVfsJobEnumerate *job,
GFileInfo *info);
void g_vfs_job_enumerate_add_infos (GVfsJobEnumerate *job,