Blob Blame History Raw
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>GVirConfigStoragePool: Libvirt-gconfig Reference Manual</title>
<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
<link rel="home" href="index.html" title="Libvirt-gconfig Reference Manual">
<link rel="up" href="ch01.html" title="Libvirt-gconfig">
<link rel="prev" href="GVirConfigSecret.html" title="GVirConfigSecret">
<link rel="next" href="GVirConfigStorageVol.html" title="GVirConfigStorageVol">
<meta name="generator" content="GTK-Doc V1.29 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
<td width="100%" align="left" class="shortcuts">
<a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
                  <a href="#GVirConfigStoragePool.description" class="shortcut">Description</a></span><span id="nav_hierarchy">  <span class="dim">|</span> 
                  <a href="#GVirConfigStoragePool.object-hierarchy" class="shortcut">Object Hierarchy</a></span>
</td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="GVirConfigSecret.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="GVirConfigStorageVol.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="GVirConfigStoragePool"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="GVirConfigStoragePool.top_of_page"></a>GVirConfigStoragePool</span></h2>
<p>GVirConfigStoragePool</p>
</td>
<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="GVirConfigStoragePool.functions"></a><h2>Functions</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="functions_return">
<col class="functions_name">
</colgroup>
<tbody>
<tr>
<td class="function_type">
<a class="link" href="GVirConfigStoragePool.html" title="GVirConfigStoragePool"><span class="returnvalue">GVirConfigStoragePool</span></a> *
</td>
<td class="function_name">
<a class="link" href="GVirConfigStoragePool.html#gvir-config-storage-pool-new" title="gvir_config_storage_pool_new ()">gvir_config_storage_pool_new</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="GVirConfigStoragePool.html" title="GVirConfigStoragePool"><span class="returnvalue">GVirConfigStoragePool</span></a> *
</td>
<td class="function_name">
<a class="link" href="GVirConfigStoragePool.html#gvir-config-storage-pool-new-from-xml" title="gvir_config_storage_pool_new_from_xml ()">gvir_config_storage_pool_new_from_xml</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint64"><span class="returnvalue">guint64</span></a>
</td>
<td class="function_name">
<a class="link" href="GVirConfigStoragePool.html#gvir-config-storage-pool-get-allocation" title="gvir_config_storage_pool_get_allocation ()">gvir_config_storage_pool_get_allocation</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GVirConfigStoragePool.html#gvir-config-storage-pool-set-allocation" title="gvir_config_storage_pool_set_allocation ()">gvir_config_storage_pool_set_allocation</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint64"><span class="returnvalue">guint64</span></a>
</td>
<td class="function_name">
<a class="link" href="GVirConfigStoragePool.html#gvir-config-storage-pool-get-available" title="gvir_config_storage_pool_get_available ()">gvir_config_storage_pool_get_available</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GVirConfigStoragePool.html#gvir-config-storage-pool-set-available" title="gvir_config_storage_pool_set_available ()">gvir_config_storage_pool_set_available</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint64"><span class="returnvalue">guint64</span></a>
</td>
<td class="function_name">
<a class="link" href="GVirConfigStoragePool.html#gvir-config-storage-pool-get-capacity" title="gvir_config_storage_pool_get_capacity ()">gvir_config_storage_pool_get_capacity</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GVirConfigStoragePool.html#gvir-config-storage-pool-set-capacity" title="gvir_config_storage_pool_set_capacity ()">gvir_config_storage_pool_set_capacity</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <span class="returnvalue">char</span> *
</td>
<td class="function_name">
<a class="link" href="GVirConfigStoragePool.html#gvir-config-storage-pool-get-name" title="gvir_config_storage_pool_get_name ()">gvir_config_storage_pool_get_name</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GVirConfigStoragePool.html#gvir-config-storage-pool-set-name" title="gvir_config_storage_pool_set_name ()">gvir_config_storage_pool_set_name</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="GVirConfigStoragePool.html#GVirConfigStoragePoolType" title="enum GVirConfigStoragePoolType"><span class="returnvalue">GVirConfigStoragePoolType</span></a>
</td>
<td class="function_name">
<a class="link" href="GVirConfigStoragePool.html#gvir-config-storage-pool-get-pool-type" title="gvir_config_storage_pool_get_pool_type ()">gvir_config_storage_pool_get_pool_type</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GVirConfigStoragePool.html#gvir-config-storage-pool-set-pool-type" title="gvir_config_storage_pool_set_pool_type ()">gvir_config_storage_pool_set_pool_type</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">GVirConfigStoragePoolSource</span> *
</td>
<td class="function_name">
<a class="link" href="GVirConfigStoragePool.html#gvir-config-storage-pool-get-source" title="gvir_config_storage_pool_get_source ()">gvir_config_storage_pool_get_source</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GVirConfigStoragePool.html#gvir-config-storage-pool-set-source" title="gvir_config_storage_pool_set_source ()">gvir_config_storage_pool_set_source</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">GVirConfigStoragePoolTarget</span> *
</td>
<td class="function_name">
<a class="link" href="GVirConfigStoragePool.html#gvir-config-storage-pool-get-target" title="gvir_config_storage_pool_get_target ()">gvir_config_storage_pool_get_target</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GVirConfigStoragePool.html#gvir-config-storage-pool-set-target" title="gvir_config_storage_pool_set_target ()">gvir_config_storage_pool_set_target</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <span class="returnvalue">char</span> *
</td>
<td class="function_name">
<a class="link" href="GVirConfigStoragePool.html#gvir-config-storage-pool-get-uuid" title="gvir_config_storage_pool_get_uuid ()">gvir_config_storage_pool_get_uuid</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GVirConfigStoragePool.html#gvir-config-storage-pool-set-uuid" title="gvir_config_storage_pool_set_uuid ()">gvir_config_storage_pool_set_uuid</a> <span class="c_punctuation">()</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="GVirConfigStoragePool.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="name">
<col class="description">
</colgroup>
<tbody>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="GVirConfigStoragePool.html#GVirConfigStoragePool-struct" title="struct GVirConfigStoragePool">GVirConfigStoragePool</a></td>
</tr>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="GVirConfigStoragePool.html#GVirConfigStoragePoolClass" title="struct GVirConfigStoragePoolClass">GVirConfigStoragePoolClass</a></td>
</tr>
<tr>
<td class="datatype_keyword">enum</td>
<td class="function_name"><a class="link" href="GVirConfigStoragePool.html#GVirConfigStoragePoolType" title="enum GVirConfigStoragePoolType">GVirConfigStoragePoolType</a></td>
</tr>
<tr>
<td class="datatype_keyword"> </td>
<td class="function_name"><a class="link" href="GVirConfigStoragePool.html#GVirConfigStoragePoolPrivate" title="GVirConfigStoragePoolPrivate">GVirConfigStoragePoolPrivate</a></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="GVirConfigStoragePool.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="screen">    <a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject-struct">GObject</a>
    <span class="lineart">╰──</span> <a class="link" href="GVirConfigObject.html" title="GVirConfigObject">GVirConfigObject</a>
        <span class="lineart">╰──</span> GVirConfigStoragePool
</pre>
</div>
<div class="refsect1">
<a name="GVirConfigStoragePool.description"></a><h2>Description</h2>
</div>
<div class="refsect1">
<a name="GVirConfigStoragePool.functions_details"></a><h2>Functions</h2>
<div class="refsect2">
<a name="gvir-config-storage-pool-new"></a><h3>gvir_config_storage_pool_new ()</h3>
<pre class="programlisting"><a class="link" href="GVirConfigStoragePool.html" title="GVirConfigStoragePool"><span class="returnvalue">GVirConfigStoragePool</span></a> *
gvir_config_storage_pool_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="gvir-config-storage-pool-new-from-xml"></a><h3>gvir_config_storage_pool_new_from_xml ()</h3>
<pre class="programlisting"><a class="link" href="GVirConfigStoragePool.html" title="GVirConfigStoragePool"><span class="returnvalue">GVirConfigStoragePool</span></a> *
gvir_config_storage_pool_new_from_xml (<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *xml</code></em>,
                                       <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="gvir-config-storage-pool-get-allocation"></a><h3>gvir_config_storage_pool_get_allocation ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint64"><span class="returnvalue">guint64</span></a>
gvir_config_storage_pool_get_allocation
                               (<em class="parameter"><code><a class="link" href="GVirConfigStoragePool.html" title="GVirConfigStoragePool"><span class="type">GVirConfigStoragePool</span></a> *pool</code></em>);</pre>
<p>Gets the total storage allocation for the pool.</p>
<div class="refsect3">
<a name="gvir-config-storage-pool-get-allocation.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>pool</p></td>
<td class="parameter_description"><p>a <a class="link" href="GVirConfigStoragePool.html" title="GVirConfigStoragePool"><span class="type">GVirConfigStoragePool</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gvir-config-storage-pool-get-allocation.returns"></a><h4>Returns</h4>
<p> total storage allocation in bytes.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gvir-config-storage-pool-set-allocation"></a><h3>gvir_config_storage_pool_set_allocation ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gvir_config_storage_pool_set_allocation
                               (<em class="parameter"><code><a class="link" href="GVirConfigStoragePool.html" title="GVirConfigStoragePool"><span class="type">GVirConfigStoragePool</span></a> *pool</code></em>,
                                <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint64"><span class="type">guint64</span></a> allocation</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="gvir-config-storage-pool-get-available"></a><h3>gvir_config_storage_pool_get_available ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint64"><span class="returnvalue">guint64</span></a>
gvir_config_storage_pool_get_available
                               (<em class="parameter"><code><a class="link" href="GVirConfigStoragePool.html" title="GVirConfigStoragePool"><span class="type">GVirConfigStoragePool</span></a> *pool</code></em>);</pre>
<p>Gets the free space available for allocating new volumes in the pool.</p>
<div class="refsect3">
<a name="gvir-config-storage-pool-get-available.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>pool</p></td>
<td class="parameter_description"><p>a <a class="link" href="GVirConfigStoragePool.html" title="GVirConfigStoragePool"><span class="type">GVirConfigStoragePool</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gvir-config-storage-pool-get-available.returns"></a><h4>Returns</h4>
<p> free space available in bytes.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gvir-config-storage-pool-set-available"></a><h3>gvir_config_storage_pool_set_available ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gvir_config_storage_pool_set_available
                               (<em class="parameter"><code><a class="link" href="GVirConfigStoragePool.html" title="GVirConfigStoragePool"><span class="type">GVirConfigStoragePool</span></a> *pool</code></em>,
                                <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint64"><span class="type">guint64</span></a> available</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="gvir-config-storage-pool-get-capacity"></a><h3>gvir_config_storage_pool_get_capacity ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint64"><span class="returnvalue">guint64</span></a>
gvir_config_storage_pool_get_capacity (<em class="parameter"><code><a class="link" href="GVirConfigStoragePool.html" title="GVirConfigStoragePool"><span class="type">GVirConfigStoragePool</span></a> *pool</code></em>);</pre>
<p>Gets the total storage capacity for the pool.</p>
<div class="refsect3">
<a name="gvir-config-storage-pool-get-capacity.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>pool</p></td>
<td class="parameter_description"><p>a <a class="link" href="GVirConfigStoragePool.html" title="GVirConfigStoragePool"><span class="type">GVirConfigStoragePool</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gvir-config-storage-pool-get-capacity.returns"></a><h4>Returns</h4>
<p> total storage capacity in bytes.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gvir-config-storage-pool-set-capacity"></a><h3>gvir_config_storage_pool_set_capacity ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gvir_config_storage_pool_set_capacity (<em class="parameter"><code><a class="link" href="GVirConfigStoragePool.html" title="GVirConfigStoragePool"><span class="type">GVirConfigStoragePool</span></a> *pool</code></em>,
                                       <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint64"><span class="type">guint64</span></a> capacity</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="gvir-config-storage-pool-get-name"></a><h3>gvir_config_storage_pool_get_name ()</h3>
<pre class="programlisting">const <span class="returnvalue">char</span> *
gvir_config_storage_pool_get_name (<em class="parameter"><code><a class="link" href="GVirConfigStoragePool.html" title="GVirConfigStoragePool"><span class="type">GVirConfigStoragePool</span></a> *pool</code></em>);</pre>
<p>Gets the name of the pool.</p>
<div class="refsect3">
<a name="gvir-config-storage-pool-get-name.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>pool</p></td>
<td class="parameter_description"><p>a <a class="link" href="GVirConfigStoragePool.html" title="GVirConfigStoragePool"><span class="type">GVirConfigStoragePool</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gvir-config-storage-pool-get-name.returns"></a><h4>Returns</h4>
<p> name of <em class="parameter"><code>pool</code></em>
.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gvir-config-storage-pool-set-name"></a><h3>gvir_config_storage_pool_set_name ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gvir_config_storage_pool_set_name (<em class="parameter"><code><a class="link" href="GVirConfigStoragePool.html" title="GVirConfigStoragePool"><span class="type">GVirConfigStoragePool</span></a> *pool</code></em>,
                                   <em class="parameter"><code>const <span class="type">char</span> *name</code></em>);</pre>
<div class="refsect3">
<a name="gvir-config-storage-pool-set-name.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>name</p></td>
<td class="parameter_description"><p>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
</tr></tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gvir-config-storage-pool-get-pool-type"></a><h3>gvir_config_storage_pool_get_pool_type ()</h3>
<pre class="programlisting"><a class="link" href="GVirConfigStoragePool.html#GVirConfigStoragePoolType" title="enum GVirConfigStoragePoolType"><span class="returnvalue">GVirConfigStoragePoolType</span></a>
gvir_config_storage_pool_get_pool_type
                               (<em class="parameter"><code><a class="link" href="GVirConfigStoragePool.html" title="GVirConfigStoragePool"><span class="type">GVirConfigStoragePool</span></a> *pool</code></em>);</pre>
<p>Gets the type of the pool.</p>
<div class="refsect3">
<a name="gvir-config-storage-pool-get-pool-type.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>pool</p></td>
<td class="parameter_description"><p>a <a class="link" href="GVirConfigStoragePool.html" title="GVirConfigStoragePool"><span class="type">GVirConfigStoragePool</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gvir-config-storage-pool-get-pool-type.returns"></a><h4>Returns</h4>
<p> <span class="type">Gname</span> of <em class="parameter"><code>pool</code></em>
.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gvir-config-storage-pool-set-pool-type"></a><h3>gvir_config_storage_pool_set_pool_type ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gvir_config_storage_pool_set_pool_type
                               (<em class="parameter"><code><a class="link" href="GVirConfigStoragePool.html" title="GVirConfigStoragePool"><span class="type">GVirConfigStoragePool</span></a> *pool</code></em>,
                                <em class="parameter"><code><a class="link" href="GVirConfigStoragePool.html#GVirConfigStoragePoolType" title="enum GVirConfigStoragePoolType"><span class="type">GVirConfigStoragePoolType</span></a> type</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="gvir-config-storage-pool-get-source"></a><h3>gvir_config_storage_pool_get_source ()</h3>
<pre class="programlisting"><span class="returnvalue">GVirConfigStoragePoolSource</span> *
gvir_config_storage_pool_get_source (<em class="parameter"><code><a class="link" href="GVirConfigStoragePool.html" title="GVirConfigStoragePool"><span class="type">GVirConfigStoragePool</span></a> *pool</code></em>);</pre>
<p>Gets the source for <em class="parameter"><code>pool</code></em>
</p>
<div class="refsect3">
<a name="gvir-config-storage-pool-get-source.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>pool</p></td>
<td class="parameter_description"><p>a <a class="link" href="GVirConfigStoragePool.html" title="GVirConfigStoragePool"><span class="type">GVirConfigStoragePool</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gvir-config-storage-pool-get-source.returns"></a><h4>Returns</h4>
<p>a new <span class="type">GVirConfigStoragePoolSource</span> instance. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gvir-config-storage-pool-set-source"></a><h3>gvir_config_storage_pool_set_source ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gvir_config_storage_pool_set_source (<em class="parameter"><code><a class="link" href="GVirConfigStoragePool.html" title="GVirConfigStoragePool"><span class="type">GVirConfigStoragePool</span></a> *pool</code></em>,
                                     <em class="parameter"><code><span class="type">GVirConfigStoragePoolSource</span> *source</code></em>);</pre>
<div class="refsect3">
<a name="gvir-config-storage-pool-set-source.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>source</p></td>
<td class="parameter_description"><p>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
</tr></tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gvir-config-storage-pool-get-target"></a><h3>gvir_config_storage_pool_get_target ()</h3>
<pre class="programlisting"><span class="returnvalue">GVirConfigStoragePoolTarget</span> *
gvir_config_storage_pool_get_target (<em class="parameter"><code><a class="link" href="GVirConfigStoragePool.html" title="GVirConfigStoragePool"><span class="type">GVirConfigStoragePool</span></a> *pool</code></em>);</pre>
<p>Gets the target for <em class="parameter"><code>pool</code></em>
</p>
<div class="refsect3">
<a name="gvir-config-storage-pool-get-target.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>pool</p></td>
<td class="parameter_description"><p>a <a class="link" href="GVirConfigStoragePool.html" title="GVirConfigStoragePool"><span class="type">GVirConfigStoragePool</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gvir-config-storage-pool-get-target.returns"></a><h4>Returns</h4>
<p>a new <span class="type">GVirConfigStoragePoolTarget</span> instance. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gvir-config-storage-pool-set-target"></a><h3>gvir_config_storage_pool_set_target ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gvir_config_storage_pool_set_target (<em class="parameter"><code><a class="link" href="GVirConfigStoragePool.html" title="GVirConfigStoragePool"><span class="type">GVirConfigStoragePool</span></a> *pool</code></em>,
                                     <em class="parameter"><code><span class="type">GVirConfigStoragePoolTarget</span> *target</code></em>);</pre>
<div class="refsect3">
<a name="gvir-config-storage-pool-set-target.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>target</p></td>
<td class="parameter_description"><p>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
</tr></tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gvir-config-storage-pool-get-uuid"></a><h3>gvir_config_storage_pool_get_uuid ()</h3>
<pre class="programlisting">const <span class="returnvalue">char</span> *
gvir_config_storage_pool_get_uuid (<em class="parameter"><code><a class="link" href="GVirConfigStoragePool.html" title="GVirConfigStoragePool"><span class="type">GVirConfigStoragePool</span></a> *pool</code></em>);</pre>
<p>Gets the unique identifier for <em class="parameter"><code>pool</code></em>
.</p>
<div class="refsect3">
<a name="gvir-config-storage-pool-get-uuid.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>pool</p></td>
<td class="parameter_description"><p>a <a class="link" href="GVirConfigStoragePool.html" title="GVirConfigStoragePool"><span class="type">GVirConfigStoragePool</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gvir-config-storage-pool-get-uuid.returns"></a><h4>Returns</h4>
<p> unique identifier for <em class="parameter"><code>pool</code></em>
.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gvir-config-storage-pool-set-uuid"></a><h3>gvir_config_storage_pool_set_uuid ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gvir_config_storage_pool_set_uuid (<em class="parameter"><code><a class="link" href="GVirConfigStoragePool.html" title="GVirConfigStoragePool"><span class="type">GVirConfigStoragePool</span></a> *pool</code></em>,
                                   <em class="parameter"><code>const <span class="type">char</span> *uuid</code></em>);</pre>
<div class="refsect3">
<a name="gvir-config-storage-pool-set-uuid.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>uuid</p></td>
<td class="parameter_description"><p>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
</tr></tbody>
</table></div>
</div>
</div>
</div>
<div class="refsect1">
<a name="GVirConfigStoragePool.other_details"></a><h2>Types and Values</h2>
<div class="refsect2">
<a name="GVirConfigStoragePool-struct"></a><h3>struct GVirConfigStoragePool</h3>
<pre class="programlisting">struct GVirConfigStoragePool;</pre>
</div>
<hr>
<div class="refsect2">
<a name="GVirConfigStoragePoolClass"></a><h3>struct GVirConfigStoragePoolClass</h3>
<pre class="programlisting">struct GVirConfigStoragePoolClass {
    GVirConfigObjectClass parent_class;

    gpointer padding[20];
};
</pre>
</div>
<hr>
<div class="refsect2">
<a name="GVirConfigStoragePoolType"></a><h3>enum GVirConfigStoragePoolType</h3>
<div class="refsect3">
<a name="GVirConfigStoragePoolType.members"></a><h4>Members</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="300px" class="enum_members_name">
<col class="enum_members_description">
<col width="200px" class="enum_members_annotations">
</colgroup>
<tbody>
<tr>
<td class="enum_member_name"><p><a name="GVIR-CONFIG-STORAGE-POOL-TYPE-DIR:CAPS"></a>GVIR_CONFIG_STORAGE_POOL_TYPE_DIR</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GVIR-CONFIG-STORAGE-POOL-TYPE-FS:CAPS"></a>GVIR_CONFIG_STORAGE_POOL_TYPE_FS</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GVIR-CONFIG-STORAGE-POOL-TYPE-NETFS:CAPS"></a>GVIR_CONFIG_STORAGE_POOL_TYPE_NETFS</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GVIR-CONFIG-STORAGE-POOL-TYPE-LOGICAL:CAPS"></a>GVIR_CONFIG_STORAGE_POOL_TYPE_LOGICAL</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GVIR-CONFIG-STORAGE-POOL-TYPE-DISK:CAPS"></a>GVIR_CONFIG_STORAGE_POOL_TYPE_DISK</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GVIR-CONFIG-STORAGE-POOL-TYPE-ISCSI:CAPS"></a>GVIR_CONFIG_STORAGE_POOL_TYPE_ISCSI</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GVIR-CONFIG-STORAGE-POOL-TYPE-SCSI:CAPS"></a>GVIR_CONFIG_STORAGE_POOL_TYPE_SCSI</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GVIR-CONFIG-STORAGE-POOL-TYPE-MPATH:CAPS"></a>GVIR_CONFIG_STORAGE_POOL_TYPE_MPATH</p></td>
<td> </td>
<td> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="GVirConfigStoragePoolPrivate"></a><h3>GVirConfigStoragePoolPrivate</h3>
<pre class="programlisting">typedef struct _GVirConfigStoragePoolPrivate GVirConfigStoragePoolPrivate;</pre>
</div>
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.29</div>
</body>
</html>