summaryrefslogtreecommitdiffstats
path: root/typewrappers.h
diff options
context:
space:
mode:
authorDaniel P. Berrange <berrange@redhat.com>2010-02-03 11:31:45 +0000
committerDaniel P. Berrange <berrange@redhat.com>2010-03-02 16:22:30 +0000
commit812ed7a260b6003926c903b1938e341dedc44e35 (patch)
tree3507c0e366c469f2b311c1f21e5b53e8efd8bfd4 /typewrappers.h
parent555abf6ad9753193a50ab0810b754db86bc82610 (diff)
downloadlibvirt-python-split-812ed7a260b6003926c903b1938e341dedc44e35.tar.gz
libvirt-python-split-812ed7a260b6003926c903b1938e341dedc44e35.tar.xz
libvirt-python-split-812ed7a260b6003926c903b1938e341dedc44e35.zip
Introduce public API for domain async job handlingv0.7.7
Introduce a new public API that provides a way to get progress info on currently running jobs on a virDomainpPtr. APIs that are initially within scope of this idea are virDomainMigrate virDomainMigrateToURI virDomainSave virDomainRestore virDomainCoreDump These all take a potentially long time and benefit from monitoring. The virDomainJobInfo struct allows for various pieces of information to be reported - Percentage completion - Time - Overall data - Guest memory data - Guest disk/file data * include/libvirt/libvirt.h.in: Add virDomainGetJobInfo * python/generator.py, python/libvirt-override-api.xml, python/libvirt-override.c: Override for virDomainGetJobInfo API * python/typewrappers.c, python/typewrappers.h: Introduce wrapper for unsigned long long type
Diffstat (limited to 'typewrappers.h')
-rw-r--r--typewrappers.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/typewrappers.h b/typewrappers.h
index 61f7249..dadcdd4 100644
--- a/typewrappers.h
+++ b/typewrappers.h
@@ -138,6 +138,7 @@ PyObject * libvirt_intWrap(int val);
PyObject * libvirt_longWrap(long val);
PyObject * libvirt_ulongWrap(unsigned long val);
PyObject * libvirt_longlongWrap(long long val);
+PyObject * libvirt_ulonglongWrap(unsigned long long val);
PyObject * libvirt_charPtrWrap(char *str);
PyObject * libvirt_constcharPtrWrap(const char *str);
PyObject * libvirt_charPtrConstWrap(const char *str);