提交 79ad3087 编写于 作者: J Jim Fehlig

Internal API

Definition of internal API for virDomain{Attach,Detach}DeviceFlags.
上级 314190a0
...@@ -191,9 +191,17 @@ typedef int ...@@ -191,9 +191,17 @@ typedef int
typedef int typedef int
(*virDrvDomainAttachDevice) (virDomainPtr domain, (*virDrvDomainAttachDevice) (virDomainPtr domain,
const char *xml); const char *xml);
typedef int
(*virDrvDomainAttachDeviceFlags) (virDomainPtr domain,
const char *xml,
unsigned int flags);
typedef int typedef int
(*virDrvDomainDetachDevice) (virDomainPtr domain, (*virDrvDomainDetachDevice) (virDomainPtr domain,
const char *xml); const char *xml);
typedef int
(*virDrvDomainDetachDeviceFlags) (virDomainPtr domain,
const char *xml,
unsigned int flags);
typedef int typedef int
(*virDrvDomainGetAutostart) (virDomainPtr domain, (*virDrvDomainGetAutostart) (virDomainPtr domain,
int *autostart); int *autostart);
...@@ -419,7 +427,9 @@ struct _virDriver { ...@@ -419,7 +427,9 @@ struct _virDriver {
virDrvDomainDefineXML domainDefineXML; virDrvDomainDefineXML domainDefineXML;
virDrvDomainUndefine domainUndefine; virDrvDomainUndefine domainUndefine;
virDrvDomainAttachDevice domainAttachDevice; virDrvDomainAttachDevice domainAttachDevice;
virDrvDomainAttachDeviceFlags domainAttachDeviceFlags;
virDrvDomainDetachDevice domainDetachDevice; virDrvDomainDetachDevice domainDetachDevice;
virDrvDomainDetachDeviceFlags domainDetachDeviceFlags;
virDrvDomainGetAutostart domainGetAutostart; virDrvDomainGetAutostart domainGetAutostart;
virDrvDomainSetAutostart domainSetAutostart; virDrvDomainSetAutostart domainSetAutostart;
virDrvDomainGetSchedulerType domainGetSchedulerType; virDrvDomainGetSchedulerType domainGetSchedulerType;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册