summaryrefslogtreecommitdiff
path: root/libvirt-utils.h
Commit message (Collapse)AuthorAgeFilesLines
* utils: introduce new macro helpers for tuple, list and dict objectsPavel Hrdina2015-10-051-0/+82
| | | | Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
* Move utils and shared code into libvirt-utilsPavel Hrdina2015-10-051-0/+51
| | | | Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
* Add space after comma for consistency with code stylev1.2.1-rc1Doug Goldstein2014-01-021-1/+1
|
* define __GNUC_PREREQ macro before using itDoug Goldstein2013-12-301-0/+10
| | | | | | We brought over use of the __GNUC_PREREQ macro from libvirt but didn't bring over the definition of it. This brings over the macro from libvirt sources.
* maint: next release is 1.2.0v1.2.0-rc1Eric Blake2013-11-251-1/+1
| | | | | | | | | No other hits for: git grep '1\.1\.5' * libvirt-utils.h: Fix comment. Signed-off-by: Eric Blake <eblake@redhat.com>
* Import some virTypedParams* APIs from libvirtDoug Goldstein2013-11-221-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-221-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-221-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-221-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-221-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-221-0/+11
| | | | Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
* Import gnulib's xalloc_oversized macroDaniel P. Berrange2013-11-221-0/+15
| | | | Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
* Add decl of MIN macroDaniel P. Berrange2013-11-221-0/+4
| | | | Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
* Import STREQ macro from libvirtDaniel P. Berrange2013-11-221-0/+27
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>