<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>GVirDomainSnapshot: Libvirt-gobject Reference Manual</title>
<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
<link rel="home" href="index.html" title="Libvirt-gobject Reference Manual">
<link rel="up" href="ch01.html" title="Libvirt-gobject">
<link rel="prev" href="GVirDomain.html" title="GVirDomain">
<link rel="next" href="GVirInterface.html" title="GVirInterface">
<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="#GVirDomainSnapshot.description" class="shortcut">Description</a></span><span id="nav_hierarchy"> <span class="dim">|</span>
<a href="#GVirDomainSnapshot.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_properties"> <span class="dim">|</span>
<a href="#GVirDomainSnapshot.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="GVirDomain.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="GVirInterface.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="GVirDomainSnapshot"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="GVirDomainSnapshot.top_of_page"></a>GVirDomainSnapshot</span></h2>
<p>GVirDomainSnapshot</p>
</td>
<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="GVirDomainSnapshot.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">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="GVirDomainSnapshot.html#gvir-domain-snapshot-get-name" title="gvir_domain_snapshot_get_name ()">gvir_domain_snapshot_get_name</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/Libvirt-gconfig/GVirConfigDomainSnapshot.html#GVirConfigDomainSnapshot-struct"><span class="returnvalue">GVirConfigDomainSnapshot</span></a> *
</td>
<td class="function_name">
<a class="link" href="GVirDomainSnapshot.html#gvir-domain-snapshot-get-config" title="gvir_domain_snapshot_get_config ()">gvir_domain_snapshot_get_config</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="GVirDomainSnapshot.html#gvir-domain-snapshot-delete" title="gvir_domain_snapshot_delete ()">gvir_domain_snapshot_delete</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="GVirDomainSnapshot.html#gvir-domain-snapshot-delete-async" title="gvir_domain_snapshot_delete_async ()">gvir_domain_snapshot_delete_async</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="GVirDomainSnapshot.html#gvir-domain-snapshot-delete-finish" title="gvir_domain_snapshot_delete_finish ()">gvir_domain_snapshot_delete_finish</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="GVirDomainSnapshot.html#gvir-domain-snapshot-get-is-current" title="gvir_domain_snapshot_get_is_current ()">gvir_domain_snapshot_get_is_current</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="GVirDomainSnapshot.html#gvir-domain-snapshot-revert-to" title="gvir_domain_snapshot_revert_to ()">gvir_domain_snapshot_revert_to</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="GVirDomainSnapshot.html#gvir-domain-snapshot-revert-to-async" title="gvir_domain_snapshot_revert_to_async ()">gvir_domain_snapshot_revert_to_async</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="GVirDomainSnapshot.html#gvir-domain-snapshot-revert-to-finish" title="gvir_domain_snapshot_revert_to_finish ()">gvir_domain_snapshot_revert_to_finish</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="GVirDomainSnapshot.html#gvir-domain-snapshot-set-config" title="gvir_domain_snapshot_set_config ()">gvir_domain_snapshot_set_config</a> <span class="c_punctuation">()</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="GVirDomainSnapshot.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">GVirDomainSnapshotHandle</span> *</td>
<td class="property_name"><a class="link" href="GVirDomainSnapshot.html#GVirDomainSnapshot--handle" title="The “handle” property">handle</a></td>
<td class="property_flags">Read / Write / Construct Only</td>
</tr></tbody>
</table></div>
</div>
<div class="refsect1">
<a name="GVirDomainSnapshot.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">enum</td>
<td class="function_name"><a class="link" href="GVirDomainSnapshot.html#GVirDomainSnapshotDeleteFlags" title="enum GVirDomainSnapshotDeleteFlags">GVirDomainSnapshotDeleteFlags</a></td>
</tr>
<tr>
<td class="datatype_keyword">enum</td>
<td class="function_name"><a class="link" href="GVirDomainSnapshot.html#GVirDomainSnapshotRevertFlags" title="enum GVirDomainSnapshotRevertFlags">GVirDomainSnapshotRevertFlags</a></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="GVirDomainSnapshot.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> GVirDomainSnapshot
</pre>
</div>
<div class="refsect1">
<a name="GVirDomainSnapshot.description"></a><h2>Description</h2>
</div>
<div class="refsect1">
<a name="GVirDomainSnapshot.functions_details"></a><h2>Functions</h2>
<div class="refsect2">
<a name="gvir-domain-snapshot-get-name"></a><h3>gvir_domain_snapshot_get_name ()</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_domain_snapshot_get_name (<em class="parameter"><code><a class="link" href="GVirDomainSnapshot.html" title="GVirDomainSnapshot"><span class="type">GVirDomainSnapshot</span></a> *snapshot</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="gvir-domain-snapshot-get-config"></a><h3>gvir_domain_snapshot_get_config ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/Libvirt-gconfig/GVirConfigDomainSnapshot.html#GVirConfigDomainSnapshot-struct"><span class="returnvalue">GVirConfigDomainSnapshot</span></a> *
gvir_domain_snapshot_get_config (<em class="parameter"><code><a class="link" href="GVirDomainSnapshot.html" title="GVirDomainSnapshot"><span class="type">GVirDomainSnapshot</span></a> *snapshot</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> flags</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **err</code></em>);</pre>
<div class="refsect3">
<a name="gvir-domain-snapshot-get-config.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>snapshot</p></td>
<td class="parameter_description"><p>the domain_snapshot</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>flags</p></td>
<td class="parameter_description"><p>the flags</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gvir-domain-snapshot-get-config.returns"></a><h4>Returns</h4>
<p>the config. The returned object should be
unreffed with <a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a> when no longer needed. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gvir-domain-snapshot-delete"></a><h3>gvir_domain_snapshot_delete ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
gvir_domain_snapshot_delete (<em class="parameter"><code><a class="link" href="GVirDomainSnapshot.html" title="GVirDomainSnapshot"><span class="type">GVirDomainSnapshot</span></a> *snapshot</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> flags</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
<div class="refsect3">
<a name="gvir-domain-snapshot-delete.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>snapshot</p></td>
<td class="parameter_description"><p>The domain snapshot</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>flags</p></td>
<td class="parameter_description"><p>Bitwise or of <a class="link" href="GVirDomainSnapshot.html#GVirDomainSnapshotDeleteFlags" title="enum GVirDomainSnapshotDeleteFlags"><span class="type">GVirDomainSnapshotDeleteFlags</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>error</p></td>
<td class="parameter_description"><p>Place-holder for error or NULL. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gvir-domain-snapshot-delete.returns"></a><h4>Returns</h4>
<p> TRUE on success, FALSE otherwise</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gvir-domain-snapshot-delete-async"></a><h3>gvir_domain_snapshot_delete_async ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gvir_domain_snapshot_delete_async (<em class="parameter"><code><a class="link" href="GVirDomainSnapshot.html" title="GVirDomainSnapshot"><span class="type">GVirDomainSnapshot</span></a> *snapshot</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> flags</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gio/GCancellable.html#GCancellable-struct"><span class="type">GCancellable</span></a> *cancellable</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gio/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
<div class="refsect3">
<a name="gvir-domain-snapshot-delete-async.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>snapshot</p></td>
<td class="parameter_description"><p>A <a class="link" href="GVirDomainSnapshot.html" title="GVirDomainSnapshot"><span class="type">GVirDomainSnapshot</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>flags</p></td>
<td class="parameter_description"><p>Bitwise-OR of <a class="link" href="GVirDomainSnapshot.html#GVirDomainSnapshotDeleteFlags" title="enum GVirDomainSnapshotDeleteFlags"><span class="type">GVirDomainSnapshotDeleteFlags</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>cancellable</p></td>
<td class="parameter_description"><p>cancellation object. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>][<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>callback</p></td>
<td class="parameter_description"><p>completion callback. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="The callback is valid until first called."><span class="acronym">scope async</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>user_data</p></td>
<td class="parameter_description"><p>opaque data for callback. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="This parameter is a 'user_data', for callbacks; many bindings can pass NULL here."><span class="acronym">closure</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gvir-domain-snapshot-delete-finish"></a><h3>gvir_domain_snapshot_delete_finish ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
gvir_domain_snapshot_delete_finish (<em class="parameter"><code><a class="link" href="GVirDomainSnapshot.html" title="GVirDomainSnapshot"><span class="type">GVirDomainSnapshot</span></a> *snapshot</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gio/GAsyncResult.html#GAsyncResult-struct"><span class="type">GAsyncResult</span></a> *res</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 class="refsect3">
<a name="gvir-domain-snapshot-delete-finish.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>snapshot</p></td>
<td class="parameter_description"><p>A <a class="link" href="GVirDomainSnapshot.html" title="GVirDomainSnapshot"><span class="type">GVirDomainSnapshot</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>res</p></td>
<td class="parameter_description"><p>async method result. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gvir-domain-snapshot-delete-finish.returns"></a><h4>Returns</h4>
<p> <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success, <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gvir-domain-snapshot-get-is-current"></a><h3>gvir_domain_snapshot_get_is_current ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
gvir_domain_snapshot_get_is_current (<em class="parameter"><code><a class="link" href="GVirDomainSnapshot.html" title="GVirDomainSnapshot"><span class="type">GVirDomainSnapshot</span></a> *snapshot</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> flags</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> *is_current</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 class="refsect3">
<a name="gvir-domain-snapshot-get-is-current.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>snapshot</p></td>
<td class="parameter_description"><p>The domain snapshot</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>flags</p></td>
<td class="parameter_description"><p>Currently unused, pass 0</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>is_current</p></td>
<td class="parameter_description"><p><a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the given snapshot is the current snapshot
of its domain, <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>error</p></td>
<td class="parameter_description"><p>Place-holder for error or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </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 class="refsect3">
<a name="gvir-domain-snapshot-get-is-current.returns"></a><h4>Returns</h4>
<p> <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success, <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gvir-domain-snapshot-revert-to"></a><h3>gvir_domain_snapshot_revert_to ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
gvir_domain_snapshot_revert_to (<em class="parameter"><code><a class="link" href="GVirDomainSnapshot.html" title="GVirDomainSnapshot"><span class="type">GVirDomainSnapshot</span></a> *snapshot</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> flags</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
<div class="refsect3">
<a name="gvir-domain-snapshot-revert-to.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>snapshot</p></td>
<td class="parameter_description"><p>The domain snapshot</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>flags</p></td>
<td class="parameter_description"><p>Bitwise OR of GVirDomainSnapshotRevertFlags</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>error</p></td>
<td class="parameter_description"><p>Place-holder for error or NULL. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gvir-domain-snapshot-revert-to.returns"></a><h4>Returns</h4>
<p> TRUE if the snapshot's domain has successfully been
reverted to the given snapshot, FALSE otherwise, in which case
<em class="parameter"><code>error</code></em>
will be set.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gvir-domain-snapshot-revert-to-async"></a><h3>gvir_domain_snapshot_revert_to_async ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gvir_domain_snapshot_revert_to_async (<em class="parameter"><code><a class="link" href="GVirDomainSnapshot.html" title="GVirDomainSnapshot"><span class="type">GVirDomainSnapshot</span></a> *snapshot</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> flags</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gio/GCancellable.html#GCancellable-struct"><span class="type">GCancellable</span></a> *cancellable</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gio/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
<div class="refsect3">
<a name="gvir-domain-snapshot-revert-to-async.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>snapshot</p></td>
<td class="parameter_description"><p>A <a class="link" href="GVirDomainSnapshot.html" title="GVirDomainSnapshot"><span class="type">GVirDomainSnapshot</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>flags</p></td>
<td class="parameter_description"><p>Bitwise OR of <a class="link" href="GVirDomainSnapshot.html#GVirDomainSnapshotRevertFlags" title="enum GVirDomainSnapshotRevertFlags"><span class="type">GVirDomainSnapshotRevertFlags</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>cancellable</p></td>
<td class="parameter_description"><p>cancellation object. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>][<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>callback</p></td>
<td class="parameter_description"><p>The callback. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="The callback is valid until first called."><span class="acronym">scope async</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>user_data</p></td>
<td class="parameter_description"><p>Opaque data for callback. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="This parameter is a 'user_data', for callbacks; many bindings can pass NULL here."><span class="acronym">closure</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gvir-domain-snapshot-revert-to-finish"></a><h3>gvir_domain_snapshot_revert_to_finish ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
gvir_domain_snapshot_revert_to_finish (<em class="parameter"><code><a class="link" href="GVirDomainSnapshot.html" title="GVirDomainSnapshot"><span class="type">GVirDomainSnapshot</span></a> *snapshot</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gio/GAsyncResult.html#GAsyncResult-struct"><span class="type">GAsyncResult</span></a> *result</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
<div class="refsect3">
<a name="gvir-domain-snapshot-revert-to-finish.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>snapshot</p></td>
<td class="parameter_description"><p>The domain snapshot</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>result</p></td>
<td class="parameter_description"><p>The result. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gvir-domain-snapshot-revert-to-finish.returns"></a><h4>Returns</h4>
<p> <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success, <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gvir-domain-snapshot-set-config"></a><h3>gvir_domain_snapshot_set_config ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
gvir_domain_snapshot_set_config (<em class="parameter"><code><a class="link" href="GVirDomainSnapshot.html" title="GVirDomainSnapshot"><span class="type">GVirDomainSnapshot</span></a> *snapshot</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/Libvirt-gconfig/GVirConfigDomainSnapshot.html#GVirConfigDomainSnapshot-struct"><span class="type">GVirConfigDomainSnapshot</span></a> *conf</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
<p>Updates the given snapshot's configuration according to the
given GVirConfigDomainSnapshot.</p>
<div class="refsect3">
<a name="gvir-domain-snapshot-set-config.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>snapshot</p></td>
<td class="parameter_description"><p>The domain snapshot</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>conf</p></td>
<td class="parameter_description"><p>The new config object</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>error</p></td>
<td class="parameter_description"><p>Place-holder for error or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </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 class="refsect3">
<a name="gvir-domain-snapshot-set-config.returns"></a><h4>Returns</h4>
<p> <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if no error was reported, <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</p>
</div>
</div>
</div>
<div class="refsect1">
<a name="GVirDomainSnapshot.other_details"></a><h2>Types and Values</h2>
<div class="refsect2">
<a name="GVirDomainSnapshotDeleteFlags"></a><h3>enum GVirDomainSnapshotDeleteFlags</h3>
<div class="refsect3">
<a name="GVirDomainSnapshotDeleteFlags.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-DOMAIN-SNAPSHOT-DELETE-CHILDREN:CAPS"></a>GVIR_DOMAIN_SNAPSHOT_DELETE_CHILDREN</p></td>
<td class="enum_member_description">
<p>Also delete children</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GVIR-DOMAIN-SNAPSHOT-DELETE-METADATA-ONLY:CAPS"></a>GVIR_DOMAIN_SNAPSHOT_DELETE_METADATA_ONLY</p></td>
<td class="enum_member_description">
<p>Delete just metadata</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GVIR-DOMAIN-SNAPSHOT-DELETE-CHILDREN-ONLY:CAPS"></a>GVIR_DOMAIN_SNAPSHOT_DELETE_CHILDREN_ONLY</p></td>
<td class="enum_member_description">
<p>Delete just children</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="GVirDomainSnapshotRevertFlags"></a><h3>enum GVirDomainSnapshotRevertFlags</h3>
<div class="refsect3">
<a name="GVirDomainSnapshotRevertFlags.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-DOMAIN-SNAPSHOT-REVERT-RUNNING:CAPS"></a>GVIR_DOMAIN_SNAPSHOT_REVERT_RUNNING</p></td>
<td class="enum_member_description">
<p>Run after revert</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GVIR-DOMAIN-SNAPSHOT-REVERT-PAUSED:CAPS"></a>GVIR_DOMAIN_SNAPSHOT_REVERT_PAUSED</p></td>
<td class="enum_member_description">
<p>Pause after revert</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GVIR-DOMAIN-SNAPSHOT-REVERT-FORCE:CAPS"></a>GVIR_DOMAIN_SNAPSHOT_REVERT_FORCE</p></td>
<td class="enum_member_description">
<p>Allow risky reverts</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
</div>
<div class="refsect1">
<a name="GVirDomainSnapshot.property-details"></a><h2>Property Details</h2>
<div class="refsect2">
<a name="GVirDomainSnapshot--handle"></a><h3>The <code class="literal">“handle”</code> property</h3>
<pre class="programlisting"> “handle” <span class="type">GVirDomainSnapshotHandle</span> *</pre>
<p>The domain_snapshot handle.</p>
<p>Flags: Read / Write / Construct Only</p>
</div>
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.29</div>
</body>
</html>