summaryrefslogtreecommitdiffstats
path: root/server/red_channel.h
diff options
context:
space:
mode:
authorAlon Levy <alevy@redhat.com>2010-11-07 12:30:47 +0200
committerAlon Levy <alevy@redhat.com>2010-11-07 12:35:19 +0200
commit64d1deed403a39a684949ff604d563133e0cec3d (patch)
treed48920546294b8987169769721aae4f666c28b45 /server/red_channel.h
parent46dc081b555bab025519215a7e80ef0ecadbea7b (diff)
downloadspice-64d1deed403a39a684949ff604d563133e0cec3d.tar.gz
spice-64d1deed403a39a684949ff604d563133e0cec3d.tar.xz
spice-64d1deed403a39a684949ff604d563133e0cec3d.zip
server/red_channel: change sig of red_channel_handle_message for later usage with red_worker
Diffstat (limited to 'server/red_channel.h')
-rw-r--r--server/red_channel.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/server/red_channel.h b/server/red_channel.h
index 16b3f2dd..e4b46554 100644
--- a/server/red_channel.h
+++ b/server/red_channel.h
@@ -199,7 +199,9 @@ void red_channel_shutdown(RedChannel *channel);
void red_channel_init_outgoing_messages_window(RedChannel *channel);
/* handles general channel msgs from the client */
-int red_channel_handle_message(RedChannel *channel, SpiceDataHeader *header, uint8_t *msg);
+int red_channel_handle_message(RedChannel *channel, uint32_t size,
+ uint16_t type, void *message);
+
/* when preparing send_data: should call reset, then init and then add_buf per buffer that is
being sent */