summaryrefslogtreecommitdiffstats
path: root/server/red_channel.h
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.h
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.h')
-rw-r--r--server/red_channel.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/red_channel.h b/server/red_channel.h
index f11565b6..617ccfbb 100644
--- a/server/red_channel.h
+++ b/server/red_channel.h
@@ -283,7 +283,7 @@ void red_channel_pipes_new_add_tail(RedChannel *channel, new_pipe_item_t creator
void red_channel_client_pipe_add_push(RedChannelClient *rcc, PipeItem *item);
void red_channel_client_pipe_add(RedChannelClient *rcc, PipeItem *item);
void red_channel_client_pipe_add_after(RedChannelClient *rcc, PipeItem *item, PipeItem *pos);
-int red_channel_pipe_item_is_linked(RedChannel *channel, PipeItem *item);
+int red_channel_client_pipe_item_is_linked(RedChannelClient *rcc, PipeItem *item);
void red_channel_pipe_item_remove(RedChannel *channel, PipeItem *item);
void red_channel_client_pipe_remove_and_release(RedChannelClient *rcc, PipeItem *item);
void red_channel_client_pipe_add_tail(RedChannelClient *rcc, PipeItem *item);