From adf784e70d09478d5061c400b48972c5afb1a32a Mon Sep 17 00:00:00 2001 From: Jiri Denemark Date: Tue, 15 Jan 2013 14:51:45 +0100 Subject: 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. --- generator.py | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) 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 = ( -- cgit