[libvirt-php PATCH 26/29] add arginfo for libvirt_domain_block_commit and libvirt_domain_block_job_info

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Chuck Roydhouse <cer@xxxxxxxxx>

---
 src/libvirt-php.c | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/src/libvirt-php.c b/src/libvirt-php.c
index 4fa24d6..36be055 100644
--- a/src/libvirt-php.c
+++ b/src/libvirt-php.c
@@ -213,6 +213,13 @@ ZEND_ARG_INFO(0, memory)
 ZEND_ARG_INFO(0, flags)
 ZEND_END_ARG_INFO()
 
+ZEND_BEGIN_ARG_INFO_EX(arginfo_libvirt_domain_block_commit, 0, 0, 3)
+ZEND_ARG_INFO(0, res)
+ZEND_ARG_INFO(0, disk)
+ZEND_ARG_INFO(0, base)
+ZEND_ARG_INFO(0, top)
+ZEND_END_ARG_INFO()
+
 ZEND_BEGIN_ARG_INFO_EX(arginfo_libvirt_conn_path, 0, 0, 2)
 ZEND_ARG_INFO(0, conn)
 ZEND_ARG_INFO(0, path)
@@ -238,6 +245,12 @@ ZEND_ARG_INFO(0, bandwidth)
 ZEND_ARG_INFO(0, flags)
 ZEND_END_ARG_INFO()
 
+ZEND_BEGIN_ARG_INFO_EX(arginfo_libvirt_domain_block_job_info, 0, 0, 2)
+ZEND_ARG_INFO(0, dom)
+ZEND_ARG_INFO(0, disk)
+ZEND_ARG_INFO(0, flags)
+ZEND_END_ARG_INFO()
+
 ZEND_BEGIN_ARG_INFO_EX(arginfo_libvirt_domain_migrate, 0, 0, 3)
 ZEND_ARG_INFO(0, res)
 ZEND_ARG_INFO(0, dest_conn)
@@ -515,10 +528,12 @@ static zend_function_entry libvirt_functions[] = {
     PHP_FE(libvirt_domain_set_memory,            arginfo_libvirt_domain_set_memory)
     PHP_FE(libvirt_domain_set_max_memory,        arginfo_libvirt_domain_set_memory)
     PHP_FE(libvirt_domain_set_memory_flags,      arginfo_libvirt_domain_set_memory_flags)
+    PHP_FE(libvirt_domain_block_commit,          arginfo_libvirt_domain_block_commit)
     PHP_FE(libvirt_domain_block_stats,           arginfo_libvirt_conn_path)
     PHP_FE(libvirt_domain_block_resize,          arginfo_libvirt_domain_block_resize)
     PHP_FE(libvirt_domain_block_job_abort,       arginfo_libvirt_domain_block_job_abort)
     PHP_FE(libvirt_domain_block_job_set_speed,   arginfo_libvirt_domain_block_job_set_speed)
+    PHP_FE(libvirt_domain_block_job_info,        arginfo_libvirt_domain_block_job_info)
     PHP_FE(libvirt_domain_interface_stats,       arginfo_libvirt_conn_path)
     PHP_FE(libvirt_domain_get_connect,           arginfo_libvirt_conn)
     PHP_FE(libvirt_domain_migrate,               arginfo_libvirt_domain_migrate)
-- 
2.5.5

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]