summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJiri Denemark <jdenemar@redhat.com>2013-01-15 14:51:45 +0100
committerJiri Denemark <jdenemar@redhat.com>2013-01-18 15:03:58 +0100
commitadf784e70d09478d5061c400b48972c5afb1a32a (patch)
tree6daac1f2991f46fd7667c526a7c61ed82078aa2a
parent98768a7bf19029a518343c4c18f2ed5cea08df85 (diff)
downloadlibvirt-python-split-adf784e70d09478d5061c400b48972c5afb1a32a.tar.gz
libvirt-python-split-adf784e70d09478d5061c400b48972c5afb1a32a.tar.xz
libvirt-python-split-adf784e70d09478d5061c400b48972c5afb1a32a.zip
Add virTypedParams* APIs
Working with virTypedParameters in clients written in C is ugly and requires all clients to duplicate the same code. This set of APIs makes this code for manipulating with virTypedParameters integral part of libvirt so that all clients may benefit from it.
-rwxr-xr-xgenerator.py19
1 files changed, 19 insertions, 0 deletions
diff --git a/generator.py b/generator.py
index 28426c4..00e4858 100755
--- a/generator.py
+++ b/generator.py
@@ -527,6 +527,25 @@ skip_function = (
"virNWFilterGetConnect",
"virStoragePoolGetConnect",
"virStorageVolGetConnect",
+
+ # only useful in C code, python code uses dict for typed parameters
+ "virTypedParamsAddBoolean",
+ "virTypedParamsAddDouble",
+ "virTypedParamsAddFromString",
+ "virTypedParamsAddInt",
+ "virTypedParamsAddLLong",
+ "virTypedParamsAddString",
+ "virTypedParamsAddUInt",
+ "virTypedParamsAddULLong",
+ "virTypedParamsFree",
+ "virTypedParamsGet",
+ "virTypedParamsGetBoolean",
+ "virTypedParamsGetDouble",
+ "virTypedParamsGetInt",
+ "virTypedParamsGetLLong",
+ "virTypedParamsGetString",
+ "virTypedParamsGetUInt",
+ "virTypedParamsGetULLong",
)
lxc_skip_function = (