summaryrefslogtreecommitdiffstats
path: root/server/red_channel.c
diff options
context:
space:
mode:
authorAlon Levy <alevy@redhat.com>2011-04-11 23:51:14 +0300
committerAlon Levy <alevy@redhat.com>2011-08-23 17:59:55 +0300
commit9aa62c4baa50321c123b8809fb5bbee00734777d (patch)
treee7814cff5abc1508aa2bded6504cd3bdd3f6a727 /server/red_channel.c
parent82524cec130abd1c5c1e040adee856c44f349fcc (diff)
downloadspice-9aa62c4baa50321c123b8809fb5bbee00734777d.tar.gz
spice-9aa62c4baa50321c123b8809fb5bbee00734777d.tar.xz
spice-9aa62c4baa50321c123b8809fb5bbee00734777d.zip
server/red_tunnel_worker: trivial multi client support
s/TunnelChannel/TunnelChannelClient/ That's about it. this is probably the wrong way to do it. Not tested at all. What do we want, a separate interface per client? same interface for all clients? probably the later. This doesn't do that. Not tested, so probably doesn't even work. changes red_channel_pipe_item_is_linked to red_channel_client_pipe_item_is_linked, since tunnel channel is the only user, must be done in patch to not break compilation.
Diffstat (limited to 'server/red_channel.c')
-rw-r--r--server/red_channel.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/server/red_channel.c b/server/red_channel.c
index f084dbef..eab13847 100644
--- a/server/red_channel.c
+++ b/server/red_channel.c
@@ -763,11 +763,6 @@ int red_channel_client_pipe_item_is_linked(RedChannelClient *rcc,
return ring_item_is_linked(&item->link);
}
-int red_channel_pipe_item_is_linked(RedChannel *channel, PipeItem *item)
-{
- return channel->rcc && red_channel_client_pipe_item_is_linked(channel->rcc, item);
-}
-
void red_channel_client_pipe_add_tail_no_push(RedChannelClient *rcc,
PipeItem *item)
{