summaryrefslogtreecommitdiffstats
path: root/types.c
Commit message (Collapse)AuthorAgeFilesLines
* Re-arrange python generator to make it clear what's auto-generatedDaniel P. Berrange2009-09-211-269/+0
| | | | | | | | | | | | | | * README: New file describing what each file is used for * livvirt-override.c, libvirt-override.py, libvirt-override-api.xml, libvirt-override-virConnect.py: Manually written code overriding the generator * typewrappers.c, typewrappers.h: Data type wrappers * generator.py: Automatically pre-prend contents of libvirt-override.py to generated libvirt.py. Output into libvirt.py directly instead of libvirtclass.py. Don't generate libvirtclass.txt at all. Write C files into libvirt.c/.h directly * Makefile.am: Remove rule for creating libvirt.py from libvirt-override.py and libvirtclass.py, since generator.py does it directly
* Secret manipulation API docs refresh & wire up python generatorMiloslav Trmač2009-09-011-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Sample session: >>> import libvirt >>> c = libvirt.open('qemu:///session') >>> c.listSecrets() ['12247729-47d2-a783-88ce-b329d4781cd3', 'reee', 'abc'] >>> s = c.secretDefineXML("<secret ephemeral='no' private='no'>\n<description>Something for use</description>\n<volume>/foo/bar</volume>\n</secret>\n") >>> s.UUIDString() '340c2dfb-811b-eda8-da9e-25ccd7bfd650' >>> s.XMLDesc() "<secret ephemeral='no' private='no'>\n <uuid>340c2dfb-811b-eda8-da9e-25ccd7bfd650</uuid>\n <description>Something for use</description>\n <volume>/foo/bar</volume>\n</secret>\n" >>> s.setValue('abc\0xx\xffx') 0 >>> s.value() 'abc\x00xx\xffx' >>> s.undefine() 0 * python/generator.py: Add rules for virSecret APIs * python/libvir.c, python/libvirt-python-api.xml: Manual impl of virSecretSetValue, virSecretGetValue$ and virConnectListSecrets APIs * python/libvirt_wrap.h, python/types.c: Wrapper for virSecret objects * docs/libvirt-api.xml, docs/libvirt-refs.xml, docs/html/libvirt-virterror.html, docs/html/libvirt-libvirt.html, docs/devhelp/libvirt-virterror.html, docs/devhelp/libvirt-libvirt.html: Re-generate with 'make api'
* Add virInterface APIs to python code generatorDaniel P. Berrange2009-05-211-0/+15
|
* Replace __FUNCTION__ with __func__ for better portability (John Levon)Daniel P. Berrange2008-12-181-2/+2
|
* Fix python bindings events code (David Lively)Daniel P. Berrange2008-11-241-1/+0
|
* Python binding for node device APIs (David Lively)Daniel P. Berrange2008-11-211-0/+15
|
* Add a virFreeCallback to event loop APIsDaniel P. Berrange2008-11-191-0/+16
|
* * python/Makefile.am python/generator.py python/libvir.cDaniel Veillard2008-10-311-0/+47
| | | | | | | | | | python/libvir.py python/libvirt_wrap.h python/types.c: adds support for events from the python bindings, also improves the generator allowing to embbed per function definition files, patch by Ben Guthro * examples/domain-events/events-python/event-test.py: also adds a programming example Daniel
* * python/types.c: patch from Ryan Scott to remove misplaced verbosityDaniel Veillard2008-06-251-40/+0
| | | | | when compiling in debug mode. Daniel
* Python header workaroundDaniel P. Berrange2008-04-181-0/+5
|
* Added python binding for storage APIsDaniel P. Berrange2008-02-201-0/+36
|
* Remove all trailing blanks; turn on the rule to detect them.Jim Meyering2008-02-051-1/+1
| | | | | * Makefile.cfg (local-checks-to-skip): Remove sc_trailing_blank. * .x-sc_trailing_blank: New file, to exempt the few binary files.
* Enable the <config.h>-requiring test; fix violationsJim Meyering2008-01-291-1/+1
| | | | | | | Use <config.h>, not "config.h", per autoconf documentation. * Makefile.cfg (local-checks-to-skip) [sc_require_config_h]: Enable. * .x-sc_require_config_h: New file, to list exempted files. * Makefile.am (EXTRA_DIST): Add .x-sc_require_config_h.
* Include "config.h" in remaining non-generated files.Jim Meyering2007-12-071-1/+3
| | | | | | | | | | * proxy/libvirt_proxy.c: Likewise. * python/libvir.c: Likewise. * python/types.c: Likewise. * src/event.c: Likewise. * src/xm_internal.c: Likewise. * tests/reconnect.c: Likewise. * tests/testutils.c: Likewise.
* Fri Jun 15 08:53:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>Richard W.M. Jones2007-06-151-9/+9
| | | | | | | | | | * src/internal.h, src/virsh.c: Replace _N with N_ so that Solaris builds work (Mark Johnson). * src/virsh.c: Add a couple of missing error messages (Mark Johnson). * python/types.c: Fix NULL pointer deref on DEBUG build (Mark Johnson). * src/virsh.c: Spelling fix (Mark Johnson).
* Added python bindings for networking APIsDaniel P. Berrange2007-03-091-0/+18
|
* Fix unsigned long wraparound in python bindingDaniel P. Berrange2006-11-151-0/+12
|
* * //* : renamed the project libvirt , this affects all makefiles,v0.0.3Daniel Veillard2006-02-091-17/+17
| | | | | | the specs, the icons, the docs, etc ... * configure.in: prepare for 0.0.3 Daniel
* * python/*: update of the python bindings, fix names, addDaniel Veillard2006-01-311-0/+12
| | | | | missing features like list of domains and domain info extraction Daniel
* * Makefile.am configure.in libvir.spec.in python/*: added a firstv0.0.1Daniel Veillard2005-12-191-0/+119
version for python bindings, heavilly based on libxml2/libxslt way of doing things, maybe this need to be revisited. Added packaging too. * src/hash.h: fixed the Copyright notice. Daniel