[Spice-devel] [PATCH 0/4] server: introduce RedChannelClient
Alon Levy
alevy at redhat.com
Sun Mar 27 12:03:10 PDT 2011
Sorry about the previous RFC, it was missing two patches before. Added them
and another refactoring patch at the end. And upgraded the subject to PATCH :)
This patch adds a RedChannelClient, it's mainly just refactoring, doesn't
give support for multiple clients yet, but tested to not change anything wrt
connect/disconnect (i.e. connecting to an already connected server disconnects
the current client). Tested with all channels except tunnel.
Alon Levy (4):
server/red_channel: renames to use _proc postfix consistently
server/red_worker: drop red_pipe_add_tail, use
red_channel_pipe_add_tail
server/red_channel (all): introduce RedChannelClient
server/red_worker: introduce {display,cursor}_connected
server/inputs_channel.c | 39 ++-
server/main_channel.c | 82 +++--
server/red_channel.c | 629 ++++++++++++++++++++------------
server/red_channel.h | 124 ++++---
server/red_client_cache.h | 2 +-
server/red_client_shared_cache.h | 17 +-
server/red_tunnel_worker.c | 216 +++++++-----
server/red_worker.c | 753 +++++++++++++++++++-------------------
server/smartcard.c | 150 ++++----
9 files changed, 1137 insertions(+), 875 deletions(-)
--
1.7.4.1
More information about the Spice-devel
mailing list