summaryrefslogtreecommitdiffstats
path: root/server/red_channel.h
diff options
context:
space:
mode:
authorAlon Levy <alevy@redhat.com>2010-11-07 12:19:18 +0200
committerAlon Levy <alevy@redhat.com>2011-02-07 19:22:44 +0200
commitb4c3b8a58625503c4d9e2dc32e79909bc1144984 (patch)
tree52a76606a4ef6d875efd5c6d525d63e1a8dfe688 /server/red_channel.h
parent194a6be5f78cb04a1891d2f74efbab828dab3d39 (diff)
downloadspice-b4c3b8a58625503c4d9e2dc32e79909bc1144984.tar.gz
spice-b4c3b8a58625503c4d9e2dc32e79909bc1144984.tar.xz
spice-b4c3b8a58625503c4d9e2dc32e79909bc1144984.zip
server/red_channel: reflect SpiceDataHeader fields in handle_parsed_proc
Diffstat (limited to 'server/red_channel.h')
-rw-r--r--server/red_channel.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/red_channel.h b/server/red_channel.h
index 1521f417..b298127f 100644
--- a/server/red_channel.h
+++ b/server/red_channel.h
@@ -38,7 +38,7 @@
typedef int (*handle_message_proc)(void *opaque,
SpiceDataHeader *header, uint8_t *msg);
-typedef int (*handle_parsed_proc)(void *opaque, size_t size, uint32_t type, void *message);
+typedef int (*handle_parsed_proc)(void *opaque, uint32_t size, uint16_t type, void *message);
typedef uint8_t *(*alloc_msg_recv_buf_proc)(void *opaque, SpiceDataHeader *msg_header);
typedef void (*release_msg_recv_buf_proc)(void *opaque,
SpiceDataHeader *msg_header, uint8_t *msg);
@@ -98,7 +98,7 @@ typedef struct RedChannel RedChannel;
typedef uint8_t *(*channel_alloc_msg_recv_buf_proc)(RedChannel *channel,
SpiceDataHeader *msg_header);
-typedef int (*channel_handle_parsed_proc)(RedChannel *channel, size_t size, uint32_t type,
+typedef int (*channel_handle_parsed_proc)(RedChannel *channel, uint32_t size, uint16_t type,
void *message);
typedef int (*channel_handle_message_proc)(RedChannel *channel,
SpiceDataHeader *header, uint8_t *msg);