This patchset attempt to pass capabilities using a single RedChannelCapabilities (already existing) structure. Changes since v2: - merge GArray and RedChannelCapabilites usage; - split removing reading capability properties; - move object to separate files. Changes since v1: - use RedChannelCapabilities instead of 2 GArrays. Frediano Ziglio (5): red-channel: Remove unused type definition red-channel-client: Make capabilities property write only red-channel: Separate RedChannelCapabilities red-channel-capabilities: Enhance red-channel: Use RedChannelCapabilities directly to pass capabilities server/Makefile.am | 2 + server/cursor-channel-client.c | 22 +---------- server/cursor-channel-client.h | 4 +- server/cursor-channel.c | 6 +-- server/cursor-channel.h | 9 ++--- server/dcc.c | 22 +---------- server/dcc.h | 16 +++----- server/inputs-channel-client.c | 23 +---------- server/inputs-channel-client.h | 5 +-- server/inputs-channel.c | 7 +--- server/main-channel-client.c | 22 +---------- server/main-channel-client.h | 3 +- server/main-channel.c | 7 +--- server/main-channel.h | 4 +- server/red-channel-capabilities.c | 77 +++++++++++++++++++++++++++++++++++++ server/red-channel-capabilities.h | 50 ++++++++++++++++++++++++ server/red-channel-client.c | 80 ++++----------------------------------- server/red-channel-client.h | 3 +- server/red-channel.c | 20 +++------- server/red-channel.h | 15 ++------ server/red-qxl.c | 24 +++--------- server/red-qxl.h | 10 +---- server/red-worker.c | 11 ++---- server/reds.c | 37 ++++++++++++------ server/smartcard-channel-client.c | 22 +---------- server/smartcard-channel-client.h | 3 +- server/smartcard.c | 6 +-- server/sound.c | 37 ++++-------------- server/spicevmc.c | 11 +++--- 29 files changed, 228 insertions(+), 330 deletions(-) create mode 100644 server/red-channel-capabilities.c create mode 100644 server/red-channel-capabilities.h -- 2.9.3 _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/spice-devel