summaryrefslogtreecommitdiff
path: root/common/gvfsdaemonprotocol.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 /common/gvfsdaemonprotocol.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 'common/gvfsdaemonprotocol.h')
-rw-r--r--common/gvfsdaemonprotocol.h16
1 files changed, 6 insertions, 10 deletions
diff --git a/common/gvfsdaemonprotocol.h b/common/gvfsdaemonprotocol.h
index bc754866..6325e2db 100644
--- a/common/gvfsdaemonprotocol.h
+++ b/common/gvfsdaemonprotocol.h
@@ -186,26 +186,22 @@ void _g_dbus_attribute_value_destroy (GFileAttributeType ty
GDbusAttributeValue *value);
gpointer _g_dbus_attribute_as_pointer (GFileAttributeType type,
GDbusAttributeValue *value);
-const char*_g_dbus_type_from_file_attribute_type (GFileAttributeType type);
-void _g_dbus_append_file_attribute (DBusMessageIter *iter,
- const char *attribute,
+GVariant * _g_dbus_append_file_attribute (const char *attribute,
GFileAttributeStatus status,
GFileAttributeType type,
gpointer value_p);
-void _g_dbus_append_file_info (DBusMessageIter *iter,
- GFileInfo *file_info);
-gboolean _g_dbus_get_file_attribute (DBusMessageIter *iter,
+GVariant * _g_dbus_append_file_info (GFileInfo *file_info);
+gboolean _g_dbus_get_file_attribute (GVariant *iter,
gchar **attribute,
GFileAttributeStatus *status,
GFileAttributeType *type,
GDbusAttributeValue *value);
-GFileInfo *_g_dbus_get_file_info (DBusMessageIter *iter,
+GFileInfo *_g_dbus_get_file_info (GVariant *iter,
GError **error);
-GFileAttributeInfoList *_g_dbus_get_attribute_info_list (DBusMessageIter *iter,
+GFileAttributeInfoList *_g_dbus_get_attribute_info_list (GVariant *iter,
GError **error);
-void _g_dbus_append_attribute_info_list (DBusMessageIter *iter,
- GFileAttributeInfoList *list);
+GVariant * _g_dbus_append_attribute_info_list (GFileAttributeInfoList *list);
G_END_DECLS