diff --git a/include/libvirt/libvirt.h b/include/libvirt/libvirt.h index d929033f03fb3a0a8385db280b50ccf6236f2d1a..90007a180803a6d57fa169b462d8d217d6e23ed6 100644 --- a/include/libvirt/libvirt.h +++ b/include/libvirt/libvirt.h @@ -890,6 +890,11 @@ int virConnectListInterfaces (virConnectPtr conn, char **const names, int maxnames); +int virConnectNumOfDefinedInterfaces (virConnectPtr conn); +int virConnectListDefinedInterfaces (virConnectPtr conn, + char **const names, + int maxnames); + virInterfacePtr virInterfaceLookupByName (virConnectPtr conn, const char *name); virInterfacePtr virInterfaceLookupByMACString (virConnectPtr conn, diff --git a/include/libvirt/libvirt.h.in b/include/libvirt/libvirt.h.in index 869c3614cd7270be392c24ed08469f57d38c98c0..ba2b6f043e5b013d8b80a31ade59188ec35f6ac2 100644 --- a/include/libvirt/libvirt.h.in +++ b/include/libvirt/libvirt.h.in @@ -890,6 +890,11 @@ int virConnectListInterfaces (virConnectPtr conn, char **const names, int maxnames); +int virConnectNumOfDefinedInterfaces (virConnectPtr conn); +int virConnectListDefinedInterfaces (virConnectPtr conn, + char **const names, + int maxnames); + virInterfacePtr virInterfaceLookupByName (virConnectPtr conn, const char *name); virInterfacePtr virInterfaceLookupByMACString (virConnectPtr conn, diff --git a/src/libvirt_public.syms b/src/libvirt_public.syms index 3f0f4bc3b036d8a0dd2251b4ea5325bd295e7657..c06f51ec310791161ecf9ce5738a04acebb66c43 100644 --- a/src/libvirt_public.syms +++ b/src/libvirt_public.syms @@ -285,4 +285,10 @@ LIBVIRT_0.6.4 { virConnectDomainXMLToNative; } LIBVIRT_0.6.3; +LIBVIRT_0.7.0 { + global: + virConnectNumOfDefinedInterfaces; + virConnectListDefinedInterfaces; +} LIBVIRT_0.6.4; + # .... define new API here using predicted next version number ....