On 03/16/2011 05:03 PM, Anthony Liguori wrote:
So for an event, you just need to do:{ 'signal': 'vnc-connected', 'data': { 'client': 'VncClientInfo' } } And you can add new fields to the VncClientInfo structure as much as you'd like without worrying about breaking the C ABI.
So why couldn't you automatically wrap the events data field in a structure (e.g. vnc-connected events receive a VncConnectedEventData*)?
Paolo