mirror of https://gitee.com/openkylin/libvirt.git
virDomainIsUpdated: define the new public API
introduce new public API "virDomainIsUpdated" * src/conf/domain_conf.h (new member "updated" for "virDomainObj") * src/libvirt_public.syms * include/libvirt/libvirt.h.in
This commit is contained in:
parent
2ed149a6d0
commit
347d73f211
|
@ -1931,6 +1931,7 @@ int virStreamFree(virStreamPtr st);
|
|||
|
||||
int virDomainIsActive(virDomainPtr dom);
|
||||
int virDomainIsPersistent(virDomainPtr dom);
|
||||
int virDomainIsUpdated(virDomainPtr dom);
|
||||
|
||||
int virNetworkIsActive(virNetworkPtr net);
|
||||
int virNetworkIsPersistent(virNetworkPtr net);
|
||||
|
|
|
@ -1010,6 +1010,7 @@ struct _virDomainObj {
|
|||
|
||||
unsigned int autostart : 1;
|
||||
unsigned int persistent : 1;
|
||||
unsigned int updated : 1;
|
||||
|
||||
virDomainDefPtr def; /* The current definition */
|
||||
virDomainDefPtr newDef; /* New definition to activate at shutdown */
|
||||
|
|
|
@ -416,6 +416,7 @@ LIBVIRT_0.8.5 {
|
|||
LIBVIRT_0.8.6 {
|
||||
global:
|
||||
virDomainOpenConsole;
|
||||
virDomainIsUpdated;
|
||||
} LIBVIRT_0.8.5;
|
||||
|
||||
# .... define new API here using predicted next version number ....
|
||||
|
|
Loading…
Reference in New Issue