From d7fbfb65c5fc35409db292cbc860cd9a5d30e2c0 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 11 May 2017 19:35:12 +0200 Subject: v0.5.3 (backported from Fedora) --- REFLECTION | 105 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 97 insertions(+), 8 deletions(-) (limited to 'REFLECTION') diff --git a/REFLECTION b/REFLECTION index 31d2e69..e567a2a 100644 --- a/REFLECTION +++ b/REFLECTION @@ -1,4 +1,4 @@ -Extension [ extension #122 libvirt version 0.5.2 ] { +Extension [ extension #102 libvirt version 0.5.3 ] { - INI { Entry [ libvirt.longlong_to_string ] @@ -15,7 +15,7 @@ Extension [ extension #122 libvirt version 0.5.2 ] { } } - - Constants [167] { + - Constants [183] { Constant [ integer VIR_DOMAIN_XML_SECURE ] { 1 } Constant [ integer VIR_DOMAIN_XML_INACTIVE ] { 2 } Constant [ integer VIR_DOMAIN_XML_UPDATE_CPU ] { 4 } @@ -78,6 +78,12 @@ Extension [ extension #122 libvirt version 0.5.2 ] { Constant [ integer VIR_NETWORKS_ACTIVE ] { 1 } Constant [ integer VIR_NETWORKS_INACTIVE ] { 2 } Constant [ integer VIR_NETWORKS_ALL ] { 3 } + Constant [ integer VIR_CONNECT_LIST_NETWORKS_INACTIVE ] { 1 } + Constant [ integer VIR_CONNECT_LIST_NETWORKS_ACTIVE ] { 2 } + Constant [ integer VIR_CONNECT_LIST_NETWORKS_PERSISTENT ] { 4 } + Constant [ integer VIR_CONNECT_LIST_NETWORKS_TRANSIENT ] { 8 } + Constant [ integer VIR_CONNECT_LIST_NETWORKS_AUTOSTART ] { 16 } + Constant [ integer VIR_CONNECT_LIST_NETWORKS_NO_AUTOSTART ] { 32 } Constant [ integer VIR_CRED_USERNAME ] { 1 } Constant [ integer VIR_CRED_AUTHNAME ] { 2 } Constant [ integer VIR_CRED_LANGUAGE ] { 3 } @@ -177,12 +183,22 @@ Extension [ extension #122 libvirt version 0.5.2 ] { Constant [ integer VIR_CONNECT_GET_ALL_DOMAINS_STATS_RUNNING ] { 16 } Constant [ integer VIR_CONNECT_GET_ALL_DOMAINS_STATS_SHUTOFF ] { 64 } Constant [ integer VIR_CONNECT_GET_ALL_DOMAINS_STATS_TRANSIENT ] { 8 } - Constant [ integer VIR_CONNECT_GET_ALL_DOMAINS_STATS_ENFORCE_STATS ] { -2147483648 } + Constant [ integer VIR_CONNECT_GET_ALL_DOMAINS_STATS_ENFORCE_STATS ] { 2147483648 } Constant [ integer VIR_DOMAIN_MEM_CONFIG ] { 2 } Constant [ integer VIR_DOMAIN_MEM_CURRENT ] { 0 } Constant [ integer VIR_DOMAIN_MEM_LIVE ] { 1 } Constant [ integer VIR_DOMAIN_MEM_MAXIMUM ] { 4 } Constant [ integer VIR_CONNECT_FLAG_SOUNDHW_GET_NAMES ] { 1 } + Constant [ integer VIR_KEYCODE_SET_LINUX ] { 0 } + Constant [ integer VIR_KEYCODE_SET_XT ] { 1 } + Constant [ integer VIR_KEYCODE_SET_ATSET1 ] { 2 } + Constant [ integer VIR_KEYCODE_SET_ATSET2 ] { 3 } + Constant [ integer VIR_KEYCODE_SET_ATSET3 ] { 4 } + Constant [ integer VIR_KEYCODE_SET_OSX ] { 5 } + Constant [ integer VIR_KEYCODE_SET_XT_KBD ] { 6 } + Constant [ integer VIR_KEYCODE_SET_USB ] { 7 } + Constant [ integer VIR_KEYCODE_SET_WIN32 ] { 8 } + Constant [ integer VIR_KEYCODE_SET_RFB ] { 9 } } - Functions { @@ -314,19 +330,19 @@ Extension [ extension #122 libvirt version 0.5.2 ] { Parameter #0 [ $conn ] } } - Function [ function libvirt_stream_send ] { + Function [ function &libvirt_stream_send ] { - Parameters [3] { Parameter #0 [ $conn ] - Parameter #1 [ $data ] + Parameter #1 [ &$data ] Parameter #2 [ $len ] } } - Function [ function libvirt_stream_recv ] { + Function [ function &libvirt_stream_recv ] { - Parameters [3] { Parameter #0 [ $conn ] - Parameter #1 [ $data ] + Parameter #1 [ &$data ] Parameter #2 [ $len ] } } @@ -451,6 +467,22 @@ Extension [ extension #122 libvirt version 0.5.2 ] { Parameter #2 [ $flags ] } } + Function [ function libvirt_domain_attach_device ] { + + - Parameters [3] { + Parameter #0 [ $conn ] + Parameter #1 [ $xml ] + Parameter #2 [ $flags ] + } + } + Function [ function libvirt_domain_detach_device ] { + + - Parameters [3] { + Parameter #0 [ $conn ] + Parameter #1 [ $xml ] + Parameter #2 [ $flags ] + } + } Function [ function libvirt_domain_get_info ] { - Parameters [1] { @@ -573,6 +605,22 @@ Extension [ extension #122 libvirt version 0.5.2 ] { Parameter #1 [ $xml ] } } + Function [ function libvirt_domain_xml_from_native ] { + + - Parameters [3] { + Parameter #0 [ $conn ] + Parameter #1 [ $format ] + Parameter #2 [ $config_data ] + } + } + Function [ function libvirt_domain_xml_to_native ] { + + - Parameters [3] { + Parameter #0 [ $conn ] + Parameter #1 [ $format ] + Parameter #2 [ $xml_data ] + } + } Function [ function libvirt_domain_memory_peek ] { - Parameters [4] { @@ -616,7 +664,7 @@ Extension [ extension #122 libvirt version 0.5.2 ] { - Parameters [4] { Parameter #0 [ $res ] Parameter #1 [ $disk ] - Parameter #2 [ $base ] + Parameter #2 [ $base ] Parameter #3 [ $top ] } } @@ -809,6 +857,16 @@ Extension [ extension #122 libvirt version 0.5.2 ] { Parameter #2 [ $scancode ] } } + Function [ function libvirt_domain_send_key_api ] { + + - Parameters [5] { + Parameter #0 [ $conn ] + Parameter #1 [ $codeset ] + Parameter #2 [ $holdime ] + Parameter #3 [ $keycodes ] + Parameter #4 [ $flags ] + } + } Function [ function libvirt_domain_send_pointer_event ] { - Parameters [6] { @@ -1128,6 +1186,24 @@ Extension [ extension #122 libvirt version 0.5.2 ] { Parameter #1 [ $flags ] } } + Function [ function libvirt_network_get_uuid_string ] { + + - Parameters [1] { + Parameter #0 [ $conn ] + } + } + Function [ function libvirt_network_get_uuid ] { + + - Parameters [1] { + Parameter #0 [ $conn ] + } + } + Function [ function libvirt_network_get_name ] { + + - Parameters [1] { + Parameter #0 [ $conn ] + } + } Function [ function libvirt_node_get_info ] { - Parameters [1] { @@ -1154,6 +1230,12 @@ Extension [ extension #122 libvirt version 0.5.2 ] { Parameter #0 [ $conn ] } } + Function [ function libvirt_node_get_free_memory ] { + + - Parameters [1] { + Parameter #0 [ $conn ] + } + } Function [ function libvirt_nodedev_get ] { - Parameters [1] { @@ -1205,6 +1287,13 @@ Extension [ extension #122 libvirt version 0.5.2 ] { Parameter #1 [ $cap ] } } + Function [ function libvirt_list_all_networks ] { + + - Parameters [2] { + Parameter #0 [ $conn ] + Parameter #1 [ $flags ] + } + } Function [ function libvirt_list_networks ] { - Parameters [2] { -- cgit