--- src/driver.h | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/src/driver.h b/src/driver.h index ca759ff..2502c63 100644 --- a/src/driver.h +++ b/src/driver.h @@ -508,6 +508,12 @@ typedef int (*virDrvListInterfaces) (virConnectPtr conn, char **const names, int maxnames); +typedef int + (*virDrvNumOfDefinedInterfaces) (virConnectPtr conn); +typedef int + (*virDrvListDefinedInterfaces) (virConnectPtr conn, + char **const names, + int maxnames); typedef virInterfacePtr (*virDrvInterfaceLookupByName) (virConnectPtr conn, const char *name); @@ -551,6 +557,8 @@ struct _virInterfaceDriver { virDrvClose close; virDrvNumOfInterfaces numOfInterfaces; virDrvListInterfaces listInterfaces; + virDrvNumOfDefinedInterfaces numOfDefinedInterfaces; + virDrvListDefinedInterfaces listDefinedInterfaces; virDrvInterfaceLookupByName interfaceLookupByName; virDrvInterfaceLookupByMACString interfaceLookupByMACString; virDrvInterfaceGetXMLDesc interfaceGetXMLDesc; -- 1.6.0.6 -- Libvir-list mailing list Libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list