[Spice-devel] [PATCH v2 07/10] Add RedChannelClientPrivate struct
Frediano Ziglio
fziglio at redhat.com
Thu Sep 8 08:33:42 UTC 2016
>
> Encapsulate private data and prepare for port to GObject
> ---
> Changes in v2:
> - Fixed leak of priv by using 1-element array trick
> - moved unrelated change
> - added red_channel_client_get_pipe() and
> red_channel_client_is_mini_header()
> to avoid accessing RedChannelClientPrivate from DisplayChannelClient.
>
> server/Makefile.am | 1 +
> server/dcc-send.c | 11 +-
> server/dcc.c | 7 +-
> server/red-channel-client-private.h | 76 +++++
> server/red-channel-client.c | 578
> +++++++++++++++++++-----------------
> server/red-channel-client.h | 55 +---
> server/sound.c | 8 +-
> 7 files changed, 397 insertions(+), 339 deletions(-)
> create mode 100644 server/red-channel-client-private.h
>
> diff --git a/server/Makefile.am b/server/Makefile.am
> index 09939f3..9c5b3b6 100644
> --- a/server/Makefile.am
> +++ b/server/Makefile.am
> @@ -99,6 +99,7 @@ libserver_la_SOURCES = \
> red-channel.h \
> red-channel-client.c \
> red-channel-client.h \
> + red-channel-client-private.h \
> red-common.h \
> dispatcher.c \
> dispatcher.h \
....
Acked-by: Frediano Ziglio <fziglio at redhat.com
Frediano
More information about the Spice-devel
mailing list