Blob Blame History Raw
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>GVirConnection: Libvirt-gobject Reference Manual</title>
<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
<link rel="home" href="index.html" title="Libvirt-gobject Reference Manual">
<link rel="up" href="ch01.html" title="Libvirt-gobject">
<link rel="prev" href="ch01.html" title="Libvirt-gobject">
<link rel="next" href="GVirDomain.html" title="GVirDomain">
<meta name="generator" content="GTK-Doc V1.29 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
<td width="100%" align="left" class="shortcuts">
<a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
                  <a href="#GVirConnection.description" class="shortcut">Description</a></span><span id="nav_hierarchy">  <span class="dim">|</span> 
                  <a href="#GVirConnection.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_properties">  <span class="dim">|</span> 
                  <a href="#GVirConnection.properties" class="shortcut">Properties</a></span><span id="nav_signals">  <span class="dim">|</span> 
                  <a href="#GVirConnection.signals" class="shortcut">Signals</a></span>
</td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="ch01.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="GVirDomain.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="GVirConnection"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="GVirConnection.top_of_page"></a>GVirConnection</span></h2>
<p>GVirConnection</p>
</td>
<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="GVirConnection.functions"></a><h2>Functions</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="functions_return">
<col class="functions_name">
</colgroup>
<tbody>
<tr>
<td class="function_type">
<a class="link" href="GVirConnection.html" title="GVirConnection"><span class="returnvalue">GVirConnection</span></a> *
</td>
<td class="function_name">
<a class="link" href="GVirConnection.html#gvir-connection-new" title="gvir_connection_new ()">gvir_connection_new</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="GVirConnection.html#gvir-connection-open" title="gvir_connection_open ()">gvir_connection_open</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="GVirConnection.html#gvir-connection-open-read-only" title="gvir_connection_open_read_only ()">gvir_connection_open_read_only</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GVirConnection.html#gvir-connection-open-async" title="gvir_connection_open_async ()">gvir_connection_open_async</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="GVirConnection.html#gvir-connection-open-finish" title="gvir_connection_open_finish ()">gvir_connection_open_finish</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GVirConnection.html#gvir-connection-open-read-only-async" title="gvir_connection_open_read_only_async ()">gvir_connection_open_read_only_async</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="GVirConnection.html#gvir-connection-open-read-only-finish" title="gvir_connection_open_read_only_finish ()">gvir_connection_open_read_only_finish</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="GVirConnection.html#gvir-connection-is-open" title="gvir_connection_is_open ()">gvir_connection_is_open</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="GVirConnection.html#gvir-connection-is-read-only" title="gvir_connection_is_read_only ()">gvir_connection_is_read_only</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GVirConnection.html#gvir-connection-close" title="gvir_connection_close ()">gvir_connection_close</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="GVirConnection.html#gvir-connection-fetch-domains" title="gvir_connection_fetch_domains ()">gvir_connection_fetch_domains</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GVirConnection.html#gvir-connection-fetch-domains-async" title="gvir_connection_fetch_domains_async ()">gvir_connection_fetch_domains_async</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="GVirConnection.html#gvir-connection-fetch-domains-finish" title="gvir_connection_fetch_domains_finish ()">gvir_connection_fetch_domains_finish</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
</td>
<td class="function_name">
<a class="link" href="GVirConnection.html#gvir-connection-get-uri" title="gvir_connection_get_uri ()">gvir_connection_get_uri</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
</td>
<td class="function_name">
<a class="link" href="GVirConnection.html#gvir-connection-get-hypervisor-name" title="gvir_connection_get_hypervisor_name ()">gvir_connection_get_hypervisor_name</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gulong"><span class="returnvalue">gulong</span></a>
</td>
<td class="function_name">
<a class="link" href="GVirConnection.html#gvir-connection-get-version" title="gvir_connection_get_version ()">gvir_connection_get_version</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *
</td>
<td class="function_name">
<a class="link" href="GVirConnection.html#gvir-connection-get-domains" title="gvir_connection_get_domains ()">gvir_connection_get_domains</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="GVirDomain.html" title="GVirDomain"><span class="returnvalue">GVirDomain</span></a> *
</td>
<td class="function_name">
<a class="link" href="GVirConnection.html#gvir-connection-get-domain" title="gvir_connection_get_domain ()">gvir_connection_get_domain</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="GVirDomain.html" title="GVirDomain"><span class="returnvalue">GVirDomain</span></a> *
</td>
<td class="function_name">
<a class="link" href="GVirConnection.html#gvir-connection-find-domain-by-id" title="gvir_connection_find_domain_by_id ()">gvir_connection_find_domain_by_id</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="GVirDomain.html" title="GVirDomain"><span class="returnvalue">GVirDomain</span></a> *
</td>
<td class="function_name">
<a class="link" href="GVirConnection.html#gvir-connection-find-domain-by-name" title="gvir_connection_find_domain_by_name ()">gvir_connection_find_domain_by_name</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="GVirDomain.html" title="GVirDomain"><span class="returnvalue">GVirDomain</span></a> *
</td>
<td class="function_name">
<a class="link" href="GVirConnection.html#gvir-connection-create-domain" title="gvir_connection_create_domain ()">gvir_connection_create_domain</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="GVirDomain.html" title="GVirDomain"><span class="returnvalue">GVirDomain</span></a> *
</td>
<td class="function_name">
<a class="link" href="GVirConnection.html#gvir-connection-start-domain" title="gvir_connection_start_domain ()">gvir_connection_start_domain</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="GVirConnection.html#gvir-connection-fetch-interfaces" title="gvir_connection_fetch_interfaces ()">gvir_connection_fetch_interfaces</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GVirConnection.html#gvir-connection-fetch-interfaces-async" title="gvir_connection_fetch_interfaces_async ()">gvir_connection_fetch_interfaces_async</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="GVirConnection.html#gvir-connection-fetch-interfaces-finish" title="gvir_connection_fetch_interfaces_finish ()">gvir_connection_fetch_interfaces_finish</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *
</td>
<td class="function_name">
<a class="link" href="GVirConnection.html#gvir-connection-get-interfaces" title="gvir_connection_get_interfaces ()">gvir_connection_get_interfaces</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="GVirInterface.html" title="GVirInterface"><span class="returnvalue">GVirInterface</span></a> *
</td>
<td class="function_name">
<a class="link" href="GVirConnection.html#gvir-connection-get-interface" title="gvir_connection_get_interface ()">gvir_connection_get_interface</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="GVirInterface.html" title="GVirInterface"><span class="returnvalue">GVirInterface</span></a> *
</td>
<td class="function_name">
<a class="link" href="GVirConnection.html#gvir-connection-find-interface-by-mac" title="gvir_connection_find_interface_by_mac ()">gvir_connection_find_interface_by_mac</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="GVirConnection.html#gvir-connection-fetch-networks" title="gvir_connection_fetch_networks ()">gvir_connection_fetch_networks</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GVirConnection.html#gvir-connection-fetch-networks-async" title="gvir_connection_fetch_networks_async ()">gvir_connection_fetch_networks_async</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="GVirConnection.html#gvir-connection-fetch-networks-finish" title="gvir_connection_fetch_networks_finish ()">gvir_connection_fetch_networks_finish</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *
</td>
<td class="function_name">
<a class="link" href="GVirConnection.html#gvir-connection-get-networks" title="gvir_connection_get_networks ()">gvir_connection_get_networks</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="GVirNetwork.html" title="GVirNetwork"><span class="returnvalue">GVirNetwork</span></a> *
</td>
<td class="function_name">
<a class="link" href="GVirConnection.html#gvir-connection-get-network" title="gvir_connection_get_network ()">gvir_connection_get_network</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="GVirNetwork.html" title="GVirNetwork"><span class="returnvalue">GVirNetwork</span></a> *
</td>
<td class="function_name">
<a class="link" href="GVirConnection.html#gvir-connection-find-network-by-name" title="gvir_connection_find_network_by_name ()">gvir_connection_find_network_by_name</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *
</td>
<td class="function_name">
<a class="link" href="GVirConnection.html#gvir-connection-get-network-filters" title="gvir_connection_get_network_filters ()">gvir_connection_get_network_filters</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="GVirNetworkFilter.html" title="GVirNetworkFilter"><span class="returnvalue">GVirNetworkFilter</span></a> *
</td>
<td class="function_name">
<a class="link" href="GVirConnection.html#gvir-connection-get-network-filter" title="gvir_connection_get_network_filter ()">gvir_connection_get_network_filter</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="GVirNetworkFilter.html" title="GVirNetworkFilter"><span class="returnvalue">GVirNetworkFilter</span></a> *
</td>
<td class="function_name">
<a class="link" href="GVirConnection.html#gvir-connection-find-network-filter-by-name" title="gvir_connection_find_network_filter_by_name ()">gvir_connection_find_network_filter_by_name</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *
</td>
<td class="function_name">
<a class="link" href="GVirConnection.html#gvir-connection-get-node-devices" title="gvir_connection_get_node_devices ()">gvir_connection_get_node_devices</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="GVirNodeDevice.html" title="GVirNodeDevice"><span class="returnvalue">GVirNodeDevice</span></a> *
</td>
<td class="function_name">
<a class="link" href="GVirConnection.html#gvir-connection-get-node-device" title="gvir_connection_get_node_device ()">gvir_connection_get_node_device</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *
</td>
<td class="function_name">
<a class="link" href="GVirConnection.html#gvir-connection-get-secrets" title="gvir_connection_get_secrets ()">gvir_connection_get_secrets</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="GVirSecret.html" title="GVirSecret"><span class="returnvalue">GVirSecret</span></a> *
</td>
<td class="function_name">
<a class="link" href="GVirConnection.html#gvir-connection-get-secret" title="gvir_connection_get_secret ()">gvir_connection_get_secret</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="GVirConnection.html#gvir-connection-fetch-storage-pools" title="gvir_connection_fetch_storage_pools ()">gvir_connection_fetch_storage_pools</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GVirConnection.html#gvir-connection-fetch-storage-pools-async" title="gvir_connection_fetch_storage_pools_async ()">gvir_connection_fetch_storage_pools_async</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="GVirConnection.html#gvir-connection-fetch-storage-pools-finish" title="gvir_connection_fetch_storage_pools_finish ()">gvir_connection_fetch_storage_pools_finish</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *
</td>
<td class="function_name">
<a class="link" href="GVirConnection.html#gvir-connection-get-storage-pools" title="gvir_connection_get_storage_pools ()">gvir_connection_get_storage_pools</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="GVirStoragePool.html" title="GVirStoragePool"><span class="returnvalue">GVirStoragePool</span></a> *
</td>
<td class="function_name">
<a class="link" href="GVirConnection.html#gvir-connection-get-storage-pool" title="gvir_connection_get_storage_pool ()">gvir_connection_get_storage_pool</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="GVirStoragePool.html" title="GVirStoragePool"><span class="returnvalue">GVirStoragePool</span></a> *
</td>
<td class="function_name">
<a class="link" href="GVirConnection.html#gvir-connection-find-storage-pool-by-name" title="gvir_connection_find_storage_pool_by_name ()">gvir_connection_find_storage_pool_by_name</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="GVirStoragePool.html" title="GVirStoragePool"><span class="returnvalue">GVirStoragePool</span></a> *
</td>
<td class="function_name">
<a class="link" href="GVirConnection.html#gvir-connection-create-storage-pool" title="gvir_connection_create_storage_pool ()">gvir_connection_create_storage_pool</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="GVirStream.html" title="GVirStream"><span class="returnvalue">GVirStream</span></a> *
</td>
<td class="function_name">
<a class="link" href="GVirConnection.html#gvir-connection-get-stream" title="gvir_connection_get_stream ()">gvir_connection_get_stream</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="GVirConnection.html#GVirNodeInfo"><span class="returnvalue">GVirNodeInfo</span></a> *
</td>
<td class="function_name">
<a class="link" href="GVirConnection.html#gvir-connection-get-node-info" title="gvir_connection_get_node_info ()">gvir_connection_get_node_info</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/Libvirt-gconfig/GVirConfigCapabilities.html#GVirConfigCapabilities-struct"><span class="returnvalue">GVirConfigCapabilities</span></a> *
</td>
<td class="function_name">
<a class="link" href="GVirConnection.html#gvir-connection-get-capabilities" title="gvir_connection_get_capabilities ()">gvir_connection_get_capabilities</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GVirConnection.html#gvir-connection-get-capabilities-async" title="gvir_connection_get_capabilities_async ()">gvir_connection_get_capabilities_async</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/Libvirt-gconfig/GVirConfigCapabilities.html#GVirConfigCapabilities-struct"><span class="returnvalue">GVirConfigCapabilities</span></a> *
</td>
<td class="function_name">
<a class="link" href="GVirConnection.html#gvir-connection-get-capabilities-finish" title="gvir_connection_get_capabilities_finish ()">gvir_connection_get_capabilities_finish</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="GVirConnection.html#gvir-connection-restore-domain-from-file" title="gvir_connection_restore_domain_from_file ()">gvir_connection_restore_domain_from_file</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GVirConnection.html#gvir-connection-restore-domain-from-file-async" title="gvir_connection_restore_domain_from_file_async ()">gvir_connection_restore_domain_from_file_async</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="GVirConnection.html#gvir-connection-restore-domain-from-file-finish" title="gvir_connection_restore_domain_from_file_finish ()">gvir_connection_restore_domain_from_file_finish</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">GVirConfigDomainCapabilities</span> *
</td>
<td class="function_name">
<a class="link" href="GVirConnection.html#gvir-connection-get-domain-capabilities" title="gvir_connection_get_domain_capabilities ()">gvir_connection_get_domain_capabilities</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GVirConnection.html#gvir-connection-get-domain-capabilities-async" title="gvir_connection_get_domain_capabilities_async ()">gvir_connection_get_domain_capabilities_async</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">GVirConfigDomainCapabilities</span> *
</td>
<td class="function_name">
<a class="link" href="GVirConnection.html#gvir-connection-get-domain-capabilities-finish" title="gvir_connection_get_domain_capabilities_finish ()">gvir_connection_get_domain_capabilities_finish</a> <span class="c_punctuation">()</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="GVirConnection.properties"></a><h2>Properties</h2>
<div class="informaltable"><table class="informaltable" border="0">
<colgroup>
<col width="150px" class="properties_type">
<col width="300px" class="properties_name">
<col width="200px" class="properties_flags">
</colgroup>
<tbody>
<tr>
<td class="property_type">
<span class="type">GVirConnectionHandle</span> *</td>
<td class="property_name"><a class="link" href="GVirConnection.html#GVirConnection--handle" title="The “handle” property">handle</a></td>
<td class="property_flags">Read / Write / Construct Only</td>
</tr>
<tr>
<td class="property_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
<td class="property_name"><a class="link" href="GVirConnection.html#GVirConnection--uri" title="The “uri” property">uri</a></td>
<td class="property_flags">Read / Write / Construct Only</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="GVirConnection.signals"></a><h2>Signals</h2>
<div class="informaltable"><table class="informaltable" border="0">
<colgroup>
<col width="150px" class="signals_return">
<col width="300px" class="signals_name">
<col width="200px" class="signals_flags">
</colgroup>
<tbody>
<tr>
<td class="signal_type"><span class="returnvalue">void</span></td>
<td class="signal_name"><a class="link" href="GVirConnection.html#GVirConnection-connection-closed" title="The “connection-closed” signal">connection-closed</a></td>
<td class="signal_flags"><a href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-FIRST:CAPS">Run First</a></td>
</tr>
<tr>
<td class="signal_type"><span class="returnvalue">void</span></td>
<td class="signal_name"><a class="link" href="GVirConnection.html#GVirConnection-connection-opened" title="The “connection-opened” signal">connection-opened</a></td>
<td class="signal_flags"><a href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-FIRST:CAPS">Run First</a></td>
</tr>
<tr>
<td class="signal_type"><span class="returnvalue">void</span></td>
<td class="signal_name"><a class="link" href="GVirConnection.html#GVirConnection-domain-added" title="The “domain-added” signal">domain-added</a></td>
<td class="signal_flags"><a href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-FIRST:CAPS">Run First</a></td>
</tr>
<tr>
<td class="signal_type"><span class="returnvalue">void</span></td>
<td class="signal_name"><a class="link" href="GVirConnection.html#GVirConnection-domain-removed" title="The “domain-removed” signal">domain-removed</a></td>
<td class="signal_flags"><a href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-FIRST:CAPS">Run First</a></td>
</tr>
</tbody>
</table></div>
</div>
<a name="GVirNodeInfo"></a><div class="refsect1">
<a name="GVirConnection.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="screen">    <a href="/usr/share/gtk-doc/html/gobject/gobject-Boxed-Types.html">GBoxed</a>
    <span class="lineart">╰──</span> GVirNodeInfo
    <a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject-struct">GObject</a>
    <span class="lineart">╰──</span> GVirConnection
</pre>
</div>
<div class="refsect1">
<a name="GVirConnection.description"></a><h2>Description</h2>
</div>
<div class="refsect1">
<a name="GVirConnection.functions_details"></a><h2>Functions</h2>
<div class="refsect2">
<a name="gvir-connection-new"></a><h3>gvir_connection_new ()</h3>
<pre class="programlisting"><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="returnvalue">GVirConnection</span></a> *
gvir_connection_new (<em class="parameter"><code>const <span class="type">char</span> *uri</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="gvir-connection-open"></a><h3>gvir_connection_open ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
gvir_connection_open (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>,
                      <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gio/GCancellable.html#GCancellable-struct"><span class="type">GCancellable</span></a> *cancellable</code></em>,
                      <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **err</code></em>);</pre>
<div class="refsect3">
<a name="gvir-connection-open.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>conn</p></td>
<td class="parameter_description"><p>a <a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>cancellable</p></td>
<td class="parameter_description"><p>cancellation object. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>][<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gvir-connection-open-read-only"></a><h3>gvir_connection_open_read_only ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
gvir_connection_open_read_only (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>,
                                <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gio/GCancellable.html#GCancellable-struct"><span class="type">GCancellable</span></a> *cancellable</code></em>,
                                <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **err</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="gvir-connection-open-async"></a><h3>gvir_connection_open_async ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gvir_connection_open_async (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>,
                            <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gio/GCancellable.html#GCancellable-struct"><span class="type">GCancellable</span></a> *cancellable</code></em>,
                            <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gio/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
                            <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
<div class="refsect3">
<a name="gvir-connection-open-async.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>conn</p></td>
<td class="parameter_description"><p>a <a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>cancellable</p></td>
<td class="parameter_description"><p>cancellation object. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>][<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>callback</p></td>
<td class="parameter_description"><p>completion callback. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="The callback is valid until first called."><span class="acronym">scope async</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>user_data</p></td>
<td class="parameter_description"><p>opaque data for callback. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="This parameter is a 'user_data', for callbacks; many bindings can pass NULL here."><span class="acronym">closure</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gvir-connection-open-finish"></a><h3>gvir_connection_open_finish ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
gvir_connection_open_finish (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>,
                             <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gio/GAsyncResult.html#GAsyncResult-struct"><span class="type">GAsyncResult</span></a> *result</code></em>,
                             <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **err</code></em>);</pre>
<div class="refsect3">
<a name="gvir-connection-open-finish.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>conn</p></td>
<td class="parameter_description"><p>a <a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>result</p></td>
<td class="parameter_description"><p>async method result. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gvir-connection-open-read-only-async"></a><h3>gvir_connection_open_read_only_async ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gvir_connection_open_read_only_async (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>,
                                      <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gio/GCancellable.html#GCancellable-struct"><span class="type">GCancellable</span></a> *cancellable</code></em>,
                                      <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gio/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
                                      <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
<div class="refsect3">
<a name="gvir-connection-open-read-only-async.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>conn</p></td>
<td class="parameter_description"><p>a <a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>cancellable</p></td>
<td class="parameter_description"><p>cancellation object. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>][<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>callback</p></td>
<td class="parameter_description"><p>completion callback. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="The callback is valid until first called."><span class="acronym">scope async</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>user_data</p></td>
<td class="parameter_description"><p>opaque data for callback. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="This parameter is a 'user_data', for callbacks; many bindings can pass NULL here."><span class="acronym">closure</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gvir-connection-open-read-only-finish"></a><h3>gvir_connection_open_read_only_finish ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
gvir_connection_open_read_only_finish (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>,
                                       <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gio/GAsyncResult.html#GAsyncResult-struct"><span class="type">GAsyncResult</span></a> *result</code></em>,
                                       <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **err</code></em>);</pre>
<div class="refsect3">
<a name="gvir-connection-open-read-only-finish.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>conn</p></td>
<td class="parameter_description"><p>a <a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>result</p></td>
<td class="parameter_description"><p>async method result. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gvir-connection-is-open"></a><h3>gvir_connection_is_open ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
gvir_connection_is_open (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="gvir-connection-is-read-only"></a><h3>gvir_connection_is_read_only ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
gvir_connection_is_read_only (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="gvir-connection-close"></a><h3>gvir_connection_close ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gvir_connection_close (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="gvir-connection-fetch-domains"></a><h3>gvir_connection_fetch_domains ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
gvir_connection_fetch_domains (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>,
                               <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gio/GCancellable.html#GCancellable-struct"><span class="type">GCancellable</span></a> *cancellable</code></em>,
                               <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **err</code></em>);</pre>
<p>Use this method to fetch all domains managed by connection
<em class="parameter"><code>conn</code></em>
. Use e.g. <a class="link" href="GVirConnection.html#gvir-connection-find-domain-by-id" title="gvir_connection_find_domain_by_id ()"><span class="type">gvir_connection_find_domain_by_id</span></a> or
<a class="link" href="GVirConnection.html#gvir-connection-get-domain" title="gvir_connection_get_domain ()"><span class="type">gvir_connection_get_domain</span></a> afterwards to query the fetched
domains.</p>
<div class="refsect3">
<a name="gvir-connection-fetch-domains.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>conn</p></td>
<td class="parameter_description"><p>a <a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>cancellable</p></td>
<td class="parameter_description"><p>cancellation object. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>][<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gvir-connection-fetch-domains-async"></a><h3>gvir_connection_fetch_domains_async ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gvir_connection_fetch_domains_async (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>,
                                     <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gio/GCancellable.html#GCancellable-struct"><span class="type">GCancellable</span></a> *cancellable</code></em>,
                                     <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gio/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
                                     <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
<div class="refsect3">
<a name="gvir-connection-fetch-domains-async.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>conn</p></td>
<td class="parameter_description"><p>a <a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>cancellable</p></td>
<td class="parameter_description"><p>cancellation object. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>][<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>callback</p></td>
<td class="parameter_description"><p>completion callback. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="The callback is valid until first called."><span class="acronym">scope async</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>user_data</p></td>
<td class="parameter_description"><p>opaque data for callback. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="This parameter is a 'user_data', for callbacks; many bindings can pass NULL here."><span class="acronym">closure</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gvir-connection-fetch-domains-finish"></a><h3>gvir_connection_fetch_domains_finish ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
gvir_connection_fetch_domains_finish (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>,
                                      <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gio/GAsyncResult.html#GAsyncResult-struct"><span class="type">GAsyncResult</span></a> *result</code></em>,
                                      <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **err</code></em>);</pre>
<div class="refsect3">
<a name="gvir-connection-fetch-domains-finish.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>conn</p></td>
<td class="parameter_description"><p>a <a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>result</p></td>
<td class="parameter_description"><p>async method result. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gvir-connection-get-uri"></a><h3>gvir_connection_get_uri ()</h3>
<pre class="programlisting">const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
gvir_connection_get_uri (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="gvir-connection-get-hypervisor-name"></a><h3>gvir_connection_get_hypervisor_name ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
gvir_connection_get_hypervisor_name (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>,
                                     <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **err</code></em>);</pre>
<p>Get name of current hypervisor used.</p>
<div class="refsect3">
<a name="gvir-connection-get-hypervisor-name.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>conn</p></td>
<td class="parameter_description"><p>a <a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>err</p></td>
<td class="parameter_description"><p>return location for any <a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gvir-connection-get-hypervisor-name.returns"></a><h4>Returns</h4>
<p> new string that should be freed when no longer needed,
or NULL upon error.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gvir-connection-get-version"></a><h3>gvir_connection_get_version ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gulong"><span class="returnvalue">gulong</span></a>
gvir_connection_get_version (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>,
                             <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **err</code></em>);</pre>
<p>Get version of current hypervisor used.</p>
<div class="refsect3">
<a name="gvir-connection-get-version.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>conn</p></td>
<td class="parameter_description"><p>a <a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>err</p></td>
<td class="parameter_description"><p>return location for any <a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gvir-connection-get-version.returns"></a><h4>Returns</h4>
<p> version on success, 0 otherwise and <em class="parameter"><code>err</code></em>
set.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gvir-connection-get-domains"></a><h3>gvir_connection_get_domains ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *
gvir_connection_get_domains (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>);</pre>
<p>Gets a list of the domains available through <em class="parameter"><code>conn</code></em>
.</p>
<div class="refsect3">
<a name="gvir-connection-get-domains.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>conn</p></td>
<td class="parameter_description"><p>a <a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gvir-connection-get-domains.returns"></a><h4>Returns</h4>
<p>List
of <a class="link" href="GVirDomain.html" title="GVirDomain"><span class="type">GVirDomain</span></a>. The returned list should be freed with <a href="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#g-list-free"><code class="function">g_list_free()</code></a>,
after its elements have been unreffed with <a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a>. </p>
<p><span class="annotation">[<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> LibvirtGObject.Domain][<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gvir-connection-get-domain"></a><h3>gvir_connection_get_domain ()</h3>
<pre class="programlisting"><a class="link" href="GVirDomain.html" title="GVirDomain"><span class="returnvalue">GVirDomain</span></a> *
gvir_connection_get_domain (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>,
                            <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *uuid</code></em>);</pre>
<div class="refsect3">
<a name="gvir-connection-get-domain.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>conn</p></td>
<td class="parameter_description"><p>a <a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>uuid</p></td>
<td class="parameter_description"><p>uuid string of the requested domain</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gvir-connection-get-domain.returns"></a><h4>Returns</h4>
<p>the <a class="link" href="GVirDomain.html" title="GVirDomain"><span class="type">GVirDomain</span></a>, or NULL. The returned
object should be unreffed with <a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a> when no longer needed. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gvir-connection-find-domain-by-id"></a><h3>gvir_connection_find_domain_by_id ()</h3>
<pre class="programlisting"><a class="link" href="GVirDomain.html" title="GVirDomain"><span class="returnvalue">GVirDomain</span></a> *
gvir_connection_find_domain_by_id (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>,
                                   <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> id</code></em>);</pre>
<div class="refsect3">
<a name="gvir-connection-find-domain-by-id.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>conn</p></td>
<td class="parameter_description"><p>a <a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>id</p></td>
<td class="parameter_description"><p>id of the requested domain</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gvir-connection-find-domain-by-id.returns"></a><h4>Returns</h4>
<p>the <a class="link" href="GVirDomain.html" title="GVirDomain"><span class="type">GVirDomain</span></a>, or NULL. The returned
object should be unreffed with <a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a> when no longer needed. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gvir-connection-find-domain-by-name"></a><h3>gvir_connection_find_domain_by_name ()</h3>
<pre class="programlisting"><a class="link" href="GVirDomain.html" title="GVirDomain"><span class="returnvalue">GVirDomain</span></a> *
gvir_connection_find_domain_by_name (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>,
                                     <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>);</pre>
<div class="refsect3">
<a name="gvir-connection-find-domain-by-name.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>conn</p></td>
<td class="parameter_description"><p>a <a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>name</p></td>
<td class="parameter_description"><p>name of the requested domain</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gvir-connection-find-domain-by-name.returns"></a><h4>Returns</h4>
<p>the <a class="link" href="GVirDomain.html" title="GVirDomain"><span class="type">GVirDomain</span></a>, or NULL. The returned
object should be unreffed with <a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a> when no longer needed. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gvir-connection-create-domain"></a><h3>gvir_connection_create_domain ()</h3>
<pre class="programlisting"><a class="link" href="GVirDomain.html" title="GVirDomain"><span class="returnvalue">GVirDomain</span></a> *
gvir_connection_create_domain (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>,
                               <em class="parameter"><code><a href="/usr/share/gtk-doc/html/Libvirt-gconfig/GVirConfigDomain.html#GVirConfigDomain-struct"><span class="type">GVirConfigDomain</span></a> *conf</code></em>,
                               <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **err</code></em>);</pre>
<p>Create the configuration file for a new persistent domain.
The returned domain will initially be in the shutoff state.</p>
<div class="refsect3">
<a name="gvir-connection-create-domain.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>conn</p></td>
<td class="parameter_description"><p>a <a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> on which to create the domain</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>conf</p></td>
<td class="parameter_description"><p>the configuration for the new domain</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gvir-connection-create-domain.returns"></a><h4>Returns</h4>
<p>the newly created domain, or NULL if an error
occurred. The returned object should be unreffed with <a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a>
when no longer needed. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gvir-connection-start-domain"></a><h3>gvir_connection_start_domain ()</h3>
<pre class="programlisting"><a class="link" href="GVirDomain.html" title="GVirDomain"><span class="returnvalue">GVirDomain</span></a> *
gvir_connection_start_domain (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>,
                              <em class="parameter"><code><a href="/usr/share/gtk-doc/html/Libvirt-gconfig/GVirConfigDomain.html#GVirConfigDomain-struct"><span class="type">GVirConfigDomain</span></a> *conf</code></em>,
                              <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> flags</code></em>,
                              <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **err</code></em>);</pre>
<p>Start a new transient domain without persistent configuration.
The returned domain will initially be running.</p>
<div class="refsect3">
<a name="gvir-connection-start-domain.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>conn</p></td>
<td class="parameter_description"><p>a <a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> on which to create the domain</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>conf</p></td>
<td class="parameter_description"><p>the configuration for the new domain</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gvir-connection-start-domain.returns"></a><h4>Returns</h4>
<p>the newly created domain, or NULL if an error
occurred. The returned object should be unreffed with <a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a>
when no longer needed. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gvir-connection-fetch-interfaces"></a><h3>gvir_connection_fetch_interfaces ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
gvir_connection_fetch_interfaces (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>,
                                  <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gio/GCancellable.html#GCancellable-struct"><span class="type">GCancellable</span></a> *cancellable</code></em>,
                                  <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **err</code></em>);</pre>
<p>Use this method to fetch information on all network interfaces
managed by connection <em class="parameter"><code>conn</code></em>
 on host machine. Use
<a class="link" href="GVirConnection.html#gvir-connection-get-interfaces" title="gvir_connection_get_interfaces ()"><span class="type">gvir_connection_get_interfaces</span></a> or <a class="link" href="GVirConnection.html#gvir-connection-get-interface" title="gvir_connection_get_interface ()"><span class="type">gvir_connection_get_interface</span></a> afterwards
to query the fetched interfaces.</p>
<div class="refsect3">
<a name="gvir-connection-fetch-interfaces.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>conn</p></td>
<td class="parameter_description"><p>a <a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>cancellable</p></td>
<td class="parameter_description"><p>cancellation object. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>][<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>err</p></td>
<td class="parameter_description"><p>return location for any errors</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gvir-connection-fetch-interfaces.returns"></a><h4>Returns</h4>
<p> <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success, <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise and <em class="parameter"><code>err</code></em>
is set.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gvir-connection-fetch-interfaces-async"></a><h3>gvir_connection_fetch_interfaces_async ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gvir_connection_fetch_interfaces_async
                               (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>,
                                <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gio/GCancellable.html#GCancellable-struct"><span class="type">GCancellable</span></a> *cancellable</code></em>,
                                <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gio/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
                                <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
<div class="refsect3">
<a name="gvir-connection-fetch-interfaces-async.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>conn</p></td>
<td class="parameter_description"><p>a <a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>cancellable</p></td>
<td class="parameter_description"><p>cancellation object. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>][<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>callback</p></td>
<td class="parameter_description"><p>completion callback. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="The callback is valid until first called."><span class="acronym">scope async</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>user_data</p></td>
<td class="parameter_description"><p>opaque data for callback. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="This parameter is a 'user_data', for callbacks; many bindings can pass NULL here."><span class="acronym">closure</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gvir-connection-fetch-interfaces-finish"></a><h3>gvir_connection_fetch_interfaces_finish ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
gvir_connection_fetch_interfaces_finish
                               (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>,
                                <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gio/GAsyncResult.html#GAsyncResult-struct"><span class="type">GAsyncResult</span></a> *result</code></em>,
                                <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **err</code></em>);</pre>
<div class="refsect3">
<a name="gvir-connection-fetch-interfaces-finish.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>conn</p></td>
<td class="parameter_description"><p>a <a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>result</p></td>
<td class="parameter_description"><p>async method result. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>err</p></td>
<td class="parameter_description"><p>return location for any errors</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gvir-connection-get-interfaces"></a><h3>gvir_connection_get_interfaces ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *
gvir_connection_get_interfaces (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>);</pre>
<p>Get a list of all the network interfaces managed by connection <em class="parameter"><code>conn</code></em>
 on
host machine.</p>
<div class="refsect3">
<a name="gvir-connection-get-interfaces.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>conn</p></td>
<td class="parameter_description"><p>a <a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gvir-connection-get-interfaces.returns"></a><h4>Returns</h4>
<p>List
of <a class="link" href="GVirInterface.html" title="GVirInterface"><span class="type">GVirInterface</span></a>. The returned list should be freed with <a href="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#g-list-free"><code class="function">g_list_free()</code></a>,
after its elements have been unreffed with <a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a>. </p>
<p><span class="annotation">[<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> LibvirtGObject.Interface][<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gvir-connection-get-interface"></a><h3>gvir_connection_get_interface ()</h3>
<pre class="programlisting"><a class="link" href="GVirInterface.html" title="GVirInterface"><span class="returnvalue">GVirInterface</span></a> *
gvir_connection_get_interface (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>,
                               <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>);</pre>
<p>Get a particular interface which has name <em class="parameter"><code>name</code></em>
.</p>
<div class="refsect3">
<a name="gvir-connection-get-interface.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>conn</p></td>
<td class="parameter_description"><p>a <a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>name</p></td>
<td class="parameter_description"><p>interface name to lookup</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gvir-connection-get-interface.returns"></a><h4>Returns</h4>
<p>A new reference to a <a class="link" href="GVirInterface.html" title="GVirInterface"><span class="type">GVirInterface</span></a>, or NULL
if no interface exists with name <em class="parameter"><code>name</code></em>
. The returned object must be unreffed
using <a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a> once used. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gvir-connection-find-interface-by-mac"></a><h3>gvir_connection_find_interface_by_mac ()</h3>
<pre class="programlisting"><a class="link" href="GVirInterface.html" title="GVirInterface"><span class="returnvalue">GVirInterface</span></a> *
gvir_connection_find_interface_by_mac (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>,
                                       <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *macaddr</code></em>);</pre>
<p>Get a particular interface which has MAC address <em class="parameter"><code>mac</code></em>
.</p>
<div class="refsect3">
<a name="gvir-connection-find-interface-by-mac.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>conn</p></td>
<td class="parameter_description"><p>a <a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>macaddr</p></td>
<td class="parameter_description"><p>MAC address to lookup</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gvir-connection-find-interface-by-mac.returns"></a><h4>Returns</h4>
<p>A new reference to a <a class="link" href="GVirInterface.html" title="GVirInterface"><span class="type">GVirInterface</span></a>, or NULL
if no interface exists with MAC address <em class="parameter"><code>mac</code></em>
. The returned object must be
unreffed using <a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a> once used. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gvir-connection-fetch-networks"></a><h3>gvir_connection_fetch_networks ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
gvir_connection_fetch_networks (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>,
                                <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gio/GCancellable.html#GCancellable-struct"><span class="type">GCancellable</span></a> *cancellable</code></em>,
                                <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **err</code></em>);</pre>
<p>Use this method to fetch all networks managed by connection
<em class="parameter"><code>conn</code></em>
. Use e.g. <a class="link" href="GVirConnection.html#gvir-connection-find-network-by-name" title="gvir_connection_find_network_by_name ()"><span class="type">gvir_connection_find_network_by_name</span></a> or
<a class="link" href="GVirConnection.html#gvir-connection-get-networks" title="gvir_connection_get_networks ()"><span class="type">gvir_connection_get_networks</span></a> afterwards to query the fetched
domains.</p>
<div class="refsect3">
<a name="gvir-connection-fetch-networks.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>conn</p></td>
<td class="parameter_description"><p>a <a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>cancellable</p></td>
<td class="parameter_description"><p>cancellation object. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>][<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gvir-connection-fetch-networks-async"></a><h3>gvir_connection_fetch_networks_async ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gvir_connection_fetch_networks_async (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>,
                                      <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gio/GCancellable.html#GCancellable-struct"><span class="type">GCancellable</span></a> *cancellable</code></em>,
                                      <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gio/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
                                      <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
<div class="refsect3">
<a name="gvir-connection-fetch-networks-async.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>conn</p></td>
<td class="parameter_description"><p>a <a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>cancellable</p></td>
<td class="parameter_description"><p>cancellation object. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>][<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>callback</p></td>
<td class="parameter_description"><p>completion callback. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="The callback is valid until first called."><span class="acronym">scope async</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>user_data</p></td>
<td class="parameter_description"><p>opaque data for callback. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="This parameter is a 'user_data', for callbacks; many bindings can pass NULL here."><span class="acronym">closure</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gvir-connection-fetch-networks-finish"></a><h3>gvir_connection_fetch_networks_finish ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
gvir_connection_fetch_networks_finish (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>,
                                       <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gio/GAsyncResult.html#GAsyncResult-struct"><span class="type">GAsyncResult</span></a> *result</code></em>,
                                       <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **err</code></em>);</pre>
<div class="refsect3">
<a name="gvir-connection-fetch-networks-finish.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>conn</p></td>
<td class="parameter_description"><p>a <a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>result</p></td>
<td class="parameter_description"><p>async method result. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>err</p></td>
<td class="parameter_description"><p>return location for any errors</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gvir-connection-get-networks"></a><h3>gvir_connection_get_networks ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *
gvir_connection_get_networks (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>);</pre>
<p>Get a list of all the network networks available through <em class="parameter"><code>conn</code></em>
.</p>
<div class="refsect3">
<a name="gvir-connection-get-networks.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>conn</p></td>
<td class="parameter_description"><p>a <a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gvir-connection-get-networks.returns"></a><h4>Returns</h4>
<p>List
of <a class="link" href="GVirNetwork.html" title="GVirNetwork"><span class="type">GVirNetwork</span></a>. The returned list should be freed with <a href="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#g-list-free"><code class="function">g_list_free()</code></a>,
after its elements have been unreffed with <a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a>. </p>
<p><span class="annotation">[<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> LibvirtGObject.Network][<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gvir-connection-get-network"></a><h3>gvir_connection_get_network ()</h3>
<pre class="programlisting"><a class="link" href="GVirNetwork.html" title="GVirNetwork"><span class="returnvalue">GVirNetwork</span></a> *
gvir_connection_get_network (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>,
                             <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *uuid</code></em>);</pre>
<p>Get a particular network which has UUID <em class="parameter"><code>uuid</code></em>
.</p>
<div class="refsect3">
<a name="gvir-connection-get-network.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>conn</p></td>
<td class="parameter_description"><p>a <a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>uuid</p></td>
<td class="parameter_description"><p>UUID of the network to lookup</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gvir-connection-get-network.returns"></a><h4>Returns</h4>
<p>A new reference to a <a class="link" href="GVirNetwork.html" title="GVirNetwork"><span class="type">GVirNetwork</span></a>, or NULL if
no network exists with UUID <em class="parameter"><code>uuid</code></em>
. The returned object must be unreffed using
<a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a> once used. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gvir-connection-find-network-by-name"></a><h3>gvir_connection_find_network_by_name ()</h3>
<pre class="programlisting"><a class="link" href="GVirNetwork.html" title="GVirNetwork"><span class="returnvalue">GVirNetwork</span></a> *
gvir_connection_find_network_by_name (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>,
                                      <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>);</pre>
<p>Get a particular network which has name <em class="parameter"><code>name</code></em>
.</p>
<div class="refsect3">
<a name="gvir-connection-find-network-by-name.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>conn</p></td>
<td class="parameter_description"><p>a <a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>name</p></td>
<td class="parameter_description"><p>name of the network to search for</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gvir-connection-find-network-by-name.returns"></a><h4>Returns</h4>
<p>A new reference to a <a class="link" href="GVirNetwork.html" title="GVirNetwork"><span class="type">GVirNetwork</span></a>, or NULL if
no network exists with name <em class="parameter"><code>name</code></em>
. The returned object must be unreffed using
<a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a> once used. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gvir-connection-get-network-filters"></a><h3>gvir_connection_get_network_filters ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *
gvir_connection_get_network_filters (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="gvir-connection-get-network-filter"></a><h3>gvir_connection_get_network_filter ()</h3>
<pre class="programlisting"><a class="link" href="GVirNetworkFilter.html" title="GVirNetworkFilter"><span class="returnvalue">GVirNetworkFilter</span></a> *
gvir_connection_get_network_filter (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>,
                                    <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *uuid</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="gvir-connection-find-network-filter-by-name"></a><h3>gvir_connection_find_network_filter_by_name ()</h3>
<pre class="programlisting"><a class="link" href="GVirNetworkFilter.html" title="GVirNetworkFilter"><span class="returnvalue">GVirNetworkFilter</span></a> *
gvir_connection_find_network_filter_by_name
                               (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>,
                                <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="gvir-connection-get-node-devices"></a><h3>gvir_connection_get_node_devices ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *
gvir_connection_get_node_devices (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="gvir-connection-get-node-device"></a><h3>gvir_connection_get_node_device ()</h3>
<pre class="programlisting"><a class="link" href="GVirNodeDevice.html" title="GVirNodeDevice"><span class="returnvalue">GVirNodeDevice</span></a> *
gvir_connection_get_node_device (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>,
                                 <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="gvir-connection-get-secrets"></a><h3>gvir_connection_get_secrets ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *
gvir_connection_get_secrets (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="gvir-connection-get-secret"></a><h3>gvir_connection_get_secret ()</h3>
<pre class="programlisting"><a class="link" href="GVirSecret.html" title="GVirSecret"><span class="returnvalue">GVirSecret</span></a> *
gvir_connection_get_secret (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>,
                            <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *uuid</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="gvir-connection-fetch-storage-pools"></a><h3>gvir_connection_fetch_storage_pools ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
gvir_connection_fetch_storage_pools (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>,
                                     <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gio/GCancellable.html#GCancellable-struct"><span class="type">GCancellable</span></a> *cancellable</code></em>,
                                     <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **err</code></em>);</pre>
<p>Use this method to fetch all storage pools managed by connection
<em class="parameter"><code>conn</code></em>
. Use e.g. <a class="link" href="GVirConnection.html#gvir-connection-find-storage-pool-by-name" title="gvir_connection_find_storage_pool_by_name ()"><span class="type">gvir_connection_find_storage_pool_by_name</span></a> or
<a class="link" href="GVirConnection.html#gvir-connection-get-storage-pools" title="gvir_connection_get_storage_pools ()"><span class="type">gvir_connection_get_storage_pools</span></a> afterwards to query the fetched
pools.</p>
<div class="refsect3">
<a name="gvir-connection-fetch-storage-pools.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>conn</p></td>
<td class="parameter_description"><p>a <a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>cancellable</p></td>
<td class="parameter_description"><p>cancellation object. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>][<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gvir-connection-fetch-storage-pools-async"></a><h3>gvir_connection_fetch_storage_pools_async ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gvir_connection_fetch_storage_pools_async
                               (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>,
                                <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gio/GCancellable.html#GCancellable-struct"><span class="type">GCancellable</span></a> *cancellable</code></em>,
                                <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gio/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
                                <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
<div class="refsect3">
<a name="gvir-connection-fetch-storage-pools-async.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>conn</p></td>
<td class="parameter_description"><p>a <a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>cancellable</p></td>
<td class="parameter_description"><p>cancellation object. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>][<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>callback</p></td>
<td class="parameter_description"><p>completion callback. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="The callback is valid until first called."><span class="acronym">scope async</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>user_data</p></td>
<td class="parameter_description"><p>opaque data for callback. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="This parameter is a 'user_data', for callbacks; many bindings can pass NULL here."><span class="acronym">closure</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gvir-connection-fetch-storage-pools-finish"></a><h3>gvir_connection_fetch_storage_pools_finish ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
gvir_connection_fetch_storage_pools_finish
                               (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>,
                                <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gio/GAsyncResult.html#GAsyncResult-struct"><span class="type">GAsyncResult</span></a> *result</code></em>,
                                <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **err</code></em>);</pre>
<div class="refsect3">
<a name="gvir-connection-fetch-storage-pools-finish.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>conn</p></td>
<td class="parameter_description"><p>a <a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>result</p></td>
<td class="parameter_description"><p>async method result. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gvir-connection-get-storage-pools"></a><h3>gvir_connection_get_storage_pools ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *
gvir_connection_get_storage_pools (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>);</pre>
<p>Gets a list of the storage pools available through <em class="parameter"><code>conn</code></em>
.</p>
<div class="refsect3">
<a name="gvir-connection-get-storage-pools.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>conn</p></td>
<td class="parameter_description"><p>a <a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gvir-connection-get-storage-pools.returns"></a><h4>Returns</h4>
<p>List
of <a class="link" href="GVirStoragePool.html" title="GVirStoragePool"><span class="type">GVirStoragePool</span></a>. The returned list should be freed with
<a href="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#g-list-free"><code class="function">g_list_free()</code></a>, after its elements have been unreffed with
<a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a>. </p>
<p><span class="annotation">[<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> LibvirtGObject.StoragePool][<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gvir-connection-get-storage-pool"></a><h3>gvir_connection_get_storage_pool ()</h3>
<pre class="programlisting"><a class="link" href="GVirStoragePool.html" title="GVirStoragePool"><span class="returnvalue">GVirStoragePool</span></a> *
gvir_connection_get_storage_pool (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>,
                                  <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *uuid</code></em>);</pre>
<div class="refsect3">
<a name="gvir-connection-get-storage-pool.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>conn</p></td>
<td class="parameter_description"><p>a <a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>uuid</p></td>
<td class="parameter_description"><p>uuid string of the requested storage pool</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gvir-connection-get-storage-pool.returns"></a><h4>Returns</h4>
<p>the <a class="link" href="GVirStoragePool.html" title="GVirStoragePool"><span class="type">GVirStoragePool</span></a>, or NULL. The returned
object should be unreffed with <a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a> when no longer needed. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gvir-connection-find-storage-pool-by-name"></a><h3>gvir_connection_find_storage_pool_by_name ()</h3>
<pre class="programlisting"><a class="link" href="GVirStoragePool.html" title="GVirStoragePool"><span class="returnvalue">GVirStoragePool</span></a> *
gvir_connection_find_storage_pool_by_name
                               (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>,
                                <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>);</pre>
<div class="refsect3">
<a name="gvir-connection-find-storage-pool-by-name.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>conn</p></td>
<td class="parameter_description"><p>a <a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>name</p></td>
<td class="parameter_description"><p>name of the requested storage pool</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gvir-connection-find-storage-pool-by-name.returns"></a><h4>Returns</h4>
<p>the <a class="link" href="GVirStoragePool.html" title="GVirStoragePool"><span class="type">GVirStoragePool</span></a>, or NULL. The returned
object should be unreffed with <a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a> when no longer needed. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gvir-connection-create-storage-pool"></a><h3>gvir_connection_create_storage_pool ()</h3>
<pre class="programlisting"><a class="link" href="GVirStoragePool.html" title="GVirStoragePool"><span class="returnvalue">GVirStoragePool</span></a> *
gvir_connection_create_storage_pool (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>,
                                     <em class="parameter"><code><a href="/usr/share/gtk-doc/html/Libvirt-gconfig/GVirConfigStoragePool.html#GVirConfigStoragePool-struct"><span class="type">GVirConfigStoragePool</span></a> *conf</code></em>,
                                     <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> flags</code></em>,
                                     <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **err</code></em>);</pre>
<div class="refsect3">
<a name="gvir-connection-create-storage-pool.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>conn</p></td>
<td class="parameter_description"><p>a <a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> on which to create the pool</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>conf</p></td>
<td class="parameter_description"><p>the configuration for the new storage pool</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>flags</p></td>
<td class="parameter_description"><p>the flags</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>err</p></td>
<td class="parameter_description"><p>return location for any <a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gvir-connection-create-storage-pool.returns"></a><h4>Returns</h4>
<p>the newly created storage pool, or NULL if an
error occurred. The returned list should be freed with <a href="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#g-list-free"><code class="function">g_list_free()</code></a>,
after its elements have been unreffed with <a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a>. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gvir-connection-get-stream"></a><h3>gvir_connection_get_stream ()</h3>
<pre class="programlisting"><a class="link" href="GVirStream.html" title="GVirStream"><span class="returnvalue">GVirStream</span></a> *
gvir_connection_get_stream (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>,
                            <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> flags</code></em>);</pre>
<div class="refsect3">
<a name="gvir-connection-get-stream.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>conn</p></td>
<td class="parameter_description"><p>a <a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>flags</p></td>
<td class="parameter_description"><p>flags to use for the stream</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gvir-connection-get-stream.returns"></a><h4>Returns</h4>
<p>a <a class="link" href="GVirStream.html" title="GVirStream"><span class="type">GVirStream</span></a> stream, or NULL.The returned
object should be unreffed with <a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a> when no longer needed. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gvir-connection-get-node-info"></a><h3>gvir_connection_get_node_info ()</h3>
<pre class="programlisting"><a class="link" href="GVirConnection.html#GVirNodeInfo"><span class="returnvalue">GVirNodeInfo</span></a> *
gvir_connection_get_node_info (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>,
                               <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **err</code></em>);</pre>
<div class="refsect3">
<a name="gvir-connection-get-node-info.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>conn</p></td>
<td class="parameter_description"><p>a <a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>err</p></td>
<td class="parameter_description"><p>return location for any <a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gvir-connection-get-node-info.returns"></a><h4>Returns</h4>
<p>the info, or NULL if an error occurred. The
returned object should be unreffed with <a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a> when no longer
needed. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gvir-connection-get-capabilities"></a><h3>gvir_connection_get_capabilities ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/Libvirt-gconfig/GVirConfigCapabilities.html#GVirConfigCapabilities-struct"><span class="returnvalue">GVirConfigCapabilities</span></a> *
gvir_connection_get_capabilities (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>,
                                  <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **err</code></em>);</pre>
<div class="refsect3">
<a name="gvir-connection-get-capabilities.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>conn</p></td>
<td class="parameter_description"><p>a <a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>err</p></td>
<td class="parameter_description"><p>return location for any <a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gvir-connection-get-capabilities.returns"></a><h4>Returns</h4>
<p>a <a href="/usr/share/gtk-doc/html/Libvirt-gconfig/GVirConfigCapabilities.html#GVirConfigCapabilities-struct"><span class="type">GVirConfigCapabilities</span></a> or NULL.  The
returned object should be unreffed with <a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a> when no longer
needed. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gvir-connection-get-capabilities-async"></a><h3>gvir_connection_get_capabilities_async ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gvir_connection_get_capabilities_async
                               (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>,
                                <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gio/GCancellable.html#GCancellable-struct"><span class="type">GCancellable</span></a> *cancellable</code></em>,
                                <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gio/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
                                <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
<div class="refsect3">
<a name="gvir-connection-get-capabilities-async.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>conn</p></td>
<td class="parameter_description"><p>a <a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>cancellable</p></td>
<td class="parameter_description"><p>cancellation object. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>][<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>callback</p></td>
<td class="parameter_description"><p>completion callback. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="The callback is valid until first called."><span class="acronym">scope async</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>user_data</p></td>
<td class="parameter_description"><p>opaque data for callback. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="This parameter is a 'user_data', for callbacks; many bindings can pass NULL here."><span class="acronym">closure</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gvir-connection-get-capabilities-finish"></a><h3>gvir_connection_get_capabilities_finish ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/Libvirt-gconfig/GVirConfigCapabilities.html#GVirConfigCapabilities-struct"><span class="returnvalue">GVirConfigCapabilities</span></a> *
gvir_connection_get_capabilities_finish
                               (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>,
                                <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gio/GAsyncResult.html#GAsyncResult-struct"><span class="type">GAsyncResult</span></a> *result</code></em>,
                                <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **err</code></em>);</pre>
<div class="refsect3">
<a name="gvir-connection-get-capabilities-finish.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>conn</p></td>
<td class="parameter_description"><p>a <a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>result</p></td>
<td class="parameter_description"><p>async method result. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gvir-connection-get-capabilities-finish.returns"></a><h4>Returns</h4>
<p>a <a href="/usr/share/gtk-doc/html/Libvirt-gconfig/GVirConfigCapabilities.html#GVirConfigCapabilities-struct"><span class="type">GVirConfigCapabilities</span></a> or NULL. The
returned object should be unreffed with <a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a> when no longer
needed. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gvir-connection-restore-domain-from-file"></a><h3>gvir_connection_restore_domain_from_file ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
gvir_connection_restore_domain_from_file
                               (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>,
                                <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *filename</code></em>,
                                <em class="parameter"><code><a href="/usr/share/gtk-doc/html/Libvirt-gconfig/GVirConfigDomain.html#GVirConfigDomain-struct"><span class="type">GVirConfigDomain</span></a> *custom_conf</code></em>,
                                <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> flags</code></em>,
                                <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **err</code></em>);</pre>
<p>Restores the domain saved with <a class="link" href="GVirDomain.html#gvir-domain-save-to-file" title="gvir_domain_save_to_file ()"><span class="type">gvir_domain_save_to_file</span></a></p>
<div class="refsect3">
<a name="gvir-connection-restore-domain-from-file.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>conn</p></td>
<td class="parameter_description"><p>a <a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>filename</p></td>
<td class="parameter_description"><p>path to input file</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>custom_conf</p></td>
<td class="parameter_description"><p>configuration for domain or NULL. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>flags</p></td>
<td class="parameter_description"><p>the flags</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gvir-connection-restore-domain-from-file.returns"></a><h4>Returns</h4>
<p> TRUE on success, FALSE otherwise</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gvir-connection-restore-domain-from-file-async"></a><h3>gvir_connection_restore_domain_from_file_async ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gvir_connection_restore_domain_from_file_async
                               (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>,
                                <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *filename</code></em>,
                                <em class="parameter"><code><a href="/usr/share/gtk-doc/html/Libvirt-gconfig/GVirConfigDomain.html#GVirConfigDomain-struct"><span class="type">GVirConfigDomain</span></a> *custom_conf</code></em>,
                                <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> flags</code></em>,
                                <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gio/GCancellable.html#GCancellable-struct"><span class="type">GCancellable</span></a> *cancellable</code></em>,
                                <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gio/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
                                <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
<p>Asynchronous variant of <a class="link" href="GVirConnection.html#gvir-connection-restore-domain-from-file" title="gvir_connection_restore_domain_from_file ()"><span class="type">gvir_connection_restore_domain_from_file</span></a></p>
<div class="refsect3">
<a name="gvir-connection-restore-domain-from-file-async.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>conn</p></td>
<td class="parameter_description"><p>a <a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>filename</p></td>
<td class="parameter_description"><p>path to input file</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>custom_conf</p></td>
<td class="parameter_description"><p>configuration for domain. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>flags</p></td>
<td class="parameter_description"><p>the flags</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>cancellable</p></td>
<td class="parameter_description"><p>cancellation object. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>][<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>callback</p></td>
<td class="parameter_description"><p>completion callback. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="The callback is valid until first called."><span class="acronym">scope async</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>user_data</p></td>
<td class="parameter_description"><p>opaque data for callback. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="This parameter is a 'user_data', for callbacks; many bindings can pass NULL here."><span class="acronym">closure</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gvir-connection-restore-domain-from-file-finish"></a><h3>gvir_connection_restore_domain_from_file_finish ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
gvir_connection_restore_domain_from_file_finish
                               (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>,
                                <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gio/GAsyncResult.html#GAsyncResult-struct"><span class="type">GAsyncResult</span></a> *result</code></em>,
                                <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **err</code></em>);</pre>
<p>Finishes the operation started by <span class="type">gvir_restore_domain_from_file_async</span>.</p>
<div class="refsect3">
<a name="gvir-connection-restore-domain-from-file-finish.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>conn</p></td>
<td class="parameter_description"><p>a <a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>result</p></td>
<td class="parameter_description"><p>async method result. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>err</p></td>
<td class="parameter_description"><p>Place-holder for possible errors</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gvir-connection-restore-domain-from-file-finish.returns"></a><h4>Returns</h4>
<p> TRUE if domain was restored successfully, FALSE otherwise.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gvir-connection-get-domain-capabilities"></a><h3>gvir_connection_get_domain_capabilities ()</h3>
<pre class="programlisting"><span class="returnvalue">GVirConfigDomainCapabilities</span> *
gvir_connection_get_domain_capabilities
                               (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>,
                                <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *emulatorbin</code></em>,
                                <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *arch</code></em>,
                                <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *machine</code></em>,
                                <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *virttype</code></em>,
                                <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> flags</code></em>,
                                <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **err</code></em>);</pre>
<div class="refsect3">
<a name="gvir-connection-get-domain-capabilities.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>conn</p></td>
<td class="parameter_description"><p>a <a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>emulatorbin</p></td>
<td class="parameter_description"><p>path to emulator. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>arch</p></td>
<td class="parameter_description"><p>domain architecture. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>machine</p></td>
<td class="parameter_description"><p>machine type. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>virttype</p></td>
<td class="parameter_description"><p>virtualization type. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>flags</p></td>
<td class="parameter_description"><p>extra flags; not used yet, so callers should always pass 0</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>err</p></td>
<td class="parameter_description"><p>return location for any <a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gvir-connection-get-domain-capabilities.returns"></a><h4>Returns</h4>
<p>a <span class="type">GVirConfigDomainCapabilities</span> or NULL.
The return object should be unreffed with <a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a> when no longer
needed. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gvir-connection-get-domain-capabilities-async"></a><h3>gvir_connection_get_domain_capabilities_async ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gvir_connection_get_domain_capabilities_async
                               (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>,
                                <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *emulatorbin</code></em>,
                                <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *arch</code></em>,
                                <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *machine</code></em>,
                                <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *virttype</code></em>,
                                <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> flags</code></em>,
                                <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gio/GCancellable.html#GCancellable-struct"><span class="type">GCancellable</span></a> *cancellable</code></em>,
                                <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gio/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
                                <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
<div class="refsect3">
<a name="gvir-connection-get-domain-capabilities-async.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>conn</p></td>
<td class="parameter_description"><p>a <a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>emulatorbin</p></td>
<td class="parameter_description"><p>path to emulator. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>arch</p></td>
<td class="parameter_description"><p>domain architecture. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>machine</p></td>
<td class="parameter_description"><p>machine type. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>virttype</p></td>
<td class="parameter_description"><p>virtualization type. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>flags</p></td>
<td class="parameter_description"><p>extra flags; not used yet, so callers should always pass 0</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>cancellable</p></td>
<td class="parameter_description"><p>cancellation object. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>][<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>callback</p></td>
<td class="parameter_description"><p>completion callback. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="The callback is valid until first called."><span class="acronym">scope async</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>user_data</p></td>
<td class="parameter_description"><p>opaque data for callback. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="This parameter is a 'user_data', for callbacks; many bindings can pass NULL here."><span class="acronym">closure</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gvir-connection-get-domain-capabilities-finish"></a><h3>gvir_connection_get_domain_capabilities_finish ()</h3>
<pre class="programlisting"><span class="returnvalue">GVirConfigDomainCapabilities</span> *
gvir_connection_get_domain_capabilities_finish
                               (<em class="parameter"><code><a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *conn</code></em>,
                                <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gio/GAsyncResult.html#GAsyncResult-struct"><span class="type">GAsyncResult</span></a> *result</code></em>,
                                <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **err</code></em>);</pre>
<div class="refsect3">
<a name="gvir-connection-get-domain-capabilities-finish.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>conn</p></td>
<td class="parameter_description"><p>a <a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>result</p></td>
<td class="parameter_description"><p>async method result. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gvir-connection-get-domain-capabilities-finish.returns"></a><h4>Returns</h4>
<p>a <span class="type">GVirConfigDomainCapabilities</span> or NULL.
The returned object should be unreffed with <a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a> when no
longer needed. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
</div>
</div>
</div>
<div class="refsect1">
<a name="GVirConnection.other_details"></a><h2>Types and Values</h2>
</div>
<div class="refsect1">
<a name="GVirConnection.property-details"></a><h2>Property Details</h2>
<div class="refsect2">
<a name="GVirConnection--handle"></a><h3>The <code class="literal">“handle”</code> property</h3>
<pre class="programlisting">  “handle”                   <span class="type">GVirConnectionHandle</span> *</pre>
<p>The connection handle.</p>
<p>Flags: Read / Write / Construct Only</p>
</div>
<hr>
<div class="refsect2">
<a name="GVirConnection--uri"></a><h3>The <code class="literal">“uri”</code> property</h3>
<pre class="programlisting">  “uri”                      <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
<p>The connection URI.</p>
<p>Flags: Read / Write / Construct Only</p>
<p>Default value: NULL</p>
</div>
</div>
<div class="refsect1">
<a name="GVirConnection.signal-details"></a><h2>Signal Details</h2>
<div class="refsect2">
<a name="GVirConnection-connection-closed"></a><h3>The <code class="literal">“connection-closed”</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
user_function (<a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *gvirconnection,
               <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>        user_data)</pre>
<p>Flags: <a href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-FIRST:CAPS">Run First</a></p>
</div>
<hr>
<div class="refsect2">
<a name="GVirConnection-connection-opened"></a><h3>The <code class="literal">“connection-opened”</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
user_function (<a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *gvirconnection,
               <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>        user_data)</pre>
<p>Flags: <a href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-FIRST:CAPS">Run First</a></p>
</div>
<hr>
<div class="refsect2">
<a name="GVirConnection-domain-added"></a><h3>The <code class="literal">“domain-added”</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
user_function (<a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *gvirconnection,
               <a class="link" href="GVirDomain.html" title="GVirDomain"><span class="type">GVirDomain</span></a>     *arg1,
               <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>        user_data)</pre>
<p>Flags: <a href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-FIRST:CAPS">Run First</a></p>
</div>
<hr>
<div class="refsect2">
<a name="GVirConnection-domain-removed"></a><h3>The <code class="literal">“domain-removed”</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
user_function (<a class="link" href="GVirConnection.html" title="GVirConnection"><span class="type">GVirConnection</span></a> *gvirconnection,
               <a class="link" href="GVirDomain.html" title="GVirDomain"><span class="type">GVirDomain</span></a>     *arg1,
               <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>        user_data)</pre>
<p>Flags: <a href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-FIRST:CAPS">Run First</a></p>
</div>
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.29</div>
</body>
</html>