2011/5/25 Lai Jiangshan <laijs@xxxxxxxxxxxxxx>: > Add public virDomainSendKey() and enum libvirt_keycode_set > for the @codeset. > > Python version of virDomainSendKey() has not been implemented yet, > it will be done soon. > > Signed-off-by: Lai Jiangshan <laijs@xxxxxxxxxxx> > --- > Âinclude/libvirt/libvirt.h.in |  Â7 +++++++ > Âinclude/libvirt/virtkeys.h  |  23 +++++++++++++++++++++++ > Âpython/generator.py     Â|  Â1 + > Âsrc/libvirt_public.syms   Â|  Â1 + > Â4 files changed, 32 insertions(+), 0 deletions(-) > > diff --git a/include/libvirt/libvirt.h.in b/include/libvirt/libvirt.h.in > index 7cd6e13..9167dbc 100644 > --- a/include/libvirt/libvirt.h.in > +++ b/include/libvirt/libvirt.h.in > @@ -2617,6 +2617,13 @@ int virDomainOpenConsole(virDomainPtr dom, > > Âint virDomainInjectNMI(virDomainPtr domain, unsigned int flags); > > +int virDomainSendKey(virDomainPtr domain, > +           unsigned int codeset, > +           unsigned int holdtime, > +           unsigned int nkeycodes, > +           unsigned int *keycodes, > +           unsigned int flags); > + This should have nkeycodes and keycodes renamed and reordered to match the common pattern: keycodes, keycodeslen Matthias -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list