[Spice-devel] [PATCH spice-streaming-agent 0/2] Let the agent check plugin versions to avoid ODR violations

Christophe de Dinechin christophe at dinechin.org
Wed Nov 22 15:33:22 UTC 2017


From: Christophe de Dinechin <dinechin at redhat.com>

This is remotely inspired from the Tao3D module API,
itself inspired by libtool.
(see https://github.com/c3d/tao-3D/blob/master/tao/include/tao/module_api.h#L41
and https://github.com/c3d/tao-3D/blob/master/tao/module_manager.cpp#L1246
for more information)

Christophe de Dinechin (2):
  Implement version checking for plugins without violating ODR
  Add a macro to deal with the boilerplate of writing a streaming agent
    plugin

 include/spice-streaming-agent/plugin.hpp | 56 +++++++++++++++++++-------------
 src/concrete-agent.cpp                   | 35 ++++++++++----------
 src/concrete-agent.hpp                   |  4 ---
 src/mjpeg-fallback.cpp                   |  3 --
 4 files changed, 51 insertions(+), 47 deletions(-)

-- 
2.13.5 (Apple Git-94)



More information about the Spice-devel mailing list