mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice
synced 2025-12-31 11:28:31 +00:00
server/red_channe: make hold_item take a channel arg
This commit is contained in:
parent
73858b93dc
commit
ce3efca360
@ -508,7 +508,7 @@ static int inputs_channel_config_socket(RedChannel *channel)
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
static void inputs_channel_hold_pipe_item(PipeItem *item)
|
||||
static void inputs_channel_hold_pipe_item(RedChannel *channel, PipeItem *item)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
@ -776,7 +776,7 @@ static int main_channel_config_socket(RedChannel *channel)
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
static void main_channel_hold_pipe_item(PipeItem *item)
|
||||
static void main_channel_hold_pipe_item(RedChannel *channel, PipeItem *item)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
@ -465,7 +465,7 @@ void red_channel_init_send_data(RedChannel *channel, uint16_t msg_type, PipeItem
|
||||
channel->send_data.header->type = msg_type;
|
||||
channel->send_data.item = item;
|
||||
if (item) {
|
||||
channel->hold_item(item);
|
||||
channel->hold_item(channel, item);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -107,7 +107,7 @@ typedef void (*channel_release_msg_recv_buf_proc)(RedChannel *channel,
|
||||
typedef void (*channel_disconnect_proc)(RedChannel *channel);
|
||||
typedef int (*channel_configure_socket_proc)(RedChannel *channel);
|
||||
typedef void (*channel_send_pipe_item_proc)(RedChannel *channel, PipeItem *item);
|
||||
typedef void (*channel_hold_pipe_item_proc)(PipeItem *item);
|
||||
typedef void (*channel_hold_pipe_item_proc)(RedChannel *channel, PipeItem *item);
|
||||
typedef void (*channel_release_pipe_item_proc)(RedChannel *channel,
|
||||
PipeItem *item, int item_pushed);
|
||||
typedef void (*channel_on_incoming_error_proc)(RedChannel *channel);
|
||||
|
||||
@ -3420,7 +3420,7 @@ static void on_new_tunnel_channel(TunnelChannel *channel)
|
||||
}
|
||||
}
|
||||
|
||||
static void tunnel_channel_hold_pipe_item(PipeItem *item)
|
||||
static void tunnel_channel_hold_pipe_item(RedChannel *channel, PipeItem *item)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
@ -465,7 +465,7 @@ static int smartcard_channel_handle_message(RedChannel *channel, SpiceDataHeader
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
static void smartcard_channel_hold_pipe_item(PipeItem *item)
|
||||
static void smartcard_channel_hold_pipe_item(RedChannel *channel, PipeItem *item)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user