summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVictor Toso <me@victortoso.com>2020-03-05 18:47:59 +0100
committerFrediano Ziglio <fziglio@redhat.com>2020-03-06 10:45:55 +0000
commit2981f214d3d00be68e1e361a940fe598c9195c13 (patch)
treed5d7d22f9eafdb5fbfac222506c65fa1b47e3b2e
parent045a6978d6dbbf7046affc5c321fa8177c8cce56 (diff)
controller: mark as deprecated
This patch deprecates this interface and suggests to drop it in the next release. The last known user of this interface was spice-gtk, which dropped its implementation in 2017-08-01 with spice-gtk@8da3378f "build-sys: remove the spice-controller library" The commit log there has good enough justification to also drop this in the protocol. Signed-off-by: Victor Toso <victortoso@redhat.com> Acked-by: Frediano Ziglio <fziglio@redhat.com>
-rw-r--r--spice/controller_prot.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/spice/controller_prot.h b/spice/controller_prot.h
index 0b0316f..9216e38 100644
--- a/spice/controller_prot.h
+++ b/spice/controller_prot.h
@@ -22,6 +22,10 @@
#include <spice/types.h>
#include <spice/start-packed.h>
+#ifndef SPICE_DISABLE_DEPRECATED
+#error "This SPICE interface is deprecated"
+#endif
+
#define CONTROLLER_MAGIC SPICE_MAGIC_CONST("CTRL")
#define CONTROLLER_VERSION 1