Hi,
 
here is a new patch. It propose to separate types of function by classes. For example :
 
all virConnect[*] (virConnectOpen, virConnectNumOfDomains, etc...) functions are in the virConnect class.
all virDomain[*] (virDomainCreate, virDomainDestroy, etc...) function are in the virDomain class.
 
so we have these classes now :
 
virConnect
virDomain
virEvent
virInterface
virLibrary
virNetwork
virNode
virSecret
virStoragePool
virStorageVol
virStream
 
and finally
 
libvirtError
 
I know, the name is not correct, but I can't use virError name because virError is also a structure name :S don't know how to name it.
 
This patch also introduce the DllMap configuration directive in Mono project, with this, the binary library names are correclty automagically changed at runtime (libvirt-0.dll under windows become libvirt.so.0 under linux...) so it guarantee the correct work under windows or linux.
 
Sample code have been updated also to deal with new classes names
 
Regards,
 
Arnaud