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>GVirConfigObject: 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="ch01.html" title="Libvirt-gconfig">
<link rel="next" href="GVirConfigDomain.html" title="GVirConfigDomain">
<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="#GVirConfigObject.description" class="shortcut">Description</a></span><span id="nav_hierarchy">  <span class="dim">|</span> 
                  <a href="#GVirConfigObject.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_properties">  <span class="dim">|</span> 
                  <a href="#GVirConfigObject.properties" class="shortcut">Properties</a></span>
</td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="ch01.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="GVirConfigDomain.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="GVirConfigObject"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="GVirConfigObject.top_of_page"></a>GVirConfigObject</span></h2>
<p>GVirConfigObject</p>
</td>
<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="GVirConfigObject.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="GVirConfigObject.html" title="GVirConfigObject"><span class="returnvalue">GVirConfigObject</span></a> *
</td>
<td class="function_name">
<a class="link" href="GVirConfigObject.html#gvir-config-object-new" title="gvir_config_object_new ()">gvir_config_object_new</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="GVirConfigObject.html" title="GVirConfigObject"><span class="returnvalue">GVirConfigObject</span></a> *
</td>
<td class="function_name">
<a class="link" href="GVirConfigObject.html#gvir-config-object-new-from-xml" title="gvir_config_object_new_from_xml ()">gvir_config_object_new_from_xml</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="GVirConfigObject.html#gvir-config-object-validate" title="gvir_config_object_validate ()">gvir_config_object_validate</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
</td>
<td class="function_name">
<a class="link" href="GVirConfigObject.html#gvir-config-object-to-xml" title="gvir_config_object_to_xml ()">gvir_config_object_to_xml</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
</td>
<td class="function_name">
<a class="link" href="GVirConfigObject.html#gvir-config-object-get-schema" title="gvir_config_object_get_schema ()">gvir_config_object_get_schema</a> <span class="c_punctuation">()</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="GVirConfigObject.properties"></a><h2>Properties</h2>
<div class="informaltable"><table class="informaltable" border="0">
<colgroup>
<col width="150px" class="properties_type">
<col width="300px" class="properties_name">
<col width="200px" class="properties_flags">
</colgroup>
<tbody>
<tr>
<td class="property_type">
<span class="type">GVirConfigXmlDoc</span> *</td>
<td class="property_name"><a class="link" href="GVirConfigObject.html#GVirConfigObject--doc" title="The “doc” property">doc</a></td>
<td class="property_flags">Read / Write / Construct Only</td>
</tr>
<tr>
<td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a></td>
<td class="property_name"><a class="link" href="GVirConfigObject.html#GVirConfigObject--node" title="The “node” property">node</a></td>
<td class="property_flags">Read / Write / Construct Only</td>
</tr>
<tr>
<td class="property_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
<td class="property_name"><a class="link" href="GVirConfigObject.html#GVirConfigObject--schema" title="The “schema” property">schema</a></td>
<td class="property_flags">Read / Write / Construct Only</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="GVirConfigObject.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="GVirConfigObject.html#GVirConfigObject-struct" title="struct GVirConfigObject">GVirConfigObject</a></td>
</tr>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="GVirConfigObject.html#GVirConfigObjectClass" title="struct GVirConfigObjectClass">GVirConfigObjectClass</a></td>
</tr>
<tr>
<td class="datatype_keyword"> </td>
<td class="function_name"><a class="link" href="GVirConfigObject.html#GVirConfigObjectPrivate" title="GVirConfigObjectPrivate">GVirConfigObjectPrivate</a></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="GVirConfigObject.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> GVirConfigObject
        <span class="lineart">├──</span> GVirConfigCapabilitiesCpuFeature
        <span class="lineart">├──</span> GVirConfigCapabilitiesCpu
        <span class="lineart">├──</span> GVirConfigCapabilitiesCpuModel
        <span class="lineart">├──</span> GVirConfigCapabilitiesCpuTopology
        <span class="lineart">├──</span> <a class="link" href="GVirConfigCapabilities.html" title="GVirConfigCapabilities">GVirConfigCapabilities</a>
        <span class="lineart">├──</span> GVirConfigCapabilitiesGuestArch
        <span class="lineart">├──</span> GVirConfigCapabilitiesGuestDomain
        <span class="lineart">├──</span> GVirConfigCapabilitiesGuestFeature
        <span class="lineart">├──</span> GVirConfigCapabilitiesGuest
        <span class="lineart">├──</span> GVirConfigCapabilitiesHost
        <span class="lineart">├──</span> GVirConfigCapabilitiesHostSecModel
        <span class="lineart">├──</span> GVirConfigDomainAddress
        <span class="lineart">├──</span> GVirConfigDomainCapabilities
        <span class="lineart">├──</span> GVirConfigDomainCapabilitiesOs
        <span class="lineart">├──</span> GVirConfigDomainDevice
        <span class="lineart">├──</span> GVirConfigDomainChardevSource
        <span class="lineart">├──</span> GVirConfigDomainClock
        <span class="lineart">├──</span> GVirConfigDomainDiskDriver
        <span class="lineart">├──</span> <a class="link" href="GVirConfigDomain.html" title="GVirConfigDomain">GVirConfigDomain</a>
        <span class="lineart">├──</span> GVirConfigDomainInterfaceFilterref
        <span class="lineart">├──</span> GVirConfigDomainInterfaceFilterrefParameter
        <span class="lineart">├──</span> GVirConfigDomainOs
        <span class="lineart">├──</span> GVirConfigDomainPowerManagement
        <span class="lineart">├──</span> GVirConfigDomainSeclabel
        <span class="lineart">├──</span> GVirConfigDomainSnapshotDisk
        <span class="lineart">├──</span> <a class="link" href="GVirConfigDomainSnapshot.html" title="GVirConfigDomainSnapshot">GVirConfigDomainSnapshot</a>
        <span class="lineart">├──</span> GVirConfigDomainTimer
        <span class="lineart">├──</span> <a class="link" href="GVirConfigInterface.html" title="GVirConfigInterface">GVirConfigInterface</a>
        <span class="lineart">├──</span> <a class="link" href="GVirConfigNetworkFilter.html" title="GVirConfigNetworkFilter">GVirConfigNetworkFilter</a>
        <span class="lineart">├──</span> <a class="link" href="GVirConfigNetwork.html" title="GVirConfigNetwork">GVirConfigNetwork</a>
        <span class="lineart">├──</span> <a class="link" href="GVirConfigNodeDevice.html" title="GVirConfigNodeDevice">GVirConfigNodeDevice</a>
        <span class="lineart">├──</span> <a class="link" href="GVirConfigSecret.html" title="GVirConfigSecret">GVirConfigSecret</a>
        <span class="lineart">├──</span> GVirConfigStoragePermissions
        <span class="lineart">├──</span> <a class="link" href="GVirConfigStoragePool.html" title="GVirConfigStoragePool">GVirConfigStoragePool</a>
        <span class="lineart">├──</span> GVirConfigStoragePoolSource
        <span class="lineart">├──</span> GVirConfigStoragePoolTarget
        <span class="lineart">├──</span> GVirConfigStorageVolBackingStore
        <span class="lineart">├──</span> <a class="link" href="GVirConfigStorageVol.html" title="GVirConfigStorageVol">GVirConfigStorageVol</a>
        <span class="lineart">╰──</span> GVirConfigStorageVolTarget
</pre>
</div>
<div class="refsect1">
<a name="GVirConfigObject.description"></a><h2>Description</h2>
</div>
<div class="refsect1">
<a name="GVirConfigObject.functions_details"></a><h2>Functions</h2>
<div class="refsect2">
<a name="gvir-config-object-new"></a><h3>gvir_config_object_new ()</h3>
<pre class="programlisting"><a class="link" href="GVirConfigObject.html" title="GVirConfigObject"><span class="returnvalue">GVirConfigObject</span></a> *
gvir_config_object_new (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#GType"><span class="type">GType</span></a> type</code></em>,
                        <em class="parameter"><code>const <span class="type">char</span> *root_name</code></em>,
                        <em class="parameter"><code>const <span class="type">char</span> *schema</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="gvir-config-object-new-from-xml"></a><h3>gvir_config_object_new_from_xml ()</h3>
<pre class="programlisting"><a class="link" href="GVirConfigObject.html" title="GVirConfigObject"><span class="returnvalue">GVirConfigObject</span></a> *
gvir_config_object_new_from_xml (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#GType"><span class="type">GType</span></a> type</code></em>,
                                 <em class="parameter"><code>const <span class="type">char</span> *root_name</code></em>,
                                 <em class="parameter"><code>const <span class="type">char</span> *schema</code></em>,
                                 <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *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-object-validate"></a><h3>gvir_config_object_validate ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gvir_config_object_validate (<em class="parameter"><code><a class="link" href="GVirConfigObject.html" title="GVirConfigObject"><span class="type">GVirConfigObject</span></a> *config</code></em>,
                             <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **err</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="gvir-config-object-to-xml"></a><h3>gvir_config_object_to_xml ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
gvir_config_object_to_xml (<em class="parameter"><code><a class="link" href="GVirConfigObject.html" title="GVirConfigObject"><span class="type">GVirConfigObject</span></a> *config</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="gvir-config-object-get-schema"></a><h3>gvir_config_object_get_schema ()</h3>
<pre class="programlisting">const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
gvir_config_object_get_schema (<em class="parameter"><code><a class="link" href="GVirConfigObject.html" title="GVirConfigObject"><span class="type">GVirConfigObject</span></a> *config</code></em>);</pre>
</div>
</div>
<div class="refsect1">
<a name="GVirConfigObject.other_details"></a><h2>Types and Values</h2>
<div class="refsect2">
<a name="GVirConfigObject-struct"></a><h3>struct GVirConfigObject</h3>
<pre class="programlisting">struct GVirConfigObject;</pre>
</div>
<hr>
<div class="refsect2">
<a name="GVirConfigObjectClass"></a><h3>struct GVirConfigObjectClass</h3>
<pre class="programlisting">struct GVirConfigObjectClass {
    GObjectClass parent_class;

    gpointer padding[20];
};
</pre>
</div>
<hr>
<div class="refsect2">
<a name="GVirConfigObjectPrivate"></a><h3>GVirConfigObjectPrivate</h3>
<pre class="programlisting">typedef struct _GVirConfigObjectPrivate GVirConfigObjectPrivate;</pre>
</div>
</div>
<div class="refsect1">
<a name="GVirConfigObject.property-details"></a><h2>Property Details</h2>
<div class="refsect2">
<a name="GVirConfigObject--doc"></a><h3>The <code class="literal">“doc”</code> property</h3>
<pre class="programlisting">  “doc”                      <span class="type">GVirConfigXmlDoc</span> *</pre>
<p>The XML doc this config object corresponds to.</p>
<p>Flags: Read / Write / Construct Only</p>
</div>
<hr>
<div class="refsect2">
<a name="GVirConfigObject--node"></a><h3>The <code class="literal">“node”</code> property</h3>
<pre class="programlisting">  “node”                     <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a></pre>
<p>The XML node this config object corresponds to.</p>
<p>Flags: Read / Write / Construct Only</p>
</div>
<hr>
<div class="refsect2">
<a name="GVirConfigObject--schema"></a><h3>The <code class="literal">“schema”</code> property</h3>
<pre class="programlisting">  “schema”                   <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
<p>The doc RNG schema.</p>
<p>Flags: Read / Write / Construct Only</p>
<p>Default value: NULL</p>
</div>
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.29</div>
</body>
</html>