[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[libvirt] [PATCH 1/4] Define Public API for new virInterface Functions.



This adds virConnectListDefinedInterfaces() and
virConnectNumOfDefinedInterfaces().
---
 include/libvirt/libvirt.h    |    5 +++++
 include/libvirt/libvirt.h.in |    5 +++++
 src/libvirt_public.syms      |    5 +++++
 3 files changed, 15 insertions(+), 0 deletions(-)

diff --git a/include/libvirt/libvirt.h b/include/libvirt/libvirt.h
index bff6985..78e89c3 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 869c361..ba2b6f0 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 3f0f4bc..184492f 100644
--- a/src/libvirt_public.syms
+++ b/src/libvirt_public.syms
@@ -285,4 +285,9 @@ LIBVIRT_0.6.4 {
 	virConnectDomainXMLToNative;
 } LIBVIRT_0.6.3;
 
+LIBVIRT_0.6.5 {
+    global:
+	virConnectNumOfDefinedInterfaces;
+	virConnectListDefinedInterfaces;
+} LIBVIRT_0.6.4;
 # .... define new API here using predicted next version number ....
-- 
1.6.0.6


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]