Hi,
this is the patch to introduce set_error() function to be able to set error from
everywhere we want (and not just using the libvirt error handler), e.g. when the
API function is not available in the libvirt version the user is using. Also, the
formatting and error handling has been fixed.
Second part of the patch is fixing the compilation warnings. Patch has been tested
on Fedora 14 box using php 5.3.4-1 version of Fedora 14 and it was working as
designed.
Michal
Signed-off-by: Michal Novotny <minovotn(a)redhat.com>
Michal Novotny (2):
Introduce set_error() function and fix error handling/formatting
Fix compilation warnings
libvirt.c | 382 ++++++++++++++++++++++++++++++++-------------------------
php_libvirt.h | 4 -
2 files changed, 212 insertions(+), 174 deletions(-)
--
1.7.3.2