[Spice-commits] spice/vd_agent.h
Frediano Ziglio
fziglio at kemper.freedesktop.org
Fri Mar 3 13:02:37 UTC 2017
spice/vd_agent.h | 3 +++
1 file changed, 3 insertions(+)
New commits:
commit b9bfbd2f7bc14274bb84364e9fd75e1448e3eaf5
Author: Pavel Grunt <pgrunt at redhat.com>
Date: Tue Feb 28 14:58:59 2017 +0100
agent: Add macro for clearing capability
Related:
https://bugzilla.redhat.com/show_bug.cgi?id=1373725
Acked-by: Frediano Ziglio <fziglio at redhat.com>
diff --git a/spice/vd_agent.h b/spice/vd_agent.h
index 061ca30..779f4f3 100644
--- a/spice/vd_agent.h
+++ b/spice/vd_agent.h
@@ -268,6 +268,9 @@ typedef struct SPICE_ATTR_PACKED VDAgentAnnounceCapabilities {
#define VD_AGENT_SET_CAPABILITY(caps, index) \
{ (caps)[(index) / 32] |= (1 << ((index) % 32)); }
+#define VD_AGENT_CLEAR_CAPABILITY(caps, index) \
+ { (caps)[(index) / 32] &= ~(1 << ((index) % 32)); }
+
#include <spice/end-packed.h>
#endif /* _H_VD_AGENT */
More information about the Spice-commits
mailing list