<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>AsRelation: AppStream Library Reference Manual</title> <meta name="generator" content="DocBook XSL Stylesheets Vsnapshot"> <link rel="home" href="index.html" title="AppStream Library Reference Manual"> <link rel="up" href="ch01.html" title="AppStream API Reference"> <link rel="prev" href="appstream-AsSuggested.html" title="AsSuggested"> <link rel="next" href="appstream-AsRelease.html" title="AsRelease"> <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="#appstream-AsRelation.description" class="shortcut">Description</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="appstream-AsSuggested.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td> <td><a accesskey="n" href="appstream-AsRelease.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td> </tr></table> <div class="refentry"> <a name="appstream-AsRelation"></a><div class="titlepage"></div> <div class="refnamediv"><table width="100%"><tr> <td valign="top"> <h2><span class="refentrytitle"><a name="appstream-AsRelation.top_of_page"></a>AsRelation</span></h2> <p>AsRelation — Description of relations a software component has with other items</p> </td> <td class="gallery_image" valign="top" align="right"></td> </tr></table></div> <div class="refsect1"> <a name="appstream-AsRelation.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="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * </td> <td class="function_name"> <a class="link" href="appstream-AsRelation.html#as-relation-kind-to-string" title="as_relation_kind_to_string ()">as_relation_kind_to_string</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <a class="link" href="appstream-AsRelation.html#AsRelationKind" title="enum AsRelationKind"><span class="returnvalue">AsRelationKind</span></a> </td> <td class="function_name"> <a class="link" href="appstream-AsRelation.html#as-relation-kind-from-string" title="as_relation_kind_from_string ()">as_relation_kind_from_string</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type">const <a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * </td> <td class="function_name"> <a class="link" href="appstream-AsRelation.html#as-relation-item-kind-to-string" title="as_relation_item_kind_to_string ()">as_relation_item_kind_to_string</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <a class="link" href="appstream-AsRelation.html#AsRelationItemKind" title="enum AsRelationItemKind"><span class="returnvalue">AsRelationItemKind</span></a> </td> <td class="function_name"> <a class="link" href="appstream-AsRelation.html#as-relation-item-kind-from-string" title="as_relation_item_kind_from_string ()">as_relation_item_kind_from_string</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <a class="link" href="appstream-AsRelation.html#AsRelationCompare" title="enum AsRelationCompare"><span class="returnvalue">AsRelationCompare</span></a> </td> <td class="function_name"> <a class="link" href="appstream-AsRelation.html#as-relation-compare-from-string" title="as_relation_compare_from_string ()">as_relation_compare_from_string</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type">const <a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * </td> <td class="function_name"> <a class="link" href="appstream-AsRelation.html#as-relation-compare-to-string" title="as_relation_compare_to_string ()">as_relation_compare_to_string</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type">const <a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * </td> <td class="function_name"> <a class="link" href="appstream-AsRelation.html#as-relation-compare-to-symbols-string" title="as_relation_compare_to_symbols_string ()">as_relation_compare_to_symbols_string</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <a class="link" href="appstream-AsRelation.html#AsRelation" title="AsRelation"><span class="returnvalue">AsRelation</span></a> * </td> <td class="function_name"> <a class="link" href="appstream-AsRelation.html#as-relation-new" title="as_relation_new ()">as_relation_new</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <a class="link" href="appstream-AsRelation.html#AsRelationKind" title="enum AsRelationKind"><span class="returnvalue">AsRelationKind</span></a> </td> <td class="function_name"> <a class="link" href="appstream-AsRelation.html#as-relation-get-kind" title="as_relation_get_kind ()">as_relation_get_kind</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="appstream-AsRelation.html#as-relation-set-kind" title="as_relation_set_kind ()">as_relation_set_kind</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <a class="link" href="appstream-AsRelation.html#AsRelationItemKind" title="enum AsRelationItemKind"><span class="returnvalue">AsRelationItemKind</span></a> </td> <td class="function_name"> <a class="link" href="appstream-AsRelation.html#as-relation-get-item-kind" title="as_relation_get_item_kind ()">as_relation_get_item_kind</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="appstream-AsRelation.html#as-relation-set-item-kind" title="as_relation_set_item_kind ()">as_relation_set_item_kind</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <a class="link" href="appstream-AsRelation.html#AsRelationCompare" title="enum AsRelationCompare"><span class="returnvalue">AsRelationCompare</span></a> </td> <td class="function_name"> <a class="link" href="appstream-AsRelation.html#as-relation-get-compare" title="as_relation_get_compare ()">as_relation_get_compare</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="appstream-AsRelation.html#as-relation-set-compare" title="as_relation_set_compare ()">as_relation_set_compare</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type">const <a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * </td> <td class="function_name"> <a class="link" href="appstream-AsRelation.html#as-relation-get-version" title="as_relation_get_version ()">as_relation_get_version</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="appstream-AsRelation.html#as-relation-set-version" title="as_relation_set_version ()">as_relation_set_version</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type">const <a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * </td> <td class="function_name"> <a class="link" href="appstream-AsRelation.html#as-relation-get-value" title="as_relation_get_value ()">as_relation_get_value</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <a href="../glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> </td> <td class="function_name"> <a class="link" href="appstream-AsRelation.html#as-relation-get-value-int" title="as_relation_get_value_int ()">as_relation_get_value_int</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="appstream-AsRelation.html#as-relation-set-value" title="as_relation_set_value ()">as_relation_set_value</a> <span class="c_punctuation">()</span> </td> </tr> <tr> <td class="function_type"> <a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> </td> <td class="function_name"> <a class="link" href="appstream-AsRelation.html#as-relation-version-compare" title="as_relation_version_compare ()">as_relation_version_compare</a> <span class="c_punctuation">()</span> </td> </tr> </tbody> </table></div> </div> <div class="refsect1"> <a name="appstream-AsRelation.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="define_keyword">#define</td> <td class="function_name"><a class="link" href="appstream-AsRelation.html#AS-TYPE-RELATION:CAPS" title="AS_TYPE_RELATION">AS_TYPE_RELATION</a></td> </tr> <tr> <td class="datatype_keyword">struct</td> <td class="function_name"><a class="link" href="appstream-AsRelation.html#AsRelationClass" title="struct AsRelationClass">AsRelationClass</a></td> </tr> <tr> <td class="datatype_keyword">enum</td> <td class="function_name"><a class="link" href="appstream-AsRelation.html#AsRelationKind" title="enum AsRelationKind">AsRelationKind</a></td> </tr> <tr> <td class="datatype_keyword">enum</td> <td class="function_name"><a class="link" href="appstream-AsRelation.html#AsRelationItemKind" title="enum AsRelationItemKind">AsRelationItemKind</a></td> </tr> <tr> <td class="datatype_keyword">enum</td> <td class="function_name"><a class="link" href="appstream-AsRelation.html#AsRelationCompare" title="enum AsRelationCompare">AsRelationCompare</a></td> </tr> <tr> <td class="datatype_keyword"> </td> <td class="function_name"><a class="link" href="appstream-AsRelation.html#AsRelation" title="AsRelation">AsRelation</a></td> </tr> </tbody> </table></div> </div> <div class="refsect1"> <a name="appstream-AsRelation.includes"></a><h2>Includes</h2> <pre class="synopsis">#include <appstream.h> </pre> </div> <div class="refsect1"> <a name="appstream-AsRelation.description"></a><h2>Description</h2> <p>A component can have recommends- or requires relations on other components, system properties, other hardware and interfaces. This class contains a representation of those relations.</p> <p>See also: <a class="link" href="appstream-AsComponent.html#AsComponent" title="AsComponent"><span class="type">AsComponent</span></a></p> </div> <div class="refsect1"> <a name="appstream-AsRelation.functions_details"></a><h2>Functions</h2> <div class="refsect2"> <a name="as-relation-kind-to-string"></a><h3>as_relation_kind_to_string ()</h3> <pre class="programlisting">const <a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * as_relation_kind_to_string (<em class="parameter"><code><a class="link" href="appstream-AsRelation.html#AsRelationKind" title="enum AsRelationKind"><span class="type">AsRelationKind</span></a> kind</code></em>);</pre> <p>Converts the enumerated value to a text representation.</p> <div class="refsect3"> <a name="as-relation-kind-to-string.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>kind</p></td> <td class="parameter_description"><p>the <a class="link" href="appstream-AsRelation.html#AsRelationKind" title="enum AsRelationKind"><span class="type">AsRelationKind</span></a>.</p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> </div> <div class="refsect3"> <a name="as-relation-kind-to-string.returns"></a><h4>Returns</h4> <p> string version of <em class="parameter"><code>kind</code></em> </p> </div> <p class="since">Since: 0.12.0</p> </div> <hr> <div class="refsect2"> <a name="as-relation-kind-from-string"></a><h3>as_relation_kind_from_string ()</h3> <pre class="programlisting"><a class="link" href="appstream-AsRelation.html#AsRelationKind" title="enum AsRelationKind"><span class="returnvalue">AsRelationKind</span></a> as_relation_kind_from_string (<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *kind_str</code></em>);</pre> <p>Converts the text representation to an enumerated value.</p> <div class="refsect3"> <a name="as-relation-kind-from-string.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>kind_str</p></td> <td class="parameter_description"><p>the string.</p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> </div> <div class="refsect3"> <a name="as-relation-kind-from-string.returns"></a><h4>Returns</h4> <p> a <a class="link" href="appstream-AsRelation.html#AsRelationKind" title="enum AsRelationKind"><span class="type">AsRelationKind</span></a> or <a class="link" href="appstream-AsRelation.html#AS-RELATION-KIND-UNKNOWN:CAPS"><code class="literal">AS_RELATION_KIND_UNKNOWN</code></a> for unknown</p> </div> <p class="since">Since: 0.12.0</p> </div> <hr> <div class="refsect2"> <a name="as-relation-item-kind-to-string"></a><h3>as_relation_item_kind_to_string ()</h3> <pre class="programlisting">const <a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * as_relation_item_kind_to_string (<em class="parameter"><code><a class="link" href="appstream-AsRelation.html#AsRelationItemKind" title="enum AsRelationItemKind"><span class="type">AsRelationItemKind</span></a> kind</code></em>);</pre> <p>Converts the enumerated value to a text representation.</p> <div class="refsect3"> <a name="as-relation-item-kind-to-string.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>kind</p></td> <td class="parameter_description"><p>the <a class="link" href="appstream-AsRelation.html#AsRelationKind" title="enum AsRelationKind"><span class="type">AsRelationKind</span></a>.</p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> </div> <div class="refsect3"> <a name="as-relation-item-kind-to-string.returns"></a><h4>Returns</h4> <p> string version of <em class="parameter"><code>kind</code></em> </p> </div> <p class="since">Since: 0.12.0</p> </div> <hr> <div class="refsect2"> <a name="as-relation-item-kind-from-string"></a><h3>as_relation_item_kind_from_string ()</h3> <pre class="programlisting"><a class="link" href="appstream-AsRelation.html#AsRelationItemKind" title="enum AsRelationItemKind"><span class="returnvalue">AsRelationItemKind</span></a> as_relation_item_kind_from_string (<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *kind_str</code></em>);</pre> <p>Converts the text representation to an enumerated value.</p> <div class="refsect3"> <a name="as-relation-item-kind-from-string.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>kind_str</p></td> <td class="parameter_description"><p>the string.</p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> </div> <div class="refsect3"> <a name="as-relation-item-kind-from-string.returns"></a><h4>Returns</h4> <p> a <a class="link" href="appstream-AsRelation.html#AsRelationItemKind" title="enum AsRelationItemKind"><span class="type">AsRelationItemKind</span></a> or <a class="link" href="appstream-AsRelation.html#AS-RELATION-ITEM-KIND-UNKNOWN:CAPS"><code class="literal">AS_RELATION_ITEM_KIND_UNKNOWN</code></a> for unknown</p> </div> <p class="since">Since: 0.12.0</p> </div> <hr> <div class="refsect2"> <a name="as-relation-compare-from-string"></a><h3>as_relation_compare_from_string ()</h3> <pre class="programlisting"><a class="link" href="appstream-AsRelation.html#AsRelationCompare" title="enum AsRelationCompare"><span class="returnvalue">AsRelationCompare</span></a> as_relation_compare_from_string (<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *compare_str</code></em>);</pre> <p>Converts the text representation to an enumerated value.</p> <div class="refsect3"> <a name="as-relation-compare-from-string.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>compare_str</p></td> <td class="parameter_description"><p>the string.</p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> </div> <div class="refsect3"> <a name="as-relation-compare-from-string.returns"></a><h4>Returns</h4> <p> a <a class="link" href="appstream-AsRelation.html#AsRelationCompare" title="enum AsRelationCompare"><span class="type">AsRelationCompare</span></a>, or <a class="link" href="appstream-AsRelation.html#AS-RELATION-COMPARE-UNKNOWN:CAPS"><code class="literal">AS_RELATION_COMPARE_UNKNOWN</code></a> for unknown.</p> </div> <p class="since">Since: 0.12.0</p> </div> <hr> <div class="refsect2"> <a name="as-relation-compare-to-string"></a><h3>as_relation_compare_to_string ()</h3> <pre class="programlisting">const <a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * as_relation_compare_to_string (<em class="parameter"><code><a class="link" href="appstream-AsRelation.html#AsRelationCompare" title="enum AsRelationCompare"><span class="type">AsRelationCompare</span></a> compare</code></em>);</pre> <p>Converts the enumerated value to an text representation. The enum is converted into a two-letter identifier ("eq", "ge", etc.) for use in the XML representation.</p> <div class="refsect3"> <a name="as-relation-compare-to-string.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>compare</p></td> <td class="parameter_description"><p>the <a class="link" href="appstream-AsRelation.html#AsRelationCompare" title="enum AsRelationCompare"><span class="type">AsRelationCompare</span></a>.</p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> </div> <div class="refsect3"> <a name="as-relation-compare-to-string.returns"></a><h4>Returns</h4> <p> string version of <em class="parameter"><code>compare</code></em> </p> </div> <p class="since">Since: 0.12.0</p> </div> <hr> <div class="refsect2"> <a name="as-relation-compare-to-symbols-string"></a><h3>as_relation_compare_to_symbols_string ()</h3> <pre class="programlisting">const <a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * as_relation_compare_to_symbols_string (<em class="parameter"><code><a class="link" href="appstream-AsRelation.html#AsRelationCompare" title="enum AsRelationCompare"><span class="type">AsRelationCompare</span></a> compare</code></em>);</pre> <p>Converts the enumerated value to an text representation. The enum is converted into an identifier consisting of two mathematical comparison operators ("==", ">=", etc.) for use in the YAML representation and user interfaces.</p> <div class="refsect3"> <a name="as-relation-compare-to-symbols-string.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>compare</p></td> <td class="parameter_description"><p>the <a class="link" href="appstream-AsRelation.html#AsRelationCompare" title="enum AsRelationCompare"><span class="type">AsRelationCompare</span></a>.</p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> </div> <div class="refsect3"> <a name="as-relation-compare-to-symbols-string.returns"></a><h4>Returns</h4> <p> string version of <em class="parameter"><code>compare</code></em> </p> </div> <p class="since">Since: 0.12.0</p> </div> <hr> <div class="refsect2"> <a name="as-relation-new"></a><h3>as_relation_new ()</h3> <pre class="programlisting"><a class="link" href="appstream-AsRelation.html#AsRelation" title="AsRelation"><span class="returnvalue">AsRelation</span></a> * as_relation_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre> <p>Creates a new <a class="link" href="appstream-AsRelation.html#AsRelation" title="AsRelation"><span class="type">AsRelation</span></a>.</p> <div class="refsect3"> <a name="as-relation-new.returns"></a><h4>Returns</h4> <p>a <a class="link" href="appstream-AsRelation.html#AsRelation" title="AsRelation"><span class="type">AsRelation</span></a>. </p> <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p> </div> <p class="since">Since: 0.11.0</p> </div> <hr> <div class="refsect2"> <a name="as-relation-get-kind"></a><h3>as_relation_get_kind ()</h3> <pre class="programlisting"><a class="link" href="appstream-AsRelation.html#AsRelationKind" title="enum AsRelationKind"><span class="returnvalue">AsRelationKind</span></a> as_relation_get_kind (<em class="parameter"><code><a class="link" href="appstream-AsRelation.html#AsRelation" title="AsRelation"><span class="type">AsRelation</span></a> *relation</code></em>);</pre> <p>The type (and thereby strength) of this <a class="link" href="appstream-AsRelation.html#AsRelation" title="AsRelation"><span class="type">AsRelation</span></a>.</p> <div class="refsect3"> <a name="as-relation-get-kind.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>relation</p></td> <td class="parameter_description"><p>a <a class="link" href="appstream-AsRelation.html#AsRelation" title="AsRelation"><span class="type">AsRelation</span></a> instance.</p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> </div> <div class="refsect3"> <a name="as-relation-get-kind.returns"></a><h4>Returns</h4> <p> an enum of type <a class="link" href="appstream-AsRelation.html#AsRelationKind" title="enum AsRelationKind"><span class="type">AsRelationKind</span></a></p> </div> <p class="since">Since: 0.12.0</p> </div> <hr> <div class="refsect2"> <a name="as-relation-set-kind"></a><h3>as_relation_set_kind ()</h3> <pre class="programlisting"><span class="returnvalue">void</span> as_relation_set_kind (<em class="parameter"><code><a class="link" href="appstream-AsRelation.html#AsRelation" title="AsRelation"><span class="type">AsRelation</span></a> *relation</code></em>, <em class="parameter"><code><a class="link" href="appstream-AsRelation.html#AsRelationKind" title="enum AsRelationKind"><span class="type">AsRelationKind</span></a> kind</code></em>);</pre> <p>Set the kind of this <a class="link" href="appstream-AsRelation.html#AsRelation" title="AsRelation"><span class="type">AsRelation</span></a>.</p> <div class="refsect3"> <a name="as-relation-set-kind.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>relation</p></td> <td class="parameter_description"><p>a <a class="link" href="appstream-AsRelation.html#AsRelation" title="AsRelation"><span class="type">AsRelation</span></a> instance.</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>kind</p></td> <td class="parameter_description"><p>the new <a class="link" href="appstream-AsRelation.html#AsRelationKind" title="enum AsRelationKind"><span class="type">AsRelationKind</span></a></p></td> <td class="parameter_annotations"> </td> </tr> </tbody> </table></div> </div> <p class="since">Since: 0.12.0</p> </div> <hr> <div class="refsect2"> <a name="as-relation-get-item-kind"></a><h3>as_relation_get_item_kind ()</h3> <pre class="programlisting"><a class="link" href="appstream-AsRelation.html#AsRelationItemKind" title="enum AsRelationItemKind"><span class="returnvalue">AsRelationItemKind</span></a> as_relation_get_item_kind (<em class="parameter"><code><a class="link" href="appstream-AsRelation.html#AsRelation" title="AsRelation"><span class="type">AsRelation</span></a> *relation</code></em>);</pre> <p>The kind of the item of this <a class="link" href="appstream-AsRelation.html#AsRelation" title="AsRelation"><span class="type">AsRelation</span></a>.</p> <div class="refsect3"> <a name="as-relation-get-item-kind.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>relation</p></td> <td class="parameter_description"><p>a <a class="link" href="appstream-AsRelation.html#AsRelation" title="AsRelation"><span class="type">AsRelation</span></a> instance.</p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> </div> <div class="refsect3"> <a name="as-relation-get-item-kind.returns"></a><h4>Returns</h4> <p> an enum of type <a class="link" href="appstream-AsRelation.html#AsRelationItemKind" title="enum AsRelationItemKind"><span class="type">AsRelationItemKind</span></a></p> </div> <p class="since">Since: 0.12.0</p> </div> <hr> <div class="refsect2"> <a name="as-relation-set-item-kind"></a><h3>as_relation_set_item_kind ()</h3> <pre class="programlisting"><span class="returnvalue">void</span> as_relation_set_item_kind (<em class="parameter"><code><a class="link" href="appstream-AsRelation.html#AsRelation" title="AsRelation"><span class="type">AsRelation</span></a> *relation</code></em>, <em class="parameter"><code><a class="link" href="appstream-AsRelation.html#AsRelationItemKind" title="enum AsRelationItemKind"><span class="type">AsRelationItemKind</span></a> kind</code></em>);</pre> <p>Set the kind of the item this <a class="link" href="appstream-AsRelation.html#AsRelation" title="AsRelation"><span class="type">AsRelation</span></a> is about.</p> <div class="refsect3"> <a name="as-relation-set-item-kind.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>relation</p></td> <td class="parameter_description"><p>a <a class="link" href="appstream-AsRelation.html#AsRelation" title="AsRelation"><span class="type">AsRelation</span></a> instance.</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>kind</p></td> <td class="parameter_description"><p>the new <a class="link" href="appstream-AsRelation.html#AsRelationItemKind" title="enum AsRelationItemKind"><span class="type">AsRelationItemKind</span></a></p></td> <td class="parameter_annotations"> </td> </tr> </tbody> </table></div> </div> <p class="since">Since: 0.12.0</p> </div> <hr> <div class="refsect2"> <a name="as-relation-get-compare"></a><h3>as_relation_get_compare ()</h3> <pre class="programlisting"><a class="link" href="appstream-AsRelation.html#AsRelationCompare" title="enum AsRelationCompare"><span class="returnvalue">AsRelationCompare</span></a> as_relation_get_compare (<em class="parameter"><code><a class="link" href="appstream-AsRelation.html#AsRelation" title="AsRelation"><span class="type">AsRelation</span></a> *relation</code></em>);</pre> <p>The version comparison type.</p> <div class="refsect3"> <a name="as-relation-get-compare.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>relation</p></td> <td class="parameter_description"><p>a <a class="link" href="appstream-AsRelation.html#AsRelation" title="AsRelation"><span class="type">AsRelation</span></a> instance.</p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> </div> <div class="refsect3"> <a name="as-relation-get-compare.returns"></a><h4>Returns</h4> <p> an enum of type <a class="link" href="appstream-AsRelation.html#AsRelationCompare" title="enum AsRelationCompare"><span class="type">AsRelationCompare</span></a></p> </div> <p class="since">Since: 0.12.0</p> </div> <hr> <div class="refsect2"> <a name="as-relation-set-compare"></a><h3>as_relation_set_compare ()</h3> <pre class="programlisting"><span class="returnvalue">void</span> as_relation_set_compare (<em class="parameter"><code><a class="link" href="appstream-AsRelation.html#AsRelation" title="AsRelation"><span class="type">AsRelation</span></a> *relation</code></em>, <em class="parameter"><code><a class="link" href="appstream-AsRelation.html#AsRelationCompare" title="enum AsRelationCompare"><span class="type">AsRelationCompare</span></a> compare</code></em>);</pre> <p>Set the version comparison type of this <a class="link" href="appstream-AsRelation.html#AsRelation" title="AsRelation"><span class="type">AsRelation</span></a>.</p> <div class="refsect3"> <a name="as-relation-set-compare.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>relation</p></td> <td class="parameter_description"><p>an <a class="link" href="appstream-AsRelation.html#AsRelation" title="AsRelation"><span class="type">AsRelation</span></a> instance.</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>compare</p></td> <td class="parameter_description"><p>the new <a class="link" href="appstream-AsRelation.html#AsRelationCompare" title="enum AsRelationCompare"><span class="type">AsRelationCompare</span></a></p></td> <td class="parameter_annotations"> </td> </tr> </tbody> </table></div> </div> <p class="since">Since: 0.12.0</p> </div> <hr> <div class="refsect2"> <a name="as-relation-get-version"></a><h3>as_relation_get_version ()</h3> <pre class="programlisting">const <a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * as_relation_get_version (<em class="parameter"><code><a class="link" href="appstream-AsRelation.html#AsRelation" title="AsRelation"><span class="type">AsRelation</span></a> *relation</code></em>);</pre> <div class="refsect3"> <a name="as-relation-get-version.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody><tr> <td class="parameter_name"><p>relation</p></td> <td class="parameter_description"><p>an <a class="link" href="appstream-AsRelation.html#AsRelation" title="AsRelation"><span class="type">AsRelation</span></a> instance.</p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> </div> <div class="refsect3"> <a name="as-relation-get-version.returns"></a><h4>Returns</h4> <p> The version of the item this <a class="link" href="appstream-AsRelation.html#AsRelation" title="AsRelation"><span class="type">AsRelation</span></a> is about.</p> </div> <p class="since">Since: 0.12.0</p> </div> <hr> <div class="refsect2"> <a name="as-relation-set-version"></a><h3>as_relation_set_version ()</h3> <pre class="programlisting"><span class="returnvalue">void</span> as_relation_set_version (<em class="parameter"><code><a class="link" href="appstream-AsRelation.html#AsRelation" title="AsRelation"><span class="type">AsRelation</span></a> *relation</code></em>, <em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *version</code></em>);</pre> <p>Sets the item version.</p> <div class="refsect3"> <a name="as-relation-set-version.parameters"></a><h4>Parameters</h4> <div class="informaltable"><table class="informaltable" width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> <tbody> <tr> <td class="parameter_name"><p>relation</p></td> <td class="parameter_description"><p>an <a class="link" href="appstream-AsRelation.html#AsRelation" title="AsRelation"><span class="type">AsRelation</span></a> instance.</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>version</p></td> <td class="parameter_description"><p>the new version.</p></td> <td class="parameter_annotations"> </td> </tr> </tbody> </table></div> </div> <p class="since">Since: 0.12.0</p> </div> <hr> <div class="refsect2"> <a name="as-relation-get-value"></a><h3>as_relation_get_value ()</h3> <pre class="programlisting">const <a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * as_relation_get_value (<em class="parameter"><code><a class="link" href="appstream-AsRelation.html#AsRelation" title="AsRelation"><span class="type">AsRelation</span></a> *relation</code></em>);</pre> <div class="refsect3"> <a name="as-relation-get-value.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>relation</p></td> <td class="parameter_description"><p>an <a class="link" href="appstream-AsRelation.html#AsRelation" title="AsRelation"><span class="type">AsRelation</span></a> instance.</p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> </div> <div class="refsect3"> <a name="as-relation-get-value.returns"></a><h4>Returns</h4> <p> The value of the item this <a class="link" href="appstream-AsRelation.html#AsRelation" title="AsRelation"><span class="type">AsRelation</span></a> is about.</p> </div> <p class="since">Since: 0.12.0</p> </div> <hr> <div class="refsect2"> <a name="as-relation-get-value-int"></a><h3>as_relation_get_value_int ()</h3> <pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> as_relation_get_value_int (<em class="parameter"><code><a class="link" href="appstream-AsRelation.html#AsRelation" title="AsRelation"><span class="type">AsRelation</span></a> *relation</code></em>);</pre> <div class="refsect3"> <a name="as-relation-get-value-int.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>relation</p></td> <td class="parameter_description"><p>an <a class="link" href="appstream-AsRelation.html#AsRelation" title="AsRelation"><span class="type">AsRelation</span></a> instance.</p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> </div> <div class="refsect3"> <a name="as-relation-get-value-int.returns"></a><h4>Returns</h4> <p> The value of the item this <a class="link" href="appstream-AsRelation.html#AsRelation" title="AsRelation"><span class="type">AsRelation</span></a> is about as integer.</p> </div> <p class="since">Since: 0.12.0</p> </div> <hr> <div class="refsect2"> <a name="as-relation-set-value"></a><h3>as_relation_set_value ()</h3> <pre class="programlisting"><span class="returnvalue">void</span> as_relation_set_value (<em class="parameter"><code><a class="link" href="appstream-AsRelation.html#AsRelation" title="AsRelation"><span class="type">AsRelation</span></a> *relation</code></em>, <em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *value</code></em>);</pre> <p>Sets the item value.</p> <div class="refsect3"> <a name="as-relation-set-value.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>relation</p></td> <td class="parameter_description"><p>an <a class="link" href="appstream-AsRelation.html#AsRelation" title="AsRelation"><span class="type">AsRelation</span></a> instance.</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>value</p></td> <td class="parameter_description"><p>the new value.</p></td> <td class="parameter_annotations"> </td> </tr> </tbody> </table></div> </div> <p class="since">Since: 0.12.0</p> </div> <hr> <div class="refsect2"> <a name="as-relation-version-compare"></a><h3>as_relation_version_compare ()</h3> <pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> as_relation_version_compare (<em class="parameter"><code><a class="link" href="appstream-AsRelation.html#AsRelation" title="AsRelation"><span class="type">AsRelation</span></a> *relation</code></em>, <em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *version</code></em>, <em class="parameter"><code><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre> <p>Tests whether the version number of this <a class="link" href="appstream-AsRelation.html#AsRelation" title="AsRelation"><span class="type">AsRelation</span></a> is fulfilled by <em class="parameter"><code>version</code></em> . Whether the given version is sufficient to fulfill the version requirement of this <a class="link" href="appstream-AsRelation.html#AsRelation" title="AsRelation"><span class="type">AsRelation</span></a> is determined by its comparison resraint.</p> <div class="refsect3"> <a name="as-relation-version-compare.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>relation</p></td> <td class="parameter_description"><p>an <a class="link" href="appstream-AsRelation.html#AsRelation" title="AsRelation"><span class="type">AsRelation</span></a> instance.</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>version</p></td> <td class="parameter_description"><p>a version number, e.g. <code class="literal">1.2.0</code></p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>error</p></td> <td class="parameter_description"><p>A <a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td> <td class="parameter_annotations"> </td> </tr> </tbody> </table></div> </div> <div class="refsect3"> <a name="as-relation-version-compare.returns"></a><h4>Returns</h4> <p> <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the version from the parameter is sufficient.</p> </div> <p class="since">Since: 0.12.0</p> </div> </div> <div class="refsect1"> <a name="appstream-AsRelation.other_details"></a><h2>Types and Values</h2> <div class="refsect2"> <a name="AS-TYPE-RELATION:CAPS"></a><h3>AS_TYPE_RELATION</h3> <pre class="programlisting">#define AS_TYPE_RELATION (as_relation_get_type ()) </pre> </div> <hr> <div class="refsect2"> <a name="AsRelationClass"></a><h3>struct AsRelationClass</h3> <pre class="programlisting">struct AsRelationClass { GObjectClass parent_class; }; </pre> </div> <hr> <div class="refsect2"> <a name="AsRelationKind"></a><h3>enum AsRelationKind</h3> <p>Type of a component's relation to other items.</p> <div class="refsect3"> <a name="AsRelationKind.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="AS-RELATION-KIND-UNKNOWN:CAPS"></a>AS_RELATION_KIND_UNKNOWN</p></td> <td class="enum_member_description"> <p>Unknown kind</p> </td> <td class="enum_member_annotations"> </td> </tr> <tr> <td class="enum_member_name"><p><a name="AS-RELATION-KIND-REQUIRES:CAPS"></a>AS_RELATION_KIND_REQUIRES</p></td> <td class="enum_member_description"> <p>The referenced item is required by the component</p> </td> <td class="enum_member_annotations"> </td> </tr> <tr> <td class="enum_member_name"><p><a name="AS-RELATION-KIND-RECOMMENDS:CAPS"></a>AS_RELATION_KIND_RECOMMENDS</p></td> <td class="enum_member_description"> <p>The referenced item is recommended</p> </td> <td class="enum_member_annotations"> </td> </tr> </tbody> </table></div> </div> </div> <hr> <div class="refsect2"> <a name="AsRelationItemKind"></a><h3>enum AsRelationItemKind</h3> <p>Type of the item an <a class="link" href="appstream-AsRelation.html#AsRelation" title="AsRelation"><span class="type">AsRelation</span></a> is for.</p> <div class="refsect3"> <a name="AsRelationItemKind.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="AS-RELATION-ITEM-KIND-UNKNOWN:CAPS"></a>AS_RELATION_ITEM_KIND_UNKNOWN</p></td> <td class="enum_member_description"> <p>Unknown kind</p> </td> <td class="enum_member_annotations"> </td> </tr> <tr> <td class="enum_member_name"><p><a name="AS-RELATION-ITEM-KIND-ID:CAPS"></a>AS_RELATION_ITEM_KIND_ID</p></td> <td class="enum_member_description"> <p>A component ID</p> </td> <td class="enum_member_annotations"> </td> </tr> <tr> <td class="enum_member_name"><p><a name="AS-RELATION-ITEM-KIND-MODALIAS:CAPS"></a>AS_RELATION_ITEM_KIND_MODALIAS</p></td> <td class="enum_member_description"> <p>A hardware modalias</p> </td> <td class="enum_member_annotations"> </td> </tr> <tr> <td class="enum_member_name"><p><a name="AS-RELATION-ITEM-KIND-KERNEL:CAPS"></a>AS_RELATION_ITEM_KIND_KERNEL</p></td> <td class="enum_member_description"> <p>An operating system kernel (like Linux)</p> </td> <td class="enum_member_annotations"> </td> </tr> <tr> <td class="enum_member_name"><p><a name="AS-RELATION-ITEM-KIND-MEMORY:CAPS"></a>AS_RELATION_ITEM_KIND_MEMORY</p></td> <td class="enum_member_description"> <p>A system RAM requirement</p> </td> <td class="enum_member_annotations"> </td> </tr> </tbody> </table></div> </div> </div> <hr> <div class="refsect2"> <a name="AsRelationCompare"></a><h3>enum AsRelationCompare</h3> <p>The relational comparison type.</p> <div class="refsect3"> <a name="AsRelationCompare.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="AS-RELATION-COMPARE-UNKNOWN:CAPS"></a>AS_RELATION_COMPARE_UNKNOWN</p></td> <td class="enum_member_description"> <p>Comparison predicate invalid or not known</p> </td> <td class="enum_member_annotations"> </td> </tr> <tr> <td class="enum_member_name"><p><a name="AS-RELATION-COMPARE-EQ:CAPS"></a>AS_RELATION_COMPARE_EQ</p></td> <td class="enum_member_description"> <p>Equal to</p> </td> <td class="enum_member_annotations"> </td> </tr> <tr> <td class="enum_member_name"><p><a name="AS-RELATION-COMPARE-NE:CAPS"></a>AS_RELATION_COMPARE_NE</p></td> <td class="enum_member_description"> <p>Not equal to</p> </td> <td class="enum_member_annotations"> </td> </tr> <tr> <td class="enum_member_name"><p><a name="AS-RELATION-COMPARE-LT:CAPS"></a>AS_RELATION_COMPARE_LT</p></td> <td class="enum_member_description"> <p>Less than</p> </td> <td class="enum_member_annotations"> </td> </tr> <tr> <td class="enum_member_name"><p><a name="AS-RELATION-COMPARE-GT:CAPS"></a>AS_RELATION_COMPARE_GT</p></td> <td class="enum_member_description"> <p>Greater than</p> </td> <td class="enum_member_annotations"> </td> </tr> <tr> <td class="enum_member_name"><p><a name="AS-RELATION-COMPARE-LE:CAPS"></a>AS_RELATION_COMPARE_LE</p></td> <td class="enum_member_description"> <p>Less than or equal to</p> </td> <td class="enum_member_annotations"> </td> </tr> <tr> <td class="enum_member_name"><p><a name="AS-RELATION-COMPARE-GE:CAPS"></a>AS_RELATION_COMPARE_GE</p></td> <td class="enum_member_description"> <p>Greater than or equal to</p> </td> <td class="enum_member_annotations"> </td> </tr> </tbody> </table></div> </div> </div> <hr> <div class="refsect2"> <a name="AsRelation"></a><h3>AsRelation</h3> <pre class="programlisting">typedef struct _AsRelation AsRelation;</pre> </div> </div> </div> <div class="footer"> <hr>Generated by GTK-Doc V1.29</div> </body> </html>