mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-23 06:05:27 +00:00
interface: define internal driver API for network config transactions
This commit is contained in:
parent
ba0b5934b3
commit
b1f102edad
12
src/driver.h
12
src/driver.h
@ -868,6 +868,15 @@ typedef int
|
||||
typedef int
|
||||
(*virDrvInterfaceIsActive)(virInterfacePtr iface);
|
||||
|
||||
typedef int
|
||||
(*virDrvInterfaceChangeBegin) (virConnectPtr conn,
|
||||
unsigned int flags);
|
||||
typedef int
|
||||
(*virDrvInterfaceChangeCommit) (virConnectPtr conn,
|
||||
unsigned int flags);
|
||||
typedef int
|
||||
(*virDrvInterfaceChangeRollback)(virConnectPtr conn,
|
||||
unsigned int flags);
|
||||
|
||||
typedef struct _virInterfaceDriver virInterfaceDriver;
|
||||
typedef virInterfaceDriver *virInterfaceDriverPtr;
|
||||
@ -898,6 +907,9 @@ struct _virInterfaceDriver {
|
||||
virDrvInterfaceCreate interfaceCreate;
|
||||
virDrvInterfaceDestroy interfaceDestroy;
|
||||
virDrvInterfaceIsActive interfaceIsActive;
|
||||
virDrvInterfaceChangeBegin interfaceChangeBegin;
|
||||
virDrvInterfaceChangeCommit interfaceChangeCommit;
|
||||
virDrvInterfaceChangeRollback interfaceChangeRollback;
|
||||
};
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user