mirror of https://gitee.com/openkylin/libvirt.git
Public API for new virInterface functions
* include/libvirt/libvirt.h[.in]: adds signatures for the new exported functions virConnectNumOfDefinedInterfaces and virConnectListDefinedInterfaces * src/libvirt_public.syms: export the new symbols
This commit is contained in:
parent
d3c236f91c
commit
043c954e9f
|
@ -890,6 +890,11 @@ int virConnectListInterfaces (virConnectPtr conn,
|
||||||
char **const names,
|
char **const names,
|
||||||
int maxnames);
|
int maxnames);
|
||||||
|
|
||||||
|
int virConnectNumOfDefinedInterfaces (virConnectPtr conn);
|
||||||
|
int virConnectListDefinedInterfaces (virConnectPtr conn,
|
||||||
|
char **const names,
|
||||||
|
int maxnames);
|
||||||
|
|
||||||
virInterfacePtr virInterfaceLookupByName (virConnectPtr conn,
|
virInterfacePtr virInterfaceLookupByName (virConnectPtr conn,
|
||||||
const char *name);
|
const char *name);
|
||||||
virInterfacePtr virInterfaceLookupByMACString (virConnectPtr conn,
|
virInterfacePtr virInterfaceLookupByMACString (virConnectPtr conn,
|
||||||
|
|
|
@ -890,6 +890,11 @@ int virConnectListInterfaces (virConnectPtr conn,
|
||||||
char **const names,
|
char **const names,
|
||||||
int maxnames);
|
int maxnames);
|
||||||
|
|
||||||
|
int virConnectNumOfDefinedInterfaces (virConnectPtr conn);
|
||||||
|
int virConnectListDefinedInterfaces (virConnectPtr conn,
|
||||||
|
char **const names,
|
||||||
|
int maxnames);
|
||||||
|
|
||||||
virInterfacePtr virInterfaceLookupByName (virConnectPtr conn,
|
virInterfacePtr virInterfaceLookupByName (virConnectPtr conn,
|
||||||
const char *name);
|
const char *name);
|
||||||
virInterfacePtr virInterfaceLookupByMACString (virConnectPtr conn,
|
virInterfacePtr virInterfaceLookupByMACString (virConnectPtr conn,
|
||||||
|
|
|
@ -285,4 +285,10 @@ LIBVIRT_0.6.4 {
|
||||||
virConnectDomainXMLToNative;
|
virConnectDomainXMLToNative;
|
||||||
} LIBVIRT_0.6.3;
|
} LIBVIRT_0.6.3;
|
||||||
|
|
||||||
|
LIBVIRT_0.7.0 {
|
||||||
|
global:
|
||||||
|
virConnectNumOfDefinedInterfaces;
|
||||||
|
virConnectListDefinedInterfaces;
|
||||||
|
} LIBVIRT_0.6.4;
|
||||||
|
|
||||||
# .... define new API here using predicted next version number ....
|
# .... define new API here using predicted next version number ....
|
||||||
|
|
Loading…
Reference in New Issue