<?xml version="1.0"?>
<!-- This file was automatically generated from C sources - DO NOT EDIT!
To affect the contents of this file, edit the original C definitions,
and/or use gtk-doc annotations.  -->
<repository version="1.2"
            xmlns="http://www.gtk.org/introspection/core/1.0"
            xmlns:c="http://www.gtk.org/introspection/c/1.0"
            xmlns:glib="http://www.gtk.org/introspection/glib/1.0">
  <include name="GObject" version="2.0"/>
  <include name="Gio" version="2.0"/>
  <package name="appstream"/>
  <c:include name="appstream.h"/>
  <namespace name="AppStream"
             version="1.0"
             shared-library="libappstream.so.4"
             c:identifier-prefixes="As"
             c:symbol-prefixes="as">
    <class name="Agreement"
           c:symbol-prefix="agreement"
           c:type="AsAgreement"
           parent="GObject.Object"
           glib:type-name="AsAgreement"
           glib:get-type="as_agreement_get_type"
           glib:type-struct="AgreementClass">
      <source-position filename="../src/as-agreement.h" line="50"/>
      <constructor name="new" c:identifier="as_agreement_new" version="0.12.1">
        <doc xml:space="preserve"
             filename="../src/as-agreement.c"
             line="434">Creates a new #AsAgreement.</doc>
        <source-position filename="../src/as-agreement.h" line="70"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="../src/as-agreement.c"
               line="439">a #AsAgreement</doc>
          <type name="Agreement" c:type="AsAgreement*"/>
        </return-value>
      </constructor>
      <function name="kind_from_string"
                c:identifier="as_agreement_kind_from_string"
                version="0.12.1">
        <doc xml:space="preserve"
             filename="../src/as-agreement.c"
             line="101">Converts the text representation to an enumerated value.</doc>
        <source-position filename="../src/as-agreement.h" line="73"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-agreement.c"
               line="107">a #AsAgreementKind or %AS_AGREEMENT_KIND_UNKNOWN for unknown</doc>
          <type name="AgreementKind" c:type="AsAgreementKind"/>
        </return-value>
        <parameters>
          <parameter name="value" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-agreement.c"
                 line="103">the string.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </function>
      <function name="kind_to_string"
                c:identifier="as_agreement_kind_to_string"
                version="0.12.1">
        <doc xml:space="preserve"
             filename="../src/as-agreement.c"
             line="79">Converts the enumerated value to an text representation.</doc>
        <source-position filename="../src/as-agreement.h" line="72"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-agreement.c"
               line="85">string version of @value</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <parameter name="value" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-agreement.c"
                 line="81">the #AsAgreementKind.</doc>
            <type name="AgreementKind" c:type="AsAgreementKind"/>
          </parameter>
        </parameters>
      </function>
      <method name="add_section" c:identifier="as_agreement_add_section">
        <source-position filename="../src/as-agreement.h" line="85"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="agreement" transfer-ownership="none">
            <type name="Agreement" c:type="AsAgreement*"/>
          </instance-parameter>
          <parameter name="agreement_section" transfer-ownership="none">
            <type name="AgreementSection" c:type="AsAgreementSection*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_kind"
              c:identifier="as_agreement_get_kind"
              version="0.12.1">
        <doc xml:space="preserve"
             filename="../src/as-agreement.c"
             line="125">Gets the agreement kind.</doc>
        <source-position filename="../src/as-agreement.h" line="75"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-agreement.c"
               line="131">a string, e.g. %AS_AGREEMENT_KIND_EULA</doc>
          <type name="AgreementKind" c:type="AsAgreementKind"/>
        </return-value>
        <parameters>
          <instance-parameter name="agreement" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-agreement.c"
                 line="127">a #AsAgreement instance.</doc>
            <type name="Agreement" c:type="AsAgreement*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_section_default"
              c:identifier="as_agreement_get_section_default"
              version="0.12.1">
        <doc xml:space="preserve"
             filename="../src/as-agreement.c"
             line="210">Gets the first section in the agreement.</doc>
        <source-position filename="../src/as-agreement.h" line="83"/>
        <return-value transfer-ownership="none" nullable="1">
          <doc xml:space="preserve"
               filename="../src/as-agreement.c"
               line="216">agreement section, or %NULL</doc>
          <type name="AgreementSection" c:type="AsAgreementSection*"/>
        </return-value>
        <parameters>
          <instance-parameter name="agreement" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-agreement.c"
                 line="212">a #AsAgreement instance.</doc>
            <type name="Agreement" c:type="AsAgreement*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_sections"
              c:identifier="as_agreement_get_sections"
              version="0.12.1">
        <doc xml:space="preserve"
             filename="../src/as-agreement.c"
             line="193">Gets all the sections in the agreement.</doc>
        <source-position filename="../src/as-agreement.h" line="84"/>
        <return-value transfer-ownership="container">
          <doc xml:space="preserve"
               filename="../src/as-agreement.c"
               line="199">array</doc>
          <array name="GLib.PtrArray" c:type="GPtrArray*">
            <type name="AgreementSection"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="agreement" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-agreement.c"
                 line="195">a #AsAgreement instance.</doc>
            <type name="Agreement" c:type="AsAgreement*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_version_id"
              c:identifier="as_agreement_get_version_id"
              version="0.12.1">
        <doc xml:space="preserve"
             filename="../src/as-agreement.c"
             line="158">Gets the agreement version_id.</doc>
        <source-position filename="../src/as-agreement.h" line="79"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-agreement.c"
               line="164">a string, e.g. "1.4a", or NULL</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="agreement" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-agreement.c"
                 line="160">a #AsAgreement instance.</doc>
            <type name="Agreement" c:type="AsAgreement*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="set_kind"
              c:identifier="as_agreement_set_kind"
              version="0.12.1">
        <doc xml:space="preserve"
             filename="../src/as-agreement.c"
             line="142">Sets the agreement kind.</doc>
        <source-position filename="../src/as-agreement.h" line="76"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="agreement" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-agreement.c"
                 line="144">a #AsAgreement instance.</doc>
            <type name="Agreement" c:type="AsAgreement*"/>
          </instance-parameter>
          <parameter name="kind" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-agreement.c"
                 line="145">the agreement kind, e.g. %AS_AGREEMENT_KIND_EULA</doc>
            <type name="AgreementKind" c:type="AsAgreementKind"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_version_id"
              c:identifier="as_agreement_set_version_id"
              version="0.12.1">
        <doc xml:space="preserve"
             filename="../src/as-agreement.c"
             line="175">Sets the agreement version identifier.</doc>
        <source-position filename="../src/as-agreement.h" line="80"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="agreement" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-agreement.c"
                 line="177">a #AsAgreement instance.</doc>
            <type name="Agreement" c:type="AsAgreement*"/>
          </instance-parameter>
          <parameter name="version_id" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-agreement.c"
                 line="178">the agreement version ID, e.g. "1.4a"</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <field name="parent_instance">
        <type name="GObject.Object" c:type="GObject"/>
      </field>
    </class>
    <record name="AgreementClass"
            c:type="AsAgreementClass"
            glib:is-gtype-struct-for="Agreement">
      <source-position filename="../src/as-agreement.h" line="50"/>
      <field name="parent_class">
        <type name="GObject.ObjectClass" c:type="GObjectClass"/>
      </field>
      <field name="_as_reserved1" introspectable="0">
        <callback name="_as_reserved1">
          <source-position filename="../src/as-agreement.h" line="42"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_as_reserved2" introspectable="0">
        <callback name="_as_reserved2">
          <source-position filename="../src/as-agreement.h" line="43"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_as_reserved3" introspectable="0">
        <callback name="_as_reserved3">
          <source-position filename="../src/as-agreement.h" line="44"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_as_reserved4" introspectable="0">
        <callback name="_as_reserved4">
          <source-position filename="../src/as-agreement.h" line="45"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_as_reserved5" introspectable="0">
        <callback name="_as_reserved5">
          <source-position filename="../src/as-agreement.h" line="46"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_as_reserved6" introspectable="0">
        <callback name="_as_reserved6">
          <source-position filename="../src/as-agreement.h" line="47"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_as_reserved7" introspectable="0">
        <callback name="_as_reserved7">
          <source-position filename="../src/as-agreement.h" line="48"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_as_reserved8" introspectable="0">
        <callback name="_as_reserved8">
          <source-position filename="../src/as-agreement.h" line="49"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
    </record>
    <enumeration name="AgreementKind" c:type="AsAgreementKind">
      <doc xml:space="preserve"
           filename="../src/as-agreement.h"
           line="52">The kind of the agreement.</doc>
      <source-position filename="../src/as-agreement.h" line="68"/>
      <member name="unknown"
              value="0"
              c:identifier="AS_AGREEMENT_KIND_UNKNOWN">
        <doc xml:space="preserve"
             filename="../src/as-agreement.h"
             line="54">Unknown value</doc>
      </member>
      <member name="generic"
              value="1"
              c:identifier="AS_AGREEMENT_KIND_GENERIC">
        <doc xml:space="preserve"
             filename="../src/as-agreement.h"
             line="55">A generic agreement without a specific type</doc>
      </member>
      <member name="eula" value="2" c:identifier="AS_AGREEMENT_KIND_EULA">
        <doc xml:space="preserve"
             filename="../src/as-agreement.h"
             line="56">An End User License Agreement</doc>
      </member>
      <member name="privacy"
              value="3"
              c:identifier="AS_AGREEMENT_KIND_PRIVACY">
        <doc xml:space="preserve"
             filename="../src/as-agreement.h"
             line="57">A privacy agreement, typically a GDPR statement</doc>
      </member>
    </enumeration>
    <class name="AgreementSection"
           c:symbol-prefix="agreement_section"
           c:type="AsAgreementSection"
           parent="GObject.Object"
           glib:type-name="AsAgreementSection"
           glib:get-type="as_agreement_section_get_type"
           glib:type-struct="AgreementSectionClass">
      <source-position filename="../src/as-agreement-section.h" line="48"/>
      <constructor name="new"
                   c:identifier="as_agreement_section_new"
                   version="0.12.1">
        <doc xml:space="preserve"
             filename="../src/as-agreement-section.c"
             line="422">Creates a new #AsAgreementSection.</doc>
        <source-position filename="../src/as-agreement-section.h" line="50"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="../src/as-agreement-section.c"
               line="427">a #AsAgreementSection</doc>
          <type name="AgreementSection" c:type="AsAgreementSection*"/>
        </return-value>
      </constructor>
      <method name="get_active_locale"
              c:identifier="as_agreement_section_get_active_locale">
        <doc xml:space="preserve"
             filename="../src/as-agreement-section.c"
             line="236">Get the current active locale, which
is used to get localized messages.</doc>
        <source-position filename="../src/as-agreement-section.h" line="66"/>
        <return-value transfer-ownership="none">
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="agreement_section"
                              transfer-ownership="none">
            <type name="AgreementSection" c:type="AsAgreementSection*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_description"
              c:identifier="as_agreement_section_get_description"
              version="0.12.1">
        <doc xml:space="preserve"
             filename="../src/as-agreement-section.c"
             line="160">Gets the agreement section desc.</doc>
        <source-position filename="../src/as-agreement-section.h" line="61"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-agreement-section.c"
               line="166">a string, e.g. "GDPR", or NULL</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="agreement_section"
                              transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-agreement-section.c"
                 line="162">a #AsAgreementSection instance.</doc>
            <type name="AgreementSection" c:type="AsAgreementSection*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_kind"
              c:identifier="as_agreement_section_get_kind"
              version="0.12.1">
        <doc xml:space="preserve"
             filename="../src/as-agreement-section.c"
             line="84">Gets the agreement section kind.</doc>
        <source-position filename="../src/as-agreement-section.h" line="52"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-agreement-section.c"
               line="90">a string, e.g. "GDPR", or NULL</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="agreement_section"
                              transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-agreement-section.c"
                 line="86">a #AsAgreementSection instance.</doc>
            <type name="AgreementSection" c:type="AsAgreementSection*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_name"
              c:identifier="as_agreement_section_get_name"
              version="0.12.1">
        <doc xml:space="preserve"
             filename="../src/as-agreement-section.c"
             line="119">Gets the agreement section name.</doc>
        <source-position filename="../src/as-agreement-section.h" line="56"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-agreement-section.c"
               line="125">a string, e.g. "GDPR", or NULL</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="agreement_section"
                              transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-agreement-section.c"
                 line="121">a #AsAgreementSection instance.</doc>
            <type name="AgreementSection" c:type="AsAgreementSection*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="set_active_locale"
              c:identifier="as_agreement_section_set_active_locale">
        <doc xml:space="preserve"
             filename="../src/as-agreement-section.c"
             line="261">Set the current active locale, which
is used to get localized messages.</doc>
        <source-position filename="../src/as-agreement-section.h" line="67"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="agreement_section"
                              transfer-ownership="none">
            <type name="AgreementSection" c:type="AsAgreementSection*"/>
          </instance-parameter>
          <parameter name="locale" transfer-ownership="none">
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_description"
              c:identifier="as_agreement_section_set_description"
              version="0.12.1">
        <doc xml:space="preserve"
             filename="../src/as-agreement-section.c"
             line="180">Sets the agreement section desc.</doc>
        <source-position filename="../src/as-agreement-section.h" line="62"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="agreement_section"
                              transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-agreement-section.c"
                 line="182">a #AsAgreementSection instance.</doc>
            <type name="AgreementSection" c:type="AsAgreementSection*"/>
          </instance-parameter>
          <parameter name="desc" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-agreement-section.c"
                 line="184">the agreement description, e.g. "GDPR"</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="locale"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="../src/as-agreement-section.c"
                 line="183">the locale. e.g. "en_GB"</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_kind"
              c:identifier="as_agreement_section_set_kind"
              version="0.12.1">
        <doc xml:space="preserve"
             filename="../src/as-agreement-section.c"
             line="101">Sets the agreement section kind.</doc>
        <source-position filename="../src/as-agreement-section.h" line="53"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="agreement_section"
                              transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-agreement-section.c"
                 line="103">a #AsAgreementSection instance.</doc>
            <type name="AgreementSection" c:type="AsAgreementSection*"/>
          </instance-parameter>
          <parameter name="kind" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-agreement-section.c"
                 line="104">the agreement kind, e.g. "GDPR"</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_name"
              c:identifier="as_agreement_section_set_name"
              version="0.12.1">
        <doc xml:space="preserve"
             filename="../src/as-agreement-section.c"
             line="139">Sets the agreement section name.</doc>
        <source-position filename="../src/as-agreement-section.h" line="57"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="agreement_section"
                              transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-agreement-section.c"
                 line="141">a #AsAgreementSection instance.</doc>
            <type name="AgreementSection" c:type="AsAgreementSection*"/>
          </instance-parameter>
          <parameter name="name" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-agreement-section.c"
                 line="142">the agreement name, e.g. "GDPR"</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="locale"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="../src/as-agreement-section.c"
                 line="143">the locale. e.g. "en_GB"</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <field name="parent_instance">
        <type name="GObject.Object" c:type="GObject"/>
      </field>
    </class>
    <record name="AgreementSectionClass"
            c:type="AsAgreementSectionClass"
            glib:is-gtype-struct-for="AgreementSection">
      <source-position filename="../src/as-agreement-section.h" line="48"/>
      <field name="parent_class">
        <type name="GObject.ObjectClass" c:type="GObjectClass"/>
      </field>
      <field name="_as_reserved1" introspectable="0">
        <callback name="_as_reserved1">
          <source-position filename="../src/as-agreement-section.h" line="40"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_as_reserved2" introspectable="0">
        <callback name="_as_reserved2">
          <source-position filename="../src/as-agreement-section.h" line="41"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_as_reserved3" introspectable="0">
        <callback name="_as_reserved3">
          <source-position filename="../src/as-agreement-section.h" line="42"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_as_reserved4" introspectable="0">
        <callback name="_as_reserved4">
          <source-position filename="../src/as-agreement-section.h" line="43"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_as_reserved5" introspectable="0">
        <callback name="_as_reserved5">
          <source-position filename="../src/as-agreement-section.h" line="44"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_as_reserved6" introspectable="0">
        <callback name="_as_reserved6">
          <source-position filename="../src/as-agreement-section.h" line="45"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_as_reserved7" introspectable="0">
        <callback name="_as_reserved7">
          <source-position filename="../src/as-agreement-section.h" line="46"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_as_reserved8" introspectable="0">
        <callback name="_as_reserved8">
          <source-position filename="../src/as-agreement-section.h" line="47"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
    </record>
    <class name="Artifact"
           c:symbol-prefix="artifact"
           c:type="AsArtifact"
           parent="GObject.Object"
           glib:type-name="AsArtifact"
           glib:get-type="as_artifact_get_type"
           glib:type-struct="ArtifactClass">
      <source-position filename="../src/as-artifact.h" line="47"/>
      <constructor name="new" c:identifier="as_artifact_new">
        <doc xml:space="preserve"
             filename="../src/as-artifact.c"
             line="521">Creates a new #AsArtifact.</doc>
        <source-position filename="../src/as-artifact.h" line="89"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="../src/as-artifact.c"
               line="526">a #AsArtifact</doc>
          <type name="Artifact" c:type="AsArtifact*"/>
        </return-value>
      </constructor>
      <function name="kind_from_string"
                c:identifier="as_artifact_kind_from_string">
        <doc xml:space="preserve"
             filename="../src/as-artifact.c"
             line="85">Converts the text representation to an enumerated value.</doc>
        <source-position filename="../src/as-artifact.h" line="86"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="../src/as-artifact.c"
               line="91">a #AsArtifactKind, or %AS_ARTIFACT_KIND_UNKNOWN for unknown.</doc>
          <type name="ArtifactKind" c:type="AsArtifactKind"/>
        </return-value>
        <parameters>
          <parameter name="kind" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-artifact.c"
                 line="87">the string.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </function>
      <function name="kind_to_string"
                c:identifier="as_artifact_kind_to_string">
        <doc xml:space="preserve"
             filename="../src/as-artifact.c"
             line="104">Converts the enumerated value to an text representation.</doc>
        <source-position filename="../src/as-artifact.h" line="87"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-artifact.c"
               line="110">string version of @kind</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <parameter name="kind" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-artifact.c"
                 line="106">the #AsArtifactKind.</doc>
            <type name="ArtifactKind" c:type="AsArtifactKind"/>
          </parameter>
        </parameters>
      </function>
      <method name="add_checksum" c:identifier="as_artifact_add_checksum">
        <doc xml:space="preserve"
             filename="../src/as-artifact.c"
             line="248">Add a checksum for the file associated with this artifact.</doc>
        <source-position filename="../src/as-artifact.h" line="102"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="artifact" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-artifact.c"
                 line="250">An instance of #AsArtifact.</doc>
            <type name="Artifact" c:type="AsArtifact*"/>
          </instance-parameter>
          <parameter name="cs" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-artifact.c"
                 line="251">The #AsChecksum.</doc>
            <type name="Checksum" c:type="AsChecksum*"/>
          </parameter>
        </parameters>
      </method>
      <method name="add_location" c:identifier="as_artifact_add_location">
        <doc xml:space="preserve"
             filename="../src/as-artifact.c"
             line="199">Adds a artifact location.</doc>
        <source-position filename="../src/as-artifact.h" line="96"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="artifact" transfer-ownership="none">
            <type name="Artifact" c:type="AsArtifact*"/>
          </instance-parameter>
          <parameter name="location" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-artifact.c"
                 line="201">An URL of the download location</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_bundle_kind"
              c:identifier="as_artifact_get_bundle_kind">
        <doc xml:space="preserve"
             filename="../src/as-artifact.c"
             line="327">Gets the bundle kind of this artifact.</doc>
        <source-position filename="../src/as-artifact.h" line="115"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-artifact.c"
               line="333">the #AsBundleKind</doc>
          <type name="BundleKind" c:type="AsBundleKind"/>
        </return-value>
        <parameters>
          <instance-parameter name="artifact" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-artifact.c"
                 line="329">an #AsArtifact instance.</doc>
            <type name="Artifact" c:type="AsArtifact*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_checksum" c:identifier="as_artifact_get_checksum">
        <doc xml:space="preserve"
             filename="../src/as-artifact.c"
             line="226">Gets the artifact checksum</doc>
        <source-position filename="../src/as-artifact.h" line="100"/>
        <return-value transfer-ownership="none" nullable="1">
          <doc xml:space="preserve"
               filename="../src/as-artifact.c"
               line="232">an #AsChecksum, or %NULL for not set or invalid</doc>
          <type name="Checksum" c:type="AsChecksum*"/>
        </return-value>
        <parameters>
          <instance-parameter name="artifact" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-artifact.c"
                 line="228">a #AsArtifact instance.</doc>
            <type name="Artifact" c:type="AsArtifact*"/>
          </instance-parameter>
          <parameter name="kind" transfer-ownership="none">
            <type name="ChecksumKind" c:type="AsChecksumKind"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_checksums" c:identifier="as_artifact_get_checksums">
        <doc xml:space="preserve"
             filename="../src/as-artifact.c"
             line="212">Get a list of all checksums we have for this artifact.</doc>
        <source-position filename="../src/as-artifact.h" line="99"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-artifact.c"
               line="217">an array of #AsChecksum objects.</doc>
          <array name="GLib.PtrArray" c:type="GPtrArray*">
            <type name="Checksum"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="artifact" transfer-ownership="none">
            <type name="Artifact" c:type="AsArtifact*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_kind" c:identifier="as_artifact_get_kind">
        <doc xml:space="preserve"
             filename="../src/as-artifact.c"
             line="169">Gets the artifact kind.</doc>
        <source-position filename="../src/as-artifact.h" line="91"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-artifact.c"
               line="175">the #AsArtifactKind</doc>
          <type name="ArtifactKind" c:type="AsArtifactKind"/>
        </return-value>
        <parameters>
          <instance-parameter name="artifact" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-artifact.c"
                 line="171">a #AsArtifact instance.</doc>
            <type name="Artifact" c:type="AsArtifact*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_locations" c:identifier="as_artifact_get_locations">
        <doc xml:space="preserve"
             filename="../src/as-artifact.c"
             line="185">Gets the artifact locations, typically URLs.</doc>
        <source-position filename="../src/as-artifact.h" line="95"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-artifact.c"
               line="190">list of locations</doc>
          <array name="GLib.PtrArray" c:type="GPtrArray*">
            <type name="utf8"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="artifact" transfer-ownership="none">
            <type name="Artifact" c:type="AsArtifact*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_platform" c:identifier="as_artifact_get_platform">
        <doc xml:space="preserve"
             filename="../src/as-artifact.c"
             line="297">Gets the artifact platform string (e.g. a triplet like "x86_64-linux-gnu").</doc>
        <source-position filename="../src/as-artifact.h" line="111"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-artifact.c"
               line="303">The platform triplet or identifier string.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="artifact" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-artifact.c"
                 line="299">a #AsArtifact instance.</doc>
            <type name="Artifact" c:type="AsArtifact*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_size" c:identifier="as_artifact_get_size">
        <doc xml:space="preserve"
             filename="../src/as-artifact.c"
             line="262">Gets the artifact size.</doc>
        <source-position filename="../src/as-artifact.h" line="105"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-artifact.c"
               line="269">The size of the given kind of this artifact.</doc>
          <type name="guint64" c:type="guint64"/>
        </return-value>
        <parameters>
          <instance-parameter name="artifact" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-artifact.c"
                 line="264">a #AsArtifact instance</doc>
            <type name="Artifact" c:type="AsArtifact*"/>
          </instance-parameter>
          <parameter name="kind" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-artifact.c"
                 line="265">a #AsSizeKind</doc>
            <type name="SizeKind" c:type="AsSizeKind"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_bundle_kind"
              c:identifier="as_artifact_set_bundle_kind">
        <doc xml:space="preserve"
             filename="../src/as-artifact.c"
             line="342">Sets the bundle kind for this release artifact.</doc>
        <source-position filename="../src/as-artifact.h" line="116"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="artifact" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-artifact.c"
                 line="344">an #AsArtifact instance.</doc>
            <type name="Artifact" c:type="AsArtifact*"/>
          </instance-parameter>
          <parameter name="kind" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-artifact.c"
                 line="345">the #AsBundleKind, e.g. %AS_BUNDLE_KIND_TARBALL.</doc>
            <type name="BundleKind" c:type="AsBundleKind"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_kind" c:identifier="as_artifact_set_kind">
        <doc xml:space="preserve"
             filename="../src/as-artifact.c"
             line="154">Sets the artifact kind.</doc>
        <source-position filename="../src/as-artifact.h" line="92"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="artifact" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-artifact.c"
                 line="156">a #AsArtifact instance.</doc>
            <type name="Artifact" c:type="AsArtifact*"/>
          </instance-parameter>
          <parameter name="kind" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-artifact.c"
                 line="157">the #AsArtifactKind, e.g. %AS_ARTIFACT_KIND_SOURCE.</doc>
            <type name="ArtifactKind" c:type="AsArtifactKind"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_platform" c:identifier="as_artifact_set_platform">
        <doc xml:space="preserve"
             filename="../src/as-artifact.c"
             line="312">Sets the artifact platform triplet or identifier string.</doc>
        <source-position filename="../src/as-artifact.h" line="112"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="artifact" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-artifact.c"
                 line="314">a #AsArtifact instance.</doc>
            <type name="Artifact" c:type="AsArtifact*"/>
          </instance-parameter>
          <parameter name="platform" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-artifact.c"
                 line="315">the platform triplet.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_size" c:identifier="as_artifact_set_size">
        <doc xml:space="preserve"
             filename="../src/as-artifact.c"
             line="279">Sets the artifact size for the given kind.</doc>
        <source-position filename="../src/as-artifact.h" line="107"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="artifact" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-artifact.c"
                 line="281">a #AsArtifact instance</doc>
            <type name="Artifact" c:type="AsArtifact*"/>
          </instance-parameter>
          <parameter name="size" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-artifact.c"
                 line="282">a size in bytes, or 0 for unknown</doc>
            <type name="guint64" c:type="guint64"/>
          </parameter>
          <parameter name="kind" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-artifact.c"
                 line="283">a #AsSizeKind</doc>
            <type name="SizeKind" c:type="AsSizeKind"/>
          </parameter>
        </parameters>
      </method>
      <field name="parent_instance">
        <type name="GObject.Object" c:type="GObject"/>
      </field>
    </class>
    <record name="ArtifactClass"
            c:type="AsArtifactClass"
            glib:is-gtype-struct-for="Artifact">
      <source-position filename="../src/as-artifact.h" line="47"/>
      <field name="parent_class">
        <type name="GObject.ObjectClass" c:type="GObjectClass"/>
      </field>
      <field name="_as_reserved1" introspectable="0">
        <callback name="_as_reserved1">
          <source-position filename="../src/as-artifact.h" line="41"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_as_reserved2" introspectable="0">
        <callback name="_as_reserved2">
          <source-position filename="../src/as-artifact.h" line="42"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_as_reserved3" introspectable="0">
        <callback name="_as_reserved3">
          <source-position filename="../src/as-artifact.h" line="43"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_as_reserved4" introspectable="0">
        <callback name="_as_reserved4">
          <source-position filename="../src/as-artifact.h" line="44"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_as_reserved5" introspectable="0">
        <callback name="_as_reserved5">
          <source-position filename="../src/as-artifact.h" line="45"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_as_reserved6" introspectable="0">
        <callback name="_as_reserved6">
          <source-position filename="../src/as-artifact.h" line="46"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
    </record>
    <enumeration name="ArtifactKind" c:type="AsArtifactKind">
      <doc xml:space="preserve"
           filename="../src/as-artifact.h"
           line="70">The artifact type.</doc>
      <source-position filename="../src/as-artifact.h" line="84"/>
      <member name="unknown" value="0" c:identifier="AS_ARTIFACT_KIND_UNKNOWN">
        <doc xml:space="preserve"
             filename="../src/as-artifact.h"
             line="72">Type invalid or not known</doc>
      </member>
      <member name="source" value="1" c:identifier="AS_ARTIFACT_KIND_SOURCE">
        <doc xml:space="preserve"
             filename="../src/as-artifact.h"
             line="73">The artifact describes software sources.</doc>
      </member>
      <member name="binary" value="2" c:identifier="AS_ARTIFACT_KIND_BINARY">
        <doc xml:space="preserve"
             filename="../src/as-artifact.h"
             line="74">The artifact describes a binary distribution of the component.</doc>
      </member>
    </enumeration>
    <class name="Bundle"
           c:symbol-prefix="bundle"
           c:type="AsBundle"
           parent="GObject.Object"
           glib:type-name="AsBundle"
           glib:get-type="as_bundle_get_type"
           glib:type-struct="BundleClass">
      <source-position filename="../src/as-bundle.h" line="45"/>
      <constructor name="new" c:identifier="as_bundle_new" version="0.10">
        <doc xml:space="preserve"
             filename="../src/as-bundle.c"
             line="305">Creates a new #AsBundle.</doc>
        <source-position filename="../src/as-bundle.h" line="74"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="../src/as-bundle.c"
               line="310">a #AsBundle</doc>
          <type name="Bundle" c:type="AsBundle*"/>
        </return-value>
      </constructor>
      <function name="kind_from_string"
                c:identifier="as_bundle_kind_from_string">
        <doc xml:space="preserve"
             filename="../src/as-bundle.c"
             line="73">Converts the text representation to an enumerated value.</doc>
        <source-position filename="../src/as-bundle.h" line="72"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-bundle.c"
               line="79">a #AsBundleKind or %AS_BUNDLE_KIND_UNKNOWN for unknown</doc>
          <type name="BundleKind" c:type="AsBundleKind"/>
        </return-value>
        <parameters>
          <parameter name="bundle_str" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-bundle.c"
                 line="75">the string.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </function>
      <function name="kind_to_string"
                c:identifier="as_bundle_kind_to_string"
                version="0.8.0">
        <doc xml:space="preserve"
             filename="../src/as-bundle.c"
             line="45">Converts the enumerated value to an text representation.</doc>
        <source-position filename="../src/as-bundle.h" line="71"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-bundle.c"
               line="51">string version of @kind</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <parameter name="kind" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-bundle.c"
                 line="47">the %AsBundleKind.</doc>
            <type name="BundleKind" c:type="AsBundleKind"/>
          </parameter>
        </parameters>
      </function>
      <method name="get_id" c:identifier="as_bundle_get_id" version="0.10">
        <doc xml:space="preserve"
             filename="../src/as-bundle.c"
             line="122">Gets the ID for this bundle.</doc>
        <source-position filename="../src/as-bundle.h" line="80"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-bundle.c"
               line="128">ID, e.g. "foobar-1.0.2"</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="bundle" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-bundle.c"
                 line="124">an #AsBundle instance.</doc>
            <type name="Bundle" c:type="AsBundle*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_kind" c:identifier="as_bundle_get_kind" version="0.10">
        <doc xml:space="preserve"
             filename="../src/as-bundle.c"
             line="156">Gets the bundle kind.</doc>
        <source-position filename="../src/as-bundle.h" line="76"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-bundle.c"
               line="162">the #AsBundleKind</doc>
          <type name="BundleKind" c:type="AsBundleKind"/>
        </return-value>
        <parameters>
          <instance-parameter name="bundle" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-bundle.c"
                 line="158">an #AsBundle instance.</doc>
            <type name="Bundle" c:type="AsBundle*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="set_id" c:identifier="as_bundle_set_id" version="0.10">
        <doc xml:space="preserve"
             filename="../src/as-bundle.c"
             line="139">Sets the ID for this bundle.</doc>
        <source-position filename="../src/as-bundle.h" line="81"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="bundle" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-bundle.c"
                 line="141">an #AsBundle instance.</doc>
            <type name="Bundle" c:type="AsBundle*"/>
          </instance-parameter>
          <parameter name="id" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-bundle.c"
                 line="142">the URL.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_kind" c:identifier="as_bundle_set_kind" version="0.10">
        <doc xml:space="preserve"
             filename="../src/as-bundle.c"
             line="173">Sets the bundle kind.</doc>
        <source-position filename="../src/as-bundle.h" line="77"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="bundle" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-bundle.c"
                 line="175">an #AsBundle instance.</doc>
            <type name="Bundle" c:type="AsBundle*"/>
          </instance-parameter>
          <parameter name="kind" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-bundle.c"
                 line="176">the #AsBundleKind, e.g. %AS_BUNDLE_KIND_LIMBA.</doc>
            <type name="BundleKind" c:type="AsBundleKind"/>
          </parameter>
        </parameters>
      </method>
      <field name="parent_instance">
        <type name="GObject.Object" c:type="GObject"/>
      </field>
    </class>
    <record name="BundleClass"
            c:type="AsBundleClass"
            glib:is-gtype-struct-for="Bundle">
      <source-position filename="../src/as-bundle.h" line="45"/>
      <field name="parent_class">
        <type name="GObject.ObjectClass" c:type="GObjectClass"/>
      </field>
      <field name="_as_reserved1" introspectable="0">
        <callback name="_as_reserved1">
          <source-position filename="../src/as-bundle.h" line="39"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_as_reserved2" introspectable="0">
        <callback name="_as_reserved2">
          <source-position filename="../src/as-bundle.h" line="40"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_as_reserved3" introspectable="0">
        <callback name="_as_reserved3">
          <source-position filename="../src/as-bundle.h" line="41"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_as_reserved4" introspectable="0">
        <callback name="_as_reserved4">
          <source-position filename="../src/as-bundle.h" line="42"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_as_reserved5" introspectable="0">
        <callback name="_as_reserved5">
          <source-position filename="../src/as-bundle.h" line="43"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_as_reserved6" introspectable="0">
        <callback name="_as_reserved6">
          <source-position filename="../src/as-bundle.h" line="44"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
    </record>
    <enumeration name="BundleKind" c:type="AsBundleKind">
      <doc xml:space="preserve"
           filename="../src/as-bundle.h"
           line="47">The bundle type.</doc>
      <source-position filename="../src/as-bundle.h" line="69"/>
      <member name="unknown" value="0" c:identifier="AS_BUNDLE_KIND_UNKNOWN">
        <doc xml:space="preserve"
             filename="../src/as-bundle.h"
             line="49">Type invalid or not known</doc>
      </member>
      <member name="package" value="1" c:identifier="AS_BUNDLE_KIND_PACKAGE">
        <doc xml:space="preserve"
             filename="../src/as-bundle.h"
             line="50">A native package (currently not used)</doc>
      </member>
      <member name="limba" value="2" c:identifier="AS_BUNDLE_KIND_LIMBA">
        <doc xml:space="preserve"
             filename="../src/as-bundle.h"
             line="51">A Limba bundle</doc>
      </member>
      <member name="flatpak" value="3" c:identifier="AS_BUNDLE_KIND_FLATPAK">
        <doc xml:space="preserve"
             filename="../src/as-bundle.h"
             line="52">A Flatpak bundle</doc>
      </member>
      <member name="appimage" value="4" c:identifier="AS_BUNDLE_KIND_APPIMAGE">
        <doc xml:space="preserve"
             filename="../src/as-bundle.h"
             line="53">An AppImageKit bundle</doc>
      </member>
      <member name="snap" value="5" c:identifier="AS_BUNDLE_KIND_SNAP">
        <doc xml:space="preserve"
             filename="../src/as-bundle.h"
             line="54">A Snap/Snappy bundle</doc>
      </member>
      <member name="tarball" value="6" c:identifier="AS_BUNDLE_KIND_TARBALL">
        <doc xml:space="preserve"
             filename="../src/as-bundle.h"
             line="55">A (maybe compressed) tarball.</doc>
      </member>
    </enumeration>
    <bitfield name="CacheFlags" c:type="AsCacheFlags">
      <doc xml:space="preserve"
           filename="../src/as-pool.h"
           line="49">Flags on how caching should be used.</doc>
      <source-position filename="../src/as-pool.h" line="63"/>
      <member name="none" value="0" c:identifier="AS_CACHE_FLAG_NONE">
        <doc xml:space="preserve"
             filename="../src/as-pool.h"
             line="51">No flags.</doc>
      </member>
      <member name="use_user" value="1" c:identifier="AS_CACHE_FLAG_USE_USER">
        <doc xml:space="preserve"
             filename="../src/as-pool.h"
             line="52">Create an user-specific metadata cache.</doc>
      </member>
      <member name="use_system"
              value="2"
              c:identifier="AS_CACHE_FLAG_USE_SYSTEM">
        <doc xml:space="preserve"
             filename="../src/as-pool.h"
             line="53">Use and - if possible - update the global metadata cache.</doc>
      </member>
      <member name="no_clear" value="4" c:identifier="AS_CACHE_FLAG_NO_CLEAR">
        <doc xml:space="preserve"
             filename="../src/as-pool.h"
             line="54">Don't clear the cache when opening it.</doc>
      </member>
    </bitfield>
    <class name="Category"
           c:symbol-prefix="category"
           c:type="AsCategory"
           parent="GObject.Object"
           glib:type-name="AsCategory"
           glib:get-type="as_category_get_type"
           glib:type-struct="CategoryClass">
      <source-position filename="../src/as-category.h" line="45"/>
      <constructor name="new" c:identifier="as_category_new">
        <doc xml:space="preserve"
             filename="../src/as-category.c"
             line="732">Creates a new #AsCategory.</doc>
        <source-position filename="../src/as-category.h" line="47"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="../src/as-category.c"
               line="737">a new #AsCategory</doc>
          <type name="Category" c:type="AsCategory*"/>
        </return-value>
      </constructor>
      <method name="add_child" c:identifier="as_category_add_child">
        <doc xml:space="preserve"
             filename="../src/as-category.c"
             line="462">Add a subcategory to this category.</doc>
        <source-position filename="../src/as-category.h" line="67"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="category" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-category.c"
                 line="464">An instance of #AsCategory.</doc>
            <type name="Category" c:type="AsCategory*"/>
          </instance-parameter>
          <parameter name="subcat" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-category.c"
                 line="465">A subcategory to add.</doc>
            <type name="Category" c:type="AsCategory*"/>
          </parameter>
        </parameters>
      </method>
      <method name="add_component" c:identifier="as_category_add_component">
        <doc xml:space="preserve"
             filename="../src/as-category.c"
             line="607">Add a component to this category.</doc>
        <source-position filename="../src/as-category.h" line="77"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="category" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-category.c"
                 line="609">An instance of #AsCategory.</doc>
            <type name="Category" c:type="AsCategory*"/>
          </instance-parameter>
          <parameter name="cpt" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-category.c"
                 line="610">The #AsComponent to add.</doc>
            <type name="Component" c:type="AsComponent*"/>
          </parameter>
        </parameters>
      </method>
      <method name="add_desktop_group"
              c:identifier="as_category_add_desktop_group">
        <doc xml:space="preserve"
             filename="../src/as-category.c"
             line="577">Add a desktop-file category to this #AsCategory.</doc>
        <source-position filename="../src/as-category.h" line="73"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="category" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-category.c"
                 line="579">An instance of #AsCategory.</doc>
            <type name="Category" c:type="AsCategory*"/>
          </instance-parameter>
          <parameter name="group_name" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-category.c"
                 line="580">A subcategory to add.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_children" c:identifier="as_category_get_children">
        <source-position filename="../src/as-category.h" line="65"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-category.c"
               line="453">A list of subcategories.</doc>
          <array name="GLib.PtrArray" c:type="GPtrArray*">
            <type name="Category"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="category" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-category.c"
                 line="451">An instance of #AsCategory.</doc>
            <type name="Category" c:type="AsCategory*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_components" c:identifier="as_category_get_components">
        <doc xml:space="preserve"
             filename="../src/as-category.c"
             line="592">Get list of components which have been sorted into this category.</doc>
        <source-position filename="../src/as-category.h" line="76"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-category.c"
               line="598">List of #AsCategory</doc>
          <array name="GLib.PtrArray" c:type="GPtrArray*">
            <type name="Component"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="category" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-category.c"
                 line="594">An instance of #AsCategory.</doc>
            <type name="Category" c:type="AsCategory*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_desktop_groups"
              c:identifier="as_category_get_desktop_groups">
        <source-position filename="../src/as-category.h" line="72"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-category.c"
               line="568">A list of desktop-file categories.</doc>
          <array name="GLib.PtrArray" c:type="GPtrArray*">
            <type name="utf8"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="category" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-category.c"
                 line="566">An instance of #AsCategory.</doc>
            <type name="Category" c:type="AsCategory*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_icon" c:identifier="as_category_get_icon">
        <doc xml:space="preserve"
             filename="../src/as-category.c"
             line="535">Get the stock icon name for this category.</doc>
        <source-position filename="../src/as-category.h" line="61"/>
        <return-value transfer-ownership="none">
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="category" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-category.c"
                 line="537">An instance of #AsCategory.</doc>
            <type name="Category" c:type="AsCategory*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_id" c:identifier="as_category_get_id">
        <doc xml:space="preserve"
             filename="../src/as-category.c"
             line="391">Get the ID of this category.</doc>
        <source-position filename="../src/as-category.h" line="49"/>
        <return-value transfer-ownership="none">
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="category" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-category.c"
                 line="393">An instance of #AsCategory.</doc>
            <type name="Category" c:type="AsCategory*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_name" c:identifier="as_category_get_name">
        <doc xml:space="preserve"
             filename="../src/as-category.c"
             line="420">Get the name of this category.</doc>
        <source-position filename="../src/as-category.h" line="53"/>
        <return-value transfer-ownership="none">
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="category" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-category.c"
                 line="422">An instance of #AsCategory.</doc>
            <type name="Category" c:type="AsCategory*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_summary" c:identifier="as_category_get_summary">
        <doc xml:space="preserve"
             filename="../src/as-category.c"
             line="505">Get the summary (short description) of this category.</doc>
        <source-position filename="../src/as-category.h" line="57"/>
        <return-value transfer-ownership="none">
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="category" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-category.c"
                 line="507">An instance of #AsCategory.</doc>
            <type name="Category" c:type="AsCategory*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="has_children" c:identifier="as_category_has_children">
        <doc xml:space="preserve"
             filename="../src/as-category.c"
             line="490">Test for sub-categories.</doc>
        <source-position filename="../src/as-category.h" line="66"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-category.c"
               line="496">%TRUE if this category has any subcategory</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="category" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-category.c"
                 line="492">An instance of #AsCategory.</doc>
            <type name="Category" c:type="AsCategory*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="has_component" c:identifier="as_category_has_component">
        <doc xml:space="preserve"
             filename="../src/as-category.c"
             line="622">Check if the exact #AsComponent @cpt is a member of this
category already.</doc>
        <source-position filename="../src/as-category.h" line="79"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-category.c"
               line="630">%TRUE if the component is present.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="category" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-category.c"
                 line="624">An instance of #AsCategory.</doc>
            <type name="Category" c:type="AsCategory*"/>
          </instance-parameter>
          <parameter name="cpt" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-category.c"
                 line="625">The #AsComponent to look for.</doc>
            <type name="Component" c:type="AsComponent*"/>
          </parameter>
        </parameters>
      </method>
      <method name="remove_child" c:identifier="as_category_remove_child">
        <doc xml:space="preserve"
             filename="../src/as-category.c"
             line="476">Drop a subcategory from this #AsCategory.</doc>
        <source-position filename="../src/as-category.h" line="69"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="category" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-category.c"
                 line="478">An instance of #AsCategory.</doc>
            <type name="Category" c:type="AsCategory*"/>
          </instance-parameter>
          <parameter name="subcat" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-category.c"
                 line="479">A subcategory to remove.</doc>
            <type name="Category" c:type="AsCategory*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_icon" c:identifier="as_category_set_icon">
        <doc xml:space="preserve"
             filename="../src/as-category.c"
             line="548">Set the stock icon name for this category.</doc>
        <source-position filename="../src/as-category.h" line="62"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="category" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-category.c"
                 line="550">An instance of #AsCategory.</doc>
            <type name="Category" c:type="AsCategory*"/>
          </instance-parameter>
          <parameter name="value" transfer-ownership="none">
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_id" c:identifier="as_category_set_id">
        <doc xml:space="preserve"
             filename="../src/as-category.c"
             line="404">Set the ID of this category.</doc>
        <source-position filename="../src/as-category.h" line="50"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="category" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-category.c"
                 line="406">An instance of #AsCategory.</doc>
            <type name="Category" c:type="AsCategory*"/>
          </instance-parameter>
          <parameter name="id" transfer-ownership="none">
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_name" c:identifier="as_category_set_name">
        <doc xml:space="preserve"
             filename="../src/as-category.c"
             line="433">Set the name of this category.</doc>
        <source-position filename="../src/as-category.h" line="54"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="category" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-category.c"
                 line="435">An instance of #AsCategory.</doc>
            <type name="Category" c:type="AsCategory*"/>
          </instance-parameter>
          <parameter name="value" transfer-ownership="none">
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_summary" c:identifier="as_category_set_summary">
        <doc xml:space="preserve"
             filename="../src/as-category.c"
             line="518">Get the summary (short description) of this category.</doc>
        <source-position filename="../src/as-category.h" line="58"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="category" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-category.c"
                 line="520">An instance of #AsCategory.</doc>
            <type name="Category" c:type="AsCategory*"/>
          </instance-parameter>
          <parameter name="value" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-category.c"
                 line="521">A new short summary of this category.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <property name="children" transfer-ownership="none">
        <type name="gpointer" c:type="gpointer"/>
      </property>
      <property name="icon" writable="1" transfer-ownership="none">
        <type name="utf8" c:type="gchar*"/>
      </property>
      <property name="id" writable="1" transfer-ownership="none">
        <type name="utf8" c:type="gchar*"/>
      </property>
      <property name="name" writable="1" transfer-ownership="none">
        <type name="utf8" c:type="gchar*"/>
      </property>
      <property name="summary" transfer-ownership="none">
        <type name="utf8" c:type="gchar*"/>
      </property>
      <field name="parent_instance">
        <type name="GObject.Object" c:type="GObject"/>
      </field>
    </class>
    <record name="CategoryClass"
            c:type="AsCategoryClass"
            glib:is-gtype-struct-for="Category">
      <source-position filename="../src/as-category.h" line="45"/>
      <field name="parent_class">
        <type name="GObject.ObjectClass" c:type="GObjectClass"/>
      </field>
      <field name="_as_reserved1" introspectable="0">
        <callback name="_as_reserved1">
          <source-position filename="../src/as-category.h" line="41"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_as_reserved2" introspectable="0">
        <callback name="_as_reserved2">
          <source-position filename="../src/as-category.h" line="42"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_as_reserved3" introspectable="0">
        <callback name="_as_reserved3">
          <source-position filename="../src/as-category.h" line="43"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_as_reserved4" introspectable="0">
        <callback name="_as_reserved4">
          <source-position filename="../src/as-category.h" line="44"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
    </record>
    <class name="Checksum"
           c:symbol-prefix="checksum"
           c:type="AsChecksum"
           parent="GObject.Object"
           glib:type-name="AsChecksum"
           glib:get-type="as_checksum_get_type"
           glib:type-struct="ChecksumClass">
      <source-position filename="../src/as-checksum.h" line="45"/>
      <constructor name="new" c:identifier="as_checksum_new">
        <doc xml:space="preserve"
             filename="../src/as-checksum.c"
             line="262">Creates a new #AsChecksum.</doc>
        <source-position filename="../src/as-checksum.h" line="66"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="../src/as-checksum.c"
               line="267">an #AsChecksum</doc>
          <type name="Checksum" c:type="AsChecksum*"/>
        </return-value>
      </constructor>
      <function name="kind_from_string"
                c:identifier="as_checksum_kind_from_string">
        <doc xml:space="preserve"
             filename="../src/as-checksum.c"
             line="64">Converts the text representation to an enumerated value.</doc>
        <source-position filename="../src/as-checksum.h" line="64"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-checksum.c"
               line="70">a #AsChecksumKind or %AS_CHECKSUM_KIND_NONE for unknown</doc>
          <type name="ChecksumKind" c:type="AsChecksumKind"/>
        </return-value>
        <parameters>
          <parameter name="kind_str" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-checksum.c"
                 line="66">the string.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </function>
      <function name="kind_to_string"
                c:identifier="as_checksum_kind_to_string">
        <doc xml:space="preserve"
             filename="../src/as-checksum.c"
             line="44">Converts the enumerated value to an text representation.</doc>
        <source-position filename="../src/as-checksum.h" line="63"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-checksum.c"
               line="50">string version of @kind</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <parameter name="kind" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-checksum.c"
                 line="46">the %AsChecksumKind.</doc>
            <type name="ChecksumKind" c:type="AsChecksumKind"/>
          </parameter>
        </parameters>
      </function>
      <method name="get_kind" c:identifier="as_checksum_get_kind">
        <doc xml:space="preserve"
             filename="../src/as-checksum.c"
             line="109">Gets the checksum type.</doc>
        <source-position filename="../src/as-checksum.h" line="68"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-checksum.c"
               line="115">the #AsChecksumKind</doc>
          <type name="ChecksumKind" c:type="AsChecksumKind"/>
        </return-value>
        <parameters>
          <instance-parameter name="cs" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-checksum.c"
                 line="111">a #AsChecksum instance.</doc>
            <type name="Checksum" c:type="AsChecksum*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_value" c:identifier="as_checksum_get_value">
        <doc xml:space="preserve"
             filename="../src/as-checksum.c"
             line="138">Gets the checksum, usually in its hexadecimal form.</doc>
        <source-position filename="../src/as-checksum.h" line="72"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-checksum.c"
               line="144">the checksum.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="cs" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-checksum.c"
                 line="140">a #AsChecksum instance.</doc>
            <type name="Checksum" c:type="AsChecksum*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="set_kind" c:identifier="as_checksum_set_kind">
        <doc xml:space="preserve"
             filename="../src/as-checksum.c"
             line="124">Sets the checksum type.</doc>
        <source-position filename="../src/as-checksum.h" line="69"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="cs" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-checksum.c"
                 line="126">a #AsChecksum instance.</doc>
            <type name="Checksum" c:type="AsChecksum*"/>
          </instance-parameter>
          <parameter name="kind" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-checksum.c"
                 line="127">the #AsChecksumKind, e.g. %AS_CHECKSUM_KIND_SHA256.</doc>
            <type name="ChecksumKind" c:type="AsChecksumKind"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_value" c:identifier="as_checksum_set_value">
        <doc xml:space="preserve"
             filename="../src/as-checksum.c"
             line="153">Sets the checksum value filename.</doc>
        <source-position filename="../src/as-checksum.h" line="73"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="cs" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-checksum.c"
                 line="155">a #AsChecksum instance.</doc>
            <type name="Checksum" c:type="AsChecksum*"/>
          </instance-parameter>
          <parameter name="value" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-checksum.c"
                 line="156">the new value.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <field name="parent_instance">
        <type name="GObject.Object" c:type="GObject"/>
      </field>
    </class>
    <record name="ChecksumClass"
            c:type="AsChecksumClass"
            glib:is-gtype-struct-for="Checksum">
      <source-position filename="../src/as-checksum.h" line="45"/>
      <field name="parent_class">
        <type name="GObject.ObjectClass" c:type="GObjectClass"/>
      </field>
      <field name="_as_reserved1" introspectable="0">
        <callback name="_as_reserved1">
          <source-position filename="../src/as-checksum.h" line="39"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_as_reserved2" introspectable="0">
        <callback name="_as_reserved2">
          <source-position filename="../src/as-checksum.h" line="40"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_as_reserved3" introspectable="0">
        <callback name="_as_reserved3">
          <source-position filename="../src/as-checksum.h" line="41"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_as_reserved4" introspectable="0">
        <callback name="_as_reserved4">
          <source-position filename="../src/as-checksum.h" line="42"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_as_reserved5" introspectable="0">
        <callback name="_as_reserved5">
          <source-position filename="../src/as-checksum.h" line="43"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_as_reserved6" introspectable="0">
        <callback name="_as_reserved6">
          <source-position filename="../src/as-checksum.h" line="44"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
    </record>
    <enumeration name="ChecksumKind" c:type="AsChecksumKind">
      <doc xml:space="preserve"
           filename="../src/as-checksum.h"
           line="47">Checksums supported by #AsRelease</doc>
      <source-position filename="../src/as-checksum.h" line="61"/>
      <member name="none" value="0" c:identifier="AS_CHECKSUM_KIND_NONE">
        <doc xml:space="preserve"
             filename="../src/as-checksum.h"
             line="49">No checksum</doc>
      </member>
      <member name="sha1" value="1" c:identifier="AS_CHECKSUM_KIND_SHA1">
        <doc xml:space="preserve"
             filename="../src/as-checksum.h"
             line="50">SHA1</doc>
      </member>
      <member name="sha256" value="2" c:identifier="AS_CHECKSUM_KIND_SHA256">
        <doc xml:space="preserve"
             filename="../src/as-checksum.h"
             line="51">SHA256</doc>
      </member>
    </enumeration>
    <class name="Component"
           c:symbol-prefix="component"
           c:type="AsComponent"
           parent="GObject.Object"
           glib:type-name="AsComponent"
           glib:get-type="as_component_get_type"
           glib:type-struct="ComponentClass">
      <source-position filename="../src/as-component.h" line="59"/>
      <constructor name="new" c:identifier="as_component_new">
        <doc xml:space="preserve"
             filename="../src/as-component.c"
             line="5614">Creates a new #AsComponent.</doc>
        <source-position filename="../src/as-component.h" line="166"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="../src/as-component.c"
               line="5619">a new #AsComponent</doc>
          <type name="Component" c:type="AsComponent*"/>
        </return-value>
      </constructor>
      <function name="scope_from_string"
                c:identifier="as_component_scope_from_string">
        <doc xml:space="preserve"
             filename="../src/as-component.c"
             line="358">Converts the text representation to an enumerated value.</doc>
        <source-position filename="../src/as-component.h" line="149"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-component.c"
               line="364">a #AsComponentScope or %AS_COMPONENT_SCOPE_UNKNOWN for unknown</doc>
          <type name="MergeKind" c:type="AsMergeKind"/>
        </return-value>
        <parameters>
          <parameter name="scope_str" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="360">the string.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </function>
      <function name="scope_to_string"
                c:identifier="as_component_scope_to_string">
        <doc xml:space="preserve"
             filename="../src/as-component.c"
             line="340">Converts the enumerated value to an text representation.</doc>
        <source-position filename="../src/as-component.h" line="148"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-component.c"
               line="346">string version of @scope</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <parameter name="scope" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="342">the #AsComponentScope.</doc>
            <type name="ComponentScope" c:type="AsComponentScope"/>
          </parameter>
        </parameters>
      </function>
      <method name="add_addon"
              c:identifier="as_component_add_addon"
              version="0.9.2">
        <doc xml:space="preserve"
             filename="../src/as-component.c"
             line="707">Add a reference to the addon that is enhancing this component.</doc>
        <source-position filename="../src/as-component.h" line="292"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="cpt" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="709">a #AsComponent instance.</doc>
            <type name="Component" c:type="AsComponent*"/>
          </instance-parameter>
          <parameter name="addon" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="710">The #AsComponent that extends @cpt</doc>
            <type name="Component" c:type="AsComponent*"/>
          </parameter>
        </parameters>
      </method>
      <method name="add_agreement"
              c:identifier="as_component_add_agreement"
              version="0.12.1">
        <doc xml:space="preserve"
             filename="../src/as-component.c"
             line="3077">Adds an agreement to the software component.</doc>
        <source-position filename="../src/as-component.h" line="353"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="cpt" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="3079">a #AsComponent instance.</doc>
            <type name="Component" c:type="AsComponent*"/>
          </instance-parameter>
          <parameter name="agreement" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="3080">an #AsAgreement instance.</doc>
            <type name="Agreement" c:type="AsAgreement*"/>
          </parameter>
        </parameters>
      </method>
      <method name="add_bundle"
              c:identifier="as_component_add_bundle"
              version="0.8.0">
        <doc xml:space="preserve"
             filename="../src/as-component.c"
             line="781">Adds a bundle to the component.</doc>
        <source-position filename="../src/as-component.h" line="310"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="cpt" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="783">a #AsComponent instance.</doc>
            <type name="Component" c:type="AsComponent*"/>
          </instance-parameter>
          <parameter name="bundle" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="784">The #AsBundle to add.</doc>
            <type name="Bundle" c:type="AsBundle*"/>
          </parameter>
        </parameters>
      </method>
      <method name="add_category" c:identifier="as_component_add_category">
        <doc xml:space="preserve"
             filename="../src/as-component.c"
             line="1389">Add a category.</doc>
        <source-position filename="../src/as-component.h" line="250"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="cpt" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="1391">a #AsComponent instance.</doc>
            <type name="Component" c:type="AsComponent*"/>
          </instance-parameter>
          <parameter name="category" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="1392">the categories name to add.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="add_content_rating"
              c:identifier="as_component_add_content_rating"
              version="0.11.0">
        <doc xml:space="preserve"
             filename="../src/as-component.c"
             line="2941">Adds a content rating to this component.</doc>
        <source-position filename="../src/as-component.h" line="345"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="cpt" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="2943">a #AsComponent instance.</doc>
            <type name="Component" c:type="AsComponent*"/>
          </instance-parameter>
          <parameter name="content_rating" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="2944">a #AsContentRating instance.</doc>
            <type name="ContentRating" c:type="AsContentRating*"/>
          </parameter>
        </parameters>
      </method>
      <method name="add_extends"
              c:identifier="as_component_add_extends"
              version="0.7.0">
        <doc xml:space="preserve"
             filename="../src/as-component.c"
             line="664">Add a reference to the extended component</doc>
        <source-position filename="../src/as-component.h" line="288"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="cpt" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="666">a #AsComponent instance.</doc>
            <type name="Component" c:type="AsComponent*"/>
          </instance-parameter>
          <parameter name="cpt_id" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="667">The id of a component which is extended by this component</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="add_icon" c:identifier="as_component_add_icon">
        <doc xml:space="preserve"
             filename="../src/as-component.c"
             line="1362">Add an icon to this component.</doc>
        <source-position filename="../src/as-component.h" line="268"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="cpt" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="1364">an #AsComponent instance</doc>
            <type name="Component" c:type="AsComponent*"/>
          </instance-parameter>
          <parameter name="icon" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="1365">the valid #AsIcon instance to add.</doc>
            <type name="Icon" c:type="AsIcon*"/>
          </parameter>
        </parameters>
      </method>
      <method name="add_language"
              c:identifier="as_component_add_language"
              version="0.7.0">
        <doc xml:space="preserve"
             filename="../src/as-component.c"
             line="1897">Adds a language to the component.</doc>
        <source-position filename="../src/as-component.h" line="298"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="cpt" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="1899">an #AsComponent instance.</doc>
            <type name="Component" c:type="AsComponent*"/>
          </instance-parameter>
          <parameter name="locale"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="1900">the locale, or %NULL. e.g. "en_GB"</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="percentage" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="1901">the percentage completion of the translation, 0 for locales with unknown amount of translation</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
        </parameters>
      </method>
      <method name="add_launchable"
              c:identifier="as_component_add_launchable"
              version="0.11.0">
        <doc xml:space="preserve"
             filename="../src/as-component.c"
             line="2999">Adds a #AsLaunchable containing launchables entries for this component.</doc>
        <source-position filename="../src/as-component.h" line="223"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="cpt" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="3001">a #AsComponent instance.</doc>
            <type name="Component" c:type="AsComponent*"/>
          </instance-parameter>
          <parameter name="launchable" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="3002">a #AsLaunchable instance.</doc>
            <type name="Launchable" c:type="AsLaunchable*"/>
          </parameter>
        </parameters>
      </method>
      <method name="add_provided"
              c:identifier="as_component_add_provided"
              version="0.6.2">
        <doc xml:space="preserve"
             filename="../src/as-component.c"
             line="1707">Add a set of provided items to this component.</doc>
        <source-position filename="../src/as-component.h" line="272"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="cpt" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="1709">a #AsComponent instance.</doc>
            <type name="Component" c:type="AsComponent*"/>
          </instance-parameter>
          <parameter name="prov" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="1710">a #AsProvided instance.</doc>
            <type name="Provided" c:type="AsProvided*"/>
          </parameter>
        </parameters>
      </method>
      <method name="add_relation"
              c:identifier="as_component_add_relation"
              version="0.12.0">
        <doc xml:space="preserve"
             filename="../src/as-component.c"
             line="3050">Adds a #AsRelation to set a recommends or requires relation of
component @cpt on the item mentioned in the #AsRelation.</doc>
        <source-position filename="../src/as-component.h" line="350"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="cpt" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="3052">a #AsComponent instance.</doc>
            <type name="Component" c:type="AsComponent*"/>
          </instance-parameter>
          <parameter name="relation" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="3053">a #AsRelation instance.</doc>
            <type name="Relation" c:type="AsRelation*"/>
          </parameter>
        </parameters>
      </method>
      <method name="add_release" c:identifier="as_component_add_release">
        <doc xml:space="preserve"
             filename="../src/as-component.c"
             line="592">Add an #AsRelease to this component.</doc>
        <source-position filename="../src/as-component.h" line="284"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="cpt" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="594">a #AsComponent instance.</doc>
            <type name="Component" c:type="AsComponent*"/>
          </instance-parameter>
          <parameter name="release" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="595">The #AsRelease to add</doc>
            <type name="Release" c:type="AsRelease*"/>
          </parameter>
        </parameters>
      </method>
      <method name="add_screenshot" c:identifier="as_component_add_screenshot">
        <doc xml:space="preserve"
             filename="../src/as-component.c"
             line="560">Add an #AsScreenshot to this component.</doc>
        <source-position filename="../src/as-component.h" line="256"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="cpt" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="562">a #AsComponent instance.</doc>
            <type name="Component" c:type="AsComponent*"/>
          </instance-parameter>
          <parameter name="sshot" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="563">The #AsScreenshot to add</doc>
            <type name="Screenshot" c:type="AsScreenshot*"/>
          </parameter>
        </parameters>
      </method>
      <method name="add_suggested" c:identifier="as_component_add_suggested">
        <doc xml:space="preserve"
             filename="../src/as-component.c"
             line="1769">Add an #AsSuggested to this component.</doc>
        <source-position filename="../src/as-component.h" line="314"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="cpt" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="1771">a #AsComponent instance.</doc>
            <type name="Component" c:type="AsComponent*"/>
          </instance-parameter>
          <parameter name="suggested" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="1772">The #AsSuggested</doc>
            <type name="Suggested" c:type="AsSuggested*"/>
          </parameter>
        </parameters>
      </method>
      <method name="add_translation"
              c:identifier="as_component_add_translation"
              version="0.9.2">
        <doc xml:space="preserve"
             filename="../src/as-component.c"
             line="2035">Assign an #AsTranslation object describing the translation system used
by this component.</doc>
        <source-position filename="../src/as-component.h" line="303"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="cpt" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="2037">an #AsComponent instance.</doc>
            <type name="Component" c:type="AsComponent*"/>
          </instance-parameter>
          <parameter name="tr" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="2038">an #AsTranslation instance.</doc>
            <type name="Translation" c:type="AsTranslation*"/>
          </parameter>
        </parameters>
      </method>
      <method name="add_url"
              c:identifier="as_component_add_url"
              version="0.6.2">
        <doc xml:space="preserve"
             filename="../src/as-component.c"
             line="625">Adds some URL data to the component.</doc>
        <source-position filename="../src/as-component.h" line="279"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="cpt" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="627">a #AsComponent instance.</doc>
            <type name="Component" c:type="AsComponent*"/>
          </instance-parameter>
          <parameter name="url_kind" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="628">the URL kind, e.g. %AS_URL_KIND_HOMEPAGE</doc>
            <type name="UrlKind" c:type="AsUrlKind"/>
          </parameter>
          <parameter name="url" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="629">the full URL.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_active_locale"
              c:identifier="as_component_get_active_locale">
        <doc xml:space="preserve"
             filename="../src/as-component.c"
             line="1091">Get the current active locale for this component, which
is used to get localized messages.</doc>
        <source-position filename="../src/as-component.h" line="172"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-component.c"
               line="1098">the current active locale.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="cpt" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="1093">a #AsComponent instance.</doc>
            <type name="Component" c:type="AsComponent*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_addons"
              c:identifier="as_component_get_addons"
              version="0.9.2">
        <doc xml:space="preserve"
             filename="../src/as-component.c"
             line="687">Returns a list of #AsComponent objects which
are addons extending this component in functionality.

This is the reverse of %as_component_get_extends()</doc>
        <source-position filename="../src/as-component.h" line="291"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-component.c"
               line="696">An array of #AsComponent.</doc>
          <array name="GLib.PtrArray" c:type="GPtrArray*">
            <type name="Component"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="cpt" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="689">an #AsComponent instance.</doc>
            <type name="Component" c:type="AsComponent*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_agreement_by_kind"
              c:identifier="as_component_get_agreement_by_kind"
              version="0.12.1">
        <doc xml:space="preserve"
             filename="../src/as-component.c"
             line="3093">Gets an agreement the component has specified for the particular kind.</doc>
        <source-position filename="../src/as-component.h" line="355"/>
        <return-value transfer-ownership="none" nullable="1">
          <doc xml:space="preserve"
               filename="../src/as-component.c"
               line="3100">a #AsAgreement or %NULL for not found</doc>
          <type name="Agreement" c:type="AsAgreement*"/>
        </return-value>
        <parameters>
          <instance-parameter name="cpt" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="3095">a #AsComponent instance.</doc>
            <type name="Component" c:type="AsComponent*"/>
          </instance-parameter>
          <parameter name="kind" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="3096">an agreement kind, e.g. %AS_AGREEMENT_KIND_EULA</doc>
            <type name="AgreementKind" c:type="AsAgreementKind"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_bundle"
              c:identifier="as_component_get_bundle"
              version="0.8.0">
        <doc xml:space="preserve"
             filename="../src/as-component.c"
             line="755">Gets a bundle identifier string.</doc>
        <source-position filename="../src/as-component.h" line="308"/>
        <return-value transfer-ownership="none" nullable="1">
          <doc xml:space="preserve"
               filename="../src/as-component.c"
               line="762">An #AsBundle, or %NULL if not set.</doc>
          <type name="Bundle" c:type="AsBundle*"/>
        </return-value>
        <parameters>
          <instance-parameter name="cpt" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="757">a #AsComponent instance.</doc>
            <type name="Component" c:type="AsComponent*"/>
          </instance-parameter>
          <parameter name="bundle_kind" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="758">the bundle kind, e.g. %AS_BUNDLE_KIND_LIMBA.</doc>
            <type name="BundleKind" c:type="AsBundleKind"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_bundles"
              c:identifier="as_component_get_bundles"
              version="0.10">
        <doc xml:space="preserve"
             filename="../src/as-component.c"
             line="723">Get a list of all software bundles associated with this component.</doc>
        <source-position filename="../src/as-component.h" line="307"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-component.c"
               line="729">A list of #AsBundle.</doc>
          <array name="GLib.PtrArray" c:type="GPtrArray*">
            <type name="Bundle"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="cpt" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="725">a #AsComponent instance.</doc>
            <type name="Component" c:type="AsComponent*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_categories" c:identifier="as_component_get_categories">
        <source-position filename="../src/as-component.h" line="249"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-component.c"
               line="1380">String array of categories</doc>
          <array name="GLib.PtrArray" c:type="GPtrArray*">
            <type name="utf8"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="cpt" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="1378">a #AsComponent instance.</doc>
            <type name="Component" c:type="AsComponent*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_compulsory_for_desktops"
              c:identifier="as_component_get_compulsory_for_desktops">
        <source-position filename="../src/as-component.h" line="243"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-component.c"
               line="1620">A list of desktops where this component is compulsory</doc>
          <array name="GLib.PtrArray" c:type="GPtrArray*">
            <type name="utf8"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="cpt" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="1618">a #AsComponent instance.</doc>
            <type name="Component" c:type="AsComponent*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_content_rating"
              c:identifier="as_component_get_content_rating"
              version="0.11.0">
        <doc xml:space="preserve"
             filename="../src/as-component.c"
             line="2916">Gets a content ratings of a specific type that are defined for this component.</doc>
        <source-position filename="../src/as-component.h" line="343"/>
        <return-value transfer-ownership="none" nullable="1">
          <doc xml:space="preserve"
               filename="../src/as-component.c"
               line="2923">a #AsContentRating or %NULL if not found</doc>
          <type name="ContentRating" c:type="AsContentRating*"/>
        </return-value>
        <parameters>
          <instance-parameter name="cpt" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="2918">a #AsComponent instance.</doc>
            <type name="Component" c:type="AsComponent*"/>
          </instance-parameter>
          <parameter name="kind" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="2919">a ratings kind, e.g. "oars-1.0"</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_content_ratings"
              c:identifier="as_component_get_content_ratings"
              version="0.11.0">
        <doc xml:space="preserve"
             filename="../src/as-component.c"
             line="2899">Gets all content ratings defined for this software.</doc>
        <source-position filename="../src/as-component.h" line="342"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-component.c"
               line="2905">an array</doc>
          <array name="GLib.PtrArray" c:type="GPtrArray*">
            <type name="ContentRating"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="cpt" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="2901">a #AsComponent instance.</doc>
            <type name="Component" c:type="AsComponent*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_custom"
              c:identifier="as_component_get_custom"
              version="0.10.5">
        <source-position filename="../src/as-component.h" line="335"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-component.c"
               line="2847">Hash table of custom user defined data fields.</doc>
          <type name="GLib.HashTable" c:type="GHashTable*">
            <type name="gpointer" c:type="gpointer"/>
            <type name="gpointer" c:type="gpointer"/>
          </type>
        </return-value>
        <parameters>
          <instance-parameter name="cpt" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="2845">An #AsComponent.</doc>
            <type name="Component" c:type="AsComponent*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_custom_value"
              c:identifier="as_component_get_custom_value"
              version="0.10.5">
        <doc xml:space="preserve"
             filename="../src/as-component.c"
             line="2858">Retrieve value for a custom data entry with the given key.</doc>
        <source-position filename="../src/as-component.h" line="336"/>
        <return-value transfer-ownership="none">
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="cpt" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="2860">An #AsComponent.</doc>
            <type name="Component" c:type="AsComponent*"/>
          </instance-parameter>
          <parameter name="key" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="2861">Field name.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_data_id" c:identifier="as_component_get_data_id">
        <doc xml:space="preserve"
             filename="../src/as-component.c"
             line="991">Get a unique identifier for this metadata set.
This unique ID is only valid for the current session,
as opposed to the AppStream ID which uniquely identifies
a software component.

The format of the unique id usually is:
%{scope}/%{origin}/%{distribution_system}/%{appstream_id}

For example:
system/os/package/org.example.FooBar</doc>
        <source-position filename="../src/as-component.h" line="180"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-component.c"
               line="1006">the unique session-specific identifier.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="cpt" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="993">a #AsComponent instance.</doc>
            <type name="Component" c:type="AsComponent*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_description"
              c:identifier="as_component_get_description">
        <doc xml:space="preserve"
             filename="../src/as-component.c"
             line="1214">Get the localized long description of this component.</doc>
        <source-position filename="../src/as-component.h" line="215"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-component.c"
               line="1220">the description.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="cpt" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="1216">a #AsComponent instance.</doc>
            <type name="Component" c:type="AsComponent*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_desktop_id"
              c:identifier="as_component_get_desktop_id"
              version="0.9.8"
              deprecated="1"
              deprecated-version="0.11.0">
        <doc xml:space="preserve"
             filename="../src/as-component.c"
             line="5351">Get the Desktop Entry ID for this component, if it is
of type "desktop-application".
For most desktop-application components, this is the name
of the .desktop file.

Refer to https://specifications.freedesktop.org/desktop-entry-spec/latest/ape.html for more
information.</doc>
        <doc-deprecated xml:space="preserve">Replaced by #AsLaunchable and %as_component_get_launchable</doc-deprecated>
        <source-position filename="../src/as-component.h" line="378"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-component.c"
               line="5363">The desktop file id.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="cpt" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="5353">a #AsComponent instance.</doc>
            <type name="Component" c:type="AsComponent*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_developer_name"
              c:identifier="as_component_get_developer_name">
        <doc xml:space="preserve"
             filename="../src/as-component.c"
             line="1519">Get the component's developer or development team name.</doc>
        <source-position filename="../src/as-component.h" line="238"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-component.c"
               line="1525">the developer name.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="cpt" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="1521">a #AsComponent instance.</doc>
            <type name="Component" c:type="AsComponent*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_extends"
              c:identifier="as_component_get_extends"
              version="0.7.0">
        <doc xml:space="preserve"
             filename="../src/as-component.c"
             line="644">Returns a string list of IDs of components which
are extended by this addon.

See %as_component_get_extends() for the reverse.</doc>
        <source-position filename="../src/as-component.h" line="287"/>
        <return-value transfer-ownership="none" nullable="1">
          <doc xml:space="preserve"
               filename="../src/as-component.c"
               line="653">A #GPtrArray or %NULL if not set.</doc>
          <array name="GLib.PtrArray" c:type="GPtrArray*">
            <type name="utf8"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="cpt" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="646">an #AsComponent instance.</doc>
            <type name="Component" c:type="AsComponent*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_icon_by_size"
              c:identifier="as_component_get_icon_by_size">
        <doc xml:space="preserve"
             filename="../src/as-component.c"
             line="1326">Gets an icon matching the size constraints.
The icons are not filtered by type, and the first icon
which matches the size is returned.
If you want more control over which icons you use for displaying,
use the %as_component_get_icons() function to get a list of all icons.

Note that this function is not HiDPI aware! It will never return an icon with
a scaling factor &gt; 1.</doc>
        <source-position filename="../src/as-component.h" line="265"/>
        <return-value transfer-ownership="none" nullable="1">
          <doc xml:space="preserve"
               filename="../src/as-component.c"
               line="1341">An icon matching the given width/height, or %NULL if not found.</doc>
          <type name="Icon" c:type="AsIcon*"/>
        </return-value>
        <parameters>
          <instance-parameter name="cpt" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="1328">an #AsComponent instance</doc>
            <type name="Component" c:type="AsComponent*"/>
          </instance-parameter>
          <parameter name="width" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="1329">The icon width in pixels.</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
          <parameter name="height" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="1330">the icon height in pixels.</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_icons" c:identifier="as_component_get_icons">
        <source-position filename="../src/as-component.h" line="264"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-component.c"
               line="1317">A #GPtrArray of all icons for this component.</doc>
          <array name="GLib.PtrArray" c:type="GPtrArray*">
            <type name="Icon"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="cpt" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="1315">an #AsComponent instance</doc>
            <type name="Component" c:type="AsComponent*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_id" c:identifier="as_component_get_id">
        <doc xml:space="preserve"
             filename="../src/as-component.c"
             line="953">Get the unique AppStream identifier for this component.
This ID is unique for the described component, but does
not uniquely identify the metadata set.

For a unique ID for this metadata set in the current
session, use %as_component_get_data_id()</doc>
        <source-position filename="../src/as-component.h" line="176"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-component.c"
               line="964">the unique AppStream identifier.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="cpt" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="955">a #AsComponent instance.</doc>
            <type name="Component" c:type="AsComponent*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_keywords" c:identifier="as_component_get_keywords">
        <source-position filename="../src/as-component.h" line="259"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-component.c"
               line="1256">String array of keywords</doc>
          <array c:type="gchar**">
            <type name="utf8"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="cpt" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="1254">a #AsComponent instance.</doc>
            <type name="Component" c:type="AsComponent*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_keywords_table"
              c:identifier="as_component_get_keywords_table">
        <doc xml:space="preserve"
             filename="../src/as-component.c"
             line="1273">Retrieve the internal hash table mapping languages to
keword arrays.</doc>
        <source-position filename="../src/as-component.h" line="365"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-component.c"
               line="1280">Hash table locale-&gt;keyword arrays</doc>
          <type name="GLib.HashTable" c:type="GHashTable*">
            <type name="gpointer" c:type="gpointer"/>
            <type name="gpointer" c:type="gpointer"/>
          </type>
        </return-value>
        <parameters>
          <instance-parameter name="cpt" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="1275">a #AsComponent instance.</doc>
            <type name="Component" c:type="AsComponent*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_kind" c:identifier="as_component_get_kind">
        <doc xml:space="preserve"
             filename="../src/as-component.c"
             line="837">Returns the #AsComponentKind of this component.</doc>
        <source-position filename="../src/as-component.h" line="184"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-component.c"
               line="843">the kind of #this.</doc>
          <type name="ComponentKind" c:type="AsComponentKind"/>
        </return-value>
        <parameters>
          <instance-parameter name="cpt" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="839">a #AsComponent instance.</doc>
            <type name="Component" c:type="AsComponent*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_language"
              c:identifier="as_component_get_language"
              version="0.7.0">
        <doc xml:space="preserve"
             filename="../src/as-component.c"
             line="1919">Gets the translation coverage in percent for a specific locale</doc>
        <source-position filename="../src/as-component.h" line="296"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-component.c"
               line="1926">a percentage value, -1 if locale was not found</doc>
          <type name="gint" c:type="gint"/>
        </return-value>
        <parameters>
          <instance-parameter name="cpt" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="1921">an #AsComponent instance.</doc>
            <type name="Component" c:type="AsComponent*"/>
          </instance-parameter>
          <parameter name="locale"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="1922">the locale, or %NULL. e.g. "en_GB"</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_languages"
              c:identifier="as_component_get_languages"
              version="0.7.0">
        <doc xml:space="preserve"
             filename="../src/as-component.c"
             line="1946">Get a list of all languages.</doc>
        <source-position filename="../src/as-component.h" line="295"/>
        <return-value transfer-ownership="container">
          <doc xml:space="preserve"
               filename="../src/as-component.c"
               line="1952">list of locales</doc>
          <type name="GLib.List" c:type="GList*">
            <type name="utf8"/>
          </type>
        </return-value>
        <parameters>
          <instance-parameter name="cpt" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="1948">an #AsComponent instance.</doc>
            <type name="Component" c:type="AsComponent*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_launchable"
              c:identifier="as_component_get_launchable"
              version="0.11.0">
        <doc xml:space="preserve"
             filename="../src/as-component.c"
             line="2958">Gets a #AsLaunchable of a specific type that contains launchable entries for
this component.</doc>
        <source-position filename="../src/as-component.h" line="221"/>
        <return-value transfer-ownership="none" nullable="1">
          <doc xml:space="preserve"
               filename="../src/as-component.c"
               line="2966">a #AsLaunchable or %NULL if not found</doc>
          <type name="Launchable" c:type="AsLaunchable*"/>
        </return-value>
        <parameters>
          <instance-parameter name="cpt" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="2960">a #AsComponent instance.</doc>
            <type name="Component" c:type="AsComponent*"/>
          </instance-parameter>
          <parameter name="kind" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="2961">a launch kind, e.g. %AS_LAUNCHABLE_KIND_DESKTOP_ID</doc>
            <type name="LaunchableKind" c:type="AsLaunchableKind"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_launchables"
              c:identifier="as_component_get_launchables"
              version="0.11.0">
        <source-position filename="../src/as-component.h" line="220"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-component.c"
               line="2988">an array</doc>
          <array name="GLib.PtrArray" c:type="GPtrArray*">
            <type name="Launchable"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="cpt" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="2986">a #AsComponent instance.</doc>
            <type name="Component" c:type="AsComponent*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_merge_kind"
              c:identifier="as_component_get_merge_kind"
              version="0.9.8">
        <doc xml:space="preserve"
             filename="../src/as-component.c"
             line="1799">Get the merge method which should apply to duplicate components
with this ID.</doc>
        <source-position filename="../src/as-component.h" line="323"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-component.c"
               line="1806">the #AsMergeKind of this component.</doc>
          <type name="MergeKind" c:type="AsMergeKind"/>
        </return-value>
        <parameters>
          <instance-parameter name="cpt" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="1801">a #AsComponent instance.</doc>
            <type name="Component" c:type="AsComponent*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_metadata_license"
              c:identifier="as_component_get_metadata_license">
        <doc xml:space="preserve"
             filename="../src/as-component.c"
             line="1426">The license the metadata iself is subjected to.</doc>
        <source-position filename="../src/as-component.h" line="226"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-component.c"
               line="1432">the license.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="cpt" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="1428">a #AsComponent instance.</doc>
            <type name="Component" c:type="AsComponent*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_name" c:identifier="as_component_get_name">
        <doc xml:space="preserve"
             filename="../src/as-component.c"
             line="1138">A human-readable name for this component.</doc>
        <source-position filename="../src/as-component.h" line="205"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-component.c"
               line="1144">the name.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="cpt" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="1140">a #AsComponent instance.</doc>
            <type name="Component" c:type="AsComponent*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_name_table" c:identifier="as_component_get_name_table">
        <doc xml:space="preserve"
             filename="../src/as-component.c"
             line="1980">Get the internal locale to component name
mapping table.</doc>
        <source-position filename="../src/as-component.h" line="363"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-component.c"
               line="1987">locale-&gt;names map</doc>
          <type name="GLib.HashTable" c:type="GHashTable*">
            <type name="gpointer" c:type="gpointer"/>
            <type name="gpointer" c:type="gpointer"/>
          </type>
        </return-value>
        <parameters>
          <instance-parameter name="cpt" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="1982">an #AsComponent instance.</doc>
            <type name="Component" c:type="AsComponent*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_name_variant_suffix"
              c:identifier="as_component_get_name_variant_suffix"
              version="0.12.10">
        <doc xml:space="preserve"
             filename="../src/as-component.c"
             line="1555">Get variant suffix for the component name
(only to be displayed if two components have the same name).</doc>
        <source-position filename="../src/as-component.h" line="358"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-component.c"
               line="1562">the variant suffix</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="cpt" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="1557">a #AsComponent instance.</doc>
            <type name="Component" c:type="AsComponent*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_origin" c:identifier="as_component_get_origin">
        <source-position filename="../src/as-component.h" line="188"/>
        <return-value transfer-ownership="none">
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="cpt" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="1038">a #AsComponent instance.</doc>
            <type name="Component" c:type="AsComponent*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_pkgname" c:identifier="as_component_get_pkgname">
        <doc xml:space="preserve"
             filename="../src/as-component.c"
             line="884">Get the first package name of the list of packages that need to be installed
for this component to be present on the system.
Since most components consist of only one package, this is safe to use for
about 90% of all cases.

However, to support a component fully, please use %as_component_get_pkgnames() for
getting all packages that need to be installed, and use this method only to
e.g. get the main package to perform a quick "is it installed?" check.</doc>
        <source-position filename="../src/as-component.h" line="196"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-component.c"
               line="897">String array of package names</doc>
          <type name="utf8" c:type="gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="cpt" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="886">a #AsComponent instance.</doc>
            <type name="Component" c:type="AsComponent*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_pkgnames" c:identifier="as_component_get_pkgnames">
        <doc xml:space="preserve"
             filename="../src/as-component.c"
             line="868">Get a list of package names which this component consists of.
This usually is just one package name.</doc>
        <source-position filename="../src/as-component.h" line="197"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-component.c"
               line="875">String array of package names</doc>
          <array c:type="gchar**">
            <type name="utf8"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="cpt" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="870">a #AsComponent instance.</doc>
            <type name="Component" c:type="AsComponent*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_project_group"
              c:identifier="as_component_get_project_group">
        <doc xml:space="preserve"
             filename="../src/as-component.c"
             line="1488">Get the component's project group.</doc>
        <source-position filename="../src/as-component.h" line="234"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-component.c"
               line="1494">the project group.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="cpt" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="1490">a #AsComponent instance.</doc>
            <type name="Component" c:type="AsComponent*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_project_license"
              c:identifier="as_component_get_project_license">
        <doc xml:space="preserve"
             filename="../src/as-component.c"
             line="1456">Get the license of the project this component belongs to.</doc>
        <source-position filename="../src/as-component.h" line="230"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-component.c"
               line="1462">the license.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="cpt" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="1458">a #AsComponent instance.</doc>
            <type name="Component" c:type="AsComponent*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_provided" c:identifier="as_component_get_provided">
        <doc xml:space="preserve"
             filename="../src/as-component.c"
             line="1692">Get a list of #AsProvided objects associated with this component.</doc>
        <source-position filename="../src/as-component.h" line="271"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-component.c"
               line="1698">A list of #AsProvided objects.</doc>
          <array name="GLib.PtrArray" c:type="GPtrArray*">
            <type name="Provided"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="cpt" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="1694">a #AsComponent instance.</doc>
            <type name="Component" c:type="AsComponent*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_provided_for_kind"
              c:identifier="as_component_get_provided_for_kind">
        <doc xml:space="preserve"
             filename="../src/as-component.c"
             line="1667">Get an #AsProvided object for the given interface type,
containing information about the public interfaces (mimetypes, firmware, DBus services, ...)
this component provides.</doc>
        <source-position filename="../src/as-component.h" line="274"/>
        <return-value transfer-ownership="none" nullable="1">
          <doc xml:space="preserve"
               filename="../src/as-component.c"
               line="1676">#AsProvided containing the items this component provides, or %NULL.</doc>
          <type name="Provided" c:type="AsProvided*"/>
        </return-value>
        <parameters>
          <instance-parameter name="cpt" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="1669">a #AsComponent instance.</doc>
            <type name="Component" c:type="AsComponent*"/>
          </instance-parameter>
          <parameter name="kind" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="1670">kind of the provided item, e.g. %AS_PROVIDED_KIND_MIMETYPE</doc>
            <type name="ProvidedKind" c:type="AsProvidedKind"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_recommends"
              c:identifier="as_component_get_recommends"
              version="0.12.0">
        <doc xml:space="preserve"
             filename="../src/as-component.c"
             line="3016">Get an array of items that are recommended by this component.</doc>
        <source-position filename="../src/as-component.h" line="348"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-component.c"
               line="3022">an array</doc>
          <array name="GLib.PtrArray" c:type="GPtrArray*">
            <type name="Relation"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="cpt" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="3018">a #AsComponent instance.</doc>
            <type name="Component" c:type="AsComponent*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_releases" c:identifier="as_component_get_releases">
        <doc xml:space="preserve"
             filename="../src/as-component.c"
             line="576">Get an array of the #AsRelease items this component
provides.</doc>
        <source-position filename="../src/as-component.h" line="283"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-component.c"
               line="583">A list of releases</doc>
          <array name="GLib.PtrArray" c:type="GPtrArray*">
            <type name="Release"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="cpt" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="578">a #AsComponent instance.</doc>
            <type name="Component" c:type="AsComponent*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_requires"
              c:identifier="as_component_get_requires"
              version="0.12.0">
        <doc xml:space="preserve"
             filename="../src/as-component.c"
             line="3033">Get an array of items that are required by this component.</doc>
        <source-position filename="../src/as-component.h" line="349"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-component.c"
               line="3039">an array</doc>
          <array name="GLib.PtrArray" c:type="GPtrArray*">
            <type name="Relation"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="cpt" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="3035">a #AsComponent instance.</doc>
            <type name="Component" c:type="AsComponent*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_scope"
              c:identifier="as_component_get_scope"
              version="0.10.2">
        <source-position filename="../src/as-component.h" line="192"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-component.c"
               line="2058">the #AsComponentScope of this component.</doc>
          <type name="ComponentScope" c:type="AsComponentScope"/>
        </return-value>
        <parameters>
          <instance-parameter name="cpt" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="2056">a #AsComponent instance.</doc>
            <type name="Component" c:type="AsComponent*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_screenshots"
              c:identifier="as_component_get_screenshots">
        <doc xml:space="preserve"
             filename="../src/as-component.c"
             line="1601">Get a list of associated screenshots.</doc>
        <source-position filename="../src/as-component.h" line="255"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-component.c"
               line="1607">an array of #AsScreenshot instances</doc>
          <array name="GLib.PtrArray" c:type="GPtrArray*">
            <type name="Screenshot"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="cpt" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="1603">a #AsComponent instance.</doc>
            <type name="Component" c:type="AsComponent*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_search_tokens"
              c:identifier="as_component_get_search_tokens"
              version="0.9.7">
        <doc xml:space="preserve"
             filename="../src/as-component.c"
             line="2685">Returns all search tokens for this component.</doc>
        <source-position filename="../src/as-component.h" line="317"/>
        <return-value transfer-ownership="container">
          <doc xml:space="preserve"
               filename="../src/as-component.c"
               line="2691">The string search tokens</doc>
          <array name="GLib.PtrArray" c:type="GPtrArray*">
            <type name="utf8"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="cpt" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="2687">a #AsComponent instance.</doc>
            <type name="Component" c:type="AsComponent*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_source_pkgname"
              c:identifier="as_component_get_source_pkgname">
        <source-position filename="../src/as-component.h" line="201"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-component.c"
               line="930">the source package name.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="cpt" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="928">a #AsComponent instance.</doc>
            <type name="Component" c:type="AsComponent*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_suggested" c:identifier="as_component_get_suggested">
        <doc xml:space="preserve"
             filename="../src/as-component.c"
             line="1784">Get a list of associated suggestions.</doc>
        <source-position filename="../src/as-component.h" line="313"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-component.c"
               line="1790">an array of #AsSuggested instances</doc>
          <array name="GLib.PtrArray" c:type="GPtrArray*">
            <type name="Suggested"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="cpt" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="1786">a #AsComponent instance.</doc>
            <type name="Component" c:type="AsComponent*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_summary" c:identifier="as_component_get_summary">
        <doc xml:space="preserve"
             filename="../src/as-component.c"
             line="1176">Get a short description of this component.</doc>
        <source-position filename="../src/as-component.h" line="210"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-component.c"
               line="1182">the summary.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="cpt" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="1178">a #AsComponent instance.</doc>
            <type name="Component" c:type="AsComponent*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_summary_table"
              c:identifier="as_component_get_summary_table">
        <doc xml:space="preserve"
             filename="../src/as-component.c"
             line="1996">Get the internal locale to component summary
mapping table.</doc>
        <source-position filename="../src/as-component.h" line="364"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-component.c"
               line="2003">locale-&gt;summary map</doc>
          <type name="GLib.HashTable" c:type="GHashTable*">
            <type name="gpointer" c:type="gpointer"/>
            <type name="gpointer" c:type="gpointer"/>
          </type>
        </return-value>
        <parameters>
          <instance-parameter name="cpt" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="1998">an #AsComponent instance.</doc>
            <type name="Component" c:type="AsComponent*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_translations"
              c:identifier="as_component_get_translations"
              version="0.9.2">
        <doc xml:space="preserve"
             filename="../src/as-component.c"
             line="2012">Get a #GPtrArray of #AsTranslation objects describing the
translation systems and translation-ids (e.g. Gettext domains) used
by this software component.

Only set for metainfo files.</doc>
        <source-position filename="../src/as-component.h" line="302"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-component.c"
               line="2022">An array of #AsTranslation objects.</doc>
          <array name="GLib.PtrArray" c:type="GPtrArray*">
            <type name="Translation"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="cpt" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="2014">an #AsComponent instance.</doc>
            <type name="Component" c:type="AsComponent*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_url"
              c:identifier="as_component_get_url"
              version="0.6.2">
        <doc xml:space="preserve"
             filename="../src/as-component.c"
             line="606">Gets a URL.</doc>
        <source-position filename="../src/as-component.h" line="277"/>
        <return-value transfer-ownership="none" nullable="1">
          <doc xml:space="preserve"
               filename="../src/as-component.c"
               line="613">string, or %NULL if unset</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="cpt" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="608">a #AsComponent instance.</doc>
            <type name="Component" c:type="AsComponent*"/>
          </instance-parameter>
          <parameter name="url_kind" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="609">the URL kind, e.g. %AS_URL_KIND_HOMEPAGE.</doc>
            <type name="UrlKind" c:type="AsUrlKind"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_value_flags"
              c:identifier="as_component_get_value_flags">
        <source-position filename="../src/as-component.h" line="168"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-component.c"
               line="2764">The #AsValueFlags that are set on @cpt.</doc>
          <type name="ValueFlags" c:type="AsValueFlags"/>
        </return-value>
        <parameters>
          <instance-parameter name="cpt" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="2762">a #AsComponent instance.</doc>
            <type name="Component" c:type="AsComponent*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="has_bundle" c:identifier="as_component_has_bundle">
        <source-position filename="../src/as-component.h" line="306"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-component.c"
               line="803">%TRUE if this component has a bundle associated.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="cpt" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="801">a #AsComponent instance.</doc>
            <type name="Component" c:type="AsComponent*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="has_category" c:identifier="as_component_has_category">
        <doc xml:space="preserve"
             filename="../src/as-component.c"
             line="1410">Check if component is in the specified category.</doc>
        <source-position filename="../src/as-component.h" line="252"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-component.c"
               line="1417">%TRUE if the component is in the specified category.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="cpt" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="1412">an #AsComponent object</doc>
            <type name="Component" c:type="AsComponent*"/>
          </instance-parameter>
          <parameter name="category" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="1413">the specified category to check</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="insert_custom_value"
              c:identifier="as_component_insert_custom_value"
              version="0.10.5">
        <doc xml:space="preserve"
             filename="../src/as-component.c"
             line="2876">Add a key and value pair to the custom data table.</doc>
        <source-position filename="../src/as-component.h" line="338"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-component.c"
               line="2884">%TRUE if the key did not exist yet.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="cpt" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="2878">An #AsComponent.</doc>
            <type name="Component" c:type="AsComponent*"/>
          </instance-parameter>
          <parameter name="key" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="2879">Key name.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="value" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="2880">A string value.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="is_compulsory_for_desktop"
              c:identifier="as_component_is_compulsory_for_desktop">
        <doc xml:space="preserve"
             filename="../src/as-component.c"
             line="1651">Check if this component is compulsory for the given desktop.</doc>
        <source-position filename="../src/as-component.h" line="246"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-component.c"
               line="1658">%TRUE if compulsory, %FALSE otherwise.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="cpt" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="1653">an #AsComponent object</doc>
            <type name="Component" c:type="AsComponent*"/>
          </instance-parameter>
          <parameter name="desktop" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="1654">the desktop-id to test for</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="is_ignored"
              c:identifier="as_component_is_ignored"
              version="0.10.2">
        <source-position filename="../src/as-component.h" line="330"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-component.c"
               line="2832">Whether this component's metadata should be ignored.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="cpt" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="2830">a #AsComponent instance.</doc>
            <type name="Component" c:type="AsComponent*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="is_member_of_category"
              c:identifier="as_component_is_member_of_category">
        <doc xml:space="preserve"
             filename="../src/as-component.c"
             line="2791">Test if the component @cpt is a member of category @category.</doc>
        <source-position filename="../src/as-component.h" line="327"/>
        <return-value transfer-ownership="none">
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="cpt" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="2793">a #AsComponent instance.</doc>
            <type name="Component" c:type="AsComponent*"/>
          </instance-parameter>
          <parameter name="category" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="2794">The category to test.</doc>
            <type name="Category" c:type="AsCategory*"/>
          </parameter>
        </parameters>
      </method>
      <method name="is_valid" c:identifier="as_component_is_valid">
        <doc xml:space="preserve"
             filename="../src/as-component.c"
             line="493">Check if the essential properties of this Component are
populated with useful data.</doc>
        <source-position filename="../src/as-component.h" line="332"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-component.c"
               line="500">TRUE if the component data was validated successfully.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="cpt" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="495">a #AsComponent instance.</doc>
            <type name="Component" c:type="AsComponent*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="load_from_xml_data"
              c:identifier="as_component_load_from_xml_data"
              version="0.12.10"
              throws="1">
        <doc xml:space="preserve"
             filename="../src/as-component.c"
             line="5294">Load metadata for this component from an XML string.
You normally do not want to use this method directly and instead use the more
convenient API of #AsMetadata to create and update components.</doc>
        <source-position filename="../src/as-component.h" line="367"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-component.c"
               line="5305">%TRUE on success.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="cpt" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="5296">an #AsComponent instance.</doc>
            <type name="Component" c:type="AsComponent*"/>
          </instance-parameter>
          <parameter name="context" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="5297">an #AsContext instance.</doc>
            <type name="Context" c:type="AsContext*"/>
          </parameter>
          <parameter name="data" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="5298">The XML data to load.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="search_matches"
              c:identifier="as_component_search_matches"
              version="0.9.7">
        <doc xml:space="preserve"
             filename="../src/as-component.c"
             line="2594">Searches component data for a specific keyword.</doc>
        <source-position filename="../src/as-component.h" line="318"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-component.c"
               line="2601">a match scrore, where 0 is no match and 100 is the best match.</doc>
          <type name="guint" c:type="guint"/>
        </return-value>
        <parameters>
          <instance-parameter name="cpt" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="2596">a #AsComponent instance.</doc>
            <type name="Component" c:type="AsComponent*"/>
          </instance-parameter>
          <parameter name="term" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="2597">the search term.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="search_matches_all"
              c:identifier="as_component_search_matches_all"
              version="0.9.8">
        <doc xml:space="preserve"
             filename="../src/as-component.c"
             line="2642">Searches component data for all the specific keywords.</doc>
        <source-position filename="../src/as-component.h" line="320"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-component.c"
               line="2649">a match score, where 0 is no match and larger numbers are better
matches.</doc>
          <type name="guint" c:type="guint"/>
        </return-value>
        <parameters>
          <instance-parameter name="cpt" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="2644">a #AsComponent instance.</doc>
            <type name="Component" c:type="AsComponent*"/>
          </instance-parameter>
          <parameter name="terms" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="2645">the search terms.</doc>
            <type name="utf8" c:type="gchar**"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_active_locale"
              c:identifier="as_component_set_active_locale">
        <doc xml:space="preserve"
             filename="../src/as-component.c"
             line="1119">Set the current active locale for this component, which
is used to get localized messages.
If the #AsComponent was fetched from a localized database, usually only
one locale is available.</doc>
        <source-position filename="../src/as-component.h" line="173"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="cpt" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="1121">a #AsComponent instance.</doc>
            <type name="Component" c:type="AsComponent*"/>
          </instance-parameter>
          <parameter name="locale"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="1122">the locale, or %NULL. e.g. "en_GB"</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_compulsory_for_desktop"
              c:identifier="as_component_set_compulsory_for_desktop">
        <doc xml:space="preserve"
             filename="../src/as-component.c"
             line="1629">Mark this component to be compulsory for the specified desktop environment.</doc>
        <source-position filename="../src/as-component.h" line="244"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="cpt" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="1631">a #AsComponent instance.</doc>
            <type name="Component" c:type="AsComponent*"/>
          </instance-parameter>
          <parameter name="desktop" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="1632">The name of the desktop.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_data_id" c:identifier="as_component_set_data_id">
        <doc xml:space="preserve"
             filename="../src/as-component.c"
             line="1017">Set the session-specific unique metadata identifier for this
component.
If two components have a different data_id but the same ID,
they will be treated as independent sets of metadata describing
the same component type.</doc>
        <source-position filename="../src/as-component.h" line="181"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="cpt" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="1019">a #AsComponent instance.</doc>
            <type name="Component" c:type="AsComponent*"/>
          </instance-parameter>
          <parameter name="value" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="1020">the unique session-specific identifier.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_description"
              c:identifier="as_component_set_description">
        <doc xml:space="preserve"
             filename="../src/as-component.c"
             line="1232">Set long description for this component.</doc>
        <source-position filename="../src/as-component.h" line="216"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="cpt" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="1234">A valid #AsComponent</doc>
            <type name="Component" c:type="AsComponent*"/>
          </instance-parameter>
          <parameter name="value" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="1235">The long description</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="locale"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="1236">The locale the used for this value, or %NULL to use the current active one.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_developer_name"
              c:identifier="as_component_set_developer_name">
        <doc xml:space="preserve"
             filename="../src/as-component.c"
             line="1537">Set the the component's developer or development team name.</doc>
        <source-position filename="../src/as-component.h" line="239"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="cpt" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="1539">a #AsComponent instance.</doc>
            <type name="Component" c:type="AsComponent*"/>
          </instance-parameter>
          <parameter name="value" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="1540">the developer or developer team name</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="locale"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="1541">the locale, or %NULL. e.g. "en_GB"</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_id" c:identifier="as_component_set_id">
        <doc xml:space="preserve"
             filename="../src/as-component.c"
             line="973">Set the AppStream identifier for this component.</doc>
        <source-position filename="../src/as-component.h" line="177"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="cpt" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="975">a #AsComponent instance.</doc>
            <type name="Component" c:type="AsComponent*"/>
          </instance-parameter>
          <parameter name="value" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="976">the unique identifier.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_keywords" c:identifier="as_component_set_keywords">
        <doc xml:space="preserve"
             filename="../src/as-component.c"
             line="1289">Set keywords for this component.</doc>
        <source-position filename="../src/as-component.h" line="260"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="cpt" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="1291">a #AsComponent instance.</doc>
            <type name="Component" c:type="AsComponent*"/>
          </instance-parameter>
          <parameter name="value" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="1292">String-array of keywords</doc>
            <array c:type="gchar**">
              <type name="utf8" c:type="gchar*"/>
            </array>
          </parameter>
          <parameter name="locale"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="1293">Locale of the values, or %NULL to use current locale.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_kind" c:identifier="as_component_set_kind">
        <doc xml:space="preserve"
             filename="../src/as-component.c"
             line="852">Sets the #AsComponentKind of this component.</doc>
        <source-position filename="../src/as-component.h" line="185"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="cpt" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="854">a #AsComponent instance.</doc>
            <type name="Component" c:type="AsComponent*"/>
          </instance-parameter>
          <parameter name="value" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="855">the #AsComponentKind.</doc>
            <type name="ComponentKind" c:type="AsComponentKind"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_merge_kind"
              c:identifier="as_component_set_merge_kind"
              version="0.9.8">
        <doc xml:space="preserve"
             filename="../src/as-component.c"
             line="1817">Sets the #AsMergeKind for this component.</doc>
        <source-position filename="../src/as-component.h" line="324"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="cpt" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="1819">a #AsComponent instance.</doc>
            <type name="Component" c:type="AsComponent*"/>
          </instance-parameter>
          <parameter name="kind" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="1820">the #AsMergeKind.</doc>
            <type name="MergeKind" c:type="AsMergeKind"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_metadata_license"
              c:identifier="as_component_set_metadata_license">
        <doc xml:space="preserve"
             filename="../src/as-component.c"
             line="1441">Set the license this metadata is licensed under.</doc>
        <source-position filename="../src/as-component.h" line="227"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="cpt" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="1443">a #AsComponent instance.</doc>
            <type name="Component" c:type="AsComponent*"/>
          </instance-parameter>
          <parameter name="value" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="1444">the metadata license.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_name" c:identifier="as_component_set_name">
        <doc xml:space="preserve"
             filename="../src/as-component.c"
             line="1156">Set a human-readable name for this component.</doc>
        <source-position filename="../src/as-component.h" line="206"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="cpt" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="1158">A valid #AsComponent</doc>
            <type name="Component" c:type="AsComponent*"/>
          </instance-parameter>
          <parameter name="value" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="1159">The name</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="locale"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="1160">The locale the used for this value, or %NULL to use the current active one.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_name_variant_suffix"
              c:identifier="as_component_set_name_variant_suffix"
              version="0.12.10">
        <doc xml:space="preserve"
             filename="../src/as-component.c"
             line="1578">Set a variant suffix for the component name
(only to be displayed if components have the same name).</doc>
        <source-position filename="../src/as-component.h" line="359"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="cpt" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="1580">a #AsComponent instance.</doc>
            <type name="Component" c:type="AsComponent*"/>
          </instance-parameter>
          <parameter name="value" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="1581">the developer or developer team name</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="locale"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="1582">the locale, or %NULL. e.g. "en_GB"</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_origin" c:identifier="as_component_set_origin">
        <source-position filename="../src/as-component.h" line="189"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="cpt" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="1051">a #AsComponent instance.</doc>
            <type name="Component" c:type="AsComponent*"/>
          </instance-parameter>
          <parameter name="origin" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="1052">the origin.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_pkgnames" c:identifier="as_component_set_pkgnames">
        <doc xml:space="preserve"
             filename="../src/as-component.c"
             line="908">Set a list of package names this component consists of.
(This should usually be just one package name)</doc>
        <source-position filename="../src/as-component.h" line="198"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="cpt" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="910">a #AsComponent instance.</doc>
            <type name="Component" c:type="AsComponent*"/>
          </instance-parameter>
          <parameter name="packages" transfer-ownership="none">
            <array c:type="gchar**">
              <type name="utf8" c:type="gchar*"/>
            </array>
          </parameter>
        </parameters>
      </method>
      <method name="set_project_group"
              c:identifier="as_component_set_project_group">
        <doc xml:space="preserve"
             filename="../src/as-component.c"
             line="1503">Set the component's project group.</doc>
        <source-position filename="../src/as-component.h" line="235"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="cpt" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="1505">a #AsComponent instance.</doc>
            <type name="Component" c:type="AsComponent*"/>
          </instance-parameter>
          <parameter name="value" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="1506">the project group.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_project_license"
              c:identifier="as_component_set_project_license">
        <doc xml:space="preserve"
             filename="../src/as-component.c"
             line="1471">Set the project license.</doc>
        <source-position filename="../src/as-component.h" line="231"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="cpt" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="1473">a #AsComponent instance.</doc>
            <type name="Component" c:type="AsComponent*"/>
          </instance-parameter>
          <parameter name="value" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="1474">the project license.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_scope" c:identifier="as_component_set_scope">
        <doc xml:space="preserve"
             filename="../src/as-component.c"
             line="2069">Sets the #AsComponentScope of this component.</doc>
        <source-position filename="../src/as-component.h" line="193"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="cpt" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="2071">a #AsComponent instance.</doc>
            <type name="Component" c:type="AsComponent*"/>
          </instance-parameter>
          <parameter name="scope" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="2072">the #AsComponentKind.</doc>
            <type name="ComponentScope" c:type="AsComponentScope"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_source_pkgname"
              c:identifier="as_component_set_source_pkgname">
        <source-position filename="../src/as-component.h" line="202"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="cpt" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="941">a #AsComponent instance.</doc>
            <type name="Component" c:type="AsComponent*"/>
          </instance-parameter>
          <parameter name="spkgname" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="942">the source package name.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_summary" c:identifier="as_component_set_summary">
        <doc xml:space="preserve"
             filename="../src/as-component.c"
             line="1194">Set a short description for this component.</doc>
        <source-position filename="../src/as-component.h" line="211"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="cpt" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="1196">A valid #AsComponent</doc>
            <type name="Component" c:type="AsComponent*"/>
          </instance-parameter>
          <parameter name="value" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="1197">The summary</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="locale"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="1198">The locale the used for this value, or %NULL to use the current active one.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_value_flags"
              c:identifier="as_component_set_value_flags">
        <source-position filename="../src/as-component.h" line="169"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="cpt" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="2749">a #AsComponent instance.</doc>
            <type name="Component" c:type="AsComponent*"/>
          </instance-parameter>
          <parameter name="flags" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="2750">#AsValueFlags to set on @cpt.</doc>
            <type name="ValueFlags" c:type="AsValueFlags"/>
          </parameter>
        </parameters>
      </method>
      <method name="to_string" c:identifier="as_component_to_string">
        <doc xml:space="preserve"
             filename="../src/as-component.c"
             line="529">Returns a string identifying this component.
(useful for debugging)</doc>
        <source-position filename="../src/as-component.h" line="333"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="../src/as-component.c"
               line="536">A descriptive string</doc>
          <type name="utf8" c:type="gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="cpt" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="531">a #AsComponent instance.</doc>
            <type name="Component" c:type="AsComponent*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="to_xml_data"
              c:identifier="as_component_to_xml_data"
              version="0.12.10"
              throws="1">
        <doc xml:space="preserve"
             filename="../src/as-component.c"
             line="5327">Serialize this component into an XML string.
You normally do not want to use this method directly and instead use the more
convenient API of #AsMetadata to serialize components.</doc>
        <source-position filename="../src/as-component.h" line="371"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="../src/as-component.c"
               line="5337">%TRUE on success.</doc>
          <type name="utf8" c:type="gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="cpt" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="5329">an #AsComponent instance.</doc>
            <type name="Component" c:type="AsComponent*"/>
          </instance-parameter>
          <parameter name="context" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="5330">an #AsContext instance.</doc>
            <type name="Context" c:type="AsContext*"/>
          </parameter>
        </parameters>
      </method>
      <property name="categories" transfer-ownership="none">
        <doc xml:space="preserve"
             filename="../src/as-component.c"
             line="5572">string array of categories</doc>
        <array name="GLib.PtrArray">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </property>
      <property name="description" writable="1" transfer-ownership="none">
        <doc xml:space="preserve"
             filename="../src/as-component.c"
             line="5540">the description</doc>
        <type name="utf8" c:type="gchar*"/>
      </property>
      <property name="developer-name" writable="1" transfer-ownership="none">
        <doc xml:space="preserve"
             filename="../src/as-component.c"
             line="5596">the developer name</doc>
        <type name="utf8" c:type="gchar*"/>
      </property>
      <property name="icons" transfer-ownership="none">
        <doc xml:space="preserve"
             filename="../src/as-component.c"
             line="5556">hash map of icon urls and sizes</doc>
        <type name="GLib.List" c:type="gpointer">
          <type name="Icon"/>
        </type>
      </property>
      <property name="id" writable="1" transfer-ownership="none">
        <doc xml:space="preserve"
             filename="../src/as-component.c"
             line="5516">the unique identifier</doc>
        <type name="utf8" c:type="gchar*"/>
      </property>
      <property name="keywords" writable="1" transfer-ownership="none">
        <doc xml:space="preserve"
             filename="../src/as-component.c"
             line="5548">string array of keywords</doc>
        <array>
          <type name="utf8"/>
        </array>
      </property>
      <property name="kind" writable="1" transfer-ownership="none">
        <doc xml:space="preserve"
             filename="../src/as-component.c"
             line="5500">the #AsComponentKind of this component</doc>
        <type name="ComponentKind"/>
      </property>
      <property name="name" writable="1" transfer-ownership="none">
        <doc xml:space="preserve"
             filename="../src/as-component.c"
             line="5524">the name</doc>
        <type name="utf8" c:type="gchar*"/>
      </property>
      <property name="pkgnames" writable="1" transfer-ownership="none">
        <doc xml:space="preserve"
             filename="../src/as-component.c"
             line="5508">string array of packages name</doc>
        <array>
          <type name="utf8"/>
        </array>
      </property>
      <property name="project-group" writable="1" transfer-ownership="none">
        <doc xml:space="preserve"
             filename="../src/as-component.c"
             line="5588">the project group</doc>
        <type name="utf8" c:type="gchar*"/>
      </property>
      <property name="project-license" writable="1" transfer-ownership="none">
        <doc xml:space="preserve"
             filename="../src/as-component.c"
             line="5580">the project license</doc>
        <type name="utf8" c:type="gchar*"/>
      </property>
      <property name="screenshots" transfer-ownership="none">
        <doc xml:space="preserve"
             filename="../src/as-component.c"
             line="5604">An array of #AsScreenshot instances</doc>
        <array name="GLib.PtrArray">
          <type name="Screenshot"/>
        </array>
      </property>
      <property name="summary" writable="1" transfer-ownership="none">
        <doc xml:space="preserve"
             filename="../src/as-component.c"
             line="5532">the summary</doc>
        <type name="utf8" c:type="gchar*"/>
      </property>
      <property name="urls" transfer-ownership="none">
        <doc xml:space="preserve"
             filename="../src/as-component.c"
             line="5564">the urls associated with this component</doc>
        <type name="GLib.HashTable">
          <type name="UrlKind"/>
          <type name="utf8"/>
        </type>
      </property>
      <field name="parent_instance">
        <type name="GObject.Object" c:type="GObject"/>
      </field>
    </class>
    <record name="ComponentClass"
            c:type="AsComponentClass"
            glib:is-gtype-struct-for="Component">
      <source-position filename="../src/as-component.h" line="59"/>
      <field name="parent_class">
        <type name="GObject.ObjectClass" c:type="GObjectClass"/>
      </field>
      <field name="_as_reserved1" introspectable="0">
        <callback name="_as_reserved1">
          <source-position filename="../src/as-component.h" line="53"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_as_reserved2" introspectable="0">
        <callback name="_as_reserved2">
          <source-position filename="../src/as-component.h" line="54"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_as_reserved3" introspectable="0">
        <callback name="_as_reserved3">
          <source-position filename="../src/as-component.h" line="55"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_as_reserved4" introspectable="0">
        <callback name="_as_reserved4">
          <source-position filename="../src/as-component.h" line="56"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_as_reserved5" introspectable="0">
        <callback name="_as_reserved5">
          <source-position filename="../src/as-component.h" line="57"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_as_reserved6" introspectable="0">
        <callback name="_as_reserved6">
          <source-position filename="../src/as-component.h" line="58"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
    </record>
    <enumeration name="ComponentKind"
                 glib:type-name="AsComponentKind"
                 glib:get-type="as_component_kind_get_type"
                 c:type="AsComponentKind">
      <doc xml:space="preserve"
           filename="../src/as-component.h"
           line="61">The type of an #AsComponent.</doc>
      <member name="unknown"
              value="0"
              c:identifier="AS_COMPONENT_KIND_UNKNOWN"
              glib:nick="unknown">
        <doc xml:space="preserve"
             filename="../src/as-component.h"
             line="63">Type invalid or not known</doc>
      </member>
      <member name="generic"
              value="1"
              c:identifier="AS_COMPONENT_KIND_GENERIC"
              glib:nick="generic">
        <doc xml:space="preserve"
             filename="../src/as-component.h"
             line="64">A generic (= without specialized type) component</doc>
      </member>
      <member name="desktop_app"
              value="2"
              c:identifier="AS_COMPONENT_KIND_DESKTOP_APP"
              glib:nick="desktop-app">
        <doc xml:space="preserve"
             filename="../src/as-component.h"
             line="65">An application with a .desktop-file</doc>
      </member>
      <member name="console_app"
              value="3"
              c:identifier="AS_COMPONENT_KIND_CONSOLE_APP"
              glib:nick="console-app">
        <doc xml:space="preserve"
             filename="../src/as-component.h"
             line="66">A console application</doc>
      </member>
      <member name="web_app"
              value="4"
              c:identifier="AS_COMPONENT_KIND_WEB_APP"
              glib:nick="web-app">
        <doc xml:space="preserve"
             filename="../src/as-component.h"
             line="67">A web application</doc>
      </member>
      <member name="addon"
              value="5"
              c:identifier="AS_COMPONENT_KIND_ADDON"
              glib:nick="addon">
        <doc xml:space="preserve"
             filename="../src/as-component.h"
             line="68">An extension of existing software, which does not run standalone</doc>
      </member>
      <member name="font"
              value="6"
              c:identifier="AS_COMPONENT_KIND_FONT"
              glib:nick="font">
        <doc xml:space="preserve"
             filename="../src/as-component.h"
             line="69">A font</doc>
      </member>
      <member name="codec"
              value="7"
              c:identifier="AS_COMPONENT_KIND_CODEC"
              glib:nick="codec">
        <doc xml:space="preserve"
             filename="../src/as-component.h"
             line="70">A multimedia codec</doc>
      </member>
      <member name="inputmethod"
              value="8"
              c:identifier="AS_COMPONENT_KIND_INPUTMETHOD"
              glib:nick="inputmethod">
        <doc xml:space="preserve"
             filename="../src/as-component.h"
             line="71">An input-method provider</doc>
      </member>
      <member name="firmware"
              value="9"
              c:identifier="AS_COMPONENT_KIND_FIRMWARE"
              glib:nick="firmware">
        <doc xml:space="preserve"
             filename="../src/as-component.h"
             line="72">Firmware</doc>
      </member>
      <member name="driver"
              value="10"
              c:identifier="AS_COMPONENT_KIND_DRIVER"
              glib:nick="driver">
        <doc xml:space="preserve"
             filename="../src/as-component.h"
             line="73">A driver</doc>
      </member>
      <member name="localization"
              value="11"
              c:identifier="AS_COMPONENT_KIND_LOCALIZATION"
              glib:nick="localization">
        <doc xml:space="preserve"
             filename="../src/as-component.h"
             line="74">Software localization (usually l10n resources)</doc>
      </member>
      <member name="service"
              value="12"
              c:identifier="AS_COMPONENT_KIND_SERVICE"
              glib:nick="service">
        <doc xml:space="preserve"
             filename="../src/as-component.h"
             line="75">A system service launched by the init system</doc>
      </member>
      <member name="repository"
              value="13"
              c:identifier="AS_COMPONENT_KIND_REPOSITORY"
              glib:nick="repository">
        <doc xml:space="preserve"
             filename="../src/as-component.h"
             line="76">A remote software or data source</doc>
      </member>
      <member name="operating_system"
              value="14"
              c:identifier="AS_COMPONENT_KIND_OPERATING_SYSTEM"
              glib:nick="operating-system">
        <doc xml:space="preserve"
             filename="../src/as-component.h"
             line="77">A computer operating system</doc>
      </member>
      <member name="icon_theme"
              value="15"
              c:identifier="AS_COMPONENT_KIND_ICON_THEME"
              glib:nick="icon-theme">
        <doc xml:space="preserve"
             filename="../src/as-component.h"
             line="78">An icon theme following the XDG specification</doc>
      </member>
      <member name="runtime"
              value="16"
              c:identifier="AS_COMPONENT_KIND_RUNTIME"
              glib:nick="runtime">
        <doc xml:space="preserve"
             filename="../src/as-component.h"
             line="79">An application runtime platform</doc>
      </member>
      <function name="from_string"
                c:identifier="as_component_kind_from_string">
        <doc xml:space="preserve"
             filename="../src/as-component.c"
             line="241">Converts the text representation to an enumerated value.</doc>
        <source-position filename="../src/as-component.h" line="108"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-component.c"
               line="247">a #AsComponentKind or %AS_COMPONENT_KIND_UNKNOWN for unknown</doc>
          <type name="ComponentKind" c:type="AsComponentKind"/>
        </return-value>
        <parameters>
          <parameter name="kind_str" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="243">the string.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </function>
      <function name="to_string" c:identifier="as_component_kind_to_string">
        <doc xml:space="preserve"
             filename="../src/as-component.c"
             line="195">Converts the enumerated value to an text representation.</doc>
        <source-position filename="../src/as-component.h" line="107"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-component.c"
               line="201">string version of @kind</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <parameter name="kind" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-component.c"
                 line="197">the #AsComponentKind.</doc>
            <type name="ComponentKind" c:type="AsComponentKind"/>
          </parameter>
        </parameters>
      </function>
    </enumeration>
    <enumeration name="ComponentScope" c:type="AsComponentScope">
      <doc xml:space="preserve"
           filename="../src/as-component.h"
           line="132">Scope of the #AsComponent (system-wide or user-scope)</doc>
      <source-position filename="../src/as-component.h" line="146"/>
      <member name="unknown"
              value="0"
              c:identifier="AS_COMPONENT_SCOPE_UNKNOWN">
        <doc xml:space="preserve"
             filename="../src/as-component.h"
             line="134">Unknown scope</doc>
      </member>
      <member name="system" value="1" c:identifier="AS_COMPONENT_SCOPE_SYSTEM">
        <doc xml:space="preserve"
             filename="../src/as-component.h"
             line="135">System scope</doc>
      </member>
      <member name="user" value="2" c:identifier="AS_COMPONENT_SCOPE_USER">
        <doc xml:space="preserve"
             filename="../src/as-component.h"
             line="136">User scope</doc>
      </member>
    </enumeration>
    <class name="ContentRating"
           c:symbol-prefix="content_rating"
           c:type="AsContentRating"
           parent="GObject.Object"
           glib:type-name="AsContentRating"
           glib:get-type="as_content_rating_get_type"
           glib:type-struct="ContentRatingClass">
      <source-position filename="../src/as-content-rating.h" line="47"/>
      <constructor name="new"
                   c:identifier="as_content_rating_new"
                   version="0.11.0">
        <doc xml:space="preserve"
             filename="../src/as-content-rating.c"
             line="585">Creates a new #AsContentRating.</doc>
        <source-position filename="../src/as-content-rating.h" line="77"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="../src/as-content-rating.c"
               line="590">a #AsContentRating</doc>
          <type name="ContentRating" c:type="AsContentRating*"/>
        </return-value>
      </constructor>
      <function name="attribute_to_csm_age"
                c:identifier="as_content_rating_attribute_to_csm_age"
                version="0.12.10">
        <doc xml:space="preserve"
             filename="../src/as-content-rating.c"
             line="306">Gets the Common Sense Media approved age for a specific rating level.</doc>
        <source-position filename="../src/as-content-rating.h" line="72"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-content-rating.c"
               line="313">The age in years, or 0 for no details.</doc>
          <type name="guint" c:type="guint"/>
        </return-value>
        <parameters>
          <parameter name="id" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-content-rating.c"
                 line="308">the subsection ID e.g. `violence-cartoon`</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="value" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-content-rating.c"
                 line="309">the #AsContentRatingValue, e.g. %AS_CONTENT_RATING_VALUE_INTENSE</doc>
            <type name="ContentRatingValue" c:type="AsContentRatingValue"/>
          </parameter>
        </parameters>
      </function>
      <function name="get_all_rating_ids"
                c:identifier="as_content_rating_get_all_rating_ids"
                version="0.12.10">
        <doc xml:space="preserve"
             filename="../src/as-content-rating.c"
             line="347">Returns a list of all the valid OARS content rating attribute IDs as could
be passed to as_content_rating_add_attribute() or
as_content_rating_attribute_to_csm_age().</doc>
        <source-position filename="../src/as-content-rating.h" line="75"/>
        <return-value transfer-ownership="container">
          <doc xml:space="preserve"
               filename="../src/as-content-rating.c"
               line="354">a %NULL-terminated
   array of IDs, to be freed with g_free() (the element values are owned by
   libappstream-glib and must not be freed)</doc>
          <array c:type="const gchar**">
            <type name="utf8"/>
          </array>
        </return-value>
      </function>
      <function name="value_from_string"
                c:identifier="as_content_rating_value_from_string"
                version="0.11.0">
        <doc xml:space="preserve"
             filename="../src/as-content-rating.c"
             line="226">Converts the text representation to an enumerated value.</doc>
        <source-position filename="../src/as-content-rating.h" line="70"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-content-rating.c"
               line="232">a #AsContentRatingValue or %AS_CONTENT_RATING_VALUE_UNKNOWN for unknown</doc>
          <type name="ContentRatingValue" c:type="AsContentRatingValue"/>
        </return-value>
        <parameters>
          <parameter name="value" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-content-rating.c"
                 line="228">the string.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </function>
      <function name="value_to_string"
                c:identifier="as_content_rating_value_to_string"
                version="0.11.0">
        <doc xml:space="preserve"
             filename="../src/as-content-rating.c"
             line="202">Converts the enumerated value to an text representation.</doc>
        <source-position filename="../src/as-content-rating.h" line="69"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-content-rating.c"
               line="208">string version of @value</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <parameter name="value" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-content-rating.c"
                 line="204">the #AsContentRatingValue.</doc>
            <type name="ContentRatingValue" c:type="AsContentRatingValue"/>
          </parameter>
        </parameters>
      </function>
      <method name="get_kind"
              c:identifier="as_content_rating_get_kind"
              version="0.11.0">
        <doc xml:space="preserve"
             filename="../src/as-content-rating.c"
             line="413">Gets the content_rating kind.</doc>
        <source-position filename="../src/as-content-rating.h" line="79"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-content-rating.c"
               line="419">a string, e.g. "oars-1.0", or NULL</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="content_rating" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-content-rating.c"
                 line="415">a #AsContentRating instance.</doc>
            <type name="ContentRating" c:type="AsContentRating*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_minimum_age"
              c:identifier="as_content_rating_get_minimum_age"
              version="0.11.0">
        <doc xml:space="preserve"
             filename="../src/as-content-rating.c"
             line="371">Gets the lowest Common Sense Media approved age for the content_rating block.
NOTE: these numbers are based on the data and descriptions available from
https://www.commonsensemedia.org/about-us/our-mission/about-our-ratings and
you may disagree with them.

You're free to disagree with these, and of course you should use your own
brain to work our if your child is able to cope with the concepts enumerated
here. Some 13 year olds may be fine with the concept of mutilation of body
parts; others may get nightmares.</doc>
        <source-position filename="../src/as-content-rating.h" line="83"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-content-rating.c"
               line="385">The age in years, 0 for no rating, or G_MAXUINT for no details.</doc>
          <type name="guint" c:type="guint"/>
        </return-value>
        <parameters>
          <instance-parameter name="content_rating" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-content-rating.c"
                 line="373">a #AsContentRating</doc>
            <type name="ContentRating" c:type="AsContentRating*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_rating_ids"
              c:identifier="as_content_rating_get_rating_ids"
              version="0.12.10">
        <doc xml:space="preserve"
             filename="../src/as-content-rating.c"
             line="106">Gets the set of ratings IDs which are present in this @content_rating. An
example of a ratings ID is `violence-bloodshed`.

The IDs are returned in lexicographical order.</doc>
        <source-position filename="../src/as-content-rating.h" line="91"/>
        <return-value transfer-ownership="container">
          <doc xml:space="preserve"
               filename="../src/as-content-rating.c"
               line="115">%NULL-terminated
   array of ratings IDs; each ratings ID is owned by the #AsContentRating and
   must not be freed, but the container must be freed with g_free()</doc>
          <array c:type="const gchar**">
            <type name="utf8"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="content_rating" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-content-rating.c"
                 line="108">a #AsContentRating</doc>
            <type name="ContentRating" c:type="AsContentRating*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_value"
              c:identifier="as_content_rating_get_value"
              version="0.11.0">
        <doc xml:space="preserve"
             filename="../src/as-content-rating.c"
             line="166">Gets the value of a content rating key.</doc>
        <source-position filename="../src/as-content-rating.h" line="85"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-content-rating.c"
               line="173">the #AsContentRatingValue, or %AS_CONTENT_RATING_VALUE_UNKNOWN</doc>
          <type name="ContentRatingValue" c:type="AsContentRatingValue"/>
        </return-value>
        <parameters>
          <instance-parameter name="content_rating" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-content-rating.c"
                 line="168">a #AsContentRating</doc>
            <type name="ContentRating" c:type="AsContentRating*"/>
          </instance-parameter>
          <parameter name="id" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-content-rating.c"
                 line="169">A ratings ID, e.g. `violence-bloodshed`.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_kind"
              c:identifier="as_content_rating_set_kind"
              version="0.11.0">
        <doc xml:space="preserve"
             filename="../src/as-content-rating.c"
             line="431">Sets the content rating kind.</doc>
        <source-position filename="../src/as-content-rating.h" line="80"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="content_rating" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-content-rating.c"
                 line="433">a #AsContentRating instance.</doc>
            <type name="ContentRating" c:type="AsContentRating*"/>
          </instance-parameter>
          <parameter name="kind" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-content-rating.c"
                 line="434">the rating kind, e.g. "oars-1.0"</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_value"
              c:identifier="as_content_rating_set_value"
              version="0.11.0">
        <doc xml:space="preserve"
             filename="../src/as-content-rating.c"
             line="141">Sets the value of a content rating key.</doc>
        <source-position filename="../src/as-content-rating.h" line="87"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="content_rating" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-content-rating.c"
                 line="143">a #AsContentRating</doc>
            <type name="ContentRating" c:type="AsContentRating*"/>
          </instance-parameter>
          <parameter name="id" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-content-rating.c"
                 line="144">A ratings ID, e.g. `violence-bloodshed`.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="value" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-content-rating.c"
                 line="145">A #AsContentRatingValue, e.g. %AS_CONTENT_RATING_VALUE_INTENSE</doc>
            <type name="ContentRatingValue" c:type="AsContentRatingValue"/>
          </parameter>
        </parameters>
      </method>
      <field name="parent_instance">
        <type name="GObject.Object" c:type="GObject"/>
      </field>
    </class>
    <record name="ContentRatingClass"
            c:type="AsContentRatingClass"
            glib:is-gtype-struct-for="ContentRating">
      <source-position filename="../src/as-content-rating.h" line="47"/>
      <field name="parent_class">
        <type name="GObject.ObjectClass" c:type="GObjectClass"/>
      </field>
      <field name="_as_reserved1" introspectable="0">
        <callback name="_as_reserved1">
          <source-position filename="../src/as-content-rating.h" line="41"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_as_reserved2" introspectable="0">
        <callback name="_as_reserved2">
          <source-position filename="../src/as-content-rating.h" line="42"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_as_reserved3" introspectable="0">
        <callback name="_as_reserved3">
          <source-position filename="../src/as-content-rating.h" line="43"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_as_reserved4" introspectable="0">
        <callback name="_as_reserved4">
          <source-position filename="../src/as-content-rating.h" line="44"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_as_reserved5" introspectable="0">
        <callback name="_as_reserved5">
          <source-position filename="../src/as-content-rating.h" line="45"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_as_reserved6" introspectable="0">
        <callback name="_as_reserved6">
          <source-position filename="../src/as-content-rating.h" line="46"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
    </record>
    <enumeration name="ContentRatingValue" c:type="AsContentRatingValue">
      <doc xml:space="preserve"
           filename="../src/as-content-rating.h"
           line="49">The specified level of an content_rating rating ID.</doc>
      <source-position filename="../src/as-content-rating.h" line="67"/>
      <member name="unknown"
              value="0"
              c:identifier="AS_CONTENT_RATING_VALUE_UNKNOWN">
        <doc xml:space="preserve"
             filename="../src/as-content-rating.h"
             line="51">Unknown value</doc>
      </member>
      <member name="none"
              value="1"
              c:identifier="AS_CONTENT_RATING_VALUE_NONE">
        <doc xml:space="preserve"
             filename="../src/as-content-rating.h"
             line="52">None</doc>
      </member>
      <member name="mild"
              value="2"
              c:identifier="AS_CONTENT_RATING_VALUE_MILD">
        <doc xml:space="preserve"
             filename="../src/as-content-rating.h"
             line="53">A small amount</doc>
      </member>
      <member name="moderate"
              value="3"
              c:identifier="AS_CONTENT_RATING_VALUE_MODERATE">
        <doc xml:space="preserve"
             filename="../src/as-content-rating.h"
             line="54">A moderate amount</doc>
      </member>
      <member name="intense"
              value="4"
              c:identifier="AS_CONTENT_RATING_VALUE_INTENSE">
        <doc xml:space="preserve"
             filename="../src/as-content-rating.h"
             line="55">An intense amount</doc>
      </member>
    </enumeration>
    <class name="Context"
           c:symbol-prefix="context"
           c:type="AsContext"
           parent="GObject.Object"
           glib:type-name="AsContext"
           glib:get-type="as_context_get_type"
           glib:type-struct="ContextClass">
      <source-position filename="../src/as-context.h" line="45"/>
      <constructor name="new" c:identifier="as_context_new">
        <doc xml:space="preserve"
             filename="../src/as-context.c"
             line="556">Creates a new #AsContext.</doc>
        <source-position filename="../src/as-context.h" line="115"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="../src/as-context.c"
               line="561">an #AsContext</doc>
          <type name="Context" c:type="AsContext*"/>
        </return-value>
      </constructor>
      <method name="get_filename" c:identifier="as_context_get_filename">
        <source-position filename="../src/as-context.h" line="144"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-context.c"
               line="425">The name of the file the data originates from.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="ctx" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-context.c"
                 line="423">a #AsContext instance.</doc>
            <type name="Context" c:type="AsContext*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_format_version"
              c:identifier="as_context_get_format_version">
        <source-position filename="../src/as-context.h" line="117"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-context.c"
               line="199">The AppStream format version.</doc>
          <type name="FormatVersion" c:type="AsFormatVersion"/>
        </return-value>
        <parameters>
          <instance-parameter name="ctx" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-context.c"
                 line="197">a #AsContext instance.</doc>
            <type name="Context" c:type="AsContext*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_locale" c:identifier="as_context_get_locale">
        <source-position filename="../src/as-context.h" line="133"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-context.c"
               line="308">The active locale.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="ctx" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-context.c"
                 line="306">a #AsContext instance.</doc>
            <type name="Context" c:type="AsContext*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_locale_all_enabled"
              c:identifier="as_context_get_locale_all_enabled">
        <source-position filename="../src/as-context.h" line="142"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-context.c"
               line="343">%TRUE if all locale should be parsed.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="ctx" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-context.c"
                 line="341">a #AsContext instance.</doc>
            <type name="Context" c:type="AsContext*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_media_baseurl"
              c:identifier="as_context_get_media_baseurl">
        <source-position filename="../src/as-context.h" line="138"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-context.c"
               line="369">The media base URL.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="ctx" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-context.c"
                 line="367">a #AsContext instance.</doc>
            <type name="Context" c:type="AsContext*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_origin" c:identifier="as_context_get_origin">
        <source-position filename="../src/as-context.h" line="129"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-context.c"
               line="280">The data origin.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="ctx" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-context.c"
                 line="278">a #AsContext instance.</doc>
            <type name="Context" c:type="AsContext*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_priority" c:identifier="as_context_get_priority">
        <source-position filename="../src/as-context.h" line="125"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-context.c"
               line="253">The data priority.</doc>
          <type name="gint" c:type="gint"/>
        </return-value>
        <parameters>
          <instance-parameter name="ctx" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-context.c"
                 line="251">a #AsContext instance.</doc>
            <type name="Context" c:type="AsContext*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_style" c:identifier="as_context_get_style">
        <source-position filename="../src/as-context.h" line="121"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-context.c"
               line="226">The document style.</doc>
          <type name="FormatStyle" c:type="AsFormatStyle"/>
        </return-value>
        <parameters>
          <instance-parameter name="ctx" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-context.c"
                 line="224">a #AsContext instance.</doc>
            <type name="Context" c:type="AsContext*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="has_media_baseurl"
              c:identifier="as_context_has_media_baseurl">
        <source-position filename="../src/as-context.h" line="137"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-context.c"
               line="356">%TRUE if a media base URL is set.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="ctx" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-context.c"
                 line="354">a #AsContext instance.</doc>
            <type name="Context" c:type="AsContext*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="set_filename" c:identifier="as_context_set_filename">
        <doc xml:space="preserve"
             filename="../src/as-context.c"
             line="434">Sets the file name we are loading data from.</doc>
        <source-position filename="../src/as-context.h" line="145"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="ctx" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-context.c"
                 line="436">a #AsContext instance.</doc>
            <type name="Context" c:type="AsContext*"/>
          </instance-parameter>
          <parameter name="fname" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-context.c"
                 line="437">the new file name.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_format_version"
              c:identifier="as_context_set_format_version">
        <doc xml:space="preserve"
             filename="../src/as-context.c"
             line="208">Sets the AppStream format version.</doc>
        <source-position filename="../src/as-context.h" line="118"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="ctx" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-context.c"
                 line="210">a #AsContext instance.</doc>
            <type name="Context" c:type="AsContext*"/>
          </instance-parameter>
          <parameter name="ver" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-context.c"
                 line="211">the new format version.</doc>
            <type name="FormatVersion" c:type="AsFormatVersion"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_locale" c:identifier="as_context_set_locale">
        <doc xml:space="preserve"
             filename="../src/as-context.c"
             line="317">Sets the active locale.</doc>
        <source-position filename="../src/as-context.h" line="134"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="ctx" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-context.c"
                 line="319">a #AsContext instance.</doc>
            <type name="Context" c:type="AsContext*"/>
          </instance-parameter>
          <parameter name="value" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-context.c"
                 line="320">the new value.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_media_baseurl"
              c:identifier="as_context_set_media_baseurl">
        <doc xml:space="preserve"
             filename="../src/as-context.c"
             line="378">Sets the media base URL.</doc>
        <source-position filename="../src/as-context.h" line="139"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="ctx" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-context.c"
                 line="380">a #AsContext instance.</doc>
            <type name="Context" c:type="AsContext*"/>
          </instance-parameter>
          <parameter name="value" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-context.c"
                 line="381">the new value.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_origin" c:identifier="as_context_set_origin">
        <doc xml:space="preserve"
             filename="../src/as-context.c"
             line="289">Sets the data origin.</doc>
        <source-position filename="../src/as-context.h" line="130"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="ctx" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-context.c"
                 line="291">a #AsContext instance.</doc>
            <type name="Context" c:type="AsContext*"/>
          </instance-parameter>
          <parameter name="value" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-context.c"
                 line="292">the new value.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_priority" c:identifier="as_context_set_priority">
        <doc xml:space="preserve"
             filename="../src/as-context.c"
             line="262">Sets the data priority.</doc>
        <source-position filename="../src/as-context.h" line="126"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="ctx" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-context.c"
                 line="264">a #AsContext instance.</doc>
            <type name="Context" c:type="AsContext*"/>
          </instance-parameter>
          <parameter name="priority" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-context.c"
                 line="265">the new priority.</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_style" c:identifier="as_context_set_style">
        <doc xml:space="preserve"
             filename="../src/as-context.c"
             line="235">Sets the AppStream document style.</doc>
        <source-position filename="../src/as-context.h" line="122"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="ctx" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-context.c"
                 line="237">a #AsContext instance.</doc>
            <type name="Context" c:type="AsContext*"/>
          </instance-parameter>
          <parameter name="style" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-context.c"
                 line="238">the new document style.</doc>
            <type name="FormatStyle" c:type="AsFormatStyle"/>
          </parameter>
        </parameters>
      </method>
      <field name="parent_instance">
        <type name="GObject.Object" c:type="GObject"/>
      </field>
    </class>
    <record name="ContextClass"
            c:type="AsContextClass"
            glib:is-gtype-struct-for="Context">
      <source-position filename="../src/as-context.h" line="45"/>
      <field name="parent_class">
        <type name="GObject.ObjectClass" c:type="GObjectClass"/>
      </field>
      <field name="_as_reserved1" introspectable="0">
        <callback name="_as_reserved1">
          <source-position filename="../src/as-context.h" line="39"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_as_reserved2" introspectable="0">
        <callback name="_as_reserved2">
          <source-position filename="../src/as-context.h" line="40"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_as_reserved3" introspectable="0">
        <callback name="_as_reserved3">
          <source-position filename="../src/as-context.h" line="41"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_as_reserved4" introspectable="0">
        <callback name="_as_reserved4">
          <source-position filename="../src/as-context.h" line="42"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_as_reserved5" introspectable="0">
        <callback name="_as_reserved5">
          <source-position filename="../src/as-context.h" line="43"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_as_reserved6" introspectable="0">
        <callback name="_as_reserved6">
          <source-position filename="../src/as-context.h" line="44"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
    </record>
    <class name="DistroDetails"
           c:symbol-prefix="distro_details"
           c:type="AsDistroDetails"
           parent="GObject.Object"
           glib:type-name="AsDistroDetails"
           glib:get-type="as_distro_details_get_type"
           glib:type-struct="DistroDetailsClass">
      <source-position filename="../src/as-distro-details.h" line="45"/>
      <constructor name="new" c:identifier="as_distro_details_new">
        <doc xml:space="preserve"
             filename="../src/as-distro-details.c"
             line="331">Creates a new instance of #AsDistroDetails.</doc>
        <source-position filename="../src/as-distro-details.h" line="47"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="../src/as-distro-details.c"
               line="336">a #AsDistroDetails.</doc>
          <type name="DistroDetails" c:type="AsDistroDetails*"/>
        </return-value>
      </constructor>
      <method name="get_bool" c:identifier="as_distro_details_get_bool">
        <source-position filename="../src/as-distro-details.h" line="57"/>
        <return-value transfer-ownership="none">
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="distro" transfer-ownership="none">
            <type name="DistroDetails" c:type="AsDistroDetails*"/>
          </instance-parameter>
          <parameter name="key" transfer-ownership="none">
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="default_val" transfer-ownership="none">
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_cid" c:identifier="as_distro_details_get_cid">
        <source-position filename="../src/as-distro-details.h" line="50"/>
        <return-value transfer-ownership="none">
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="distro" transfer-ownership="none">
            <type name="DistroDetails" c:type="AsDistroDetails*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_homepage"
              c:identifier="as_distro_details_get_homepage">
        <source-position filename="../src/as-distro-details.h" line="53"/>
        <return-value transfer-ownership="none">
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="distro" transfer-ownership="none">
            <type name="DistroDetails" c:type="AsDistroDetails*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_id" c:identifier="as_distro_details_get_id">
        <source-position filename="../src/as-distro-details.h" line="49"/>
        <return-value transfer-ownership="none">
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="distro" transfer-ownership="none">
            <type name="DistroDetails" c:type="AsDistroDetails*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_name" c:identifier="as_distro_details_get_name">
        <source-position filename="../src/as-distro-details.h" line="51"/>
        <return-value transfer-ownership="none">
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="distro" transfer-ownership="none">
            <type name="DistroDetails" c:type="AsDistroDetails*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_str" c:identifier="as_distro_details_get_str">
        <source-position filename="../src/as-distro-details.h" line="55"/>
        <return-value transfer-ownership="full">
          <type name="utf8" c:type="gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="distro" transfer-ownership="none">
            <type name="DistroDetails" c:type="AsDistroDetails*"/>
          </instance-parameter>
          <parameter name="key" transfer-ownership="none">
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_version" c:identifier="as_distro_details_get_version">
        <source-position filename="../src/as-distro-details.h" line="52"/>
        <return-value transfer-ownership="none">
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="distro" transfer-ownership="none">
            <type name="DistroDetails" c:type="AsDistroDetails*"/>
          </instance-parameter>
        </parameters>
      </method>
      <property name="homepage" transfer-ownership="none">
        <type name="utf8" c:type="gchar*"/>
      </property>
      <property name="id" transfer-ownership="none">
        <type name="utf8" c:type="gchar*"/>
      </property>
      <property name="name" transfer-ownership="none">
        <type name="utf8" c:type="gchar*"/>
      </property>
      <property name="version" transfer-ownership="none">
        <type name="utf8" c:type="gchar*"/>
      </property>
      <field name="parent_instance">
        <type name="GObject.Object" c:type="GObject"/>
      </field>
    </class>
    <record name="DistroDetailsClass"
            c:type="AsDistroDetailsClass"
            glib:is-gtype-struct-for="DistroDetails">
      <source-position filename="../src/as-distro-details.h" line="45"/>
      <field name="parent_class">
        <type name="GObject.ObjectClass" c:type="GObjectClass"/>
      </field>
      <field name="_as_reserved1" introspectable="0">
        <callback name="_as_reserved1">
          <source-position filename="../src/as-distro-details.h" line="39"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_as_reserved2" introspectable="0">
        <callback name="_as_reserved2">
          <source-position filename="../src/as-distro-details.h" line="40"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_as_reserved3" introspectable="0">
        <callback name="_as_reserved3">
          <source-position filename="../src/as-distro-details.h" line="41"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_as_reserved4" introspectable="0">
        <callback name="_as_reserved4">
          <source-position filename="../src/as-distro-details.h" line="42"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_as_reserved5" introspectable="0">
        <callback name="_as_reserved5">
          <source-position filename="../src/as-distro-details.h" line="43"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_as_reserved6" introspectable="0">
        <callback name="_as_reserved6">
          <source-position filename="../src/as-distro-details.h" line="44"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
    </record>
    <enumeration name="FormatKind" c:type="AsFormatKind">
      <doc xml:space="preserve"
           filename="../src/as-context.h"
           line="65">Format of the AppStream metadata.</doc>
      <source-position filename="../src/as-context.h" line="81"/>
      <member name="unknown" value="0" c:identifier="AS_FORMAT_KIND_UNKNOWN">
        <doc xml:space="preserve"
             filename="../src/as-context.h"
             line="67">Unknown metadata format.</doc>
      </member>
      <member name="xml" value="1" c:identifier="AS_FORMAT_KIND_XML">
        <doc xml:space="preserve"
             filename="../src/as-context.h"
             line="68">AppStream XML metadata.</doc>
      </member>
      <member name="yaml" value="2" c:identifier="AS_FORMAT_KIND_YAML">
        <doc xml:space="preserve"
             filename="../src/as-context.h"
             line="69">AppStream YAML (DEP-11) metadata.</doc>
      </member>
      <member name="desktop_entry"
              value="3"
              c:identifier="AS_FORMAT_KIND_DESKTOP_ENTRY">
        <doc xml:space="preserve"
             filename="../src/as-context.h"
             line="70">XDG Desktop Entry data.</doc>
      </member>
    </enumeration>
    <enumeration name="FormatStyle" c:type="AsFormatStyle">
      <doc xml:space="preserve"
           filename="../src/as-context.h"
           line="47">There are a few differences between AppStream's metainfo files (shipped by upstream projects)
and the collection metadata (shipped by distributors).
The data source kind indicates which style we should process.
Usually you do not want to set this explicitly.</doc>
      <source-position filename="../src/as-context.h" line="63"/>
      <member name="unknown" value="0" c:identifier="AS_FORMAT_STYLE_UNKNOWN">
      </member>
      <member name="metainfo"
              value="1"
              c:identifier="AS_FORMAT_STYLE_METAINFO">
        <doc xml:space="preserve"
             filename="../src/as-context.h"
             line="49">Parse AppStream upstream metadata (metainfo files)</doc>
      </member>
      <member name="collection"
              value="2"
              c:identifier="AS_FORMAT_STYLE_COLLECTION">
        <doc xml:space="preserve"
             filename="../src/as-context.h"
             line="50">Parse AppStream metadata collections (shipped by software distributors)</doc>
      </member>
    </enumeration>
    <enumeration name="FormatVersion" c:type="AsFormatVersion">
      <doc xml:space="preserve"
           filename="../src/as-context.h"
           line="86">Format version / API level of the AppStream metadata.</doc>
      <source-position filename="../src/as-context.h" line="108"/>
      <member name="v0_6" value="0" c:identifier="AS_FORMAT_VERSION_V0_6">
        <doc xml:space="preserve"
             filename="../src/as-context.h"
             line="88">0.6</doc>
      </member>
      <member name="v0_7" value="1" c:identifier="AS_FORMAT_VERSION_V0_7">
        <doc xml:space="preserve"
             filename="../src/as-context.h"
             line="89">0.7</doc>
      </member>
      <member name="v0_8" value="2" c:identifier="AS_FORMAT_VERSION_V0_8">
        <doc xml:space="preserve"
             filename="../src/as-context.h"
             line="90">0.8</doc>
      </member>
      <member name="v0_9" value="3" c:identifier="AS_FORMAT_VERSION_V0_9">
        <doc xml:space="preserve"
             filename="../src/as-context.h"
             line="91">0.9</doc>
      </member>
      <member name="v0_10" value="4" c:identifier="AS_FORMAT_VERSION_V0_10">
        <doc xml:space="preserve"
             filename="../src/as-context.h"
             line="92">0.10</doc>
      </member>
      <member name="v0_11" value="5" c:identifier="AS_FORMAT_VERSION_V0_11">
        <doc xml:space="preserve"
             filename="../src/as-context.h"
             line="93">0.11</doc>
      </member>
      <member name="v0_12" value="6" c:identifier="AS_FORMAT_VERSION_V0_12">
        <doc xml:space="preserve"
             filename="../src/as-context.h"
             line="94">0.12</doc>
      </member>
    </enumeration>
    <class name="Icon"
           c:symbol-prefix="icon"
           c:type="AsIcon"
           parent="GObject.Object"
           glib:type-name="AsIcon"
           glib:get-type="as_icon_get_type"
           glib:type-struct="IconClass">
      <source-position filename="../src/as-icon.h" line="45"/>
      <constructor name="new" c:identifier="as_icon_new">
        <doc xml:space="preserve"
             filename="../src/as-icon.c"
             line="472">Creates a new #AsIcon.</doc>
        <source-position filename="../src/as-icon.h" line="70"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="../src/as-icon.c"
               line="477">a #AsIcon</doc>
          <type name="Icon" c:type="AsIcon*"/>
        </return-value>
      </constructor>
      <function name="kind_from_string"
                c:identifier="as_icon_kind_from_string">
        <doc xml:space="preserve"
             filename="../src/as-icon.c"
             line="68">Converts the text representation to an enumerated value.</doc>
        <source-position filename="../src/as-icon.h" line="67"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-icon.c"
               line="74">a #AsIconKind or %AS_ICON_KIND_UNKNOWN for unknown</doc>
          <type name="IconKind" c:type="AsIconKind"/>
        </return-value>
        <parameters>
          <parameter name="kind_str" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-icon.c"
                 line="70">the string.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </function>
      <function name="kind_to_string" c:identifier="as_icon_kind_to_string">
        <doc xml:space="preserve"
             filename="../src/as-icon.c"
             line="46">Converts the enumerated value to an text representation.</doc>
        <source-position filename="../src/as-icon.h" line="68"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-icon.c"
               line="52">string version of @kind</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <parameter name="kind" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-icon.c"
                 line="48">the %AsIconKind.</doc>
            <type name="IconKind" c:type="AsIconKind"/>
          </parameter>
        </parameters>
      </function>
      <method name="get_filename" c:identifier="as_icon_get_filename">
        <source-position filename="../src/as-icon.h" line="84"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-icon.c"
               line="231">The absolute path for the icon on disk.
This is only set for icons of kind %AS_ICON_KIND_LOCAL or
%AS_ICON_KIND_CACHED.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="icon" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-icon.c"
                 line="229">a #AsIcon instance.</doc>
            <type name="Icon" c:type="AsIcon*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_height" c:identifier="as_icon_get_height">
        <source-position filename="../src/as-icon.h" line="92"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-icon.c"
               line="294">The icon height in pixels, or 0 if unknown.</doc>
          <type name="guint" c:type="guint"/>
        </return-value>
        <parameters>
          <instance-parameter name="icon" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-icon.c"
                 line="292">a #AsIcon instance.</doc>
            <type name="Icon" c:type="AsIcon*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_kind" c:identifier="as_icon_get_kind">
        <doc xml:space="preserve"
             filename="../src/as-icon.c"
             line="126">Gets the icon kind.</doc>
        <source-position filename="../src/as-icon.h" line="72"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-icon.c"
               line="132">the #AsIconKind</doc>
          <type name="IconKind" c:type="AsIconKind"/>
        </return-value>
        <parameters>
          <instance-parameter name="icon" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-icon.c"
                 line="128">a #AsIcon instance.</doc>
            <type name="Icon" c:type="AsIcon*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_name" c:identifier="as_icon_get_name">
        <source-position filename="../src/as-icon.h" line="76"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-icon.c"
               line="159">the stock name of the icon. In case the icon is not of kind
"stock", the basename of the icon filename or URL is returned.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="icon" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-icon.c"
                 line="157">a #AsIcon instance.</doc>
            <type name="Icon" c:type="AsIcon*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_scale"
              c:identifier="as_icon_get_scale"
              version="0.11.0">
        <source-position filename="../src/as-icon.h" line="96"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-icon.c"
               line="321">The icon scaling factor.</doc>
          <type name="guint" c:type="guint"/>
        </return-value>
        <parameters>
          <instance-parameter name="icon" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-icon.c"
                 line="319">a #AsIcon instance.</doc>
            <type name="Icon" c:type="AsIcon*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_url" c:identifier="as_icon_get_url">
        <doc xml:space="preserve"
             filename="../src/as-icon.c"
             line="192">Gets the icon URL, pointing at a remote location. HTTPS and FTP urls are allowed.
This property is only set for icons of type %AS_ICON_KIND_REMOTE</doc>
        <source-position filename="../src/as-icon.h" line="80"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-icon.c"
               line="199">the URL</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="icon" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-icon.c"
                 line="194">a #AsIcon instance.</doc>
            <type name="Icon" c:type="AsIcon*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_width" c:identifier="as_icon_get_width">
        <source-position filename="../src/as-icon.h" line="88"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-icon.c"
               line="267">The icon width in pixels, or 0 if unknown.</doc>
          <type name="guint" c:type="guint"/>
        </return-value>
        <parameters>
          <instance-parameter name="icon" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-icon.c"
                 line="265">a #AsIcon instance.</doc>
            <type name="Icon" c:type="AsIcon*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="set_filename" c:identifier="as_icon_set_filename">
        <doc xml:space="preserve"
             filename="../src/as-icon.c"
             line="242">Sets the icon absolute filename.</doc>
        <source-position filename="../src/as-icon.h" line="85"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="icon" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-icon.c"
                 line="244">a #AsIcon instance.</doc>
            <type name="Icon" c:type="AsIcon*"/>
          </instance-parameter>
          <parameter name="filename" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-icon.c"
                 line="245">the new icon URL.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_height" c:identifier="as_icon_set_height">
        <doc xml:space="preserve"
             filename="../src/as-icon.c"
             line="303">Sets the icon height.</doc>
        <source-position filename="../src/as-icon.h" line="93"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="icon" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-icon.c"
                 line="305">a #AsIcon instance.</doc>
            <type name="Icon" c:type="AsIcon*"/>
          </instance-parameter>
          <parameter name="height" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-icon.c"
                 line="306">the height in pixels.</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_kind" c:identifier="as_icon_set_kind">
        <doc xml:space="preserve"
             filename="../src/as-icon.c"
             line="141">Sets the icon kind.</doc>
        <source-position filename="../src/as-icon.h" line="73"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="icon" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-icon.c"
                 line="143">a #AsIcon instance.</doc>
            <type name="Icon" c:type="AsIcon*"/>
          </instance-parameter>
          <parameter name="kind" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-icon.c"
                 line="144">the #AsIconKind, e.g. %AS_ICON_KIND_CACHED.</doc>
            <type name="IconKind" c:type="AsIconKind"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_name" c:identifier="as_icon_set_name">
        <doc xml:space="preserve"
             filename="../src/as-icon.c"
             line="177">Sets the stock name or basename to use for the icon.</doc>
        <source-position filename="../src/as-icon.h" line="77"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="icon" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-icon.c"
                 line="179">a #AsIcon instance.</doc>
            <type name="Icon" c:type="AsIcon*"/>
          </instance-parameter>
          <parameter name="name" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-icon.c"
                 line="180">the icon stock name, e.g. "gwenview"</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_scale"
              c:identifier="as_icon_set_scale"
              version="0.11.0">
        <doc xml:space="preserve"
             filename="../src/as-icon.c"
             line="332">Sets the icon scaling factor used for HiDPI displays.</doc>
        <source-position filename="../src/as-icon.h" line="97"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="icon" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-icon.c"
                 line="334">a #AsIcon instance.</doc>
            <type name="Icon" c:type="AsIcon*"/>
          </instance-parameter>
          <parameter name="scale" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-icon.c"
                 line="335">the icon scaling factor.</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_url" c:identifier="as_icon_set_url">
        <doc xml:space="preserve"
             filename="../src/as-icon.c"
             line="212">Sets the icon URL.</doc>
        <source-position filename="../src/as-icon.h" line="81"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="icon" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-icon.c"
                 line="214">a #AsIcon instance.</doc>
            <type name="Icon" c:type="AsIcon*"/>
          </instance-parameter>
          <parameter name="url" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-icon.c"
                 line="215">the new icon URL.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_width" c:identifier="as_icon_set_width">
        <doc xml:space="preserve"
             filename="../src/as-icon.c"
             line="276">Sets the icon width.</doc>
        <source-position filename="../src/as-icon.h" line="89"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="icon" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-icon.c"
                 line="278">a #AsIcon instance.</doc>
            <type name="Icon" c:type="AsIcon*"/>
          </instance-parameter>
          <parameter name="width" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-icon.c"
                 line="279">the width in pixels.</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
        </parameters>
      </method>
      <field name="parent_instance">
        <type name="GObject.Object" c:type="GObject"/>
      </field>
    </class>
    <record name="IconClass"
            c:type="AsIconClass"
            glib:is-gtype-struct-for="Icon">
      <source-position filename="../src/as-icon.h" line="45"/>
      <field name="parent_class">
        <type name="GObject.ObjectClass" c:type="GObjectClass"/>
      </field>
      <field name="_as_reserved1" introspectable="0">
        <callback name="_as_reserved1">
          <source-position filename="../src/as-icon.h" line="39"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_as_reserved2" introspectable="0">
        <callback name="_as_reserved2">
          <source-position filename="../src/as-icon.h" line="40"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_as_reserved3" introspectable="0">
        <callback name="_as_reserved3">
          <source-position filename="../src/as-icon.h" line="41"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_as_reserved4" introspectable="0">
        <callback name="_as_reserved4">
          <source-position filename="../src/as-icon.h" line="42"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_as_reserved5" introspectable="0">
        <callback name="_as_reserved5">
          <source-position filename="../src/as-icon.h" line="43"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_as_reserved6" introspectable="0">
        <callback name="_as_reserved6">
          <source-position filename="../src/as-icon.h" line="44"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
    </record>
    <enumeration name="IconKind" c:type="AsIconKind">
      <doc xml:space="preserve"
           filename="../src/as-icon.h"
           line="47">The icon type.</doc>
      <source-position filename="../src/as-icon.h" line="65"/>
      <member name="unknown" value="0" c:identifier="AS_ICON_KIND_UNKNOWN">
        <doc xml:space="preserve"
             filename="../src/as-icon.h"
             line="49">Unknown icon kind</doc>
      </member>
      <member name="cached" value="1" c:identifier="AS_ICON_KIND_CACHED">
        <doc xml:space="preserve"
             filename="../src/as-icon.h"
             line="50">Icon in the internal caches</doc>
      </member>
      <member name="stock" value="2" c:identifier="AS_ICON_KIND_STOCK">
        <doc xml:space="preserve"
             filename="../src/as-icon.h"
             line="51">Stock icon name</doc>
      </member>
      <member name="local" value="3" c:identifier="AS_ICON_KIND_LOCAL">
        <doc xml:space="preserve"
             filename="../src/as-icon.h"
             line="52">Local icon name</doc>
      </member>
      <member name="remote" value="4" c:identifier="AS_ICON_KIND_REMOTE">
        <doc xml:space="preserve"
             filename="../src/as-icon.h"
             line="53">Remote icon URL</doc>
      </member>
    </enumeration>
    <class name="Image"
           c:symbol-prefix="image"
           c:type="AsImage"
           parent="GObject.Object"
           glib:type-name="AsImage"
           glib:get-type="as_image_get_type"
           glib:type-struct="ImageClass">
      <source-position filename="../src/as-image.h" line="45"/>
      <constructor name="new" c:identifier="as_image_new">
        <doc xml:space="preserve"
             filename="../src/as-image.c"
             line="487">Creates a new #AsImage.</doc>
        <source-position filename="../src/as-image.h" line="66"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="../src/as-image.c"
               line="492">a #AsImage</doc>
          <type name="Image" c:type="AsImage*"/>
        </return-value>
      </constructor>
      <function name="kind_from_string"
                c:identifier="as_image_kind_from_string">
        <doc xml:space="preserve"
             filename="../src/as-image.c"
             line="72">Converts the text representation to an enumerated value.</doc>
        <source-position filename="../src/as-image.h" line="63"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="../src/as-image.c"
               line="78">a #AsImageKind, or %AS_IMAGE_KIND_UNKNOWN for unknown.</doc>
          <type name="ImageKind" c:type="AsImageKind"/>
        </return-value>
        <parameters>
          <parameter name="kind" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-image.c"
                 line="74">the string.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </function>
      <function name="kind_to_string" c:identifier="as_image_kind_to_string">
        <doc xml:space="preserve"
             filename="../src/as-image.c"
             line="91">Converts the enumerated value to an text representation.</doc>
        <source-position filename="../src/as-image.h" line="64"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-image.c"
               line="97">string version of @kind</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <parameter name="kind" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-image.c"
                 line="93">the #AsImageKind.</doc>
            <type name="ImageKind" c:type="AsImageKind"/>
          </parameter>
        </parameters>
      </function>
      <method name="get_height" c:identifier="as_image_get_height">
        <doc xml:space="preserve"
             filename="../src/as-image.c"
             line="204">Gets the image height.</doc>
        <source-position filename="../src/as-image.h" line="80"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-image.c"
               line="210">height in pixels</doc>
          <type name="guint" c:type="guint"/>
        </return-value>
        <parameters>
          <instance-parameter name="image" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-image.c"
                 line="206">a #AsImage instance.</doc>
            <type name="Image" c:type="AsImage*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_kind" c:identifier="as_image_get_kind">
        <doc xml:space="preserve"
             filename="../src/as-image.c"
             line="125">Gets the image kind.</doc>
        <source-position filename="../src/as-image.h" line="68"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-image.c"
               line="131">the #AsImageKind</doc>
          <type name="ImageKind" c:type="AsImageKind"/>
        </return-value>
        <parameters>
          <instance-parameter name="image" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-image.c"
                 line="127">a #AsImage instance.</doc>
            <type name="Image" c:type="AsImage*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_locale"
              c:identifier="as_image_get_locale"
              version="0.9.5">
        <doc xml:space="preserve"
             filename="../src/as-image.c"
             line="235">Get locale for this image.</doc>
        <source-position filename="../src/as-image.h" line="84"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-image.c"
               line="241">Locale string</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="image" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-image.c"
                 line="237">a #AsImage instance.</doc>
            <type name="Image" c:type="AsImage*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_url" c:identifier="as_image_get_url">
        <doc xml:space="preserve"
             filename="../src/as-image.c"
             line="141">Gets the full qualified URL for the image, usually pointing at some mirror.</doc>
        <source-position filename="../src/as-image.h" line="72"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-image.c"
               line="147">URL</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="image" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-image.c"
                 line="143">a #AsImage instance.</doc>
            <type name="Image" c:type="AsImage*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_width" c:identifier="as_image_get_width">
        <doc xml:space="preserve"
             filename="../src/as-image.c"
             line="173">Gets the image width.</doc>
        <source-position filename="../src/as-image.h" line="76"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-image.c"
               line="179">width in pixels</doc>
          <type name="guint" c:type="guint"/>
        </return-value>
        <parameters>
          <instance-parameter name="image" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-image.c"
                 line="175">a #AsImage instance.</doc>
            <type name="Image" c:type="AsImage*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="set_height" c:identifier="as_image_set_height">
        <doc xml:space="preserve"
             filename="../src/as-image.c"
             line="220">Sets the image height.</doc>
        <source-position filename="../src/as-image.h" line="81"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="image" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-image.c"
                 line="222">a #AsImage instance.</doc>
            <type name="Image" c:type="AsImage*"/>
          </instance-parameter>
          <parameter name="height" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-image.c"
                 line="223">the height in pixels.</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_kind" c:identifier="as_image_set_kind">
        <doc xml:space="preserve"
             filename="../src/as-image.c"
             line="110">Sets the image kind.</doc>
        <source-position filename="../src/as-image.h" line="69"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="image" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-image.c"
                 line="112">a #AsImage instance.</doc>
            <type name="Image" c:type="AsImage*"/>
          </instance-parameter>
          <parameter name="kind" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-image.c"
                 line="113">the #AsImageKind, e.g. %AS_IMAGE_KIND_THUMBNAIL.</doc>
            <type name="ImageKind" c:type="AsImageKind"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_locale"
              c:identifier="as_image_set_locale"
              version="0.9.5">
        <doc xml:space="preserve"
             filename="../src/as-image.c"
             line="252">Sets the locale for this image.</doc>
        <source-position filename="../src/as-image.h" line="85"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="image" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-image.c"
                 line="254">a #AsImage instance.</doc>
            <type name="Image" c:type="AsImage*"/>
          </instance-parameter>
          <parameter name="locale" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-image.c"
                 line="255">the locale string.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_url" c:identifier="as_image_set_url">
        <doc xml:space="preserve"
             filename="../src/as-image.c"
             line="157">Sets the fully-qualified mirror URL to use for the image.</doc>
        <source-position filename="../src/as-image.h" line="73"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="image" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-image.c"
                 line="159">a #AsImage instance.</doc>
            <type name="Image" c:type="AsImage*"/>
          </instance-parameter>
          <parameter name="url" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-image.c"
                 line="160">the URL.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_width" c:identifier="as_image_set_width">
        <doc xml:space="preserve"
             filename="../src/as-image.c"
             line="189">Sets the image width.</doc>
        <source-position filename="../src/as-image.h" line="77"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="image" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-image.c"
                 line="191">a #AsImage instance.</doc>
            <type name="Image" c:type="AsImage*"/>
          </instance-parameter>
          <parameter name="width" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-image.c"
                 line="192">the width in pixels.</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
        </parameters>
      </method>
      <field name="parent_instance">
        <type name="GObject.Object" c:type="GObject"/>
      </field>
    </class>
    <record name="ImageClass"
            c:type="AsImageClass"
            glib:is-gtype-struct-for="Image">
      <source-position filename="../src/as-image.h" line="45"/>
      <field name="parent_class">
        <type name="GObject.ObjectClass" c:type="GObjectClass"/>
      </field>
      <field name="_as_reserved1" introspectable="0">
        <callback name="_as_reserved1">
          <source-position filename="../src/as-image.h" line="39"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_as_reserved2" introspectable="0">
        <callback name="_as_reserved2">
          <source-position filename="../src/as-image.h" line="40"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_as_reserved3" introspectable="0">
        <callback name="_as_reserved3">
          <source-position filename="../src/as-image.h" line="41"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_as_reserved4" introspectable="0">
        <callback name="_as_reserved4">
          <source-position filename="../src/as-image.h" line="42"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_as_reserved5" introspectable="0">
        <callback name="_as_reserved5">
          <source-position filename="../src/as-image.h" line="43"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_as_reserved6" introspectable="0">
        <callback name="_as_reserved6">
          <source-position filename="../src/as-image.h" line="44"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
    </record>
    <enumeration name="ImageKind" c:type="AsImageKind">
      <doc xml:space="preserve"
           filename="../src/as-image.h"
           line="47">The image type.</doc>
      <source-position filename="../src/as-image.h" line="61"/>
      <member name="unknown" value="0" c:identifier="AS_IMAGE_KIND_UNKNOWN">
        <doc xml:space="preserve"
             filename="../src/as-image.h"
             line="49">Type invalid or not known</doc>
      </member>
      <member name="source" value="1" c:identifier="AS_IMAGE_KIND_SOURCE">
        <doc xml:space="preserve"
             filename="../src/as-image.h"
             line="50">The source image at full resolution</doc>
      </member>
      <member name="thumbnail"
              value="2"
              c:identifier="AS_IMAGE_KIND_THUMBNAIL">
        <doc xml:space="preserve"
             filename="../src/as-image.h"
             line="51">A thumbnail at reduced resolution</doc>
      </member>
    </enumeration>
    <class name="Issue"
           c:symbol-prefix="issue"
           c:type="AsIssue"
           parent="GObject.Object"
           glib:type-name="AsIssue"
           glib:get-type="as_issue_get_type"
           glib:type-struct="IssueClass">
      <source-position filename="../src/as-issue.h" line="45"/>
      <constructor name="new" c:identifier="as_issue_new">
        <doc xml:space="preserve"
             filename="../src/as-issue.c"
             line="342">Creates a new #AsIssue.</doc>
        <source-position filename="../src/as-issue.h" line="66"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="../src/as-issue.c"
               line="347">an #AsIssue</doc>
          <type name="Issue" c:type="AsIssue*"/>
        </return-value>
      </constructor>
      <function name="kind_from_string"
                c:identifier="as_issue_kind_from_string">
        <doc xml:space="preserve"
             filename="../src/as-issue.c"
             line="63">Converts the text representation to an enumerated value.</doc>
        <source-position filename="../src/as-issue.h" line="64"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-issue.c"
               line="69">a #AsIssueKind or %AS_ISSUE_KIND_UNKNOWN for unknown</doc>
          <type name="IssueKind" c:type="AsIssueKind"/>
        </return-value>
        <parameters>
          <parameter name="kind_str" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-issue.c"
                 line="65">the string.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </function>
      <function name="kind_to_string" c:identifier="as_issue_kind_to_string">
        <doc xml:space="preserve"
             filename="../src/as-issue.c"
             line="45">Converts the enumerated value to an text representation.</doc>
        <source-position filename="../src/as-issue.h" line="63"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-issue.c"
               line="51">string version of @kind</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <parameter name="kind" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-issue.c"
                 line="47">the %AsIssueKind.</doc>
            <type name="IssueKind" c:type="AsIssueKind"/>
          </parameter>
        </parameters>
      </function>
      <function name="severity_from_string"
                c:identifier="as_issue_severity_from_string">
        <doc xml:space="preserve"
             filename="../src/as-validator-issue.c"
             line="49">Converts the text representation to an enumerated value.</doc>
        <source-position filename="../src/as-validator-issue.h" line="74"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-validator-issue.c"
               line="55">a #AsIssueSeverity, or %AS_ISSUE_SEVERITY_UNKNOWN for unknown.</doc>
          <type name="IssueSeverity" c:type="AsIssueSeverity"/>
        </return-value>
        <parameters>
          <parameter name="str" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-validator-issue.c"
                 line="51">the string.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </function>
      <function name="severity_to_string"
                c:identifier="as_issue_severity_to_string">
        <doc xml:space="preserve"
             filename="../src/as-validator-issue.c"
             line="72">Converts the enumerated value to an text representation.</doc>
        <source-position filename="../src/as-validator-issue.h" line="75"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-validator-issue.c"
               line="78">string version of @severity</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <parameter name="severity" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-validator-issue.c"
                 line="74">the #AsIssueSeverity.</doc>
            <type name="IssueSeverity" c:type="AsIssueSeverity"/>
          </parameter>
        </parameters>
      </function>
      <method name="get_id" c:identifier="as_issue_get_id">
        <doc xml:space="preserve"
             filename="../src/as-issue.c"
             line="138">Gets the issue ID (usually a bug number or CVE ID)</doc>
        <source-position filename="../src/as-issue.h" line="72"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-issue.c"
               line="144">the ID.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="issue" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-issue.c"
                 line="140">a #AsIssue instance.</doc>
            <type name="Issue" c:type="AsIssue*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_kind" c:identifier="as_issue_get_kind">
        <doc xml:space="preserve"
             filename="../src/as-issue.c"
             line="109">Gets the issue type.</doc>
        <source-position filename="../src/as-issue.h" line="68"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-issue.c"
               line="115">the #AsIssueKind</doc>
          <type name="IssueKind" c:type="AsIssueKind"/>
        </return-value>
        <parameters>
          <instance-parameter name="issue" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-issue.c"
                 line="111">a #AsIssue instance.</doc>
            <type name="Issue" c:type="AsIssue*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_url" c:identifier="as_issue_get_url">
        <doc xml:space="preserve"
             filename="../src/as-issue.c"
             line="168">Gets the URL associacted with this issue, usually
referencing a bug report or issue description.</doc>
        <source-position filename="../src/as-issue.h" line="76"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-issue.c"
               line="175">the URL.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="issue" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-issue.c"
                 line="170">a #AsIssue instance.</doc>
            <type name="Issue" c:type="AsIssue*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="set_id" c:identifier="as_issue_set_id">
        <doc xml:space="preserve"
             filename="../src/as-issue.c"
             line="153">Sets the issue ID.</doc>
        <source-position filename="../src/as-issue.h" line="73"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="issue" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-issue.c"
                 line="155">a #AsIssue instance.</doc>
            <type name="Issue" c:type="AsIssue*"/>
          </instance-parameter>
          <parameter name="id" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-issue.c"
                 line="156">the new ID.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_kind" c:identifier="as_issue_set_kind">
        <doc xml:space="preserve"
             filename="../src/as-issue.c"
             line="124">Sets the issue type.</doc>
        <source-position filename="../src/as-issue.h" line="69"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="issue" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-issue.c"
                 line="126">a #AsIssue instance.</doc>
            <type name="Issue" c:type="AsIssue*"/>
          </instance-parameter>
          <parameter name="kind" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-issue.c"
                 line="127">the #AsIssueKind, e.g. %AS_ISSUE_KIND_SHA256.</doc>
            <type name="IssueKind" c:type="AsIssueKind"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_url" c:identifier="as_issue_set_url">
        <doc xml:space="preserve"
             filename="../src/as-issue.c"
             line="189">Sets an URL describing this issue.</doc>
        <source-position filename="../src/as-issue.h" line="77"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="issue" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-issue.c"
                 line="191">a #AsIssue instance.</doc>
            <type name="Issue" c:type="AsIssue*"/>
          </instance-parameter>
          <parameter name="url" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-issue.c"
                 line="192">the new URL.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <field name="parent_instance">
        <type name="GObject.Object" c:type="GObject"/>
      </field>
    </class>
    <record name="IssueClass"
            c:type="AsIssueClass"
            glib:is-gtype-struct-for="Issue">
      <source-position filename="../src/as-issue.h" line="45"/>
      <field name="parent_class">
        <type name="GObject.ObjectClass" c:type="GObjectClass"/>
      </field>
      <field name="_as_reserved1" introspectable="0">
        <callback name="_as_reserved1">
          <source-position filename="../src/as-issue.h" line="39"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_as_reserved2" introspectable="0">
        <callback name="_as_reserved2">
          <source-position filename="../src/as-issue.h" line="40"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_as_reserved3" introspectable="0">
        <callback name="_as_reserved3">
          <source-position filename="../src/as-issue.h" line="41"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_as_reserved4" introspectable="0">
        <callback name="_as_reserved4">
          <source-position filename="../src/as-issue.h" line="42"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_as_reserved5" introspectable="0">
        <callback name="_as_reserved5">
          <source-position filename="../src/as-issue.h" line="43"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_as_reserved6" introspectable="0">
        <callback name="_as_reserved6">
          <source-position filename="../src/as-issue.h" line="44"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
    </record>
    <enumeration name="IssueKind" c:type="AsIssueKind">
      <doc xml:space="preserve"
           filename="../src/as-issue.h"
           line="47">Checksums supported by #AsRelease</doc>
      <source-position filename="../src/as-issue.h" line="61"/>
      <member name="unknown" value="0" c:identifier="AS_ISSUE_KIND_UNKNOWN">
        <doc xml:space="preserve"
             filename="../src/as-issue.h"
             line="49">Unknown issue type</doc>
      </member>
      <member name="generic" value="1" c:identifier="AS_ISSUE_KIND_GENERIC">
        <doc xml:space="preserve"
             filename="../src/as-issue.h"
             line="50">Generic issue type</doc>
      </member>
      <member name="cve" value="2" c:identifier="AS_ISSUE_KIND_CVE">
        <doc xml:space="preserve"
             filename="../src/as-issue.h"
             line="51">Common Vulnerabilities and Exposures issue</doc>
      </member>
    </enumeration>
    <enumeration name="IssueSeverity" c:type="AsIssueSeverity">
      <doc xml:space="preserve"
           filename="../src/as-validator-issue.h"
           line="47">The severity of an issue found by #AsValidator</doc>
      <source-position filename="../src/as-validator-issue.h" line="64"/>
      <member name="unknown"
              value="0"
              c:identifier="AS_ISSUE_SEVERITY_UNKNOWN">
      </member>
      <member name="error" value="1" c:identifier="AS_ISSUE_SEVERITY_ERROR">
        <doc xml:space="preserve"
             filename="../src/as-validator-issue.h"
             line="49">There is a serious error in your metadata</doc>
      </member>
      <member name="warning"
              value="2"
              c:identifier="AS_ISSUE_SEVERITY_WARNING">
        <doc xml:space="preserve"
             filename="../src/as-validator-issue.h"
             line="50">Something which should be fixed, but is not fatal</doc>
      </member>
      <member name="info" value="3" c:identifier="AS_ISSUE_SEVERITY_INFO">
        <doc xml:space="preserve"
             filename="../src/as-validator-issue.h"
             line="51">Non-essential information on how to improve your metadata</doc>
      </member>
      <member name="pedantic"
              value="4"
              c:identifier="AS_ISSUE_SEVERITY_PEDANTIC">
        <doc xml:space="preserve"
             filename="../src/as-validator-issue.h"
             line="52">Pedantic information</doc>
      </member>
    </enumeration>
    <class name="Launchable"
           c:symbol-prefix="launchable"
           c:type="AsLaunchable"
           parent="GObject.Object"
           glib:type-name="AsLaunchable"
           glib:get-type="as_launchable_get_type"
           glib:type-struct="LaunchableClass">
      <source-position filename="../src/as-launchable.h" line="45"/>
      <constructor name="new"
                   c:identifier="as_launchable_new"
                   version="0.11.0">
        <doc xml:space="preserve"
             filename="../src/as-launchable.c"
             line="271">Creates a new #AsLaunchable.</doc>
        <source-position filename="../src/as-launchable.h" line="70"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="../src/as-launchable.c"
               line="276">a #AsLaunchable</doc>
          <type name="Launchable" c:type="AsLaunchable*"/>
        </return-value>
      </constructor>
      <function name="kind_from_string"
                c:identifier="as_launchable_kind_from_string"
                version="0.11.0">
        <doc xml:space="preserve"
             filename="../src/as-launchable.c"
             line="72">Converts the text representation to an enumerated value.</doc>
        <source-position filename="../src/as-launchable.h" line="68"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-launchable.c"
               line="78">a #AsLaunchableKind or %AS_LAUNCHABLE_KIND_UNKNOWN for unknown</doc>
          <type name="LaunchableKind" c:type="AsLaunchableKind"/>
        </return-value>
        <parameters>
          <parameter name="kind_str" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-launchable.c"
                 line="74">the string.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </function>
      <function name="kind_to_string"
                c:identifier="as_launchable_kind_to_string"
                version="0.11.0">
        <doc xml:space="preserve"
             filename="../src/as-launchable.c"
             line="48">Converts the enumerated value to a text representation.</doc>
        <source-position filename="../src/as-launchable.h" line="67"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-launchable.c"
               line="54">string version of @kind</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <parameter name="kind" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-launchable.c"
                 line="50">the #AsLaunchableKind.</doc>
            <type name="LaunchableKind" c:type="AsLaunchableKind"/>
          </parameter>
        </parameters>
      </function>
      <method name="add_entry"
              c:identifier="as_launchable_add_entry"
              version="0.11.0">
        <doc xml:space="preserve"
             filename="../src/as-launchable.c"
             line="184">Add a new launchable entry.</doc>
        <source-position filename="../src/as-launchable.h" line="77"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="launch" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-launchable.c"
                 line="186">a #AsLaunchable instance.</doc>
            <type name="Launchable" c:type="AsLaunchable*"/>
          </instance-parameter>
          <parameter name="entry" transfer-ownership="none">
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_entries"
              c:identifier="as_launchable_get_entries"
              version="0.11.0">
        <doc xml:space="preserve"
             filename="../src/as-launchable.c"
             line="167">Get an array of launchable entries.</doc>
        <source-position filename="../src/as-launchable.h" line="76"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-launchable.c"
               line="173">An string list of launch entries.</doc>
          <array name="GLib.PtrArray" c:type="GPtrArray*">
            <type name="utf8"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="launch" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-launchable.c"
                 line="169">a #AsLaunchable instance.</doc>
            <type name="Launchable" c:type="AsLaunchable*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_kind"
              c:identifier="as_launchable_get_kind"
              version="0.11.0">
        <doc xml:space="preserve"
             filename="../src/as-launchable.c"
             line="132">The launch system for the entries this #AsLaunchable
object stores.</doc>
        <source-position filename="../src/as-launchable.h" line="72"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-launchable.c"
               line="139">an enum of type #AsLaunchableKind</doc>
          <type name="LaunchableKind" c:type="AsLaunchableKind"/>
        </return-value>
        <parameters>
          <instance-parameter name="launch" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-launchable.c"
                 line="134">a #AsLaunchable instance.</doc>
            <type name="Launchable" c:type="AsLaunchable*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="set_kind"
              c:identifier="as_launchable_set_kind"
              version="0.11.0">
        <doc xml:space="preserve"
             filename="../src/as-launchable.c"
             line="150">Set the launch system for the entries this #AsLaunchable
object stores.</doc>
        <source-position filename="../src/as-launchable.h" line="73"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="launch" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-launchable.c"
                 line="152">a #AsLaunchable instance.</doc>
            <type name="Launchable" c:type="AsLaunchable*"/>
          </instance-parameter>
          <parameter name="kind" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-launchable.c"
                 line="153">the new #AsLaunchableKind</doc>
            <type name="LaunchableKind" c:type="AsLaunchableKind"/>
          </parameter>
        </parameters>
      </method>
      <field name="parent_instance">
        <type name="GObject.Object" c:type="GObject"/>
      </field>
    </class>
    <record name="LaunchableClass"
            c:type="AsLaunchableClass"
            glib:is-gtype-struct-for="Launchable">
      <source-position filename="../src/as-launchable.h" line="45"/>
      <field name="parent_class">
        <type name="GObject.ObjectClass" c:type="GObjectClass"/>
      </field>
      <field name="_as_reserved1" introspectable="0">
        <callback name="_as_reserved1">
          <source-position filename="../src/as-launchable.h" line="39"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_as_reserved2" introspectable="0">
        <callback name="_as_reserved2">
          <source-position filename="../src/as-launchable.h" line="40"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_as_reserved3" introspectable="0">
        <callback name="_as_reserved3">
          <source-position filename="../src/as-launchable.h" line="41"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_as_reserved4" introspectable="0">
        <callback name="_as_reserved4">
          <source-position filename="../src/as-launchable.h" line="42"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_as_reserved5" introspectable="0">
        <callback name="_as_reserved5">
          <source-position filename="../src/as-launchable.h" line="43"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_as_reserved6" introspectable="0">
        <callback name="_as_reserved6">
          <source-position filename="../src/as-launchable.h" line="44"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
    </record>
    <enumeration name="LaunchableKind" c:type="AsLaunchableKind">
      <doc xml:space="preserve"
           filename="../src/as-launchable.h"
           line="47">Type of launch system the entries belong to.</doc>
      <source-position filename="../src/as-launchable.h" line="65"/>
      <member name="unknown"
              value="0"
              c:identifier="AS_LAUNCHABLE_KIND_UNKNOWN">
        <doc xml:space="preserve"
             filename="../src/as-launchable.h"
             line="49">Unknown kind</doc>
      </member>
      <member name="desktop_id"
              value="1"
              c:identifier="AS_LAUNCHABLE_KIND_DESKTOP_ID">
        <doc xml:space="preserve"
             filename="../src/as-launchable.h"
             line="50">Launch by desktop-id</doc>
      </member>
      <member name="service"
              value="2"
              c:identifier="AS_LAUNCHABLE_KIND_SERVICE">
        <doc xml:space="preserve"
             filename="../src/as-launchable.h"
             line="51">A systemd/SysV-init service name</doc>
      </member>
      <member name="cockpit_manifest"
              value="3"
              c:identifier="AS_LAUNCHABLE_KIND_COCKPIT_MANIFEST">
        <doc xml:space="preserve"
             filename="../src/as-launchable.h"
             line="52">A Cockpit manifest / package name</doc>
      </member>
      <member name="url" value="4" c:identifier="AS_LAUNCHABLE_KIND_URL">
        <doc xml:space="preserve"
             filename="../src/as-launchable.h"
             line="53">A web HTTPS URL to launch a web application from</doc>
      </member>
    </enumeration>
    <enumeration name="MergeKind" c:type="AsMergeKind">
      <doc xml:space="preserve"
           filename="../src/as-component.h"
           line="110">Defines how #AsComponent data should be merged if the component is
set for merge.</doc>
      <source-position filename="../src/as-component.h" line="127"/>
      <member name="none" value="0" c:identifier="AS_MERGE_KIND_NONE">
        <doc xml:space="preserve"
             filename="../src/as-component.h"
             line="112">No merge is happening.</doc>
      </member>
      <member name="replace" value="1" c:identifier="AS_MERGE_KIND_REPLACE">
        <doc xml:space="preserve"
             filename="../src/as-component.h"
             line="113">Merge replacing data of target.</doc>
      </member>
      <member name="append" value="2" c:identifier="AS_MERGE_KIND_APPEND">
        <doc xml:space="preserve"
             filename="../src/as-component.h"
             line="114">Merge appending data to target.</doc>
      </member>
      <member name="remove_component"
              value="3"
              c:identifier="AS_MERGE_KIND_REMOVE_COMPONENT">
        <doc xml:space="preserve"
             filename="../src/as-component.h"
             line="115">Remove the entire component if it matches.</doc>
      </member>
    </enumeration>
    <class name="Metadata"
           c:symbol-prefix="metadata"
           c:type="AsMetadata"
           parent="GObject.Object"
           glib:type-name="AsMetadata"
           glib:get-type="as_metadata_get_type"
           glib:type-struct="MetadataClass">
      <source-position filename="../src/as-metadata.h" line="50"/>
      <constructor name="new" c:identifier="as_metadata_new">
        <doc xml:space="preserve"
             filename="../src/as-metadata.c"
             line="1296">Creates a new #AsMetadata.</doc>
        <source-position filename="../src/as-metadata.h" line="86"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="../src/as-metadata.c"
               line="1301">a #AsMetadata</doc>
          <type name="Metadata" c:type="AsMetadata*"/>
        </return-value>
      </constructor>
      <function name="error_quark" c:identifier="as_metadata_error_quark">
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-metadata.c"
               line="1285">An error quark.</doc>
          <type name="GLib.Quark" c:type="GQuark"/>
        </return-value>
      </function>
      <method name="add_component" c:identifier="as_metadata_add_component">
        <doc xml:space="preserve"
             filename="../src/as-metadata.c"
             line="987">Add an #AsComponent to the list of components.
This can be used to add multiple components in order to
produce a distro-XML AppStream metadata file.</doc>
        <source-position filename="../src/as-metadata.h" line="108"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="metad" transfer-ownership="none">
            <type name="Metadata" c:type="AsMetadata*"/>
          </instance-parameter>
          <parameter name="cpt" transfer-ownership="none">
            <type name="Component" c:type="AsComponent*"/>
          </parameter>
        </parameters>
      </method>
      <method name="clear_components"
              c:identifier="as_metadata_clear_components">
        <source-position filename="../src/as-metadata.h" line="107"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="metad" transfer-ownership="none">
            <type name="Metadata" c:type="AsMetadata*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="component_to_metainfo"
              c:identifier="as_metadata_component_to_metainfo"
              throws="1">
        <doc xml:space="preserve"
             filename="../src/as-metadata.c"
             line="709">Convert an #AsComponent to metainfo data.
This will always be XML, YAML is no valid format for metainfo files.

The amount of localization included in the metadata depends on how the #AsComponent
was initially loaded and whether it contains data for all locale.

The first #AsComponent added to the internal list will be transformed.
In case no component is present, %NULL is returned.</doc>
        <source-position filename="../src/as-metadata.h" line="111"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="../src/as-metadata.c"
               line="724">A string containing the XML metadata. Free with g_free()</doc>
          <type name="utf8" c:type="gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="metad" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-metadata.c"
                 line="711">An instance of #AsMetadata.</doc>
            <type name="Metadata" c:type="AsMetadata*"/>
          </instance-parameter>
          <parameter name="format" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-metadata.c"
                 line="712">The format to use (XML or YAML)</doc>
            <type name="FormatKind" c:type="AsFormatKind"/>
          </parameter>
        </parameters>
      </method>
      <method name="components_to_collection"
              c:identifier="as_metadata_components_to_collection"
              throws="1">
        <doc xml:space="preserve"
             filename="../src/as-metadata.c"
             line="943">Serialize all #AsComponent instances into AppStream
collection metadata.
%NULL is returned if there is nothing to serialize.</doc>
        <source-position filename="../src/as-metadata.h" line="119"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="../src/as-metadata.c"
               line="953">A string containing the YAML or XML data. Free with g_free()</doc>
          <type name="utf8" c:type="gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="metad" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-metadata.c"
                 line="945">An instance of #AsMetadata.</doc>
            <type name="Metadata" c:type="AsMetadata*"/>
          </instance-parameter>
          <parameter name="format" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-metadata.c"
                 line="946">The format to serialize the data to (XML or YAML).</doc>
            <type name="FormatKind" c:type="AsFormatKind"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_architecture"
              c:identifier="as_metadata_get_architecture">
        <source-position filename="../src/as-metadata.h" line="151"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-metadata.c"
               line="1116">The architecture of AppStream distro metadata</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="metad" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-metadata.c"
                 line="1114">an #AsMetadata instance.</doc>
            <type name="Metadata" c:type="AsMetadata*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_component" c:identifier="as_metadata_get_component">
        <doc xml:space="preserve"
             filename="../src/as-metadata.c"
             line="1001">Gets the #AsComponent which has been parsed from the XML.
If the AppStream XML contained multiple components, return the first
component that has been parsed.</doc>
        <source-position filename="../src/as-metadata.h" line="104"/>
        <return-value transfer-ownership="none" nullable="1">
          <doc xml:space="preserve"
               filename="../src/as-metadata.c"
               line="1009">An #AsComponent or %NULL</doc>
          <type name="Component" c:type="AsComponent*"/>
        </return-value>
        <parameters>
          <instance-parameter name="metad" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-metadata.c"
                 line="1003">a #AsMetadata instance.</doc>
            <type name="Metadata" c:type="AsMetadata*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_components" c:identifier="as_metadata_get_components">
        <source-position filename="../src/as-metadata.h" line="105"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-metadata.c"
               line="1025">A #GPtrArray of all parsed components</doc>
          <array name="GLib.PtrArray" c:type="GPtrArray*">
            <type name="Component"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="metad" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-metadata.c"
                 line="1023">a #AsMetadata instance.</doc>
            <type name="Metadata" c:type="AsMetadata*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_format_style"
              c:identifier="as_metadata_get_format_style">
        <doc xml:space="preserve"
             filename="../src/as-metadata.c"
             line="1218">Get the metadata parsing mode.</doc>
        <source-position filename="../src/as-metadata.h" line="131"/>
        <return-value transfer-ownership="none">
          <type name="FormatStyle" c:type="AsFormatStyle"/>
        </return-value>
        <parameters>
          <instance-parameter name="metad" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-metadata.c"
                 line="1220">a #AsMetadata instance.</doc>
            <type name="Metadata" c:type="AsMetadata*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_format_version"
              c:identifier="as_metadata_get_format_version">
        <source-position filename="../src/as-metadata.h" line="127"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-metadata.c"
               line="1129">The AppStream metadata format version.</doc>
          <type name="FormatVersion" c:type="AsFormatVersion"/>
        </return-value>
        <parameters>
          <instance-parameter name="metad" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-metadata.c"
                 line="1127">an #AsMetadata instance.</doc>
            <type name="Metadata" c:type="AsMetadata*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_locale" c:identifier="as_metadata_get_locale">
        <doc xml:space="preserve"
             filename="../src/as-metadata.c"
             line="1053">Gets the current active locale for parsing metadata,
or "ALL" if all locales are read.</doc>
        <source-position filename="../src/as-metadata.h" line="137"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-metadata.c"
               line="1060">Locale used for metadata parsing.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="metad" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-metadata.c"
                 line="1055">a #AsMetadata instance.</doc>
            <type name="Metadata" c:type="AsMetadata*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_origin" c:identifier="as_metadata_get_origin">
        <source-position filename="../src/as-metadata.h" line="139"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-metadata.c"
               line="1088">The origin of AppStream distro metadata</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="metad" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-metadata.c"
                 line="1086">an #AsMetadata instance.</doc>
            <type name="Metadata" c:type="AsMetadata*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_parse_flags"
              c:identifier="as_metadata_get_parse_flags">
        <doc xml:space="preserve"
             filename="../src/as-metadata.c"
             line="1245">Get the metadata parse flags.</doc>
        <source-position filename="../src/as-metadata.h" line="155"/>
        <return-value transfer-ownership="none">
          <type name="ParseFlags" c:type="AsParseFlags"/>
        </return-value>
        <parameters>
          <instance-parameter name="metad" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-metadata.c"
                 line="1247">a #AsMetadata instance.</doc>
            <type name="Metadata" c:type="AsMetadata*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_update_existing"
              c:identifier="as_metadata_get_update_existing">
        <source-position filename="../src/as-metadata.h" line="143"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-metadata.c"
               line="1174">Whether existing components should be updates with the parsed data,
         instead of creating new ones.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="metad" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-metadata.c"
                 line="1172">an #AsMetadata instance.</doc>
            <type name="Metadata" c:type="AsMetadata*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_write_header"
              c:identifier="as_metadata_get_write_header">
        <source-position filename="../src/as-metadata.h" line="147"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-metadata.c"
               line="1209">Whether we will write a header/root node in collection metadata.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="metad" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-metadata.c"
                 line="1207">an #AsMetadata instance.</doc>
            <type name="Metadata" c:type="AsMetadata*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="parse" c:identifier="as_metadata_parse" throws="1">
        <doc xml:space="preserve"
             filename="../src/as-metadata.c"
             line="366">Parses AppStream metadata.</doc>
        <source-position filename="../src/as-metadata.h" line="94"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="metad" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-metadata.c"
                 line="368">An instance of #AsMetadata.</doc>
            <type name="Metadata" c:type="AsMetadata*"/>
          </instance-parameter>
          <parameter name="data" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-metadata.c"
                 line="369">Metadata describing one or more software components.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="format" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-metadata.c"
                 line="370">The format of the data (XML or YAML).</doc>
            <type name="FormatKind" c:type="AsFormatKind"/>
          </parameter>
        </parameters>
      </method>
      <method name="parse_desktop_data"
              c:identifier="as_metadata_parse_desktop_data"
              throws="1">
        <doc xml:space="preserve"
             filename="../src/as-metadata.c"
             line="465">Parses XDG Desktop Entry metadata and adds it to the pool.</doc>
        <source-position filename="../src/as-metadata.h" line="99"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="metad" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-metadata.c"
                 line="467">An instance of #AsMetadata.</doc>
            <type name="Metadata" c:type="AsMetadata*"/>
          </instance-parameter>
          <parameter name="data" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-metadata.c"
                 line="468">Metadata describing one or more software components.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="cid" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-metadata.c"
                 line="469">The component-id the new #AsComponent should have.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="parse_file"
              c:identifier="as_metadata_parse_file"
              throws="1">
        <doc xml:space="preserve"
             filename="../src/as-metadata.c"
             line="501">Parses an AppStream upstream metadata file.</doc>
        <source-position filename="../src/as-metadata.h" line="89"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="metad" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-metadata.c"
                 line="503">A valid #AsMetadata instance</doc>
            <type name="Metadata" c:type="AsMetadata*"/>
          </instance-parameter>
          <parameter name="file" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-metadata.c"
                 line="504">#GFile for the upstream metadata</doc>
            <type name="Gio.File" c:type="GFile*"/>
          </parameter>
          <parameter name="format" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-metadata.c"
                 line="505">The format the data is in, or %AS_FORMAT_KIND_UNKNOWN if not known.</doc>
            <type name="FormatKind" c:type="AsFormatKind"/>
          </parameter>
        </parameters>
      </method>
      <method name="save_collection"
              c:identifier="as_metadata_save_collection"
              throws="1">
        <source-position filename="../src/as-metadata.h" line="122"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="metad" transfer-ownership="none">
            <type name="Metadata" c:type="AsMetadata*"/>
          </instance-parameter>
          <parameter name="fname" transfer-ownership="none">
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="format" transfer-ownership="none">
            <type name="FormatKind" c:type="AsFormatKind"/>
          </parameter>
        </parameters>
      </method>
      <method name="save_metainfo"
              c:identifier="as_metadata_save_metainfo"
              throws="1">
        <doc xml:space="preserve"
             filename="../src/as-metadata.c"
             line="670">Serialize #AsComponent instance to XML and save it to file.
An existing file at the same location will be overridden.</doc>
        <source-position filename="../src/as-metadata.h" line="114"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="metad" transfer-ownership="none">
            <type name="Metadata" c:type="AsMetadata*"/>
          </instance-parameter>
          <parameter name="fname" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-metadata.c"
                 line="672">The filename for the new metadata file.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="format" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-metadata.c"
                 line="673">The format to save this file in. Only XML is supported at time.</doc>
            <type name="FormatKind" c:type="AsFormatKind"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_architecture"
              c:identifier="as_metadata_set_architecture">
        <doc xml:space="preserve"
             filename="../src/as-metadata.c"
             line="1097">Set the architecture the components in this metadata belong to.</doc>
        <source-position filename="../src/as-metadata.h" line="152"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="metad" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-metadata.c"
                 line="1099">an #AsMetadata instance.</doc>
            <type name="Metadata" c:type="AsMetadata*"/>
          </instance-parameter>
          <parameter name="arch" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-metadata.c"
                 line="1100">an architecture string.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_format_style"
              c:identifier="as_metadata_set_format_style">
        <doc xml:space="preserve"
             filename="../src/as-metadata.c"
             line="1231">Sets the current metadata parsing mode.</doc>
        <source-position filename="../src/as-metadata.h" line="132"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="metad" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-metadata.c"
                 line="1233">a #AsMetadata instance.</doc>
            <type name="Metadata" c:type="AsMetadata*"/>
          </instance-parameter>
          <parameter name="mode" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-metadata.c"
                 line="1234">the #AsFormatStyle.</doc>
            <type name="FormatStyle" c:type="AsFormatStyle"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_format_version"
              c:identifier="as_metadata_set_format_version">
        <doc xml:space="preserve"
             filename="../src/as-metadata.c"
             line="1138">Set the current AppStream format version that we should generate data for
or be able to read.</doc>
        <source-position filename="../src/as-metadata.h" line="128"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="metad" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-metadata.c"
                 line="1140">a #AsMetadata instance.</doc>
            <type name="Metadata" c:type="AsMetadata*"/>
          </instance-parameter>
          <parameter name="version" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-metadata.c"
                 line="1141">the AppStream metadata format version as #AsFormatVersion.</doc>
            <type name="FormatVersion" c:type="AsFormatVersion"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_locale" c:identifier="as_metadata_set_locale">
        <doc xml:space="preserve"
             filename="../src/as-metadata.c"
             line="1034">Sets the locale which should be read when processing metadata.
All other locales are ignored, which increases parsing speed and
reduces memory usage.
If you set the locale to "ALL", all locales will be read.</doc>
        <source-position filename="../src/as-metadata.h" line="135"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="metad" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-metadata.c"
                 line="1036">a #AsMetadata instance.</doc>
            <type name="Metadata" c:type="AsMetadata*"/>
          </instance-parameter>
          <parameter name="locale" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-metadata.c"
                 line="1037">the locale.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_origin" c:identifier="as_metadata_set_origin">
        <doc xml:space="preserve"
             filename="../src/as-metadata.c"
             line="1069">Set the origin of AppStream distro metadata</doc>
        <source-position filename="../src/as-metadata.h" line="140"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="metad" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-metadata.c"
                 line="1071">an #AsMetadata instance.</doc>
            <type name="Metadata" c:type="AsMetadata*"/>
          </instance-parameter>
          <parameter name="origin" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-metadata.c"
                 line="1072">the origin of AppStream distro metadata.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_parse_flags"
              c:identifier="as_metadata_set_parse_flags">
        <doc xml:space="preserve"
             filename="../src/as-metadata.c"
             line="1258">Sets the current metadata parse flags.</doc>
        <source-position filename="../src/as-metadata.h" line="156"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="metad" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-metadata.c"
                 line="1260">a #AsMetadata instance.</doc>
            <type name="Metadata" c:type="AsMetadata*"/>
          </instance-parameter>
          <parameter name="flags" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-metadata.c"
                 line="1261">the #AsParseFlags.</doc>
            <type name="ParseFlags" c:type="AsParseFlags"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_update_existing"
              c:identifier="as_metadata_set_update_existing">
        <doc xml:space="preserve"
             filename="../src/as-metadata.c"
             line="1153">If set to %TRUE, the parser will not create new components but
instead update existing components in the pool with new metadata.

NOTE: Right now, this feature is only implemented for metainfo XML parsing!</doc>
        <source-position filename="../src/as-metadata.h" line="144"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="metad" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-metadata.c"
                 line="1155">an #AsMetadata instance.</doc>
            <type name="Metadata" c:type="AsMetadata*"/>
          </instance-parameter>
          <parameter name="update" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-metadata.c"
                 line="1156">A boolean value.</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_write_header"
              c:identifier="as_metadata_set_write_header">
        <doc xml:space="preserve"
             filename="../src/as-metadata.c"
             line="1184">If set to %TRUE, tehe metadata writer will omit writing a DEP-11
header document when in YAML mode, and will not write a root components node
when writing XML data.
Please keep in mind that this will create an invalid DEP-11 YAML AppStream
collection metadata file, and an invalid XML file.
This parameter should only be changed e.g. by the appstream-generator tool.

NOTE: Right now, this feature is only implemented for YAML!</doc>
        <source-position filename="../src/as-metadata.h" line="148"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="metad" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-metadata.c"
                 line="1186">an #AsMetadata instance.</doc>
            <type name="Metadata" c:type="AsMetadata*"/>
          </instance-parameter>
          <parameter name="wheader" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-metadata.c"
                 line="1187">A boolean value.</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </method>
      <field name="parent_instance">
        <type name="GObject.Object" c:type="GObject"/>
      </field>
    </class>
    <record name="MetadataClass"
            c:type="AsMetadataClass"
            glib:is-gtype-struct-for="Metadata">
      <source-position filename="../src/as-metadata.h" line="50"/>
      <field name="parent_class">
        <type name="GObject.ObjectClass" c:type="GObjectClass"/>
      </field>
      <field name="_as_reserved1" introspectable="0">
        <callback name="_as_reserved1">
          <source-position filename="../src/as-metadata.h" line="44"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_as_reserved2" introspectable="0">
        <callback name="_as_reserved2">
          <source-position filename="../src/as-metadata.h" line="45"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_as_reserved3" introspectable="0">
        <callback name="_as_reserved3">
          <source-position filename="../src/as-metadata.h" line="46"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_as_reserved4" introspectable="0">
        <callback name="_as_reserved4">
          <source-position filename="../src/as-metadata.h" line="47"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_as_reserved5" introspectable="0">
        <callback name="_as_reserved5">
          <source-position filename="../src/as-metadata.h" line="48"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_as_reserved6" introspectable="0">
        <callback name="_as_reserved6">
          <source-position filename="../src/as-metadata.h" line="49"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
    </record>
    <enumeration name="MetadataError" c:type="AsMetadataError">
      <doc xml:space="preserve"
           filename="../src/as-metadata.h"
           line="64">A metadata processing error.</doc>
      <source-position filename="../src/as-metadata.h" line="82"/>
      <member name="failed" value="0" c:identifier="AS_METADATA_ERROR_FAILED">
        <doc xml:space="preserve"
             filename="../src/as-metadata.h"
             line="66">Generic failure.</doc>
      </member>
      <member name="parse" value="1" c:identifier="AS_METADATA_ERROR_PARSE">
        <doc xml:space="preserve"
             filename="../src/as-metadata.h"
             line="67">Unable to parse the metadata file.</doc>
      </member>
      <member name="format_unexpected"
              value="2"
              c:identifier="AS_METADATA_ERROR_FORMAT_UNEXPECTED">
        <doc xml:space="preserve"
             filename="../src/as-metadata.h"
             line="68">Expected collection metadata but got metainfo metadata, or vice versa.</doc>
      </member>
      <member name="no_component"
              value="3"
              c:identifier="AS_METADATA_ERROR_NO_COMPONENT">
        <doc xml:space="preserve"
             filename="../src/as-metadata.h"
             line="69">We expected a component in the pool, but couldn't find one.</doc>
      </member>
      <member name="value_missing"
              value="4"
              c:identifier="AS_METADATA_ERROR_VALUE_MISSING">
        <doc xml:space="preserve"
             filename="../src/as-metadata.h"
             line="70">A essential value is missing in the source document.</doc>
      </member>
    </enumeration>
    <bitfield name="ParseFlags" c:type="AsParseFlags">
      <doc xml:space="preserve"
           filename="../src/as-metadata.h"
           line="52">Influence certain aspects of how AppStream metadata is parsed.</doc>
      <source-position filename="../src/as-metadata.h" line="62"/>
      <member name="none" value="0" c:identifier="AS_PARSE_FLAG_NONE">
        <doc xml:space="preserve"
             filename="../src/as-metadata.h"
             line="54">No flags.</doc>
      </member>
      <member name="ignore_mediabaseurl"
              value="1"
              c:identifier="AS_PARSE_FLAG_IGNORE_MEDIABASEURL">
        <doc xml:space="preserve"
             filename="../src/as-metadata.h"
             line="55">Do not process the media_baseurl document property.</doc>
      </member>
    </bitfield>
    <class name="Pool"
           c:symbol-prefix="pool"
           c:type="AsPool"
           parent="GObject.Object"
           glib:type-name="AsPool"
           glib:get-type="as_pool_get_type"
           glib:type-struct="PoolClass">
      <source-position filename="../src/as-pool.h" line="47"/>
      <constructor name="new" c:identifier="as_pool_new">
        <doc xml:space="preserve"
             filename="../src/as-pool.c"
             line="2201">Creates a new #AsPool.</doc>
        <source-position filename="../src/as-pool.h" line="104"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="../src/as-pool.c"
               line="2206">a #AsPool</doc>
          <type name="Pool" c:type="AsPool*"/>
        </return-value>
      </constructor>
      <function name="error_quark" c:identifier="as_pool_error_quark">
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-pool.c"
               line="2190">An error quark.</doc>
          <type name="GLib.Quark" c:type="GQuark"/>
        </return-value>
      </function>
      <method name="add_component"
              c:identifier="as_pool_add_component"
              throws="1">
        <doc xml:space="preserve"
             filename="../src/as-pool.c"
             line="554">Register a new component in the AppStream metadata pool.</doc>
        <source-position filename="../src/as-pool.h" line="123"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-pool.c"
               line="562">%TRUE if the new component was successfully added to the pool.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="pool" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-pool.c"
                 line="556">An instance of #AsPool</doc>
            <type name="Pool" c:type="AsPool*"/>
          </instance-parameter>
          <parameter name="cpt" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-pool.c"
                 line="557">The #AsComponent to add to the pool.</doc>
            <type name="Component" c:type="AsComponent*"/>
          </parameter>
        </parameters>
      </method>
      <method name="add_metadata_location"
              c:identifier="as_pool_add_metadata_location">
        <doc xml:space="preserve"
             filename="../src/as-pool.c"
             line="2044">Add a location for the data pool to read data from.
If @directory contains a "xml", "xmls", "yaml" or "icons" subdirectory (or all of them),
those paths will be added to the search paths instead.</doc>
        <source-position filename="../src/as-pool.h" line="144"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="pool" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-pool.c"
                 line="2046">An instance of #AsPool.</doc>
            <type name="Pool" c:type="AsPool*"/>
          </instance-parameter>
          <parameter name="directory" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-pool.c"
                 line="2047">An existing filesystem location.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="clear" c:identifier="as_pool_clear">
        <doc xml:space="preserve"
             filename="../src/as-pool.c"
             line="616">Remove all metadat from the pool.</doc>
        <source-position filename="../src/as-pool.h" line="174"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="pool" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-pool.c"
                 line="618">An #AsPool.</doc>
            <type name="Pool" c:type="AsPool*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="clear2" c:identifier="as_pool_clear2" throws="1">
        <doc xml:space="preserve"
             filename="../src/as-pool.c"
             line="570">Remove all metadata from the pool and clear caches.</doc>
        <source-position filename="../src/as-pool.h" line="121"/>
        <return-value transfer-ownership="none">
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="pool" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-pool.c"
                 line="572">An #AsPool.</doc>
            <type name="Pool" c:type="AsPool*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="clear_metadata_locations"
              c:identifier="as_pool_clear_metadata_locations">
        <doc xml:space="preserve"
             filename="../src/as-pool.c"
             line="2059">Remove all metadata locations from the list of watched locations.</doc>
        <source-position filename="../src/as-pool.h" line="143"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="pool" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-pool.c"
                 line="2061">An instance of #AsPool.</doc>
            <type name="Pool" c:type="AsPool*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_cache_flags" c:identifier="as_pool_get_cache_flags">
        <doc xml:space="preserve"
             filename="../src/as-pool.c"
             line="2079">Get the #AsCacheFlags for this data pool.</doc>
        <source-position filename="../src/as-pool.h" line="147"/>
        <return-value transfer-ownership="none">
          <type name="CacheFlags" c:type="AsCacheFlags"/>
        </return-value>
        <parameters>
          <instance-parameter name="pool" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-pool.c"
                 line="2081">An instance of #AsPool.</doc>
            <type name="Pool" c:type="AsPool*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_cache_location"
              c:identifier="as_pool_get_cache_location">
        <doc xml:space="preserve"
             filename="../src/as-pool.c"
             line="2171">Gets the location of the session cache.</doc>
        <source-position filename="../src/as-pool.h" line="155"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-pool.c"
               line="2177">Location of the cache.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="pool" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-pool.c"
                 line="2173">An instance of #AsPool.</doc>
            <type name="Pool" c:type="AsPool*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_components" c:identifier="as_pool_get_components">
        <doc xml:space="preserve"
             filename="../src/as-pool.c"
             line="1402">Get a list of found components.</doc>
        <source-position filename="../src/as-pool.h" line="127"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="../src/as-pool.c"
               line="1408">an array of #AsComponent instances.</doc>
          <array name="GLib.PtrArray" c:type="GPtrArray*">
            <type name="Component"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="pool" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-pool.c"
                 line="1404">An instance of #AsPool.</doc>
            <type name="Pool" c:type="AsPool*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_components_by_categories"
              c:identifier="as_pool_get_components_by_categories">
        <doc xml:space="preserve"
             filename="../src/as-pool.c"
             line="1546">Return a list of components which are in one of the categories.</doc>
        <source-position filename="../src/as-pool.h" line="135"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="../src/as-pool.c"
               line="1553">an array of #AsComponent objects which have been found.</doc>
          <array name="GLib.PtrArray" c:type="GPtrArray*">
            <type name="Component"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="pool" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-pool.c"
                 line="1548">An instance of #AsDatabase.</doc>
            <type name="Pool" c:type="AsPool*"/>
          </instance-parameter>
          <parameter name="categories" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-pool.c"
                 line="1549">An array of XDG categories to include.</doc>
            <type name="utf8" c:type="gchar**"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_components_by_id"
              c:identifier="as_pool_get_components_by_id">
        <doc xml:space="preserve"
             filename="../src/as-pool.c"
             line="1436">Get a specific component by its ID.
This function may contain multiple results if we have
data describing this component from multiple scopes/origin types.</doc>
        <source-position filename="../src/as-pool.h" line="128"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="../src/as-pool.c"
               line="1445">An #AsComponent</doc>
          <array name="GLib.PtrArray" c:type="GPtrArray*">
            <type name="Component"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="pool" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-pool.c"
                 line="1438">An instance of #AsPool.</doc>
            <type name="Pool" c:type="AsPool*"/>
          </instance-parameter>
          <parameter name="cid" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-pool.c"
                 line="1439">The AppStream-ID to look for.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_components_by_kind"
              c:identifier="as_pool_get_components_by_kind">
        <doc xml:space="preserve"
             filename="../src/as-pool.c"
             line="1511">Return a list of all components in the pool which are of a certain kind.</doc>
        <source-position filename="../src/as-pool.h" line="133"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="../src/as-pool.c"
               line="1518">an array of #AsComponent objects which have been found.</doc>
          <array name="GLib.PtrArray" c:type="GPtrArray*">
            <type name="Component"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="pool" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-pool.c"
                 line="1513">An instance of #AsDatabase.</doc>
            <type name="Pool" c:type="AsPool*"/>
          </instance-parameter>
          <parameter name="kind" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-pool.c"
                 line="1514">An #AsComponentKind.</doc>
            <type name="ComponentKind" c:type="AsComponentKind"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_components_by_launchable"
              c:identifier="as_pool_get_components_by_launchable"
              version="0.11.4">
        <doc xml:space="preserve"
             filename="../src/as-pool.c"
             line="1588">Find components in the AppStream data pool which provide a specific launchable.
See #AsLaunchable for details on launchables, or refer to the AppStream specification.</doc>
        <source-position filename="../src/as-pool.h" line="137"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="../src/as-pool.c"
               line="1597">an array of #AsComponent objects which have been found.</doc>
          <array name="GLib.PtrArray" c:type="GPtrArray*">
            <type name="Component"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="pool" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-pool.c"
                 line="1590">An instance of #AsPool.</doc>
            <type name="Pool" c:type="AsPool*"/>
          </instance-parameter>
          <parameter name="kind" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-pool.c"
                 line="1591">An #AsLaunchableKind</doc>
            <type name="LaunchableKind" c:type="AsLaunchableKind"/>
          </parameter>
          <parameter name="id" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-pool.c"
                 line="1592">The ID of the launchable.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_components_by_provided_item"
              c:identifier="as_pool_get_components_by_provided_item">
        <doc xml:space="preserve"
             filename="../src/as-pool.c"
             line="1473">Find components in the AppStream data pool which provide a certain item.</doc>
        <source-position filename="../src/as-pool.h" line="130"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="../src/as-pool.c"
               line="1481">an array of #AsComponent objects which have been found.</doc>
          <array name="GLib.PtrArray" c:type="GPtrArray*">
            <type name="Component"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="pool" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-pool.c"
                 line="1475">An instance of #AsPool.</doc>
            <type name="Pool" c:type="AsPool*"/>
          </instance-parameter>
          <parameter name="kind" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-pool.c"
                 line="1476">An #AsProvidesKind</doc>
            <type name="ProvidedKind" c:type="AsProvidedKind"/>
          </parameter>
          <parameter name="item" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-pool.c"
                 line="1477">The value of the provided item.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_flags" c:identifier="as_pool_get_flags">
        <doc xml:space="preserve"
             filename="../src/as-pool.c"
             line="2108">Get the #AsPoolFlags for this data pool.</doc>
        <source-position filename="../src/as-pool.h" line="151"/>
        <return-value transfer-ownership="none">
          <type name="PoolFlags" c:type="AsPoolFlags"/>
        </return-value>
        <parameters>
          <instance-parameter name="pool" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-pool.c"
                 line="2110">An instance of #AsPool.</doc>
            <type name="Pool" c:type="AsPool*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_locale" c:identifier="as_pool_get_locale">
        <doc xml:space="preserve"
             filename="../src/as-pool.c"
             line="1960">Gets the currently used locale.</doc>
        <source-position filename="../src/as-pool.h" line="106"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-pool.c"
               line="1966">Locale used for metadata parsing.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="pool" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-pool.c"
                 line="1962">An instance of #AsPool.</doc>
            <type name="Pool" c:type="AsPool*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="load" c:identifier="as_pool_load" throws="1">
        <doc xml:space="preserve"
             filename="../src/as-pool.c"
             line="1195">Builds an index of all found components in the watched locations.
The function will try to get as much data into the pool as possible, so even if
the update completes with %FALSE, it might still have added components to the pool.

The function will load from all possible data sources, preferring caches if they
are up to date.</doc>
        <source-position filename="../src/as-pool.h" line="110"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-pool.c"
               line="1208">%TRUE if update completed without error.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="pool" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-pool.c"
                 line="1197">An instance of #AsPool.</doc>
            <type name="Pool" c:type="AsPool*"/>
          </instance-parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="../src/as-pool.c"
                 line="1198">a #GCancellable.</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
        </parameters>
      </method>
      <method name="load_async"
              c:identifier="as_pool_load_async"
              version="0.12.10">
        <doc xml:space="preserve"
             filename="../src/as-pool.c"
             line="1306">Asynchronously loads data from all registered locations.
Equivalent to as_pool_load() (but asynchronous)</doc>
        <source-position filename="../src/as-pool.h" line="113"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="pool" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-pool.c"
                 line="1308">An instance of #AsPool.</doc>
            <type name="Pool" c:type="AsPool*"/>
          </instance-parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="../src/as-pool.c"
                 line="1309">a #GCancellable.</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
          <parameter name="callback"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1"
                     scope="async"
                     closure="2">
            <doc xml:space="preserve"
                 filename="../src/as-pool.c"
                 line="1310">A #GAsyncReadyCallback</doc>
            <type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
          </parameter>
          <parameter name="user_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="../src/as-pool.c"
                 line="1311">Data to pass to @callback</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </method>
      <method name="load_cache_file"
              c:identifier="as_pool_load_cache_file"
              throws="1">
        <doc xml:space="preserve"
             filename="../src/as-pool.c"
             line="1350">Load AppStream metadata from a cache file.</doc>
        <source-position filename="../src/as-pool.h" line="162"/>
        <return-value transfer-ownership="none">
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="pool" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-pool.c"
                 line="1352">An instance of #AsPool.</doc>
            <type name="Pool" c:type="AsPool*"/>
          </instance-parameter>
          <parameter name="fname" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-pool.c"
                 line="1353">Filename of the cache file to load into the pool.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="load_finish"
              c:identifier="as_pool_load_finish"
              version="0.12.10"
              throws="1">
        <doc xml:space="preserve"
             filename="../src/as-pool.c"
             line="1329">Retrieve the result of as_pool_load_async().</doc>
        <source-position filename="../src/as-pool.h" line="117"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-pool.c"
               line="1337">%TRUE for success</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="pool" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-pool.c"
                 line="1331">An instance of #AsPool.</doc>
            <type name="Pool" c:type="AsPool*"/>
          </instance-parameter>
          <parameter name="result" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-pool.c"
                 line="1332">A #GAsyncResult</doc>
            <type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
          </parameter>
        </parameters>
      </method>
      <method name="refresh_cache"
              c:identifier="as_pool_refresh_cache"
              throws="1">
        <doc xml:space="preserve"
             filename="../src/as-pool.c"
             line="1785">Update the AppStream cache. There is normally no need to call this function manually, because cache updates are handled
transparently in the background.</doc>
        <source-position filename="../src/as-pool.h" line="170"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-pool.c"
               line="1793">%TRUE if the cache was updated, %FALSE on error or if the cache update was not necessary and has been skipped.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="pool" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-pool.c"
                 line="1787">An instance of #AsPool.</doc>
            <type name="Pool" c:type="AsPool*"/>
          </instance-parameter>
          <parameter name="force" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-pool.c"
                 line="1788">Enforce refresh, even if source data has not changed.</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </method>
      <method name="save_cache_file"
              c:identifier="as_pool_save_cache_file"
              throws="1">
        <doc xml:space="preserve"
             filename="../src/as-pool.c"
             line="1371">Serialize AppStream metadata to a cache file.</doc>
        <source-position filename="../src/as-pool.h" line="166"/>
        <return-value transfer-ownership="none">
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="pool" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-pool.c"
                 line="1373">An instance of #AsPool.</doc>
            <type name="Pool" c:type="AsPool*"/>
          </instance-parameter>
          <parameter name="fname" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-pool.c"
                 line="1374">Filename of the cache file the pool contents should be dumped to.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="search" c:identifier="as_pool_search" version="0.9.7">
        <doc xml:space="preserve"
             filename="../src/as-pool.c"
             line="1719">Search for a list of components matching the search terms.
The list will be ordered by match score.</doc>
        <source-position filename="../src/as-pool.h" line="140"/>
        <return-value transfer-ownership="container">
          <doc xml:space="preserve"
               filename="../src/as-pool.c"
               line="1727">an array of the found #AsComponent objects.</doc>
          <array name="GLib.PtrArray" c:type="GPtrArray*">
            <type name="Component"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="pool" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-pool.c"
                 line="1721">An instance of #AsPool</doc>
            <type name="Pool" c:type="AsPool*"/>
          </instance-parameter>
          <parameter name="search" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-pool.c"
                 line="1722">A search string</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_cache_flags" c:identifier="as_pool_set_cache_flags">
        <doc xml:space="preserve"
             filename="../src/as-pool.c"
             line="2093">Set the #AsCacheFlags for this data pool.</doc>
        <source-position filename="../src/as-pool.h" line="148"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="pool" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-pool.c"
                 line="2095">An instance of #AsPool.</doc>
            <type name="Pool" c:type="AsPool*"/>
          </instance-parameter>
          <parameter name="flags" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-pool.c"
                 line="2096">The new #AsCacheFlags.</doc>
            <type name="CacheFlags" c:type="AsCacheFlags"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_cache_location"
              c:identifier="as_pool_set_cache_location"
              version="0.12.7">
        <doc xml:space="preserve"
             filename="../src/as-pool.c"
             line="2150">Sets the name of the cache file. If @fname is ":memory", the cache will be
kept in memory, if it is set to ":temporary", the cache will be stored in
a temporary directory. In any other case, the given filename is used.</doc>
        <source-position filename="../src/as-pool.h" line="156"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="pool" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-pool.c"
                 line="2152">An instance of #AsPool.</doc>
            <type name="Pool" c:type="AsPool*"/>
          </instance-parameter>
          <parameter name="fname" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-pool.c"
                 line="2153">Filename of the cache file, or special identifier.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_flags" c:identifier="as_pool_set_flags">
        <doc xml:space="preserve"
             filename="../src/as-pool.c"
             line="2122">Set the #AsPoolFlags for this data pool.</doc>
        <source-position filename="../src/as-pool.h" line="152"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="pool" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-pool.c"
                 line="2124">An instance of #AsPool.</doc>
            <type name="Pool" c:type="AsPool*"/>
          </instance-parameter>
          <parameter name="flags" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-pool.c"
                 line="2125">The new #AsPoolFlags.</doc>
            <type name="PoolFlags" c:type="AsPoolFlags"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_locale" c:identifier="as_pool_set_locale">
        <doc xml:space="preserve"
             filename="../src/as-pool.c"
             line="1943">Sets the current locale which should be used when parsing metadata.</doc>
        <source-position filename="../src/as-pool.h" line="107"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="pool" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-pool.c"
                 line="1945">An instance of #AsPool.</doc>
            <type name="Pool" c:type="AsPool*"/>
          </instance-parameter>
          <parameter name="locale" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-pool.c"
                 line="1946">the locale.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <field name="parent_instance">
        <type name="GObject.Object" c:type="GObject"/>
      </field>
    </class>
    <record name="PoolClass"
            c:type="AsPoolClass"
            glib:is-gtype-struct-for="Pool">
      <source-position filename="../src/as-pool.h" line="47"/>
      <field name="parent_class">
        <type name="GObject.ObjectClass" c:type="GObjectClass"/>
      </field>
      <field name="_as_reserved1" introspectable="0">
        <callback name="_as_reserved1">
          <source-position filename="../src/as-pool.h" line="41"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_as_reserved2" introspectable="0">
        <callback name="_as_reserved2">
          <source-position filename="../src/as-pool.h" line="42"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_as_reserved3" introspectable="0">
        <callback name="_as_reserved3">
          <source-position filename="../src/as-pool.h" line="43"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_as_reserved4" introspectable="0">
        <callback name="_as_reserved4">
          <source-position filename="../src/as-pool.h" line="44"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_as_reserved5" introspectable="0">
        <callback name="_as_reserved5">
          <source-position filename="../src/as-pool.h" line="45"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_as_reserved6" introspectable="0">
        <callback name="_as_reserved6">
          <source-position filename="../src/as-pool.h" line="46"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
    </record>
    <enumeration name="PoolError" c:type="AsPoolError">
      <doc xml:space="preserve"
           filename="../src/as-pool.h"
           line="81">A metadata pool error.</doc>
      <source-position filename="../src/as-pool.h" line="99"/>
      <member name="failed" value="0" c:identifier="AS_POOL_ERROR_FAILED">
        <doc xml:space="preserve"
             filename="../src/as-pool.h"
             line="83">Generic failure</doc>
      </member>
      <member name="target_not_writable"
              value="1"
              c:identifier="AS_POOL_ERROR_TARGET_NOT_WRITABLE">
        <doc xml:space="preserve"
             filename="../src/as-pool.h"
             line="84">We do not have write-access to the cache target location.</doc>
      </member>
      <member name="incomplete"
              value="2"
              c:identifier="AS_POOL_ERROR_INCOMPLETE">
        <doc xml:space="preserve"
             filename="../src/as-pool.h"
             line="85">The pool was loaded, but we had to ignore some metadata.</doc>
      </member>
      <member name="collision"
              value="3"
              c:identifier="AS_POOL_ERROR_COLLISION">
        <doc xml:space="preserve"
             filename="../src/as-pool.h"
             line="86">An AppStream-ID collision occured (a component with that ID already existed in the pool)</doc>
      </member>
      <member name="old_cache"
              value="4"
              c:identifier="AS_POOL_ERROR_OLD_CACHE">
        <doc xml:space="preserve"
             filename="../src/as-pool.h"
             line="87">Some issue with an old on-disk cache occured.</doc>
      </member>
    </enumeration>
    <bitfield name="PoolFlags" c:type="AsPoolFlags">
      <doc xml:space="preserve"
           filename="../src/as-pool.h"
           line="65">Flags on how caching should be used.</doc>
      <source-position filename="../src/as-pool.h" line="79"/>
      <member name="none" value="0" c:identifier="AS_POOL_FLAG_NONE">
        <doc xml:space="preserve"
             filename="../src/as-pool.h"
             line="67">No flags.</doc>
      </member>
      <member name="read_collection"
              value="1"
              c:identifier="AS_POOL_FLAG_READ_COLLECTION">
        <doc xml:space="preserve"
             filename="../src/as-pool.h"
             line="68">Add AppStream collection metadata to the pool.</doc>
      </member>
      <member name="read_metainfo"
              value="2"
              c:identifier="AS_POOL_FLAG_READ_METAINFO">
        <doc xml:space="preserve"
             filename="../src/as-pool.h"
             line="69">Add data from AppStream metainfo files to the pool.</doc>
      </member>
      <member name="read_desktop_files"
              value="4"
              c:identifier="AS_POOL_FLAG_READ_DESKTOP_FILES">
        <doc xml:space="preserve"
             filename="../src/as-pool.h"
             line="70">Add metadata from .desktop files to the pool.</doc>
      </member>
    </bitfield>
    <class name="Provided"
           c:symbol-prefix="provided"
           c:type="AsProvided"
           parent="GObject.Object"
           glib:type-name="AsProvided"
           glib:get-type="as_provided_get_type"
           glib:type-struct="ProvidedClass">
      <source-position filename="../src/as-provided.h" line="45"/>
      <constructor name="new" c:identifier="as_provided_new">
        <doc xml:space="preserve"
             filename="../src/as-provided.c"
             line="294">Creates a new #AsProvided.</doc>
        <source-position filename="../src/as-provided.h" line="89"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="../src/as-provided.c"
               line="299">a #AsProvided</doc>
          <type name="Provided" c:type="AsProvided*"/>
        </return-value>
      </constructor>
      <function name="kind_from_string"
                c:identifier="as_provided_kind_from_string">
        <doc xml:space="preserve"
             filename="../src/as-provided.c"
             line="91">Converts the text representation to an enumerated value.</doc>
        <source-position filename="../src/as-provided.h" line="86"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-provided.c"
               line="97">a #AsProvidedKind or %AS_PROVIDED_KIND_UNKNOWN for unknown</doc>
          <type name="ProvidedKind" c:type="AsProvidedKind"/>
        </return-value>
        <parameters>
          <parameter name="kind_str" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-provided.c"
                 line="93">the string.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </function>
      <function name="kind_to_l10n_string"
                c:identifier="as_provided_kind_to_l10n_string">
        <doc xml:space="preserve"
             filename="../src/as-provided.c"
             line="129">Converts the enumerated value to a localized text representation,
using the plural forms (e.g. "Libraries" instead of "Library").

This can be useful when displaying provided items in GUI dialogs.</doc>
        <source-position filename="../src/as-provided.h" line="87"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-provided.c"
               line="138">Pluralized, l10n string version of @kind</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <parameter name="kind" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-provided.c"
                 line="131">the #AsProvidedKind.</doc>
            <type name="ProvidedKind" c:type="AsProvidedKind"/>
          </parameter>
        </parameters>
      </function>
      <function name="kind_to_string"
                c:identifier="as_provided_kind_to_string">
        <doc xml:space="preserve"
             filename="../src/as-provided.c"
             line="53">Converts the enumerated value to a text representation.</doc>
        <source-position filename="../src/as-provided.h" line="85"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-provided.c"
               line="59">string version of @kind</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <parameter name="kind" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-provided.c"
                 line="55">the #AsProvidedKind.</doc>
            <type name="ProvidedKind" c:type="AsProvidedKind"/>
          </parameter>
        </parameters>
      </function>
      <method name="add_item" c:identifier="as_provided_add_item">
        <doc xml:space="preserve"
             filename="../src/as-provided.c"
             line="281">Add a new provided item.</doc>
        <source-position filename="../src/as-provided.h" line="96"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="prov" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-provided.c"
                 line="283">a #AsProvided instance.</doc>
            <type name="Provided" c:type="AsProvided*"/>
          </instance-parameter>
          <parameter name="item" transfer-ownership="none">
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_items" c:identifier="as_provided_get_items">
        <doc xml:space="preserve"
             filename="../src/as-provided.c"
             line="266">Get an array of provided data.</doc>
        <source-position filename="../src/as-provided.h" line="95"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-provided.c"
               line="272">An string list of provided items.</doc>
          <array name="GLib.PtrArray" c:type="GPtrArray*">
            <type name="utf8"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="prov" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-provided.c"
                 line="268">a #AsProvided instance.</doc>
            <type name="Provided" c:type="AsProvided*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_kind" c:identifier="as_provided_get_kind">
        <doc xml:space="preserve"
             filename="../src/as-provided.c"
             line="206">The kind of items this #AsProvided object stores.</doc>
        <source-position filename="../src/as-provided.h" line="91"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-provided.c"
               line="212">an enum of type #AsProvidedKind</doc>
          <type name="ProvidedKind" c:type="AsProvidedKind"/>
        </return-value>
        <parameters>
          <instance-parameter name="prov" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-provided.c"
                 line="208">a #AsProvided instance.</doc>
            <type name="Provided" c:type="AsProvided*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="has_item" c:identifier="as_provided_has_item">
        <doc xml:space="preserve"
             filename="../src/as-provided.c"
             line="235">Check if the current #AsProvided contains an item
of the given name.</doc>
        <source-position filename="../src/as-provided.h" line="98"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-provided.c"
               line="243">%TRUE if found.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="prov" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-provided.c"
                 line="237">a #AsProvided instance.</doc>
            <type name="Provided" c:type="AsProvided*"/>
          </instance-parameter>
          <parameter name="item" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-provided.c"
                 line="238">the name of a provided item, e.g. "audio/x-vorbis" (in case the provided kind is a mimetype)</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_kind" c:identifier="as_provided_set_kind">
        <doc xml:space="preserve"
             filename="../src/as-provided.c"
             line="221">Set the kind of items this #AsProvided object stores.</doc>
        <source-position filename="../src/as-provided.h" line="92"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="prov" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-provided.c"
                 line="223">a #AsProvided instance.</doc>
            <type name="Provided" c:type="AsProvided*"/>
          </instance-parameter>
          <parameter name="kind" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-provided.c"
                 line="224">the new #AsProvidedKind</doc>
            <type name="ProvidedKind" c:type="AsProvidedKind"/>
          </parameter>
        </parameters>
      </method>
      <field name="parent_instance">
        <type name="GObject.Object" c:type="GObject"/>
      </field>
    </class>
    <record name="ProvidedClass"
            c:type="AsProvidedClass"
            glib:is-gtype-struct-for="Provided">
      <source-position filename="../src/as-provided.h" line="45"/>
      <field name="parent_class">
        <type name="GObject.ObjectClass" c:type="GObjectClass"/>
      </field>
      <field name="_as_reserved1" introspectable="0">
        <callback name="_as_reserved1">
          <source-position filename="../src/as-provided.h" line="39"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_as_reserved2" introspectable="0">
        <callback name="_as_reserved2">
          <source-position filename="../src/as-provided.h" line="40"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_as_reserved3" introspectable="0">
        <callback name="_as_reserved3">
          <source-position filename="../src/as-provided.h" line="41"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_as_reserved4" introspectable="0">
        <callback name="_as_reserved4">
          <source-position filename="../src/as-provided.h" line="42"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_as_reserved5" introspectable="0">
        <callback name="_as_reserved5">
          <source-position filename="../src/as-provided.h" line="43"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_as_reserved6" introspectable="0">
        <callback name="_as_reserved6">
          <source-position filename="../src/as-provided.h" line="44"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
    </record>
    <enumeration name="ProvidedKind" c:type="AsProvidedKind">
      <doc xml:space="preserve"
           filename="../src/as-provided.h"
           line="47">Type of the public interface components can provide.</doc>
      <source-position filename="../src/as-provided.h" line="81"/>
      <member name="unknown" value="0" c:identifier="AS_PROVIDED_KIND_UNKNOWN">
        <doc xml:space="preserve"
             filename="../src/as-provided.h"
             line="49">Unknown kind</doc>
      </member>
      <member name="library" value="1" c:identifier="AS_PROVIDED_KIND_LIBRARY">
        <doc xml:space="preserve"
             filename="../src/as-provided.h"
             line="50">A shared library</doc>
      </member>
      <member name="binary" value="2" c:identifier="AS_PROVIDED_KIND_BINARY">
        <doc xml:space="preserve"
             filename="../src/as-provided.h"
             line="51">A binary installed into a directory in PATH</doc>
      </member>
      <member name="mediatype"
              value="3"
              c:identifier="AS_PROVIDED_KIND_MEDIATYPE">
        <doc xml:space="preserve"
             filename="../src/as-provided.h"
             line="52">Provides a handler for a mimetype</doc>
      </member>
      <member name="font" value="4" c:identifier="AS_PROVIDED_KIND_FONT">
        <doc xml:space="preserve"
             filename="../src/as-provided.h"
             line="53">A font</doc>
      </member>
      <member name="modalias"
              value="5"
              c:identifier="AS_PROVIDED_KIND_MODALIAS">
        <doc xml:space="preserve"
             filename="../src/as-provided.h"
             line="54">A modalias</doc>
      </member>
      <member name="python_2"
              value="6"
              c:identifier="AS_PROVIDED_KIND_PYTHON_2">
        <doc xml:space="preserve"
             filename="../src/as-provided.h"
             line="55">A Python2 module</doc>
      </member>
      <member name="python" value="7" c:identifier="AS_PROVIDED_KIND_PYTHON">
        <doc xml:space="preserve"
             filename="../src/as-provided.h"
             line="56">A Python3 module</doc>
      </member>
      <member name="dbus_system"
              value="8"
              c:identifier="AS_PROVIDED_KIND_DBUS_SYSTEM">
        <doc xml:space="preserve"
             filename="../src/as-provided.h"
             line="57">A DBus service name on the system bus.</doc>
      </member>
      <member name="dbus_user"
              value="9"
              c:identifier="AS_PROVIDED_KIND_DBUS_USER">
        <doc xml:space="preserve"
             filename="../src/as-provided.h"
             line="58">A DBus service name on the user/session bus.</doc>
      </member>
      <member name="firmware_runtime"
              value="10"
              c:identifier="AS_PROVIDED_KIND_FIRMWARE_RUNTIME">
        <doc xml:space="preserve"
             filename="../src/as-provided.h"
             line="59">Firmware flashed at runtime.</doc>
      </member>
      <member name="firmware_flashed"
              value="11"
              c:identifier="AS_PROVIDED_KIND_FIRMWARE_FLASHED">
        <doc xml:space="preserve"
             filename="../src/as-provided.h"
             line="60">Firmware flashed permanently to the device.</doc>
      </member>
      <member name="id" value="12" c:identifier="AS_PROVIDED_KIND_ID">
        <doc xml:space="preserve"
             filename="../src/as-provided.h"
             line="61">An AppStream component</doc>
      </member>
    </enumeration>
    <class name="Relation"
           c:symbol-prefix="relation"
           c:type="AsRelation"
           parent="GObject.Object"
           glib:type-name="AsRelation"
           glib:get-type="as_relation_get_type"
           glib:type-struct="RelationClass">
      <source-position filename="../src/as-relation.h" line="45"/>
      <constructor name="new" c:identifier="as_relation_new" version="0.11.0">
        <doc xml:space="preserve"
             filename="../src/as-relation.c"
             line="663">Creates a new #AsRelation.</doc>
        <source-position filename="../src/as-relation.h" line="119"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="../src/as-relation.c"
               line="668">a #AsRelation</doc>
          <type name="Relation" c:type="AsRelation*"/>
        </return-value>
      </constructor>
      <function name="compare_from_string"
                c:identifier="as_relation_compare_from_string"
                version="0.12.0">
        <doc xml:space="preserve"
             filename="../src/as-relation.c"
             line="146">Converts the text representation to an enumerated value.</doc>
        <source-position filename="../src/as-relation.h" line="115"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-relation.c"
               line="152">a #AsRelationCompare, or %AS_RELATION_COMPARE_UNKNOWN for unknown.</doc>
          <type name="RelationCompare" c:type="AsRelationCompare"/>
        </return-value>
        <parameters>
          <parameter name="compare_str" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-relation.c"
                 line="148">the string.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </function>
      <function name="compare_to_string"
                c:identifier="as_relation_compare_to_string"
                version="0.12.0">
        <doc xml:space="preserve"
             filename="../src/as-relation.c"
             line="193">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.</doc>
        <source-position filename="../src/as-relation.h" line="116"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-relation.c"
               line="201">string version of @compare</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <parameter name="compare" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-relation.c"
                 line="195">the #AsRelationCompare.</doc>
            <type name="RelationCompare" c:type="AsRelationCompare"/>
          </parameter>
        </parameters>
      </function>
      <function name="compare_to_symbols_string"
                c:identifier="as_relation_compare_to_symbols_string"
                version="0.12.0">
        <doc xml:space="preserve"
             filename="../src/as-relation.c"
             line="223">Converts the enumerated value to an text representation.
The enum is converted into an identifier consisting of two
mathematical comparison operators ("==", "&gt;=", etc.)
for use in the YAML representation and user interfaces.</doc>
        <source-position filename="../src/as-relation.h" line="117"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-relation.c"
               line="232">string version of @compare</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <parameter name="compare" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-relation.c"
                 line="225">the #AsRelationCompare.</doc>
            <type name="RelationCompare" c:type="AsRelationCompare"/>
          </parameter>
        </parameters>
      </function>
      <function name="item_kind_from_string"
                c:identifier="as_relation_item_kind_from_string"
                version="0.12.0">
        <doc xml:space="preserve"
             filename="../src/as-relation.c"
             line="120">Converts the text representation to an enumerated value.</doc>
        <source-position filename="../src/as-relation.h" line="113"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-relation.c"
               line="126">a #AsRelationItemKind or %AS_RELATION_ITEM_KIND_UNKNOWN for unknown</doc>
          <type name="RelationItemKind" c:type="AsRelationItemKind"/>
        </return-value>
        <parameters>
          <parameter name="kind_str" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-relation.c"
                 line="122">the string.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </function>
      <function name="item_kind_to_string"
                c:identifier="as_relation_item_kind_to_string"
                version="0.12.0">
        <doc xml:space="preserve"
             filename="../src/as-relation.c"
             line="94">Converts the enumerated value to a text representation.</doc>
        <source-position filename="../src/as-relation.h" line="112"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-relation.c"
               line="100">string version of @kind</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <parameter name="kind" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-relation.c"
                 line="96">the #AsRelationKind.</doc>
            <type name="RelationItemKind" c:type="AsRelationItemKind"/>
          </parameter>
        </parameters>
      </function>
      <function name="kind_from_string"
                c:identifier="as_relation_kind_from_string"
                version="0.12.0">
        <doc xml:space="preserve"
             filename="../src/as-relation.c"
             line="74">Converts the text representation to an enumerated value.</doc>
        <source-position filename="../src/as-relation.h" line="110"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-relation.c"
               line="80">a #AsRelationKind or %AS_RELATION_KIND_UNKNOWN for unknown</doc>
          <type name="RelationKind" c:type="AsRelationKind"/>
        </return-value>
        <parameters>
          <parameter name="kind_str" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-relation.c"
                 line="76">the string.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </function>
      <function name="kind_to_string"
                c:identifier="as_relation_kind_to_string"
                version="0.12.0">
        <doc xml:space="preserve"
             filename="../src/as-relation.c"
             line="54">Converts the enumerated value to a text representation.</doc>
        <source-position filename="../src/as-relation.h" line="109"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-relation.c"
               line="60">string version of @kind</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <parameter name="kind" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-relation.c"
                 line="56">the #AsRelationKind.</doc>
            <type name="RelationKind" c:type="AsRelationKind"/>
          </parameter>
        </parameters>
      </function>
      <method name="get_compare"
              c:identifier="as_relation_get_compare"
              version="0.12.0">
        <doc xml:space="preserve"
             filename="../src/as-relation.c"
             line="356">The version comparison type.</doc>
        <source-position filename="../src/as-relation.h" line="129"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-relation.c"
               line="362">an enum of type #AsRelationCompare</doc>
          <type name="RelationCompare" c:type="AsRelationCompare"/>
        </return-value>
        <parameters>
          <instance-parameter name="relation" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-relation.c"
                 line="358">a #AsRelation instance.</doc>
            <type name="Relation" c:type="AsRelation*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_item_kind"
              c:identifier="as_relation_get_item_kind"
              version="0.12.0">
        <doc xml:space="preserve"
             filename="../src/as-relation.c"
             line="323">The kind of the item of this #AsRelation.</doc>
        <source-position filename="../src/as-relation.h" line="125"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-relation.c"
               line="329">an enum of type #AsRelationItemKind</doc>
          <type name="RelationItemKind" c:type="AsRelationItemKind"/>
        </return-value>
        <parameters>
          <instance-parameter name="relation" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-relation.c"
                 line="325">a #AsRelation instance.</doc>
            <type name="Relation" c:type="AsRelation*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_kind"
              c:identifier="as_relation_get_kind"
              version="0.12.0">
        <doc xml:space="preserve"
             filename="../src/as-relation.c"
             line="290">The type (and thereby strength) of this #AsRelation.</doc>
        <source-position filename="../src/as-relation.h" line="121"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-relation.c"
               line="296">an enum of type #AsRelationKind</doc>
          <type name="RelationKind" c:type="AsRelationKind"/>
        </return-value>
        <parameters>
          <instance-parameter name="relation" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-relation.c"
                 line="292">a #AsRelation instance.</doc>
            <type name="Relation" c:type="AsRelation*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_value"
              c:identifier="as_relation_get_value"
              version="0.12.0">
        <source-position filename="../src/as-relation.h" line="137"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-relation.c"
               line="425">The value of the item this #AsRelation is about.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="relation" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-relation.c"
                 line="423">an #AsRelation instance.</doc>
            <type name="Relation" c:type="AsRelation*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_value_int"
              c:identifier="as_relation_get_value_int"
              version="0.12.0">
        <source-position filename="../src/as-relation.h" line="138"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-relation.c"
               line="440">The value of the item this #AsRelation is about as integer.</doc>
          <type name="gint" c:type="gint"/>
        </return-value>
        <parameters>
          <instance-parameter name="relation" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-relation.c"
                 line="438">an #AsRelation instance.</doc>
            <type name="Relation" c:type="AsRelation*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_version"
              c:identifier="as_relation_get_version"
              version="0.12.0">
        <source-position filename="../src/as-relation.h" line="133"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-relation.c"
               line="393">The version of the item this #AsRelation is about.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="relation" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-relation.c"
                 line="391">an #AsRelation instance.</doc>
            <type name="Relation" c:type="AsRelation*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="set_compare"
              c:identifier="as_relation_set_compare"
              version="0.12.0">
        <doc xml:space="preserve"
             filename="../src/as-relation.c"
             line="373">Set the version comparison type of this #AsRelation.</doc>
        <source-position filename="../src/as-relation.h" line="130"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="relation" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-relation.c"
                 line="375">an #AsRelation instance.</doc>
            <type name="Relation" c:type="AsRelation*"/>
          </instance-parameter>
          <parameter name="compare" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-relation.c"
                 line="376">the new #AsRelationCompare</doc>
            <type name="RelationCompare" c:type="AsRelationCompare"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_item_kind"
              c:identifier="as_relation_set_item_kind"
              version="0.12.0">
        <doc xml:space="preserve"
             filename="../src/as-relation.c"
             line="340">Set the kind of the item this #AsRelation is about.</doc>
        <source-position filename="../src/as-relation.h" line="126"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="relation" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-relation.c"
                 line="342">a #AsRelation instance.</doc>
            <type name="Relation" c:type="AsRelation*"/>
          </instance-parameter>
          <parameter name="kind" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-relation.c"
                 line="343">the new #AsRelationItemKind</doc>
            <type name="RelationItemKind" c:type="AsRelationItemKind"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_kind"
              c:identifier="as_relation_set_kind"
              version="0.12.0">
        <doc xml:space="preserve"
             filename="../src/as-relation.c"
             line="307">Set the kind of this #AsRelation.</doc>
        <source-position filename="../src/as-relation.h" line="122"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="relation" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-relation.c"
                 line="309">a #AsRelation instance.</doc>
            <type name="Relation" c:type="AsRelation*"/>
          </instance-parameter>
          <parameter name="kind" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-relation.c"
                 line="310">the new #AsRelationKind</doc>
            <type name="RelationKind" c:type="AsRelationKind"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_value"
              c:identifier="as_relation_set_value"
              version="0.12.0">
        <doc xml:space="preserve"
             filename="../src/as-relation.c"
             line="453">Sets the item value.</doc>
        <source-position filename="../src/as-relation.h" line="139"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="relation" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-relation.c"
                 line="455">an #AsRelation instance.</doc>
            <type name="Relation" c:type="AsRelation*"/>
          </instance-parameter>
          <parameter name="value" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-relation.c"
                 line="456">the new value.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_version"
              c:identifier="as_relation_set_version"
              version="0.12.0">
        <doc xml:space="preserve"
             filename="../src/as-relation.c"
             line="404">Sets the item version.</doc>
        <source-position filename="../src/as-relation.h" line="134"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="relation" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-relation.c"
                 line="406">an #AsRelation instance.</doc>
            <type name="Relation" c:type="AsRelation*"/>
          </instance-parameter>
          <parameter name="version" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-relation.c"
                 line="407">the new version.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="version_compare"
              c:identifier="as_relation_version_compare"
              version="0.12.0"
              throws="1">
        <doc xml:space="preserve"
             filename="../src/as-relation.c"
             line="471">Tests whether the version number of this #AsRelation is fulfilled by
@version. Whether the given version is sufficient to fulfill the version
requirement of this #AsRelation is determined by its comparison resraint.</doc>
        <source-position filename="../src/as-relation.h" line="142"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-relation.c"
               line="481">%TRUE if the version from the parameter is sufficient.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="relation" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-relation.c"
                 line="473">an #AsRelation instance.</doc>
            <type name="Relation" c:type="AsRelation*"/>
          </instance-parameter>
          <parameter name="version" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-relation.c"
                 line="474">a version number, e.g. `1.2.0`</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <field name="parent_instance">
        <type name="GObject.Object" c:type="GObject"/>
      </field>
    </class>
    <record name="RelationClass"
            c:type="AsRelationClass"
            glib:is-gtype-struct-for="Relation">
      <source-position filename="../src/as-relation.h" line="45"/>
      <field name="parent_class">
        <type name="GObject.ObjectClass" c:type="GObjectClass"/>
      </field>
      <field name="_as_reserved1" introspectable="0">
        <callback name="_as_reserved1">
          <source-position filename="../src/as-relation.h" line="39"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_as_reserved2" introspectable="0">
        <callback name="_as_reserved2">
          <source-position filename="../src/as-relation.h" line="40"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_as_reserved3" introspectable="0">
        <callback name="_as_reserved3">
          <source-position filename="../src/as-relation.h" line="41"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_as_reserved4" introspectable="0">
        <callback name="_as_reserved4">
          <source-position filename="../src/as-relation.h" line="42"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_as_reserved5" introspectable="0">
        <callback name="_as_reserved5">
          <source-position filename="../src/as-relation.h" line="43"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_as_reserved6" introspectable="0">
        <callback name="_as_reserved6">
          <source-position filename="../src/as-relation.h" line="44"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
    </record>
    <enumeration name="RelationCompare" c:type="AsRelationCompare">
      <doc xml:space="preserve"
           filename="../src/as-relation.h"
           line="85">The relational comparison type.</doc>
      <source-position filename="../src/as-relation.h" line="107"/>
      <member name="unknown"
              value="0"
              c:identifier="AS_RELATION_COMPARE_UNKNOWN">
        <doc xml:space="preserve"
             filename="../src/as-relation.h"
             line="87">Comparison predicate invalid or not known</doc>
      </member>
      <member name="eq" value="1" c:identifier="AS_RELATION_COMPARE_EQ">
        <doc xml:space="preserve"
             filename="../src/as-relation.h"
             line="88">Equal to</doc>
      </member>
      <member name="ne" value="2" c:identifier="AS_RELATION_COMPARE_NE">
        <doc xml:space="preserve"
             filename="../src/as-relation.h"
             line="89">Not equal to</doc>
      </member>
      <member name="lt" value="3" c:identifier="AS_RELATION_COMPARE_LT">
        <doc xml:space="preserve"
             filename="../src/as-relation.h"
             line="90">Less than</doc>
      </member>
      <member name="gt" value="4" c:identifier="AS_RELATION_COMPARE_GT">
        <doc xml:space="preserve"
             filename="../src/as-relation.h"
             line="91">Greater than</doc>
      </member>
      <member name="le" value="5" c:identifier="AS_RELATION_COMPARE_LE">
        <doc xml:space="preserve"
             filename="../src/as-relation.h"
             line="92">Less than or equal to</doc>
      </member>
      <member name="ge" value="6" c:identifier="AS_RELATION_COMPARE_GE">
        <doc xml:space="preserve"
             filename="../src/as-relation.h"
             line="93">Greater than or equal to</doc>
      </member>
    </enumeration>
    <enumeration name="RelationItemKind" c:type="AsRelationItemKind">
      <doc xml:space="preserve"
           filename="../src/as-relation.h"
           line="63">Type of the item an #AsRelation is for.</doc>
      <source-position filename="../src/as-relation.h" line="83"/>
      <member name="unknown"
              value="0"
              c:identifier="AS_RELATION_ITEM_KIND_UNKNOWN">
        <doc xml:space="preserve"
             filename="../src/as-relation.h"
             line="65">Unknown kind</doc>
      </member>
      <member name="id" value="1" c:identifier="AS_RELATION_ITEM_KIND_ID">
        <doc xml:space="preserve"
             filename="../src/as-relation.h"
             line="66">A component ID</doc>
      </member>
      <member name="modalias"
              value="2"
              c:identifier="AS_RELATION_ITEM_KIND_MODALIAS">
        <doc xml:space="preserve"
             filename="../src/as-relation.h"
             line="67">A hardware modalias</doc>
      </member>
      <member name="kernel"
              value="3"
              c:identifier="AS_RELATION_ITEM_KIND_KERNEL">
        <doc xml:space="preserve"
             filename="../src/as-relation.h"
             line="68">An operating system kernel (like Linux)</doc>
      </member>
      <member name="memory"
              value="4"
              c:identifier="AS_RELATION_ITEM_KIND_MEMORY">
        <doc xml:space="preserve"
             filename="../src/as-relation.h"
             line="69">A system RAM requirement</doc>
      </member>
      <member name="firmware"
              value="5"
              c:identifier="AS_RELATION_ITEM_KIND_FIRMWARE">
        <doc xml:space="preserve"
             filename="../src/as-relation.h"
             line="70">A device firmware requirement (used by fwupd)</doc>
      </member>
    </enumeration>
    <enumeration name="RelationKind" c:type="AsRelationKind">
      <doc xml:space="preserve"
           filename="../src/as-relation.h"
           line="47">Type of a component's relation to other items.</doc>
      <source-position filename="../src/as-relation.h" line="61"/>
      <member name="unknown" value="0" c:identifier="AS_RELATION_KIND_UNKNOWN">
        <doc xml:space="preserve"
             filename="../src/as-relation.h"
             line="49">Unknown kind</doc>
      </member>
      <member name="requires"
              value="1"
              c:identifier="AS_RELATION_KIND_REQUIRES">
        <doc xml:space="preserve"
             filename="../src/as-relation.h"
             line="50">The referenced item is required by the component</doc>
      </member>
      <member name="recommends"
              value="2"
              c:identifier="AS_RELATION_KIND_RECOMMENDS">
        <doc xml:space="preserve"
             filename="../src/as-relation.h"
             line="51">The referenced item is recommended</doc>
      </member>
    </enumeration>
    <class name="Release"
           c:symbol-prefix="release"
           c:type="AsRelease"
           parent="GObject.Object"
           glib:type-name="AsRelease"
           glib:get-type="as_release_get_type"
           glib:type-struct="ReleaseClass">
      <source-position filename="../src/as-release.h" line="48"/>
      <constructor name="new" c:identifier="as_release_new">
        <doc xml:space="preserve"
             filename="../src/as-release.c"
             line="1222">Creates a new #AsRelease.</doc>
        <source-position filename="../src/as-release.h" line="90"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="../src/as-release.c"
               line="1227">a #AsRelease</doc>
          <type name="Release" c:type="AsRelease*"/>
        </return-value>
      </constructor>
      <function name="kind_from_string"
                c:identifier="as_release_kind_from_string"
                version="0.12.0">
        <doc xml:space="preserve"
             filename="../src/as-release.c"
             line="89">Converts the text representation to an enumerated value.</doc>
        <source-position filename="../src/as-release.h" line="69"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-release.c"
               line="95">an #AsReleaseKind or %AS_RELEASE_KIND_UNKNOWN for unknown</doc>
          <type name="ReleaseKind" c:type="AsReleaseKind"/>
        </return-value>
        <parameters>
          <parameter name="kind_str" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-release.c"
                 line="91">the string.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </function>
      <function name="kind_to_string"
                c:identifier="as_release_kind_to_string"
                version="0.12.0">
        <doc xml:space="preserve"
             filename="../src/as-release.c"
             line="69">Converts the enumerated value to an text representation.</doc>
        <source-position filename="../src/as-release.h" line="68"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-release.c"
               line="75">string version of @kind</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <parameter name="kind" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-release.c"
                 line="71">the #AsReleaseKind.</doc>
            <type name="ReleaseKind" c:type="AsReleaseKind"/>
          </parameter>
        </parameters>
      </function>
      <function name="url_kind_from_string"
                c:identifier="as_release_url_kind_from_string"
                version="0.12.5">
        <doc xml:space="preserve"
             filename="../src/as-release.c"
             line="127">Converts the text representation to an enumerated value.</doc>
        <source-position filename="../src/as-release.h" line="88"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-release.c"
               line="133">an #AsReleaseUrlKind or %AS_RELEASE_URL_KIND_UNKNOWN for unknown</doc>
          <type name="ReleaseUrlKind" c:type="AsReleaseUrlKind"/>
        </return-value>
        <parameters>
          <parameter name="kind_str" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-release.c"
                 line="129">the string.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </function>
      <function name="url_kind_to_string"
                c:identifier="as_release_url_kind_to_string"
                version="0.12.5">
        <doc xml:space="preserve"
             filename="../src/as-release.c"
             line="109">Converts the enumerated value to an text representation.</doc>
        <source-position filename="../src/as-release.h" line="87"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-release.c"
               line="115">string version of @kind</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <parameter name="kind" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-release.c"
                 line="111">the #AsReleaseUrlKind.</doc>
            <type name="ReleaseUrlKind" c:type="AsReleaseUrlKind"/>
          </parameter>
        </parameters>
      </function>
      <method name="add_artifact"
              c:identifier="as_release_add_artifact"
              version="0.12.6">
        <doc xml:space="preserve"
             filename="../src/as-release.c"
             line="569">Add an artifact (binary / source download) for this release.</doc>
        <source-position filename="../src/as-release.h" line="135"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="release" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-release.c"
                 line="571">An instance of #AsRelease.</doc>
            <type name="Release" c:type="AsRelease*"/>
          </instance-parameter>
          <parameter name="artifact" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-release.c"
                 line="572">The #AsArtifact.</doc>
            <type name="Artifact" c:type="AsArtifact*"/>
          </parameter>
        </parameters>
      </method>
      <method name="add_checksum"
              c:identifier="as_release_add_checksum"
              version="0.8.2"
              deprecated="1">
        <doc xml:space="preserve"
             filename="../src/as-release.c"
             line="821">Add a checksum for the file associated with this release.</doc>
        <doc-deprecated xml:space="preserve">Use the #AsArtifact directly to obtain this information.</doc-deprecated>
        <source-position filename="../src/as-release.h" line="166"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="release" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-release.c"
                 line="823">An instance of #AsRelease.</doc>
            <type name="Release" c:type="AsRelease*"/>
          </instance-parameter>
          <parameter name="cs" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-release.c"
                 line="824">The #AsChecksum.</doc>
            <type name="Checksum" c:type="AsChecksum*"/>
          </parameter>
        </parameters>
      </method>
      <method name="add_issue"
              c:identifier="as_release_add_issue"
              version="0.12.9">
        <doc xml:space="preserve"
             filename="../src/as-release.c"
             line="601">Add information about a (resolved) issue to this release.</doc>
        <source-position filename="../src/as-release.h" line="131"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="release" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-release.c"
                 line="603">An instance of #AsRelease.</doc>
            <type name="Release" c:type="AsRelease*"/>
          </instance-parameter>
          <parameter name="issue" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-release.c"
                 line="604">The #AsIssue.</doc>
            <type name="Issue" c:type="AsIssue*"/>
          </parameter>
        </parameters>
      </method>
      <method name="add_location"
              c:identifier="as_release_add_location"
              version="0.8.1"
              deprecated="1">
        <doc xml:space="preserve"
             filename="../src/as-release.c"
             line="772">Adds a release location.</doc>
        <doc-deprecated xml:space="preserve">Use the #AsArtifact directly to obtain this information.</doc-deprecated>
        <source-position filename="../src/as-release.h" line="157"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="release" transfer-ownership="none">
            <type name="Release" c:type="AsRelease*"/>
          </instance-parameter>
          <parameter name="location" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-release.c"
                 line="774">An URL of the download location</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_active_locale"
              c:identifier="as_release_get_active_locale">
        <doc xml:space="preserve"
             filename="../src/as-release.c"
             line="509">Get the current active locale, which
is used to get localized messages.</doc>
        <source-position filename="../src/as-release.h" line="96"/>
        <return-value transfer-ownership="none">
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="release" transfer-ownership="none">
            <type name="Release" c:type="AsRelease*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_artifacts"
              c:identifier="as_release_get_artifacts"
              version="0.12.6">
        <doc xml:space="preserve"
             filename="../src/as-release.c"
             line="552">Get a list of all downloadable artifacts that are associated with
this release.</doc>
        <source-position filename="../src/as-release.h" line="134"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-release.c"
               line="558">an array of #AsArtifact objects.</doc>
          <array name="GLib.PtrArray" c:type="GPtrArray*">
            <type name="Artifact"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="release" transfer-ownership="none">
            <type name="Release" c:type="AsRelease*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_checksum"
              c:identifier="as_release_get_checksum"
              version="0.8.2"
              deprecated="1">
        <doc xml:space="preserve"
             filename="../src/as-release.c"
             line="804">Gets the release checksum</doc>
        <doc-deprecated xml:space="preserve">Use the #AsArtifact directly to obtain this information.</doc-deprecated>
        <source-position filename="../src/as-release.h" line="163"/>
        <return-value transfer-ownership="none" nullable="1">
          <doc xml:space="preserve"
               filename="../src/as-release.c"
               line="810">an #AsChecksum, or %NULL for not set or invalid</doc>
          <type name="Checksum" c:type="AsChecksum*"/>
        </return-value>
        <parameters>
          <instance-parameter name="release" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-release.c"
                 line="806">a #AsRelease instance.</doc>
            <type name="Release" c:type="AsRelease*"/>
          </instance-parameter>
          <parameter name="kind" transfer-ownership="none">
            <type name="ChecksumKind" c:type="AsChecksumKind"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_checksums"
              c:identifier="as_release_get_checksums"
              version="0.10"
              deprecated="1">
        <doc xml:space="preserve"
             filename="../src/as-release.c"
             line="788">Get a list of all checksums we have for this release.</doc>
        <doc-deprecated xml:space="preserve">Use the #AsArtifact directly to obtain this information.</doc-deprecated>
        <source-position filename="../src/as-release.h" line="161"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-release.c"
               line="793">an array of #AsChecksum objects.</doc>
          <array name="GLib.PtrArray" c:type="GPtrArray*">
            <type name="Checksum"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="release" transfer-ownership="none">
            <type name="Release" c:type="AsRelease*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_date"
              c:identifier="as_release_get_date"
              version="0.12.5">
        <doc xml:space="preserve"
             filename="../src/as-release.c"
             line="309">Gets the release date.</doc>
        <source-position filename="../src/as-release.h" line="107"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-release.c"
               line="315">The date in ISO8601 format.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="release" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-release.c"
                 line="311">a #AsRelease instance.</doc>
            <type name="Release" c:type="AsRelease*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_date_eol"
              c:identifier="as_release_get_date_eol"
              version="0.12.5">
        <doc xml:space="preserve"
             filename="../src/as-release.c"
             line="353">Gets the end-of-life date for this release.</doc>
        <source-position filename="../src/as-release.h" line="114"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-release.c"
               line="359">The EOL date in ISO8601 format.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="release" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-release.c"
                 line="355">a #AsRelease instance.</doc>
            <type name="Release" c:type="AsRelease*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_description" c:identifier="as_release_get_description">
        <doc xml:space="preserve"
             filename="../src/as-release.c"
             line="474">Gets the release description markup for a given locale.</doc>
        <source-position filename="../src/as-release.h" line="121"/>
        <return-value transfer-ownership="none" nullable="1">
          <doc xml:space="preserve"
               filename="../src/as-release.c"
               line="480">markup, or %NULL for not set or invalid</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="release" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-release.c"
                 line="476">a #AsRelease instance.</doc>
            <type name="Release" c:type="AsRelease*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_issues"
              c:identifier="as_release_get_issues"
              version="0.12.9">
        <doc xml:space="preserve"
             filename="../src/as-release.c"
             line="585">Get a list of all issues resolved by this release.</doc>
        <source-position filename="../src/as-release.h" line="130"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-release.c"
               line="590">an array of #AsIssue objects.</doc>
          <array name="GLib.PtrArray" c:type="GPtrArray*">
            <type name="Issue"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="release" transfer-ownership="none">
            <type name="Release" c:type="AsRelease*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_kind"
              c:identifier="as_release_get_kind"
              version="0.12.0">
        <doc xml:space="preserve"
             filename="../src/as-release.c"
             line="197">Gets the type of the release.
(development or stable release)</doc>
        <source-position filename="../src/as-release.h" line="92"/>
        <return-value transfer-ownership="none">
          <type name="ReleaseKind" c:type="AsReleaseKind"/>
        </return-value>
        <parameters>
          <instance-parameter name="release" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-release.c"
                 line="199">a #AsRelease instance.</doc>
            <type name="Release" c:type="AsRelease*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_locations"
              c:identifier="as_release_get_locations"
              version="0.8.1"
              deprecated="1">
        <doc xml:space="preserve"
             filename="../src/as-release.c"
             line="756">Gets the release locations, typically URLs.</doc>
        <doc-deprecated xml:space="preserve">Use the #AsArtifact directly to obtain this information.</doc-deprecated>
        <source-position filename="../src/as-release.h" line="155"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-release.c"
               line="761">list of locations</doc>
          <array name="GLib.PtrArray" c:type="GPtrArray*">
            <type name="utf8"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="release" transfer-ownership="none">
            <type name="Release" c:type="AsRelease*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_size"
              c:identifier="as_release_get_size"
              version="0.8.6"
              deprecated="1">
        <doc xml:space="preserve"
             filename="../src/as-release.c"
             line="721">Gets the release size.</doc>
        <doc-deprecated xml:space="preserve">Use the #AsArtifact directly to obtain this information.</doc-deprecated>
        <source-position filename="../src/as-release.h" line="147"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-release.c"
               line="728">The size of the given kind of this release.</doc>
          <type name="guint64" c:type="guint64"/>
        </return-value>
        <parameters>
          <instance-parameter name="release" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-release.c"
                 line="723">a #AsRelease instance</doc>
            <type name="Release" c:type="AsRelease*"/>
          </instance-parameter>
          <parameter name="kind" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-release.c"
                 line="724">a #AsSizeKind</doc>
            <type name="SizeKind" c:type="AsSizeKind"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_timestamp" c:identifier="as_release_get_timestamp">
        <doc xml:space="preserve"
             filename="../src/as-release.c"
             line="276">Gets the release timestamp.</doc>
        <source-position filename="../src/as-release.h" line="110"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-release.c"
               line="282">timestamp, or 0 for unset</doc>
          <type name="guint64" c:type="guint64"/>
        </return-value>
        <parameters>
          <instance-parameter name="release" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-release.c"
                 line="278">a #AsRelease instance.</doc>
            <type name="Release" c:type="AsRelease*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_timestamp_eol"
              c:identifier="as_release_get_timestamp_eol"
              version="0.12.5">
        <doc xml:space="preserve"
             filename="../src/as-release.c"
             line="387">Gets the UNIX timestamp for the date when this
release is out of support (end-of-life).</doc>
        <source-position filename="../src/as-release.h" line="117"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-release.c"
               line="394">UNIX timestamp, or 0 for unset or invalid.</doc>
          <type name="guint64" c:type="guint64"/>
        </return-value>
        <parameters>
          <instance-parameter name="release" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-release.c"
                 line="389">a #AsRelease instance.</doc>
            <type name="Release" c:type="AsRelease*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_urgency"
              c:identifier="as_release_get_urgency"
              version="0.6.5">
        <doc xml:space="preserve"
             filename="../src/as-release.c"
             line="440">Gets the urgency of the release
(showing how important it is to update to a more recent release)</doc>
        <source-position filename="../src/as-release.h" line="126"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-release.c"
               line="447">#AsUrgencyKind, or %AS_URGENCY_KIND_UNKNOWN for not set</doc>
          <type name="UrgencyKind" c:type="AsUrgencyKind"/>
        </return-value>
        <parameters>
          <instance-parameter name="release" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-release.c"
                 line="442">a #AsRelease instance.</doc>
            <type name="Release" c:type="AsRelease*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_url"
              c:identifier="as_release_get_url"
              version="0.12.5">
        <doc xml:space="preserve"
             filename="../src/as-release.c"
             line="617">Gets an URL.</doc>
        <source-position filename="../src/as-release.h" line="138"/>
        <return-value transfer-ownership="none" nullable="1">
          <doc xml:space="preserve"
               filename="../src/as-release.c"
               line="624">string, or %NULL if unset</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="release" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-release.c"
                 line="619">a #AsRelease instance.</doc>
            <type name="Release" c:type="AsRelease*"/>
          </instance-parameter>
          <parameter name="url_kind" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-release.c"
                 line="620">the URL kind, e.g. %AS_RELEASE_URL_KIND_DETAILS.</doc>
            <type name="ReleaseUrlKind" c:type="AsReleaseUrlKind"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_version" c:identifier="as_release_get_version">
        <doc xml:space="preserve"
             filename="../src/as-release.c"
             line="230">Gets the release version.</doc>
        <source-position filename="../src/as-release.h" line="100"/>
        <return-value transfer-ownership="none" nullable="1">
          <doc xml:space="preserve"
               filename="../src/as-release.c"
               line="236">string, or %NULL for not set or invalid</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="release" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-release.c"
                 line="232">a #AsRelease instance.</doc>
            <type name="Release" c:type="AsRelease*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="set_active_locale"
              c:identifier="as_release_set_active_locale">
        <doc xml:space="preserve"
             filename="../src/as-release.c"
             line="534">Set the current active locale, which
is used to get localized messages.
If the #AsComponent linking this #AsRelease was fetched
from a localized database, usually only
one locale is available.</doc>
        <source-position filename="../src/as-release.h" line="97"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="release" transfer-ownership="none">
            <type name="Release" c:type="AsRelease*"/>
          </instance-parameter>
          <parameter name="locale" transfer-ownership="none">
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_date"
              c:identifier="as_release_set_date"
              version="0.12.5">
        <doc xml:space="preserve"
             filename="../src/as-release.c"
             line="326">Sets the release date.</doc>
        <source-position filename="../src/as-release.h" line="108"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="release" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-release.c"
                 line="328">a #AsRelease instance.</doc>
            <type name="Release" c:type="AsRelease*"/>
          </instance-parameter>
          <parameter name="date" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-release.c"
                 line="329">the date in ISO8601 format.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_date_eol"
              c:identifier="as_release_set_date_eol"
              version="0.12.5">
        <doc xml:space="preserve"
             filename="../src/as-release.c"
             line="370">Sets the end-of-life date for this release.</doc>
        <source-position filename="../src/as-release.h" line="115"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="release" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-release.c"
                 line="372">a #AsRelease instance.</doc>
            <type name="Release" c:type="AsRelease*"/>
          </instance-parameter>
          <parameter name="date" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-release.c"
                 line="373">the EOL date in ISO8601 format.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_description" c:identifier="as_release_set_description">
        <doc xml:space="preserve"
             filename="../src/as-release.c"
             line="492">Sets the description release markup.</doc>
        <source-position filename="../src/as-release.h" line="122"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="release" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-release.c"
                 line="494">a #AsRelease instance.</doc>
            <type name="Release" c:type="AsRelease*"/>
          </instance-parameter>
          <parameter name="description" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-release.c"
                 line="495">the description markup.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="locale" transfer-ownership="none">
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_kind"
              c:identifier="as_release_set_kind"
              version="0.12.0">
        <doc xml:space="preserve"
             filename="../src/as-release.c"
             line="213">Sets the release kind to distinguish between end-user ready
stable releases and development prereleases..</doc>
        <source-position filename="../src/as-release.h" line="93"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="release" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-release.c"
                 line="215">a #AsRelease instance.</doc>
            <type name="Release" c:type="AsRelease*"/>
          </instance-parameter>
          <parameter name="kind" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-release.c"
                 line="216">the #AsReleaseKind</doc>
            <type name="ReleaseKind" c:type="AsReleaseKind"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_size"
              c:identifier="as_release_set_size"
              version="0.8.6"
              deprecated="1">
        <doc xml:space="preserve"
             filename="../src/as-release.c"
             line="739">Sets the release size for the given kind.</doc>
        <doc-deprecated xml:space="preserve">Use the #AsArtifact directly to obtain this information.</doc-deprecated>
        <source-position filename="../src/as-release.h" line="150"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="release" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-release.c"
                 line="741">a #AsRelease instance</doc>
            <type name="Release" c:type="AsRelease*"/>
          </instance-parameter>
          <parameter name="size" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-release.c"
                 line="742">a size in bytes, or 0 for unknown</doc>
            <type name="guint64" c:type="guint64"/>
          </parameter>
          <parameter name="kind" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-release.c"
                 line="743">a #AsSizeKind</doc>
            <type name="SizeKind" c:type="AsSizeKind"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_timestamp" c:identifier="as_release_set_timestamp">
        <doc xml:space="preserve"
             filename="../src/as-release.c"
             line="291">Sets the release timestamp.</doc>
        <source-position filename="../src/as-release.h" line="111"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="release" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-release.c"
                 line="293">a #AsRelease instance.</doc>
            <type name="Release" c:type="AsRelease*"/>
          </instance-parameter>
          <parameter name="timestamp" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-release.c"
                 line="294">the timestamp value.</doc>
            <type name="guint64" c:type="guint64"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_timestamp_eol"
              c:identifier="as_release_set_timestamp_eol"
              version="0.12.5">
        <doc xml:space="preserve"
             filename="../src/as-release.c"
             line="416">Sets the UNIX timestamp for the date when this
release is out of support (end-of-life).</doc>
        <source-position filename="../src/as-release.h" line="118"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="release" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-release.c"
                 line="418">a #AsRelease instance.</doc>
            <type name="Release" c:type="AsRelease*"/>
          </instance-parameter>
          <parameter name="timestamp" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-release.c"
                 line="419">the timestamp value.</doc>
            <type name="guint64" c:type="guint64"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_urgency"
              c:identifier="as_release_set_urgency"
              version="0.6.5">
        <doc xml:space="preserve"
             filename="../src/as-release.c"
             line="458">Sets the release urgency.</doc>
        <source-position filename="../src/as-release.h" line="127"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="release" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-release.c"
                 line="460">a #AsRelease instance.</doc>
            <type name="Release" c:type="AsRelease*"/>
          </instance-parameter>
          <parameter name="urgency" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-release.c"
                 line="461">the urgency of this release/update (as #AsUrgencyKind)</doc>
            <type name="UrgencyKind" c:type="AsUrgencyKind"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_url"
              c:identifier="as_release_set_url"
              version="0.12.5">
        <doc xml:space="preserve"
             filename="../src/as-release.c"
             line="638">Sets an URL for this release.</doc>
        <source-position filename="../src/as-release.h" line="140"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="release" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-release.c"
                 line="640">a #AsRelease instance.</doc>
            <type name="Release" c:type="AsRelease*"/>
          </instance-parameter>
          <parameter name="url_kind" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-release.c"
                 line="641">the URL kind, e.g. %AS_RELEASE_URL_KIND_DETAILS</doc>
            <type name="ReleaseUrlKind" c:type="AsReleaseUrlKind"/>
          </parameter>
          <parameter name="url" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-release.c"
                 line="642">the full URL.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_version" c:identifier="as_release_set_version">
        <doc xml:space="preserve"
             filename="../src/as-release.c"
             line="245">Sets the release version.</doc>
        <source-position filename="../src/as-release.h" line="101"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="release" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-release.c"
                 line="247">a #AsRelease instance.</doc>
            <type name="Release" c:type="AsRelease*"/>
          </instance-parameter>
          <parameter name="version" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-release.c"
                 line="248">the version string.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="vercmp" c:identifier="as_release_vercmp">
        <doc xml:space="preserve"
             filename="../src/as-release.c"
             line="260">Compare the version numbers of two releases.</doc>
        <source-position filename="../src/as-release.h" line="104"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-release.c"
               line="267">1 if @rel1 version is higher than @rel2, 0 if versions are equal, -1 if @rel2 version is higher than @rel1.</doc>
          <type name="gint" c:type="gint"/>
        </return-value>
        <parameters>
          <instance-parameter name="rel1" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-release.c"
                 line="262">an #AsRelease</doc>
            <type name="Release" c:type="AsRelease*"/>
          </instance-parameter>
          <parameter name="rel2" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-release.c"
                 line="263">an #AsRelease</doc>
            <type name="Release" c:type="AsRelease*"/>
          </parameter>
        </parameters>
      </method>
      <field name="parent_instance">
        <type name="GObject.Object" c:type="GObject"/>
      </field>
    </class>
    <record name="ReleaseClass"
            c:type="AsReleaseClass"
            glib:is-gtype-struct-for="Release">
      <source-position filename="../src/as-release.h" line="48"/>
      <field name="parent_class">
        <type name="GObject.ObjectClass" c:type="GObjectClass"/>
      </field>
      <field name="_as_reserved1" introspectable="0">
        <callback name="_as_reserved1">
          <source-position filename="../src/as-release.h" line="42"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_as_reserved2" introspectable="0">
        <callback name="_as_reserved2">
          <source-position filename="../src/as-release.h" line="43"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_as_reserved3" introspectable="0">
        <callback name="_as_reserved3">
          <source-position filename="../src/as-release.h" line="44"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_as_reserved4" introspectable="0">
        <callback name="_as_reserved4">
          <source-position filename="../src/as-release.h" line="45"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_as_reserved5" introspectable="0">
        <callback name="_as_reserved5">
          <source-position filename="../src/as-release.h" line="46"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_as_reserved6" introspectable="0">
        <callback name="_as_reserved6">
          <source-position filename="../src/as-release.h" line="47"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
    </record>
    <enumeration name="ReleaseKind" version="0.12.0" c:type="AsReleaseKind">
      <doc xml:space="preserve"
           filename="../src/as-release.h"
           line="50">The release size kind.</doc>
      <source-position filename="../src/as-release.h" line="66"/>
      <member name="unknown" value="0" c:identifier="AS_RELEASE_KIND_UNKNOWN">
        <doc xml:space="preserve"
             filename="../src/as-release.h"
             line="52">Unknown release type</doc>
      </member>
      <member name="stable" value="1" c:identifier="AS_RELEASE_KIND_STABLE">
        <doc xml:space="preserve"
             filename="../src/as-release.h"
             line="53">A stable release for end-users</doc>
      </member>
      <member name="development"
              value="2"
              c:identifier="AS_RELEASE_KIND_DEVELOPMENT">
        <doc xml:space="preserve"
             filename="../src/as-release.h"
             line="54">A development release or pre-release for testing</doc>
      </member>
    </enumeration>
    <enumeration name="ReleaseUrlKind"
                 version="0.12.5"
                 c:type="AsReleaseUrlKind">
      <doc xml:space="preserve"
           filename="../src/as-release.h"
           line="71">@AS_RELEASE_URL_KIND_UNKNOWN		Unknown release web URL type
The release URL kinds.</doc>
      <source-position filename="../src/as-release.h" line="85"/>
      <member name="unknown"
              value="0"
              c:identifier="AS_RELEASE_URL_KIND_UNKNOWN">
      </member>
      <member name="details"
              value="1"
              c:identifier="AS_RELEASE_URL_KIND_DETAILS">
        <doc xml:space="preserve"
             filename="../src/as-release.h"
             line="74">Weblink to detailed release notes.</doc>
      </member>
    </enumeration>
    <class name="Screenshot"
           c:symbol-prefix="screenshot"
           c:type="AsScreenshot"
           parent="GObject.Object"
           glib:type-name="AsScreenshot"
           glib:get-type="as_screenshot_get_type"
           glib:type-struct="ScreenshotClass">
      <source-position filename="../src/as-screenshot.h" line="49"/>
      <constructor name="new" c:identifier="as_screenshot_new">
        <doc xml:space="preserve"
             filename="../src/as-screenshot.c"
             line="663">Creates a new #AsScreenshot.</doc>
        <source-position filename="../src/as-screenshot.h" line="87"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="../src/as-screenshot.c"
               line="668">a #AsScreenshot</doc>
          <type name="Screenshot" c:type="AsScreenshot*"/>
        </return-value>
      </constructor>
      <function name="kind_from_string"
                c:identifier="as_screenshot_kind_from_string">
        <doc xml:space="preserve"
             filename="../src/as-screenshot.c"
             line="107">Converts the text representation to an enumerated value.</doc>
        <source-position filename="../src/as-screenshot.h" line="83"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-screenshot.c"
               line="113">a %AsScreenshotKind, or %AS_SCREENSHOT_KIND_UNKNOWN if not known.</doc>
          <type name="ScreenshotKind" c:type="AsScreenshotKind"/>
        </return-value>
        <parameters>
          <parameter name="kind" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-screenshot.c"
                 line="109">the string.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </function>
      <function name="kind_to_string"
                c:identifier="as_screenshot_kind_to_string">
        <doc xml:space="preserve"
             filename="../src/as-screenshot.c"
             line="127">Converts the enumerated value to an text representation.</doc>
        <source-position filename="../src/as-screenshot.h" line="84"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-screenshot.c"
               line="133">string version of @kind</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <parameter name="kind" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-screenshot.c"
                 line="129">the #AsScreenshotKind.</doc>
            <type name="ScreenshotKind" c:type="AsScreenshotKind"/>
          </parameter>
        </parameters>
      </function>
      <method name="add_image" c:identifier="as_screenshot_add_image">
        <doc xml:space="preserve"
             filename="../src/as-screenshot.c"
             line="207">Adds an image to the screenshot.</doc>
        <source-position filename="../src/as-screenshot.h" line="102"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="screenshot" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-screenshot.c"
                 line="209">a #AsScreenshot instance.</doc>
            <type name="Screenshot" c:type="AsScreenshot*"/>
          </instance-parameter>
          <parameter name="image" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-screenshot.c"
                 line="210">a #AsImage instance.</doc>
            <type name="Image" c:type="AsImage*"/>
          </parameter>
        </parameters>
      </method>
      <method name="add_video" c:identifier="as_screenshot_add_video">
        <doc xml:space="preserve"
             filename="../src/as-screenshot.c"
             line="242">Adds a video to the screenshot.</doc>
        <source-position filename="../src/as-screenshot.h" line="106"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="screenshot" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-screenshot.c"
                 line="244">a #AsScreenshot instance.</doc>
            <type name="Screenshot" c:type="AsScreenshot*"/>
          </instance-parameter>
          <parameter name="video" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-screenshot.c"
                 line="245">a #AsVideo instance.</doc>
            <type name="Video" c:type="AsVideo*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_active_locale"
              c:identifier="as_screenshot_get_active_locale">
        <doc xml:space="preserve"
             filename="../src/as-screenshot.c"
             line="342">Get the current active locale, which
is used to get localized messages.</doc>
        <source-position filename="../src/as-screenshot.h" line="109"/>
        <return-value transfer-ownership="none">
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="screenshot" transfer-ownership="none">
            <type name="Screenshot" c:type="AsScreenshot*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_caption" c:identifier="as_screenshot_get_caption">
        <doc xml:space="preserve"
             filename="../src/as-screenshot.c"
             line="260">Gets the image caption</doc>
        <source-position filename="../src/as-screenshot.h" line="95"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-screenshot.c"
               line="266">the caption</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="screenshot" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-screenshot.c"
                 line="262">a #AsScreenshot instance.</doc>
            <type name="Screenshot" c:type="AsScreenshot*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_images" c:identifier="as_screenshot_get_images">
        <doc xml:space="preserve"
             filename="../src/as-screenshot.c"
             line="189">Gets the images for this screenshots. Only images valid for the current
language are returned. We return all sizes.</doc>
        <source-position filename="../src/as-screenshot.h" line="101"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-screenshot.c"
               line="196">an array</doc>
          <array name="GLib.PtrArray" c:type="GPtrArray*">
            <type name="Image"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="screenshot" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-screenshot.c"
                 line="191">a #AsScreenshot instance.</doc>
            <type name="Screenshot" c:type="AsScreenshot*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_images_all"
              c:identifier="as_screenshot_get_images_all"
              version="0.10">
        <doc xml:space="preserve"
             filename="../src/as-screenshot.c"
             line="388">Returns an array of all images we have, regardless of their
size and language.</doc>
        <source-position filename="../src/as-screenshot.h" line="100"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-screenshot.c"
               line="395">an array</doc>
          <array name="GLib.PtrArray" c:type="GPtrArray*">
            <type name="Image"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="screenshot" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-screenshot.c"
                 line="390">an #AsScreenshot instance.</doc>
            <type name="Screenshot" c:type="AsScreenshot*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_kind" c:identifier="as_screenshot_get_kind">
        <doc xml:space="preserve"
             filename="../src/as-screenshot.c"
             line="145">Gets the screenshot kind.</doc>
        <source-position filename="../src/as-screenshot.h" line="89"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-screenshot.c"
               line="151">a #AsScreenshotKind</doc>
          <type name="ScreenshotKind" c:type="AsScreenshotKind"/>
        </return-value>
        <parameters>
          <instance-parameter name="screenshot" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-screenshot.c"
                 line="147">a #AsScreenshot instance.</doc>
            <type name="Screenshot" c:type="AsScreenshot*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_media_kind"
              c:identifier="as_screenshot_get_media_kind">
        <doc xml:space="preserve"
             filename="../src/as-screenshot.c"
             line="174">Gets the screenshot media kind.</doc>
        <source-position filename="../src/as-screenshot.h" line="93"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-screenshot.c"
               line="180">a #AsScreenshotMediaKind</doc>
          <type name="ScreenshotMediaKind" c:type="AsScreenshotMediaKind"/>
        </return-value>
        <parameters>
          <instance-parameter name="screenshot" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-screenshot.c"
                 line="176">a #AsScreenshot instance.</doc>
            <type name="Screenshot" c:type="AsScreenshot*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_videos" c:identifier="as_screenshot_get_videos">
        <doc xml:space="preserve"
             filename="../src/as-screenshot.c"
             line="224">Gets the videos for this screenshots. Only videos valid for the current
language selection are returned. We return all sizes.</doc>
        <source-position filename="../src/as-screenshot.h" line="105"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-screenshot.c"
               line="231">an array</doc>
          <array name="GLib.PtrArray" c:type="GPtrArray*">
            <type name="Video"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="screenshot" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-screenshot.c"
                 line="226">a #AsScreenshot instance.</doc>
            <type name="Screenshot" c:type="AsScreenshot*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="is_valid" c:identifier="as_screenshot_is_valid">
        <doc xml:space="preserve"
             filename="../src/as-screenshot.c"
             line="295">Performs a quick validation on this screenshot</doc>
        <source-position filename="../src/as-screenshot.h" line="85"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-screenshot.c"
               line="301">TRUE if the screenshot is a complete #AsScreenshot</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="screenshot" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-screenshot.c"
                 line="297">a #AsScreenshot instance.</doc>
            <type name="Screenshot" c:type="AsScreenshot*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="set_active_locale"
              c:identifier="as_screenshot_set_active_locale">
        <doc xml:space="preserve"
             filename="../src/as-screenshot.c"
             line="367">Set the current active locale, which
is used to get localized messages.
If the #AsComponent linking this #AsScreenshot was fetched
from a localized database, usually only
one locale is available.</doc>
        <source-position filename="../src/as-screenshot.h" line="110"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="screenshot" transfer-ownership="none">
            <type name="Screenshot" c:type="AsScreenshot*"/>
          </instance-parameter>
          <parameter name="locale" transfer-ownership="none">
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_caption" c:identifier="as_screenshot_set_caption">
        <doc xml:space="preserve"
             filename="../src/as-screenshot.c"
             line="278">Sets a caption on the screenshot</doc>
        <source-position filename="../src/as-screenshot.h" line="96"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="screenshot" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-screenshot.c"
                 line="280">a #AsScreenshot instance.</doc>
            <type name="Screenshot" c:type="AsScreenshot*"/>
          </instance-parameter>
          <parameter name="caption" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-screenshot.c"
                 line="281">the caption text.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="locale" transfer-ownership="none">
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_kind" c:identifier="as_screenshot_set_kind">
        <doc xml:space="preserve"
             filename="../src/as-screenshot.c"
             line="160">Sets the screenshot kind.</doc>
        <source-position filename="../src/as-screenshot.h" line="90"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="screenshot" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-screenshot.c"
                 line="162">a #AsScreenshot instance.</doc>
            <type name="Screenshot" c:type="AsScreenshot*"/>
          </instance-parameter>
          <parameter name="kind" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-screenshot.c"
                 line="163">the #AsScreenshotKind.</doc>
            <type name="ScreenshotKind" c:type="AsScreenshotKind"/>
          </parameter>
        </parameters>
      </method>
      <field name="parent_instance">
        <type name="GObject.Object" c:type="GObject"/>
      </field>
    </class>
    <record name="ScreenshotClass"
            c:type="AsScreenshotClass"
            glib:is-gtype-struct-for="Screenshot">
      <source-position filename="../src/as-screenshot.h" line="49"/>
      <field name="parent_class">
        <type name="GObject.ObjectClass" c:type="GObjectClass"/>
      </field>
      <field name="_as_reserved1" introspectable="0">
        <callback name="_as_reserved1">
          <source-position filename="../src/as-screenshot.h" line="43"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_as_reserved2" introspectable="0">
        <callback name="_as_reserved2">
          <source-position filename="../src/as-screenshot.h" line="44"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_as_reserved3" introspectable="0">
        <callback name="_as_reserved3">
          <source-position filename="../src/as-screenshot.h" line="45"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_as_reserved4" introspectable="0">
        <callback name="_as_reserved4">
          <source-position filename="../src/as-screenshot.h" line="46"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_as_reserved5" introspectable="0">
        <callback name="_as_reserved5">
          <source-position filename="../src/as-screenshot.h" line="47"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_as_reserved6" introspectable="0">
        <callback name="_as_reserved6">
          <source-position filename="../src/as-screenshot.h" line="48"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
    </record>
    <enumeration name="ScreenshotKind" c:type="AsScreenshotKind">
      <doc xml:space="preserve"
           filename="../src/as-screenshot.h"
           line="51">The screenshot type.</doc>
      <source-position filename="../src/as-screenshot.h" line="65"/>
      <member name="unknown"
              value="0"
              c:identifier="AS_SCREENSHOT_KIND_UNKNOWN">
        <doc xml:space="preserve"
             filename="../src/as-screenshot.h"
             line="53">Type invalid or not known</doc>
      </member>
      <member name="default"
              value="1"
              c:identifier="AS_SCREENSHOT_KIND_DEFAULT">
        <doc xml:space="preserve"
             filename="../src/as-screenshot.h"
             line="54">The primary screenshot to show by default</doc>
      </member>
      <member name="extra" value="2" c:identifier="AS_SCREENSHOT_KIND_EXTRA">
        <doc xml:space="preserve"
             filename="../src/as-screenshot.h"
             line="55">Optional screenshot</doc>
      </member>
    </enumeration>
    <enumeration name="ScreenshotMediaKind" c:type="AsScreenshotMediaKind">
      <doc xml:space="preserve"
           filename="../src/as-screenshot.h"
           line="67">The media kind contained in this screenshot.</doc>
      <source-position filename="../src/as-screenshot.h" line="81"/>
      <member name="unknown"
              value="0"
              c:identifier="AS_SCREENSHOT_MEDIA_KIND_UNKNOWN">
        <doc xml:space="preserve"
             filename="../src/as-screenshot.h"
             line="69">Media kind is unknown</doc>
      </member>
      <member name="image"
              value="1"
              c:identifier="AS_SCREENSHOT_MEDIA_KIND_IMAGE">
        <doc xml:space="preserve"
             filename="../src/as-screenshot.h"
             line="70">The screenshot contains images</doc>
      </member>
      <member name="video"
              value="2"
              c:identifier="AS_SCREENSHOT_MEDIA_KIND_VIDEO">
        <doc xml:space="preserve"
             filename="../src/as-screenshot.h"
             line="71">The screenshot contains videos</doc>
      </member>
    </enumeration>
    <enumeration name="SizeKind" version="0.8.6" c:type="AsSizeKind">
      <doc xml:space="preserve"
           filename="../src/as-artifact.h"
           line="49">The artifact size kind.</doc>
      <source-position filename="../src/as-artifact.h" line="65"/>
      <member name="unknown" value="0" c:identifier="AS_SIZE_KIND_UNKNOWN">
        <doc xml:space="preserve"
             filename="../src/as-artifact.h"
             line="51">Unknown size</doc>
      </member>
      <member name="download" value="1" c:identifier="AS_SIZE_KIND_DOWNLOAD">
        <doc xml:space="preserve"
             filename="../src/as-artifact.h"
             line="52">Size of download of component</doc>
      </member>
      <member name="installed" value="2" c:identifier="AS_SIZE_KIND_INSTALLED">
        <doc xml:space="preserve"
             filename="../src/as-artifact.h"
             line="53">Size of installed component</doc>
      </member>
    </enumeration>
    <class name="Suggested"
           c:symbol-prefix="suggested"
           c:type="AsSuggested"
           parent="GObject.Object"
           glib:type-name="AsSuggested"
           glib:get-type="as_suggested_get_type"
           glib:type-struct="SuggestedClass">
      <source-position filename="../src/as-suggested.h" line="46"/>
      <constructor name="new" c:identifier="as_suggested_new">
        <doc xml:space="preserve"
             filename="../src/as-suggested.c"
             line="322">Creates a new #AsSuggested.</doc>
        <source-position filename="../src/as-suggested.h" line="67"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="../src/as-suggested.c"
               line="327">a new #AsSuggested</doc>
          <type name="Suggested" c:type="AsSuggested*"/>
        </return-value>
      </constructor>
      <function name="kind_from_string"
                c:identifier="as_suggested_kind_from_string">
        <doc xml:space="preserve"
             filename="../src/as-suggested.c"
             line="65">Converts the text representation to an enumerated value.</doc>
        <source-position filename="../src/as-suggested.h" line="64"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-suggested.c"
               line="71">a #AsSuggestedKind or %AS_SUGGESTED_KIND_UNKNOWN for unknown</doc>
          <type name="SuggestedKind" c:type="AsSuggestedKind"/>
        </return-value>
        <parameters>
          <parameter name="kind_str" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-suggested.c"
                 line="67">the string.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </function>
      <function name="kind_to_string"
                c:identifier="as_suggested_kind_to_string">
        <doc xml:space="preserve"
             filename="../src/as-suggested.c"
             line="46">Converts the enumerated value to an text representation.</doc>
        <source-position filename="../src/as-suggested.h" line="65"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-suggested.c"
               line="52">string version of @kind</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <parameter name="kind" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-suggested.c"
                 line="48">the %AsSuggestedKind.</doc>
            <type name="SuggestedKind" c:type="AsSuggestedKind"/>
          </parameter>
        </parameters>
      </function>
      <method name="add_id" c:identifier="as_suggested_add_id">
        <doc xml:space="preserve"
             filename="../src/as-suggested.c"
             line="158">Add a component id to this suggested object.</doc>
        <source-position filename="../src/as-suggested.h" line="74"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="suggested" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-suggested.c"
                 line="160">a #AsSuggested instance.</doc>
            <type name="Suggested" c:type="AsSuggested*"/>
          </instance-parameter>
          <parameter name="cid" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-suggested.c"
                 line="161">The component id to add</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_ids" c:identifier="as_suggested_get_ids">
        <doc xml:space="preserve"
             filename="../src/as-suggested.c"
             line="142">Get a list of components id that generated the suggestion</doc>
        <source-position filename="../src/as-suggested.h" line="73"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-suggested.c"
               line="148">an array of components id</doc>
          <array name="GLib.PtrArray" c:type="GPtrArray*">
            <type name="utf8"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="suggested" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-suggested.c"
                 line="144">a #AsSuggested instance.</doc>
            <type name="Suggested" c:type="AsSuggested*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_kind" c:identifier="as_suggested_get_kind">
        <doc xml:space="preserve"
             filename="../src/as-suggested.c"
             line="113">Gets the suggested kind.</doc>
        <source-position filename="../src/as-suggested.h" line="69"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-suggested.c"
               line="119">the #AsSuggestedKind</doc>
          <type name="SuggestedKind" c:type="AsSuggestedKind"/>
        </return-value>
        <parameters>
          <instance-parameter name="suggested" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-suggested.c"
                 line="115">a #AsSuggested instance.</doc>
            <type name="Suggested" c:type="AsSuggested*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="is_valid" c:identifier="as_suggested_is_valid">
        <doc xml:space="preserve"
             filename="../src/as-suggested.c"
             line="172">Check if the essential properties of this suggestion are
populated with useful data.</doc>
        <source-position filename="../src/as-suggested.h" line="77"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-suggested.c"
               line="179">%TRUE if we have useful data.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="suggested" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-suggested.c"
                 line="174">a #AsSuggested instance.</doc>
            <type name="Suggested" c:type="AsSuggested*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="set_kind" c:identifier="as_suggested_set_kind">
        <doc xml:space="preserve"
             filename="../src/as-suggested.c"
             line="128">Sets the suggested kind.</doc>
        <source-position filename="../src/as-suggested.h" line="70"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="suggested" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-suggested.c"
                 line="130">a #AsSuggested instance.</doc>
            <type name="Suggested" c:type="AsSuggested*"/>
          </instance-parameter>
          <parameter name="kind" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-suggested.c"
                 line="131">the #AsSuggestedKind, e.g. %AS_SUGGESTED_KIND_HEURISTIC.</doc>
            <type name="SuggestedKind" c:type="AsSuggestedKind"/>
          </parameter>
        </parameters>
      </method>
      <field name="parent_instance">
        <type name="GObject.Object" c:type="GObject"/>
      </field>
    </class>
    <record name="SuggestedClass"
            c:type="AsSuggestedClass"
            glib:is-gtype-struct-for="Suggested">
      <source-position filename="../src/as-suggested.h" line="46"/>
      <field name="parent_class">
        <type name="GObject.ObjectClass" c:type="GObjectClass"/>
      </field>
      <field name="_as_reserved1" introspectable="0">
        <callback name="_as_reserved1">
          <source-position filename="../src/as-suggested.h" line="40"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_as_reserved2" introspectable="0">
        <callback name="_as_reserved2">
          <source-position filename="../src/as-suggested.h" line="41"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_as_reserved3" introspectable="0">
        <callback name="_as_reserved3">
          <source-position filename="../src/as-suggested.h" line="42"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_as_reserved4" introspectable="0">
        <callback name="_as_reserved4">
          <source-position filename="../src/as-suggested.h" line="43"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_as_reserved5" introspectable="0">
        <callback name="_as_reserved5">
          <source-position filename="../src/as-suggested.h" line="44"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_as_reserved6" introspectable="0">
        <callback name="_as_reserved6">
          <source-position filename="../src/as-suggested.h" line="45"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
    </record>
    <enumeration name="SuggestedKind" c:type="AsSuggestedKind">
      <doc xml:space="preserve"
           filename="../src/as-suggested.h"
           line="48">The suggested type.</doc>
      <source-position filename="../src/as-suggested.h" line="62"/>
      <member name="unknown"
              value="0"
              c:identifier="AS_SUGGESTED_KIND_UNKNOWN">
        <doc xml:space="preserve"
             filename="../src/as-suggested.h"
             line="50">Unknown suggested kind</doc>
      </member>
      <member name="upstream"
              value="1"
              c:identifier="AS_SUGGESTED_KIND_UPSTREAM">
        <doc xml:space="preserve"
             filename="../src/as-suggested.h"
             line="51">Suggestions provided by the upstream project.</doc>
      </member>
      <member name="heuristic"
              value="2"
              c:identifier="AS_SUGGESTED_KIND_HEURISTIC">
        <doc xml:space="preserve"
             filename="../src/as-suggested.h"
             line="52">Suggestions provided by automatic heuristics.</doc>
      </member>
    </enumeration>
    <class name="Translation"
           c:symbol-prefix="translation"
           c:type="AsTranslation"
           parent="GObject.Object"
           glib:type-name="AsTranslation"
           glib:get-type="as_translation_get_type"
           glib:type-struct="TranslationClass">
      <source-position filename="../src/as-translation.h" line="45"/>
      <constructor name="new" c:identifier="as_translation_new">
        <doc xml:space="preserve"
             filename="../src/as-translation.c"
             line="220">Creates a new #AsTranslation.</doc>
        <source-position filename="../src/as-translation.h" line="66"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="../src/as-translation.c"
               line="225">a #AsTranslation</doc>
          <type name="Translation" c:type="AsTranslation*"/>
        </return-value>
      </constructor>
      <function name="kind_from_string"
                c:identifier="as_translation_kind_from_string">
        <doc xml:space="preserve"
             filename="../src/as-translation.c"
             line="66">Converts the text representation to an enumerated value.</doc>
        <source-position filename="../src/as-translation.h" line="64"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-translation.c"
               line="72">a #AsTranslationKind or %AS_TRANSLATION_KIND_UNKNOWN for unknown</doc>
          <type name="TranslationKind" c:type="AsTranslationKind"/>
        </return-value>
        <parameters>
          <parameter name="kind_str" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-translation.c"
                 line="68">the string.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </function>
      <function name="kind_to_string"
                c:identifier="as_translation_kind_to_string">
        <doc xml:space="preserve"
             filename="../src/as-translation.c"
             line="48">Converts the enumerated value to a text representation.</doc>
        <source-position filename="../src/as-translation.h" line="63"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-translation.c"
               line="54">string version of @kind</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <parameter name="kind" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-translation.c"
                 line="50">the #AsTranslationKind.</doc>
            <type name="TranslationKind" c:type="AsTranslationKind"/>
          </parameter>
        </parameters>
      </function>
      <method name="get_id" c:identifier="as_translation_get_id">
        <doc xml:space="preserve"
             filename="../src/as-translation.c"
             line="142">The ID (e.g. Gettext translation domain) of this translation.</doc>
        <source-position filename="../src/as-translation.h" line="72"/>
        <return-value transfer-ownership="none">
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="tr" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-translation.c"
                 line="144">a #AsTranslation instance.</doc>
            <type name="Translation" c:type="AsTranslation*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_kind" c:identifier="as_translation_get_kind">
        <doc xml:space="preserve"
             filename="../src/as-translation.c"
             line="113">The translation system type.</doc>
        <source-position filename="../src/as-translation.h" line="68"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-translation.c"
               line="119">an enum of type #AsTranslationKind</doc>
          <type name="TranslationKind" c:type="AsTranslationKind"/>
        </return-value>
        <parameters>
          <instance-parameter name="tr" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-translation.c"
                 line="115">a #AsTranslation instance.</doc>
            <type name="Translation" c:type="AsTranslation*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="set_id" c:identifier="as_translation_set_id">
        <doc xml:space="preserve"
             filename="../src/as-translation.c"
             line="155">Set the ID (e.g. Gettext domain) of this translation.</doc>
        <source-position filename="../src/as-translation.h" line="73"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="tr" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-translation.c"
                 line="157">a #AsTranslation instance.</doc>
            <type name="Translation" c:type="AsTranslation*"/>
          </instance-parameter>
          <parameter name="id" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-translation.c"
                 line="158">The ID of this translation.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_kind" c:identifier="as_translation_set_kind">
        <doc xml:space="preserve"
             filename="../src/as-translation.c"
             line="128">Set the translation system type.</doc>
        <source-position filename="../src/as-translation.h" line="69"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="tr" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-translation.c"
                 line="130">a #AsTranslation instance.</doc>
            <type name="Translation" c:type="AsTranslation*"/>
          </instance-parameter>
          <parameter name="kind" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-translation.c"
                 line="131">the new #AsTranslationKind</doc>
            <type name="TranslationKind" c:type="AsTranslationKind"/>
          </parameter>
        </parameters>
      </method>
      <field name="parent_instance">
        <type name="GObject.Object" c:type="GObject"/>
      </field>
    </class>
    <record name="TranslationClass"
            c:type="AsTranslationClass"
            glib:is-gtype-struct-for="Translation">
      <source-position filename="../src/as-translation.h" line="45"/>
      <field name="parent_class">
        <type name="GObject.ObjectClass" c:type="GObjectClass"/>
      </field>
      <field name="_as_reserved1" introspectable="0">
        <callback name="_as_reserved1">
          <source-position filename="../src/as-translation.h" line="39"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_as_reserved2" introspectable="0">
        <callback name="_as_reserved2">
          <source-position filename="../src/as-translation.h" line="40"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_as_reserved3" introspectable="0">
        <callback name="_as_reserved3">
          <source-position filename="../src/as-translation.h" line="41"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_as_reserved4" introspectable="0">
        <callback name="_as_reserved4">
          <source-position filename="../src/as-translation.h" line="42"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_as_reserved5" introspectable="0">
        <callback name="_as_reserved5">
          <source-position filename="../src/as-translation.h" line="43"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_as_reserved6" introspectable="0">
        <callback name="_as_reserved6">
          <source-position filename="../src/as-translation.h" line="44"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
    </record>
    <enumeration name="TranslationKind" c:type="AsTranslationKind">
      <doc xml:space="preserve"
           filename="../src/as-translation.h"
           line="47">The translation type.</doc>
      <source-position filename="../src/as-translation.h" line="61"/>
      <member name="unknown"
              value="0"
              c:identifier="AS_TRANSLATION_KIND_UNKNOWN">
        <doc xml:space="preserve"
             filename="../src/as-translation.h"
             line="49">Type invalid or not known</doc>
      </member>
      <member name="gettext"
              value="1"
              c:identifier="AS_TRANSLATION_KIND_GETTEXT">
        <doc xml:space="preserve"
             filename="../src/as-translation.h"
             line="50">Gettext translation domain</doc>
      </member>
      <member name="qt" value="2" c:identifier="AS_TRANSLATION_KIND_QT">
        <doc xml:space="preserve"
             filename="../src/as-translation.h"
             line="51">Qt translation domain</doc>
      </member>
    </enumeration>
    <enumeration name="UrgencyKind" c:type="AsUrgencyKind">
      <doc xml:space="preserve"
           filename="../src/as-enums.h"
           line="67">The urgency of an #AsRelease</doc>
      <source-position filename="../src/as-enums.h" line="85"/>
      <member name="unknown" value="0" c:identifier="AS_URGENCY_KIND_UNKNOWN">
        <doc xml:space="preserve"
             filename="../src/as-enums.h"
             line="69">Urgency is unknown or not set</doc>
      </member>
      <member name="low" value="1" c:identifier="AS_URGENCY_KIND_LOW">
        <doc xml:space="preserve"
             filename="../src/as-enums.h"
             line="70">Low urgency</doc>
      </member>
      <member name="medium" value="2" c:identifier="AS_URGENCY_KIND_MEDIUM">
        <doc xml:space="preserve"
             filename="../src/as-enums.h"
             line="71">Medium urgency</doc>
      </member>
      <member name="high" value="3" c:identifier="AS_URGENCY_KIND_HIGH">
        <doc xml:space="preserve"
             filename="../src/as-enums.h"
             line="72">High urgency</doc>
      </member>
      <member name="critical"
              value="4"
              c:identifier="AS_URGENCY_KIND_CRITICAL">
        <doc xml:space="preserve"
             filename="../src/as-enums.h"
             line="73">Critical urgency</doc>
      </member>
    </enumeration>
    <enumeration name="UrlKind" c:type="AsUrlKind">
      <doc xml:space="preserve"
           filename="../src/as-enums.h"
           line="38">The URL type.</doc>
      <source-position filename="../src/as-enums.h" line="62"/>
      <member name="unknown" value="0" c:identifier="AS_URL_KIND_UNKNOWN">
        <doc xml:space="preserve"
             filename="../src/as-enums.h"
             line="40">Type invalid or not known</doc>
      </member>
      <member name="homepage" value="1" c:identifier="AS_URL_KIND_HOMEPAGE">
        <doc xml:space="preserve"
             filename="../src/as-enums.h"
             line="41">Project homepage</doc>
      </member>
      <member name="bugtracker"
              value="2"
              c:identifier="AS_URL_KIND_BUGTRACKER">
        <doc xml:space="preserve"
             filename="../src/as-enums.h"
             line="42">Bugtracker</doc>
      </member>
      <member name="faq" value="3" c:identifier="AS_URL_KIND_FAQ">
        <doc xml:space="preserve"
             filename="../src/as-enums.h"
             line="43">FAQ page</doc>
      </member>
      <member name="help" value="4" c:identifier="AS_URL_KIND_HELP">
        <doc xml:space="preserve"
             filename="../src/as-enums.h"
             line="44">Help manual</doc>
      </member>
      <member name="donation" value="5" c:identifier="AS_URL_KIND_DONATION">
        <doc xml:space="preserve"
             filename="../src/as-enums.h"
             line="45">Page with information about how to donate to the project</doc>
      </member>
      <member name="translate" value="6" c:identifier="AS_URL_KIND_TRANSLATE">
        <doc xml:space="preserve"
             filename="../src/as-enums.h"
             line="46">Page with instructions on how to translate the project / submit translations.</doc>
      </member>
      <member name="contact" value="7" c:identifier="AS_URL_KIND_CONTACT">
        <doc xml:space="preserve"
             filename="../src/as-enums.h"
             line="47">Contact the developers</doc>
      </member>
    </enumeration>
    <class name="Validator"
           c:symbol-prefix="validator"
           c:type="AsValidator"
           parent="GObject.Object"
           glib:type-name="AsValidator"
           glib:get-type="as_validator_get_type"
           glib:type-struct="ValidatorClass">
      <source-position filename="../src/as-validator.h" line="46"/>
      <constructor name="new" c:identifier="as_validator_new">
        <doc xml:space="preserve"
             filename="../src/as-validator.c"
             line="2399">Creates a new #AsValidator.</doc>
        <source-position filename="../src/as-validator.h" line="48"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="../src/as-validator.c"
               line="2404">an #AsValidator</doc>
          <type name="Validator" c:type="AsValidator*"/>
        </return-value>
      </constructor>
      <method name="clear_issues" c:identifier="as_validator_clear_issues">
        <doc xml:space="preserve"
             filename="../src/as-validator.c"
             line="253">Clears the list of issues</doc>
        <source-position filename="../src/as-validator.h" line="50"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="validator" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-validator.c"
                 line="255">An instance of #AsValidator.</doc>
            <type name="Validator" c:type="AsValidator*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_check_urls" c:identifier="as_validator_get_check_urls">
        <source-position filename="../src/as-validator.h" line="63"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-validator.c"
               line="376">%TRUE in case we check if remote URLs exist.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="validator" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-validator.c"
                 line="374">a #AsValidator instance.</doc>
            <type name="Validator" c:type="AsValidator*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_issues" c:identifier="as_validator_get_issues">
        <doc xml:space="preserve"
             filename="../src/as-validator.c"
             line="2159">Get a list of found metadata format issues.</doc>
        <source-position filename="../src/as-validator.h" line="58"/>
        <return-value transfer-ownership="container">
          <doc xml:space="preserve"
               filename="../src/as-validator.c"
               line="2165">a list of #AsValidatorIssue instances, free with g_list_free()</doc>
          <type name="GLib.List" c:type="GList*">
            <type name="ValidatorIssue"/>
          </type>
        </return-value>
        <parameters>
          <instance-parameter name="validator" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-validator.c"
                 line="2161">An instance of #AsValidator.</doc>
            <type name="Validator" c:type="AsValidator*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_issues_per_file"
              c:identifier="as_validator_get_issues_per_file"
              version="0.12.8">
        <doc xml:space="preserve"
             filename="../src/as-validator.c"
             line="2174">Get a hash table of filenames mapped to lists of issues.
This is useful if validation was requested for multiple files and
a list of issues per-file is desired without prior explicit sorting.</doc>
        <source-position filename="../src/as-validator.h" line="59"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-validator.c"
               line="2182">a file to issue list mapping</doc>
          <type name="GLib.HashTable" c:type="GHashTable*">
            <type name="utf8"/>
            <array name="GLib.PtrArray">
              <type name="ValidatorIssue"/>
            </array>
          </type>
        </return-value>
        <parameters>
          <instance-parameter name="validator" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-validator.c"
                 line="2176">An instance of #AsValidator.</doc>
            <type name="Validator" c:type="AsValidator*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_report_yaml"
              c:identifier="as_validator_get_report_yaml">
        <source-position filename="../src/as-validator.h" line="60"/>
        <return-value transfer-ownership="none">
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="validator" transfer-ownership="none">
            <type name="Validator" c:type="AsValidator*"/>
          </instance-parameter>
          <parameter name="yaml_report" transfer-ownership="none">
            <type name="utf8" c:type="gchar**"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_tag_explanation"
              c:identifier="as_validator_get_tag_explanation">
        <doc xml:space="preserve"
             filename="../src/as-validator.c"
             line="2327">Get the explanatory text for a given issue tag.</doc>
        <source-position filename="../src/as-validator.h" line="67"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-validator.c"
               line="2333">Explanation text.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="validator" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-validator.c"
                 line="2329">An instance of #AsValidator.</doc>
            <type name="Validator" c:type="AsValidator*"/>
          </instance-parameter>
          <parameter name="tag" transfer-ownership="none">
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_tag_severity"
              c:identifier="as_validator_get_tag_severity">
        <doc xml:space="preserve"
             filename="../src/as-validator.c"
             line="2345">Get the severity for a given issue tag.</doc>
        <source-position filename="../src/as-validator.h" line="69"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-validator.c"
               line="2351">The #AsIssueSeverity</doc>
          <type name="IssueSeverity" c:type="AsIssueSeverity"/>
        </return-value>
        <parameters>
          <instance-parameter name="validator" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-validator.c"
                 line="2347">An instance of #AsValidator.</doc>
            <type name="Validator" c:type="AsValidator*"/>
          </instance-parameter>
          <parameter name="tag" transfer-ownership="none">
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_tags" c:identifier="as_validator_get_tags">
        <doc xml:space="preserve"
             filename="../src/as-validator.c"
             line="2363">Get an array of all tags known to the validator.</doc>
        <source-position filename="../src/as-validator.h" line="71"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="../src/as-validator.c"
               line="2369">A string array of tags</doc>
          <array c:type="gchar**">
            <type name="utf8"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="validator" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-validator.c"
                 line="2365">An instance of #AsValidator.</doc>
            <type name="Validator" c:type="AsValidator*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="set_check_urls" c:identifier="as_validator_set_check_urls">
        <doc xml:space="preserve"
             filename="../src/as-validator.c"
             line="385">Set this value to make the #AsValidator check whether remote URLs
actually exist.</doc>
        <source-position filename="../src/as-validator.h" line="64"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="validator" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-validator.c"
                 line="387">a #AsValidator instance.</doc>
            <type name="Validator" c:type="AsValidator*"/>
          </instance-parameter>
          <parameter name="value" transfer-ownership="none">
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </method>
      <method name="validate_data" c:identifier="as_validator_validate_data">
        <doc xml:space="preserve"
             filename="../src/as-validator.c"
             line="1774">Validate AppStream XML data</doc>
        <source-position filename="../src/as-validator.h" line="53"/>
        <return-value transfer-ownership="none">
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="validator" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-validator.c"
                 line="1776">An instance of #AsValidator.</doc>
            <type name="Validator" c:type="AsValidator*"/>
          </instance-parameter>
          <parameter name="metadata" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-validator.c"
                 line="1777">XML metadata.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="validate_file" c:identifier="as_validator_validate_file">
        <doc xml:space="preserve"
             filename="../src/as-validator.c"
             line="1679">Validate an AppStream XML file</doc>
        <source-position filename="../src/as-validator.h" line="51"/>
        <return-value transfer-ownership="none">
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="validator" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-validator.c"
                 line="1681">An instance of #AsValidator.</doc>
            <type name="Validator" c:type="AsValidator*"/>
          </instance-parameter>
          <parameter name="metadata_file" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-validator.c"
                 line="1682">An AppStream XML file.</doc>
            <type name="Gio.File" c:type="GFile*"/>
          </parameter>
        </parameters>
      </method>
      <method name="validate_tree" c:identifier="as_validator_validate_tree">
        <doc xml:space="preserve"
             filename="../src/as-validator.c"
             line="1966">Validate a full directory tree for issues in AppStream metadata.</doc>
        <source-position filename="../src/as-validator.h" line="55"/>
        <return-value transfer-ownership="none">
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="validator" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-validator.c"
                 line="1968">An instance of #AsValidator.</doc>
            <type name="Validator" c:type="AsValidator*"/>
          </instance-parameter>
          <parameter name="root_dir" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-validator.c"
                 line="1969">The root directory of the filesystem tree that should be validated.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <field name="parent_instance">
        <type name="GObject.Object" c:type="GObject"/>
      </field>
    </class>
    <record name="ValidatorClass"
            c:type="AsValidatorClass"
            glib:is-gtype-struct-for="Validator">
      <source-position filename="../src/as-validator.h" line="46"/>
      <field name="parent_class">
        <type name="GObject.ObjectClass" c:type="GObjectClass"/>
      </field>
      <field name="_as_reserved1" introspectable="0">
        <callback name="_as_reserved1">
          <source-position filename="../src/as-validator.h" line="40"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_as_reserved2" introspectable="0">
        <callback name="_as_reserved2">
          <source-position filename="../src/as-validator.h" line="41"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_as_reserved3" introspectable="0">
        <callback name="_as_reserved3">
          <source-position filename="../src/as-validator.h" line="42"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_as_reserved4" introspectable="0">
        <callback name="_as_reserved4">
          <source-position filename="../src/as-validator.h" line="43"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_as_reserved5" introspectable="0">
        <callback name="_as_reserved5">
          <source-position filename="../src/as-validator.h" line="44"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_as_reserved6" introspectable="0">
        <callback name="_as_reserved6">
          <source-position filename="../src/as-validator.h" line="45"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
    </record>
    <class name="ValidatorIssue"
           c:symbol-prefix="validator_issue"
           c:type="AsValidatorIssue"
           parent="GObject.Object"
           glib:type-name="AsValidatorIssue"
           glib:get-type="as_validator_issue_get_type"
           glib:type-struct="ValidatorIssueClass">
      <source-position filename="../src/as-validator-issue.h" line="45"/>
      <constructor name="new" c:identifier="as_validator_issue_new">
        <doc xml:space="preserve"
             filename="../src/as-validator-issue.c"
             line="444">Creates a new #AsValidatorIssue.</doc>
        <source-position filename="../src/as-validator-issue.h" line="77"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="../src/as-validator-issue.c"
               line="449">a #AsValidatorIssue</doc>
          <type name="ValidatorIssue" c:type="AsValidatorIssue*"/>
        </return-value>
      </constructor>
      <method name="get_cid" c:identifier="as_validator_issue_get_cid">
        <doc xml:space="preserve"
             filename="../src/as-validator-issue.c"
             line="267">The component-id this issue is about.</doc>
        <source-position filename="../src/as-validator-issue.h" line="95"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-validator-issue.c"
               line="273">a component-id.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="issue" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-validator-issue.c"
                 line="269">a #AsValidatorIssue instance.</doc>
            <type name="ValidatorIssue" c:type="AsValidatorIssue*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_explanation"
              c:identifier="as_validator_issue_get_explanation"
              version="0.12.8">
        <doc xml:space="preserve"
             filename="../src/as-validator-issue.c"
             line="232">Get an extended explanation on this issue, or return %NULL
if none is available.</doc>
        <source-position filename="../src/as-validator-issue.h" line="91"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-validator-issue.c"
               line="239">the explanation</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="issue" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-validator-issue.c"
                 line="234">a #AsValidatorIssue instance.</doc>
            <type name="ValidatorIssue" c:type="AsValidatorIssue*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_filename"
              c:identifier="as_validator_issue_get_filename">
        <doc xml:space="preserve"
             filename="../src/as-validator-issue.c"
             line="326">The name of the file this issue was found in.</doc>
        <source-position filename="../src/as-validator-issue.h" line="99"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-validator-issue.c"
               line="332">the filename</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="issue" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-validator-issue.c"
                 line="328">a #AsValidatorIssue instance.</doc>
            <type name="ValidatorIssue" c:type="AsValidatorIssue*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_hint"
              c:identifier="as_validator_issue_get_hint"
              version="0.12.8">
        <doc xml:space="preserve"
             filename="../src/as-validator-issue.c"
             line="198">Get a short context hint for this issue.</doc>
        <source-position filename="../src/as-validator-issue.h" line="87"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-validator-issue.c"
               line="204">the hint</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="issue" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-validator-issue.c"
                 line="200">a #AsValidatorIssue instance.</doc>
            <type name="ValidatorIssue" c:type="AsValidatorIssue*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_importance"
              c:identifier="as_validator_issue_get_importance">
        <doc xml:space="preserve"
             filename="../src/as-validator-issue.c"
             line="390">This function is deprecated and should not be used in new code.</doc>
        <source-position filename="../src/as-validator-issue.h" line="112"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-validator-issue.c"
               line="396">a #AsIssueSeverity</doc>
          <type name="IssueSeverity" c:type="AsIssueSeverity"/>
        </return-value>
        <parameters>
          <instance-parameter name="issue" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-validator-issue.c"
                 line="392">a #AsValidatorIssue instance.</doc>
            <type name="ValidatorIssue" c:type="AsValidatorIssue*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_line" c:identifier="as_validator_issue_get_line">
        <doc xml:space="preserve"
             filename="../src/as-validator-issue.c"
             line="297">Gets the line number where this issue was found.</doc>
        <source-position filename="../src/as-validator-issue.h" line="103"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-validator-issue.c"
               line="303">the line number where this issue occured, or -1 if unknown.</doc>
          <type name="glong" c:type="glong"/>
        </return-value>
        <parameters>
          <instance-parameter name="issue" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-validator-issue.c"
                 line="299">a #AsValidatorIssue instance.</doc>
            <type name="ValidatorIssue" c:type="AsValidatorIssue*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_location"
              c:identifier="as_validator_issue_get_location">
        <doc xml:space="preserve"
             filename="../src/as-validator-issue.c"
             line="356">Builds a string containing all information about the location
where this issue occured that we know about.</doc>
        <source-position filename="../src/as-validator-issue.h" line="107"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="../src/as-validator-issue.c"
               line="363">the location hint as string.</doc>
          <type name="utf8" c:type="gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="issue" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-validator-issue.c"
                 line="358">a #AsValidatorIssue instance.</doc>
            <type name="ValidatorIssue" c:type="AsValidatorIssue*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_message" c:identifier="as_validator_issue_get_message">
        <doc xml:space="preserve"
             filename="../src/as-validator-issue.c"
             line="417">This function is deprecated.</doc>
        <source-position filename="../src/as-validator-issue.h" line="118"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-validator-issue.c"
               line="423">the message</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="issue" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-validator-issue.c"
                 line="419">a #AsValidatorIssue instance.</doc>
            <type name="ValidatorIssue" c:type="AsValidatorIssue*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_severity"
              c:identifier="as_validator_issue_get_severity">
        <doc xml:space="preserve"
             filename="../src/as-validator-issue.c"
             line="169">Gets the severity of this issue.</doc>
        <source-position filename="../src/as-validator-issue.h" line="83"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-validator-issue.c"
               line="175">a #AsIssueSeverity</doc>
          <type name="IssueSeverity" c:type="AsIssueSeverity"/>
        </return-value>
        <parameters>
          <instance-parameter name="issue" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-validator-issue.c"
                 line="171">a #AsValidatorIssue instance.</doc>
            <type name="ValidatorIssue" c:type="AsValidatorIssue*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_tag"
              c:identifier="as_validator_issue_get_tag"
              version="0.12.8">
        <doc xml:space="preserve"
             filename="../src/as-validator-issue.c"
             line="135">Gets the issue tag string for this issue.</doc>
        <source-position filename="../src/as-validator-issue.h" line="79"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-validator-issue.c"
               line="141">the tag</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="issue" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-validator-issue.c"
                 line="137">a #AsValidatorIssue instance.</doc>
            <type name="ValidatorIssue" c:type="AsValidatorIssue*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="set_cid" c:identifier="as_validator_issue_set_cid">
        <doc xml:space="preserve"
             filename="../src/as-validator-issue.c"
             line="282">Sets the component-id this issue is about.</doc>
        <source-position filename="../src/as-validator-issue.h" line="96"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="issue" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-validator-issue.c"
                 line="284">a #AsValidatorIssue instance.</doc>
            <type name="ValidatorIssue" c:type="AsValidatorIssue*"/>
          </instance-parameter>
          <parameter name="cid" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-validator-issue.c"
                 line="285">a component-id.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_explanation"
              c:identifier="as_validator_issue_set_explanation"
              version="0.12.8">
        <doc xml:space="preserve"
             filename="../src/as-validator-issue.c"
             line="250">Set explanatory text for this issue.</doc>
        <source-position filename="../src/as-validator-issue.h" line="92"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="issue" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-validator-issue.c"
                 line="252">a #AsValidatorIssue instance.</doc>
            <type name="ValidatorIssue" c:type="AsValidatorIssue*"/>
          </instance-parameter>
          <parameter name="explanation" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-validator-issue.c"
                 line="253">the explanation.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_filename"
              c:identifier="as_validator_issue_set_filename">
        <doc xml:space="preserve"
             filename="../src/as-validator-issue.c"
             line="341">Sets the name of the file the issue was found in.</doc>
        <source-position filename="../src/as-validator-issue.h" line="100"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="issue" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-validator-issue.c"
                 line="343">a #AsValidatorIssue instance.</doc>
            <type name="ValidatorIssue" c:type="AsValidatorIssue*"/>
          </instance-parameter>
          <parameter name="fname" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-validator-issue.c"
                 line="344">the filename.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_hint"
              c:identifier="as_validator_issue_set_hint"
              version="0.12.8">
        <doc xml:space="preserve"
             filename="../src/as-validator-issue.c"
             line="215">Sets short issue hint.</doc>
        <source-position filename="../src/as-validator-issue.h" line="88"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="issue" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-validator-issue.c"
                 line="217">a #AsValidatorIssue instance.</doc>
            <type name="ValidatorIssue" c:type="AsValidatorIssue*"/>
          </instance-parameter>
          <parameter name="hint" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-validator-issue.c"
                 line="218">the hint.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_importance"
              c:identifier="as_validator_issue_set_importance">
        <doc xml:space="preserve"
             filename="../src/as-validator-issue.c"
             line="404">This function is deprecated and should not be used in new code.</doc>
        <source-position filename="../src/as-validator-issue.h" line="114"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="issue" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-validator-issue.c"
                 line="406">a #AsValidatorIssue instance.</doc>
            <type name="ValidatorIssue" c:type="AsValidatorIssue*"/>
          </instance-parameter>
          <parameter name="importance" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-validator-issue.c"
                 line="407">the #AsIssueSeverity.</doc>
            <type name="IssueSeverity" c:type="AsIssueSeverity"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_line" c:identifier="as_validator_issue_set_line">
        <doc xml:space="preserve"
             filename="../src/as-validator-issue.c"
             line="312">Sets the line number where this issue was found.</doc>
        <source-position filename="../src/as-validator-issue.h" line="104"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="issue" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-validator-issue.c"
                 line="314">a #AsValidatorIssue instance.</doc>
            <type name="ValidatorIssue" c:type="AsValidatorIssue*"/>
          </instance-parameter>
          <parameter name="line" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-validator-issue.c"
                 line="315">the line number.</doc>
            <type name="glong" c:type="glong"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_message" c:identifier="as_validator_issue_set_message">
        <doc xml:space="preserve"
             filename="../src/as-validator-issue.c"
             line="431">This function is deprecated.</doc>
        <source-position filename="../src/as-validator-issue.h" line="120"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="issue" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-validator-issue.c"
                 line="433">a #AsValidatorIssue instance.</doc>
            <type name="ValidatorIssue" c:type="AsValidatorIssue*"/>
          </instance-parameter>
          <parameter name="message" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-validator-issue.c"
                 line="434">the message text.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_severity"
              c:identifier="as_validator_issue_set_severity">
        <doc xml:space="preserve"
             filename="../src/as-validator-issue.c"
             line="184">Sets the severity for this issue.</doc>
        <source-position filename="../src/as-validator-issue.h" line="84"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="issue" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-validator-issue.c"
                 line="186">a #AsValidatorIssue instance.</doc>
            <type name="ValidatorIssue" c:type="AsValidatorIssue*"/>
          </instance-parameter>
          <parameter name="severity" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-validator-issue.c"
                 line="187">the #AsIssueSeverity.</doc>
            <type name="IssueSeverity" c:type="AsIssueSeverity"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_tag"
              c:identifier="as_validator_issue_set_tag"
              version="0.12.8">
        <doc xml:space="preserve"
             filename="../src/as-validator-issue.c"
             line="152">Sets the issue tag.</doc>
        <source-position filename="../src/as-validator-issue.h" line="80"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="issue" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-validator-issue.c"
                 line="154">a #AsValidatorIssue instance.</doc>
            <type name="ValidatorIssue" c:type="AsValidatorIssue*"/>
          </instance-parameter>
          <parameter name="tag" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-validator-issue.c"
                 line="155">the tag.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <field name="parent_instance">
        <type name="GObject.Object" c:type="GObject"/>
      </field>
    </class>
    <record name="ValidatorIssueClass"
            c:type="AsValidatorIssueClass"
            glib:is-gtype-struct-for="ValidatorIssue">
      <source-position filename="../src/as-validator-issue.h" line="45"/>
      <field name="parent_class">
        <type name="GObject.ObjectClass" c:type="GObjectClass"/>
      </field>
      <field name="_as_reserved1" introspectable="0">
        <callback name="_as_reserved1">
          <source-position filename="../src/as-validator-issue.h" line="39"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_as_reserved2" introspectable="0">
        <callback name="_as_reserved2">
          <source-position filename="../src/as-validator-issue.h" line="40"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_as_reserved3" introspectable="0">
        <callback name="_as_reserved3">
          <source-position filename="../src/as-validator-issue.h" line="41"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_as_reserved4" introspectable="0">
        <callback name="_as_reserved4">
          <source-position filename="../src/as-validator-issue.h" line="42"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_as_reserved5" introspectable="0">
        <callback name="_as_reserved5">
          <source-position filename="../src/as-validator-issue.h" line="43"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_as_reserved6" introspectable="0">
        <callback name="_as_reserved6">
          <source-position filename="../src/as-validator-issue.h" line="44"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
    </record>
    <bitfield name="ValueFlags" c:type="AsValueFlags">
      <doc xml:space="preserve"
           filename="../src/as-component.h"
           line="151">Set how values assigned to an #AsComponent should be treated when
they are set or retrieved.</doc>
      <source-position filename="../src/as-component.h" line="164"/>
      <member name="none" value="0" c:identifier="AS_VALUE_FLAG_NONE">
        <doc xml:space="preserve"
             filename="../src/as-component.h"
             line="153">No flags.</doc>
      </member>
      <member name="duplicate_check"
              value="1"
              c:identifier="AS_VALUE_FLAG_DUPLICATE_CHECK">
        <doc xml:space="preserve"
             filename="../src/as-component.h"
             line="154">Check for duplicates when adding items to list values.</doc>
      </member>
      <member name="no_translation_fallback"
              value="2"
              c:identifier="AS_VALUE_FLAG_NO_TRANSLATION_FALLBACK">
        <doc xml:space="preserve"
             filename="../src/as-component.h"
             line="155">Don't fall back to C when retrieving translated values.</doc>
      </member>
    </bitfield>
    <class name="Video"
           c:symbol-prefix="video"
           c:type="AsVideo"
           parent="GObject.Object"
           glib:type-name="AsVideo"
           glib:get-type="as_video_get_type"
           glib:type-struct="VideoClass">
      <source-position filename="../src/as-video.h" line="45"/>
      <constructor name="new" c:identifier="as_video_new">
        <doc xml:space="preserve"
             filename="../src/as-video.c"
             line="549">Creates a new #AsVideo.</doc>
        <source-position filename="../src/as-video.h" line="85"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="../src/as-video.c"
               line="554">a #AsVideo</doc>
          <type name="Video" c:type="AsVideo*"/>
        </return-value>
      </constructor>
      <function name="codec_kind_from_string"
                c:identifier="as_video_codec_kind_from_string">
        <doc xml:space="preserve"
             filename="../src/as-video.c"
             line="72">Converts the text representation to an enumerated value.</doc>
        <source-position filename="../src/as-video.h" line="79"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="../src/as-video.c"
               line="78">a #AsVideoCodecKind, or %AS_VIDEO_CODEC_KIND_UNKNOWN for unknown.</doc>
          <type name="VideoCodecKind" c:type="AsVideoCodecKind"/>
        </return-value>
        <parameters>
          <parameter name="str" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-video.c"
                 line="74">the string.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </function>
      <function name="codec_kind_to_string"
                c:identifier="as_video_codec_kind_to_string">
        <doc xml:space="preserve"
             filename="../src/as-video.c"
             line="91">Converts the enumerated value to an text representation.</doc>
        <source-position filename="../src/as-video.h" line="80"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-video.c"
               line="97">string version of @codec</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <parameter name="kind" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-video.c"
                 line="93">the #AsVideoCodecKind.</doc>
            <type name="VideoCodecKind" c:type="AsVideoCodecKind"/>
          </parameter>
        </parameters>
      </function>
      <function name="container_kind_from_string"
                c:identifier="as_video_container_kind_from_string">
        <doc xml:space="preserve"
             filename="../src/as-video.c"
             line="110">Converts the text representation to an enumerated value.</doc>
        <source-position filename="../src/as-video.h" line="82"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="../src/as-video.c"
               line="116">a #AsVideoContainerKind, or %AS_VIDEO_CONTAINER_KIND_UNKNOWN for unknown.</doc>
          <type name="VideoContainerKind" c:type="AsVideoContainerKind"/>
        </return-value>
        <parameters>
          <parameter name="str" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-video.c"
                 line="112">the string.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </function>
      <function name="container_kind_to_string"
                c:identifier="as_video_container_kind_to_string">
        <doc xml:space="preserve"
             filename="../src/as-video.c"
             line="131">Converts the enumerated value to an text representation.</doc>
        <source-position filename="../src/as-video.h" line="83"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-video.c"
               line="137">string version of @kind</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <parameter name="kind" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-video.c"
                 line="133">the #AsVideoContainerKind.</doc>
            <type name="VideoContainerKind" c:type="AsVideoContainerKind"/>
          </parameter>
        </parameters>
      </function>
      <method name="get_codec_kind" c:identifier="as_video_get_codec_kind">
        <doc xml:space="preserve"
             filename="../src/as-video.c"
             line="165">Gets the video codec, if known.</doc>
        <source-position filename="../src/as-video.h" line="87"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-video.c"
               line="171">the #AsVideoCodecKind</doc>
          <type name="VideoCodecKind" c:type="AsVideoCodecKind"/>
        </return-value>
        <parameters>
          <instance-parameter name="video" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-video.c"
                 line="167">a #AsVideo instance.</doc>
            <type name="Video" c:type="AsVideo*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_container_kind"
              c:identifier="as_video_get_container_kind">
        <doc xml:space="preserve"
             filename="../src/as-video.c"
             line="196">Gets the video container format, if known.</doc>
        <source-position filename="../src/as-video.h" line="91"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-video.c"
               line="202">the #AsVideoContainerKind</doc>
          <type name="VideoContainerKind" c:type="AsVideoContainerKind"/>
        </return-value>
        <parameters>
          <instance-parameter name="video" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-video.c"
                 line="198">a #AsVideo instance.</doc>
            <type name="Video" c:type="AsVideo*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_height" c:identifier="as_video_get_height">
        <doc xml:space="preserve"
             filename="../src/as-video.c"
             line="275">Gets the video height, if known.</doc>
        <source-position filename="../src/as-video.h" line="103"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-video.c"
               line="281">height in pixels or 0 if unknown</doc>
          <type name="guint" c:type="guint"/>
        </return-value>
        <parameters>
          <instance-parameter name="video" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-video.c"
                 line="277">a #AsVideo instance.</doc>
            <type name="Video" c:type="AsVideo*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_locale" c:identifier="as_video_get_locale">
        <doc xml:space="preserve"
             filename="../src/as-video.c"
             line="306">Get locale for this video.</doc>
        <source-position filename="../src/as-video.h" line="107"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-video.c"
               line="312">Locale string</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="video" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-video.c"
                 line="308">a #AsVideo instance.</doc>
            <type name="Video" c:type="AsVideo*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_url" c:identifier="as_video_get_url">
        <doc xml:space="preserve"
             filename="../src/as-video.c"
             line="212">Gets the full qualified URL for the video, usually pointing at a mirror or CDN server.</doc>
        <source-position filename="../src/as-video.h" line="95"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-video.c"
               line="218">a web URL</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="video" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-video.c"
                 line="214">a #AsVideo instance.</doc>
            <type name="Video" c:type="AsVideo*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_width" c:identifier="as_video_get_width">
        <doc xml:space="preserve"
             filename="../src/as-video.c"
             line="244">Gets the video width, if known.</doc>
        <source-position filename="../src/as-video.h" line="99"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-video.c"
               line="250">width in pixels or 0 if unknown</doc>
          <type name="guint" c:type="guint"/>
        </return-value>
        <parameters>
          <instance-parameter name="video" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-video.c"
                 line="246">a #AsVideo instance.</doc>
            <type name="Video" c:type="AsVideo*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="set_codec_kind" c:identifier="as_video_set_codec_kind">
        <doc xml:space="preserve"
             filename="../src/as-video.c"
             line="150">Sets the video codec.</doc>
        <source-position filename="../src/as-video.h" line="88"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="video" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-video.c"
                 line="152">a #AsVideo instance.</doc>
            <type name="Video" c:type="AsVideo*"/>
          </instance-parameter>
          <parameter name="kind" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-video.c"
                 line="153">the #AsVideoCodecKind, e.g. %AS_VIDEO_CODEC_KIND_AV1.</doc>
            <type name="VideoCodecKind" c:type="AsVideoCodecKind"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_container_kind"
              c:identifier="as_video_set_container_kind">
        <doc xml:space="preserve"
             filename="../src/as-video.c"
             line="181">Sets the video container.</doc>
        <source-position filename="../src/as-video.h" line="92"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="video" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-video.c"
                 line="183">a #AsVideo instance.</doc>
            <type name="Video" c:type="AsVideo*"/>
          </instance-parameter>
          <parameter name="kind" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-video.c"
                 line="184">the #AsVideoContainerKind, e.g. %AS_VIDEO_CONTAINER_KIND_MKV.</doc>
            <type name="VideoContainerKind" c:type="AsVideoContainerKind"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_height" c:identifier="as_video_set_height">
        <doc xml:space="preserve"
             filename="../src/as-video.c"
             line="291">Sets the video height.</doc>
        <source-position filename="../src/as-video.h" line="104"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="video" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-video.c"
                 line="293">a #AsVideo instance.</doc>
            <type name="Video" c:type="AsVideo*"/>
          </instance-parameter>
          <parameter name="height" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-video.c"
                 line="294">the height in pixels.</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_locale" c:identifier="as_video_set_locale">
        <doc xml:space="preserve"
             filename="../src/as-video.c"
             line="321">Sets the locale for this video.</doc>
        <source-position filename="../src/as-video.h" line="108"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="video" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-video.c"
                 line="323">a #AsVideo instance.</doc>
            <type name="Video" c:type="AsVideo*"/>
          </instance-parameter>
          <parameter name="locale" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-video.c"
                 line="324">the locale string.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_url" c:identifier="as_video_set_url">
        <doc xml:space="preserve"
             filename="../src/as-video.c"
             line="228">Sets the fully-qualified URL to use for the video.</doc>
        <source-position filename="../src/as-video.h" line="96"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="video" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-video.c"
                 line="230">a #AsVideo instance.</doc>
            <type name="Video" c:type="AsVideo*"/>
          </instance-parameter>
          <parameter name="url" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-video.c"
                 line="231">the URL.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_width" c:identifier="as_video_set_width">
        <doc xml:space="preserve"
             filename="../src/as-video.c"
             line="260">Sets the video width.</doc>
        <source-position filename="../src/as-video.h" line="100"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="video" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-video.c"
                 line="262">a #AsVideo instance.</doc>
            <type name="Video" c:type="AsVideo*"/>
          </instance-parameter>
          <parameter name="width" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="../src/as-video.c"
                 line="263">the width in pixels.</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
        </parameters>
      </method>
      <field name="parent_instance">
        <type name="GObject.Object" c:type="GObject"/>
      </field>
    </class>
    <record name="VideoClass"
            c:type="AsVideoClass"
            glib:is-gtype-struct-for="Video">
      <source-position filename="../src/as-video.h" line="45"/>
      <field name="parent_class">
        <type name="GObject.ObjectClass" c:type="GObjectClass"/>
      </field>
      <field name="_as_reserved1" introspectable="0">
        <callback name="_as_reserved1">
          <source-position filename="../src/as-video.h" line="39"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_as_reserved2" introspectable="0">
        <callback name="_as_reserved2">
          <source-position filename="../src/as-video.h" line="40"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_as_reserved3" introspectable="0">
        <callback name="_as_reserved3">
          <source-position filename="../src/as-video.h" line="41"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_as_reserved4" introspectable="0">
        <callback name="_as_reserved4">
          <source-position filename="../src/as-video.h" line="42"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_as_reserved5" introspectable="0">
        <callback name="_as_reserved5">
          <source-position filename="../src/as-video.h" line="43"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_as_reserved6" introspectable="0">
        <callback name="_as_reserved6">
          <source-position filename="../src/as-video.h" line="44"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
    </record>
    <enumeration name="VideoCodecKind" c:type="AsVideoCodecKind">
      <doc xml:space="preserve"
           filename="../src/as-video.h"
           line="47">Supported video codecs.</doc>
      <source-position filename="../src/as-video.h" line="61"/>
      <member name="unknown"
              value="0"
              c:identifier="AS_VIDEO_CODEC_KIND_UNKNOWN">
        <doc xml:space="preserve"
             filename="../src/as-video.h"
             line="49">Unknown video codec</doc>
      </member>
      <member name="vp9" value="1" c:identifier="AS_VIDEO_CODEC_KIND_VP9">
        <doc xml:space="preserve"
             filename="../src/as-video.h"
             line="50">The VP9 video codec</doc>
      </member>
      <member name="av1" value="2" c:identifier="AS_VIDEO_CODEC_KIND_AV1">
        <doc xml:space="preserve"
             filename="../src/as-video.h"
             line="51">The AV1 video codec</doc>
      </member>
    </enumeration>
    <enumeration name="VideoContainerKind" c:type="AsVideoContainerKind">
      <doc xml:space="preserve"
           filename="../src/as-video.h"
           line="63">Supported video codecs.</doc>
      <source-position filename="../src/as-video.h" line="77"/>
      <member name="unknown"
              value="0"
              c:identifier="AS_VIDEO_CONTAINER_KIND_UNKNOWN">
        <doc xml:space="preserve"
             filename="../src/as-video.h"
             line="65">Unknown video container</doc>
      </member>
      <member name="mkv" value="1" c:identifier="AS_VIDEO_CONTAINER_KIND_MKV">
        <doc xml:space="preserve"
             filename="../src/as-video.h"
             line="66">The Matroska video (MKV) container</doc>
      </member>
      <member name="webm"
              value="2"
              c:identifier="AS_VIDEO_CONTAINER_KIND_WEBM">
        <doc xml:space="preserve"
             filename="../src/as-video.h"
             line="67">The WebM video container</doc>
      </member>
    </enumeration>
    <function name="component_kind_from_string"
              c:identifier="as_component_kind_from_string"
              moved-to="ComponentKind.from_string">
      <doc xml:space="preserve"
           filename="../src/as-component.c"
           line="241">Converts the text representation to an enumerated value.</doc>
      <source-position filename="../src/as-component.h" line="108"/>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve"
             filename="../src/as-component.c"
             line="247">a #AsComponentKind or %AS_COMPONENT_KIND_UNKNOWN for unknown</doc>
        <type name="ComponentKind" c:type="AsComponentKind"/>
      </return-value>
      <parameters>
        <parameter name="kind_str" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-component.c"
               line="243">the string.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
      </parameters>
    </function>
    <function name="component_kind_to_string"
              c:identifier="as_component_kind_to_string"
              moved-to="ComponentKind.to_string">
      <doc xml:space="preserve"
           filename="../src/as-component.c"
           line="195">Converts the enumerated value to an text representation.</doc>
      <source-position filename="../src/as-component.h" line="107"/>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve"
             filename="../src/as-component.c"
             line="201">string version of @kind</doc>
        <type name="utf8" c:type="const gchar*"/>
      </return-value>
      <parameters>
        <parameter name="kind" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-component.c"
               line="197">the #AsComponentKind.</doc>
          <type name="ComponentKind" c:type="AsComponentKind"/>
        </parameter>
      </parameters>
    </function>
    <function-macro name="flags_add"
                    c:identifier="as_flags_add"
                    introspectable="0">
      <source-position filename="../src/as-enums.h" line="33"/>
      <parameters>
        <parameter name="bitfield">
        </parameter>
        <parameter name="enum">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="flags_contains"
                    c:identifier="as_flags_contains"
                    introspectable="0">
      <source-position filename="../src/as-enums.h" line="36"/>
      <parameters>
        <parameter name="bitfield">
        </parameter>
        <parameter name="enum">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="flags_invert"
                    c:identifier="as_flags_invert"
                    introspectable="0">
      <source-position filename="../src/as-enums.h" line="35"/>
      <parameters>
        <parameter name="bitfield">
        </parameter>
        <parameter name="enum">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="flags_remove"
                    c:identifier="as_flags_remove"
                    introspectable="0">
      <source-position filename="../src/as-enums.h" line="34"/>
      <parameters>
        <parameter name="bitfield">
        </parameter>
        <parameter name="enum">
        </parameter>
      </parameters>
    </function-macro>
    <function name="format_kind_from_string"
              c:identifier="as_format_kind_from_string"
              version="0.10">
      <doc xml:space="preserve"
           filename="../src/as-context.c"
           line="80">Converts the text representation to an enumerated value.</doc>
      <source-position filename="../src/as-context.h" line="84"/>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve"
             filename="../src/as-context.c"
             line="86">a #AsFormatKind or %AS_FORMAT_KIND_UNKNOWN for unknown</doc>
        <type name="FormatKind" c:type="AsFormatKind"/>
      </return-value>
      <parameters>
        <parameter name="kind_str" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-context.c"
               line="82">the string.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
      </parameters>
    </function>
    <function name="format_kind_to_string"
              c:identifier="as_format_kind_to_string"
              version="0.10">
      <doc xml:space="preserve"
           filename="../src/as-context.c"
           line="60">Converts the enumerated value to an text representation.</doc>
      <source-position filename="../src/as-context.h" line="83"/>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve"
             filename="../src/as-context.c"
             line="66">string version of @kind</doc>
        <type name="utf8" c:type="const gchar*"/>
      </return-value>
      <parameters>
        <parameter name="kind" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-context.c"
               line="62">the #AsFormatKind.</doc>
          <type name="FormatKind" c:type="AsFormatKind"/>
        </parameter>
      </parameters>
    </function>
    <function name="format_version_from_string"
              c:identifier="as_format_version_from_string"
              version="0.10">
      <doc xml:space="preserve"
           filename="../src/as-context.c"
           line="130">Converts the text representation to an enumerated value.</doc>
      <source-position filename="../src/as-context.h" line="111"/>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve"
             filename="../src/as-context.c"
             line="136">a #AsFormatVersion. For unknown, the highest version
number is assumed.</doc>
        <type name="FormatVersion" c:type="AsFormatVersion"/>
      </return-value>
      <parameters>
        <parameter name="version_str" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-context.c"
               line="132">the string.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
      </parameters>
    </function>
    <function name="format_version_to_string"
              c:identifier="as_format_version_to_string"
              version="0.10">
      <doc xml:space="preserve"
           filename="../src/as-context.c"
           line="100">Converts the enumerated value to an text representation.</doc>
      <source-position filename="../src/as-context.h" line="110"/>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve"
             filename="../src/as-context.c"
             line="106">string version of @version</doc>
        <type name="utf8" c:type="const gchar*"/>
      </return-value>
      <parameters>
        <parameter name="version" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-context.c"
               line="102">the #AsFormatKind.</doc>
          <type name="FormatVersion" c:type="AsFormatVersion"/>
        </parameter>
      </parameters>
    </function>
    <function name="get_appstream_version"
              c:identifier="as_get_appstream_version">
      <doc xml:space="preserve"
           filename="../src/as-utils.c"
           line="56">Get the version of the AppStream library that is currently used
as a string.</doc>
      <source-position filename="../src/as-utils.h" line="48"/>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve"
             filename="../src/as-utils.c"
             line="62">The AppStream version.</doc>
        <type name="utf8" c:type="const gchar*"/>
      </return-value>
    </function>
    <function name="get_current_distro_component_id"
              c:identifier="as_get_current_distro_component_id">
      <doc xml:space="preserve"
           filename="../src/as-distro-details.c"
           line="347">Returns the component-ID of the current distribution based on contents
of the `/etc/os-release` file.
This function is a shorthand for %as_distro_details_get_cid</doc>
      <source-position filename="../src/as-distro-details.h" line="61"/>
      <return-value transfer-ownership="full">
        <type name="utf8" c:type="gchar*"/>
      </return-value>
    </function>
    <function name="get_default_categories"
              c:identifier="as_get_default_categories">
      <doc xml:space="preserve"
           filename="../src/as-category.c"
           line="747">Get a list of the default Freedesktop and AppStream categories
that software components (especially GUI applications) can be sorted
into in software centers.</doc>
      <source-position filename="../src/as-category.h" line="82"/>
      <return-value transfer-ownership="container">
        <doc xml:space="preserve"
             filename="../src/as-category.c"
             line="755">a list of #AsCategory</doc>
        <array name="GLib.PtrArray" c:type="GPtrArray*">
          <type name="Category"/>
        </array>
      </return-value>
      <parameters>
        <parameter name="with_special" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-category.c"
               line="749">Include special categories (e.g. "addons", and "all"/"featured" in submenus)</doc>
          <type name="gboolean" c:type="gboolean"/>
        </parameter>
      </parameters>
    </function>
    <function name="get_license_url"
              c:identifier="as_get_license_url"
              version="0.12.7">
      <doc xml:space="preserve"
           filename="../src/as-spdx.c"
           line="605">Get a web URL to the license text and more license information for an SPDX
license identifier.</doc>
      <source-position filename="../src/as-spdx.h" line="44"/>
      <return-value transfer-ownership="full">
        <doc xml:space="preserve"
             filename="../src/as-spdx.c"
             line="612">The license URL.</doc>
        <type name="utf8" c:type="gchar*"/>
      </return-value>
      <parameters>
        <parameter name="license" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-spdx.c"
               line="607">The SPDX license ID.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
      </parameters>
    </function>
    <function name="is_spdx_license_exception_id"
              c:identifier="as_is_spdx_license_exception_id"
              version="0.12.10">
      <doc xml:space="preserve"
           filename="../src/as-spdx.c"
           line="182">Searches the known list of SPDX license exception IDs.</doc>
      <source-position filename="../src/as-spdx.h" line="33"/>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve"
             filename="../src/as-spdx.c"
             line="188">%TRUE if the string is a valid SPDX license exception ID</doc>
        <type name="gboolean" c:type="gboolean"/>
      </return-value>
      <parameters>
        <parameter name="exception_id" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-spdx.c"
               line="184">a single SPDX license exception ID, e.g. "GCC-exception-3.1"</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
      </parameters>
    </function>
    <function name="is_spdx_license_expression"
              c:identifier="as_is_spdx_license_expression"
              version="0.9.8">
      <doc xml:space="preserve"
           filename="../src/as-spdx.c"
           line="214">Checks the licence string to check it being a valid licence.
NOTE: SPDX licenses can't typically contain brackets.</doc>
      <source-position filename="../src/as-spdx.h" line="34"/>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve"
             filename="../src/as-spdx.c"
             line="221">%TRUE if the icon is a valid "SPDX license"</doc>
        <type name="gboolean" c:type="gboolean"/>
      </return-value>
      <parameters>
        <parameter name="license" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-spdx.c"
               line="216">a SPDX license string, e.g. "CC-BY-3.0 and GFDL-1.3"</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
      </parameters>
    </function>
    <function name="is_spdx_license_id"
              c:identifier="as_is_spdx_license_id"
              version="0.9.8">
      <doc xml:space="preserve"
           filename="../src/as-spdx.c"
           line="146">Searches the known list of SPDX license IDs.</doc>
      <source-position filename="../src/as-spdx.h" line="32"/>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve"
             filename="../src/as-spdx.c"
             line="152">%TRUE if the string is a valid SPDX license ID</doc>
        <type name="gboolean" c:type="gboolean"/>
      </return-value>
      <parameters>
        <parameter name="license_id" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-spdx.c"
               line="148">a single SPDX license ID, e.g. "GPL-3.0"</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
      </parameters>
    </function>
    <function name="license_is_free_license"
              c:identifier="as_license_is_free_license"
              version="0.12.10">
      <doc xml:space="preserve"
           filename="../src/as-spdx.c"
           line="649">Check if the given license is for free-as-in-freedom software.
Currently, all licenses listed on the SPDX website are considered to
be "free software" licenses.

This definition may be tightened in future. In any case, this function does
not give any legal advice. Please read the license texts to know more about
the individual licenses.</doc>
      <source-position filename="../src/as-spdx.h" line="42"/>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve"
             filename="../src/as-spdx.c"
             line="661">%TRUE if the license string contains only free-as-in-freedom licenses.</doc>
        <type name="gboolean" c:type="gboolean"/>
      </return-value>
      <parameters>
        <parameter name="license" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-spdx.c"
               line="651">The SPDX license string to test.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
      </parameters>
    </function>
    <function name="license_is_metadata_license"
              c:identifier="as_license_is_metadata_license">
      <doc xml:space="preserve"
           filename="../src/as-spdx.c"
           line="572">Check if the metadata license is suitable for mixing with other
metadata and redistributing the bundled result (this means we
prefer permissive licenses here, to not require people shipping
catalog metadata to perform a full license review).

This method checks against a hardcoded list of permissive licenses
commonly used to license metadata under.</doc>
      <source-position filename="../src/as-spdx.h" line="41"/>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve"
             filename="../src/as-spdx.c"
             line="584">%TRUE if the license contains only permissive licenses suitable
as metadata license.</doc>
        <type name="gboolean" c:type="gboolean"/>
      </return-value>
      <parameters>
        <parameter name="license" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-spdx.c"
               line="574">The SPDX license string to test.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
      </parameters>
    </function>
    <function name="license_to_spdx_id"
              c:identifier="as_license_to_spdx_id"
              version="0.9.8">
      <doc xml:space="preserve"
           filename="../src/as-spdx.c"
           line="418">Converts a non-SPDX license into an SPDX format string where possible.</doc>
      <source-position filename="../src/as-spdx.h" line="39"/>
      <return-value transfer-ownership="full">
        <doc xml:space="preserve"
             filename="../src/as-spdx.c"
             line="424">the best-effort SPDX license string</doc>
        <type name="utf8" c:type="gchar*"/>
      </return-value>
      <parameters>
        <parameter name="license" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-spdx.c"
               line="420">a not-quite SPDX license string, e.g. "GPLv3+"</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
      </parameters>
    </function>
    <function name="markup_convert_simple"
              c:identifier="as_markup_convert_simple"
              throws="1">
      <source-position filename="../src/as-utils.h" line="32"/>
      <return-value transfer-ownership="full">
        <type name="utf8" c:type="gchar*"/>
      </return-value>
      <parameters>
        <parameter name="markup" transfer-ownership="none">
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
      </parameters>
    </function>
    <function name="merge_kind_from_string"
              c:identifier="as_merge_kind_from_string">
      <doc xml:space="preserve"
           filename="../src/as-component.c"
           line="319">Converts the text representation to an enumerated value.</doc>
      <source-position filename="../src/as-component.h" line="130"/>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve"
             filename="../src/as-component.c"
             line="325">a #AsMergeKind or %AS_MERGE_KIND_NONE for unknown</doc>
        <type name="MergeKind" c:type="AsMergeKind"/>
      </return-value>
      <parameters>
        <parameter name="kind_str" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-component.c"
               line="321">the string.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
      </parameters>
    </function>
    <function name="merge_kind_to_string"
              c:identifier="as_merge_kind_to_string">
      <doc xml:space="preserve"
           filename="../src/as-component.c"
           line="296">Converts the enumerated value to an text representation.</doc>
      <source-position filename="../src/as-component.h" line="129"/>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve"
             filename="../src/as-component.c"
             line="302">string version of @kind</doc>
        <type name="utf8" c:type="const gchar*"/>
      </return-value>
      <parameters>
        <parameter name="kind" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-component.c"
               line="298">the #AsMergeKind.</doc>
          <type name="MergeKind" c:type="AsMergeKind"/>
        </parameter>
      </parameters>
    </function>
    <function name="size_kind_from_string"
              c:identifier="as_size_kind_from_string">
      <doc xml:space="preserve"
           filename="../src/as-artifact.c"
           line="67">Converts the text representation to an enumerated value.</doc>
      <source-position filename="../src/as-artifact.h" line="68"/>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve"
             filename="../src/as-artifact.c"
             line="73">an #AsSizeKind or %AS_SIZE_KIND_UNKNOWN for unknown</doc>
        <type name="SizeKind" c:type="AsSizeKind"/>
      </return-value>
      <parameters>
        <parameter name="size_kind" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-artifact.c"
               line="69">the string.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
      </parameters>
    </function>
    <function name="size_kind_to_string" c:identifier="as_size_kind_to_string">
      <doc xml:space="preserve"
           filename="../src/as-artifact.c"
           line="49">Converts the enumerated value to an text representation.</doc>
      <source-position filename="../src/as-artifact.h" line="67"/>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve"
             filename="../src/as-artifact.c"
             line="55">string version of @size_kind</doc>
        <type name="utf8" c:type="const gchar*"/>
      </return-value>
      <parameters>
        <parameter name="size_kind" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-artifact.c"
               line="51">the #AsSizeKind.</doc>
          <type name="SizeKind" c:type="AsSizeKind"/>
        </parameter>
      </parameters>
    </function>
    <function name="spdx_license_detokenize"
              c:identifier="as_spdx_license_detokenize"
              version="0.9.8">
      <doc xml:space="preserve"
           filename="../src/as-spdx.c"
           line="370">De-tokenizes the SPDX licenses into a string.</doc>
      <source-position filename="../src/as-spdx.h" line="37"/>
      <return-value transfer-ownership="full" nullable="1">
        <doc xml:space="preserve"
             filename="../src/as-spdx.c"
             line="376">string, or %NULL for invalid</doc>
        <type name="utf8" c:type="gchar*"/>
      </return-value>
      <parameters>
        <parameter name="license_tokens" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-spdx.c"
               line="372">license tokens, typically from as_spdx_license_tokenize()</doc>
          <type name="utf8" c:type="gchar**"/>
        </parameter>
      </parameters>
    </function>
    <function name="spdx_license_tokenize"
              c:identifier="as_spdx_license_tokenize"
              version="0.9.8">
      <doc xml:space="preserve"
           filename="../src/as-spdx.c"
           line="310">Tokenizes the SPDX license string (or any simarly formatted string)
into parts. Any license parts of the string e.g. "LGPL-2.0+" are prefexed
with "@", the conjunctive replaced with "&amp;", the disjunctive replaced
with "|" and the WITH operator for license exceptions replaced with "^".
Brackets are added as indervidual tokens and other strings are
appended into single tokens where possible.</doc>
      <source-position filename="../src/as-spdx.h" line="36"/>
      <return-value transfer-ownership="full" nullable="1">
        <doc xml:space="preserve"
             filename="../src/as-spdx.c"
             line="321">array of strings, or %NULL for invalid</doc>
        <array c:type="gchar**">
          <type name="utf8"/>
        </array>
      </return-value>
      <parameters>
        <parameter name="license" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-spdx.c"
               line="312">a license string, e.g. "LGPLv2+ and (QPL or GPLv2) and MIT"</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
      </parameters>
    </function>
    <function name="urgency_kind_from_string"
              c:identifier="as_urgency_kind_from_string"
              version="0.6.5">
      <doc xml:space="preserve"
           filename="../src/as-enums.c"
           line="109">Converts the text representation to an enumerated value.</doc>
      <source-position filename="../src/as-enums.h" line="88"/>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve"
             filename="../src/as-enums.c"
             line="115">a %AsUrgencyKind or %AS_URGENCY_KIND_UNKNOWN for unknown</doc>
        <type name="UrgencyKind" c:type="AsUrgencyKind"/>
      </return-value>
      <parameters>
        <parameter name="urgency_kind" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-enums.c"
               line="111">the string.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
      </parameters>
    </function>
    <function name="urgency_kind_to_string"
              c:identifier="as_urgency_kind_to_string"
              version="0.6.5">
      <doc xml:space="preserve"
           filename="../src/as-enums.c"
           line="85">Converts the enumerated value to an text representation.</doc>
      <source-position filename="../src/as-enums.h" line="87"/>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve"
             filename="../src/as-enums.c"
             line="91">string version of @urgency_kind</doc>
        <type name="utf8" c:type="const gchar*"/>
      </return-value>
      <parameters>
        <parameter name="urgency_kind" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-enums.c"
               line="87">the %AsUrgencyKind.</doc>
          <type name="UrgencyKind" c:type="AsUrgencyKind"/>
        </parameter>
      </parameters>
    </function>
    <function name="url_kind_from_string"
              c:identifier="as_url_kind_from_string">
      <doc xml:space="preserve"
           filename="../src/as-enums.c"
           line="57">Converts the text representation to an enumerated value.</doc>
      <source-position filename="../src/as-enums.h" line="65"/>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve"
             filename="../src/as-enums.c"
             line="63">a #AsUrlKind or %AS_URL_KIND_UNKNOWN for unknown</doc>
        <type name="UrlKind" c:type="AsUrlKind"/>
      </return-value>
      <parameters>
        <parameter name="url_kind" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-enums.c"
               line="59">the string.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
      </parameters>
    </function>
    <function name="url_kind_to_string" c:identifier="as_url_kind_to_string">
      <doc xml:space="preserve"
           filename="../src/as-enums.c"
           line="29">Converts the enumerated value to an text representation.</doc>
      <source-position filename="../src/as-enums.h" line="64"/>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve"
             filename="../src/as-enums.c"
             line="35">string version of @url_kind</doc>
        <type name="utf8" c:type="const gchar*"/>
      </return-value>
      <parameters>
        <parameter name="url_kind" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-enums.c"
               line="31">the %AsUrlKind.</doc>
          <type name="UrlKind" c:type="AsUrlKind"/>
        </parameter>
      </parameters>
    </function>
    <function name="utils_compare_versions"
              c:identifier="as_utils_compare_versions">
      <doc xml:space="preserve"
           filename="../src/as-utils.c"
           line="1031">Compare alpha and numeric segments of two versions.
The version compare algorithm is also used by RPM.</doc>
      <source-position filename="../src/as-utils.h" line="45"/>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve"
             filename="../src/as-utils.c"
             line="1037">1: a is newer than b
    0: a and b are the same version
   -1: b is newer than a</doc>
        <type name="gint" c:type="gint"/>
      </return-value>
      <parameters>
        <parameter name="a" transfer-ownership="none">
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
        <parameter name="b" transfer-ownership="none">
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
      </parameters>
    </function>
    <function name="utils_is_category_name"
              c:identifier="as_utils_is_category_name">
      <source-position filename="../src/as-utils.h" line="37"/>
      <return-value transfer-ownership="none">
        <type name="gboolean" c:type="gboolean"/>
      </return-value>
      <parameters>
        <parameter name="category_name" transfer-ownership="none">
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
      </parameters>
    </function>
    <function name="utils_is_desktop_environment"
              c:identifier="as_utils_is_desktop_environment"
              version="0.10.0">
      <doc xml:space="preserve"
           filename="../src/as-utils.c"
           line="949">Searches the known list of desktop environments AppStream
knows about.</doc>
      <source-position filename="../src/as-utils.h" line="39"/>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve"
             filename="../src/as-utils.c"
             line="956">%TRUE if the desktop-id is valid</doc>
        <type name="gboolean" c:type="gboolean"/>
      </return-value>
      <parameters>
        <parameter name="desktop" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-utils.c"
               line="951">a desktop environment id.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
      </parameters>
    </function>
    <function name="utils_is_tld"
              c:identifier="as_utils_is_tld"
              version="0.9.8">
      <doc xml:space="preserve"
           filename="../src/as-utils.c"
           line="921">Searches the known list of TLDs we allow for AppStream IDs.
This excludes internationalized names.</doc>
      <source-position filename="../src/as-utils.h" line="38"/>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve"
             filename="../src/as-utils.c"
             line="928">%TRUE if the TLD is valid</doc>
        <type name="gboolean" c:type="gboolean"/>
      </return-value>
      <parameters>
        <parameter name="tld" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-utils.c"
               line="923">a top-level domain without dot, e.g. "de", "org", "name"</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
      </parameters>
    </function>
    <function name="utils_locale_is_compatible"
              c:identifier="as_utils_locale_is_compatible"
              version="0.9.5">
      <doc xml:space="preserve"
           filename="../src/as-utils.c"
           line="816">Calculates if one locale is compatible with another.
When doing the calculation the locale and language code is taken into
account if possible.</doc>
      <source-position filename="../src/as-utils.h" line="35"/>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve"
             filename="../src/as-utils.c"
             line="825">%TRUE if the locale is compatible.</doc>
        <type name="gboolean" c:type="gboolean"/>
      </return-value>
      <parameters>
        <parameter name="locale1" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-utils.c"
               line="818">a locale string, or %NULL</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
        <parameter name="locale2" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-utils.c"
               line="819">a locale string, or %NULL</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
      </parameters>
    </function>
    <function name="utils_sort_components_into_categories"
              c:identifier="as_utils_sort_components_into_categories">
      <doc xml:space="preserve"
           filename="../src/as-utils.c"
           line="977">Sorts all components in @cpts into the #AsCategory categories listed in @categories.</doc>
      <source-position filename="../src/as-utils.h" line="41"/>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="cpts" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-utils.c"
               line="979">List of components.</doc>
          <array name="GLib.PtrArray" c:type="GPtrArray*">
            <type name="Component"/>
          </array>
        </parameter>
        <parameter name="categories" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-utils.c"
               line="980">List of categories to sort components into.</doc>
          <array name="GLib.PtrArray" c:type="GPtrArray*">
            <type name="Category"/>
          </array>
        </parameter>
        <parameter name="check_duplicates" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="../src/as-utils.c"
               line="981">Whether to check for duplicates.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </parameter>
      </parameters>
    </function>
  </namespace>
</repository>
