[Libvir] PATCH: 1/7 Split up the public header files
Richard W.M. Jones
rjones at redhat.com
Mon Oct 29 10:26:39 UTC 2007
Daniel P. Berrange wrote:
> This patch splits up the libvirt.h file into multiple pieces. The big header
> file was getting rather long & hard to follow, with API calls for domains and
> networks all mixed together, and macros & typedefs & methods all mixed up.
> Adding another 25 APIs for storage won't improve this. So this splits up the
> header into
> libvirt/connection.h - connection related API calls & objects
> libvirt/node.h - host node information APIs & objects
> libvirt/domain.h - hypervisor/domain API calls & objects
> libvirt/network.h - virtual networking API calls & objects
> The original libvirt.h, now simply #include's all four of these files. The
> header files aren't intended to be included directly - apps carry on just
> using the main header file.
No real preference either way with this one.
Emerging Technologies, Red Hat - http://et.redhat.com/~rjones/
Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod
Street, Windsor, Berkshire, SL4 1TE, United Kingdom. Registered in
England and Wales under Company Registration No. 03798903
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 3237 bytes
Desc: S/MIME Cryptographic Signature
More information about the libvir-list