Re: [PATCH 06/10 V2] send-key: Defining the internal API

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

 



On Tue, Jun 07, 2011 at 05:11:13PM +0800, Lai Jiangshan wrote:
> Signed-off-by: Lai Jiangshan <laijs@xxxxxxxxxxxxxx>
> ---
>  src/driver.h |    8 ++++++++
>  1 files changed, 8 insertions(+), 0 deletions(-)
> 
> diff --git a/src/driver.h b/src/driver.h
> index 5df798a..2e335a1 100644
> --- a/src/driver.h
> +++ b/src/driver.h
> @@ -542,6 +542,13 @@ typedef int
>  typedef int
>      (*virDrvDomainInjectNMI)(virDomainPtr dom, unsigned int flags);
>  
> +typedef int
> +    (*virDrvDomainSendKey)(virDomainPtr dom, unsigned int codeset,
> +                           unsigned int holdtime,
> +                           unsigned int *keycodes,
> +                           unsigned int nkeycodes,
> +                           unsigned int flags);
> +
>  typedef char *
>      (*virDrvDomainMigrateBegin3)
>                      (virDomainPtr domain,
> @@ -749,6 +756,7 @@ struct _virDriver {
>      virDrvDomainMigratePerform3	domainMigratePerform3;
>      virDrvDomainMigrateFinish3	domainMigrateFinish3;
>      virDrvDomainMigrateConfirm3	domainMigrateConfirm3;
> +    virDrvDomainSendKey domainSendKey;
>  };
>  
>  typedef int

ACK

Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|

--
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]