On 01/13/2011 12:19 PM, Gerd Hoffmann wrote:
  Hi,

Just throwing a quick writeup into the ring to kickstart the design discussion ;)


typedef struct qemu_pvtablet_message {
     uint32_t size;            /* whole message size */
     uint32_t type;            /* qemu_pvtablet_type */
     uint64_t tv_secs;
     uint64_t tv_usecs;

time relative to what base?

can we actually provide it? if the tablet is remote, there may not be a synchronized time source.

     union {
         qemu_pvtablet_position position;
         qemu_pvtablet_button   button;
         qemu_pvtablet_display  display;
     } m;
} qemu_pvtablet_message;


So the message size for a qemu_pvtablet_position would only include the position member?


--
error compiling committee.c: too many arguments to function


Reply via email to