[Spice-devel] [PATCH 0/5] Improve encapsulation of RedChannelClient

Jonathon Jongsma jjongsma at redhat.com
Tue Aug 30 15:25:51 UTC 2016


Since the previous patchset included a bunch of large changes that were hard to
review, I'm sending out a few smaller cleanup patches prior to moving
RedChannelClient to its own separate file. Hopefully these should make
following patches smaller and easier to review. More cleanups will probably
come soon.

Jonathon Jongsma (5):
  Add red_channel_client_get_channel()
  Use red_channel_client_get_client() everywhere
  Add red_channel_client_(set|is)_destroying()
  Don't poke RedChannelClient::send_data from RedChannel
  Use red_channel_client_get_stream()

 server/cursor-channel.c        |  4 +--
 server/dcc-send.c              | 10 +++---
 server/dcc.c                   | 13 ++++----
 server/dcc.h                   |  2 +-
 server/display-channel.c       |  3 +-
 server/inputs-channel-client.c |  2 +-
 server/inputs-channel.c        | 14 ++++----
 server/main-channel-client.c   | 74 +++++++++++++++++++++++++-----------------
 server/main-channel.c          | 37 ++++++++++++---------
 server/red-channel.c           | 43 +++++++++++++++++-------
 server/red-channel.h           |  5 ++-
 server/red-qxl.c               | 24 ++++++++------
 server/red-worker.c            |  3 +-
 server/reds.c                  | 22 ++++++++-----
 server/smartcard.c             | 15 ++++++---
 server/sound.c                 | 29 ++++++++++-------
 server/spicevmc.c              | 28 +++++++++-------
 server/stream.c                | 19 ++++++-----
 18 files changed, 212 insertions(+), 135 deletions(-)

-- 
2.7.4



More information about the Spice-devel mailing list