[Spice-devel] [PATCH 20/24] server/red_channel: export red_channel_send

Marc-André Lureau marcandre.lureau at gmail.com
Wed Feb 2 10:53:07 PST 2011


ack (perhaps doesn't require the comment "For red_worker" ?)

On Wed, Jan 19, 2011 at 7:08 PM, Alon Levy <alevy at redhat.com> wrote:
> ---
>  server/red_channel.c |    2 +-
>  server/red_channel.h |    2 ++
>  2 files changed, 3 insertions(+), 1 deletions(-)
>
> diff --git a/server/red_channel.c b/server/red_channel.c
> index 990b9d9..7db02ab 100644
> --- a/server/red_channel.c
> +++ b/server/red_channel.c
> @@ -462,7 +462,7 @@ void red_channel_init_send_data(RedChannel *channel, uint16_t msg_type, PipeItem
>     }
>  }
>
> -static void red_channel_send(RedChannel *channel)
> +void red_channel_send(RedChannel *channel)
>  {
>     red_peer_handle_outgoing(channel->peer, &channel->outgoing);
>  }
> diff --git a/server/red_channel.h b/server/red_channel.h
> index e0eccd9..ba28790 100644
> --- a/server/red_channel.h
> +++ b/server/red_channel.h
> @@ -242,5 +242,7 @@ void red_channel_pipe_clear(RedChannel *channel);
>  //  red_wait_pipe_item_sent
>  //  handle_channel_events - this is the only one that was used before, and was in red_channel.c
>  void red_channel_receive(RedChannel *channel);
> +// For red_worker
> +void red_channel_send(RedChannel *channel);
>
>  #endif
> --
> 1.7.3.4
>
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/spice-devel
>



-- 
Marc-André Lureau


More information about the Spice-devel mailing list