Signed-off-by: Christophe Fergeau <cfergeau@xxxxxxxxxx> --- No changes since v1 server/red-channel.c | 10 ---------- server/red-channel.h | 6 ------ 2 files changed, 16 deletions(-) diff --git a/server/red-channel.c b/server/red-channel.c index b8f4f54e8..b4a92340f 100644 --- a/server/red-channel.c +++ b/server/red-channel.c @@ -493,16 +493,6 @@ void red_channel_connect(RedChannel *channel, RedClient *client, channel->priv->client_cbs.connect(channel, client, stream, migration, caps); } -void red_channel_apply_clients(RedChannel *channel, channel_client_callback cb) -{ - g_list_foreach(channel->priv->clients, (GFunc)cb, NULL); -} - -void red_channel_apply_clients_data(RedChannel *channel, channel_client_callback_data cb, void *data) -{ - g_list_foreach(channel->priv->clients, (GFunc)cb, data); -} - GList *red_channel_get_clients(RedChannel *channel) { return channel->priv->clients; diff --git a/server/red-channel.h b/server/red-channel.h index a55c830f0..e0fe94fec 100644 --- a/server/red-channel.h +++ b/server/red-channel.h @@ -203,12 +203,6 @@ uint32_t red_channel_max_pipe_size(RedChannel *channel); /* return the max size of all the rcc pipe */ uint32_t red_channel_sum_pipes_size(RedChannel *channel); -/* apply given function to all connected clients */ -typedef void (*channel_client_callback)(RedChannelClient *rcc); -typedef void (*channel_client_callback_data)(RedChannelClient *rcc, void *data); -void red_channel_apply_clients(RedChannel *channel, channel_client_callback v); -void red_channel_apply_clients_data(RedChannel *channel, channel_client_callback_data v, - void *data); GList *red_channel_get_clients(RedChannel *channel); guint red_channel_get_n_clients(RedChannel *channel); struct RedsState* red_channel_get_server(RedChannel *channel); -- 2.13.5 _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/spice-devel