]> git.ipfire.org Git - thirdparty/libvirt.git/commit
esx: Generate most SOAP mapping and improve inheritance handling
authorMatthias Bolte <matthias.bolte@googlemail.com>
Sat, 6 Mar 2010 16:56:28 +0000 (17:56 +0100)
committerMatthias Bolte <matthias.bolte@googlemail.com>
Wed, 31 Mar 2010 11:36:54 +0000 (13:36 +0200)
commit50723581b096427f2b7eee08ca725d56986d5fcf
treea869a1274f09c6a0f50e1605f72b8b42fca0b89a
parentb4b0949dd7d8a90f74b87292370e9d306aee4e00
esx: Generate most SOAP mapping and improve inheritance handling

The Python script generates the mappings based on the type descriptions
in the esx_vi_generator.input file.

This also improves the inheritance handling and allows to get rid of the
ugly, inflexible, and error prone _base/_super approach. Now every struct
that represents a SOAP type contains a _type member, that allows to
recreate C++-like dynamic dispatch for "method" calls in C.
src/Makefile.am
src/esx/.gitignore [new file with mode: 0644]
src/esx/esx_driver.c
src/esx/esx_vi.c
src/esx/esx_vi.h
src/esx/esx_vi_generator.input [new file with mode: 0644]
src/esx/esx_vi_generator.py [new file with mode: 0755]
src/esx/esx_vi_methods.c
src/esx/esx_vi_types.c
src/esx/esx_vi_types.h