mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice
synced 2026-01-04 00:06:29 +00:00
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:
parent
1b7fca87b6
commit
1e43272ba1
@ -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;
|
||||
|
||||
@ -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);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user