summaryrefslogtreecommitdiffstats
path: root/libvirt-utils.h
Commit message (Collapse)AuthorAgeFilesLines
* Import some virTypedParams* APIs from libvirtDoug Goldstein2013-11-211-0/+6
| | | | | | | virTypedParamsClear() and virTypedParamsFree() were introduced in libvirt 1.0.2. In an effort to keep the code clean bring these two functions to libvirt-python if we're building against a version of libvirt that's older than 1.0.2
* Import LIBVIR_CHECK_VERSION macro from libvirtDoug Goldstein2013-11-211-0/+10
| | | | | | | Add LIBVIR_CHECK_VERSION from libvirt upstream so that we can check the version of the library we are compiling against and support a range of libvirt versions. The macro was added to libvirt in 1.2.0 so we must provide it if its not defined.
* Import VIR_FORCE_CLOSE macro from libvirtDaniel P. Berrange2013-11-211-0/+7
| | | | | | Import the macro for safely closing file descriptors Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
* Import VIR_ALLOC / VIR_ALLOC_N / VIR_REALLOC_N functionsDaniel P. Berrange2013-11-211-0/+77
| | | | | | | Import the libvirt memory allocation functions, stripping the OOM testing and error reporting pieces. Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
* Import code annotation macros from libvirtDaniel P. Berrange2013-11-211-0/+52
| | | | | | | Import ATTRIBUTE_RETURN_CHECK, ATTRIBUTE_UNUSED & ATTRIBUTE_NONNULL macros Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
* Import gnulib's ignore_value macroDaniel P. Berrange2013-11-211-0/+11
| | | | Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
* Import gnulib's xalloc_oversized macroDaniel P. Berrange2013-11-211-0/+15
| | | | Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
* Add decl of MIN macroDaniel P. Berrange2013-11-211-0/+4
| | | | Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
* Import STREQ macro from libvirtDaniel P. Berrange2013-11-211-0/+27
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>