libvirt/include/libvirt
ramyelkest 50e96bb2a1 util: virerror: Introduce virGetLastError{Code,Domain} public APIs
Many places in the code call virGetLastError() just to check the
raised error code, or domain. However virGetLastError() can return
NULL, so the code has to check for that first. This patch therefore
introduces virGetLasError{Code,Domain} functions which always return a
valid error code or domain respectively, thus dropping the need to
perform any checks on the error object.

Signed-off-by: Ramy Elkest <ramyelkest@gmail.com>
Reviewed-by: Erik Skultety <eskultet@redhat.com>
2018-06-05 18:44:05 +02:00
..
libvirt-admin.h
libvirt-common.h.in Add missing 'extern' for VIR_EXPORT_VAR macro 2016-09-20 12:55:28 +01:00
libvirt-domain-snapshot.h
libvirt-domain.h Introduce virDomainDetachDeviceAlias API 2018-05-28 13:08:38 +02:00
libvirt-event.h
libvirt-host.h Introduce virConnectBaselineHypervisorCPU public API 2018-05-28 15:58:05 +02:00
libvirt-interface.h
libvirt-lxc.h
libvirt-network.h
libvirt-nodedev.h include: nodedev: Fix a misleading comment about the used callback 2017-07-20 13:21:54 +02:00
libvirt-nwfilter.h
libvirt-qemu.h
libvirt-secret.h
libvirt-storage.h storage: export virStoragePoolLookupByTargetPath as a public API 2018-02-09 11:05:10 +00:00
libvirt-stream.h virStream*All: Report error if a callback fails 2017-07-11 09:33:12 +02:00
libvirt.h
Makefile.am
virterror.h util: virerror: Introduce virGetLastError{Code,Domain} public APIs 2018-06-05 18:44:05 +02:00