[PATCH python 2/5] Define virNetworkPortPtr typedef on old libvirt

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

 



Signed-off-by: Daniel P. Berrangé <berrange@xxxxxxxxxx>
---
 typewrappers.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/typewrappers.h b/typewrappers.h
index e4983b2..518ad00 100644
--- a/typewrappers.h
+++ b/typewrappers.h
@@ -30,6 +30,9 @@ typedef ssize_t Py_ssize_t;
 #if !LIBVIR_CHECK_VERSION(4, 5, 0)
 typedef struct _virNWFilterBinding *virNWFilterBindingPtr;
 #endif
+#if !LIBVIR_CHECK_VERSION(5, 5, 0)
+typedef struct _virNetworkPort *virNetworkPortPtr;
+#endif
 
 #define PyvirConnect_Get(v) (((v) == Py_None) ? NULL : \
         (((PyvirConnect_Object *)(v))->obj))
-- 
2.21.0

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux