Re: [PATCH 05/14] rename red_channel_peer_ function to red_channel_client_

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

there is more functions using peer in name, but rcc as a parameter. Would you
mind changing all of them for consitency.

Pavel

On Tue, 2016-05-03 at 15:00 -0500, Jonathon Jongsma wrote:
> Use consistent naming
> ---
>  server/red-channel.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/server/red-channel.c b/server/red-channel.c
> index 64c61ca..898036a 100644
> --- a/server/red-channel.c
> +++ b/server/red-channel.c
> @@ -597,7 +597,7 @@ static inline void
> red_channel_client_release_sent_item(RedChannelClient *rcc)
>      }
>  }
>  
> -static void red_channel_peer_on_out_msg_done(void *opaque)
> +static void red_channel_client_on_out_msg_done(void *opaque)
>  {
>      RedChannelClient *rcc = (RedChannelClient *)opaque;
>      int fd;
> @@ -1060,7 +1060,7 @@ RedChannel *red_channel_create(int size,
>      channel->outgoing_cb.on_block = red_channel_client_peer_on_out_block;
>      channel->outgoing_cb.on_error =
>          (on_outgoing_error_proc)red_channel_client_default_peer_on_error;
> -    channel->outgoing_cb.on_msg_done = red_channel_peer_on_out_msg_done;
> +    channel->outgoing_cb.on_msg_done = red_channel_client_on_out_msg_done;
>      channel->outgoing_cb.on_output = red_channel_client_on_output;
>  
>      client_cbs.connect = red_channel_client_default_connect;
_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]