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

[libvirt] [PATCH 06/13] send-key: Defining the internal API



Signed-off-by: Lai Jiangshan <laijs fujitsu com>
---
 src/driver.h |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/src/driver.h b/src/driver.h
index 450dd53..70a30d9 100644
--- a/src/driver.h
+++ b/src/driver.h
@@ -535,6 +535,13 @@ typedef int
 typedef int
     (*virDrvDomainInjectNMI)(virDomainPtr dom, unsigned int flags);
 
+typedef int
+    (*virDrvDomainSendKey)(virDomainPtr dom, unsigned int codeset,
+                           unsigned int holdtime,
+                           unsigned int nkeycodes,
+                           unsigned int *keycodes,
+                           unsigned int flags);
+
 typedef char *
     (*virDrvDomainMigrateBegin3)
                     (virDomainPtr domain,
@@ -738,6 +745,7 @@ struct _virDriver {
     virDrvDomainMigratePerform3	domainMigratePerform3;
     virDrvDomainMigrateFinish3	domainMigrateFinish3;
     virDrvDomainMigrateConfirm3	domainMigrateConfirm3;
+    virDrvDomainSendKey domainSendKey;
 };
 
 typedef int
-- 
1.7.4.4


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