summaryrefslogtreecommitdiff
path: root/typewrappers.c
diff options
context:
space:
mode:
authorDaniel P. Berrangé <berrange@redhat.com>2018-06-26 11:18:32 +0100
committerDaniel P. Berrangé <berrange@redhat.com>2018-06-28 12:04:05 +0100
commitd5aae37c61e2843c3f4c9fdb141d2dab8be5bc9c (patch)
tree59487b685a027cef7e9cf9abc179d08d14377e18 /typewrappers.c
parente27528204c887b4099b892a0237766f187959737 (diff)
downloadlibvirt-python-d5aae37c61e2843c3f4c9fdb141d2dab8be5bc9c.tar.gz
Add support for nwfilter binding objects / apis
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Diffstat (limited to 'typewrappers.c')
-rw-r--r--typewrappers.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/typewrappers.c b/typewrappers.c
index 99a8fb8..9ba14b4 100644
--- a/typewrappers.c
+++ b/typewrappers.c
@@ -543,6 +543,19 @@ libvirt_virNWFilterPtrWrap(virNWFilterPtr node)
}
PyObject *
+libvirt_virNWFilterBindingPtrWrap(virNWFilterBindingPtr node)
+{
+ PyObject *ret;
+
+ if (node == NULL) {
+ return VIR_PY_NONE;
+ }
+
+ ret = libvirt_buildPyObject(node, "virNWFilterBindingPtr", NULL);
+ return ret;
+}
+
+PyObject *
libvirt_virStreamPtrWrap(virStreamPtr node)
{
PyObject *ret;