From 9aa62c4baa50321c123b8809fb5bbee00734777d Mon Sep 17 00:00:00 2001 From: Alon Levy Date: Mon, 11 Apr 2011 23:51:14 +0300 Subject: 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. --- server/red_channel.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'server/red_channel.c') 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) { -- cgit