Re: [PATCH 05/13] send-key: Defining the public API

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]