Commit 8fc0e526 authored by Kevin Pouget's avatar Kevin Pouget Committed by Frediano Ziglio

spice-streaming-agent: handle capability negotiation

This patch completes the initial skeleton for capability negotiation.

It populates the outgoing message (CapabilitiesOutMessage) with a bit
array listing, for each known capability, if it is supported or not.

Likewise, it unpacks the capability message received from the server
(InCapabilitiesMessage) and calls the function
`server_capabilities_received` with a vector containing the
capabilities supported by the server.
Signed-off-by: Kevin Pouget's avatarKevin Pouget <kpouget@redhat.com>
Acked-by: Frediano Ziglio's avatarFrediano Ziglio <fziglio@redhat.com>
parent 65dd4f4a
Pipeline #124837 passed with stage
in 2 minutes and 53 seconds