[Spice-devel] [PATCH spice-streaming-agent v2 0/2] Rework option handling
Christophe de Dinechin
christophe at dinechin.org
Thu Nov 16 10:10:18 UTC 2017
From: Christophe de Dinechin <dinechin at redhat.com>
This series reworks option handling to prepare the ABI / API for
future dynamic adjustments of settings, for example to allow the agent
to deal with QoS in a consistent manner across plugins. In particular,
it adds shared "Settings" that are valid for all plugins and that the
agent can act on, and it makes the application of options dynamic,
allowing the agent to change plugin options on the fly.
This change creates an API/ABI that is incompatible with what was
there before, so the major version number was changed. Instead
of bumping it to 2.0, I decided to "downbump" it to 0.01 instead,
and to add a rule that all 0.x are incompatible with one another.
This leaves us room for further development of the ABI and API until
we reach a consensuss that it is reasonably complete and stable.
Christophe de Dinechin (2):
Don't tag the plugin interface as 1.0 just yet
Rework option handling
include/spice-streaming-agent/plugin.hpp | 96 +++++++++++++++++---
m4/spice-compile-warnings.m4 | 2 +
src/concrete-agent.cpp | 146 ++++++++++++++++++++++++++++---
src/concrete-agent.hpp | 34 +++----
src/mjpeg-fallback.cpp | 89 +++++++++----------
src/spice-streaming-agent.cpp | 23 +++--
6 files changed, 288 insertions(+), 102 deletions(-)
--
2.13.5 (Apple Git-94)
More information about the Spice-devel
mailing list