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>2011-02-07 19:22:44 +0200
commit0512726b680a3cfcbe0081d188ec1a4c39cd2434 (patch)
tree133fe5f257cf4982ec9dd954c2ed7aed92ffa9de /server/red_channel.h
parent26dda37c27b87b63d2603b0e9279334ce870b142 (diff)
downloadspice-0512726b680a3cfcbe0081d188ec1a4c39cd2434.tar.gz
spice-0512726b680a3cfcbe0081d188ec1a4c39cd2434.tar.xz
spice-0512726b680a3cfcbe0081d188ec1a4c39cd2434.zip
server/red_channel (tunnel): 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 f3c25d47..c97509c7 100644
--- a/server/red_channel.h
+++ b/server/red_channel.h
@@ -196,7 +196,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 */