channel: Remove no longer used red_channel_apply_clients{_data,}

Signed-off-by: Christophe Fergeau <cfergeau@redhat.com>
Acked-by: Frediano Ziglio <fziglio@redhat.com>
This commit is contained in:
Christophe Fergeau 2017-08-30 18:09:42 +02:00
parent 1b7fca87b6
commit 1e43272ba1
2 changed files with 0 additions and 16 deletions

View File

@ -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;

View File

@ -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);