diff options
author | Alon Levy <alevy@redhat.com> | 2010-11-07 13:07:35 +0200 |
---|---|---|
committer | Alon Levy <alevy@redhat.com> | 2011-02-07 19:22:44 +0200 |
commit | 74d74054934f3255e6bbacac58b7d55df6f9ae7f (patch) | |
tree | ef89f5c8cb0cef4048262ffe50e75df54a26e10e /server/red_channel.c | |
parent | c0b7abaa486f081eb67538c7e341f43f7182be75 (diff) | |
download | spice-74d74054934f3255e6bbacac58b7d55df6f9ae7f.tar.gz spice-74d74054934f3255e6bbacac58b7d55df6f9ae7f.tar.xz spice-74d74054934f3255e6bbacac58b7d55df6f9ae7f.zip |
server/red_channel: add red_channel_receive (for red_worker)
Diffstat (limited to 'server/red_channel.c')
-rw-r--r-- | server/red_channel.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/server/red_channel.c b/server/red_channel.c index 6bcf6549..b582cd45 100644 --- a/server/red_channel.c +++ b/server/red_channel.c @@ -143,6 +143,11 @@ static void red_peer_handle_incoming(RedsStreamContext *peer, IncomingHandler *h } } +void red_channel_receive(RedChannel *channel) +{ + red_peer_handle_incoming(channel->peer, &channel->incoming); +} + static void red_peer_handle_outgoing(RedsStreamContext *peer, OutgoingHandler *handler) { int n; |