mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice
synced 2026-01-06 17:29:22 +00:00
red-channel-client: Preparation, rename send_item to avoid clash
We will use this name for a virtual function from RedChannel. Signed-off-by: Frediano Ziglio <fziglio@redhat.com>
This commit is contained in:
parent
7720039ee0
commit
851696a645
@ -496,7 +496,7 @@ void RedChannelClient::send_empty_msg(RedPipeItem *base)
|
||||
begin_send_message();
|
||||
}
|
||||
|
||||
void RedChannelClient::send_item(RedPipeItem *item)
|
||||
void RedChannelClient::send_any_item(RedPipeItem *item)
|
||||
{
|
||||
spice_assert(no_item_being_sent());
|
||||
priv->reset_send_data();
|
||||
@ -1173,7 +1173,7 @@ void RedChannelClient::push()
|
||||
}
|
||||
|
||||
while ((pipe_item = priv->pipe_item_get())) {
|
||||
send_item(pipe_item);
|
||||
send_any_item(pipe_item);
|
||||
}
|
||||
/* prepare_pipe_add() will reenable WRITE events when the priv->pipe is empty
|
||||
* ack_zero_messages_window() will reenable WRITE events
|
||||
|
||||
@ -161,7 +161,7 @@ public:
|
||||
|
||||
/* Private functions */
|
||||
private:
|
||||
void send_item(RedPipeItem *item);
|
||||
void send_any_item(RedPipeItem *item);
|
||||
void handle_outgoing();
|
||||
void handle_incoming();
|
||||
void handle_migrate_flush_mark();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user