summaryrefslogtreecommitdiff
path: root/daemon/gvfschannel.h
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2009-02-27 12:59:47 +0000
committerAlexander Larsson <alexl@src.gnome.org>2009-02-27 12:59:47 +0000
commit28713ed6b20cb617bce93e639b764617a118e1dd (patch)
tree8e840db7df291d1c60a55eb0aba9364ae89bde73 /daemon/gvfschannel.h
parent4c1cbdac8d59b1bf53319bc9e5a165c8b11adacb (diff)
downloadgvfs-28713ed6b20cb617bce93e639b764617a118e1dd.tar.gz
Add (de)marshalling functions for GFileInfos.
2009-02-27 Alexander Larsson <alexl@redhat.com> * common/Makefile.am: * common/gvfsfileinfo.[ch]: Add (de)marshalling functions for GFileInfos. * common/gvfsdaemonprotocol.h: Add protocol extensions for query info over streams * client/gdaemonfileinputstream.c: Support sync query_info. * daemon/Makefile.am: * daemon/gvfsjobqueryinforead.[ch]: * daemon/gvfsbackend.h: Added query info job and backend call for input streams * daemon/gvfsbackendtest.c: Implement query_info_on_read * daemon/gvfschannel.[ch]: Add g_vfs_channel_send_info * daemon/gvfsreadchannel.c: (read_channel_handle_request): Handle query info * test/Makefile.am: * test/test-query-info-stream.c: Add test for stream query info. svn path=/trunk/; revision=2257
Diffstat (limited to 'daemon/gvfschannel.h')
-rw-r--r--daemon/gvfschannel.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/daemon/gvfschannel.h b/daemon/gvfschannel.h
index f60b20a2..0dc92fce 100644
--- a/daemon/gvfschannel.h
+++ b/daemon/gvfschannel.h
@@ -76,6 +76,8 @@ gboolean g_vfs_channel_has_job (GVfsChannel
GVfsJob * g_vfs_channel_get_job (GVfsChannel *channel);
void g_vfs_channel_send_error (GVfsChannel *channel,
GError *error);
+void g_vfs_channel_send_info (GVfsChannel *channel,
+ GFileInfo *info);
void g_vfs_channel_send_reply (GVfsChannel *channel,
GVfsDaemonSocketProtocolReply *reply,
const void *data,