summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@src.gnome.org>2007-09-13 11:57:40 +0000
committerAlexander Larsson <alexl@src.gnome.org>2007-09-13 11:57:40 +0000
commite8762e3d82c5cde9d548383bdb3df2d9222e2708 (patch)
tree99dc9529164c0e182f31f65644763b8aa8286748 /common
parentfd9e5a6cd9eda6908eb48cbd433434f192b90922 (diff)
downloadgvfs-e8762e3d82c5cde9d548383bdb3df2d9222e2708.tar.gz
Move generic code from GVfsReadChannel to GVfsChannel base class
Original git commit by Alexander Larsson <alex@greebo.(none)> at 1171634935 +0100 svn path=/trunk/; revision=354
Diffstat (limited to 'common')
-rw-r--r--common/gvfsdaemonprotocol.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/common/gvfsdaemonprotocol.h b/common/gvfsdaemonprotocol.h
index c28bba52..7caa7b34 100644
--- a/common/gvfsdaemonprotocol.h
+++ b/common/gvfsdaemonprotocol.h
@@ -44,9 +44,10 @@ typedef struct {
guint32 seq_nr;
guint32 arg1;
guint32 arg2;
+ guint32 data_len;
} GVfsDaemonSocketProtocolRequest;
-#define G_VFS_DAEMON_SOCKET_PROTOCOL_REQUEST_SIZE 16
+#define G_VFS_DAEMON_SOCKET_PROTOCOL_REQUEST_SIZE sizeof(GVfsDaemonSocketProtocolRequest)
#define G_VFS_DAEMON_SOCKET_PROTOCOL_REQUEST_READ 0
#define G_VFS_DAEMON_SOCKET_PROTOCOL_REQUEST_CLOSE 1