From: Christophe de Dinechin <dinec...@redhat.com>

Signed-off-by: Christophe de Dinechin <dinec...@redhat.com>
---
 include/spice-streaming-agent/plugin.hpp | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/include/spice-streaming-agent/plugin.hpp 
b/include/spice-streaming-agent/plugin.hpp
index 1a58856..c370eab 100644
--- a/include/spice-streaming-agent/plugin.hpp
+++ b/include/spice-streaming-agent/plugin.hpp
@@ -149,6 +149,14 @@ extern "C" unsigned 
spice_streaming_agent_plugin_interface_version;
  */
 extern "C" SpiceStreamingAgent::PluginInitFunc 
spice_streaming_agent_plugin_init;
 
+#define SPICE_STREAMING_AGENT_PLUGIN(agent)                             \
+    __attribute__ ((visibility ("default")))                            \
+    unsigned spice_streaming_agent_plugin_interface_version =           \
+        SpiceStreamingAgent::PluginInterfaceVersion;                    \
+                                                                        \
+    __attribute__ ((visibility ("default")))                            \
+    bool spice_streaming_agent_plugin_init(SpiceStreamingAgent::Agent* agent)
+
 #endif
 
 #endif // SPICE_STREAMING_AGENT_PLUGIN_HPP
-- 
2.13.5 (Apple Git-94)

_______________________________________________
Spice-devel mailing list
Spice-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/spice-devel

Reply via email to