<?xml version="1.0"?>
<!-- This file was automatically generated from C sources - DO NOT EDIT!
To affect the contents of this file, edit the original C definitions,
and/or use gtk-doc annotations.  -->
<repository version="1.2"
            xmlns="http://www.gtk.org/introspection/core/1.0"
            xmlns:c="http://www.gtk.org/introspection/c/1.0"
            xmlns:glib="http://www.gtk.org/introspection/glib/1.0">
  <include name="GObject" version="2.0"/>
  <include name="Gio" version="2.0"/>
  <include name="LibvirtGConfig" version="1.0"/>
  <include name="LibvirtGLib" version="1.0"/>
  <package name="libvirt-gobject-1.0"/>
  <c:include name="libvirt-gobject/libvirt-gobject.h"/>
  <namespace name="LibvirtGObject"
             version="1.0"
             shared-library="libvirt-gobject-1.0.so.0"
             c:identifier-prefixes="GVir"
             c:symbol-prefixes="gvir">
    <function-macro name="CONNECTION"
                    c:identifier="GVIR_CONNECTION"
                    introspectable="0">
      <source-position filename="libvirt-gobject/libvirt-gobject-connection.h"
                       line="32"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="CONNECTION_CLASS"
                    c:identifier="GVIR_CONNECTION_CLASS"
                    introspectable="0">
      <source-position filename="libvirt-gobject/libvirt-gobject-connection.h"
                       line="33"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="CONNECTION_GET_CLASS"
                    c:identifier="GVIR_CONNECTION_GET_CLASS"
                    introspectable="0">
      <source-position filename="libvirt-gobject/libvirt-gobject-connection.h"
                       line="36"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <class name="Connection"
           c:symbol-prefix="connection"
           c:type="GVirConnection"
           parent="GObject.Object"
           glib:type-name="GVirConnection"
           glib:get-type="gvir_connection_get_type"
           glib:type-struct="ConnectionClass">
      <source-position filename="libvirt-gobject/libvirt-gobject-connection.h"
                       line="80"/>
      <constructor name="new" c:identifier="gvir_connection_new">
        <source-position filename="libvirt-gobject/libvirt-gobject-connection.h"
                         line="86"/>
        <return-value transfer-ownership="full">
          <type name="Connection" c:type="GVirConnection*"/>
        </return-value>
        <parameters>
          <parameter name="uri" transfer-ownership="none">
            <type name="utf8" c:type="const char*"/>
          </parameter>
        </parameters>
      </constructor>
      <virtual-method name="connection_closed">
        <source-position filename="libvirt-gobject/libvirt-gobject-connection.h"
                         line="72"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="conn" transfer-ownership="none">
            <type name="Connection" c:type="GVirConnection*"/>
          </instance-parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="connection_opened">
        <source-position filename="libvirt-gobject/libvirt-gobject-connection.h"
                         line="71"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="conn" transfer-ownership="none">
            <type name="Connection" c:type="GVirConnection*"/>
          </instance-parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="domain_added">
        <source-position filename="libvirt-gobject/libvirt-gobject-connection.h"
                         line="74"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="conn" transfer-ownership="none">
            <type name="Connection" c:type="GVirConnection*"/>
          </instance-parameter>
          <parameter name="dom" transfer-ownership="none">
            <type name="Domain" c:type="GVirDomain*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="domain_removed">
        <source-position filename="libvirt-gobject/libvirt-gobject-connection.h"
                         line="75"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="conn" transfer-ownership="none">
            <type name="Connection" c:type="GVirConnection*"/>
          </instance-parameter>
          <parameter name="dom" transfer-ownership="none">
            <type name="Domain" c:type="GVirDomain*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="stream_new" introspectable="0">
        <source-position filename="libvirt-gobject/libvirt-gobject-connection.h"
                         line="77"/>
        <return-value>
          <type name="Stream" c:type="GVirStream*"/>
        </return-value>
        <parameters>
          <instance-parameter name="conn" transfer-ownership="none">
            <type name="Connection" c:type="GVirConnection*"/>
          </instance-parameter>
          <parameter name="handle"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </virtual-method>
      <method name="close" c:identifier="gvir_connection_close">
        <source-position filename="libvirt-gobject/libvirt-gobject-connection.h"
                         line="109"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="conn" transfer-ownership="none">
            <type name="Connection" c:type="GVirConnection*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="create_domain"
              c:identifier="gvir_connection_create_domain"
              throws="1">
        <doc xml:space="preserve"
             filename="libvirt-gobject/libvirt-gobject-connection.c"
             line="1362">Create the configuration file for a new persistent domain.
The returned domain will initially be in the shutoff state.</doc>
        <source-position filename="libvirt-gobject/libvirt-gobject-connection.h"
                         line="138"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="libvirt-gobject/libvirt-gobject-connection.c"
               line="1370">the newly created domain, or NULL if an error
occurred. The returned object should be unreffed with g_object_unref()
when no longer needed.</doc>
          <type name="Domain" c:type="GVirDomain*"/>
        </return-value>
        <parameters>
          <instance-parameter name="conn" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-connection.c"
                 line="1364">a #GVirConnection on which to create the domain</doc>
            <type name="Connection" c:type="GVirConnection*"/>
          </instance-parameter>
          <parameter name="conf" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-connection.c"
                 line="1365">the configuration for the new domain</doc>
            <type name="LibvirtGConfig.Domain" c:type="GVirConfigDomain*"/>
          </parameter>
        </parameters>
      </method>
      <method name="create_storage_pool"
              c:identifier="gvir_connection_create_storage_pool"
              throws="1">
        <source-position filename="libvirt-gobject/libvirt-gobject-connection.h"
                         line="213"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="libvirt-gobject/libvirt-gobject-connection.c"
               line="1995">the newly created storage pool, or NULL if an
error occurred. The returned list should be freed with g_list_free(),
after its elements have been unreffed with g_object_unref().</doc>
          <type name="StoragePool" c:type="GVirStoragePool*"/>
        </return-value>
        <parameters>
          <instance-parameter name="conn" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-connection.c"
                 line="1990">a #GVirConnection on which to create the pool</doc>
            <type name="Connection" c:type="GVirConnection*"/>
          </instance-parameter>
          <parameter name="conf" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-connection.c"
                 line="1991">the configuration for the new storage pool</doc>
            <type name="LibvirtGConfig.StoragePool"
                  c:type="GVirConfigStoragePool*"/>
          </parameter>
          <parameter name="flags" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-connection.c"
                 line="1992">the flags</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
        </parameters>
      </method>
      <method name="fetch_domains"
              c:identifier="gvir_connection_fetch_domains"
              throws="1">
        <doc xml:space="preserve"
             filename="libvirt-gobject/libvirt-gobject-connection.c"
             line="699">Use this method to fetch all domains managed by connection
@conn. Use e.g. #gvir_connection_find_domain_by_id or
#gvir_connection_get_domain afterwards to query the fetched
domains.</doc>
        <source-position filename="libvirt-gobject/libvirt-gobject-connection.h"
                         line="111"/>
        <return-value transfer-ownership="none">
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="conn" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-connection.c"
                 line="701">a #GVirConnection</doc>
            <type name="Connection" c:type="GVirConnection*"/>
          </instance-parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-connection.c"
                 line="702">cancellation object</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
        </parameters>
      </method>
      <method name="fetch_domains_async"
              c:identifier="gvir_connection_fetch_domains_async">
        <source-position filename="libvirt-gobject/libvirt-gobject-connection.h"
                         line="114"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="conn" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-connection.c"
                 line="898">a #GVirConnection</doc>
            <type name="Connection" c:type="GVirConnection*"/>
          </instance-parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-connection.c"
                 line="899">cancellation object</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
          <parameter name="callback"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1"
                     scope="async"
                     closure="2">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-connection.c"
                 line="900">completion callback</doc>
            <type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
          </parameter>
          <parameter name="user_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-connection.c"
                 line="901">opaque data for callback</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </method>
      <method name="fetch_domains_finish"
              c:identifier="gvir_connection_fetch_domains_finish"
              throws="1">
        <source-position filename="libvirt-gobject/libvirt-gobject-connection.h"
                         line="118"/>
        <return-value transfer-ownership="none">
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="conn" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-connection.c"
                 line="926">a #GVirConnection</doc>
            <type name="Connection" c:type="GVirConnection*"/>
          </instance-parameter>
          <parameter name="result" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-connection.c"
                 line="927">async method result</doc>
            <type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
          </parameter>
        </parameters>
      </method>
      <method name="fetch_interfaces"
              c:identifier="gvir_connection_fetch_interfaces"
              throws="1">
        <doc xml:space="preserve"
             filename="libvirt-gobject/libvirt-gobject-connection.c"
             line="1471">Use this method to fetch information on all network interfaces
managed by connection @conn on host machine. Use
#gvir_connection_get_interfaces or #gvir_connection_get_interface afterwards
to query the fetched interfaces.</doc>
        <source-position filename="libvirt-gobject/libvirt-gobject-connection.h"
                         line="146"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libvirt-gobject/libvirt-gobject-connection.c"
               line="1482">%TRUE on success, %FALSE otherwise and @err is set.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="conn" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-connection.c"
                 line="1473">a #GVirConnection</doc>
            <type name="Connection" c:type="GVirConnection*"/>
          </instance-parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-connection.c"
                 line="1474">cancellation object</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
        </parameters>
      </method>
      <method name="fetch_interfaces_async"
              c:identifier="gvir_connection_fetch_interfaces_async">
        <source-position filename="libvirt-gobject/libvirt-gobject-connection.h"
                         line="149"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="conn" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-connection.c"
                 line="1586">a #GVirConnection</doc>
            <type name="Connection" c:type="GVirConnection*"/>
          </instance-parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-connection.c"
                 line="1587">cancellation object</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
          <parameter name="callback"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1"
                     scope="async"
                     closure="2">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-connection.c"
                 line="1588">completion callback</doc>
            <type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
          </parameter>
          <parameter name="user_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-connection.c"
                 line="1589">opaque data for callback</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </method>
      <method name="fetch_interfaces_finish"
              c:identifier="gvir_connection_fetch_interfaces_finish"
              throws="1">
        <source-position filename="libvirt-gobject/libvirt-gobject-connection.h"
                         line="153"/>
        <return-value transfer-ownership="none">
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="conn" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-connection.c"
                 line="1614">a #GVirConnection</doc>
            <type name="Connection" c:type="GVirConnection*"/>
          </instance-parameter>
          <parameter name="result" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-connection.c"
                 line="1615">async method result</doc>
            <type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
          </parameter>
        </parameters>
      </method>
      <method name="fetch_networks"
              c:identifier="gvir_connection_fetch_networks"
              throws="1">
        <doc xml:space="preserve"
             filename="libvirt-gobject/libvirt-gobject-connection.c"
             line="1731">Use this method to fetch all networks managed by connection
@conn. Use e.g. #gvir_connection_find_network_by_name or
#gvir_connection_get_networks afterwards to query the fetched
domains.</doc>
        <source-position filename="libvirt-gobject/libvirt-gobject-connection.h"
                         line="162"/>
        <return-value transfer-ownership="none">
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="conn" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-connection.c"
                 line="1733">a #GVirConnection</doc>
            <type name="Connection" c:type="GVirConnection*"/>
          </instance-parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-connection.c"
                 line="1734">cancellation object</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
        </parameters>
      </method>
      <method name="fetch_networks_async"
              c:identifier="gvir_connection_fetch_networks_async">
        <source-position filename="libvirt-gobject/libvirt-gobject-connection.h"
                         line="165"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="conn" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-connection.c"
                 line="1841">a #GVirConnection</doc>
            <type name="Connection" c:type="GVirConnection*"/>
          </instance-parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-connection.c"
                 line="1842">cancellation object</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
          <parameter name="callback"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1"
                     scope="async"
                     closure="2">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-connection.c"
                 line="1843">completion callback</doc>
            <type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
          </parameter>
          <parameter name="user_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-connection.c"
                 line="1844">opaque data for callback</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </method>
      <method name="fetch_networks_finish"
              c:identifier="gvir_connection_fetch_networks_finish"
              throws="1">
        <source-position filename="libvirt-gobject/libvirt-gobject-connection.h"
                         line="169"/>
        <return-value transfer-ownership="none">
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="conn" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-connection.c"
                 line="1869">a #GVirConnection</doc>
            <type name="Connection" c:type="GVirConnection*"/>
          </instance-parameter>
          <parameter name="result" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-connection.c"
                 line="1870">async method result</doc>
            <type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
          </parameter>
        </parameters>
      </method>
      <method name="fetch_storage_pools"
              c:identifier="gvir_connection_fetch_storage_pools"
              throws="1">
        <doc xml:space="preserve"
             filename="libvirt-gobject/libvirt-gobject-connection.c"
             line="787">Use this method to fetch all storage pools managed by connection
@conn. Use e.g. #gvir_connection_find_storage_pool_by_name or
#gvir_connection_get_storage_pools afterwards to query the fetched
pools.</doc>
        <source-position filename="libvirt-gobject/libvirt-gobject-connection.h"
                         line="196"/>
        <return-value transfer-ownership="none">
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="conn" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-connection.c"
                 line="789">a #GVirConnection</doc>
            <type name="Connection" c:type="GVirConnection*"/>
          </instance-parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-connection.c"
                 line="790">cancellation object</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
        </parameters>
      </method>
      <method name="fetch_storage_pools_async"
              c:identifier="gvir_connection_fetch_storage_pools_async">
        <source-position filename="libvirt-gobject/libvirt-gobject-connection.h"
                         line="199"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="conn" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-connection.c"
                 line="960">a #GVirConnection</doc>
            <type name="Connection" c:type="GVirConnection*"/>
          </instance-parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-connection.c"
                 line="961">cancellation object</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
          <parameter name="callback"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1"
                     scope="async"
                     closure="2">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-connection.c"
                 line="962">completion callback</doc>
            <type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
          </parameter>
          <parameter name="user_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-connection.c"
                 line="963">opaque data for callback</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </method>
      <method name="fetch_storage_pools_finish"
              c:identifier="gvir_connection_fetch_storage_pools_finish"
              throws="1">
        <source-position filename="libvirt-gobject/libvirt-gobject-connection.h"
                         line="203"/>
        <return-value transfer-ownership="none">
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="conn" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-connection.c"
                 line="988">a #GVirConnection</doc>
            <type name="Connection" c:type="GVirConnection*"/>
          </instance-parameter>
          <parameter name="result" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-connection.c"
                 line="989">async method result</doc>
            <type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
          </parameter>
        </parameters>
      </method>
      <method name="find_domain_by_id"
              c:identifier="gvir_connection_find_domain_by_id">
        <source-position filename="libvirt-gobject/libvirt-gobject-connection.h"
                         line="133"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="libvirt-gobject/libvirt-gobject-connection.c"
               line="1208">the #GVirDomain, or NULL. The returned
object should be unreffed with g_object_unref() when no longer needed.</doc>
          <type name="Domain" c:type="GVirDomain*"/>
        </return-value>
        <parameters>
          <instance-parameter name="conn" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-connection.c"
                 line="1205">a #GVirConnection</doc>
            <type name="Connection" c:type="GVirConnection*"/>
          </instance-parameter>
          <parameter name="id" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-connection.c"
                 line="1206">id of the requested domain</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
        </parameters>
      </method>
      <method name="find_domain_by_name"
              c:identifier="gvir_connection_find_domain_by_name">
        <source-position filename="libvirt-gobject/libvirt-gobject-connection.h"
                         line="135"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="libvirt-gobject/libvirt-gobject-connection.c"
               line="1245">the #GVirDomain, or NULL. The returned
object should be unreffed with g_object_unref() when no longer needed.</doc>
          <type name="Domain" c:type="GVirDomain*"/>
        </return-value>
        <parameters>
          <instance-parameter name="conn" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-connection.c"
                 line="1242">a #GVirConnection</doc>
            <type name="Connection" c:type="GVirConnection*"/>
          </instance-parameter>
          <parameter name="name" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-connection.c"
                 line="1243">name of the requested domain</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="find_interface_by_mac"
              c:identifier="gvir_connection_find_interface_by_mac">
        <doc xml:space="preserve"
             filename="libvirt-gobject/libvirt-gobject-connection.c"
             line="1691">Get a particular interface which has MAC address @mac.</doc>
        <source-position filename="libvirt-gobject/libvirt-gobject-connection.h"
                         line="159"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="libvirt-gobject/libvirt-gobject-connection.c"
               line="1698">A new reference to a #GVirInterface, or NULL
if no interface exists with MAC address @mac. The returned object must be
unreffed using g_object_unref() once used.</doc>
          <type name="Interface" c:type="GVirInterface*"/>
        </return-value>
        <parameters>
          <instance-parameter name="conn" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-connection.c"
                 line="1693">a #GVirConnection</doc>
            <type name="Connection" c:type="GVirConnection*"/>
          </instance-parameter>
          <parameter name="macaddr" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-connection.c"
                 line="1694">MAC address to lookup</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="find_network_by_name"
              c:identifier="gvir_connection_find_network_by_name">
        <doc xml:space="preserve"
             filename="libvirt-gobject/libvirt-gobject-connection.c"
             line="1945">Get a particular network which has name @name.</doc>
        <source-position filename="libvirt-gobject/libvirt-gobject-connection.h"
                         line="175"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="libvirt-gobject/libvirt-gobject-connection.c"
               line="1952">A new reference to a #GVirNetwork, or NULL if
no network exists with name @name. The returned object must be unreffed using
g_object_unref() once used.</doc>
          <type name="Network" c:type="GVirNetwork*"/>
        </return-value>
        <parameters>
          <instance-parameter name="conn" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-connection.c"
                 line="1947">a #GVirConnection</doc>
            <type name="Connection" c:type="GVirConnection*"/>
          </instance-parameter>
          <parameter name="name" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-connection.c"
                 line="1948">name of the network to search for</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="find_storage_pool_by_name"
              c:identifier="gvir_connection_find_storage_pool_by_name">
        <source-position filename="libvirt-gobject/libvirt-gobject-connection.h"
                         line="210"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="libvirt-gobject/libvirt-gobject-connection.c"
               line="1285">the #GVirStoragePool, or NULL. The returned
object should be unreffed with g_object_unref() when no longer needed.</doc>
          <type name="StoragePool" c:type="GVirStoragePool*"/>
        </return-value>
        <parameters>
          <instance-parameter name="conn" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-connection.c"
                 line="1282">a #GVirConnection</doc>
            <type name="Connection" c:type="GVirConnection*"/>
          </instance-parameter>
          <parameter name="name" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-connection.c"
                 line="1283">name of the requested storage pool</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_capabilities"
              c:identifier="gvir_connection_get_capabilities"
              throws="1">
        <source-position filename="libvirt-gobject/libvirt-gobject-connection.h"
                         line="226"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="libvirt-gobject/libvirt-gobject-connection.c"
               line="2255">a #GVirConfigCapabilities or NULL.  The
returned object should be unreffed with g_object_unref() when no longer
needed.</doc>
          <type name="LibvirtGConfig.Capabilities"
                c:type="GVirConfigCapabilities*"/>
        </return-value>
        <parameters>
          <instance-parameter name="conn" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-connection.c"
                 line="2252">a #GVirConnection</doc>
            <type name="Connection" c:type="GVirConnection*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_capabilities_async"
              c:identifier="gvir_connection_get_capabilities_async">
        <source-position filename="libvirt-gobject/libvirt-gobject-connection.h"
                         line="228"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="conn" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-connection.c"
                 line="2305">a #GVirConnection</doc>
            <type name="Connection" c:type="GVirConnection*"/>
          </instance-parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-connection.c"
                 line="2306">cancellation object</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
          <parameter name="callback"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1"
                     scope="async"
                     closure="2">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-connection.c"
                 line="2307">completion callback</doc>
            <type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
          </parameter>
          <parameter name="user_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-connection.c"
                 line="2308">opaque data for callback</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_capabilities_finish"
              c:identifier="gvir_connection_get_capabilities_finish"
              throws="1">
        <source-position filename="libvirt-gobject/libvirt-gobject-connection.h"
                         line="233"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="libvirt-gobject/libvirt-gobject-connection.c"
               line="2336">a #GVirConfigCapabilities or NULL. The
returned object should be unreffed with g_object_unref() when no longer
needed.</doc>
          <type name="LibvirtGConfig.Capabilities"
                c:type="GVirConfigCapabilities*"/>
        </return-value>
        <parameters>
          <instance-parameter name="conn" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-connection.c"
                 line="2333">a #GVirConnection</doc>
            <type name="Connection" c:type="GVirConnection*"/>
          </instance-parameter>
          <parameter name="result" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-connection.c"
                 line="2334">async method result</doc>
            <type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_domain" c:identifier="gvir_connection_get_domain">
        <source-position filename="libvirt-gobject/libvirt-gobject-connection.h"
                         line="131"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="libvirt-gobject/libvirt-gobject-connection.c"
               line="1155">the #GVirDomain, or NULL. The returned
object should be unreffed with g_object_unref() when no longer needed.</doc>
          <type name="Domain" c:type="GVirDomain*"/>
        </return-value>
        <parameters>
          <instance-parameter name="conn" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-connection.c"
                 line="1152">a #GVirConnection</doc>
            <type name="Connection" c:type="GVirConnection*"/>
          </instance-parameter>
          <parameter name="uuid" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-connection.c"
                 line="1153">uuid string of the requested domain</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_domain_capabilities"
              c:identifier="gvir_connection_get_domain_capabilities"
              throws="1">
        <source-position filename="libvirt-gobject/libvirt-gobject-connection.h"
                         line="258"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="libvirt-gobject/libvirt-gobject-connection.c"
               line="2092">a #GVirConfigDomainCapabilities or NULL.
The return object should be unreffed with g_object_unref() when no longer
needed.</doc>
          <type name="LibvirtGConfig.DomainCapabilities"
                c:type="GVirConfigDomainCapabilities*"/>
        </return-value>
        <parameters>
          <instance-parameter name="conn" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-connection.c"
                 line="2084">a #GVirConnection</doc>
            <type name="Connection" c:type="GVirConnection*"/>
          </instance-parameter>
          <parameter name="emulatorbin"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-connection.c"
                 line="2085">path to emulator</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="arch"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-connection.c"
                 line="2086">domain architecture</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="machine"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-connection.c"
                 line="2087">machine type</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="virttype"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-connection.c"
                 line="2088">virtualization type</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="flags" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-connection.c"
                 line="2089">extra flags; not used yet, so callers should always pass 0</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_domain_capabilities_async"
              c:identifier="gvir_connection_get_domain_capabilities_async">
        <source-position filename="libvirt-gobject/libvirt-gobject-connection.h"
                         line="265"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="conn" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-connection.c"
                 line="2179">a #GVirConnection</doc>
            <type name="Connection" c:type="GVirConnection*"/>
          </instance-parameter>
          <parameter name="emulatorbin"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-connection.c"
                 line="2180">path to emulator</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="arch"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-connection.c"
                 line="2181">domain architecture</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="machine"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-connection.c"
                 line="2182">machine type</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="virttype"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-connection.c"
                 line="2183">virtualization type</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="flags" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-connection.c"
                 line="2184">extra flags; not used yet, so callers should always pass 0</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-connection.c"
                 line="2185">cancellation object</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
          <parameter name="callback"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1"
                     scope="async"
                     closure="7">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-connection.c"
                 line="2186">completion callback</doc>
            <type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
          </parameter>
          <parameter name="user_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-connection.c"
                 line="2187">opaque data for callback</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_domain_capabilities_finish"
              c:identifier="gvir_connection_get_domain_capabilities_finish"
              throws="1">
        <source-position filename="libvirt-gobject/libvirt-gobject-connection.h"
                         line="275"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="libvirt-gobject/libvirt-gobject-connection.c"
               line="2231">a #GVirConfigDomainCapabilities or NULL.
The returned object should be unreffed with g_object_unref() when no
longer needed.</doc>
          <type name="LibvirtGConfig.DomainCapabilities"
                c:type="GVirConfigDomainCapabilities*"/>
        </return-value>
        <parameters>
          <instance-parameter name="conn" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-connection.c"
                 line="2228">a #GVirConnection</doc>
            <type name="Connection" c:type="GVirConnection*"/>
          </instance-parameter>
          <parameter name="result" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-connection.c"
                 line="2229">async method result</doc>
            <type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_domains" c:identifier="gvir_connection_get_domains">
        <doc xml:space="preserve"
             filename="libvirt-gobject/libvirt-gobject-connection.c"
             line="1093">Gets a list of the domains available through @conn.</doc>
        <source-position filename="libvirt-gobject/libvirt-gobject-connection.h"
                         line="130"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="libvirt-gobject/libvirt-gobject-connection.c"
               line="1099">List
of #GVirDomain. The returned list should be freed with g_list_free(),
after its elements have been unreffed with g_object_unref().</doc>
          <type name="GLib.List" c:type="GList*">
            <type name="Domain"/>
          </type>
        </return-value>
        <parameters>
          <instance-parameter name="conn" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-connection.c"
                 line="1095">a #GVirConnection</doc>
            <type name="Connection" c:type="GVirConnection*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_hypervisor_name"
              c:identifier="gvir_connection_get_hypervisor_name"
              throws="1">
        <doc xml:space="preserve"
             filename="libvirt-gobject/libvirt-gobject-connection.c"
             line="1012">Get name of current hypervisor used.</doc>
        <source-position filename="libvirt-gobject/libvirt-gobject-connection.h"
                         line="125"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="libvirt-gobject/libvirt-gobject-connection.c"
               line="1019">new string that should be freed when no longer needed,
or NULL upon error.</doc>
          <type name="utf8" c:type="gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="conn" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-connection.c"
                 line="1014">a #GVirConnection</doc>
            <type name="Connection" c:type="GVirConnection*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_interface"
              c:identifier="gvir_connection_get_interface">
        <doc xml:space="preserve"
             filename="libvirt-gobject/libvirt-gobject-connection.c"
             line="1661">Get a particular interface which has name @name.</doc>
        <source-position filename="libvirt-gobject/libvirt-gobject-connection.h"
                         line="157"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="libvirt-gobject/libvirt-gobject-connection.c"
               line="1668">A new reference to a #GVirInterface, or NULL
if no interface exists with name @name. The returned object must be unreffed
using g_object_unref() once used.</doc>
          <type name="Interface" c:type="GVirInterface*"/>
        </return-value>
        <parameters>
          <instance-parameter name="conn" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-connection.c"
                 line="1663">a #GVirConnection</doc>
            <type name="Connection" c:type="GVirConnection*"/>
          </instance-parameter>
          <parameter name="name" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-connection.c"
                 line="1664">interface name to lookup</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_interfaces"
              c:identifier="gvir_connection_get_interfaces">
        <doc xml:space="preserve"
             filename="libvirt-gobject/libvirt-gobject-connection.c"
             line="1632">Get a list of all the network interfaces managed by connection @conn on
host machine.</doc>
        <source-position filename="libvirt-gobject/libvirt-gobject-connection.h"
                         line="156"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="libvirt-gobject/libvirt-gobject-connection.c"
               line="1639">List
of #GVirInterface. The returned list should be freed with g_list_free(),
after its elements have been unreffed with g_object_unref().</doc>
          <type name="GLib.List" c:type="GList*">
            <type name="Interface"/>
          </type>
        </return-value>
        <parameters>
          <instance-parameter name="conn" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-connection.c"
                 line="1634">a #GVirConnection</doc>
            <type name="Connection" c:type="GVirConnection*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_network" c:identifier="gvir_connection_get_network">
        <doc xml:space="preserve"
             filename="libvirt-gobject/libvirt-gobject-connection.c"
             line="1915">Get a particular network which has UUID @uuid.</doc>
        <source-position filename="libvirt-gobject/libvirt-gobject-connection.h"
                         line="173"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="libvirt-gobject/libvirt-gobject-connection.c"
               line="1922">A new reference to a #GVirNetwork, or NULL if
no network exists with UUID @uuid. The returned object must be unreffed using
g_object_unref() once used.</doc>
          <type name="Network" c:type="GVirNetwork*"/>
        </return-value>
        <parameters>
          <instance-parameter name="conn" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-connection.c"
                 line="1917">a #GVirConnection</doc>
            <type name="Connection" c:type="GVirConnection*"/>
          </instance-parameter>
          <parameter name="uuid" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-connection.c"
                 line="1918">UUID of the network to lookup</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_networks" c:identifier="gvir_connection_get_networks">
        <doc xml:space="preserve"
             filename="libvirt-gobject/libvirt-gobject-connection.c"
             line="1887">Get a list of all the network networks available through @conn.</doc>
        <source-position filename="libvirt-gobject/libvirt-gobject-connection.h"
                         line="172"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="libvirt-gobject/libvirt-gobject-connection.c"
               line="1893">List
of #GVirNetwork. The returned list should be freed with g_list_free(),
after its elements have been unreffed with g_object_unref().</doc>
          <type name="GLib.List" c:type="GList*">
            <type name="Network"/>
          </type>
        </return-value>
        <parameters>
          <instance-parameter name="conn" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-connection.c"
                 line="1889">a #GVirConnection</doc>
            <type name="Connection" c:type="GVirConnection*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_node_info"
              c:identifier="gvir_connection_get_node_info"
              throws="1">
        <source-position filename="libvirt-gobject/libvirt-gobject-connection.h"
                         line="223"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="libvirt-gobject/libvirt-gobject-connection.c"
               line="2047">the info, or NULL if an error occurred. The
returned object should be unreffed with g_object_unref() when no longer
needed.</doc>
          <type name="NodeInfo" c:type="GVirNodeInfo*"/>
        </return-value>
        <parameters>
          <instance-parameter name="conn" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-connection.c"
                 line="2044">a #GVirConnection</doc>
            <type name="Connection" c:type="GVirConnection*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_storage_pool"
              c:identifier="gvir_connection_get_storage_pool">
        <source-position filename="libvirt-gobject/libvirt-gobject-connection.h"
                         line="208"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="libvirt-gobject/libvirt-gobject-connection.c"
               line="1181">the #GVirStoragePool, or NULL. The returned
object should be unreffed with g_object_unref() when no longer needed.</doc>
          <type name="StoragePool" c:type="GVirStoragePool*"/>
        </return-value>
        <parameters>
          <instance-parameter name="conn" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-connection.c"
                 line="1178">a #GVirConnection</doc>
            <type name="Connection" c:type="GVirConnection*"/>
          </instance-parameter>
          <parameter name="uuid" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-connection.c"
                 line="1179">uuid string of the requested storage pool</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_storage_pools"
              c:identifier="gvir_connection_get_storage_pools">
        <doc xml:space="preserve"
             filename="libvirt-gobject/libvirt-gobject-connection.c"
             line="1121">Gets a list of the storage pools available through @conn.</doc>
        <source-position filename="libvirt-gobject/libvirt-gobject-connection.h"
                         line="207"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="libvirt-gobject/libvirt-gobject-connection.c"
               line="1127">List
of #GVirStoragePool. The returned list should be freed with
g_list_free(), after its elements have been unreffed with
g_object_unref().</doc>
          <type name="GLib.List" c:type="GList*">
            <type name="StoragePool"/>
          </type>
        </return-value>
        <parameters>
          <instance-parameter name="conn" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-connection.c"
                 line="1123">a #GVirConnection</doc>
            <type name="Connection" c:type="GVirConnection*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_stream" c:identifier="gvir_connection_get_stream">
        <source-position filename="libvirt-gobject/libvirt-gobject-connection.h"
                         line="220"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="libvirt-gobject/libvirt-gobject-connection.c"
               line="1343">a #GVirStream stream, or NULL.The returned
object should be unreffed with g_object_unref() when no longer needed.</doc>
          <type name="Stream" c:type="GVirStream*"/>
        </return-value>
        <parameters>
          <instance-parameter name="conn" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-connection.c"
                 line="1340">a #GVirConnection</doc>
            <type name="Connection" c:type="GVirConnection*"/>
          </instance-parameter>
          <parameter name="flags" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-connection.c"
                 line="1341">flags to use for the stream</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_uri"
              c:identifier="gvir_connection_get_uri"
              glib:get-property="uri">
        <source-position filename="libvirt-gobject/libvirt-gobject-connection.h"
                         line="123"/>
        <return-value transfer-ownership="none">
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="conn" transfer-ownership="none">
            <type name="Connection" c:type="GVirConnection*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_version"
              c:identifier="gvir_connection_get_version"
              throws="1">
        <doc xml:space="preserve"
             filename="libvirt-gobject/libvirt-gobject-connection.c"
             line="1053">Get version of current hypervisor used.</doc>
        <source-position filename="libvirt-gobject/libvirt-gobject-connection.h"
                         line="127"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libvirt-gobject/libvirt-gobject-connection.c"
               line="1060">version on success, 0 otherwise and @err set.</doc>
          <type name="gulong" c:type="gulong"/>
        </return-value>
        <parameters>
          <instance-parameter name="conn" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-connection.c"
                 line="1055">a #GVirConnection</doc>
            <type name="Connection" c:type="GVirConnection*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="is_open" c:identifier="gvir_connection_is_open">
        <source-position filename="libvirt-gobject/libvirt-gobject-connection.h"
                         line="107"/>
        <return-value transfer-ownership="none">
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="conn" transfer-ownership="none">
            <type name="Connection" c:type="GVirConnection*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="is_read_only" c:identifier="gvir_connection_is_read_only">
        <source-position filename="libvirt-gobject/libvirt-gobject-connection.h"
                         line="108"/>
        <return-value transfer-ownership="none">
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="conn" transfer-ownership="none">
            <type name="Connection" c:type="GVirConnection*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="open" c:identifier="gvir_connection_open" throws="1">
        <source-position filename="libvirt-gobject/libvirt-gobject-connection.h"
                         line="87"/>
        <return-value transfer-ownership="none">
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="conn" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-connection.c"
                 line="488">a #GVirConnection</doc>
            <type name="Connection" c:type="GVirConnection*"/>
          </instance-parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-connection.c"
                 line="489">cancellation object</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
        </parameters>
      </method>
      <method name="open_async" c:identifier="gvir_connection_open_async">
        <source-position filename="libvirt-gobject/libvirt-gobject-connection.h"
                         line="93"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="conn" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-connection.c"
                 line="523">a #GVirConnection</doc>
            <type name="Connection" c:type="GVirConnection*"/>
          </instance-parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-connection.c"
                 line="524">cancellation object</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
          <parameter name="callback"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1"
                     scope="async"
                     closure="2">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-connection.c"
                 line="525">completion callback</doc>
            <type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
          </parameter>
          <parameter name="user_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-connection.c"
                 line="526">opaque data for callback</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </method>
      <method name="open_finish"
              c:identifier="gvir_connection_open_finish"
              throws="1">
        <source-position filename="libvirt-gobject/libvirt-gobject-connection.h"
                         line="97"/>
        <return-value transfer-ownership="none">
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="conn" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-connection.c"
                 line="552">a #GVirConnection</doc>
            <type name="Connection" c:type="GVirConnection*"/>
          </instance-parameter>
          <parameter name="result" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-connection.c"
                 line="553">async method result</doc>
            <type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
          </parameter>
        </parameters>
      </method>
      <method name="open_read_only"
              c:identifier="gvir_connection_open_read_only"
              throws="1">
        <source-position filename="libvirt-gobject/libvirt-gobject-connection.h"
                         line="90"/>
        <return-value transfer-ownership="none">
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="conn" transfer-ownership="none">
            <type name="Connection" c:type="GVirConnection*"/>
          </instance-parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
        </parameters>
      </method>
      <method name="open_read_only_async"
              c:identifier="gvir_connection_open_read_only_async">
        <source-position filename="libvirt-gobject/libvirt-gobject-connection.h"
                         line="100"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="conn" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-connection.c"
                 line="587">a #GVirConnection</doc>
            <type name="Connection" c:type="GVirConnection*"/>
          </instance-parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-connection.c"
                 line="588">cancellation object</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
          <parameter name="callback"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1"
                     scope="async"
                     closure="2">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-connection.c"
                 line="589">completion callback</doc>
            <type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
          </parameter>
          <parameter name="user_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-connection.c"
                 line="590">opaque data for callback</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </method>
      <method name="open_read_only_finish"
              c:identifier="gvir_connection_open_read_only_finish"
              throws="1">
        <source-position filename="libvirt-gobject/libvirt-gobject-connection.h"
                         line="104"/>
        <return-value transfer-ownership="none">
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="conn" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-connection.c"
                 line="616">a #GVirConnection</doc>
            <type name="Connection" c:type="GVirConnection*"/>
          </instance-parameter>
          <parameter name="result" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-connection.c"
                 line="617">async method result</doc>
            <type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
          </parameter>
        </parameters>
      </method>
      <method name="restore_domain_from_file"
              c:identifier="gvir_connection_restore_domain_from_file"
              throws="1">
        <doc xml:space="preserve"
             filename="libvirt-gobject/libvirt-gobject-connection.c"
             line="2355">Restores the domain saved with #gvir_domain_save_to_file</doc>
        <source-position filename="libvirt-gobject/libvirt-gobject-connection.h"
                         line="238"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libvirt-gobject/libvirt-gobject-connection.c"
               line="2364">TRUE on success, FALSE otherwise</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="conn" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-connection.c"
                 line="2357">a #GVirConnection</doc>
            <type name="Connection" c:type="GVirConnection*"/>
          </instance-parameter>
          <parameter name="filename" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-connection.c"
                 line="2358">path to input file</doc>
            <type name="utf8" c:type="gchar*"/>
          </parameter>
          <parameter name="custom_conf"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-connection.c"
                 line="2359">configuration for domain or NULL</doc>
            <type name="LibvirtGConfig.Domain" c:type="GVirConfigDomain*"/>
          </parameter>
          <parameter name="flags" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-connection.c"
                 line="2360">the flags</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
        </parameters>
      </method>
      <method name="restore_domain_from_file_async"
              c:identifier="gvir_connection_restore_domain_from_file_async">
        <doc xml:space="preserve"
             filename="libvirt-gobject/libvirt-gobject-connection.c"
             line="2441">Asynchronous variant of #gvir_connection_restore_domain_from_file</doc>
        <source-position filename="libvirt-gobject/libvirt-gobject-connection.h"
                         line="245"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="conn" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-connection.c"
                 line="2443">a #GVirConnection</doc>
            <type name="Connection" c:type="GVirConnection*"/>
          </instance-parameter>
          <parameter name="filename" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-connection.c"
                 line="2444">path to input file</doc>
            <type name="utf8" c:type="gchar*"/>
          </parameter>
          <parameter name="custom_conf"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-connection.c"
                 line="2445">configuration for domain</doc>
            <type name="LibvirtGConfig.Domain" c:type="GVirConfigDomain*"/>
          </parameter>
          <parameter name="flags" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-connection.c"
                 line="2446">the flags</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-connection.c"
                 line="2447">cancellation object</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
          <parameter name="callback"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1"
                     scope="async"
                     closure="5">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-connection.c"
                 line="2448">completion callback</doc>
            <type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
          </parameter>
          <parameter name="user_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-connection.c"
                 line="2449">opaque data for callback</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </method>
      <method name="restore_domain_from_file_finish"
              c:identifier="gvir_connection_restore_domain_from_file_finish"
              throws="1">
        <doc xml:space="preserve"
             filename="libvirt-gobject/libvirt-gobject-connection.c"
             line="2491">Finishes the operation started by #gvir_restore_domain_from_file_async.</doc>
        <source-position filename="libvirt-gobject/libvirt-gobject-connection.h"
                         line="254"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libvirt-gobject/libvirt-gobject-connection.c"
               line="2499">TRUE if domain was restored successfully, FALSE otherwise.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="conn" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-connection.c"
                 line="2493">a #GVirConnection</doc>
            <type name="Connection" c:type="GVirConnection*"/>
          </instance-parameter>
          <parameter name="result" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-connection.c"
                 line="2494">async method result</doc>
            <type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
          </parameter>
        </parameters>
      </method>
      <method name="start_domain"
              c:identifier="gvir_connection_start_domain"
              throws="1">
        <doc xml:space="preserve"
             filename="libvirt-gobject/libvirt-gobject-connection.c"
             line="1416">Start a new transient domain without persistent configuration.
The returned domain will initially be running.</doc>
        <source-position filename="libvirt-gobject/libvirt-gobject-connection.h"
                         line="141"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="libvirt-gobject/libvirt-gobject-connection.c"
               line="1424">the newly created domain, or NULL if an error
occurred. The returned object should be unreffed with g_object_unref()
when no longer needed.</doc>
          <type name="Domain" c:type="GVirDomain*"/>
        </return-value>
        <parameters>
          <instance-parameter name="conn" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-connection.c"
                 line="1418">a #GVirConnection on which to create the domain</doc>
            <type name="Connection" c:type="GVirConnection*"/>
          </instance-parameter>
          <parameter name="conf" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-connection.c"
                 line="1419">the configuration for the new domain</doc>
            <type name="LibvirtGConfig.Domain" c:type="GVirConfigDomain*"/>
          </parameter>
          <parameter name="flags" transfer-ownership="none">
            <type name="guint" c:type="guint"/>
          </parameter>
        </parameters>
      </method>
      <property name="handle"
                writable="1"
                construct-only="1"
                transfer-ownership="none">
        <type name="ConnectionHandle"/>
      </property>
      <property name="uri"
                writable="1"
                construct-only="1"
                transfer-ownership="none"
                getter="get_uri"
                default-value="NULL">
        <type name="utf8" c:type="gchar*"/>
      </property>
      <field name="parent">
        <type name="GObject.Object" c:type="GObject"/>
      </field>
      <field name="priv">
        <type name="ConnectionPrivate" c:type="GVirConnectionPrivate*"/>
      </field>
      <glib:signal name="connection-closed" when="first">
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
      </glib:signal>
      <glib:signal name="connection-opened" when="first">
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
      </glib:signal>
      <glib:signal name="domain-added" when="first">
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="object" transfer-ownership="none">
            <type name="Domain"/>
          </parameter>
        </parameters>
      </glib:signal>
      <glib:signal name="domain-removed" when="first">
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="object" transfer-ownership="none">
            <type name="Domain"/>
          </parameter>
        </parameters>
      </glib:signal>
    </class>
    <record name="ConnectionClass"
            c:type="GVirConnectionClass"
            glib:is-gtype-struct-for="Connection">
      <source-position filename="libvirt-gobject/libvirt-gobject-connection.h"
                       line="80"/>
      <field name="parent_class">
        <type name="GObject.ObjectClass" c:type="GObjectClass"/>
      </field>
      <field name="connection_opened">
        <callback name="connection_opened">
          <source-position filename="libvirt-gobject/libvirt-gobject-connection.h"
                           line="71"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="conn" transfer-ownership="none">
              <type name="Connection" c:type="GVirConnection*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="connection_closed">
        <callback name="connection_closed">
          <source-position filename="libvirt-gobject/libvirt-gobject-connection.h"
                           line="72"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="conn" transfer-ownership="none">
              <type name="Connection" c:type="GVirConnection*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="domain_added">
        <callback name="domain_added">
          <source-position filename="libvirt-gobject/libvirt-gobject-connection.h"
                           line="74"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="conn" transfer-ownership="none">
              <type name="Connection" c:type="GVirConnection*"/>
            </parameter>
            <parameter name="dom" transfer-ownership="none">
              <type name="Domain" c:type="GVirDomain*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="domain_removed">
        <callback name="domain_removed">
          <source-position filename="libvirt-gobject/libvirt-gobject-connection.h"
                           line="75"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="conn" transfer-ownership="none">
              <type name="Connection" c:type="GVirConnection*"/>
            </parameter>
            <parameter name="dom" transfer-ownership="none">
              <type name="Domain" c:type="GVirDomain*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="stream_new" introspectable="0">
        <callback name="stream_new" introspectable="0">
          <source-position filename="libvirt-gobject/libvirt-gobject-connection.h"
                           line="77"/>
          <return-value>
            <type name="Stream" c:type="GVirStream*"/>
          </return-value>
          <parameters>
            <parameter name="conn" transfer-ownership="none">
              <type name="Connection" c:type="GVirConnection*"/>
            </parameter>
            <parameter name="handle"
                       transfer-ownership="none"
                       nullable="1"
                       allow-none="1">
              <type name="gpointer" c:type="gpointer"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="padding">
        <array zero-terminated="0" fixed-size="20">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
    </record>
    <glib:boxed glib:name="ConnectionHandle"
                c:symbol-prefix="connection_handle"
                glib:type-name="GVirConnectionHandle"
                glib:get-type="gvir_connection_handle_get_type">
    </glib:boxed>
    <record name="ConnectionPrivate"
            c:type="GVirConnectionPrivate"
            disguised="1"
            opaque="1">
      <source-position filename="libvirt-gobject/libvirt-gobject-connection.h"
                       line="54"/>
    </record>
    <function-macro name="DOMAIN"
                    c:identifier="GVIR_DOMAIN"
                    introspectable="0">
      <source-position filename="libvirt-gobject/libvirt-gobject-domain.h"
                       line="36"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="DOMAIN_CLASS"
                    c:identifier="GVIR_DOMAIN_CLASS"
                    introspectable="0">
      <source-position filename="libvirt-gobject/libvirt-gobject-domain.h"
                       line="37"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="DOMAIN_DEVICE"
                    c:identifier="GVIR_DOMAIN_DEVICE"
                    introspectable="0">
      <source-position filename="libvirt-gobject/libvirt-gobject-domain-device.h"
                       line="34"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="DOMAIN_DEVICE_CLASS"
                    c:identifier="GVIR_DOMAIN_DEVICE_CLASS"
                    introspectable="0">
      <source-position filename="libvirt-gobject/libvirt-gobject-domain-device.h"
                       line="35"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="DOMAIN_DEVICE_GET_CLASS"
                    c:identifier="GVIR_DOMAIN_DEVICE_GET_CLASS"
                    introspectable="0">
      <source-position filename="libvirt-gobject/libvirt-gobject-domain-device.h"
                       line="38"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="DOMAIN_DISK"
                    c:identifier="GVIR_DOMAIN_DISK"
                    introspectable="0">
      <source-position filename="libvirt-gobject/libvirt-gobject-domain-disk.h"
                       line="32"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="DOMAIN_DISK_CLASS"
                    c:identifier="GVIR_DOMAIN_DISK_CLASS"
                    introspectable="0">
      <source-position filename="libvirt-gobject/libvirt-gobject-domain-disk.h"
                       line="33"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="DOMAIN_DISK_GET_CLASS"
                    c:identifier="GVIR_DOMAIN_DISK_GET_CLASS"
                    introspectable="0">
      <source-position filename="libvirt-gobject/libvirt-gobject-domain-disk.h"
                       line="36"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="DOMAIN_GET_CLASS"
                    c:identifier="GVIR_DOMAIN_GET_CLASS"
                    introspectable="0">
      <source-position filename="libvirt-gobject/libvirt-gobject-domain.h"
                       line="40"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="DOMAIN_INTERFACE"
                    c:identifier="GVIR_DOMAIN_INTERFACE"
                    introspectable="0">
      <source-position filename="libvirt-gobject/libvirt-gobject-domain-interface.h"
                       line="32"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="DOMAIN_INTERFACE_CLASS"
                    c:identifier="GVIR_DOMAIN_INTERFACE_CLASS"
                    introspectable="0">
      <source-position filename="libvirt-gobject/libvirt-gobject-domain-interface.h"
                       line="33"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="DOMAIN_INTERFACE_GET_CLASS"
                    c:identifier="GVIR_DOMAIN_INTERFACE_GET_CLASS"
                    introspectable="0">
      <source-position filename="libvirt-gobject/libvirt-gobject-domain-interface.h"
                       line="36"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="DOMAIN_SNAPSHOT"
                    c:identifier="GVIR_DOMAIN_SNAPSHOT"
                    introspectable="0">
      <source-position filename="libvirt-gobject/libvirt-gobject-domain-snapshot.h"
                       line="32"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="DOMAIN_SNAPSHOT_CLASS"
                    c:identifier="GVIR_DOMAIN_SNAPSHOT_CLASS"
                    introspectable="0">
      <source-position filename="libvirt-gobject/libvirt-gobject-domain-snapshot.h"
                       line="33"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="DOMAIN_SNAPSHOT_GET_CLASS"
                    c:identifier="GVIR_DOMAIN_SNAPSHOT_GET_CLASS"
                    introspectable="0">
      <source-position filename="libvirt-gobject/libvirt-gobject-domain-snapshot.h"
                       line="36"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <class name="Domain"
           c:symbol-prefix="domain"
           c:type="GVirDomain"
           parent="GObject.Object"
           glib:type-name="GVirDomain"
           glib:get-type="gvir_domain_get_type"
           glib:type-struct="DomainClass">
      <source-position filename="libvirt-gobject/libvirt-gobject-domain.h"
                       line="71"/>
      <virtual-method name="pmsuspended">
        <source-position filename="libvirt-gobject/libvirt-gobject-domain.h"
                         line="68"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="dom" transfer-ownership="none">
            <type name="Domain" c:type="GVirDomain*"/>
          </instance-parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="resumed">
        <source-position filename="libvirt-gobject/libvirt-gobject-domain.h"
                         line="65"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="dom" transfer-ownership="none">
            <type name="Domain" c:type="GVirDomain*"/>
          </instance-parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="started">
        <source-position filename="libvirt-gobject/libvirt-gobject-domain.h"
                         line="63"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="dom" transfer-ownership="none">
            <type name="Domain" c:type="GVirDomain*"/>
          </instance-parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="stopped">
        <source-position filename="libvirt-gobject/libvirt-gobject-domain.h"
                         line="64"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="dom" transfer-ownership="none">
            <type name="Domain" c:type="GVirDomain*"/>
          </instance-parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="suspended">
        <source-position filename="libvirt-gobject/libvirt-gobject-domain.h"
                         line="67"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="dom" transfer-ownership="none">
            <type name="Domain" c:type="GVirDomain*"/>
          </instance-parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="updated">
        <source-position filename="libvirt-gobject/libvirt-gobject-domain.h"
                         line="66"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="dom" transfer-ownership="none">
            <type name="Domain" c:type="GVirDomain*"/>
          </instance-parameter>
        </parameters>
      </virtual-method>
      <method name="create_snapshot"
              c:identifier="gvir_domain_create_snapshot"
              throws="1">
        <source-position filename="libvirt-gobject/libvirt-gobject-domain.h"
                         line="365"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="libvirt-gobject/libvirt-gobject-domain.c"
               line="1480">snapshot of domain. The returned object should be
unreffed when no longer needed</doc>
          <type name="DomainSnapshot" c:type="GVirDomainSnapshot*"/>
        </return-value>
        <parameters>
          <instance-parameter name="dom" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-domain.c"
                 line="1475">the domain</doc>
            <type name="Domain" c:type="GVirDomain*"/>
          </instance-parameter>
          <parameter name="custom_conf"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-domain.c"
                 line="1476">configuration of snapshot or NULL</doc>
            <type name="LibvirtGConfig.DomainSnapshot"
                  c:type="GVirConfigDomainSnapshot*"/>
          </parameter>
          <parameter name="flags" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-domain.c"
                 line="1477">bitwise-OR of #GVirDomainSnapshotCreateFlags</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
        </parameters>
      </method>
      <method name="create_snapshot_async"
              c:identifier="gvir_domain_create_snapshot_async">
        <source-position filename="libvirt-gobject/libvirt-gobject-domain.h"
                         line="370"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="dom" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-domain.c"
                 line="1547">The #GVirDomain</doc>
            <type name="Domain" c:type="GVirDomain*"/>
          </instance-parameter>
          <parameter name="custom_conf"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-domain.c"
                 line="1548">Configuration of snapshot or %NULL</doc>
            <type name="LibvirtGConfig.DomainSnapshot"
                  c:type="GVirConfigDomainSnapshot*"/>
          </parameter>
          <parameter name="flags" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-domain.c"
                 line="1549">Bitwise-OR of #GVirDomainSnapshotCreateFlags</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-domain.c"
                 line="1550">cancellation object</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
          <parameter name="callback"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1"
                     scope="async"
                     closure="4">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-domain.c"
                 line="1551">Completion callback</doc>
            <type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
          </parameter>
          <parameter name="user_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-domain.c"
                 line="1552">Opaque data for callback</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </method>
      <method name="create_snapshot_finish"
              c:identifier="gvir_domain_create_snapshot_finish"
              throws="1">
        <source-position filename="libvirt-gobject/libvirt-gobject-domain.h"
                         line="377"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="libvirt-gobject/libvirt-gobject-domain.c"
               line="1583">The created snapshot</doc>
          <type name="DomainSnapshot" c:type="GVirDomainSnapshot*"/>
        </return-value>
        <parameters>
          <instance-parameter name="domain" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-domain.c"
                 line="1579">A #GVirDomain</doc>
            <type name="Domain" c:type="GVirDomain*"/>
          </instance-parameter>
          <parameter name="result" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-domain.c"
                 line="1580">Async method result</doc>
            <type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
          </parameter>
        </parameters>
      </method>
      <method name="delete" c:identifier="gvir_domain_delete" throws="1">
        <source-position filename="libvirt-gobject/libvirt-gobject-domain.h"
                         line="273"/>
        <return-value transfer-ownership="none">
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="dom" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-domain.c"
                 line="622">the domain</doc>
            <type name="Domain" c:type="GVirDomain*"/>
          </instance-parameter>
          <parameter name="flags" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-domain.c"
                 line="623">the flags</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
        </parameters>
      </method>
      <method name="fetch_snapshots"
              c:identifier="gvir_domain_fetch_snapshots"
              throws="1">
        <source-position filename="libvirt-gobject/libvirt-gobject-domain.h"
                         line="382"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libvirt-gobject/libvirt-gobject-domain.c"
               line="1602">%TRUE on success, %FALSE otherwise.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="dom" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-domain.c"
                 line="1597">The domain</doc>
            <type name="Domain" c:type="GVirDomain*"/>
          </instance-parameter>
          <parameter name="list_flags" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-domain.c"
                 line="1598">bitwise-OR of #GVirDomainSnapshotListFlags</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-domain.c"
                 line="1599">cancellation object</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
        </parameters>
      </method>
      <method name="fetch_snapshots_async"
              c:identifier="gvir_domain_fetch_snapshots_async">
        <source-position filename="libvirt-gobject/libvirt-gobject-domain.h"
                         line="389"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="dom" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-domain.c"
                 line="1719">The domain</doc>
            <type name="Domain" c:type="GVirDomain*"/>
          </instance-parameter>
          <parameter name="list_flags" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-domain.c"
                 line="1720">bitwise-OR of #GVirDomainSnapshotListFlags</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-domain.c"
                 line="1721">cancellation object</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
          <parameter name="callback"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1"
                     scope="async"
                     closure="3">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-domain.c"
                 line="1722">completion callback</doc>
            <type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
          </parameter>
          <parameter name="user_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-domain.c"
                 line="1723">opaque data for callback</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </method>
      <method name="fetch_snapshots_finish"
              c:identifier="gvir_domain_fetch_snapshots_finish"
              throws="1">
        <source-position filename="libvirt-gobject/libvirt-gobject-domain.h"
                         line="395"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libvirt-gobject/libvirt-gobject-domain.c"
               line="1748">TRUE on success, FALSE otherwise.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="dom" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-domain.c"
                 line="1745">a #GVirDomain</doc>
            <type name="Domain" c:type="GVirDomain*"/>
          </instance-parameter>
          <parameter name="res" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-domain.c"
                 line="1746">async method result</doc>
            <type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_config"
              c:identifier="gvir_domain_get_config"
              throws="1">
        <source-position filename="libvirt-gobject/libvirt-gobject-domain.h"
                         line="311"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="libvirt-gobject/libvirt-gobject-domain.c"
               line="846">the config. The returned object should be
unreffed with g_object_unref() when no longer needed.</doc>
          <type name="LibvirtGConfig.Domain" c:type="GVirConfigDomain*"/>
        </return-value>
        <parameters>
          <instance-parameter name="dom" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-domain.c"
                 line="843">the domain</doc>
            <type name="Domain" c:type="GVirDomain*"/>
          </instance-parameter>
          <parameter name="flags" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-domain.c"
                 line="844">the %GVirDomainXMLFlags flags</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_devices"
              c:identifier="gvir_domain_get_devices"
              throws="1">
        <doc xml:space="preserve"
             filename="libvirt-gobject/libvirt-gobject-domain.c"
             line="1387">Gets the list of devices attached to @domain. The returned list should
be freed with g_list_free(), after its elements have been unreffed with
g_object_unref().</doc>
        <source-position filename="libvirt-gobject/libvirt-gobject-domain.h"
                         line="356"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="libvirt-gobject/libvirt-gobject-domain.c"
               line="1396">a newly
allocated #GList of #GVirDomainDevice.</doc>
          <type name="GLib.List" c:type="GList*">
            <type name="DomainDevice"/>
          </type>
        </return-value>
        <parameters>
          <instance-parameter name="domain" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-domain.c"
                 line="1389">the domain</doc>
            <type name="Domain" c:type="GVirDomain*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_has_current_snapshot"
              c:identifier="gvir_domain_get_has_current_snapshot"
              throws="1">
        <source-position filename="libvirt-gobject/libvirt-gobject-domain.h"
                         line="399"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libvirt-gobject/libvirt-gobject-domain.c"
               line="1770">%TRUE on success, %FALSE otherwise.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="dom" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-domain.c"
                 line="1764">a #GVirDomain</doc>
            <type name="Domain" c:type="GVirDomain*"/>
          </instance-parameter>
          <parameter name="flags" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-domain.c"
                 line="1765">Unused, pass 0</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
          <parameter name="has_current_snapshot"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-domain.c"
                 line="1766">Will be set to %TRUE if the given domain
has a current snapshot and to %FALSE otherwise.</doc>
            <type name="gboolean" c:type="gboolean*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_id" c:identifier="gvir_domain_get_id" throws="1">
        <source-position filename="libvirt-gobject/libvirt-gobject-domain.h"
                         line="235"/>
        <return-value transfer-ownership="none">
          <type name="gint" c:type="gint"/>
        </return-value>
        <parameters>
          <instance-parameter name="dom" transfer-ownership="none">
            <type name="Domain" c:type="GVirDomain*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_info" c:identifier="gvir_domain_get_info" throws="1">
        <source-position filename="libvirt-gobject/libvirt-gobject-domain.h"
                         line="301"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="libvirt-gobject/libvirt-gobject-domain.c"
               line="946">the info. The returned structure should be
freed using #g_boxed_free() with GVIR_TYPE_DOMAIN_INFO as the first argument
when no longer needed.</doc>
          <type name="DomainInfo" c:type="GVirDomainInfo*"/>
        </return-value>
        <parameters>
          <instance-parameter name="dom" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-domain.c"
                 line="944">the domain</doc>
            <type name="Domain" c:type="GVirDomain*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_info_async" c:identifier="gvir_domain_get_info_async">
        <doc xml:space="preserve"
             filename="libvirt-gobject/libvirt-gobject-domain.c"
             line="997">Asynchronous variant of #gvir_domain_get_info.</doc>
        <source-position filename="libvirt-gobject/libvirt-gobject-domain.h"
                         line="303"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="dom" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-domain.c"
                 line="999">the domain</doc>
            <type name="Domain" c:type="GVirDomain*"/>
          </instance-parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-domain.c"
                 line="1000">cancellation object</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
          <parameter name="callback"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1"
                     scope="async"
                     closure="2">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-domain.c"
                 line="1001">completion callback</doc>
            <type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
          </parameter>
          <parameter name="user_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-domain.c"
                 line="1002">opaque data for callback</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_info_finish"
              c:identifier="gvir_domain_get_info_finish"
              throws="1">
        <doc xml:space="preserve"
             filename="libvirt-gobject/libvirt-gobject-domain.c"
             line="1024">Finishes the operation started by #gvir_domain_get_info_async.</doc>
        <source-position filename="libvirt-gobject/libvirt-gobject-domain.h"
                         line="307"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="libvirt-gobject/libvirt-gobject-domain.c"
               line="1032">the info. The returned object should be
unreffed with g_object_unref() when no longer needed.</doc>
          <type name="DomainInfo" c:type="GVirDomainInfo*"/>
        </return-value>
        <parameters>
          <instance-parameter name="dom" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-domain.c"
                 line="1026">the domain</doc>
            <type name="Domain" c:type="GVirDomain*"/>
          </instance-parameter>
          <parameter name="result" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-domain.c"
                 line="1027">async method result</doc>
            <type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_name" c:identifier="gvir_domain_get_name">
        <source-position filename="libvirt-gobject/libvirt-gobject-domain.h"
                         line="233"/>
        <return-value transfer-ownership="none">
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="dom" transfer-ownership="none">
            <type name="Domain" c:type="GVirDomain*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_persistent"
              c:identifier="gvir_domain_get_persistent"
              glib:get-property="persistent">
        <source-position filename="libvirt-gobject/libvirt-gobject-domain.h"
                         line="353"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libvirt-gobject/libvirt-gobject-domain.c"
               line="1364">TRUE if domain is persistent, FALSE otherwise.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="dom" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-domain.c"
                 line="1362">the domain</doc>
            <type name="Domain" c:type="GVirDomain*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_saved" c:identifier="gvir_domain_get_saved">
        <source-position filename="libvirt-gobject/libvirt-gobject-domain.h"
                         line="354"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libvirt-gobject/libvirt-gobject-domain.c"
               line="1377">TRUE if a stopped domain has a saved state to which it can be
restored to using #gvir_domain_start, FALSE otherwise.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="dom" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-domain.c"
                 line="1375">the domain</doc>
            <type name="Domain" c:type="GVirDomain*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_snapshots" c:identifier="gvir_domain_get_snapshots">
        <source-position filename="libvirt-gobject/libvirt-gobject-domain.h"
                         line="387"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="libvirt-gobject/libvirt-gobject-domain.c"
               line="1673">A
list of all the snapshots available for the given domain. The returned
list should be freed with g_list_free(), after its elements have been
unreffed with g_object_unref().</doc>
          <type name="GLib.List" c:type="GList*">
            <type name="DomainSnapshot"/>
          </type>
        </return-value>
        <parameters>
          <instance-parameter name="dom" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-domain.c"
                 line="1672">The domain</doc>
            <type name="Domain" c:type="GVirDomain*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_uuid" c:identifier="gvir_domain_get_uuid">
        <source-position filename="libvirt-gobject/libvirt-gobject-domain.h"
                         line="234"/>
        <return-value transfer-ownership="none">
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="dom" transfer-ownership="none">
            <type name="Domain" c:type="GVirDomain*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="open_console"
              c:identifier="gvir_domain_open_console"
              throws="1">
        <doc xml:space="preserve"
             filename="libvirt-gobject/libvirt-gobject-domain.c"
             line="1088">Open a text console for the domain @dom, connecting it to the
stream @stream. If @devname is NULL, the default console will
be opened, otherwise @devname can be used to specify a non-default
console device.</doc>
        <source-position filename="libvirt-gobject/libvirt-gobject-domain.h"
                         line="324"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libvirt-gobject/libvirt-gobject-domain.c"
               line="1100">TRUE if the console was opened, FALSE otherwise.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="dom" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-domain.c"
                 line="1090">the domain</doc>
            <type name="Domain" c:type="GVirDomain*"/>
          </instance-parameter>
          <parameter name="stream" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-domain.c"
                 line="1092">stream to use as output</doc>
            <type name="Stream" c:type="GVirStream*"/>
          </parameter>
          <parameter name="devname"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-domain.c"
                 line="1091">the device name</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="flags" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-domain.c"
                 line="1093">extra flags, currently unused</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
        </parameters>
      </method>
      <method name="open_graphics"
              c:identifier="gvir_domain_open_graphics"
              throws="1">
        <doc xml:space="preserve"
             filename="libvirt-gobject/libvirt-gobject-domain.c"
             line="1137">Open a connection to the local graphics display, connecting it to the
socket pair file descriptor passed in as @fd.</doc>
        <source-position filename="libvirt-gobject/libvirt-gobject-domain.h"
                         line="330"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libvirt-gobject/libvirt-gobject-domain.c"
               line="1147">TRUE if the graphics connection was opened, FALSE otherwise.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="dom" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-domain.c"
                 line="1139">the domain</doc>
            <type name="Domain" c:type="GVirDomain*"/>
          </instance-parameter>
          <parameter name="idx" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-domain.c"
                 line="1140">the graphics index</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
          <parameter name="fd" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-domain.c"
                 line="1141">pre-opened socket pair</doc>
            <type name="gint" c:type="int"/>
          </parameter>
          <parameter name="flags" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-domain.c"
                 line="1142">extra flags, currently unused</doc>
            <type name="guint" c:type="unsigned int"/>
          </parameter>
        </parameters>
      </method>
      <method name="open_graphics_fd"
              c:identifier="gvir_domain_open_graphics_fd"
              version="0.2.0"
              throws="1">
        <doc xml:space="preserve"
             filename="libvirt-gobject/libvirt-gobject-domain.c"
             line="1178">This will create a socket pair connected to the graphics backend of @dom. One
end of the socket will be returned on success, and the other end is handed to
the hypervisor. If @dom has multiple graphics backends configured, then @idx
will determine which one is opened, starting from @idx 0.</doc>
        <source-position filename="libvirt-gobject/libvirt-gobject-domain.h"
                         line="335"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libvirt-gobject/libvirt-gobject-domain.c"
               line="1189">An fd on success, -1 on failure.</doc>
          <type name="gint" c:type="int"/>
        </return-value>
        <parameters>
          <instance-parameter name="dom" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-domain.c"
                 line="1180">the domain</doc>
            <type name="Domain" c:type="GVirDomain*"/>
          </instance-parameter>
          <parameter name="idx" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-domain.c"
                 line="1181">the graphics index</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
          <parameter name="flags" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-domain.c"
                 line="1182">extra flags, currently unused</doc>
            <type name="guint" c:type="unsigned int"/>
          </parameter>
        </parameters>
      </method>
      <method name="reboot" c:identifier="gvir_domain_reboot" throws="1">
        <source-position filename="libvirt-gobject/libvirt-gobject-domain.h"
                         line="279"/>
        <return-value transfer-ownership="none">
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="dom" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-domain.c"
                 line="677">the domain</doc>
            <type name="Domain" c:type="GVirDomain*"/>
          </instance-parameter>
          <parameter name="flags" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-domain.c"
                 line="678">the %GVirDomainRebootFlags flags</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
        </parameters>
      </method>
      <method name="resume" c:identifier="gvir_domain_resume" throws="1">
        <source-position filename="libvirt-gobject/libvirt-gobject-domain.h"
                         line="250"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libvirt-gobject/libvirt-gobject-domain.c"
               line="431">TRUE on success</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="dom" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-domain.c"
                 line="428">the domain</doc>
            <type name="Domain" c:type="GVirDomain*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="resume_async" c:identifier="gvir_domain_resume_async">
        <doc xml:space="preserve"
             filename="libvirt-gobject/libvirt-gobject-domain.c"
             line="467">Asynchronous variant of #gvir_domain_resume.</doc>
        <source-position filename="libvirt-gobject/libvirt-gobject-domain.h"
                         line="252"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="dom" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-domain.c"
                 line="469">the domain to resume</doc>
            <type name="Domain" c:type="GVirDomain*"/>
          </instance-parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-domain.c"
                 line="470">cancellation object</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
          <parameter name="callback"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1"
                     scope="async"
                     closure="2">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-domain.c"
                 line="471">completion callback</doc>
            <type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
          </parameter>
          <parameter name="user_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-domain.c"
                 line="472">opaque data for callback</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </method>
      <method name="resume_finish"
              c:identifier="gvir_domain_resume_finish"
              throws="1">
        <source-position filename="libvirt-gobject/libvirt-gobject-domain.h"
                         line="256"/>
        <return-value transfer-ownership="none">
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="dom" transfer-ownership="none">
            <type name="Domain" c:type="GVirDomain*"/>
          </instance-parameter>
          <parameter name="result" transfer-ownership="none">
            <type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
          </parameter>
        </parameters>
      </method>
      <method name="save" c:identifier="gvir_domain_save" throws="1">
        <doc xml:space="preserve"
             filename="libvirt-gobject/libvirt-gobject-domain.c"
             line="1264">Saves the state of the domain on disk and stops it. Use #gvir_domain_start
to restore the saved state of the domain. A saved domain can be restored
even after shutdown/reboot of host machine.</doc>
        <source-position filename="libvirt-gobject/libvirt-gobject-domain.h"
                         line="342"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libvirt-gobject/libvirt-gobject-domain.c"
               line="1274">TRUE if domain was saved successfully, FALSE otherwise.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="dom" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-domain.c"
                 line="1266">the domain to save</doc>
            <type name="Domain" c:type="GVirDomain*"/>
          </instance-parameter>
          <parameter name="flags" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-domain.c"
                 line="1267">extra flags, currently unused</doc>
            <type name="guint" c:type="unsigned int"/>
          </parameter>
        </parameters>
      </method>
      <method name="save_async" c:identifier="gvir_domain_save_async">
        <doc xml:space="preserve"
             filename="libvirt-gobject/libvirt-gobject-domain.c"
             line="1309">Asynchronous variant of #gvir_domain_save.</doc>
        <source-position filename="libvirt-gobject/libvirt-gobject-domain.h"
                         line="345"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="dom" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-domain.c"
                 line="1311">the domain to save</doc>
            <type name="Domain" c:type="GVirDomain*"/>
          </instance-parameter>
          <parameter name="flags" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-domain.c"
                 line="1312">extra flags, currently unused</doc>
            <type name="guint" c:type="unsigned int"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-domain.c"
                 line="1313">cancellation object</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
          <parameter name="callback"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1"
                     scope="async"
                     closure="3">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-domain.c"
                 line="1314">completion callback</doc>
            <type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
          </parameter>
          <parameter name="user_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-domain.c"
                 line="1315">opaque data for callback</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </method>
      <method name="save_finish"
              c:identifier="gvir_domain_save_finish"
              throws="1">
        <doc xml:space="preserve"
             filename="libvirt-gobject/libvirt-gobject-domain.c"
             line="1339">Finishes the operation started by #gvir_domain_save_async.</doc>
        <source-position filename="libvirt-gobject/libvirt-gobject-domain.h"
                         line="350"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libvirt-gobject/libvirt-gobject-domain.c"
               line="1347">TRUE if domain was saved successfully, FALSE otherwise.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="dom" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-domain.c"
                 line="1341">the domain to save</doc>
            <type name="Domain" c:type="GVirDomain*"/>
          </instance-parameter>
          <parameter name="result" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-domain.c"
                 line="1342">async method result</doc>
            <type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
          </parameter>
        </parameters>
      </method>
      <method name="save_to_file"
              c:identifier="gvir_domain_save_to_file"
              throws="1">
        <source-position filename="libvirt-gobject/libvirt-gobject-domain.h"
                         line="283"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libvirt-gobject/libvirt-gobject-domain.c"
               line="707">TRUE on success, FALSE otherwise</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="dom" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-domain.c"
                 line="702">the domain</doc>
            <type name="Domain" c:type="GVirDomain*"/>
          </instance-parameter>
          <parameter name="filename" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-domain.c"
                 line="703">path to the output file</doc>
            <type name="utf8" c:type="gchar*"/>
          </parameter>
          <parameter name="custom_conf"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-domain.c"
                 line="704">configuration for domain or NULL</doc>
            <type name="LibvirtGConfig.Domain" c:type="GVirConfigDomain*"/>
          </parameter>
          <parameter name="flags" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-domain.c"
                 line="705">the flags</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
        </parameters>
      </method>
      <method name="save_to_file_async"
              c:identifier="gvir_domain_save_to_file_async">
        <doc xml:space="preserve"
             filename="libvirt-gobject/libvirt-gobject-domain.c"
             line="776">Asynchronous variant of #gvir_domain_save_to_file</doc>
        <source-position filename="libvirt-gobject/libvirt-gobject-domain.h"
                         line="289"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="dom" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-domain.c"
                 line="778">the domain</doc>
            <type name="Domain" c:type="GVirDomain*"/>
          </instance-parameter>
          <parameter name="filename" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-domain.c"
                 line="779">path to output file</doc>
            <type name="utf8" c:type="gchar*"/>
          </parameter>
          <parameter name="custom_conf"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-domain.c"
                 line="780">configuration for domain or NULL</doc>
            <type name="LibvirtGConfig.Domain" c:type="GVirConfigDomain*"/>
          </parameter>
          <parameter name="flags" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-domain.c"
                 line="781">the flags</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-domain.c"
                 line="782">cancellation object</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
          <parameter name="callback"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1"
                     scope="async"
                     closure="5">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-domain.c"
                 line="783">completion callback</doc>
            <type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
          </parameter>
          <parameter name="user_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-domain.c"
                 line="784">opaque data for callback</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </method>
      <method name="save_to_file_finish"
              c:identifier="gvir_domain_save_to_file_finish"
              throws="1">
        <doc xml:space="preserve"
             filename="libvirt-gobject/libvirt-gobject-domain.c"
             line="820">Finishes the operation started by #gvir_domain_save_to_file_async.</doc>
        <source-position filename="libvirt-gobject/libvirt-gobject-domain.h"
                         line="297"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libvirt-gobject/libvirt-gobject-domain.c"
               line="828">TRUE if domain was saved successfully, FALSE otherwise.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="dom" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-domain.c"
                 line="822">the domain to save</doc>
            <type name="Domain" c:type="GVirDomain*"/>
          </instance-parameter>
          <parameter name="result" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-domain.c"
                 line="823">async method result</doc>
            <type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
          </parameter>
        </parameters>
      </method>
      <method name="screenshot"
              c:identifier="gvir_domain_screenshot"
              throws="1">
        <source-position filename="libvirt-gobject/libvirt-gobject-domain.h"
                         line="318"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="libvirt-gobject/libvirt-gobject-domain.c"
               line="1052">a newly allocated string containing the
mime-type of the image format, or NULL upon error.</doc>
          <type name="utf8" c:type="gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="dom" transfer-ownership="none">
            <type name="Domain" c:type="GVirDomain*"/>
          </instance-parameter>
          <parameter name="stream" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-domain.c"
                 line="1048">stream to use as output</doc>
            <type name="Stream" c:type="GVirStream*"/>
          </parameter>
          <parameter name="monitor_id" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-domain.c"
                 line="1049">monitor ID to take screenshot from</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
          <parameter name="flags" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-domain.c"
                 line="1050">extra flags, currently unused</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_config"
              c:identifier="gvir_domain_set_config"
              throws="1">
        <doc xml:space="preserve"
             filename="libvirt-gobject/libvirt-gobject-domain.c"
             line="875">Resets configuration of an existing domain.

Note: If domain is already running, the new configuration will not take
affect until domain reboots.</doc>
        <source-position filename="libvirt-gobject/libvirt-gobject-domain.h"
                         line="314"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libvirt-gobject/libvirt-gobject-domain.c"
               line="886">TRUE on success, FALSE if an error occurred.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="domain" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-domain.c"
                 line="877">the domain</doc>
            <type name="Domain" c:type="GVirDomain*"/>
          </instance-parameter>
          <parameter name="conf" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-domain.c"
                 line="878">the new configuration for the domain</doc>
            <type name="LibvirtGConfig.Domain" c:type="GVirConfigDomain*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_time" c:identifier="gvir_domain_set_time" throws="1">
        <doc xml:space="preserve"
             filename="libvirt-gobject/libvirt-gobject-domain.c"
             line="1797">This function tries to set guest time to the given value. The passed
time must in UTC.

If @date_time is %NULL, the time is reset using the domain's RTC.

Please note that some hypervisors may require guest agent to be configured
and running in order for this function to work.</doc>
        <source-position filename="libvirt-gobject/libvirt-gobject-domain.h"
                         line="404"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libvirt-gobject/libvirt-gobject-domain.c"
               line="1812">%TRUE on success, %FALSE otherwise.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="dom" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-domain.c"
                 line="1799">the domain</doc>
            <type name="Domain" c:type="GVirDomain*"/>
          </instance-parameter>
          <parameter name="date_time"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-domain.c"
                 line="1800">the time to set as #GDateTime.</doc>
            <type name="GLib.DateTime" c:type="GDateTime*"/>
          </parameter>
          <parameter name="flags" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-domain.c"
                 line="1801">Unused, pass 0.</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_time_async" c:identifier="gvir_domain_set_time_async">
        <doc xml:space="preserve"
             filename="libvirt-gobject/libvirt-gobject-domain.c"
             line="1873">Asynchronous variant of #gvir_domain_set_time.</doc>
        <source-position filename="libvirt-gobject/libvirt-gobject-domain.h"
                         line="408"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="dom" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-domain.c"
                 line="1875">the domain</doc>
            <type name="Domain" c:type="GVirDomain*"/>
          </instance-parameter>
          <parameter name="date_time"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-domain.c"
                 line="1876">the time to set as #GDateTime.</doc>
            <type name="GLib.DateTime" c:type="GDateTime*"/>
          </parameter>
          <parameter name="flags" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-domain.c"
                 line="1877">bitwise-OR of #GVirDomainSetTimeFlags.</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-domain.c"
                 line="1878">cancellation object</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
          <parameter name="callback"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1"
                     scope="async"
                     closure="4">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-domain.c"
                 line="1879">completion callback</doc>
            <type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
          </parameter>
          <parameter name="user_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-domain.c"
                 line="1880">opaque data for callback</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_time_finish"
              c:identifier="gvir_domain_set_time_finish"
              throws="1">
        <doc xml:space="preserve"
             filename="libvirt-gobject/libvirt-gobject-domain.c"
             line="1910">Finishes the operation started by #gvir_domain_set_time_async.</doc>
        <source-position filename="libvirt-gobject/libvirt-gobject-domain.h"
                         line="414"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libvirt-gobject/libvirt-gobject-domain.c"
               line="1918">%TRUE on success, %FALSE otherwise.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="dom" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-domain.c"
                 line="1912">the domain</doc>
            <type name="Domain" c:type="GVirDomain*"/>
          </instance-parameter>
          <parameter name="result" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-domain.c"
                 line="1913">async method result</doc>
            <type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
          </parameter>
        </parameters>
      </method>
      <method name="shutdown" c:identifier="gvir_domain_shutdown" throws="1">
        <source-position filename="libvirt-gobject/libvirt-gobject-domain.h"
                         line="276"/>
        <return-value transfer-ownership="none">
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="dom" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-domain.c"
                 line="652">the domain</doc>
            <type name="Domain" c:type="GVirDomain*"/>
          </instance-parameter>
          <parameter name="flags" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-domain.c"
                 line="653">the %GVirDomainShutdownFlags flags</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
        </parameters>
      </method>
      <method name="start" c:identifier="gvir_domain_start" throws="1">
        <source-position filename="libvirt-gobject/libvirt-gobject-domain.h"
                         line="238"/>
        <return-value transfer-ownership="none">
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="dom" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-domain.c"
                 line="341">the domain</doc>
            <type name="Domain" c:type="GVirDomain*"/>
          </instance-parameter>
          <parameter name="flags" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-domain.c"
                 line="342">the flags</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
        </parameters>
      </method>
      <method name="start_async" c:identifier="gvir_domain_start_async">
        <doc xml:space="preserve"
             filename="libvirt-gobject/libvirt-gobject-domain.c"
             line="385">Asynchronous variant of #gvir_domain_start.</doc>
        <source-position filename="libvirt-gobject/libvirt-gobject-domain.h"
                         line="241"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="dom" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-domain.c"
                 line="387">the domain</doc>
            <type name="Domain" c:type="GVirDomain*"/>
          </instance-parameter>
          <parameter name="flags" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-domain.c"
                 line="388">the flags</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-domain.c"
                 line="389">cancellation object</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
          <parameter name="callback"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1"
                     scope="async"
                     closure="3">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-domain.c"
                 line="390">completion callback</doc>
            <type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
          </parameter>
          <parameter name="user_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-domain.c"
                 line="391">opaque data for callback</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </method>
      <method name="start_finish"
              c:identifier="gvir_domain_start_finish"
              throws="1">
        <source-position filename="libvirt-gobject/libvirt-gobject-domain.h"
                         line="246"/>
        <return-value transfer-ownership="none">
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="dom" transfer-ownership="none">
            <type name="Domain" c:type="GVirDomain*"/>
          </instance-parameter>
          <parameter name="result" transfer-ownership="none">
            <type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
          </parameter>
        </parameters>
      </method>
      <method name="stop" c:identifier="gvir_domain_stop" throws="1">
        <source-position filename="libvirt-gobject/libvirt-gobject-domain.h"
                         line="270"/>
        <return-value transfer-ownership="none">
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="dom" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-domain.c"
                 line="592">the domain</doc>
            <type name="Domain" c:type="GVirDomain*"/>
          </instance-parameter>
          <parameter name="flags" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-domain.c"
                 line="593">the flags</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
        </parameters>
      </method>
      <method name="suspend" c:identifier="gvir_domain_suspend" throws="1">
        <doc xml:space="preserve"
             filename="libvirt-gobject/libvirt-gobject-domain.c"
             line="1233">Suspends an active domain, the process is frozen without further access to
CPU resources and I/O but the memory used by the domain at the hypervisor
level will stay allocated. Use gvir_domain_resume() to reactivate the domain.</doc>
        <source-position filename="libvirt-gobject/libvirt-gobject-domain.h"
                         line="340"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libvirt-gobject/libvirt-gobject-domain.c"
               line="1242">TRUE if domain was suspended successfully, FALSE otherwise.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="dom" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-domain.c"
                 line="1235">the domain to suspend</doc>
            <type name="Domain" c:type="GVirDomain*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="update_device"
              c:identifier="gvir_domain_update_device"
              throws="1">
        <doc xml:space="preserve"
             filename="libvirt-gobject/libvirt-gobject-domain.c"
             line="1432">Update the configuration of a device.</doc>
        <source-position filename="libvirt-gobject/libvirt-gobject-domain.h"
                         line="359"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libvirt-gobject/libvirt-gobject-domain.c"
               line="1441">TRUE if device was updated successfully, FALSE otherwise.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="dom" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-domain.c"
                 line="1434">the domain</doc>
            <type name="Domain" c:type="GVirDomain*"/>
          </instance-parameter>
          <parameter name="device" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-domain.c"
                 line="1435">A modified device config</doc>
            <type name="LibvirtGConfig.DomainDevice"
                  c:type="GVirConfigDomainDevice*"/>
          </parameter>
          <parameter name="flags" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-domain.c"
                 line="1436">bitwise-OR of #GVirDomainUpdateDeviceFlags</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
        </parameters>
      </method>
      <method name="wakeup" c:identifier="gvir_domain_wakeup" throws="1">
        <source-position filename="libvirt-gobject/libvirt-gobject-domain.h"
                         line="259"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libvirt-gobject/libvirt-gobject-domain.c"
               line="511">TRUE on success</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="dom" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-domain.c"
                 line="507">the domain</doc>
            <type name="Domain" c:type="GVirDomain*"/>
          </instance-parameter>
          <parameter name="flags" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-domain.c"
                 line="508">placeholder for flags, pass 0</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
        </parameters>
      </method>
      <method name="wakeup_async" c:identifier="gvir_domain_wakeup_async">
        <doc xml:space="preserve"
             filename="libvirt-gobject/libvirt-gobject-domain.c"
             line="549">Asynchronous variant of #gvir_domain_wakeup.</doc>
        <source-position filename="libvirt-gobject/libvirt-gobject-domain.h"
                         line="262"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="dom" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-domain.c"
                 line="551">the domain to wakeup</doc>
            <type name="Domain" c:type="GVirDomain*"/>
          </instance-parameter>
          <parameter name="flags" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-domain.c"
                 line="552">placeholder for flags, pass 0</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-domain.c"
                 line="553">cancellation object</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
          <parameter name="callback"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1"
                     scope="async"
                     closure="3">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-domain.c"
                 line="554">completion callback</doc>
            <type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
          </parameter>
          <parameter name="user_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-domain.c"
                 line="555">opaque data for callback</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </method>
      <method name="wakeup_finish"
              c:identifier="gvir_domain_wakeup_finish"
              throws="1">
        <source-position filename="libvirt-gobject/libvirt-gobject-domain.h"
                         line="267"/>
        <return-value transfer-ownership="none">
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="dom" transfer-ownership="none">
            <type name="Domain" c:type="GVirDomain*"/>
          </instance-parameter>
          <parameter name="result" transfer-ownership="none">
            <type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
          </parameter>
        </parameters>
      </method>
      <property name="handle"
                writable="1"
                construct-only="1"
                transfer-ownership="none">
        <type name="DomainHandle"/>
      </property>
      <property name="persistent"
                transfer-ownership="none"
                getter="get_persistent"
                default-value="TRUE">
        <type name="gboolean" c:type="gboolean"/>
      </property>
      <field name="parent">
        <type name="GObject.Object" c:type="GObject"/>
      </field>
      <field name="priv">
        <type name="DomainPrivate" c:type="GVirDomainPrivate*"/>
      </field>
      <glib:signal name="pmsuspended"
                   when="last"
                   no-recurse="1"
                   detailed="1"
                   no-hooks="1">
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
      </glib:signal>
      <glib:signal name="resumed"
                   when="last"
                   no-recurse="1"
                   detailed="1"
                   no-hooks="1">
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
      </glib:signal>
      <glib:signal name="started"
                   when="last"
                   no-recurse="1"
                   detailed="1"
                   no-hooks="1">
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
      </glib:signal>
      <glib:signal name="stopped"
                   when="last"
                   no-recurse="1"
                   detailed="1"
                   no-hooks="1">
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
      </glib:signal>
      <glib:signal name="suspended"
                   when="last"
                   no-recurse="1"
                   detailed="1"
                   no-hooks="1">
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
      </glib:signal>
      <glib:signal name="updated" when="last" no-recurse="1" no-hooks="1">
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
      </glib:signal>
    </class>
    <record name="DomainClass"
            c:type="GVirDomainClass"
            glib:is-gtype-struct-for="Domain">
      <source-position filename="libvirt-gobject/libvirt-gobject-domain.h"
                       line="71"/>
      <field name="parent_class">
        <type name="GObject.ObjectClass" c:type="GObjectClass"/>
      </field>
      <field name="started">
        <callback name="started">
          <source-position filename="libvirt-gobject/libvirt-gobject-domain.h"
                           line="63"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="dom" transfer-ownership="none">
              <type name="Domain" c:type="GVirDomain*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="stopped">
        <callback name="stopped">
          <source-position filename="libvirt-gobject/libvirt-gobject-domain.h"
                           line="64"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="dom" transfer-ownership="none">
              <type name="Domain" c:type="GVirDomain*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="resumed">
        <callback name="resumed">
          <source-position filename="libvirt-gobject/libvirt-gobject-domain.h"
                           line="65"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="dom" transfer-ownership="none">
              <type name="Domain" c:type="GVirDomain*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="updated">
        <callback name="updated">
          <source-position filename="libvirt-gobject/libvirt-gobject-domain.h"
                           line="66"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="dom" transfer-ownership="none">
              <type name="Domain" c:type="GVirDomain*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="suspended">
        <callback name="suspended">
          <source-position filename="libvirt-gobject/libvirt-gobject-domain.h"
                           line="67"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="dom" transfer-ownership="none">
              <type name="Domain" c:type="GVirDomain*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="pmsuspended">
        <callback name="pmsuspended">
          <source-position filename="libvirt-gobject/libvirt-gobject-domain.h"
                           line="68"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="dom" transfer-ownership="none">
              <type name="Domain" c:type="GVirDomain*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="padding">
        <array zero-terminated="0" fixed-size="19">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
    </record>
    <enumeration name="DomainDeleteFlags"
                 glib:type-name="GVirDomainDeleteFlags"
                 glib:get-type="gvir_domain_delete_flags_get_type"
                 c:type="GVirDomainDeleteFlags">
      <member name="none"
              value="0"
              c:identifier="GVIR_DOMAIN_DELETE_NONE"
              glib:nick="none"
              glib:name="GVIR_DOMAIN_DELETE_NONE">
        <doc xml:space="preserve"
             filename="libvirt-gobject/libvirt-gobject-domain.h"
             line="97">No flags</doc>
      </member>
      <member name="saved_state"
              value="1"
              c:identifier="GVIR_DOMAIN_DELETE_SAVED_STATE"
              glib:nick="saved-state"
              glib:name="GVIR_DOMAIN_DELETE_SAVED_STATE">
        <doc xml:space="preserve"
             filename="libvirt-gobject/libvirt-gobject-domain.h"
             line="98">Also remove associated saved state (if present).</doc>
      </member>
      <member name="snapshots_metadata"
              value="2"
              c:identifier="GVIR_DOMAIN_DELETE_SNAPSHOTS_METADATA"
              glib:nick="snapshots-metadata"
              glib:name="GVIR_DOMAIN_DELETE_SNAPSHOTS_METADATA">
        <doc xml:space="preserve"
             filename="libvirt-gobject/libvirt-gobject-domain.h"
             line="99">If last use of domain, then also
                                        remove any snapshot metadata.</doc>
      </member>
      <member name="remove_nvram"
              value="4"
              c:identifier="GVIR_DOMAIN_DELETE_REMOVE_NVRAM"
              glib:nick="remove-nvram"
              glib:name="GVIR_DOMAIN_DELETE_REMOVE_NVRAM">
      </member>
      <member name="keep_nvram"
              value="8"
              c:identifier="GVIR_DOMAIN_DELETE_KEEP_NVRAM"
              glib:nick="keep-nvram"
              glib:name="GVIR_DOMAIN_DELETE_KEEP_NVRAM">
      </member>
    </enumeration>
    <class name="DomainDevice"
           c:symbol-prefix="domain_device"
           c:type="GVirDomainDevice"
           parent="GObject.Object"
           abstract="1"
           glib:type-name="GVirDomainDevice"
           glib:get-type="gvir_domain_device_get_type"
           glib:type-struct="DomainDeviceClass">
      <source-position filename="libvirt-gobject/libvirt-gobject-domain-device.h"
                       line="58"/>
      <method name="get_config"
              c:identifier="gvir_domain_device_get_config"
              glib:get-property="config">
        <source-position filename="libvirt-gobject/libvirt-gobject-domain-device.h"
                         line="63"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="libvirt-gobject/libvirt-gobject-domain-device.c"
               line="173">the config. The returned object should be
unreffed with g_object_unref() when no longer needed.</doc>
          <type name="LibvirtGConfig.DomainDevice"
                c:type="GVirConfigDomainDevice*"/>
        </return-value>
        <parameters>
          <instance-parameter name="device" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-domain-device.c"
                 line="171">the domain device</doc>
            <type name="DomainDevice" c:type="GVirDomainDevice*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_domain"
              c:identifier="gvir_domain_device_get_domain"
              glib:get-property="domain">
        <source-position filename="libvirt-gobject/libvirt-gobject-domain-device.h"
                         line="62"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="libvirt-gobject/libvirt-gobject-domain-device.c"
               line="158">the associated domain. The returned object
should be unreffed with g_object_unref() when no longer needed.</doc>
          <type name="Domain" c:type="GVirDomain*"/>
        </return-value>
        <parameters>
          <instance-parameter name="device" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-domain-device.c"
                 line="156">the domain device</doc>
            <type name="DomainDevice" c:type="GVirDomainDevice*"/>
          </instance-parameter>
        </parameters>
      </method>
      <property name="config"
                writable="1"
                construct-only="1"
                transfer-ownership="none"
                getter="get_config">
        <type name="LibvirtGConfig.DomainDevice"/>
      </property>
      <property name="domain"
                writable="1"
                construct-only="1"
                transfer-ownership="none"
                getter="get_domain">
        <type name="Domain"/>
      </property>
      <field name="parent">
        <type name="GObject.Object" c:type="GObject"/>
      </field>
      <field name="priv">
        <type name="DomainDevicePrivate" c:type="GVirDomainDevicePrivate*"/>
      </field>
    </class>
    <record name="DomainDeviceClass"
            c:type="GVirDomainDeviceClass"
            glib:is-gtype-struct-for="DomainDevice">
      <source-position filename="libvirt-gobject/libvirt-gobject-domain-device.h"
                       line="58"/>
      <field name="parent_class">
        <type name="GObject.ObjectClass" c:type="GObjectClass"/>
      </field>
      <field name="padding">
        <array zero-terminated="0" fixed-size="20">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
    </record>
    <record name="DomainDevicePrivate"
            c:type="GVirDomainDevicePrivate"
            disguised="1"
            opaque="1">
      <source-position filename="libvirt-gobject/libvirt-gobject-domain-device.h"
                       line="41"/>
    </record>
    <class name="DomainDisk"
           c:symbol-prefix="domain_disk"
           c:type="GVirDomainDisk"
           parent="DomainDevice"
           glib:type-name="GVirDomainDisk"
           glib:get-type="gvir_domain_disk_get_type"
           glib:type-struct="DomainDiskClass">
      <source-position filename="libvirt-gobject/libvirt-gobject-domain-disk.h"
                       line="68"/>
      <method name="get_stats"
              c:identifier="gvir_domain_disk_get_stats"
              throws="1">
        <doc xml:space="preserve"
             filename="libvirt-gobject/libvirt-gobject-domain-disk.c"
             line="91">This function returns network disk stats. Individual fields
within the stats structure may be returned as -1, which indicates
that the hypervisor does not support that particular statistic.</doc>
        <source-position filename="libvirt-gobject/libvirt-gobject-domain-disk.h"
                         line="73"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="libvirt-gobject/libvirt-gobject-domain-disk.c"
               line="100">the stats or %NULL in case of error.The
returned object should be unreffed with g_object_unref() when no longer
needed.</doc>
          <type name="DomainDiskStats" c:type="GVirDomainDiskStats*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-domain-disk.c"
                 line="93">the domain disk</doc>
            <type name="DomainDisk" c:type="GVirDomainDisk*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="resize" c:identifier="gvir_domain_disk_resize" throws="1">
        <doc xml:space="preserve"
             filename="libvirt-gobject/libvirt-gobject-domain-disk.c"
             line="136">This function resize the disk of a running domain.</doc>
        <source-position filename="libvirt-gobject/libvirt-gobject-domain-disk.h"
                         line="74"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libvirt-gobject/libvirt-gobject-domain-disk.c"
               line="145">TRUE if size was successfully changed, FALSE otherwise.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-domain-disk.c"
                 line="138">the domain disk</doc>
            <type name="DomainDisk" c:type="GVirDomainDisk*"/>
          </instance-parameter>
          <parameter name="size" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-domain-disk.c"
                 line="139">new size of the block image in kilobytes</doc>
            <type name="guint64" c:type="guint64"/>
          </parameter>
          <parameter name="flags" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-domain-disk.c"
                 line="140">flags, currently unused. Pass '0'.</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
        </parameters>
      </method>
      <field name="parent">
        <type name="DomainDevice" c:type="GVirDomainDevice"/>
      </field>
      <field name="priv">
        <type name="DomainDiskPrivate" c:type="GVirDomainDiskPrivate*"/>
      </field>
    </class>
    <record name="DomainDiskClass"
            c:type="GVirDomainDiskClass"
            glib:is-gtype-struct-for="DomainDisk">
      <source-position filename="libvirt-gobject/libvirt-gobject-domain-disk.h"
                       line="68"/>
      <field name="parent_class">
        <type name="DomainDeviceClass" c:type="GVirDomainDeviceClass"/>
      </field>
      <field name="padding">
        <array zero-terminated="0" fixed-size="20">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
    </record>
    <record name="DomainDiskPrivate"
            c:type="GVirDomainDiskPrivate"
            disguised="1"
            opaque="1">
      <source-position filename="libvirt-gobject/libvirt-gobject-domain-disk.h"
                       line="51"/>
    </record>
    <record name="DomainDiskStats"
            c:type="GVirDomainDiskStats"
            glib:type-name="GVirDomainDiskStats"
            glib:get-type="gvir_domain_disk_stats_get_type"
            c:symbol-prefix="domain_disk_stats">
      <source-position filename="libvirt-gobject/libvirt-gobject-domain-disk.h"
                       line="48"/>
      <field name="rd_req" writable="1">
        <type name="gint64" c:type="gint64"/>
      </field>
      <field name="rd_bytes" writable="1">
        <type name="gint64" c:type="gint64"/>
      </field>
      <field name="wr_req" writable="1">
        <type name="gint64" c:type="gint64"/>
      </field>
      <field name="wr_bytes" writable="1">
        <type name="gint64" c:type="gint64"/>
      </field>
      <field name="errs" writable="1">
        <type name="gint64" c:type="gint64"/>
      </field>
    </record>
    <glib:boxed glib:name="DomainHandle"
                c:symbol-prefix="domain_handle"
                glib:type-name="GVirDomainHandle"
                glib:get-type="gvir_domain_handle_get_type">
    </glib:boxed>
    <record name="DomainInfo"
            c:type="GVirDomainInfo"
            glib:type-name="GVirDomainInfo"
            glib:get-type="gvir_domain_info_get_type"
            c:symbol-prefix="domain_info">
      <source-position filename="libvirt-gobject/libvirt-gobject-domain.h"
                       line="227"/>
      <field name="state" writable="1">
        <type name="DomainState" c:type="GVirDomainState"/>
      </field>
      <field name="maxMem" writable="1">
        <type name="guint64" c:type="guint64"/>
      </field>
      <field name="memory" writable="1">
        <type name="guint64" c:type="guint64"/>
      </field>
      <field name="nrVirtCpu" writable="1">
        <type name="guint16" c:type="guint16"/>
      </field>
      <field name="cpuTime" writable="1">
        <type name="guint64" c:type="guint64"/>
      </field>
    </record>
    <class name="DomainInterface"
           c:symbol-prefix="domain_interface"
           c:type="GVirDomainInterface"
           parent="DomainDevice"
           glib:type-name="GVirDomainInterface"
           glib:get-type="gvir_domain_interface_get_type"
           glib:type-struct="DomainInterfaceClass">
      <source-position filename="libvirt-gobject/libvirt-gobject-domain-interface.h"
                       line="71"/>
      <method name="get_stats"
              c:identifier="gvir_domain_interface_get_stats"
              throws="1">
        <doc xml:space="preserve"
             filename="libvirt-gobject/libvirt-gobject-domain-interface.c"
             line="93">This function returns network interface stats. Individual fields
within the stats structure may be returned as -1, which indicates
that the hypervisor does not support that particular statistic.</doc>
        <source-position filename="libvirt-gobject/libvirt-gobject-domain-interface.h"
                         line="76"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="libvirt-gobject/libvirt-gobject-domain-interface.c"
               line="102">the stats or %NULL in case of error. The
returned object should be unreffed with g_object_unref() when no longer
needed.</doc>
          <type name="DomainInterfaceStats"
                c:type="GVirDomainInterfaceStats*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-domain-interface.c"
                 line="95">the domain interface</doc>
            <type name="DomainInterface" c:type="GVirDomainInterface*"/>
          </instance-parameter>
        </parameters>
      </method>
      <field name="parent">
        <type name="DomainDevice" c:type="GVirDomainDevice"/>
      </field>
      <field name="priv">
        <type name="DomainInterfacePrivate"
              c:type="GVirDomainInterfacePrivate*"/>
      </field>
    </class>
    <record name="DomainInterfaceClass"
            c:type="GVirDomainInterfaceClass"
            glib:is-gtype-struct-for="DomainInterface">
      <source-position filename="libvirt-gobject/libvirt-gobject-domain-interface.h"
                       line="71"/>
      <field name="parent_class">
        <type name="DomainDeviceClass" c:type="GVirDomainDeviceClass"/>
      </field>
      <field name="padding">
        <array zero-terminated="0" fixed-size="20">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
    </record>
    <record name="DomainInterfacePrivate"
            c:type="GVirDomainInterfacePrivate"
            disguised="1"
            opaque="1">
      <source-position filename="libvirt-gobject/libvirt-gobject-domain-interface.h"
                       line="54"/>
    </record>
    <record name="DomainInterfaceStats"
            c:type="GVirDomainInterfaceStats"
            glib:type-name="GVirDomainInterfaceStats"
            glib:get-type="gvir_domain_interface_stats_get_type"
            c:symbol-prefix="domain_interface_stats">
      <source-position filename="libvirt-gobject/libvirt-gobject-domain-interface.h"
                       line="51"/>
      <field name="rx_bytes" writable="1">
        <type name="gint64" c:type="gint64"/>
      </field>
      <field name="rx_packets" writable="1">
        <type name="gint64" c:type="gint64"/>
      </field>
      <field name="rx_errs" writable="1">
        <type name="gint64" c:type="gint64"/>
      </field>
      <field name="rx_drop" writable="1">
        <type name="gint64" c:type="gint64"/>
      </field>
      <field name="tx_bytes" writable="1">
        <type name="gint64" c:type="gint64"/>
      </field>
      <field name="tx_packets" writable="1">
        <type name="gint64" c:type="gint64"/>
      </field>
      <field name="tx_errs" writable="1">
        <type name="gint64" c:type="gint64"/>
      </field>
      <field name="tx_drop" writable="1">
        <type name="gint64" c:type="gint64"/>
      </field>
    </record>
    <record name="DomainPrivate"
            c:type="GVirDomainPrivate"
            disguised="1"
            opaque="1">
      <source-position filename="libvirt-gobject/libvirt-gobject-domain.h"
                       line="46"/>
    </record>
    <enumeration name="DomainRebootFlags"
                 glib:type-name="GVirDomainRebootFlags"
                 glib:get-type="gvir_domain_reboot_flags_get_type"
                 c:type="GVirDomainRebootFlags">
      <member name="none"
              value="0"
              c:identifier="GVIR_DOMAIN_REBOOT_NONE"
              glib:nick="none"
              glib:name="GVIR_DOMAIN_REBOOT_NONE">
        <doc xml:space="preserve"
             filename="libvirt-gobject/libvirt-gobject-domain.h"
             line="176">No flags, hypervisor choice</doc>
      </member>
      <member name="acpi_power_btn"
              value="1"
              c:identifier="GVIR_DOMAIN_REBOOT_ACPI_POWER_BTN"
              glib:nick="acpi-power-btn"
              glib:name="GVIR_DOMAIN_REBOOT_ACPI_POWER_BTN">
        <doc xml:space="preserve"
             filename="libvirt-gobject/libvirt-gobject-domain.h"
             line="177">Send ACPI event</doc>
      </member>
      <member name="guest_agent"
              value="2"
              c:identifier="GVIR_DOMAIN_REBOOT_GUEST_AGENT"
              glib:nick="guest-agent"
              glib:name="GVIR_DOMAIN_REBOOT_GUEST_AGENT">
        <doc xml:space="preserve"
             filename="libvirt-gobject/libvirt-gobject-domain.h"
             line="178">Use guest agent</doc>
      </member>
    </enumeration>
    <enumeration name="DomainShutdownFlags"
                 glib:type-name="GVirDomainShutdownFlags"
                 glib:get-type="gvir_domain_shutdown_flags_get_type"
                 c:type="GVirDomainShutdownFlags">
      <member name="none"
              value="0"
              c:identifier="GVIR_DOMAIN_SHUTDOWN_NONE"
              glib:nick="none"
              glib:name="GVIR_DOMAIN_SHUTDOWN_NONE">
        <doc xml:space="preserve"
             filename="libvirt-gobject/libvirt-gobject-domain.h"
             line="126">No flags, hypervisor choice</doc>
      </member>
      <member name="acpi_power_btn"
              value="1"
              c:identifier="GVIR_DOMAIN_SHUTDOWN_ACPI_POWER_BTN"
              glib:nick="acpi-power-btn"
              glib:name="GVIR_DOMAIN_SHUTDOWN_ACPI_POWER_BTN">
        <doc xml:space="preserve"
             filename="libvirt-gobject/libvirt-gobject-domain.h"
             line="127">Send ACPI event</doc>
      </member>
      <member name="guest_agent"
              value="2"
              c:identifier="GVIR_DOMAIN_SHUTDOWN_GUEST_AGENT"
              glib:nick="guest-agent"
              glib:name="GVIR_DOMAIN_SHUTDOWN_GUEST_AGENT">
        <doc xml:space="preserve"
             filename="libvirt-gobject/libvirt-gobject-domain.h"
             line="128">Use guest agent</doc>
      </member>
    </enumeration>
    <class name="DomainSnapshot"
           c:symbol-prefix="domain_snapshot"
           c:type="GVirDomainSnapshot"
           parent="GObject.Object"
           glib:type-name="GVirDomainSnapshot"
           glib:get-type="gvir_domain_snapshot_get_type"
           glib:type-struct="DomainSnapshotClass">
      <source-position filename="libvirt-gobject/libvirt-gobject-domain-snapshot.h"
                       line="58"/>
      <method name="delete"
              c:identifier="gvir_domain_snapshot_delete"
              throws="1">
        <source-position filename="libvirt-gobject/libvirt-gobject-domain-snapshot.h"
                         line="96"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libvirt-gobject/libvirt-gobject-domain-snapshot.c"
               line="210">TRUE on success, FALSE otherwise</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="snapshot" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-domain-snapshot.c"
                 line="206">The domain snapshot</doc>
            <type name="DomainSnapshot" c:type="GVirDomainSnapshot*"/>
          </instance-parameter>
          <parameter name="flags" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-domain-snapshot.c"
                 line="207">Bitwise or of #GVirDomainSnapshotDeleteFlags</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
        </parameters>
      </method>
      <method name="delete_async"
              c:identifier="gvir_domain_snapshot_delete_async">
        <source-position filename="libvirt-gobject/libvirt-gobject-domain-snapshot.h"
                         line="100"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="snapshot" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-domain-snapshot.c"
                 line="256">A #GVirDomainSnapshot</doc>
            <type name="DomainSnapshot" c:type="GVirDomainSnapshot*"/>
          </instance-parameter>
          <parameter name="flags" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-domain-snapshot.c"
                 line="257">Bitwise-OR of #GVirDomainSnapshotDeleteFlags</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-domain-snapshot.c"
                 line="258">cancellation object</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
          <parameter name="callback"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1"
                     scope="async"
                     closure="3">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-domain-snapshot.c"
                 line="259">completion callback</doc>
            <type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
          </parameter>
          <parameter name="user_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-domain-snapshot.c"
                 line="260">opaque data for callback</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </method>
      <method name="delete_finish"
              c:identifier="gvir_domain_snapshot_delete_finish"
              throws="1">
        <source-position filename="libvirt-gobject/libvirt-gobject-domain-snapshot.h"
                         line="106"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libvirt-gobject/libvirt-gobject-domain-snapshot.c"
               line="283">%TRUE on success, %FALSE otherwise.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="snapshot" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-domain-snapshot.c"
                 line="280">A #GVirDomainSnapshot</doc>
            <type name="DomainSnapshot" c:type="GVirDomainSnapshot*"/>
          </instance-parameter>
          <parameter name="res" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-domain-snapshot.c"
                 line="281">async method result</doc>
            <type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_config"
              c:identifier="gvir_domain_snapshot_get_config"
              throws="1">
        <source-position filename="libvirt-gobject/libvirt-gobject-domain-snapshot.h"
                         line="91"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="libvirt-gobject/libvirt-gobject-domain-snapshot.c"
               line="175">the config. The returned object should be
unreffed with g_object_unref() when no longer needed.</doc>
          <type name="LibvirtGConfig.DomainSnapshot"
                c:type="GVirConfigDomainSnapshot*"/>
        </return-value>
        <parameters>
          <instance-parameter name="snapshot" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-domain-snapshot.c"
                 line="172">the domain_snapshot</doc>
            <type name="DomainSnapshot" c:type="GVirDomainSnapshot*"/>
          </instance-parameter>
          <parameter name="flags" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-domain-snapshot.c"
                 line="173">the flags</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_is_current"
              c:identifier="gvir_domain_snapshot_get_is_current"
              throws="1">
        <source-position filename="libvirt-gobject/libvirt-gobject-domain-snapshot.h"
                         line="110"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libvirt-gobject/libvirt-gobject-domain-snapshot.c"
               line="303">%TRUE on success, %FALSE otherwise.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="snapshot" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-domain-snapshot.c"
                 line="297">The domain snapshot</doc>
            <type name="DomainSnapshot" c:type="GVirDomainSnapshot*"/>
          </instance-parameter>
          <parameter name="flags" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-domain-snapshot.c"
                 line="298">Currently unused, pass 0</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
          <parameter name="is_current"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-domain-snapshot.c"
                 line="299">%TRUE if the given snapshot is the current snapshot
of its domain, %FALSE otherwise.</doc>
            <type name="gboolean" c:type="gboolean*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_name" c:identifier="gvir_domain_snapshot_get_name">
        <source-position filename="libvirt-gobject/libvirt-gobject-domain-snapshot.h"
                         line="89"/>
        <return-value transfer-ownership="none">
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="snapshot" transfer-ownership="none">
            <type name="DomainSnapshot" c:type="GVirDomainSnapshot*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="revert_to"
              c:identifier="gvir_domain_snapshot_revert_to"
              throws="1">
        <source-position filename="libvirt-gobject/libvirt-gobject-domain-snapshot.h"
                         line="115"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libvirt-gobject/libvirt-gobject-domain-snapshot.c"
               line="337">TRUE if the snapshot's domain has successfully been
reverted to the given snapshot, FALSE otherwise, in which case
@error will be set.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="snapshot" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-domain-snapshot.c"
                 line="333">The domain snapshot</doc>
            <type name="DomainSnapshot" c:type="GVirDomainSnapshot*"/>
          </instance-parameter>
          <parameter name="flags" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-domain-snapshot.c"
                 line="334">Bitwise OR of GVirDomainSnapshotRevertFlags</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
        </parameters>
      </method>
      <method name="revert_to_async"
              c:identifier="gvir_domain_snapshot_revert_to_async">
        <source-position filename="libvirt-gobject/libvirt-gobject-domain-snapshot.h"
                         line="119"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="snapshot" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-domain-snapshot.c"
                 line="384">A #GVirDomainSnapshot</doc>
            <type name="DomainSnapshot" c:type="GVirDomainSnapshot*"/>
          </instance-parameter>
          <parameter name="flags" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-domain-snapshot.c"
                 line="385">Bitwise OR of #GVirDomainSnapshotRevertFlags</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-domain-snapshot.c"
                 line="386">cancellation object</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
          <parameter name="callback"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1"
                     scope="async"
                     closure="3">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-domain-snapshot.c"
                 line="387">The callback</doc>
            <type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
          </parameter>
          <parameter name="user_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-domain-snapshot.c"
                 line="388">Opaque data for callback</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </method>
      <method name="revert_to_finish"
              c:identifier="gvir_domain_snapshot_revert_to_finish"
              throws="1">
        <source-position filename="libvirt-gobject/libvirt-gobject-domain-snapshot.h"
                         line="125"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libvirt-gobject/libvirt-gobject-domain-snapshot.c"
               line="413">%TRUE on success, %FALSE otherwise.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="snapshot" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-domain-snapshot.c"
                 line="410">The domain snapshot</doc>
            <type name="DomainSnapshot" c:type="GVirDomainSnapshot*"/>
          </instance-parameter>
          <parameter name="result" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-domain-snapshot.c"
                 line="411">The result</doc>
            <type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_config"
              c:identifier="gvir_domain_snapshot_set_config"
              throws="1">
        <doc xml:space="preserve"
             filename="libvirt-gobject/libvirt-gobject-domain-snapshot.c"
             line="427">Updates the given snapshot's configuration according to the
given GVirConfigDomainSnapshot.</doc>
        <source-position filename="libvirt-gobject/libvirt-gobject-domain-snapshot.h"
                         line="130"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libvirt-gobject/libvirt-gobject-domain-snapshot.c"
               line="436">%TRUE if no error was reported, %FALSE otherwise.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="snapshot" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-domain-snapshot.c"
                 line="429">The domain snapshot</doc>
            <type name="DomainSnapshot" c:type="GVirDomainSnapshot*"/>
          </instance-parameter>
          <parameter name="conf" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-domain-snapshot.c"
                 line="430">The new config object</doc>
            <type name="LibvirtGConfig.DomainSnapshot"
                  c:type="GVirConfigDomainSnapshot*"/>
          </parameter>
        </parameters>
      </method>
      <property name="handle"
                writable="1"
                construct-only="1"
                transfer-ownership="none">
        <type name="DomainSnapshotHandle"/>
      </property>
      <field name="parent">
        <type name="GObject.Object" c:type="GObject"/>
      </field>
      <field name="priv">
        <type name="DomainSnapshotPrivate"
              c:type="GVirDomainSnapshotPrivate*"/>
      </field>
    </class>
    <record name="DomainSnapshotClass"
            c:type="GVirDomainSnapshotClass"
            glib:is-gtype-struct-for="DomainSnapshot">
      <source-position filename="libvirt-gobject/libvirt-gobject-domain-snapshot.h"
                       line="58"/>
      <field name="parent_class">
        <type name="GObject.ObjectClass" c:type="GObjectClass"/>
      </field>
      <field name="padding">
        <array zero-terminated="0" fixed-size="20">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
    </record>
    <enumeration name="DomainSnapshotCreateFlags"
                 glib:type-name="GVirDomainSnapshotCreateFlags"
                 glib:get-type="gvir_domain_snapshot_create_flags_get_type"
                 c:type="GVirDomainSnapshotCreateFlags">
      <member name="none"
              value="0"
              c:identifier="GVIR_DOMAIN_SNAPSHOT_NONE"
              glib:nick="none"
              glib:name="GVIR_DOMAIN_SNAPSHOT_NONE">
        <doc xml:space="preserve"
             filename="libvirt-gobject/libvirt-gobject-domain.h"
             line="139">No flags</doc>
      </member>
      <member name="redefine"
              value="1"
              c:identifier="GVIR_DOMAIN_SNAPSHOT_REDEFINE"
              glib:nick="redefine"
              glib:name="GVIR_DOMAIN_SNAPSHOT_REDEFINE">
        <doc xml:space="preserve"
             filename="libvirt-gobject/libvirt-gobject-domain.h"
             line="140">Restore or alter metadata</doc>
      </member>
      <member name="current"
              value="2"
              c:identifier="GVIR_DOMAIN_SNAPSHOT_CURRENT"
              glib:nick="current"
              glib:name="GVIR_DOMAIN_SNAPSHOT_CURRENT">
        <doc xml:space="preserve"
             filename="libvirt-gobject/libvirt-gobject-domain.h"
             line="141">With redefine, make snapshot current</doc>
      </member>
      <member name="no_metadata"
              value="4"
              c:identifier="GVIR_DOMAIN_SNAPSHOT_NO_METADATA"
              glib:nick="no-metadata"
              glib:name="GVIR_DOMAIN_SNAPSHOT_NO_METADATA">
        <doc xml:space="preserve"
             filename="libvirt-gobject/libvirt-gobject-domain.h"
             line="142">Make snapshot without remembering it</doc>
      </member>
      <member name="halt"
              value="8"
              c:identifier="GVIR_DOMAIN_SNAPSHOT_HALT"
              glib:nick="halt"
              glib:name="GVIR_DOMAIN_SNAPSHOT_HALT">
        <doc xml:space="preserve"
             filename="libvirt-gobject/libvirt-gobject-domain.h"
             line="143">Stop running guest after snapshot</doc>
      </member>
      <member name="disk_only"
              value="16"
              c:identifier="GVIR_DOMAIN_SNAPSHOT_DISK_ONLY"
              glib:nick="disk-only"
              glib:name="GVIR_DOMAIN_SNAPSHOT_DISK_ONLY">
        <doc xml:space="preserve"
             filename="libvirt-gobject/libvirt-gobject-domain.h"
             line="144">Disk snapshot, not system checkpoint</doc>
      </member>
      <member name="reuse_ext"
              value="32"
              c:identifier="GVIR_DOMAIN_SNAPSHOT_REUSE_EXT"
              glib:nick="reuse-ext"
              glib:name="GVIR_DOMAIN_SNAPSHOT_REUSE_EXT">
        <doc xml:space="preserve"
             filename="libvirt-gobject/libvirt-gobject-domain.h"
             line="145">Reuse any existing external files</doc>
      </member>
      <member name="quiesce"
              value="64"
              c:identifier="GVIR_DOMAIN_SNAPSHOT_QUIESCE"
              glib:nick="quiesce"
              glib:name="GVIR_DOMAIN_SNAPSHOT_QUIESCE">
        <doc xml:space="preserve"
             filename="libvirt-gobject/libvirt-gobject-domain.h"
             line="146">Use guest agent to quiesce all mounter
                               file systems within the domain</doc>
      </member>
      <member name="atomic"
              value="128"
              c:identifier="GVIR_DOMAIN_SNAPSHOT_ATOMIC"
              glib:nick="atomic"
              glib:name="GVIR_DOMAIN_SNAPSHOT_ATOMIC">
        <doc xml:space="preserve"
             filename="libvirt-gobject/libvirt-gobject-domain.h"
             line="148">Atomically avoid partial changes</doc>
      </member>
    </enumeration>
    <enumeration name="DomainSnapshotDeleteFlags"
                 glib:type-name="GVirDomainSnapshotDeleteFlags"
                 glib:get-type="gvir_domain_snapshot_delete_flags_get_type"
                 c:type="GVirDomainSnapshotDeleteFlags">
      <member name="children"
              value="1"
              c:identifier="GVIR_DOMAIN_SNAPSHOT_DELETE_CHILDREN"
              glib:nick="children"
              glib:name="GVIR_DOMAIN_SNAPSHOT_DELETE_CHILDREN">
        <doc xml:space="preserve"
             filename="libvirt-gobject/libvirt-gobject-domain-snapshot.h"
             line="62">Also delete children</doc>
      </member>
      <member name="metadata_only"
              value="2"
              c:identifier="GVIR_DOMAIN_SNAPSHOT_DELETE_METADATA_ONLY"
              glib:nick="metadata-only"
              glib:name="GVIR_DOMAIN_SNAPSHOT_DELETE_METADATA_ONLY">
        <doc xml:space="preserve"
             filename="libvirt-gobject/libvirt-gobject-domain-snapshot.h"
             line="63">Delete just metadata</doc>
      </member>
      <member name="children_only"
              value="4"
              c:identifier="GVIR_DOMAIN_SNAPSHOT_DELETE_CHILDREN_ONLY"
              glib:nick="children-only"
              glib:name="GVIR_DOMAIN_SNAPSHOT_DELETE_CHILDREN_ONLY">
        <doc xml:space="preserve"
             filename="libvirt-gobject/libvirt-gobject-domain-snapshot.h"
             line="64">Delete just children</doc>
      </member>
    </enumeration>
    <glib:boxed glib:name="DomainSnapshotHandle"
                c:symbol-prefix="domain_snapshot_handle"
                glib:type-name="GVirDomainSnapshotHandle"
                glib:get-type="gvir_domain_snapshot_handle_get_type">
    </glib:boxed>
    <enumeration name="DomainSnapshotListFlags"
                 glib:type-name="GVirDomainSnapshotListFlags"
                 glib:get-type="gvir_domain_snapshot_list_flags_get_type"
                 c:type="GVirDomainSnapshotListFlags">
      <member name="all"
              value="0"
              c:identifier="GVIR_DOMAIN_SNAPSHOT_LIST_ALL"
              glib:nick="all"
              glib:name="GVIR_DOMAIN_SNAPSHOT_LIST_ALL">
        <doc xml:space="preserve"
             filename="libvirt-gobject/libvirt-gobject-domain.h"
             line="189">List all snapshots</doc>
      </member>
      <member name="descendants"
              value="1"
              c:identifier="GVIR_DOMAIN_SNAPSHOT_LIST_DESCENDANTS"
              glib:nick="descendants"
              glib:name="GVIR_DOMAIN_SNAPSHOT_LIST_DESCENDANTS">
        <doc xml:space="preserve"
             filename="libvirt-gobject/libvirt-gobject-domain.h"
             line="190">List all descendants, not just
                                        children, when listing a snapshot.
                                        For historical reasons, groups do not use contiguous bits.</doc>
      </member>
      <member name="roots"
              value="1"
              c:identifier="GVIR_DOMAIN_SNAPSHOT_LIST_ROOTS"
              glib:nick="roots"
              glib:name="GVIR_DOMAIN_SNAPSHOT_LIST_ROOTS">
        <doc xml:space="preserve"
             filename="libvirt-gobject/libvirt-gobject-domain.h"
             line="193">Filter by snapshots with no parents, when listing a domain</doc>
      </member>
      <member name="metadata"
              value="2"
              c:identifier="GVIR_DOMAIN_SNAPSHOT_LIST_METADATA"
              glib:nick="metadata"
              glib:name="GVIR_DOMAIN_SNAPSHOT_LIST_METADATA">
        <doc xml:space="preserve"
             filename="libvirt-gobject/libvirt-gobject-domain.h"
             line="194">Filter by snapshots which have metadata</doc>
      </member>
      <member name="leaves"
              value="4"
              c:identifier="GVIR_DOMAIN_SNAPSHOT_LIST_LEAVES"
              glib:nick="leaves"
              glib:name="GVIR_DOMAIN_SNAPSHOT_LIST_LEAVES">
        <doc xml:space="preserve"
             filename="libvirt-gobject/libvirt-gobject-domain.h"
             line="195">Filter by snapshots with no children</doc>
      </member>
      <member name="no_leaves"
              value="8"
              c:identifier="GVIR_DOMAIN_SNAPSHOT_LIST_NO_LEAVES"
              glib:nick="no-leaves"
              glib:name="GVIR_DOMAIN_SNAPSHOT_LIST_NO_LEAVES">
        <doc xml:space="preserve"
             filename="libvirt-gobject/libvirt-gobject-domain.h"
             line="196">Filter by snapshots that have children</doc>
      </member>
      <member name="no_metadata"
              value="16"
              c:identifier="GVIR_DOMAIN_SNAPSHOT_LIST_NO_METADATA"
              glib:nick="no-metadata"
              glib:name="GVIR_DOMAIN_SNAPSHOT_LIST_NO_METADATA">
        <doc xml:space="preserve"
             filename="libvirt-gobject/libvirt-gobject-domain.h"
             line="197">Filter by snapshots with no metadata</doc>
      </member>
      <member name="inactive"
              value="32"
              c:identifier="GVIR_DOMAIN_SNAPSHOT_LIST_INACTIVE"
              glib:nick="inactive"
              glib:name="GVIR_DOMAIN_SNAPSHOT_LIST_INACTIVE">
        <doc xml:space="preserve"
             filename="libvirt-gobject/libvirt-gobject-domain.h"
             line="198">Filter by snapshots taken while guest was shut off</doc>
      </member>
      <member name="active"
              value="64"
              c:identifier="GVIR_DOMAIN_SNAPSHOT_LIST_ACTIVE"
              glib:nick="active"
              glib:name="GVIR_DOMAIN_SNAPSHOT_LIST_ACTIVE">
        <doc xml:space="preserve"
             filename="libvirt-gobject/libvirt-gobject-domain.h"
             line="199">Filter by snapshots taken while guest was active, and with memory state</doc>
      </member>
      <member name="disk_only"
              value="128"
              c:identifier="GVIR_DOMAIN_SNAPSHOT_LIST_DISK_ONLY"
              glib:nick="disk-only"
              glib:name="GVIR_DOMAIN_SNAPSHOT_LIST_DISK_ONLY">
        <doc xml:space="preserve"
             filename="libvirt-gobject/libvirt-gobject-domain.h"
             line="200">Filter by snapshots taken while guest was active, but without memory state</doc>
      </member>
      <member name="internal"
              value="256"
              c:identifier="GVIR_DOMAIN_SNAPSHOT_LIST_INTERNAL"
              glib:nick="internal"
              glib:name="GVIR_DOMAIN_SNAPSHOT_LIST_INTERNAL">
        <doc xml:space="preserve"
             filename="libvirt-gobject/libvirt-gobject-domain.h"
             line="201">Filter by snapshots stored internal to disk images</doc>
      </member>
      <member name="external"
              value="512"
              c:identifier="GVIR_DOMAIN_SNAPSHOT_LIST_EXTERNAL"
              glib:nick="external"
              glib:name="GVIR_DOMAIN_SNAPSHOT_LIST_EXTERNAL">
        <doc xml:space="preserve"
             filename="libvirt-gobject/libvirt-gobject-domain.h"
             line="202">Filter by snapshots that use files external to disk images</doc>
      </member>
    </enumeration>
    <record name="DomainSnapshotPrivate"
            c:type="GVirDomainSnapshotPrivate"
            disguised="1"
            opaque="1">
      <source-position filename="libvirt-gobject/libvirt-gobject-domain-snapshot.h"
                       line="41"/>
    </record>
    <enumeration name="DomainSnapshotRevertFlags"
                 glib:type-name="GVirDomainSnapshotRevertFlags"
                 glib:get-type="gvir_domain_snapshot_revert_flags_get_type"
                 c:type="GVirDomainSnapshotRevertFlags">
      <member name="running"
              value="1"
              c:identifier="GVIR_DOMAIN_SNAPSHOT_REVERT_RUNNING"
              glib:nick="running"
              glib:name="GVIR_DOMAIN_SNAPSHOT_REVERT_RUNNING">
        <doc xml:space="preserve"
             filename="libvirt-gobject/libvirt-gobject-domain-snapshot.h"
             line="75">Run after revert</doc>
      </member>
      <member name="paused"
              value="2"
              c:identifier="GVIR_DOMAIN_SNAPSHOT_REVERT_PAUSED"
              glib:nick="paused"
              glib:name="GVIR_DOMAIN_SNAPSHOT_REVERT_PAUSED">
        <doc xml:space="preserve"
             filename="libvirt-gobject/libvirt-gobject-domain-snapshot.h"
             line="76">Pause after revert</doc>
      </member>
      <member name="force"
              value="4"
              c:identifier="GVIR_DOMAIN_SNAPSHOT_REVERT_FORCE"
              glib:nick="force"
              glib:name="GVIR_DOMAIN_SNAPSHOT_REVERT_FORCE">
        <doc xml:space="preserve"
             filename="libvirt-gobject/libvirt-gobject-domain-snapshot.h"
             line="77">Allow risky reverts</doc>
      </member>
    </enumeration>
    <bitfield name="DomainStartFlags"
              glib:type-name="GVirDomainStartFlags"
              glib:get-type="gvir_domain_start_flags_get_type"
              c:type="GVirDomainStartFlags">
      <member name="none"
              value="0"
              c:identifier="GVIR_DOMAIN_START_NONE"
              glib:nick="none"
              glib:name="GVIR_DOMAIN_START_NONE">
      </member>
      <member name="paused"
              value="1"
              c:identifier="GVIR_DOMAIN_START_PAUSED"
              glib:nick="paused"
              glib:name="GVIR_DOMAIN_START_PAUSED">
      </member>
      <member name="autodestroy"
              value="2"
              c:identifier="GVIR_DOMAIN_START_AUTODESTROY"
              glib:nick="autodestroy"
              glib:name="GVIR_DOMAIN_START_AUTODESTROY">
      </member>
      <member name="bypass_cache"
              value="4"
              c:identifier="GVIR_DOMAIN_START_BYPASS_CACHE"
              glib:nick="bypass-cache"
              glib:name="GVIR_DOMAIN_START_BYPASS_CACHE">
      </member>
      <member name="force_boot"
              value="8"
              c:identifier="GVIR_DOMAIN_START_FORCE_BOOT"
              glib:nick="force-boot"
              glib:name="GVIR_DOMAIN_START_FORCE_BOOT">
      </member>
    </bitfield>
    <enumeration name="DomainState"
                 glib:type-name="GVirDomainState"
                 glib:get-type="gvir_domain_state_get_type"
                 c:type="GVirDomainState">
      <member name="none"
              value="0"
              c:identifier="GVIR_DOMAIN_STATE_NONE"
              glib:nick="none"
              glib:name="GVIR_DOMAIN_STATE_NONE">
      </member>
      <member name="running"
              value="1"
              c:identifier="GVIR_DOMAIN_STATE_RUNNING"
              glib:nick="running"
              glib:name="GVIR_DOMAIN_STATE_RUNNING">
      </member>
      <member name="blocked"
              value="2"
              c:identifier="GVIR_DOMAIN_STATE_BLOCKED"
              glib:nick="blocked"
              glib:name="GVIR_DOMAIN_STATE_BLOCKED">
      </member>
      <member name="paused"
              value="3"
              c:identifier="GVIR_DOMAIN_STATE_PAUSED"
              glib:nick="paused"
              glib:name="GVIR_DOMAIN_STATE_PAUSED">
      </member>
      <member name="shutdown"
              value="4"
              c:identifier="GVIR_DOMAIN_STATE_SHUTDOWN"
              glib:nick="shutdown"
              glib:name="GVIR_DOMAIN_STATE_SHUTDOWN">
      </member>
      <member name="shutoff"
              value="5"
              c:identifier="GVIR_DOMAIN_STATE_SHUTOFF"
              glib:nick="shutoff"
              glib:name="GVIR_DOMAIN_STATE_SHUTOFF">
      </member>
      <member name="crashed"
              value="6"
              c:identifier="GVIR_DOMAIN_STATE_CRASHED"
              glib:nick="crashed"
              glib:name="GVIR_DOMAIN_STATE_CRASHED">
      </member>
      <member name="pmsuspended"
              value="7"
              c:identifier="GVIR_DOMAIN_STATE_PMSUSPENDED"
              glib:nick="pmsuspended"
              glib:name="GVIR_DOMAIN_STATE_PMSUSPENDED">
      </member>
    </enumeration>
    <enumeration name="DomainUpdateDeviceFlags"
                 glib:type-name="GVirDomainUpdateDeviceFlags"
                 glib:get-type="gvir_domain_update_device_flags_get_type"
                 c:type="GVirDomainUpdateDeviceFlags">
      <member name="current"
              value="0"
              c:identifier="GVIR_DOMAIN_UPDATE_DEVICE_CURRENT"
              glib:nick="current"
              glib:name="GVIR_DOMAIN_UPDATE_DEVICE_CURRENT">
        <doc xml:space="preserve"
             filename="libvirt-gobject/libvirt-gobject-domain.h"
             line="164">Update current domain state</doc>
      </member>
      <member name="live"
              value="1"
              c:identifier="GVIR_DOMAIN_UPDATE_DEVICE_LIVE"
              glib:nick="live"
              glib:name="GVIR_DOMAIN_UPDATE_DEVICE_LIVE">
        <doc xml:space="preserve"
             filename="libvirt-gobject/libvirt-gobject-domain.h"
             line="165">Update state for only active domains</doc>
      </member>
      <member name="config"
              value="2"
              c:identifier="GVIR_DOMAIN_UPDATE_DEVICE_CONFIG"
              glib:nick="config"
              glib:name="GVIR_DOMAIN_UPDATE_DEVICE_CONFIG">
        <doc xml:space="preserve"
             filename="libvirt-gobject/libvirt-gobject-domain.h"
             line="166">Update state for persistent state only</doc>
      </member>
    </enumeration>
    <enumeration name="DomainXMLFlags"
                 glib:type-name="GVirDomainXMLFlags"
                 glib:get-type="gvir_domain_xml_flags_get_type"
                 c:type="GVirDomainXMLFlags">
      <member name="none"
              value="0"
              c:identifier="GVIR_DOMAIN_XML_NONE"
              glib:nick="none"
              glib:name="GVIR_DOMAIN_XML_NONE">
        <doc xml:space="preserve"
             filename="libvirt-gobject/libvirt-gobject-domain.h"
             line="112">No flags</doc>
      </member>
      <member name="secure"
              value="1"
              c:identifier="GVIR_DOMAIN_XML_SECURE"
              glib:nick="secure"
              glib:name="GVIR_DOMAIN_XML_SECURE">
        <doc xml:space="preserve"
             filename="libvirt-gobject/libvirt-gobject-domain.h"
             line="113">Dump security sensitive information too</doc>
      </member>
      <member name="inactive"
              value="2"
              c:identifier="GVIR_DOMAIN_XML_INACTIVE"
              glib:nick="inactive"
              glib:name="GVIR_DOMAIN_XML_INACTIVE">
        <doc xml:space="preserve"
             filename="libvirt-gobject/libvirt-gobject-domain.h"
             line="114">Dump inactive domain information</doc>
      </member>
      <member name="update_cpu"
              value="4"
              c:identifier="GVIR_DOMAIN_XML_UPDATE_CPU"
              glib:nick="update-cpu"
              glib:name="GVIR_DOMAIN_XML_UPDATE_CPU">
        <doc xml:space="preserve"
             filename="libvirt-gobject/libvirt-gobject-domain.h"
             line="115">Update guest CPU requirements according to host CPU</doc>
      </member>
    </enumeration>
    <function-macro name="INTERFACE"
                    c:identifier="GVIR_INTERFACE"
                    introspectable="0">
      <source-position filename="libvirt-gobject/libvirt-gobject-interface.h"
                       line="32"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="INTERFACE_CLASS"
                    c:identifier="GVIR_INTERFACE_CLASS"
                    introspectable="0">
      <source-position filename="libvirt-gobject/libvirt-gobject-interface.h"
                       line="33"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="INTERFACE_GET_CLASS"
                    c:identifier="GVIR_INTERFACE_GET_CLASS"
                    introspectable="0">
      <source-position filename="libvirt-gobject/libvirt-gobject-interface.h"
                       line="36"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <enumeration name="IPAddrType"
                 glib:type-name="GVirIPAddrType"
                 glib:get-type="gvir_ip_addr_type_get_type"
                 c:type="GVirIPAddrType">
      <member name="ipv4"
              value="0"
              c:identifier="GVIR_IP_ADDR_TYPE_IPV4"
              glib:nick="ipv4"
              glib:name="GVIR_IP_ADDR_TYPE_IPV4">
        <doc xml:space="preserve"
             filename="libvirt-gobject/libvirt-gobject-network-dhcp-lease.h"
             line="35">IPv4 Address.</doc>
      </member>
      <member name="ipv6"
              value="1"
              c:identifier="GVIR_IP_ADDR_TYPE_IPV6"
              glib:nick="ipv6"
              glib:name="GVIR_IP_ADDR_TYPE_IPV6">
        <doc xml:space="preserve"
             filename="libvirt-gobject/libvirt-gobject-network-dhcp-lease.h"
             line="36">IPv6 Address.</doc>
      </member>
    </enumeration>
    <function-macro name="IS_CONNECTION"
                    c:identifier="GVIR_IS_CONNECTION"
                    introspectable="0">
      <source-position filename="libvirt-gobject/libvirt-gobject-connection.h"
                       line="34"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_CONNECTION_CLASS"
                    c:identifier="GVIR_IS_CONNECTION_CLASS"
                    introspectable="0">
      <source-position filename="libvirt-gobject/libvirt-gobject-connection.h"
                       line="35"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_DOMAIN"
                    c:identifier="GVIR_IS_DOMAIN"
                    introspectable="0">
      <source-position filename="libvirt-gobject/libvirt-gobject-domain.h"
                       line="38"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_DOMAIN_CLASS"
                    c:identifier="GVIR_IS_DOMAIN_CLASS"
                    introspectable="0">
      <source-position filename="libvirt-gobject/libvirt-gobject-domain.h"
                       line="39"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_DOMAIN_DEVICE"
                    c:identifier="GVIR_IS_DOMAIN_DEVICE"
                    introspectable="0">
      <source-position filename="libvirt-gobject/libvirt-gobject-domain-device.h"
                       line="36"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_DOMAIN_DEVICE_CLASS"
                    c:identifier="GVIR_IS_DOMAIN_DEVICE_CLASS"
                    introspectable="0">
      <source-position filename="libvirt-gobject/libvirt-gobject-domain-device.h"
                       line="37"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_DOMAIN_DISK"
                    c:identifier="GVIR_IS_DOMAIN_DISK"
                    introspectable="0">
      <source-position filename="libvirt-gobject/libvirt-gobject-domain-disk.h"
                       line="34"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_DOMAIN_DISK_CLASS"
                    c:identifier="GVIR_IS_DOMAIN_DISK_CLASS"
                    introspectable="0">
      <source-position filename="libvirt-gobject/libvirt-gobject-domain-disk.h"
                       line="35"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_DOMAIN_INTERFACE"
                    c:identifier="GVIR_IS_DOMAIN_INTERFACE"
                    introspectable="0">
      <source-position filename="libvirt-gobject/libvirt-gobject-domain-interface.h"
                       line="34"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_DOMAIN_INTERFACE_CLASS"
                    c:identifier="GVIR_IS_DOMAIN_INTERFACE_CLASS"
                    introspectable="0">
      <source-position filename="libvirt-gobject/libvirt-gobject-domain-interface.h"
                       line="35"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_DOMAIN_SNAPSHOT"
                    c:identifier="GVIR_IS_DOMAIN_SNAPSHOT"
                    introspectable="0">
      <source-position filename="libvirt-gobject/libvirt-gobject-domain-snapshot.h"
                       line="34"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_DOMAIN_SNAPSHOT_CLASS"
                    c:identifier="GVIR_IS_DOMAIN_SNAPSHOT_CLASS"
                    introspectable="0">
      <source-position filename="libvirt-gobject/libvirt-gobject-domain-snapshot.h"
                       line="35"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_INTERFACE"
                    c:identifier="GVIR_IS_INTERFACE"
                    introspectable="0">
      <source-position filename="libvirt-gobject/libvirt-gobject-interface.h"
                       line="34"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_INTERFACE_CLASS"
                    c:identifier="GVIR_IS_INTERFACE_CLASS"
                    introspectable="0">
      <source-position filename="libvirt-gobject/libvirt-gobject-interface.h"
                       line="35"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_MANAGER"
                    c:identifier="GVIR_IS_MANAGER"
                    introspectable="0">
      <source-position filename="libvirt-gobject/libvirt-gobject-manager.h"
                       line="34"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_MANAGER_CLASS"
                    c:identifier="GVIR_IS_MANAGER_CLASS"
                    introspectable="0">
      <source-position filename="libvirt-gobject/libvirt-gobject-manager.h"
                       line="35"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_NETWORK"
                    c:identifier="GVIR_IS_NETWORK"
                    introspectable="0">
      <source-position filename="libvirt-gobject/libvirt-gobject-network.h"
                       line="34"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_NETWORK_CLASS"
                    c:identifier="GVIR_IS_NETWORK_CLASS"
                    introspectable="0">
      <source-position filename="libvirt-gobject/libvirt-gobject-network.h"
                       line="35"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_NETWORK_DHCP_LEASE"
                    c:identifier="GVIR_IS_NETWORK_DHCP_LEASE"
                    introspectable="0">
      <source-position filename="libvirt-gobject/libvirt-gobject-network-dhcp-lease.h"
                       line="46"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_NETWORK_DHCP_LEASE_CLASS"
                    c:identifier="GVIR_IS_NETWORK_DHCP_LEASE_CLASS"
                    introspectable="0">
      <source-position filename="libvirt-gobject/libvirt-gobject-network-dhcp-lease.h"
                       line="47"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_NETWORK_FILTER"
                    c:identifier="GVIR_IS_NETWORK_FILTER"
                    introspectable="0">
      <source-position filename="libvirt-gobject/libvirt-gobject-network-filter.h"
                       line="34"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_NETWORK_FILTER_CLASS"
                    c:identifier="GVIR_IS_NETWORK_FILTER_CLASS"
                    introspectable="0">
      <source-position filename="libvirt-gobject/libvirt-gobject-network-filter.h"
                       line="35"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_NODE_DEVICE"
                    c:identifier="GVIR_IS_NODE_DEVICE"
                    introspectable="0">
      <source-position filename="libvirt-gobject/libvirt-gobject-node-device.h"
                       line="34"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_NODE_DEVICE_CLASS"
                    c:identifier="GVIR_IS_NODE_DEVICE_CLASS"
                    introspectable="0">
      <source-position filename="libvirt-gobject/libvirt-gobject-node-device.h"
                       line="35"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_SECRET"
                    c:identifier="GVIR_IS_SECRET"
                    introspectable="0">
      <source-position filename="libvirt-gobject/libvirt-gobject-secret.h"
                       line="34"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_SECRET_CLASS"
                    c:identifier="GVIR_IS_SECRET_CLASS"
                    introspectable="0">
      <source-position filename="libvirt-gobject/libvirt-gobject-secret.h"
                       line="35"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_STORAGE_POOL"
                    c:identifier="GVIR_IS_STORAGE_POOL"
                    introspectable="0">
      <source-position filename="libvirt-gobject/libvirt-gobject-storage-pool.h"
                       line="34"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_STORAGE_POOL_CLASS"
                    c:identifier="GVIR_IS_STORAGE_POOL_CLASS"
                    introspectable="0">
      <source-position filename="libvirt-gobject/libvirt-gobject-storage-pool.h"
                       line="35"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_STORAGE_VOL"
                    c:identifier="GVIR_IS_STORAGE_VOL"
                    introspectable="0">
      <source-position filename="libvirt-gobject/libvirt-gobject-storage-vol.h"
                       line="35"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_STORAGE_VOL_CLASS"
                    c:identifier="GVIR_IS_STORAGE_VOL_CLASS"
                    introspectable="0">
      <source-position filename="libvirt-gobject/libvirt-gobject-storage-vol.h"
                       line="36"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_STREAM"
                    c:identifier="GVIR_IS_STREAM"
                    introspectable="0">
      <source-position filename="libvirt-gobject/libvirt-gobject-stream.h"
                       line="38"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_STREAM_CLASS"
                    c:identifier="GVIR_IS_STREAM_CLASS"
                    introspectable="0">
      <source-position filename="libvirt-gobject/libvirt-gobject-stream.h"
                       line="39"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <class name="Interface"
           c:symbol-prefix="interface"
           c:type="GVirInterface"
           parent="GObject.Object"
           glib:type-name="GVirInterface"
           glib:get-type="gvir_interface_get_type"
           glib:type-struct="InterfaceClass">
      <source-position filename="libvirt-gobject/libvirt-gobject-interface.h"
                       line="58"/>
      <method name="get_config"
              c:identifier="gvir_interface_get_config"
              throws="1">
        <source-position filename="libvirt-gobject/libvirt-gobject-interface.h"
                         line="67"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="libvirt-gobject/libvirt-gobject-interface.c"
               line="188">the config. The returned object should be
unreffed with g_object_unref() when no longer needed.</doc>
          <type name="LibvirtGConfig.Interface" c:type="GVirConfigInterface*"/>
        </return-value>
        <parameters>
          <instance-parameter name="iface" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-interface.c"
                 line="184">the interface</doc>
            <type name="Interface" c:type="GVirInterface*"/>
          </instance-parameter>
          <parameter name="flags" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-interface.c"
                 line="185">the flags</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_mac" c:identifier="gvir_interface_get_mac">
        <source-position filename="libvirt-gobject/libvirt-gobject-interface.h"
                         line="65"/>
        <return-value transfer-ownership="none">
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="iface" transfer-ownership="none">
            <type name="Interface" c:type="GVirInterface*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_name" c:identifier="gvir_interface_get_name">
        <source-position filename="libvirt-gobject/libvirt-gobject-interface.h"
                         line="64"/>
        <return-value transfer-ownership="none">
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="iface" transfer-ownership="none">
            <type name="Interface" c:type="GVirInterface*"/>
          </instance-parameter>
        </parameters>
      </method>
      <property name="handle"
                writable="1"
                construct-only="1"
                transfer-ownership="none">
        <type name="InterfaceHandle"/>
      </property>
      <field name="parent">
        <type name="GObject.Object" c:type="GObject"/>
      </field>
      <field name="priv">
        <type name="InterfacePrivate" c:type="GVirInterfacePrivate*"/>
      </field>
    </class>
    <record name="InterfaceClass"
            c:type="GVirInterfaceClass"
            glib:is-gtype-struct-for="Interface">
      <source-position filename="libvirt-gobject/libvirt-gobject-interface.h"
                       line="58"/>
      <field name="parent_class">
        <type name="GObject.ObjectClass" c:type="GObjectClass"/>
      </field>
      <field name="padding">
        <array zero-terminated="0" fixed-size="20">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
    </record>
    <glib:boxed glib:name="InterfaceHandle"
                c:symbol-prefix="interface_handle"
                glib:type-name="GVirInterfaceHandle"
                glib:get-type="gvir_interface_handle_get_type">
    </glib:boxed>
    <record name="InterfacePrivate"
            c:type="GVirInterfacePrivate"
            disguised="1"
            opaque="1">
      <source-position filename="libvirt-gobject/libvirt-gobject-interface.h"
                       line="41"/>
    </record>
    <function-macro name="MANAGER"
                    c:identifier="GVIR_MANAGER"
                    introspectable="0">
      <source-position filename="libvirt-gobject/libvirt-gobject-manager.h"
                       line="32"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="MANAGER_CLASS"
                    c:identifier="GVIR_MANAGER_CLASS"
                    introspectable="0">
      <source-position filename="libvirt-gobject/libvirt-gobject-manager.h"
                       line="33"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="MANAGER_GET_CLASS"
                    c:identifier="GVIR_MANAGER_GET_CLASS"
                    introspectable="0">
      <source-position filename="libvirt-gobject/libvirt-gobject-manager.h"
                       line="36"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <class name="Manager"
           c:symbol-prefix="manager"
           c:type="GVirManager"
           parent="GObject.Object"
           glib:type-name="GVirManager"
           glib:get-type="gvir_manager_get_type"
           glib:type-struct="ManagerClass">
      <source-position filename="libvirt-gobject/libvirt-gobject-manager.h"
                       line="61"/>
      <constructor name="new" c:identifier="gvir_manager_new">
        <source-position filename="libvirt-gobject/libvirt-gobject-manager.h"
                         line="65"/>
        <return-value transfer-ownership="full">
          <type name="Manager" c:type="GVirManager*"/>
        </return-value>
      </constructor>
      <virtual-method name="connection_added">
        <source-position filename="libvirt-gobject/libvirt-gobject-manager.h"
                         line="57"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="man" transfer-ownership="none">
            <type name="Manager" c:type="GVirManager*"/>
          </instance-parameter>
          <parameter name="conn" transfer-ownership="none">
            <type name="Connection" c:type="GVirConnection*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="connection_removed">
        <source-position filename="libvirt-gobject/libvirt-gobject-manager.h"
                         line="58"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="man" transfer-ownership="none">
            <type name="Manager" c:type="GVirManager*"/>
          </instance-parameter>
          <parameter name="conn" transfer-ownership="none">
            <type name="Connection" c:type="GVirConnection*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <method name="add_connection" c:identifier="gvir_manager_add_connection">
        <source-position filename="libvirt-gobject/libvirt-gobject-manager.h"
                         line="67"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="man" transfer-ownership="none">
            <type name="Manager" c:type="GVirManager*"/>
          </instance-parameter>
          <parameter name="conn" transfer-ownership="none">
            <type name="Connection" c:type="GVirConnection*"/>
          </parameter>
        </parameters>
      </method>
      <method name="find_connection_by_uri"
              c:identifier="gvir_manager_find_connection_by_uri">
        <source-position filename="libvirt-gobject/libvirt-gobject-manager.h"
                         line="75"/>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve"
               filename="libvirt-gobject/libvirt-gobject-manager.c"
               line="192">the connection,or NULL. The
returned object should be unreffed with g_object_unref() when no longer
needed.</doc>
          <type name="Connection" c:type="GVirConnection*"/>
        </return-value>
        <parameters>
          <instance-parameter name="man" transfer-ownership="none">
            <type name="Manager" c:type="GVirManager*"/>
          </instance-parameter>
          <parameter name="uri" transfer-ownership="none">
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_connections"
              c:identifier="gvir_manager_get_connections">
        <source-position filename="libvirt-gobject/libvirt-gobject-manager.h"
                         line="73"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="libvirt-gobject/libvirt-gobject-manager.c"
               line="168">the connections.
The returned list should be freed with g_list_free(), after its elements
have been unreffed with g_object_unref().</doc>
          <type name="GLib.List" c:type="GList*">
            <type name="Connection"/>
          </type>
        </return-value>
        <parameters>
          <instance-parameter name="man" transfer-ownership="none">
            <type name="Manager" c:type="GVirManager*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="remove_connection"
              c:identifier="gvir_manager_remove_connection">
        <source-position filename="libvirt-gobject/libvirt-gobject-manager.h"
                         line="70"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="man" transfer-ownership="none">
            <type name="Manager" c:type="GVirManager*"/>
          </instance-parameter>
          <parameter name="conn" transfer-ownership="none">
            <type name="Connection" c:type="GVirConnection*"/>
          </parameter>
        </parameters>
      </method>
      <field name="parent">
        <type name="GObject.Object" c:type="GObject"/>
      </field>
      <field name="priv">
        <type name="ManagerPrivate" c:type="GVirManagerPrivate*"/>
      </field>
      <glib:signal name="connection-added" when="first">
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="object" transfer-ownership="none">
            <type name="Connection"/>
          </parameter>
        </parameters>
      </glib:signal>
      <glib:signal name="connection-removed" when="first">
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="object" transfer-ownership="none">
            <type name="Connection"/>
          </parameter>
        </parameters>
      </glib:signal>
    </class>
    <record name="ManagerClass"
            c:type="GVirManagerClass"
            glib:is-gtype-struct-for="Manager">
      <source-position filename="libvirt-gobject/libvirt-gobject-manager.h"
                       line="61"/>
      <field name="parent_class">
        <type name="GObject.ObjectClass" c:type="GObjectClass"/>
      </field>
      <field name="connection_added">
        <callback name="connection_added">
          <source-position filename="libvirt-gobject/libvirt-gobject-manager.h"
                           line="57"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="man" transfer-ownership="none">
              <type name="Manager" c:type="GVirManager*"/>
            </parameter>
            <parameter name="conn" transfer-ownership="none">
              <type name="Connection" c:type="GVirConnection*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="connection_removed">
        <callback name="connection_removed">
          <source-position filename="libvirt-gobject/libvirt-gobject-manager.h"
                           line="58"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="man" transfer-ownership="none">
              <type name="Manager" c:type="GVirManager*"/>
            </parameter>
            <parameter name="conn" transfer-ownership="none">
              <type name="Connection" c:type="GVirConnection*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="padding">
        <array zero-terminated="0" fixed-size="20">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
    </record>
    <record name="ManagerPrivate"
            c:type="GVirManagerPrivate"
            disguised="1"
            opaque="1">
      <source-position filename="libvirt-gobject/libvirt-gobject-manager.h"
                       line="40"/>
    </record>
    <function-macro name="NETWORK"
                    c:identifier="GVIR_NETWORK"
                    introspectable="0">
      <source-position filename="libvirt-gobject/libvirt-gobject-network.h"
                       line="32"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="NETWORK_CLASS"
                    c:identifier="GVIR_NETWORK_CLASS"
                    introspectable="0">
      <source-position filename="libvirt-gobject/libvirt-gobject-network.h"
                       line="33"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="NETWORK_DHCP_LEASE"
                    c:identifier="GVIR_NETWORK_DHCP_LEASE"
                    introspectable="0">
      <source-position filename="libvirt-gobject/libvirt-gobject-network-dhcp-lease.h"
                       line="44"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="NETWORK_DHCP_LEASE_CLASS"
                    c:identifier="GVIR_NETWORK_DHCP_LEASE_CLASS"
                    introspectable="0">
      <source-position filename="libvirt-gobject/libvirt-gobject-network-dhcp-lease.h"
                       line="45"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="NETWORK_DHCP_LEASE_GET_CLASS"
                    c:identifier="GVIR_NETWORK_DHCP_LEASE_GET_CLASS"
                    introspectable="0">
      <source-position filename="libvirt-gobject/libvirt-gobject-network-dhcp-lease.h"
                       line="48"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="NETWORK_FILTER"
                    c:identifier="GVIR_NETWORK_FILTER"
                    introspectable="0">
      <source-position filename="libvirt-gobject/libvirt-gobject-network-filter.h"
                       line="32"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="NETWORK_FILTER_CLASS"
                    c:identifier="GVIR_NETWORK_FILTER_CLASS"
                    introspectable="0">
      <source-position filename="libvirt-gobject/libvirt-gobject-network-filter.h"
                       line="33"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="NETWORK_FILTER_GET_CLASS"
                    c:identifier="GVIR_NETWORK_FILTER_GET_CLASS"
                    introspectable="0">
      <source-position filename="libvirt-gobject/libvirt-gobject-network-filter.h"
                       line="36"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="NETWORK_GET_CLASS"
                    c:identifier="GVIR_NETWORK_GET_CLASS"
                    introspectable="0">
      <source-position filename="libvirt-gobject/libvirt-gobject-network.h"
                       line="36"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="NODE_DEVICE"
                    c:identifier="GVIR_NODE_DEVICE"
                    introspectable="0">
      <source-position filename="libvirt-gobject/libvirt-gobject-node-device.h"
                       line="32"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="NODE_DEVICE_CLASS"
                    c:identifier="GVIR_NODE_DEVICE_CLASS"
                    introspectable="0">
      <source-position filename="libvirt-gobject/libvirt-gobject-node-device.h"
                       line="33"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="NODE_DEVICE_GET_CLASS"
                    c:identifier="GVIR_NODE_DEVICE_GET_CLASS"
                    introspectable="0">
      <source-position filename="libvirt-gobject/libvirt-gobject-node-device.h"
                       line="36"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <class name="Network"
           c:symbol-prefix="network"
           c:type="GVirNetwork"
           parent="GObject.Object"
           glib:type-name="GVirNetwork"
           glib:get-type="gvir_network_get_type"
           glib:type-struct="NetworkClass">
      <source-position filename="libvirt-gobject/libvirt-gobject-network.h"
                       line="61"/>
      <virtual-method name="started">
        <source-position filename="libvirt-gobject/libvirt-gobject-network.h"
                         line="57"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="net" transfer-ownership="none">
            <type name="Network" c:type="GVirNetwork*"/>
          </instance-parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="stopped">
        <source-position filename="libvirt-gobject/libvirt-gobject-network.h"
                         line="58"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="net" transfer-ownership="none">
            <type name="Network" c:type="GVirNetwork*"/>
          </instance-parameter>
        </parameters>
      </virtual-method>
      <method name="get_config"
              c:identifier="gvir_network_get_config"
              throws="1">
        <source-position filename="libvirt-gobject/libvirt-gobject-network.h"
                         line="70"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="libvirt-gobject/libvirt-gobject-network.c"
               line="196">the config. The returned object should be
unreffed with g_object_unref() when no longer needed.</doc>
          <type name="LibvirtGConfig.Network" c:type="GVirConfigNetwork*"/>
        </return-value>
        <parameters>
          <instance-parameter name="network" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-network.c"
                 line="192">the network</doc>
            <type name="Network" c:type="GVirNetwork*"/>
          </instance-parameter>
          <parameter name="flags" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-network.c"
                 line="193">the flags</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_dhcp_leases"
              c:identifier="gvir_network_get_dhcp_leases"
              throws="1">
        <doc xml:space="preserve"
             filename="libvirt-gobject/libvirt-gobject-network.c"
             line="223">This function fetches leases info of guests in the specified network. If the
optional parameter @mac is specified, the returned list will contain only
lease info about a specific guest interface with @mac. There can be multiple
leases for a single @mac because this API supports DHCPv6 too.</doc>
        <source-position filename="libvirt-gobject/libvirt-gobject-network.h"
                         line="73"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="libvirt-gobject/libvirt-gobject-network.c"
               line="235">the
list of network leases. Each object in the returned list should be unreffed
with g_object_unref() and the list itself using g_list_free, when no longer
needed.</doc>
          <type name="GLib.List" c:type="GList*">
            <type name="NetworkDHCPLease"/>
          </type>
        </return-value>
        <parameters>
          <instance-parameter name="network" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-network.c"
                 line="225">the network</doc>
            <type name="Network" c:type="GVirNetwork*"/>
          </instance-parameter>
          <parameter name="mac"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-network.c"
                 line="226">The optional ASCII formatted MAC address of an interface</doc>
            <type name="utf8" c:type="const char*"/>
          </parameter>
          <parameter name="flags" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-network.c"
                 line="227">placeholder for flags, must be 0</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_name" c:identifier="gvir_network_get_name">
        <source-position filename="libvirt-gobject/libvirt-gobject-network.h"
                         line="67"/>
        <return-value transfer-ownership="none">
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="network" transfer-ownership="none">
            <type name="Network" c:type="GVirNetwork*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_uuid" c:identifier="gvir_network_get_uuid">
        <source-position filename="libvirt-gobject/libvirt-gobject-network.h"
                         line="68"/>
        <return-value transfer-ownership="none">
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="network" transfer-ownership="none">
            <type name="Network" c:type="GVirNetwork*"/>
          </instance-parameter>
        </parameters>
      </method>
      <property name="handle"
                writable="1"
                construct-only="1"
                transfer-ownership="none">
        <type name="NetworkHandle"/>
      </property>
      <field name="parent">
        <type name="GObject.Object" c:type="GObject"/>
      </field>
      <field name="priv">
        <type name="NetworkPrivate" c:type="GVirNetworkPrivate*"/>
      </field>
    </class>
    <record name="NetworkClass"
            c:type="GVirNetworkClass"
            glib:is-gtype-struct-for="Network">
      <source-position filename="libvirt-gobject/libvirt-gobject-network.h"
                       line="61"/>
      <field name="parent_class">
        <type name="GObject.ObjectClass" c:type="GObjectClass"/>
      </field>
      <field name="started">
        <callback name="started">
          <source-position filename="libvirt-gobject/libvirt-gobject-network.h"
                           line="57"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="net" transfer-ownership="none">
              <type name="Network" c:type="GVirNetwork*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="stopped">
        <callback name="stopped">
          <source-position filename="libvirt-gobject/libvirt-gobject-network.h"
                           line="58"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="net" transfer-ownership="none">
              <type name="Network" c:type="GVirNetwork*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="padding">
        <array zero-terminated="0" fixed-size="20">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
    </record>
    <class name="NetworkDHCPLease"
           c:symbol-prefix="network_dhcp_lease"
           c:type="GVirNetworkDHCPLease"
           parent="GObject.Object"
           glib:type-name="GVirNetworkDHCPLease"
           glib:get-type="gvir_network_dhcp_lease_get_type"
           glib:type-struct="NetworkDHCPLeaseClass">
      <source-position filename="libvirt-gobject/libvirt-gobject-network-dhcp-lease.h"
                       line="68"/>
      <method name="get_client_id"
              c:identifier="gvir_network_dhcp_lease_get_client_id">
        <source-position filename="libvirt-gobject/libvirt-gobject-network-dhcp-lease.h"
                         line="80"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libvirt-gobject/libvirt-gobject-network-dhcp-lease.c"
               line="238">The client ID or DUID.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="lease" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-network-dhcp-lease.c"
                 line="236">the lease</doc>
            <type name="NetworkDHCPLease" c:type="GVirNetworkDHCPLease*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_expiry_time"
              c:identifier="gvir_network_dhcp_lease_get_expiry_time">
        <source-position filename="libvirt-gobject/libvirt-gobject-network-dhcp-lease.h"
                         line="73"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libvirt-gobject/libvirt-gobject-network-dhcp-lease.c"
               line="147">The expiry time of this lease, as seconds since epoch.</doc>
          <type name="gint64" c:type="gint64"/>
        </return-value>
        <parameters>
          <instance-parameter name="lease" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-network-dhcp-lease.c"
                 line="145">the lease</doc>
            <type name="NetworkDHCPLease" c:type="GVirNetworkDHCPLease*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_hostname"
              c:identifier="gvir_network_dhcp_lease_get_hostname">
        <source-position filename="libvirt-gobject/libvirt-gobject-network-dhcp-lease.h"
                         line="79"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libvirt-gobject/libvirt-gobject-network-dhcp-lease.c"
               line="225">The hostname.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="lease" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-network-dhcp-lease.c"
                 line="223">the lease</doc>
            <type name="NetworkDHCPLease" c:type="GVirNetworkDHCPLease*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_iaid" c:identifier="gvir_network_dhcp_lease_get_iaid">
        <source-position filename="libvirt-gobject/libvirt-gobject-network-dhcp-lease.h"
                         line="76"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libvirt-gobject/libvirt-gobject-network-dhcp-lease.c"
               line="186">The IAID.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="lease" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-network-dhcp-lease.c"
                 line="184">the lease</doc>
            <type name="NetworkDHCPLease" c:type="GVirNetworkDHCPLease*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_iface"
              c:identifier="gvir_network_dhcp_lease_get_iface">
        <source-position filename="libvirt-gobject/libvirt-gobject-network-dhcp-lease.h"
                         line="72"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libvirt-gobject/libvirt-gobject-network-dhcp-lease.c"
               line="134">The network interface name.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="lease" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-network-dhcp-lease.c"
                 line="132">the lease</doc>
            <type name="NetworkDHCPLease" c:type="GVirNetworkDHCPLease*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_ip" c:identifier="gvir_network_dhcp_lease_get_ip">
        <source-position filename="libvirt-gobject/libvirt-gobject-network-dhcp-lease.h"
                         line="77"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libvirt-gobject/libvirt-gobject-network-dhcp-lease.c"
               line="199">The IP address.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="lease" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-network-dhcp-lease.c"
                 line="197">the lease</doc>
            <type name="NetworkDHCPLease" c:type="GVirNetworkDHCPLease*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_ip_type"
              c:identifier="gvir_network_dhcp_lease_get_ip_type">
        <source-position filename="libvirt-gobject/libvirt-gobject-network-dhcp-lease.h"
                         line="74"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libvirt-gobject/libvirt-gobject-network-dhcp-lease.c"
               line="160">The type of IP, see %GVirIPAddrType for possible values.</doc>
          <type name="gint" c:type="gint"/>
        </return-value>
        <parameters>
          <instance-parameter name="lease" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-network-dhcp-lease.c"
                 line="158">the lease</doc>
            <type name="NetworkDHCPLease" c:type="GVirNetworkDHCPLease*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_mac" c:identifier="gvir_network_dhcp_lease_get_mac">
        <source-position filename="libvirt-gobject/libvirt-gobject-network-dhcp-lease.h"
                         line="75"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libvirt-gobject/libvirt-gobject-network-dhcp-lease.c"
               line="173">The MAC address.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="lease" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-network-dhcp-lease.c"
                 line="171">the lease</doc>
            <type name="NetworkDHCPLease" c:type="GVirNetworkDHCPLease*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_prefix"
              c:identifier="gvir_network_dhcp_lease_get_prefix">
        <source-position filename="libvirt-gobject/libvirt-gobject-network-dhcp-lease.h"
                         line="78"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libvirt-gobject/libvirt-gobject-network-dhcp-lease.c"
               line="212">The number of network address bits in the IP address.</doc>
          <type name="guint" c:type="guint"/>
        </return-value>
        <parameters>
          <instance-parameter name="lease" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-network-dhcp-lease.c"
                 line="210">the lease</doc>
            <type name="NetworkDHCPLease" c:type="GVirNetworkDHCPLease*"/>
          </instance-parameter>
        </parameters>
      </method>
      <property name="handle"
                writable="1"
                construct-only="1"
                transfer-ownership="none">
        <type name="gpointer" c:type="gpointer"/>
      </property>
      <field name="parent">
        <type name="GObject.Object" c:type="GObject"/>
      </field>
      <field name="priv">
        <type name="NetworkDHCPLeasePrivate"
              c:type="GVirNetworkDHCPLeasePrivate*"/>
      </field>
    </class>
    <record name="NetworkDHCPLeaseClass"
            c:type="GVirNetworkDHCPLeaseClass"
            glib:is-gtype-struct-for="NetworkDHCPLease">
      <source-position filename="libvirt-gobject/libvirt-gobject-network-dhcp-lease.h"
                       line="68"/>
      <field name="parent_class">
        <type name="GObject.ObjectClass" c:type="GObjectClass"/>
      </field>
      <field name="padding">
        <array zero-terminated="0" fixed-size="7">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
    </record>
    <record name="NetworkDHCPLeasePrivate"
            c:type="GVirNetworkDHCPLeasePrivate"
            disguised="1"
            opaque="1">
      <source-position filename="libvirt-gobject/libvirt-gobject-network-dhcp-lease.h"
                       line="51"/>
    </record>
    <class name="NetworkFilter"
           c:symbol-prefix="network_filter"
           c:type="GVirNetworkFilter"
           parent="GObject.Object"
           glib:type-name="GVirNetworkFilter"
           glib:get-type="gvir_network_filter_get_type"
           glib:type-struct="NetworkFilterClass">
      <source-position filename="libvirt-gobject/libvirt-gobject-network-filter.h"
                       line="58"/>
      <method name="get_config"
              c:identifier="gvir_network_filter_get_config"
              throws="1">
        <source-position filename="libvirt-gobject/libvirt-gobject-network-filter.h"
                         line="66"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="libvirt-gobject/libvirt-gobject-network-filter.c"
               line="200">the config. The returned object should be
unreffed with g_object_unref() when no longer needed.</doc>
          <type name="LibvirtGConfig.NetworkFilter"
                c:type="GVirConfigNetworkFilter*"/>
        </return-value>
        <parameters>
          <instance-parameter name="filter" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-network-filter.c"
                 line="196">the network_filter</doc>
            <type name="NetworkFilter" c:type="GVirNetworkFilter*"/>
          </instance-parameter>
          <parameter name="flags" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-network-filter.c"
                 line="197">the flags</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_name" c:identifier="gvir_network_filter_get_name">
        <source-position filename="libvirt-gobject/libvirt-gobject-network-filter.h"
                         line="63"/>
        <return-value transfer-ownership="none">
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="filter" transfer-ownership="none">
            <type name="NetworkFilter" c:type="GVirNetworkFilter*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_uuid" c:identifier="gvir_network_filter_get_uuid">
        <source-position filename="libvirt-gobject/libvirt-gobject-network-filter.h"
                         line="64"/>
        <return-value transfer-ownership="none">
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="filter" transfer-ownership="none">
            <type name="NetworkFilter" c:type="GVirNetworkFilter*"/>
          </instance-parameter>
        </parameters>
      </method>
      <property name="handle"
                writable="1"
                construct-only="1"
                transfer-ownership="none">
        <type name="NetworkFilterHandle"/>
      </property>
      <field name="parent">
        <type name="GObject.Object" c:type="GObject"/>
      </field>
      <field name="priv">
        <type name="NetworkFilterPrivate" c:type="GVirNetworkFilterPrivate*"/>
      </field>
    </class>
    <record name="NetworkFilterClass"
            c:type="GVirNetworkFilterClass"
            glib:is-gtype-struct-for="NetworkFilter">
      <source-position filename="libvirt-gobject/libvirt-gobject-network-filter.h"
                       line="58"/>
      <field name="parent_class">
        <type name="GObject.ObjectClass" c:type="GObjectClass"/>
      </field>
      <field name="padding">
        <array zero-terminated="0" fixed-size="20">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
    </record>
    <glib:boxed glib:name="NetworkFilterHandle"
                c:symbol-prefix="network_filter_handle"
                glib:type-name="GVirNetworkFilterHandle"
                glib:get-type="gvir_network_filter_handle_get_type">
    </glib:boxed>
    <record name="NetworkFilterPrivate"
            c:type="GVirNetworkFilterPrivate"
            disguised="1"
            opaque="1">
      <source-position filename="libvirt-gobject/libvirt-gobject-network-filter.h"
                       line="41"/>
    </record>
    <glib:boxed glib:name="NetworkHandle"
                c:symbol-prefix="network_handle"
                glib:type-name="GVirNetworkHandle"
                glib:get-type="gvir_network_handle_get_type">
    </glib:boxed>
    <record name="NetworkPrivate"
            c:type="GVirNetworkPrivate"
            disguised="1"
            opaque="1">
      <source-position filename="libvirt-gobject/libvirt-gobject-network.h"
                       line="41"/>
    </record>
    <class name="NodeDevice"
           c:symbol-prefix="node_device"
           c:type="GVirNodeDevice"
           parent="GObject.Object"
           glib:type-name="GVirNodeDevice"
           glib:get-type="gvir_node_device_get_type"
           glib:type-struct="NodeDeviceClass">
      <source-position filename="libvirt-gobject/libvirt-gobject-node-device.h"
                       line="58"/>
      <method name="get_config"
              c:identifier="gvir_node_device_get_config"
              throws="1">
        <source-position filename="libvirt-gobject/libvirt-gobject-node-device.h"
                         line="65"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="libvirt-gobject/libvirt-gobject-node-device.c"
               line="176">the config. The returned object should be
unreffed with g_object_unref() when no longer needed.</doc>
          <type name="LibvirtGConfig.NodeDevice"
                c:type="GVirConfigNodeDevice*"/>
        </return-value>
        <parameters>
          <instance-parameter name="device" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-node-device.c"
                 line="172">the node_device</doc>
            <type name="NodeDevice" c:type="GVirNodeDevice*"/>
          </instance-parameter>
          <parameter name="flags" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-node-device.c"
                 line="173">the flags</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_name" c:identifier="gvir_node_device_get_name">
        <source-position filename="libvirt-gobject/libvirt-gobject-node-device.h"
                         line="63"/>
        <return-value transfer-ownership="none">
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="device" transfer-ownership="none">
            <type name="NodeDevice" c:type="GVirNodeDevice*"/>
          </instance-parameter>
        </parameters>
      </method>
      <property name="handle"
                writable="1"
                construct-only="1"
                transfer-ownership="none">
        <type name="NodeDeviceHandle"/>
      </property>
      <field name="parent">
        <type name="GObject.Object" c:type="GObject"/>
      </field>
      <field name="priv">
        <type name="NodeDevicePrivate" c:type="GVirNodeDevicePrivate*"/>
      </field>
    </class>
    <record name="NodeDeviceClass"
            c:type="GVirNodeDeviceClass"
            glib:is-gtype-struct-for="NodeDevice">
      <source-position filename="libvirt-gobject/libvirt-gobject-node-device.h"
                       line="58"/>
      <field name="parent_class">
        <type name="GObject.ObjectClass" c:type="GObjectClass"/>
      </field>
      <field name="padding">
        <array zero-terminated="0" fixed-size="20">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
    </record>
    <glib:boxed glib:name="NodeDeviceHandle"
                c:symbol-prefix="node_device_handle"
                glib:type-name="GVirNodeDeviceHandle"
                glib:get-type="gvir_node_device_handle_get_type">
    </glib:boxed>
    <record name="NodeDevicePrivate"
            c:type="GVirNodeDevicePrivate"
            disguised="1"
            opaque="1">
      <source-position filename="libvirt-gobject/libvirt-gobject-node-device.h"
                       line="41"/>
    </record>
    <record name="NodeInfo"
            c:type="GVirNodeInfo"
            glib:type-name="GVirNodeInfo"
            glib:get-type="gvir_node_info_get_type"
            c:symbol-prefix="node_info">
      <source-position filename="libvirt-gobject/libvirt-gobject-connection.h"
                       line="51"/>
      <field name="model" writable="1">
        <array zero-terminated="0" fixed-size="32">
          <type name="gchar" c:type="gchar"/>
        </array>
      </field>
      <field name="memory" writable="1">
        <type name="gulong" c:type="gulong"/>
      </field>
      <field name="cpus" writable="1">
        <type name="guint" c:type="guint"/>
      </field>
      <field name="mhz" writable="1">
        <type name="guint" c:type="guint"/>
      </field>
      <field name="nodes" writable="1">
        <type name="guint" c:type="guint"/>
      </field>
      <field name="sockets" writable="1">
        <type name="guint" c:type="guint"/>
      </field>
      <field name="cores" writable="1">
        <type name="guint" c:type="guint"/>
      </field>
      <field name="threads" writable="1">
        <type name="guint" c:type="guint"/>
      </field>
    </record>
    <function-macro name="SECRET"
                    c:identifier="GVIR_SECRET"
                    introspectable="0">
      <source-position filename="libvirt-gobject/libvirt-gobject-secret.h"
                       line="32"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="SECRET_CLASS"
                    c:identifier="GVIR_SECRET_CLASS"
                    introspectable="0">
      <source-position filename="libvirt-gobject/libvirt-gobject-secret.h"
                       line="33"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="SECRET_GET_CLASS"
                    c:identifier="GVIR_SECRET_GET_CLASS"
                    introspectable="0">
      <source-position filename="libvirt-gobject/libvirt-gobject-secret.h"
                       line="36"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="STORAGE_POOL"
                    c:identifier="GVIR_STORAGE_POOL"
                    introspectable="0">
      <source-position filename="libvirt-gobject/libvirt-gobject-storage-pool.h"
                       line="32"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="STORAGE_POOL_CLASS"
                    c:identifier="GVIR_STORAGE_POOL_CLASS"
                    introspectable="0">
      <source-position filename="libvirt-gobject/libvirt-gobject-storage-pool.h"
                       line="33"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="STORAGE_POOL_GET_CLASS"
                    c:identifier="GVIR_STORAGE_POOL_GET_CLASS"
                    introspectable="0">
      <source-position filename="libvirt-gobject/libvirt-gobject-storage-pool.h"
                       line="36"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="STORAGE_VOL"
                    c:identifier="GVIR_STORAGE_VOL"
                    introspectable="0">
      <source-position filename="libvirt-gobject/libvirt-gobject-storage-vol.h"
                       line="33"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="STORAGE_VOL_CLASS"
                    c:identifier="GVIR_STORAGE_VOL_CLASS"
                    introspectable="0">
      <source-position filename="libvirt-gobject/libvirt-gobject-storage-vol.h"
                       line="34"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="STORAGE_VOL_GET_CLASS"
                    c:identifier="GVIR_STORAGE_VOL_GET_CLASS"
                    introspectable="0">
      <source-position filename="libvirt-gobject/libvirt-gobject-storage-vol.h"
                       line="37"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="STREAM"
                    c:identifier="GVIR_STREAM"
                    introspectable="0">
      <source-position filename="libvirt-gobject/libvirt-gobject-stream.h"
                       line="36"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="STREAM_CLASS"
                    c:identifier="GVIR_STREAM_CLASS"
                    introspectable="0">
      <source-position filename="libvirt-gobject/libvirt-gobject-stream.h"
                       line="37"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="STREAM_GET_CLASS"
                    c:identifier="GVIR_STREAM_GET_CLASS"
                    introspectable="0">
      <source-position filename="libvirt-gobject/libvirt-gobject-stream.h"
                       line="40"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <class name="Secret"
           c:symbol-prefix="secret"
           c:type="GVirSecret"
           parent="GObject.Object"
           glib:type-name="GVirSecret"
           glib:get-type="gvir_secret_get_type"
           glib:type-struct="SecretClass">
      <source-position filename="libvirt-gobject/libvirt-gobject-secret.h"
                       line="58"/>
      <method name="get_config"
              c:identifier="gvir_secret_get_config"
              throws="1">
        <source-position filename="libvirt-gobject/libvirt-gobject-secret.h"
                         line="67"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="libvirt-gobject/libvirt-gobject-secret.c"
               line="183">the config. The returned object should be
unreffed with g_object_unref() when no longer needed.</doc>
          <type name="LibvirtGConfig.Secret" c:type="GVirConfigSecret*"/>
        </return-value>
        <parameters>
          <instance-parameter name="secret" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-secret.c"
                 line="179">the secret</doc>
            <type name="Secret" c:type="GVirSecret*"/>
          </instance-parameter>
          <parameter name="flags" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-secret.c"
                 line="180">the flags</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_name" c:identifier="gvir_secret_get_name">
        <source-position filename="libvirt-gobject/libvirt-gobject-secret.h"
                         line="64"/>
        <return-value transfer-ownership="none">
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="secret" transfer-ownership="none">
            <type name="Secret" c:type="GVirSecret*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_uuid" c:identifier="gvir_secret_get_uuid">
        <source-position filename="libvirt-gobject/libvirt-gobject-secret.h"
                         line="65"/>
        <return-value transfer-ownership="none">
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="secret" transfer-ownership="none">
            <type name="Secret" c:type="GVirSecret*"/>
          </instance-parameter>
        </parameters>
      </method>
      <property name="handle"
                writable="1"
                construct-only="1"
                transfer-ownership="none">
        <type name="SecretHandle"/>
      </property>
      <field name="parent">
        <type name="GObject.Object" c:type="GObject"/>
      </field>
      <field name="priv">
        <type name="SecretPrivate" c:type="GVirSecretPrivate*"/>
      </field>
    </class>
    <record name="SecretClass"
            c:type="GVirSecretClass"
            glib:is-gtype-struct-for="Secret">
      <source-position filename="libvirt-gobject/libvirt-gobject-secret.h"
                       line="58"/>
      <field name="parent_class">
        <type name="GObject.ObjectClass" c:type="GObjectClass"/>
      </field>
      <field name="padding">
        <array zero-terminated="0" fixed-size="20">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
    </record>
    <glib:boxed glib:name="SecretHandle"
                c:symbol-prefix="secret_handle"
                glib:type-name="GVirSecretHandle"
                glib:get-type="gvir_secret_handle_get_type">
    </glib:boxed>
    <record name="SecretPrivate"
            c:type="GVirSecretPrivate"
            disguised="1"
            opaque="1">
      <source-position filename="libvirt-gobject/libvirt-gobject-secret.h"
                       line="41"/>
    </record>
    <class name="StoragePool"
           c:symbol-prefix="storage_pool"
           c:type="GVirStoragePool"
           parent="GObject.Object"
           glib:type-name="GVirStoragePool"
           glib:get-type="gvir_storage_pool_get_type"
           glib:type-struct="StoragePoolClass">
      <source-position filename="libvirt-gobject/libvirt-gobject-storage-pool.h"
                       line="59"/>
      <method name="build" c:identifier="gvir_storage_pool_build" throws="1">
        <source-position filename="libvirt-gobject/libvirt-gobject-storage-pool.h"
                         line="113"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libvirt-gobject/libvirt-gobject-storage-pool.c"
               line="626">#True on success, #False otherwise.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="pool" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-storage-pool.c"
                 line="622">the storage pool to build</doc>
            <type name="StoragePool" c:type="GVirStoragePool*"/>
          </instance-parameter>
          <parameter name="flags" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-storage-pool.c"
                 line="623">the flags</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
        </parameters>
      </method>
      <method name="build_async" c:identifier="gvir_storage_pool_build_async">
        <source-position filename="libvirt-gobject/libvirt-gobject-storage-pool.h"
                         line="116"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="pool" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-storage-pool.c"
                 line="663">the storage pool to build</doc>
            <type name="StoragePool" c:type="GVirStoragePool*"/>
          </instance-parameter>
          <parameter name="flags" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-storage-pool.c"
                 line="664">the flags</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-storage-pool.c"
                 line="665">cancellation object</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
          <parameter name="callback"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1"
                     scope="async"
                     closure="3">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-storage-pool.c"
                 line="666">completion callback</doc>
            <type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
          </parameter>
          <parameter name="user_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-storage-pool.c"
                 line="667">opaque data for callback</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </method>
      <method name="build_finish"
              c:identifier="gvir_storage_pool_build_finish"
              throws="1">
        <source-position filename="libvirt-gobject/libvirt-gobject-storage-pool.h"
                         line="121"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libvirt-gobject/libvirt-gobject-storage-pool.c"
               line="695">#True on success, #False otherwise.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="pool" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-storage-pool.c"
                 line="691">the storage pool to build</doc>
            <type name="StoragePool" c:type="GVirStoragePool*"/>
          </instance-parameter>
          <parameter name="result" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-storage-pool.c"
                 line="692">async method result</doc>
            <type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
          </parameter>
        </parameters>
      </method>
      <method name="create_volume"
              c:identifier="gvir_storage_pool_create_volume"
              throws="1">
        <source-position filename="libvirt-gobject/libvirt-gobject-storage-pool.h"
                         line="108"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="libvirt-gobject/libvirt-gobject-storage-pool.c"
               line="565">the newly created volume. The returned object
should be unreffed with g_object_unref() when no longer needed.</doc>
          <type name="StorageVol" c:type="GVirStorageVol*"/>
        </return-value>
        <parameters>
          <instance-parameter name="pool" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-storage-pool.c"
                 line="561">the storage pool in which to create the volume</doc>
            <type name="StoragePool" c:type="GVirStoragePool*"/>
          </instance-parameter>
          <parameter name="conf" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-storage-pool.c"
                 line="562">the configuration for the new volume</doc>
            <type name="LibvirtGConfig.StorageVol"
                  c:type="GVirConfigStorageVol*"/>
          </parameter>
        </parameters>
      </method>
      <method name="delete" c:identifier="gvir_storage_pool_delete" throws="1">
        <source-position filename="libvirt-gobject/libvirt-gobject-storage-pool.h"
                         line="157"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libvirt-gobject/libvirt-gobject-storage-pool.c"
               line="966">#True on success, #False otherwise.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="pool" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-storage-pool.c"
                 line="962">the storage pool to delete</doc>
            <type name="StoragePool" c:type="GVirStoragePool*"/>
          </instance-parameter>
          <parameter name="flags" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-storage-pool.c"
                 line="963">the flags</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
        </parameters>
      </method>
      <method name="delete_async"
              c:identifier="gvir_storage_pool_delete_async">
        <source-position filename="libvirt-gobject/libvirt-gobject-storage-pool.h"
                         line="160"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="pool" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-storage-pool.c"
                 line="1054">the storage pool to delete</doc>
            <type name="StoragePool" c:type="GVirStoragePool*"/>
          </instance-parameter>
          <parameter name="flags" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-storage-pool.c"
                 line="1055">the flags</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-storage-pool.c"
                 line="1056">cancellation object</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
          <parameter name="callback"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1"
                     scope="async"
                     closure="3">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-storage-pool.c"
                 line="1057">completion callback</doc>
            <type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
          </parameter>
          <parameter name="user_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-storage-pool.c"
                 line="1058">opaque data for callback</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </method>
      <method name="delete_finish"
              c:identifier="gvir_storage_pool_delete_finish"
              throws="1">
        <source-position filename="libvirt-gobject/libvirt-gobject-storage-pool.h"
                         line="165"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libvirt-gobject/libvirt-gobject-storage-pool.c"
               line="1086">#True on success, #False otherwise.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="pool" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-storage-pool.c"
                 line="1082">the storage pool to delete</doc>
            <type name="StoragePool" c:type="GVirStoragePool*"/>
          </instance-parameter>
          <parameter name="result" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-storage-pool.c"
                 line="1083">async method result</doc>
            <type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_active" c:identifier="gvir_storage_pool_get_active">
        <source-position filename="libvirt-gobject/libvirt-gobject-storage-pool.h"
                         line="84"/>
        <return-value transfer-ownership="none">
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="pool" transfer-ownership="none">
            <type name="StoragePool" c:type="GVirStoragePool*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_autostart"
              c:identifier="gvir_storage_pool_get_autostart"
              throws="1">
        <source-position filename="libvirt-gobject/libvirt-gobject-storage-pool.h"
                         line="168"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libvirt-gobject/libvirt-gobject-storage-pool.c"
               line="990">#True if autostart is enabled, #False otherwise.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="pool" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-storage-pool.c"
                 line="987">the storage pool</doc>
            <type name="StoragePool" c:type="GVirStoragePool*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_config"
              c:identifier="gvir_storage_pool_get_config"
              throws="1">
        <source-position filename="libvirt-gobject/libvirt-gobject-storage-pool.h"
                         line="87"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="libvirt-gobject/libvirt-gobject-storage-pool.c"
               line="243">the config. The returned object should be
unreffed with g_object_unref() when no longer needed.</doc>
          <type name="LibvirtGConfig.StoragePool"
                c:type="GVirConfigStoragePool*"/>
        </return-value>
        <parameters>
          <instance-parameter name="pool" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-storage-pool.c"
                 line="239">the storage_pool</doc>
            <type name="StoragePool" c:type="GVirStoragePool*"/>
          </instance-parameter>
          <parameter name="flags" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-storage-pool.c"
                 line="240">the flags</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_info"
              c:identifier="gvir_storage_pool_get_info"
              throws="1">
        <source-position filename="libvirt-gobject/libvirt-gobject-storage-pool.h"
                         line="91"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="libvirt-gobject/libvirt-gobject-storage-pool.c"
               line="275">the info. The returned pointer should be
freed using #g_boxed_free() when no longer needed.</doc>
          <type name="StoragePoolInfo" c:type="GVirStoragePoolInfo*"/>
        </return-value>
        <parameters>
          <instance-parameter name="pool" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-storage-pool.c"
                 line="272">the storage_pool</doc>
            <type name="StoragePool" c:type="GVirStoragePool*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_name" c:identifier="gvir_storage_pool_get_name">
        <source-position filename="libvirt-gobject/libvirt-gobject-storage-pool.h"
                         line="82"/>
        <return-value transfer-ownership="none">
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="pool" transfer-ownership="none">
            <type name="StoragePool" c:type="GVirStoragePool*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_persistent"
              c:identifier="gvir_storage_pool_get_persistent">
        <source-position filename="libvirt-gobject/libvirt-gobject-storage-pool.h"
                         line="85"/>
        <return-value transfer-ownership="none">
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="pool" transfer-ownership="none">
            <type name="StoragePool" c:type="GVirStoragePool*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_uuid" c:identifier="gvir_storage_pool_get_uuid">
        <source-position filename="libvirt-gobject/libvirt-gobject-storage-pool.h"
                         line="83"/>
        <return-value transfer-ownership="none">
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="pool" transfer-ownership="none">
            <type name="StoragePool" c:type="GVirStoragePool*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_volume" c:identifier="gvir_storage_pool_get_volume">
        <source-position filename="libvirt-gobject/libvirt-gobject-storage-pool.h"
                         line="106"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="libvirt-gobject/libvirt-gobject-storage-pool.c"
               line="531">the #GVirStorageVol, or NULL. The
returned object should be unreffed with g_object_unref() when no longer
needed.</doc>
          <type name="StorageVol" c:type="GVirStorageVol*"/>
        </return-value>
        <parameters>
          <instance-parameter name="pool" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-storage-pool.c"
                 line="528">the storage pool</doc>
            <type name="StoragePool" c:type="GVirStoragePool*"/>
          </instance-parameter>
          <parameter name="name" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-storage-pool.c"
                 line="529">Name of the requested storage volume</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_volumes" c:identifier="gvir_storage_pool_get_volumes">
        <source-position filename="libvirt-gobject/libvirt-gobject-storage-pool.h"
                         line="105"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="libvirt-gobject/libvirt-gobject-storage-pool.c"
               line="501">
List of #GVirStorageVol.  The returned list should be freed with
g_list_free(), after its elements have been unreffed with
g_object_unref().</doc>
          <type name="GLib.List" c:type="GList*">
            <type name="StorageVol"/>
          </type>
        </return-value>
        <parameters>
          <instance-parameter name="pool" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-storage-pool.c"
                 line="499">the storage pool</doc>
            <type name="StoragePool" c:type="GVirStoragePool*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="refresh"
              c:identifier="gvir_storage_pool_refresh"
              throws="1">
        <source-position filename="libvirt-gobject/libvirt-gobject-storage-pool.h"
                         line="94"/>
        <return-value transfer-ownership="none">
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="pool" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-storage-pool.c"
                 line="350">the storage pool</doc>
            <type name="StoragePool" c:type="GVirStoragePool*"/>
          </instance-parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-storage-pool.c"
                 line="351">cancellation object</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
        </parameters>
      </method>
      <method name="refresh_async"
              c:identifier="gvir_storage_pool_refresh_async">
        <source-position filename="libvirt-gobject/libvirt-gobject-storage-pool.h"
                         line="97"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="pool" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-storage-pool.c"
                 line="453">the storage pool</doc>
            <type name="StoragePool" c:type="GVirStoragePool*"/>
          </instance-parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-storage-pool.c"
                 line="454">cancellation object</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
          <parameter name="callback"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1"
                     scope="async"
                     closure="2">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-storage-pool.c"
                 line="455">completion callback</doc>
            <type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
          </parameter>
          <parameter name="user_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-storage-pool.c"
                 line="456">opaque data for callback</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </method>
      <method name="refresh_finish"
              c:identifier="gvir_storage_pool_refresh_finish"
              throws="1">
        <source-position filename="libvirt-gobject/libvirt-gobject-storage-pool.h"
                         line="101"/>
        <return-value transfer-ownership="none">
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="pool" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-storage-pool.c"
                 line="478">the storage pool</doc>
            <type name="StoragePool" c:type="GVirStoragePool*"/>
          </instance-parameter>
          <parameter name="result" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-storage-pool.c"
                 line="479">async method result</doc>
            <type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_autostart"
              c:identifier="gvir_storage_pool_set_autostart"
              throws="1">
        <doc xml:space="preserve"
             filename="libvirt-gobject/libvirt-gobject-storage-pool.c"
             line="1009">Sets whether or not storage pool @pool is started automatically on boot.</doc>
        <source-position filename="libvirt-gobject/libvirt-gobject-storage-pool.h"
                         line="170"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libvirt-gobject/libvirt-gobject-storage-pool.c"
               line="1017">#TRUE on success, #FALSE otherwise.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="pool" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-storage-pool.c"
                 line="1011">the storage pool</doc>
            <type name="StoragePool" c:type="GVirStoragePool*"/>
          </instance-parameter>
          <parameter name="autostart" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-storage-pool.c"
                 line="1012">Whether or not to autostart</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </method>
      <method name="start" c:identifier="gvir_storage_pool_start" throws="1">
        <source-position filename="libvirt-gobject/libvirt-gobject-storage-pool.h"
                         line="135"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libvirt-gobject/libvirt-gobject-storage-pool.c"
               line="796">#True on success, #False otherwise.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="pool" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-storage-pool.c"
                 line="792">the storage pool to start</doc>
            <type name="StoragePool" c:type="GVirStoragePool*"/>
          </instance-parameter>
          <parameter name="flags" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-storage-pool.c"
                 line="793">the flags</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
        </parameters>
      </method>
      <method name="start_async" c:identifier="gvir_storage_pool_start_async">
        <source-position filename="libvirt-gobject/libvirt-gobject-storage-pool.h"
                         line="138"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="pool" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-storage-pool.c"
                 line="833">the storage pool to start</doc>
            <type name="StoragePool" c:type="GVirStoragePool*"/>
          </instance-parameter>
          <parameter name="flags" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-storage-pool.c"
                 line="834">the flags</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-storage-pool.c"
                 line="835">cancellation object</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
          <parameter name="callback"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1"
                     scope="async"
                     closure="3">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-storage-pool.c"
                 line="836">completion callback</doc>
            <type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
          </parameter>
          <parameter name="user_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-storage-pool.c"
                 line="837">opaque data for callback</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </method>
      <method name="start_finish"
              c:identifier="gvir_storage_pool_start_finish"
              throws="1">
        <source-position filename="libvirt-gobject/libvirt-gobject-storage-pool.h"
                         line="143"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libvirt-gobject/libvirt-gobject-storage-pool.c"
               line="865">#True on success, #False otherwise.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="pool" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-storage-pool.c"
                 line="861">the storage pool to start</doc>
            <type name="StoragePool" c:type="GVirStoragePool*"/>
          </instance-parameter>
          <parameter name="result" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-storage-pool.c"
                 line="862">async method result</doc>
            <type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
          </parameter>
        </parameters>
      </method>
      <method name="stop" c:identifier="gvir_storage_pool_stop" throws="1">
        <source-position filename="libvirt-gobject/libvirt-gobject-storage-pool.h"
                         line="147"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libvirt-gobject/libvirt-gobject-storage-pool.c"
               line="883">#True on success, #False otherwise.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="pool" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-storage-pool.c"
                 line="880">the storage pool to stop</doc>
            <type name="StoragePool" c:type="GVirStoragePool*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="stop_async" c:identifier="gvir_storage_pool_stop_async">
        <source-position filename="libvirt-gobject/libvirt-gobject-storage-pool.h"
                         line="149"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="pool" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-storage-pool.c"
                 line="918">the storage pool to stop</doc>
            <type name="StoragePool" c:type="GVirStoragePool*"/>
          </instance-parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-storage-pool.c"
                 line="919">cancellation object</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
          <parameter name="callback"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1"
                     scope="async"
                     closure="2">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-storage-pool.c"
                 line="920">completion callback</doc>
            <type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
          </parameter>
          <parameter name="user_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-storage-pool.c"
                 line="921">opaque data for callback</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </method>
      <method name="stop_finish"
              c:identifier="gvir_storage_pool_stop_finish"
              throws="1">
        <source-position filename="libvirt-gobject/libvirt-gobject-storage-pool.h"
                         line="153"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libvirt-gobject/libvirt-gobject-storage-pool.c"
               line="947">#True on success, #False otherwise.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="pool" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-storage-pool.c"
                 line="943">the storage pool to stop</doc>
            <type name="StoragePool" c:type="GVirStoragePool*"/>
          </instance-parameter>
          <parameter name="result" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-storage-pool.c"
                 line="944">async method result</doc>
            <type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
          </parameter>
        </parameters>
      </method>
      <method name="undefine"
              c:identifier="gvir_storage_pool_undefine"
              throws="1">
        <source-position filename="libvirt-gobject/libvirt-gobject-storage-pool.h"
                         line="125"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libvirt-gobject/libvirt-gobject-storage-pool.c"
               line="713">#True on success, #False otherwise.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="pool" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-storage-pool.c"
                 line="710">the storage pool to undefine</doc>
            <type name="StoragePool" c:type="GVirStoragePool*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="undefine_async"
              c:identifier="gvir_storage_pool_undefine_async">
        <source-position filename="libvirt-gobject/libvirt-gobject-storage-pool.h"
                         line="127"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="pool" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-storage-pool.c"
                 line="748">the storage pool to undefine</doc>
            <type name="StoragePool" c:type="GVirStoragePool*"/>
          </instance-parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-storage-pool.c"
                 line="749">cancellation object</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
          <parameter name="callback"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1"
                     scope="async"
                     closure="2">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-storage-pool.c"
                 line="750">completion callback</doc>
            <type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
          </parameter>
          <parameter name="user_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-storage-pool.c"
                 line="751">opaque data for callback</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </method>
      <method name="undefine_finish"
              c:identifier="gvir_storage_pool_undefine_finish"
              throws="1">
        <source-position filename="libvirt-gobject/libvirt-gobject-storage-pool.h"
                         line="131"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libvirt-gobject/libvirt-gobject-storage-pool.c"
               line="777">#True on success, #False otherwise.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="pool" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-storage-pool.c"
                 line="773">the storage pool to undefine</doc>
            <type name="StoragePool" c:type="GVirStoragePool*"/>
          </instance-parameter>
          <parameter name="result" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-storage-pool.c"
                 line="774">async method result</doc>
            <type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
          </parameter>
        </parameters>
      </method>
      <property name="handle"
                writable="1"
                construct-only="1"
                transfer-ownership="none">
        <type name="StoragePoolHandle"/>
      </property>
      <field name="parent">
        <type name="GObject.Object" c:type="GObject"/>
      </field>
      <field name="priv">
        <type name="StoragePoolPrivate" c:type="GVirStoragePoolPrivate*"/>
      </field>
    </class>
    <record name="StoragePoolClass"
            c:type="GVirStoragePoolClass"
            glib:is-gtype-struct-for="StoragePool">
      <source-position filename="libvirt-gobject/libvirt-gobject-storage-pool.h"
                       line="59"/>
      <field name="parent_class">
        <type name="GObject.ObjectClass" c:type="GObjectClass"/>
      </field>
      <field name="padding">
        <array zero-terminated="0" fixed-size="20">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
    </record>
    <glib:boxed glib:name="StoragePoolHandle"
                c:symbol-prefix="storage_pool_handle"
                glib:type-name="GVirStoragePoolHandle"
                glib:get-type="gvir_storage_pool_handle_get_type">
    </glib:boxed>
    <record name="StoragePoolInfo"
            c:type="GVirStoragePoolInfo"
            glib:type-name="GVirStoragePoolInfo"
            glib:get-type="gvir_storage_pool_info_get_type"
            c:symbol-prefix="storage_pool_info">
      <source-position filename="libvirt-gobject/libvirt-gobject-storage-pool.h"
                       line="76"/>
      <field name="state" writable="1">
        <type name="StoragePoolState" c:type="GVirStoragePoolState"/>
      </field>
      <field name="capacity" writable="1">
        <type name="guint64" c:type="guint64"/>
      </field>
      <field name="allocation" writable="1">
        <type name="guint64" c:type="guint64"/>
      </field>
      <field name="available" writable="1">
        <type name="guint64" c:type="guint64"/>
      </field>
    </record>
    <record name="StoragePoolPrivate"
            c:type="GVirStoragePoolPrivate"
            disguised="1"
            opaque="1">
      <source-position filename="libvirt-gobject/libvirt-gobject-storage-pool.h"
                       line="42"/>
    </record>
    <enumeration name="StoragePoolState"
                 glib:type-name="GVirStoragePoolState"
                 glib:get-type="gvir_storage_pool_state_get_type"
                 c:type="GVirStoragePoolState">
      <member name="inactive"
              value="0"
              c:identifier="GVIR_STORAGE_POOL_STATE_INACTIVE"
              glib:nick="inactive"
              glib:name="GVIR_STORAGE_POOL_STATE_INACTIVE">
      </member>
      <member name="building"
              value="1"
              c:identifier="GVIR_STORAGE_POOL_STATE_BUILDING"
              glib:nick="building"
              glib:name="GVIR_STORAGE_POOL_STATE_BUILDING">
      </member>
      <member name="running"
              value="2"
              c:identifier="GVIR_STORAGE_POOL_STATE_RUNNING"
              glib:nick="running"
              glib:name="GVIR_STORAGE_POOL_STATE_RUNNING">
      </member>
      <member name="degraded"
              value="3"
              c:identifier="GVIR_STORAGE_POOL_STATE_DEGRADED"
              glib:nick="degraded"
              glib:name="GVIR_STORAGE_POOL_STATE_DEGRADED">
      </member>
      <member name="inaccessible"
              value="4"
              c:identifier="GVIR_STORAGE_POOL_STATE_INACCESSIBLE"
              glib:nick="inaccessible"
              glib:name="GVIR_STORAGE_POOL_STATE_INACCESSIBLE">
      </member>
    </enumeration>
    <class name="StorageVol"
           c:symbol-prefix="storage_vol"
           c:type="GVirStorageVol"
           parent="GObject.Object"
           glib:type-name="GVirStorageVol"
           glib:get-type="gvir_storage_vol_get_type"
           glib:type-struct="StorageVolClass">
      <source-position filename="libvirt-gobject/libvirt-gobject-storage-vol.h"
                       line="60"/>
      <method name="delete" c:identifier="gvir_storage_vol_delete" throws="1">
        <doc xml:space="preserve"
             filename="libvirt-gobject/libvirt-gobject-storage-vol.c"
             line="290">Deletes the storage volume @vol.</doc>
        <source-position filename="libvirt-gobject/libvirt-gobject-storage-vol.h"
                         line="98"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libvirt-gobject/libvirt-gobject-storage-vol.c"
               line="298">%TRUE on success, %FALSE otherwise</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="vol" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-storage-vol.c"
                 line="292">the storage volume to delete</doc>
            <type name="StorageVol" c:type="GVirStorageVol*"/>
          </instance-parameter>
          <parameter name="flags" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-storage-vol.c"
                 line="293">the flags</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
        </parameters>
      </method>
      <method name="download"
              c:identifier="gvir_storage_vol_download"
              throws="1">
        <source-position filename="libvirt-gobject/libvirt-gobject-storage-vol.h"
                         line="112"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libvirt-gobject/libvirt-gobject-storage-vol.c"
               line="358">#TRUE of success, #FALSE otherwise</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="vol" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-storage-vol.c"
                 line="352">the storage volume to download from</doc>
            <type name="StorageVol" c:type="GVirStorageVol*"/>
          </instance-parameter>
          <parameter name="stream" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-storage-vol.c"
                 line="353">stream to use as output</doc>
            <type name="Stream" c:type="GVirStream*"/>
          </parameter>
          <parameter name="offset" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-storage-vol.c"
                 line="354">position in @vol to start reading from</doc>
            <type name="guint64" c:type="guint64"/>
          </parameter>
          <parameter name="length" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-storage-vol.c"
                 line="355">limit on amount of data to download, or 0 for downloading all data</doc>
            <type name="guint64" c:type="guint64"/>
          </parameter>
          <parameter name="flags" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-storage-vol.c"
                 line="356">extra flags, not used yet, pass 0</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_config"
              c:identifier="gvir_storage_vol_get_config"
              throws="1">
        <source-position filename="libvirt-gobject/libvirt-gobject-storage-vol.h"
                         line="102"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="libvirt-gobject/libvirt-gobject-storage-vol.c"
               line="228">the config. The returned object should be
unreffed with g_object_unref() when no longer needed.</doc>
          <type name="LibvirtGConfig.StorageVol"
                c:type="GVirConfigStorageVol*"/>
        </return-value>
        <parameters>
          <instance-parameter name="vol" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-storage-vol.c"
                 line="224">the storage_vol</doc>
            <type name="StorageVol" c:type="GVirStorageVol*"/>
          </instance-parameter>
          <parameter name="flags" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-storage-vol.c"
                 line="225">the flags</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_info"
              c:identifier="gvir_storage_vol_get_info"
              throws="1">
        <source-position filename="libvirt-gobject/libvirt-gobject-storage-vol.h"
                         line="105"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="libvirt-gobject/libvirt-gobject-storage-vol.c"
               line="260">the info. The returned object should be
unreffed with g_object_unref() when no longer needed.</doc>
          <type name="StorageVolInfo" c:type="GVirStorageVolInfo*"/>
        </return-value>
        <parameters>
          <instance-parameter name="vol" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-storage-vol.c"
                 line="257">the storage_vol</doc>
            <type name="StorageVol" c:type="GVirStorageVol*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_name" c:identifier="gvir_storage_vol_get_name">
        <source-position filename="libvirt-gobject/libvirt-gobject-storage-vol.h"
                         line="95"/>
        <return-value transfer-ownership="none">
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="vol" transfer-ownership="none">
            <type name="StorageVol" c:type="GVirStorageVol*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_path"
              c:identifier="gvir_storage_vol_get_path"
              throws="1">
        <source-position filename="libvirt-gobject/libvirt-gobject-storage-vol.h"
                         line="96"/>
        <return-value transfer-ownership="none">
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="vol" transfer-ownership="none">
            <type name="StorageVol" c:type="GVirStorageVol*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="resize" c:identifier="gvir_storage_vol_resize" throws="1">
        <doc xml:space="preserve"
             filename="libvirt-gobject/libvirt-gobject-storage-vol.c"
             line="320">Changes the capacity of the storage volume @vol to @capacity.</doc>
        <source-position filename="libvirt-gobject/libvirt-gobject-storage-vol.h"
                         line="107"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libvirt-gobject/libvirt-gobject-storage-vol.c"
               line="329">#TRUE success, #FALSE otherwise</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="vol" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-storage-vol.c"
                 line="322">the storage volume to resize</doc>
            <type name="StorageVol" c:type="GVirStorageVol*"/>
          </instance-parameter>
          <parameter name="capacity" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-storage-vol.c"
                 line="323">the new capacity of the volume</doc>
            <type name="guint64" c:type="guint64"/>
          </parameter>
          <parameter name="flags" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-storage-vol.c"
                 line="324">the flags</doc>
            <type name="StorageVolResizeFlags" c:type="guint"/>
          </parameter>
        </parameters>
      </method>
      <method name="upload" c:identifier="gvir_storage_vol_upload" throws="1">
        <source-position filename="libvirt-gobject/libvirt-gobject-storage-vol.h"
                         line="119"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libvirt-gobject/libvirt-gobject-storage-vol.c"
               line="404">#TRUE of success, #FALSE otherwise</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="vol" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-storage-vol.c"
                 line="398">the storage volume to upload</doc>
            <type name="StorageVol" c:type="GVirStorageVol*"/>
          </instance-parameter>
          <parameter name="stream" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-storage-vol.c"
                 line="399">stream to use as input</doc>
            <type name="Stream" c:type="GVirStream*"/>
          </parameter>
          <parameter name="offset" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-storage-vol.c"
                 line="400">position in @vol to start to write to</doc>
            <type name="guint64" c:type="guint64"/>
          </parameter>
          <parameter name="length" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-storage-vol.c"
                 line="401">limit on amount of data to upload, or 0 for uploading all data</doc>
            <type name="guint64" c:type="guint64"/>
          </parameter>
          <parameter name="flags" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-storage-vol.c"
                 line="402">the flags, not set yet, pass 0</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
        </parameters>
      </method>
      <property name="handle"
                writable="1"
                construct-only="1"
                transfer-ownership="none">
        <type name="StorageVolHandle"/>
      </property>
      <property name="pool"
                writable="1"
                construct-only="1"
                transfer-ownership="none">
        <type name="StoragePool"/>
      </property>
      <field name="parent">
        <type name="GObject.Object" c:type="GObject"/>
      </field>
      <field name="priv">
        <type name="StorageVolPrivate" c:type="GVirStorageVolPrivate*"/>
      </field>
    </class>
    <record name="StorageVolClass"
            c:type="GVirStorageVolClass"
            glib:is-gtype-struct-for="StorageVol">
      <source-position filename="libvirt-gobject/libvirt-gobject-storage-vol.h"
                       line="60"/>
      <field name="parent_class">
        <type name="GObject.ObjectClass" c:type="GObjectClass"/>
      </field>
      <field name="padding">
        <array zero-terminated="0" fixed-size="20">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
    </record>
    <glib:boxed glib:name="StorageVolHandle"
                c:symbol-prefix="storage_vol_handle"
                glib:type-name="GVirStorageVolHandle"
                glib:get-type="gvir_storage_vol_handle_get_type">
    </glib:boxed>
    <record name="StorageVolInfo"
            c:type="GVirStorageVolInfo"
            glib:type-name="GVirStorageVolInfo"
            glib:get-type="gvir_storage_vol_info_get_type"
            c:symbol-prefix="storage_vol_info">
      <source-position filename="libvirt-gobject/libvirt-gobject-storage-vol.h"
                       line="89"/>
      <field name="type" writable="1">
        <type name="StorageVolType" c:type="GVirStorageVolType"/>
      </field>
      <field name="capacity" writable="1">
        <type name="guint64" c:type="guint64"/>
      </field>
      <field name="allocation" writable="1">
        <type name="guint64" c:type="guint64"/>
      </field>
    </record>
    <record name="StorageVolPrivate"
            c:type="GVirStorageVolPrivate"
            disguised="1"
            opaque="1">
      <source-position filename="libvirt-gobject/libvirt-gobject-storage-vol.h"
                       line="43"/>
    </record>
    <enumeration name="StorageVolResizeFlags"
                 glib:type-name="GVirStorageVolResizeFlags"
                 glib:get-type="gvir_storage_vol_resize_flags_get_type"
                 c:type="GVirStorageVolResizeFlags">
      <member name="none"
              value="0"
              c:identifier="GVIR_STORAGE_VOL_RESIZE_NONE"
              glib:nick="none"
              glib:name="GVIR_STORAGE_VOL_RESIZE_NONE">
        <doc xml:space="preserve"
             filename="libvirt-gobject/libvirt-gobject-storage-vol.h"
             line="70">No flags</doc>
      </member>
      <member name="allocate"
              value="1"
              c:identifier="GVIR_STORAGE_VOL_RESIZE_ALLOCATE"
              glib:nick="allocate"
              glib:name="GVIR_STORAGE_VOL_RESIZE_ALLOCATE">
        <doc xml:space="preserve"
             filename="libvirt-gobject/libvirt-gobject-storage-vol.h"
             line="71">force allocation of new size</doc>
      </member>
      <member name="delta"
              value="2"
              c:identifier="GVIR_STORAGE_VOL_RESIZE_DELTA"
              glib:nick="delta"
              glib:name="GVIR_STORAGE_VOL_RESIZE_DELTA">
        <doc xml:space="preserve"
             filename="libvirt-gobject/libvirt-gobject-storage-vol.h"
             line="72">size is relative to current</doc>
      </member>
      <member name="shrink"
              value="4"
              c:identifier="GVIR_STORAGE_VOL_RESIZE_SHRINK"
              glib:nick="shrink"
              glib:name="GVIR_STORAGE_VOL_RESIZE_SHRINK">
        <doc xml:space="preserve"
             filename="libvirt-gobject/libvirt-gobject-storage-vol.h"
             line="73">allow decrease in capacity. This combined
with #GVIR_STORAGE_VOL_RESIZE_DELTA, implies a negative delta.</doc>
      </member>
    </enumeration>
    <enumeration name="StorageVolType"
                 glib:type-name="GVirStorageVolType"
                 glib:get-type="gvir_storage_vol_type_get_type"
                 c:type="GVirStorageVolType">
      <member name="file"
              value="0"
              c:identifier="GVIR_STORAGE_VOL_STATE_FILE"
              glib:nick="file"
              glib:name="GVIR_STORAGE_VOL_STATE_FILE">
      </member>
      <member name="block"
              value="1"
              c:identifier="GVIR_STORAGE_VOL_STATE_BLOCK"
              glib:nick="block"
              glib:name="GVIR_STORAGE_VOL_STATE_BLOCK">
      </member>
      <member name="dir"
              value="2"
              c:identifier="GVIR_STORAGE_VOL_STATE_DIR"
              glib:nick="dir"
              glib:name="GVIR_STORAGE_VOL_STATE_DIR">
      </member>
    </enumeration>
    <class name="Stream"
           c:symbol-prefix="stream"
           c:type="GVirStream"
           parent="Gio.IOStream"
           glib:type-name="GVirStream"
           glib:get-type="gvir_stream_get_type"
           glib:type-struct="StreamClass">
      <source-position filename="libvirt-gobject/libvirt-gobject-stream.h"
                       line="62"/>
      <method name="add_watch"
              c:identifier="gvir_stream_add_watch"
              shadowed-by="add_watch_full"
              introspectable="0">
        <doc xml:space="preserve"
             filename="libvirt-gobject/libvirt-gobject-stream.c"
             line="655">Adds a watch for @stream to the mainloop</doc>
        <source-position filename="libvirt-gobject/libvirt-gobject-stream.h"
                         line="108"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libvirt-gobject/libvirt-gobject-stream.c"
               line="664">the event source id</doc>
          <type name="guint" c:type="guint"/>
        </return-value>
        <parameters>
          <instance-parameter name="stream" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-stream.c"
                 line="657">the stream</doc>
            <type name="Stream" c:type="GVirStream*"/>
          </instance-parameter>
          <parameter name="cond" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-stream.c"
                 line="658">the conditions to watch for (bitfield of #GVirStreamIOCondition)</doc>
            <type name="StreamIOCondition" c:type="GVirStreamIOCondition"/>
          </parameter>
          <parameter name="func" transfer-ownership="none" closure="2">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-stream.c"
                 line="659">the function to call when the condition is satisfied</doc>
            <type name="StreamIOFunc" c:type="GVirStreamIOFunc"/>
          </parameter>
          <parameter name="opaque"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-stream.c"
                 line="660">user data to pass to @func</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </method>
      <method name="add_watch_full"
              c:identifier="gvir_stream_add_watch_full"
              shadows="add_watch">
        <doc xml:space="preserve"
             filename="libvirt-gobject/libvirt-gobject-stream.c"
             line="679">Adds a watch for @stream to the mainloop</doc>
        <source-position filename="libvirt-gobject/libvirt-gobject-stream.h"
                         line="112"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libvirt-gobject/libvirt-gobject-stream.c"
               line="690">the event source id</doc>
          <type name="guint" c:type="guint"/>
        </return-value>
        <parameters>
          <instance-parameter name="stream" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-stream.c"
                 line="681">the stream</doc>
            <type name="Stream" c:type="GVirStream*"/>
          </instance-parameter>
          <parameter name="priority" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-stream.c"
                 line="682">the priority of the #GVirStream source</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="cond" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-stream.c"
                 line="683">the conditions to watch for (bitfield of #GVirStreamIOCondition)</doc>
            <type name="StreamIOCondition" c:type="GVirStreamIOCondition"/>
          </parameter>
          <parameter name="func"
                     transfer-ownership="none"
                     scope="notified"
                     closure="3"
                     destroy="4">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-stream.c"
                 line="684">the function to call when the condition is satisfied</doc>
            <type name="StreamIOFunc" c:type="GVirStreamIOFunc"/>
          </parameter>
          <parameter name="opaque"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-stream.c"
                 line="685">user data to pass to @func</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
          <parameter name="notify" transfer-ownership="none" scope="async">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-stream.c"
                 line="686">the function to call when the source is removed</doc>
            <type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
          </parameter>
        </parameters>
      </method>
      <method name="receive" c:identifier="gvir_stream_receive" throws="1">
        <doc xml:space="preserve"
             filename="libvirt-gobject/libvirt-gobject-stream.c"
             line="307">Receive data (up to @size bytes) from a stream.
On error -1 is returned and @error is set accordingly.

gvir_stream_receive() can return any number of bytes, up to
@size. If more than @size bytes have been received, the additional
data will be returned in future calls to gvir_stream_receive().

If there is no data available, a %G_IO_ERROR_WOULD_BLOCK error will be
returned.</doc>
        <source-position filename="libvirt-gobject/libvirt-gobject-stream.h"
                         line="124"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libvirt-gobject/libvirt-gobject-stream.c"
               line="326">Number of bytes read, or 0 if the end of stream reached,
or -1 on error.</doc>
          <type name="gssize" c:type="gssize"/>
        </return-value>
        <parameters>
          <instance-parameter name="stream" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-stream.c"
                 line="309">the stream</doc>
            <type name="Stream" c:type="GVirStream*"/>
          </instance-parameter>
          <parameter name="buffer" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-stream.c"
                 line="310">a buffer
    to read data into (which should be at least @size bytes long).</doc>
            <array length="1" zero-terminated="0" c:type="gchar*">
              <type name="guint8"/>
            </array>
          </parameter>
          <parameter name="size" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-stream.c"
                 line="312">the number of bytes you want to read from the stream</doc>
            <type name="gsize" c:type="gsize"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-stream.c"
                 line="313">a %GCancellable or %NULL</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
        </parameters>
      </method>
      <method name="receive_all"
              c:identifier="gvir_stream_receive_all"
              throws="1">
        <doc xml:space="preserve"
             filename="libvirt-gobject/libvirt-gobject-stream.c"
             line="377">Receive the entire data stream, sending the data to the
requested data sink. This is simply a convenient alternative
to virStreamRecv, for apps that do blocking-I/o.</doc>
        <source-position filename="libvirt-gobject/libvirt-gobject-stream.h"
                         line="119"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libvirt-gobject/libvirt-gobject-stream.c"
               line="389">the number of bytes consumed or -1 upon error</doc>
          <type name="gssize" c:type="gssize"/>
        </return-value>
        <parameters>
          <instance-parameter name="stream" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-stream.c"
                 line="379">the stream</doc>
            <type name="Stream" c:type="GVirStream*"/>
          </instance-parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-stream.c"
                 line="380">cancellation notifier</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
          <parameter name="func"
                     transfer-ownership="none"
                     scope="notified"
                     closure="2">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-stream.c"
                 line="381">the callback for writing data to application</doc>
            <type name="StreamSinkFunc" c:type="GVirStreamSinkFunc"/>
          </parameter>
          <parameter name="user_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-stream.c"
                 line="382">data to be passed to @callback</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </method>
      <method name="send" c:identifier="gvir_stream_send" throws="1">
        <doc xml:space="preserve"
             filename="libvirt-gobject/libvirt-gobject-stream.c"
             line="422">Send data (up to @size bytes) from a stream.
On error -1 is returned and @error is set accordingly.

gvir_stream_send() can return any number of bytes, up to
@size. If more than @size bytes have been sendd, the additional
data will be returned in future calls to gvir_stream_send().

If there is no data available, a %G_IO_ERROR_WOULD_BLOCK error will be
returned.</doc>
        <source-position filename="libvirt-gobject/libvirt-gobject-stream.h"
                         line="135"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libvirt-gobject/libvirt-gobject-stream.c"
               line="441">Number of bytes written.</doc>
          <type name="gssize" c:type="gssize"/>
        </return-value>
        <parameters>
          <instance-parameter name="stream" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-stream.c"
                 line="424">the stream</doc>
            <type name="Stream" c:type="GVirStream*"/>
          </instance-parameter>
          <parameter name="buffer" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-stream.c"
                 line="425">a buffer to write data from (which should be at least @size
    bytes long).</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="size" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-stream.c"
                 line="427">the number of bytes you want to write to the stream</doc>
            <type name="gsize" c:type="gsize"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-stream.c"
                 line="428">a %GCancellable or %NULL</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
        </parameters>
      </method>
      <method name="send_all" c:identifier="gvir_stream_send_all" throws="1">
        <doc xml:space="preserve"
             filename="libvirt-gobject/libvirt-gobject-stream.c"
             line="493">Send the entire data stream, sending the data to the
requested data source. This is simply a convenient alternative
to virStreamRecv, for apps that do blocking-I/o.</doc>
        <source-position filename="libvirt-gobject/libvirt-gobject-stream.h"
                         line="130"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libvirt-gobject/libvirt-gobject-stream.c"
               line="505">the number of bytes consumed or -1 upon error</doc>
          <type name="gssize" c:type="gssize"/>
        </return-value>
        <parameters>
          <instance-parameter name="stream" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-stream.c"
                 line="495">the stream</doc>
            <type name="Stream" c:type="GVirStream*"/>
          </instance-parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-stream.c"
                 line="496">cancellation notifier</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
          <parameter name="func"
                     transfer-ownership="none"
                     scope="notified"
                     closure="2">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-stream.c"
                 line="497">the callback for writing data to application</doc>
            <type name="StreamSourceFunc" c:type="GVirStreamSourceFunc"/>
          </parameter>
          <parameter name="user_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libvirt-gobject/libvirt-gobject-stream.c"
                 line="498">data to be passed to @callback</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </method>
      <property name="handle"
                writable="1"
                construct-only="1"
                transfer-ownership="none">
        <type name="StreamHandle"/>
      </property>
      <field name="parent_instance">
        <type name="Gio.IOStream" c:type="GIOStream"/>
      </field>
      <field name="priv">
        <type name="StreamPrivate" c:type="GVirStreamPrivate*"/>
      </field>
    </class>
    <record name="StreamClass"
            c:type="GVirStreamClass"
            glib:is-gtype-struct-for="Stream">
      <source-position filename="libvirt-gobject/libvirt-gobject-stream.h"
                       line="62"/>
      <field name="parent_class">
        <type name="Gio.IOStreamClass" c:type="GIOStreamClass"/>
      </field>
      <field name="padding">
        <array zero-terminated="0" fixed-size="20">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
    </record>
    <glib:boxed glib:name="StreamHandle"
                c:symbol-prefix="stream_handle"
                glib:type-name="GVirStreamHandle"
                glib:get-type="gvir_stream_handle_get_type">
    </glib:boxed>
    <bitfield name="StreamIOCondition"
              glib:type-name="GVirStreamIOCondition"
              glib:get-type="gvir_stream_io_condition_get_type"
              c:type="GVirStreamIOCondition">
      <member name="readable"
              value="1"
              c:identifier="GVIR_STREAM_IO_CONDITION_READABLE"
              glib:nick="readable"
              glib:name="GVIR_STREAM_IO_CONDITION_READABLE">
      </member>
      <member name="writable"
              value="2"
              c:identifier="GVIR_STREAM_IO_CONDITION_WRITABLE"
              glib:nick="writable"
              glib:name="GVIR_STREAM_IO_CONDITION_WRITABLE">
      </member>
      <member name="hangup"
              value="4"
              c:identifier="GVIR_STREAM_IO_CONDITION_HANGUP"
              glib:nick="hangup"
              glib:name="GVIR_STREAM_IO_CONDITION_HANGUP">
      </member>
      <member name="error"
              value="8"
              c:identifier="GVIR_STREAM_IO_CONDITION_ERROR"
              glib:nick="error"
              glib:name="GVIR_STREAM_IO_CONDITION_ERROR">
      </member>
    </bitfield>
    <callback name="StreamIOFunc" c:type="GVirStreamIOFunc">
      <source-position filename="libvirt-gobject/libvirt-gobject-stream.h"
                       line="104"/>
      <return-value transfer-ownership="none">
        <type name="gboolean" c:type="gboolean"/>
      </return-value>
      <parameters>
        <parameter name="stream" transfer-ownership="none">
          <type name="Stream" c:type="GVirStream*"/>
        </parameter>
        <parameter name="cond" transfer-ownership="none">
          <type name="StreamIOCondition" c:type="GVirStreamIOCondition"/>
        </parameter>
        <parameter name="opaque"
                   transfer-ownership="none"
                   nullable="1"
                   allow-none="1">
          <type name="gpointer" c:type="gpointer"/>
        </parameter>
      </parameters>
    </callback>
    <record name="StreamPrivate"
            c:type="GVirStreamPrivate"
            disguised="1"
            opaque="1">
      <source-position filename="libvirt-gobject/libvirt-gobject-stream.h"
                       line="45"/>
    </record>
    <callback name="StreamSinkFunc" c:type="GVirStreamSinkFunc">
      <source-position filename="libvirt-gobject/libvirt-gobject-stream.h"
                       line="74"/>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve"
             filename="libvirt-gobject/libvirt-gobject-stream.h"
             line="71">the number of bytes filled, 0 upon end
of file, or -1 upon error</doc>
        <type name="gint" c:type="gint"/>
      </return-value>
      <parameters>
        <parameter name="stream" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libvirt-gobject/libvirt-gobject-stream.h"
               line="66">a #GVirStream</doc>
          <type name="Stream" c:type="GVirStream*"/>
        </parameter>
        <parameter name="buf"
                   direction="out"
                   caller-allocates="0"
                   transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libvirt-gobject/libvirt-gobject-stream.h"
               line="67">data pointer</doc>
          <array length="2" zero-terminated="0" c:type="const gchar*">
            <type name="utf8" c:type="gchar"/>
          </array>
        </parameter>
        <parameter name="nbytes"
                   direction="out"
                   caller-allocates="0"
                   transfer-ownership="full">
          <doc xml:space="preserve"
               filename="libvirt-gobject/libvirt-gobject-stream.h"
               line="68">data size</doc>
          <type name="gsize" c:type="gsize"/>
        </parameter>
        <parameter name="user_data"
                   transfer-ownership="none"
                   nullable="1"
                   allow-none="1"
                   closure="3">
          <doc xml:space="preserve"
               filename="libvirt-gobject/libvirt-gobject-stream.h"
               line="69">user data passed to the function</doc>
          <type name="gpointer" c:type="gpointer"/>
        </parameter>
      </parameters>
    </callback>
    <callback name="StreamSourceFunc" c:type="GVirStreamSourceFunc">
      <source-position filename="libvirt-gobject/libvirt-gobject-stream.h"
                       line="89"/>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve"
             filename="libvirt-gobject/libvirt-gobject-stream.h"
             line="86">the number of bytes filled, 0 upon end
of file, or -1 upon error</doc>
        <type name="gint" c:type="gint"/>
      </return-value>
      <parameters>
        <parameter name="stream" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libvirt-gobject/libvirt-gobject-stream.h"
               line="81">a #GVirStream</doc>
          <type name="Stream" c:type="GVirStream*"/>
        </parameter>
        <parameter name="buf"
                   direction="out"
                   caller-allocates="0"
                   transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libvirt-gobject/libvirt-gobject-stream.h"
               line="82">data pointer</doc>
          <array length="2" zero-terminated="0" c:type="gchar*">
            <type name="utf8" c:type="gchar"/>
          </array>
        </parameter>
        <parameter name="nbytes"
                   direction="out"
                   caller-allocates="0"
                   transfer-ownership="full">
          <doc xml:space="preserve"
               filename="libvirt-gobject/libvirt-gobject-stream.h"
               line="83">data size</doc>
          <type name="gsize" c:type="gsize"/>
        </parameter>
        <parameter name="user_data"
                   transfer-ownership="none"
                   nullable="1"
                   allow-none="1"
                   closure="3">
          <doc xml:space="preserve"
               filename="libvirt-gobject/libvirt-gobject-stream.h"
               line="84">user data passed to the function</doc>
          <type name="gpointer" c:type="gpointer"/>
        </parameter>
      </parameters>
    </callback>
    <function name="init_object" c:identifier="gvir_init_object">
      <source-position filename="libvirt-gobject/libvirt-gobject-main.h"
                       line="32"/>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="argc"
                   direction="inout"
                   caller-allocates="0"
                   transfer-ownership="full">
          <doc xml:space="preserve"
               filename="libvirt-gobject/libvirt-gobject-main.c"
               line="35">pointer to application's argc</doc>
          <type name="gint" c:type="int*"/>
        </parameter>
        <parameter name="argv"
                   direction="inout"
                   caller-allocates="0"
                   transfer-ownership="none"
                   nullable="1"
                   allow-none="1">
          <doc xml:space="preserve"
               filename="libvirt-gobject/libvirt-gobject-main.c"
               line="36">pointer to application's argv</doc>
          <array length="0" zero-terminated="0" c:type="char***">
            <type name="utf8" c:type="char**"/>
          </array>
        </parameter>
      </parameters>
    </function>
    <function name="init_object_check"
              c:identifier="gvir_init_object_check"
              throws="1">
      <source-position filename="libvirt-gobject/libvirt-gobject-main.h"
                       line="34"/>
      <return-value transfer-ownership="none">
        <type name="gboolean" c:type="gboolean"/>
      </return-value>
      <parameters>
        <parameter name="argc"
                   direction="inout"
                   caller-allocates="0"
                   transfer-ownership="full">
          <doc xml:space="preserve"
               filename="libvirt-gobject/libvirt-gobject-main.c"
               line="60">pointer to application's argc</doc>
          <type name="gint" c:type="int*"/>
        </parameter>
        <parameter name="argv"
                   direction="inout"
                   caller-allocates="0"
                   transfer-ownership="none"
                   nullable="1"
                   allow-none="1">
          <doc xml:space="preserve"
               filename="libvirt-gobject/libvirt-gobject-main.c"
               line="61">pointer to application's argv</doc>
          <array length="0" zero-terminated="0" c:type="char***">
            <type name="utf8" c:type="char**"/>
          </array>
        </parameter>
      </parameters>
    </function>
  </namespace>
</repository>
