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 #endif /* _H_VD_AGENT */