summaryrefslogtreecommitdiffstats
path: root/libvirt_wrap.h
Commit message (Collapse)AuthorAgeFilesLines
* Re-arrange python generator to make it clear what's auto-generatedDaniel P. Berrange2009-09-211-196/+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/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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'
* remove all trailing blank linesJim Meyering2009-07-161-1/+0
| | | | | | | by running this command: git ls-files -z | xargs -0 perl -pi -0777 -e 's/\n\n+$/\n/' This is in preparation for a more strict make syntax-check rule that will detect trailing blank lines.
* Add virInterface APIs to python code generatorDaniel P. Berrange2009-05-211-0/+10
|
* Fix python bindings events code (David Lively)Daniel P. Berrange2008-11-241-0/+8
|
* Python binding for node device APIs (David Lively)Daniel P. Berrange2008-11-211-0/+13
|
* Add a virFreeCallback to event loop APIsDaniel P. Berrange2008-11-191-0/+1
|
* * python/Makefile.am python/generator.py python/libvir.cDaniel Veillard2008-10-311-1/+26
| | | | | | | | | | 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
* convert TAB-based indentation in C sources to use only spacesJim Meyering2008-04-101-5/+5
| | | | | | Done using this command (also includes .c.in and .h.in files): for i in $(g ls-files|grep -E '\.[ch](\.in)?$'|grep -v gnulib); do expand -i $i > j && mv j $i;done
* Many typos fixed (Atsushi SAKAI).v0.4.1LIBVIRT_0_4_1Richard W.M. Jones2008-02-291-1/+1
|
* Added python binding for storage APIsDaniel P. Berrange2008-02-201-0/+20
|
* Wed Dec 5 13:48:00 UTC 2007 Richard W.M. Jones <rjones@redhat.com>Richard W.M. Jones2007-12-051-2/+2
| | | | | | | | | | | | | | | | | | | * python/libvir.c, python/libvirt_wrap.h, qemud/qemud.c, qemud/remote.c, src/internal.h, src/openvz_conf.c, src/openvz_driver.c, src/proxy_internal.h, src/qemu_conf.c, src/qemu_driver.c, src/remote_internal.h, src/test.h, src/util.c, src/xen_unified.c, src/xen_unified.h, tests/nodeinfotest.c, tests/qemuxml2argvtest.c, tests/qemuxml2xmltest.c, tests/reconnect.c, tests/sexpr2xmltest.c, tests/virshtest.c, tests/xencapstest.c, tests/xmconfigtest.c, tests/xml2sexprtest.c: Change #include <> to #include "" for local includes. Removed many includes from src/internal.h and put them in the C files which actually use them. Removed <ansidecl.h> - unused. Added a comment around __func__. Removed a clashing redefinition of VERSION symbol. All limits (PATH_MAX etc) now done in src/internal.h, so we don't need to include those headers in other files.
* Added python bindings for networking APIsDaniel P. Berrange2007-03-091-0/+10
|
* Fixed up numerous compiler warningsDaniel P. Berrange2007-03-061-1/+1
|
* Fix unsigned long wraparound in python bindingDaniel P. Berrange2006-11-151-0/+1
|
* Make python bindings threaded, by dropping/acquiring Python GIL where neededDaniel P. Berrange2006-10-241-0/+50
|
* * configure.in libvirt.spec.in docs/examples/* include/Makefile.amDaniel Veillard2006-06-261-2/+2
| | | | | | | | | | include/libvirt/virterror.h python/generator.py python/libvir.c python/libvirt_wrap.h src/driver.h src/internal.h src/test.h src/virsh.c src/virterror.c src/xend_internal.c src/xend_internal.h src/xml.c src/xml.h: moved the includes from include/ to include/libvirt to reflect the installed include tree. This avoid using "" in the includes themselves. Daniel
* * doc/site.xsl doc/libvir.html doc/*: added informations aboutDaniel Veillard2006-03-281-0/+1
| | | | | | the Perl bindings, regenerated * python/libvirt_wrap.h: added a missing include. Daniel
* * //* : renamed the project libvirt , this affects all makefiles,v0.0.3LIBVIRT_0_0_3Daniel Veillard2006-02-091-0/+49
the specs, the icons, the docs, etc ... * configure.in: prepare for 0.0.3 Daniel