<?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"/>
  <include name="Soup" version="2.4"/>
  <package name="fwupd"/>
  <c:include name="fwupd.h"/>
  <namespace name="Fwupd"
             version="2.0"
             shared-library="libfwupd.so.2"
             c:identifier-prefixes="Fwupd"
             c:symbol-prefixes="fwupd">
    <alias name="DeviceFlags" c:type="FwupdDeviceFlags">
      <doc xml:space="preserve"
           filename="fwupd-enums.h"
           line="67">The device flags.</doc>
      <source-position filename="fwupd-enums.h" line="117"/>
      <type name="guint64" c:type="guint64"/>
    </alias>
    <alias name="ReleaseFlags" c:type="FwupdReleaseFlags">
      <doc xml:space="preserve"
           filename="fwupd-enums.h"
           line="119">The release flags.</doc>
      <source-position filename="fwupd-enums.h" line="139"/>
      <type name="guint64" c:type="guint64"/>
    </alias>
    <class name="Client"
           c:symbol-prefix="client"
           c:type="FwupdClient"
           parent="GObject.Object"
           glib:type-name="FwupdClient"
           glib:get-type="fwupd_client_get_type"
           glib:type-struct="ClientClass">
      <source-position filename="fwupd-client.h" line="41"/>
      <constructor name="new" c:identifier="fwupd_client_new" version="0.7.0">
        <doc xml:space="preserve"
             filename="fwupd-client.c"
             line="1894">Creates a new client.</doc>
        <source-position filename="fwupd-client.h" line="43"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="fwupd-client.c"
               line="1899">a new #FwupdClient</doc>
          <type name="Client" c:type="FwupdClient*"/>
        </return-value>
      </constructor>
      <virtual-method name="changed">
        <source-position filename="fwupd-client.h" line="24"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="client" transfer-ownership="none">
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="device_added">
        <source-position filename="fwupd-client.h" line="27"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="client" transfer-ownership="none">
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="result" transfer-ownership="none">
            <type name="Device" c:type="FwupdDevice*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="device_changed">
        <source-position filename="fwupd-client.h" line="31"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="client" transfer-ownership="none">
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="result" transfer-ownership="none">
            <type name="Device" c:type="FwupdDevice*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="device_removed">
        <source-position filename="fwupd-client.h" line="29"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="client" transfer-ownership="none">
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="result" transfer-ownership="none">
            <type name="Device" c:type="FwupdDevice*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="status_changed">
        <source-position filename="fwupd-client.h" line="25"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="client" transfer-ownership="none">
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="status" transfer-ownership="none">
            <type name="Status" c:type="FwupdStatus"/>
          </parameter>
        </parameters>
      </virtual-method>
      <method name="activate"
              c:identifier="fwupd_client_activate"
              version="1.2.6"
              throws="1">
        <doc xml:space="preserve"
             filename="fwupd-client.c"
             line="646">Activates up a device, which normally means the device switches to a new
firmware verson. This should only be called when data loss cannot occur.</doc>
        <source-position filename="fwupd-client.h" line="81"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="fwupd-client.c"
               line="656">%TRUE for success</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="client" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-client.c"
                 line="648">A #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="fwupd-client.c"
                 line="649">the #GCancellable, or %NULL</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
          <parameter name="device_id" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-client.c"
                 line="650">a device</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="clear_results"
              c:identifier="fwupd_client_clear_results"
              version="0.7.0"
              throws="1">
        <doc xml:space="preserve"
             filename="fwupd-client.c"
             line="839">Clears the results for a specific device.</doc>
        <source-position filename="fwupd-client.h" line="85"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="fwupd-client.c"
               line="848">%TRUE for success</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="client" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-client.c"
                 line="841">A #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="device_id" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-client.c"
                 line="842">the device ID</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="fwupd-client.c"
                 line="843">the #GCancellable, or %NULL</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
        </parameters>
      </method>
      <method name="connect"
              c:identifier="fwupd_client_connect"
              version="0.7.1"
              throws="1">
        <doc xml:space="preserve"
             filename="fwupd-client.c"
             line="197">Sets up the client ready for use. Most other methods call this
for you, and do you only need to call this if you are just watching
the client.</doc>
        <source-position filename="fwupd-client.h" line="44"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="fwupd-client.c"
               line="207">%TRUE for success</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="client" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-client.c"
                 line="199">A #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="fwupd-client.c"
                 line="200">the #GCancellable, or %NULL</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_approved_firmware"
              c:identifier="fwupd_client_get_approved_firmware"
              version="1.2.6"
              throws="1">
        <doc xml:space="preserve"
             filename="fwupd-client.c"
             line="1367">Gets the list of approved firmware.</doc>
        <source-position filename="fwupd-client.h" line="134"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="fwupd-client.c"
               line="1375">list of remotes, or %NULL</doc>
          <array c:type="gchar**">
            <type name="utf8"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="client" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-client.c"
                 line="1369">A #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="fwupd-client.c"
                 line="1370">the #GCancellable, or %NULL</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_daemon_version"
              c:identifier="fwupd_client_get_daemon_version"
              version="0.9.6">
        <doc xml:space="preserve"
             filename="fwupd-client.c"
             line="1168">Gets the daemon version number.</doc>
        <source-position filename="fwupd-client.h" line="124"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="fwupd-client.c"
               line="1174">a string, or %NULL for unknown.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="client" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-client.c"
                 line="1170">A #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_details"
              c:identifier="fwupd_client_get_details"
              version="1.0.0"
              throws="1">
        <doc xml:space="preserve"
             filename="fwupd-client.c"
             line="1068">Gets details about a specific firmware file.</doc>
        <source-position filename="fwupd-client.h" line="65"/>
        <return-value transfer-ownership="container">
          <doc xml:space="preserve"
               filename="fwupd-client.c"
               line="1077">an array of results</doc>
          <array name="GLib.PtrArray" c:type="GPtrArray*">
            <type name="Device"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="client" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-client.c"
                 line="1070">A #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="filename" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-client.c"
                 line="1071">the firmware filename, e.g. `firmware.cab`</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="fwupd-client.c"
                 line="1072">the #GCancellable, or %NULL</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_device_by_id"
              c:identifier="fwupd_client_get_device_by_id"
              version="0.9.3"
              throws="1">
        <doc xml:space="preserve"
             filename="fwupd-client.c"
             line="454">Gets a device by it's device ID.</doc>
        <source-position filename="fwupd-client.h" line="93"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="fwupd-client.c"
               line="463">a #FwupdDevice or %NULL</doc>
          <type name="Device" c:type="FwupdDevice*"/>
        </return-value>
        <parameters>
          <instance-parameter name="client" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-client.c"
                 line="456">A #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="device_id" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-client.c"
                 line="457">the device ID, e.g. `usb:00:01:03:03`</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="fwupd-client.c"
                 line="458">the #GCancellable, or %NULL</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_devices"
              c:identifier="fwupd_client_get_devices"
              version="0.9.2"
              throws="1">
        <doc xml:space="preserve"
             filename="fwupd-client.c"
             line="370">Gets all the devices registered with the daemon.</doc>
        <source-position filename="fwupd-client.h" line="47"/>
        <return-value transfer-ownership="container">
          <doc xml:space="preserve"
               filename="fwupd-client.c"
               line="378">results</doc>
          <array name="GLib.PtrArray" c:type="GPtrArray*">
            <type name="Device"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="client" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-client.c"
                 line="372">A #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="fwupd-client.c"
                 line="373">the #GCancellable, or %NULL</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_downgrades"
              c:identifier="fwupd_client_get_downgrades"
              version="0.9.8"
              throws="1">
        <doc xml:space="preserve"
             filename="fwupd-client.c"
             line="543">Gets all the downgrades for a specific device.</doc>
        <source-position filename="fwupd-client.h" line="57"/>
        <return-value transfer-ownership="container">
          <doc xml:space="preserve"
               filename="fwupd-client.c"
               line="552">results</doc>
          <array name="GLib.PtrArray" c:type="GPtrArray*">
            <type name="Release"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="client" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-client.c"
                 line="545">A #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="device_id" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-client.c"
                 line="546">the device ID</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="fwupd-client.c"
                 line="547">the #GCancellable, or %NULL</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_history"
              c:identifier="fwupd_client_get_history"
              version="1.0.4"
              throws="1">
        <doc xml:space="preserve"
             filename="fwupd-client.c"
             line="412">Gets all the history.</doc>
        <source-position filename="fwupd-client.h" line="50"/>
        <return-value transfer-ownership="container">
          <doc xml:space="preserve"
               filename="fwupd-client.c"
               line="420">results</doc>
          <array name="GLib.PtrArray" c:type="GPtrArray*">
            <type name="Device"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="client" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-client.c"
                 line="414">A #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="fwupd-client.c"
                 line="415">the #GCancellable, or %NULL</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_percentage"
              c:identifier="fwupd_client_get_percentage"
              version="0.7.3">
        <doc xml:space="preserve"
             filename="fwupd-client.c"
             line="1150">Gets the last returned percentage value.</doc>
        <source-position filename="fwupd-client.h" line="123"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="fwupd-client.c"
               line="1156">a percentage, or 0 for unknown.</doc>
          <type name="guint" c:type="guint"/>
        </return-value>
        <parameters>
          <instance-parameter name="client" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-client.c"
                 line="1152">A #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_releases"
              c:identifier="fwupd_client_get_releases"
              version="0.9.3"
              throws="1">
        <doc xml:space="preserve"
             filename="fwupd-client.c"
             line="498">Gets all the releases for a specific device</doc>
        <source-position filename="fwupd-client.h" line="53"/>
        <return-value transfer-ownership="container">
          <doc xml:space="preserve"
               filename="fwupd-client.c"
               line="507">results</doc>
          <array name="GLib.PtrArray" c:type="GPtrArray*">
            <type name="Release"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="client" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-client.c"
                 line="500">A #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="device_id" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-client.c"
                 line="501">the device ID</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="fwupd-client.c"
                 line="502">the #GCancellable, or %NULL</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_remote_by_id"
              c:identifier="fwupd_client_get_remote_by_id"
              version="0.9.3"
              throws="1">
        <doc xml:space="preserve"
             filename="fwupd-client.c"
             line="1643">Gets a specific remote that has been configured for the system.</doc>
        <source-position filename="fwupd-client.h" line="129"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="fwupd-client.c"
               line="1652">a #FwupdRemote, or %NULL if not found</doc>
          <type name="Remote" c:type="FwupdRemote*"/>
        </return-value>
        <parameters>
          <instance-parameter name="client" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-client.c"
                 line="1645">A #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="remote_id" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-client.c"
                 line="1646">the remote ID, e.g. `lvfs-testing`</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="fwupd-client.c"
                 line="1647">the #GCancellable, or %NULL</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_remotes"
              c:identifier="fwupd_client_get_remotes"
              version="0.9.3"
              throws="1">
        <doc xml:space="preserve"
             filename="fwupd-client.c"
             line="1325">Gets the list of remotes that have been configured for the system.</doc>
        <source-position filename="fwupd-client.h" line="126"/>
        <return-value transfer-ownership="container">
          <doc xml:space="preserve"
               filename="fwupd-client.c"
               line="1333">list of remotes, or %NULL</doc>
          <array name="GLib.PtrArray" c:type="GPtrArray*">
            <type name="Remote"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="client" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-client.c"
                 line="1327">A #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="fwupd-client.c"
                 line="1328">the #GCancellable, or %NULL</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_results"
              c:identifier="fwupd_client_get_results"
              version="0.7.0"
              throws="1">
        <doc xml:space="preserve"
             filename="fwupd-client.c"
             line="887">Gets the results of a previous firmware update for a specific device.</doc>
        <source-position filename="fwupd-client.h" line="89"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="fwupd-client.c"
               line="896">a #FwupdDevice, or %NULL for failure</doc>
          <type name="Device" c:type="FwupdDevice*"/>
        </return-value>
        <parameters>
          <instance-parameter name="client" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-client.c"
                 line="889">A #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="device_id" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-client.c"
                 line="890">the device ID</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="fwupd-client.c"
                 line="891">the #GCancellable, or %NULL</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_status"
              c:identifier="fwupd_client_get_status"
              version="0.7.3">
        <doc xml:space="preserve"
             filename="fwupd-client.c"
             line="1186">Gets the last returned status value.</doc>
        <source-position filename="fwupd-client.h" line="121"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="fwupd-client.c"
               line="1192">a #FwupdStatus, or %FWUPD_STATUS_UNKNOWN for unknown.</doc>
          <type name="Status" c:type="FwupdStatus"/>
        </return-value>
        <parameters>
          <instance-parameter name="client" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-client.c"
                 line="1188">A #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_tainted"
              c:identifier="fwupd_client_get_tainted"
              version="1.2.4">
        <doc xml:space="preserve"
             filename="fwupd-client.c"
             line="1204">Gets if the daemon has been tainted by 3rd party code.</doc>
        <source-position filename="fwupd-client.h" line="122"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="fwupd-client.c"
               line="1210">%TRUE if the daemon is unsupported</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="client" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-client.c"
                 line="1206">A #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_upgrades"
              c:identifier="fwupd_client_get_upgrades"
              version="0.9.8"
              throws="1">
        <doc xml:space="preserve"
             filename="fwupd-client.c"
             line="588">Gets all the upgrades for a specific device.</doc>
        <source-position filename="fwupd-client.h" line="61"/>
        <return-value transfer-ownership="container">
          <doc xml:space="preserve"
               filename="fwupd-client.c"
               line="597">results</doc>
          <array name="GLib.PtrArray" c:type="GPtrArray*">
            <type name="Release"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="client" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-client.c"
                 line="590">A #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="device_id" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-client.c"
                 line="591">the device ID</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="fwupd-client.c"
                 line="592">the #GCancellable, or %NULL</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
        </parameters>
      </method>
      <method name="install"
              c:identifier="fwupd_client_install"
              version="0.7.0"
              throws="1">
        <doc xml:space="preserve"
             filename="fwupd-client.c"
             line="954">Install a file onto a specific device.</doc>
        <source-position filename="fwupd-client.h" line="97"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="fwupd-client.c"
               line="965">%TRUE for success</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="client" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-client.c"
                 line="956">A #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="device_id" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-client.c"
                 line="957">the device ID</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="filename" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-client.c"
                 line="958">the filename to install</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="install_flags" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-client.c"
                 line="959">the #FwupdInstallFlags, e.g. %FWUPD_INSTALL_FLAG_ALLOW_REINSTALL</doc>
            <type name="InstallFlags" c:type="FwupdInstallFlags"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="fwupd-client.c"
                 line="960">the #GCancellable, or %NULL</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
        </parameters>
      </method>
      <method name="modify_device"
              c:identifier="fwupd_client_modify_device"
              version="1.0.4"
              throws="1">
        <doc xml:space="preserve"
             filename="fwupd-client.c"
             line="1576">Modifies a device in a specific way. Not all properties on the #FwupdDevice
are settable by the client, and some may have other restrictions on @value.

NOTE: User authentication may be required to complete this action.</doc>
        <source-position filename="fwupd-client.h" line="115"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="fwupd-client.c"
               line="1590">%TRUE for success</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="client" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-client.c"
                 line="1578">A #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="device_id" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-client.c"
                 line="1579">the device ID</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="key" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-client.c"
                 line="1580">the key, e.g. `Flags`</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="value" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-client.c"
                 line="1581">the key, e.g. `reported`</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="fwupd-client.c"
                 line="1582">the #GCancellable, or %NULL</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
        </parameters>
      </method>
      <method name="modify_remote"
              c:identifier="fwupd_client_modify_remote"
              version="0.9.8"
              throws="1">
        <doc xml:space="preserve"
             filename="fwupd-client.c"
             line="1521">Modifies a system remote in a specific way.

NOTE: User authentication may be required to complete this action.</doc>
        <source-position filename="fwupd-client.h" line="109"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="fwupd-client.c"
               line="1534">%TRUE for success</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="client" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-client.c"
                 line="1523">A #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="remote_id" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-client.c"
                 line="1524">the remote ID, e.g. `lvfs-testing`</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="key" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-client.c"
                 line="1525">the key, e.g. `Enabled`</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="value" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-client.c"
                 line="1526">the key, e.g. `true`</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="fwupd-client.c"
                 line="1527">the #GCancellable, or %NULL</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
        </parameters>
      </method>
      <method name="self_sign"
              c:identifier="fwupd_client_self_sign"
              version="1.2.6"
              throws="1">
        <doc xml:space="preserve"
             filename="fwupd-client.c"
             line="1459">Signs the data using the client self-signed certificate.</doc>
        <source-position filename="fwupd-client.h" line="141"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="fwupd-client.c"
               line="1469">%TRUE for success</doc>
          <type name="utf8" c:type="gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="client" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-client.c"
                 line="1461">A #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="value" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-client.c"
                 line="1462">A string to sign, typically a JSON blob</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="flags" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-client.c"
                 line="1463">#FwupdSelfSignFlags, e.g. %FWUPD_SELF_SIGN_FLAG_ADD_TIMESTAMP</doc>
            <type name="SelfSignFlags" c:type="FwupdSelfSignFlags"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="fwupd-client.c"
                 line="1464">the #GCancellable, or %NULL</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_approved_firmware"
              c:identifier="fwupd_client_set_approved_firmware"
              version="1.2.6"
              throws="1">
        <doc xml:space="preserve"
             filename="fwupd-client.c"
             line="1413">Sets the list of approved firmware.</doc>
        <source-position filename="fwupd-client.h" line="137"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="fwupd-client.c"
               line="1422">%TRUE for success</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="client" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-client.c"
                 line="1415">A #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="checksums" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-client.c"
                 line="1416">Array of checksums</doc>
            <type name="utf8" c:type="gchar**"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="fwupd-client.c"
                 line="1417">the #GCancellable, or %NULL</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
        </parameters>
      </method>
      <method name="unlock"
              c:identifier="fwupd_client_unlock"
              version="0.7.0"
              throws="1">
        <doc xml:space="preserve"
             filename="fwupd-client.c"
             line="791">Unlocks a specific device so firmware can be read or wrote.</doc>
        <source-position filename="fwupd-client.h" line="77"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="fwupd-client.c"
               line="800">%TRUE for success</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="client" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-client.c"
                 line="793">A #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="device_id" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-client.c"
                 line="794">the device ID</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="fwupd-client.c"
                 line="795">the #GCancellable, or %NULL</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
        </parameters>
      </method>
      <method name="update_metadata"
              c:identifier="fwupd_client_update_metadata"
              version="1.0.0"
              throws="1">
        <doc xml:space="preserve"
             filename="fwupd-client.c"
             line="1222">Updates the metadata. This allows a session process to download the metadata
and metadata signing file to be passed into the daemon to be checked and
parsed.

The @remote_id allows the firmware to be tagged so that the remote can be
matched when the firmware is downloaded.</doc>
        <source-position filename="fwupd-client.h" line="103"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="fwupd-client.c"
               line="1238">%TRUE for success</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="client" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-client.c"
                 line="1224">A #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="remote_id" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-client.c"
                 line="1225">the remote ID, e.g. `lvfs-testing`</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="metadata_fn" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-client.c"
                 line="1226">the XML metadata filename</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="signature_fn" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-client.c"
                 line="1227">the GPG signature file</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="fwupd-client.c"
                 line="1228">the #GCancellable, or %NULL</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
        </parameters>
      </method>
      <method name="verify"
              c:identifier="fwupd_client_verify"
              version="0.7.0"
              throws="1">
        <doc xml:space="preserve"
             filename="fwupd-client.c"
             line="695">Verify a specific device.</doc>
        <source-position filename="fwupd-client.h" line="69"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="fwupd-client.c"
               line="704">%TRUE for verification success</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="client" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-client.c"
                 line="697">A #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="device_id" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-client.c"
                 line="698">the device ID</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="fwupd-client.c"
                 line="699">the #GCancellable, or %NULL</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
        </parameters>
      </method>
      <method name="verify_update"
              c:identifier="fwupd_client_verify_update"
              version="0.8.0"
              throws="1">
        <doc xml:space="preserve"
             filename="fwupd-client.c"
             line="743">Update the verification record for a specific device.</doc>
        <source-position filename="fwupd-client.h" line="73"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="fwupd-client.c"
               line="752">%TRUE for verification success</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="client" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-client.c"
                 line="745">A #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="device_id" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-client.c"
                 line="746">the device ID</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="fwupd-client.c"
                 line="747">the #GCancellable, or %NULL</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
        </parameters>
      </method>
      <property name="daemon-version"
                version="0.9.6"
                transfer-ownership="none">
        <doc xml:space="preserve"
             filename="fwupd-client.c"
             line="1862">The daemon version number.</doc>
        <type name="utf8" c:type="gchar*"/>
      </property>
      <property name="percentage"
                version="0.7.3"
                writable="1"
                transfer-ownership="none">
        <doc xml:space="preserve"
             filename="fwupd-client.c"
             line="1850">The last-reported percentage of the daemon.</doc>
        <type name="guint" c:type="guint"/>
      </property>
      <property name="status"
                version="0.7.0"
                writable="1"
                transfer-ownership="none">
        <doc xml:space="preserve"
             filename="fwupd-client.c"
             line="1827">The last-reported status of the daemon.</doc>
        <type name="guint" c:type="guint"/>
      </property>
      <property name="tainted" version="1.2.4" transfer-ownership="none">
        <doc xml:space="preserve"
             filename="fwupd-client.c"
             line="1839">If the daemon is tainted by 3rd party code.</doc>
        <type name="gboolean" c:type="gboolean"/>
      </property>
      <field name="parent_instance">
        <type name="GObject.Object" c:type="GObject"/>
      </field>
      <glib:signal name="changed" when="last" version="0.7.0">
        <doc xml:space="preserve"
             filename="fwupd-client.c"
             line="1743">The ::changed signal is emitted when the daemon internal has
changed, for instance when a device has been added or removed.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
      </glib:signal>
      <glib:signal name="device-added" when="last" version="0.7.1">
        <doc xml:space="preserve"
             filename="fwupd-client.c"
             line="1776">The ::device-added signal is emitted when a device has been
added.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="result" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-client.c"
                 line="1779">the #FwupdDevice</doc>
            <type name="Device"/>
          </parameter>
        </parameters>
      </glib:signal>
      <glib:signal name="device-changed" when="last" version="0.7.1">
        <doc xml:space="preserve"
             filename="fwupd-client.c"
             line="1810">The ::device-changed signal is emitted when a device has been
changed in some way, e.g. the version number is updated.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="result" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-client.c"
                 line="1813">the #FwupdDevice</doc>
            <type name="Device"/>
          </parameter>
        </parameters>
      </glib:signal>
      <glib:signal name="device-removed" when="last" version="0.7.1">
        <doc xml:space="preserve"
             filename="fwupd-client.c"
             line="1793">The ::device-removed signal is emitted when a device has been
removed.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="result" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-client.c"
                 line="1796">the #FwupdDevice</doc>
            <type name="Device"/>
          </parameter>
        </parameters>
      </glib:signal>
      <glib:signal name="status-changed" when="last">
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="object" transfer-ownership="none">
            <type name="guint" c:type="guint"/>
          </parameter>
        </parameters>
      </glib:signal>
    </class>
    <record name="ClientClass"
            c:type="FwupdClientClass"
            glib:is-gtype-struct-for="Client">
      <source-position filename="fwupd-client.h" line="41"/>
      <field name="parent_class">
        <type name="GObject.ObjectClass" c:type="GObjectClass"/>
      </field>
      <field name="changed">
        <callback name="changed">
          <source-position filename="fwupd-client.h" line="24"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="client" transfer-ownership="none">
              <type name="Client" c:type="FwupdClient*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="status_changed">
        <callback name="status_changed">
          <source-position filename="fwupd-client.h" line="25"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="client" transfer-ownership="none">
              <type name="Client" c:type="FwupdClient*"/>
            </parameter>
            <parameter name="status" transfer-ownership="none">
              <type name="Status" c:type="FwupdStatus"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="device_added">
        <callback name="device_added">
          <source-position filename="fwupd-client.h" line="27"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="client" transfer-ownership="none">
              <type name="Client" c:type="FwupdClient*"/>
            </parameter>
            <parameter name="result" transfer-ownership="none">
              <type name="Device" c:type="FwupdDevice*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="device_removed">
        <callback name="device_removed">
          <source-position filename="fwupd-client.h" line="29"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="client" transfer-ownership="none">
              <type name="Client" c:type="FwupdClient*"/>
            </parameter>
            <parameter name="result" transfer-ownership="none">
              <type name="Device" c:type="FwupdDevice*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="device_changed">
        <callback name="device_changed">
          <source-position filename="fwupd-client.h" line="31"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="client" transfer-ownership="none">
              <type name="Client" c:type="FwupdClient*"/>
            </parameter>
            <parameter name="result" transfer-ownership="none">
              <type name="Device" c:type="FwupdDevice*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="_fwupd_reserved1" introspectable="0">
        <callback name="_fwupd_reserved1">
          <source-position filename="fwupd-client.h" line="34"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_fwupd_reserved2" introspectable="0">
        <callback name="_fwupd_reserved2">
          <source-position filename="fwupd-client.h" line="35"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_fwupd_reserved3" introspectable="0">
        <callback name="_fwupd_reserved3">
          <source-position filename="fwupd-client.h" line="36"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_fwupd_reserved4" introspectable="0">
        <callback name="_fwupd_reserved4">
          <source-position filename="fwupd-client.h" line="37"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_fwupd_reserved5" introspectable="0">
        <callback name="_fwupd_reserved5">
          <source-position filename="fwupd-client.h" line="38"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_fwupd_reserved6" introspectable="0">
        <callback name="_fwupd_reserved6">
          <source-position filename="fwupd-client.h" line="39"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_fwupd_reserved7" introspectable="0">
        <callback name="_fwupd_reserved7">
          <source-position filename="fwupd-client.h" line="40"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
    </record>
    <constant name="DBUS_INTERFACE"
              value="org.freedesktop.fwupd"
              c:type="FWUPD_DBUS_INTERFACE">
      <source-position filename="fwupd-common.h" line="15"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="DBUS_PATH" value="/" c:type="FWUPD_DBUS_PATH">
      <source-position filename="fwupd-common.h" line="13"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="DBUS_SERVICE"
              value="org.freedesktop.fwupd"
              c:type="FWUPD_DBUS_SERVICE">
      <source-position filename="fwupd-common.h" line="14"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="DEVICE_FLAG_ANOTHER_WRITE_REQUIRED"
              value="262144"
              c:type="FWUPD_DEVICE_FLAG_ANOTHER_WRITE_REQUIRED">
      <source-position filename="fwupd-enums.h" line="113"/>
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="DEVICE_FLAG_IGNORE_VALIDATION"
              value="32768"
              c:type="FWUPD_DEVICE_FLAG_IGNORE_VALIDATION">
      <source-position filename="fwupd-enums.h" line="110"/>
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="DEVICE_FLAG_INSTALL_PARENT_FIRST"
              value="4096"
              c:type="FWUPD_DEVICE_FLAG_INSTALL_PARENT_FIRST">
      <source-position filename="fwupd-enums.h" line="107"/>
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="DEVICE_FLAG_INTERNAL"
              value="1"
              c:type="FWUPD_DEVICE_FLAG_INTERNAL">
      <source-position filename="fwupd-enums.h" line="95"/>
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="DEVICE_FLAG_IS_BOOTLOADER"
              value="8192"
              c:type="FWUPD_DEVICE_FLAG_IS_BOOTLOADER">
      <source-position filename="fwupd-enums.h" line="108"/>
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="DEVICE_FLAG_LOCKED"
              value="16"
              c:type="FWUPD_DEVICE_FLAG_LOCKED">
      <source-position filename="fwupd-enums.h" line="99"/>
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="DEVICE_FLAG_NEEDS_ACTIVATION"
              value="1048576"
              c:type="FWUPD_DEVICE_FLAG_NEEDS_ACTIVATION">
      <source-position filename="fwupd-enums.h" line="115"/>
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="DEVICE_FLAG_NEEDS_BOOTLOADER"
              value="64"
              c:type="FWUPD_DEVICE_FLAG_NEEDS_BOOTLOADER">
      <source-position filename="fwupd-enums.h" line="101"/>
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="DEVICE_FLAG_NEEDS_REBOOT"
              value="256"
              c:type="FWUPD_DEVICE_FLAG_NEEDS_REBOOT">
      <source-position filename="fwupd-enums.h" line="103"/>
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="DEVICE_FLAG_NEEDS_SHUTDOWN"
              value="131072"
              c:type="FWUPD_DEVICE_FLAG_NEEDS_SHUTDOWN">
      <source-position filename="fwupd-enums.h" line="112"/>
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="DEVICE_FLAG_NONE"
              value="0"
              c:type="FWUPD_DEVICE_FLAG_NONE">
      <source-position filename="fwupd-enums.h" line="94"/>
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="DEVICE_FLAG_NOTIFIED"
              value="1024"
              c:type="FWUPD_DEVICE_FLAG_NOTIFIED">
      <source-position filename="fwupd-enums.h" line="105"/>
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="DEVICE_FLAG_NO_AUTO_INSTANCE_IDS"
              value="524288"
              c:type="FWUPD_DEVICE_FLAG_NO_AUTO_INSTANCE_IDS">
      <source-position filename="fwupd-enums.h" line="114"/>
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="DEVICE_FLAG_ONLY_OFFLINE"
              value="4"
              c:type="FWUPD_DEVICE_FLAG_ONLY_OFFLINE">
      <source-position filename="fwupd-enums.h" line="97"/>
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="DEVICE_FLAG_REGISTERED"
              value="128"
              c:type="FWUPD_DEVICE_FLAG_REGISTERED">
      <source-position filename="fwupd-enums.h" line="102"/>
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="DEVICE_FLAG_REPORTED"
              value="512"
              c:type="FWUPD_DEVICE_FLAG_REPORTED">
      <source-position filename="fwupd-enums.h" line="104"/>
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="DEVICE_FLAG_REQUIRE_AC"
              value="8"
              c:type="FWUPD_DEVICE_FLAG_REQUIRE_AC">
      <source-position filename="fwupd-enums.h" line="98"/>
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="DEVICE_FLAG_SUPPORTED"
              value="32"
              c:type="FWUPD_DEVICE_FLAG_SUPPORTED">
      <source-position filename="fwupd-enums.h" line="100"/>
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="DEVICE_FLAG_TRUSTED"
              value="65536"
              c:type="FWUPD_DEVICE_FLAG_TRUSTED">
      <source-position filename="fwupd-enums.h" line="111"/>
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="DEVICE_FLAG_UPDATABLE"
              value="2"
              c:type="FWUPD_DEVICE_FLAG_UPDATABLE">
      <source-position filename="fwupd-enums.h" line="96"/>
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="DEVICE_FLAG_USE_RUNTIME_VERSION"
              value="2048"
              c:type="FWUPD_DEVICE_FLAG_USE_RUNTIME_VERSION">
      <source-position filename="fwupd-enums.h" line="106"/>
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="DEVICE_FLAG_WAIT_FOR_REPLUG"
              value="16384"
              c:type="FWUPD_DEVICE_FLAG_WAIT_FOR_REPLUG">
      <source-position filename="fwupd-enums.h" line="109"/>
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="DEVICE_ID_ANY" value="*" c:type="FWUPD_DEVICE_ID_ANY">
      <source-position filename="fwupd-common.h" line="17"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <class name="Device"
           c:symbol-prefix="device"
           c:type="FwupdDevice"
           parent="GObject.Object"
           glib:type-name="FwupdDevice"
           glib:get-type="fwupd_device_get_type"
           glib:type-struct="DeviceClass">
      <source-position filename="fwupd-device.h" line="30"/>
      <constructor name="new" c:identifier="fwupd_device_new" version="0.9.3">
        <doc xml:space="preserve"
             filename="fwupd-device.c"
             line="1923">Creates a new device.</doc>
        <source-position filename="fwupd-device.h" line="32"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="fwupd-device.c"
               line="1928">a new #FwupdDevice</doc>
          <type name="Device" c:type="FwupdDevice*"/>
        </return-value>
      </constructor>
      <function name="flag_from_string"
                c:identifier="fwupd_device_flag_from_string"
                version="0.7.0">
        <doc xml:space="preserve"
             filename="fwupd-enums.c"
             line="169">Converts a string to a #FwupdDeviceFlags.</doc>
        <source-position filename="fwupd-enums.h" line="220"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="fwupd-enums.c"
               line="175">enumerated value</doc>
          <type name="DeviceFlags" c:type="FwupdDeviceFlags"/>
        </return-value>
        <parameters>
          <parameter name="device_flag" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-enums.c"
                 line="171">A string, e.g. `require-ac`</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </function>
      <function name="flag_to_string"
                c:identifier="fwupd_device_flag_to_string"
                version="0.7.0">
        <doc xml:space="preserve"
             filename="fwupd-enums.c"
             line="109">Converts a #FwupdDeviceFlags to a string.</doc>
        <source-position filename="fwupd-enums.h" line="219"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="fwupd-enums.c"
               line="115">identifier string</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <parameter name="device_flag" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-enums.c"
                 line="111">A #FwupdDeviceFlags, e.g. %FWUPD_DEVICE_FLAG_REQUIRE_AC</doc>
            <type name="DeviceFlags" c:type="FwupdDeviceFlags"/>
          </parameter>
        </parameters>
      </function>
      <function name="from_variant"
                c:identifier="fwupd_device_from_variant"
                version="1.0.0">
        <doc xml:space="preserve"
             filename="fwupd-device.c"
             line="1869">Creates a new device using packed data.</doc>
        <source-position filename="fwupd-device-private.h" line="16"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="fwupd-device.c"
               line="1875">a new #FwupdDevice, or %NULL if @data was invalid</doc>
          <type name="Device" c:type="FwupdDevice*"/>
        </return-value>
        <parameters>
          <parameter name="data" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-device.c"
                 line="1871">a #GVariant</doc>
            <type name="GLib.Variant" c:type="GVariant*"/>
          </parameter>
        </parameters>
      </function>
      <method name="add_checksum"
              c:identifier="fwupd_device_add_checksum"
              version="0.9.3">
        <doc xml:space="preserve"
             filename="fwupd-device.c"
             line="81">Sets the device checksum.</doc>
        <source-position filename="fwupd-device.h" line="87"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="device" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-device.c"
                 line="83">A #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
          <parameter name="checksum" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-device.c"
                 line="84">the device checksum</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="add_flag"
              c:identifier="fwupd_device_add_flag"
              version="0.9.3">
        <doc xml:space="preserve"
             filename="fwupd-device.c"
             line="874">Adds a specific device flag to the device.</doc>
        <source-position filename="fwupd-device.h" line="74"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="device" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-device.c"
                 line="876">A #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
          <parameter name="flag" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-device.c"
                 line="877">the #FwupdDeviceFlags</doc>
            <type name="DeviceFlags" c:type="FwupdDeviceFlags"/>
          </parameter>
        </parameters>
      </method>
      <method name="add_guid"
              c:identifier="fwupd_device_add_guid"
              version="0.9.3">
        <doc xml:space="preserve"
             filename="fwupd-device.c"
             line="327">Adds the GUID if it does not already exist.</doc>
        <source-position filename="fwupd-device.h" line="98"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="device" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-device.c"
                 line="329">A #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
          <parameter name="guid" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-device.c"
                 line="330">the GUID, e.g. `2082b5e0-7a64-478a-b1b2-e3404fab6dad`</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="add_icon"
              c:identifier="fwupd_device_add_icon"
              version="0.9.8">
        <doc xml:space="preserve"
             filename="fwupd-device.c"
             line="462">Adds the icon name if it does not already exist.</doc>
        <source-position filename="fwupd-device.h" line="109"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="device" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-device.c"
                 line="464">A #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
          <parameter name="icon" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-device.c"
                 line="465">the name, e.g. `input-mouse` or `/usr/share/icons/foo.png`</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="add_instance_id"
              c:identifier="fwupd_device_add_instance_id"
              version="1.2.5">
        <doc xml:space="preserve"
             filename="fwupd-device.c"
             line="410">Adds the InstanceID if it does not already exist.</doc>
        <source-position filename="fwupd-device.h" line="104"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="device" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-device.c"
                 line="412">A #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
          <parameter name="instance_id" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-device.c"
                 line="413">the GUID, e.g. `PCI\VEN_10EC&amp;DEV_525A`</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="add_release"
              c:identifier="fwupd_device_add_release"
              version="0.9.8">
        <doc xml:space="preserve"
             filename="fwupd-device.c"
             line="1590">Adds a release for this device.</doc>
        <source-position filename="fwupd-device.h" line="122"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="device" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-device.c"
                 line="1592">A #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
          <parameter name="release" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-device.c"
                 line="1593">a #FwupdRelease</doc>
            <type name="Release" c:type="FwupdRelease*"/>
          </parameter>
        </parameters>
      </method>
      <method name="compare"
              c:identifier="fwupd_device_compare"
              version="1.1.1">
        <doc xml:space="preserve"
             filename="fwupd-device.c"
             line="1902">Comparison function for comparing two FwupdDevice objects.</doc>
        <source-position filename="fwupd-device.h" line="126"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="fwupd-device.c"
               line="1909">negative, 0 or positive</doc>
          <type name="gint" c:type="gint"/>
        </return-value>
        <parameters>
          <instance-parameter name="device1" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-device.c"
                 line="1904">a #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
          <parameter name="device2" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-device.c"
                 line="1905">a #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_checksums"
              c:identifier="fwupd_device_get_checksums"
              version="0.9.3">
        <doc xml:space="preserve"
             filename="fwupd-device.c"
             line="63">Gets the device checksums.</doc>
        <source-position filename="fwupd-device.h" line="86"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="fwupd-device.c"
               line="69">the checksums, which may be empty</doc>
          <array name="GLib.PtrArray" c:type="GPtrArray*">
            <type name="utf8"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="device" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-device.c"
                 line="65">A #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_created"
              c:identifier="fwupd_device_get_created"
              version="0.9.3">
        <doc xml:space="preserve"
             filename="fwupd-device.c"
             line="927">Gets when the device was created.</doc>
        <source-position filename="fwupd-device.h" line="80"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="fwupd-device.c"
               line="933">the UNIX time, or 0 if unset</doc>
          <type name="guint64" c:type="guint64"/>
        </return-value>
        <parameters>
          <instance-parameter name="device" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-device.c"
                 line="929">A #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_description"
              c:identifier="fwupd_device_get_description"
              version="0.9.3">
        <doc xml:space="preserve"
             filename="fwupd-device.c"
             line="589">Gets the device description in AppStream markup format.</doc>
        <source-position filename="fwupd-device.h" line="53"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="fwupd-device.c"
               line="595">the device description, or %NULL if unset</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="device" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-device.c"
                 line="591">A #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_flags"
              c:identifier="fwupd_device_get_flags"
              version="0.9.3">
        <doc xml:space="preserve"
             filename="fwupd-device.c"
             line="839">Gets the device flags.</doc>
        <source-position filename="fwupd-device.h" line="71"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="fwupd-device.c"
               line="845">the device flags, or 0 if unset</doc>
          <type name="guint64" c:type="guint64"/>
        </return-value>
        <parameters>
          <instance-parameter name="device" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-device.c"
                 line="841">A #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_flashes_left"
              c:identifier="fwupd_device_get_flashes_left"
              version="0.9.3">
        <doc xml:space="preserve"
             filename="fwupd-device.c"
             line="733">Gets the number of flash cycles left on the device</doc>
        <source-position filename="fwupd-device.h" line="65"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="fwupd-device.c"
               line="739">the flash cycles left, or %NULL if unset</doc>
          <type name="guint32" c:type="guint32"/>
        </return-value>
        <parameters>
          <instance-parameter name="device" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-device.c"
                 line="735">A #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_guid_default"
              c:identifier="fwupd_device_get_guid_default"
              version="0.9.3">
        <doc xml:space="preserve"
             filename="fwupd-device.c"
             line="346">Gets the default GUID.</doc>
        <source-position filename="fwupd-device.h" line="103"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="fwupd-device.c"
               line="352">the GUID, or %NULL if unset</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="device" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-device.c"
                 line="348">A #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_guids"
              c:identifier="fwupd_device_get_guids"
              version="0.9.3">
        <doc xml:space="preserve"
             filename="fwupd-device.c"
             line="283">Gets the GUIDs.</doc>
        <source-position filename="fwupd-device.h" line="102"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="fwupd-device.c"
               line="289">the GUIDs</doc>
          <array name="GLib.PtrArray" c:type="GPtrArray*">
            <type name="utf8"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="device" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-device.c"
                 line="285">A #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_icons"
              c:identifier="fwupd_device_get_icons"
              version="0.9.8">
        <doc xml:space="preserve"
             filename="fwupd-device.c"
             line="429">Gets the icon names to use for the device.

NOTE: Icons specified without a full path are stock icons and should
be loaded from the users icon theme.</doc>
        <source-position filename="fwupd-device.h" line="111"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="fwupd-device.c"
               line="438">an array of icon names</doc>
          <array name="GLib.PtrArray" c:type="GPtrArray*">
            <type name="utf8"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="device" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-device.c"
                 line="431">A #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_id" c:identifier="fwupd_device_get_id" version="0.9.3">
        <doc xml:space="preserve"
             filename="fwupd-device.c"
             line="176">Gets the ID.</doc>
        <source-position filename="fwupd-device.h" line="35"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="fwupd-device.c"
               line="182">the ID, or %NULL if unset</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="device" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-device.c"
                 line="178">A #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_install_duration"
              c:identifier="fwupd_device_get_install_duration"
              version="1.1.3">
        <doc xml:space="preserve"
             filename="fwupd-device.c"
             line="768">Gets the time estimate for firmware installation (in seconds)</doc>
        <source-position filename="fwupd-device.h" line="68"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="fwupd-device.c"
               line="774">the estimated time to flash this device (or 0 if unset)</doc>
          <type name="guint32" c:type="guint32"/>
        </return-value>
        <parameters>
          <instance-parameter name="device" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-device.c"
                 line="770">A #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_instance_ids"
              c:identifier="fwupd_device_get_instance_ids"
              version="1.2.5">
        <doc xml:space="preserve"
             filename="fwupd-device.c"
             line="366">Gets the InstanceIDs.</doc>
        <source-position filename="fwupd-device.h" line="108"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="fwupd-device.c"
               line="372">the InstanceID</doc>
          <array name="GLib.PtrArray" c:type="GPtrArray*">
            <type name="utf8"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="device" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-device.c"
                 line="368">A #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_modified"
              c:identifier="fwupd_device_get_modified"
              version="0.9.3">
        <doc xml:space="preserve"
             filename="fwupd-device.c"
             line="963">Gets when the device was modified.</doc>
        <source-position filename="fwupd-device.h" line="83"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="fwupd-device.c"
               line="969">the UNIX time, or 0 if unset</doc>
          <type name="guint64" c:type="guint64"/>
        </return-value>
        <parameters>
          <instance-parameter name="device" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-device.c"
                 line="965">A #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_name"
              c:identifier="fwupd_device_get_name"
              version="0.9.3">
        <doc xml:space="preserve"
             filename="fwupd-device.c"
             line="481">Gets the device name.</doc>
        <source-position filename="fwupd-device.h" line="44"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="fwupd-device.c"
               line="487">the device name, or %NULL if unset</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="device" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-device.c"
                 line="483">A #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_parent"
              c:identifier="fwupd_device_get_parent"
              version="1.0.8">
        <doc xml:space="preserve"
             filename="fwupd-device.c"
             line="248">Gets the parent.</doc>
        <source-position filename="fwupd-device.h" line="41"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="fwupd-device.c"
               line="254">the parent device, or %NULL if unset</doc>
          <type name="Device" c:type="FwupdDevice*"/>
        </return-value>
        <parameters>
          <instance-parameter name="device" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-device.c"
                 line="250">A #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_parent_id"
              c:identifier="fwupd_device_get_parent_id"
              version="1.0.8">
        <doc xml:space="preserve"
             filename="fwupd-device.c"
             line="212">Gets the ID.</doc>
        <source-position filename="fwupd-device.h" line="38"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="fwupd-device.c"
               line="218">the parent ID, or %NULL if unset</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="device" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-device.c"
                 line="214">A #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_plugin"
              c:identifier="fwupd_device_get_plugin"
              version="1.0.0">
        <doc xml:space="preserve"
             filename="fwupd-device.c"
             line="803">Gets the plugin that created the device.</doc>
        <source-position filename="fwupd-device.h" line="89"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="fwupd-device.c"
               line="809">the plugin name, or %NULL if unset</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="device" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-device.c"
                 line="805">A #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_release_default"
              c:identifier="fwupd_device_get_release_default"
              version="0.9.8">
        <doc xml:space="preserve"
             filename="fwupd-device.c"
             line="1552">Gets the default release for this device.</doc>
        <source-position filename="fwupd-device.h" line="125"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="fwupd-device.c"
               line="1558">the #FwupdRelease, or %NULL if not set</doc>
          <type name="Release" c:type="FwupdRelease*"/>
        </return-value>
        <parameters>
          <instance-parameter name="device" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-device.c"
                 line="1554">A #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_releases"
              c:identifier="fwupd_device_get_releases"
              version="0.9.8">
        <doc xml:space="preserve"
             filename="fwupd-device.c"
             line="1572">Gets all the releases for this device.</doc>
        <source-position filename="fwupd-device.h" line="124"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="fwupd-device.c"
               line="1578">array of releases</doc>
          <array name="GLib.PtrArray" c:type="GPtrArray*">
            <type name="Release"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="device" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-device.c"
                 line="1574">A #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_serial"
              c:identifier="fwupd_device_get_serial"
              version="1.1.2">
        <doc xml:space="preserve"
             filename="fwupd-device.c"
             line="140">Gets the serial number for the device.</doc>
        <source-position filename="fwupd-device.h" line="47"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="fwupd-device.c"
               line="146">a string value, or %NULL if never set.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="device" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-device.c"
                 line="142">A #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_summary"
              c:identifier="fwupd_device_get_summary"
              version="0.9.3">
        <doc xml:space="preserve"
             filename="fwupd-device.c"
             line="104">Gets the device summary.</doc>
        <source-position filename="fwupd-device.h" line="50"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="fwupd-device.c"
               line="110">the device summary, or %NULL if unset</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="device" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-device.c"
                 line="106">A #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_update_error"
              c:identifier="fwupd_device_get_update_error"
              version="0.9.8">
        <doc xml:space="preserve"
             filename="fwupd-device.c"
             line="1516">Gets the update error.</doc>
        <source-position filename="fwupd-device.h" line="116"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="fwupd-device.c"
               line="1522">the update error, or %NULL if unset</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="device" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-device.c"
                 line="1518">A #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_update_message"
              c:identifier="fwupd_device_get_update_message"
              version="1.2.4">
        <doc xml:space="preserve"
             filename="fwupd-device.c"
             line="1480">Gets the update message.</doc>
        <source-position filename="fwupd-device.h" line="119"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="fwupd-device.c"
               line="1486">the update message, or %NULL if unset</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="device" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-device.c"
                 line="1482">A #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_update_state"
              c:identifier="fwupd_device_get_update_state"
              version="0.9.8">
        <doc xml:space="preserve"
             filename="fwupd-device.c"
             line="1445">Gets the update state.</doc>
        <source-position filename="fwupd-device.h" line="113"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="fwupd-device.c"
               line="1451">the update state, or %FWUPD_UPDATE_STATE_UNKNOWN if unset</doc>
          <type name="UpdateState" c:type="FwupdUpdateState"/>
        </return-value>
        <parameters>
          <instance-parameter name="device" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-device.c"
                 line="1447">A #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_vendor"
              c:identifier="fwupd_device_get_vendor"
              version="0.9.3">
        <doc xml:space="preserve"
             filename="fwupd-device.c"
             line="517">Gets the device vendor.</doc>
        <source-position filename="fwupd-device.h" line="92"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="fwupd-device.c"
               line="523">the device vendor, or %NULL if unset</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="device" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-device.c"
                 line="519">A #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_vendor_id"
              c:identifier="fwupd_device_get_vendor_id"
              version="0.9.4">
        <doc xml:space="preserve"
             filename="fwupd-device.c"
             line="553">Gets the device vendor ID.</doc>
        <source-position filename="fwupd-device.h" line="95"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="fwupd-device.c"
               line="559">the device vendor, e.g. 'USB:0x1234', or %NULL if unset</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="device" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-device.c"
                 line="555">A #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_version"
              c:identifier="fwupd_device_get_version"
              version="0.9.3">
        <doc xml:space="preserve"
             filename="fwupd-device.c"
             line="625">Gets the device version.</doc>
        <source-position filename="fwupd-device.h" line="56"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="fwupd-device.c"
               line="631">the device version, or %NULL if unset</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="device" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-device.c"
                 line="627">A #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_version_bootloader"
              c:identifier="fwupd_device_get_version_bootloader"
              version="0.9.3">
        <doc xml:space="preserve"
             filename="fwupd-device.c"
             line="697">Gets the version of the bootloader.</doc>
        <source-position filename="fwupd-device.h" line="62"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="fwupd-device.c"
               line="703">the device version_bootloader, or %NULL if unset</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="device" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-device.c"
                 line="699">A #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_version_lowest"
              c:identifier="fwupd_device_get_version_lowest"
              version="0.9.3">
        <doc xml:space="preserve"
             filename="fwupd-device.c"
             line="661">Gets the lowest version of firmware the device will accept.</doc>
        <source-position filename="fwupd-device.h" line="59"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="fwupd-device.c"
               line="667">the device version_lowest, or %NULL if unset</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="device" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-device.c"
                 line="663">A #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="has_flag"
              c:identifier="fwupd_device_has_flag"
              version="0.9.3">
        <doc xml:space="preserve"
             filename="fwupd-device.c"
             line="908">Finds if the device has a specific device flag.</doc>
        <source-position filename="fwupd-device.h" line="78"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="fwupd-device.c"
               line="915">%TRUE if the flag is set</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="device" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-device.c"
                 line="910">A #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
          <parameter name="flag" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-device.c"
                 line="911">the #FwupdDeviceFlags</doc>
            <type name="DeviceFlags" c:type="FwupdDeviceFlags"/>
          </parameter>
        </parameters>
      </method>
      <method name="has_guid"
              c:identifier="fwupd_device_has_guid"
              version="0.9.3">
        <doc xml:space="preserve"
             filename="fwupd-device.c"
             line="301">Finds out if the device has this specific GUID.</doc>
        <source-position filename="fwupd-device.h" line="100"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="fwupd-device.c"
               line="308">%TRUE if the GUID is found</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="device" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-device.c"
                 line="303">A #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
          <parameter name="guid" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-device.c"
                 line="304">the GUID, e.g. `2082b5e0-7a64-478a-b1b2-e3404fab6dad`</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="has_instance_id"
              c:identifier="fwupd_device_has_instance_id"
              version="1.2.5">
        <doc xml:space="preserve"
             filename="fwupd-device.c"
             line="384">Finds out if the device has this specific InstanceID.</doc>
        <source-position filename="fwupd-device.h" line="106"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="fwupd-device.c"
               line="391">%TRUE if the InstanceID is found</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="device" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-device.c"
                 line="386">A #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
          <parameter name="instance_id" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-device.c"
                 line="387">the InstanceID, e.g. `PCI\VEN_10EC&amp;DEV_525A`</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="incorporate"
              c:identifier="fwupd_device_incorporate"
              version="1.1.0">
        <doc xml:space="preserve"
             filename="fwupd-device.c"
             line="998">Copy all properties from the donor object if they have not already been set.</doc>
        <source-position filename="fwupd-device-private.h" line="20"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-device.c"
                 line="1000">A #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
          <parameter name="donor" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-device.c"
                 line="1001">Another #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </parameter>
        </parameters>
      </method>
      <method name="remove_flag"
              c:identifier="fwupd_device_remove_flag"
              version="0.9.3">
        <doc xml:space="preserve"
             filename="fwupd-device.c"
             line="891">Removes a specific device flag from the device.</doc>
        <source-position filename="fwupd-device.h" line="76"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="device" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-device.c"
                 line="893">A #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
          <parameter name="flag" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-device.c"
                 line="894">the #FwupdDeviceFlags</doc>
            <type name="DeviceFlags" c:type="FwupdDeviceFlags"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_created"
              c:identifier="fwupd_device_set_created"
              version="0.9.3">
        <doc xml:space="preserve"
             filename="fwupd-device.c"
             line="946">Sets when the device was created.</doc>
        <source-position filename="fwupd-device.h" line="81"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="device" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-device.c"
                 line="948">A #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
          <parameter name="created" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-device.c"
                 line="949">the UNIX time</doc>
            <type name="guint64" c:type="guint64"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_description"
              c:identifier="fwupd_device_set_description"
              version="0.9.3">
        <doc xml:space="preserve"
             filename="fwupd-device.c"
             line="607">Sets the device description.</doc>
        <source-position filename="fwupd-device.h" line="54"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="device" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-device.c"
                 line="609">A #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
          <parameter name="description" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-device.c"
                 line="610">the description in AppStream markup format</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_flags"
              c:identifier="fwupd_device_set_flags"
              version="0.9.3">
        <doc xml:space="preserve"
             filename="fwupd-device.c"
             line="857">Sets the device flags.</doc>
        <source-position filename="fwupd-device.h" line="72"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="device" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-device.c"
                 line="859">A #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
          <parameter name="flags" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-device.c"
                 line="860">the device flags, e.g. %FWUPD_DEVICE_FLAG_REQUIRE_AC</doc>
            <type name="guint64" c:type="guint64"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_flashes_left"
              c:identifier="fwupd_device_set_flashes_left"
              version="0.9.3">
        <doc xml:space="preserve"
             filename="fwupd-device.c"
             line="751">Sets the number of flash cycles left on the device</doc>
        <source-position filename="fwupd-device.h" line="66"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="device" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-device.c"
                 line="753">A #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
          <parameter name="flashes_left" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-device.c"
                 line="754">the description</doc>
            <type name="guint32" c:type="guint32"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_id" c:identifier="fwupd_device_set_id" version="0.9.3">
        <doc xml:space="preserve"
             filename="fwupd-device.c"
             line="194">Sets the ID.</doc>
        <source-position filename="fwupd-device.h" line="36"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="device" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-device.c"
                 line="196">A #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
          <parameter name="id" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-device.c"
                 line="197">the device ID, e.g. `USB:foo`</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_install_duration"
              c:identifier="fwupd_device_set_install_duration"
              version="1.1.3">
        <doc xml:space="preserve"
             filename="fwupd-device.c"
             line="786">Sets the time estimate for firmware installation (in seconds)</doc>
        <source-position filename="fwupd-device.h" line="69"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="device" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-device.c"
                 line="788">A #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
          <parameter name="duration" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-device.c"
                 line="789">The amount of time</doc>
            <type name="guint32" c:type="guint32"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_modified"
              c:identifier="fwupd_device_set_modified"
              version="0.9.3">
        <doc xml:space="preserve"
             filename="fwupd-device.c"
             line="981">Sets when the device was modified.</doc>
        <source-position filename="fwupd-device.h" line="84"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="device" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-device.c"
                 line="983">A #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
          <parameter name="modified" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-device.c"
                 line="984">the UNIX time</doc>
            <type name="guint64" c:type="guint64"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_name"
              c:identifier="fwupd_device_set_name"
              version="0.9.3">
        <doc xml:space="preserve"
             filename="fwupd-device.c"
             line="499">Sets the device name.</doc>
        <source-position filename="fwupd-device.h" line="45"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="device" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-device.c"
                 line="501">A #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
          <parameter name="name" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-device.c"
                 line="502">the device name, e.g. `ColorHug2`</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_parent"
              c:identifier="fwupd_device_set_parent"
              version="1.0.8">
        <doc xml:space="preserve"
             filename="fwupd-device.c"
             line="266">Sets the parent. Only used internally.</doc>
        <source-position filename="fwupd-device.h" line="42"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="device" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-device.c"
                 line="268">A #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
          <parameter name="parent" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-device.c"
                 line="269">another #FwupdDevice, or %NULL</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_parent_id"
              c:identifier="fwupd_device_set_parent_id"
              version="1.0.8">
        <doc xml:space="preserve"
             filename="fwupd-device.c"
             line="230">Sets the parent ID.</doc>
        <source-position filename="fwupd-device.h" line="39"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="device" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-device.c"
                 line="232">A #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
          <parameter name="parent_id" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-device.c"
                 line="233">the device ID, e.g. `USB:foo`</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_plugin"
              c:identifier="fwupd_device_set_plugin"
              version="1.0.0">
        <doc xml:space="preserve"
             filename="fwupd-device.c"
             line="821">Sets the plugin that created the device.</doc>
        <source-position filename="fwupd-device.h" line="90"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="device" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-device.c"
                 line="823">A #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
          <parameter name="plugin" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-device.c"
                 line="824">the plugin name, e.g. `colorhug`</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_serial"
              c:identifier="fwupd_device_set_serial"
              version="1.1.2">
        <doc xml:space="preserve"
             filename="fwupd-device.c"
             line="158">Sets the serial number for the device.</doc>
        <source-position filename="fwupd-device.h" line="48"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="device" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-device.c"
                 line="160">A #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
          <parameter name="serial" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-device.c"
                 line="161">the device serial number</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_summary"
              c:identifier="fwupd_device_set_summary"
              version="0.9.3">
        <doc xml:space="preserve"
             filename="fwupd-device.c"
             line="122">Sets the device summary.</doc>
        <source-position filename="fwupd-device.h" line="51"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="device" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-device.c"
                 line="124">A #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
          <parameter name="summary" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-device.c"
                 line="125">the device one line summary</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_update_error"
              c:identifier="fwupd_device_set_update_error"
              version="0.9.8">
        <doc xml:space="preserve"
             filename="fwupd-device.c"
             line="1534">Sets the update error.</doc>
        <source-position filename="fwupd-device.h" line="117"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="device" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-device.c"
                 line="1536">A #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
          <parameter name="update_error" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-device.c"
                 line="1537">the update error string</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_update_message"
              c:identifier="fwupd_device_set_update_message"
              version="1.2.4">
        <doc xml:space="preserve"
             filename="fwupd-device.c"
             line="1498">Sets the update message.</doc>
        <source-position filename="fwupd-device.h" line="120"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="device" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-device.c"
                 line="1500">A #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
          <parameter name="update_message" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-device.c"
                 line="1501">the update message string</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_update_state"
              c:identifier="fwupd_device_set_update_state"
              version="0.9.8">
        <doc xml:space="preserve"
             filename="fwupd-device.c"
             line="1463">Sets the update state.</doc>
        <source-position filename="fwupd-device.h" line="114"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="device" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-device.c"
                 line="1465">A #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
          <parameter name="update_state" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-device.c"
                 line="1466">the state, e.g. %FWUPD_UPDATE_STATE_PENDING</doc>
            <type name="UpdateState" c:type="FwupdUpdateState"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_vendor"
              c:identifier="fwupd_device_set_vendor"
              version="0.9.3">
        <doc xml:space="preserve"
             filename="fwupd-device.c"
             line="535">Sets the device vendor.</doc>
        <source-position filename="fwupd-device.h" line="93"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="device" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-device.c"
                 line="537">A #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
          <parameter name="vendor" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-device.c"
                 line="538">the description</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_vendor_id"
              c:identifier="fwupd_device_set_vendor_id"
              version="0.9.4">
        <doc xml:space="preserve"
             filename="fwupd-device.c"
             line="571">Sets the device vendor ID.</doc>
        <source-position filename="fwupd-device.h" line="96"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="device" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-device.c"
                 line="573">A #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
          <parameter name="vendor_id" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-device.c"
                 line="574">the ID, e.g. 'USB:0x1234'</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_version"
              c:identifier="fwupd_device_set_version"
              version="0.9.3">
        <doc xml:space="preserve"
             filename="fwupd-device.c"
             line="643">Sets the device version.</doc>
        <source-position filename="fwupd-device.h" line="57"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="device" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-device.c"
                 line="645">A #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
          <parameter name="version" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-device.c"
                 line="646">the device version, e.g. `1.2.3`</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_version_bootloader"
              c:identifier="fwupd_device_set_version_bootloader"
              version="0.9.3">
        <doc xml:space="preserve"
             filename="fwupd-device.c"
             line="715">Sets the bootloader version.</doc>
        <source-position filename="fwupd-device.h" line="63"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="device" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-device.c"
                 line="717">A #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
          <parameter name="version_bootloader" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-device.c"
                 line="718">the description</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_version_lowest"
              c:identifier="fwupd_device_set_version_lowest"
              version="0.9.3">
        <doc xml:space="preserve"
             filename="fwupd-device.c"
             line="679">Sets the lowest version of firmware the device will accept.</doc>
        <source-position filename="fwupd-device.h" line="60"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="device" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-device.c"
                 line="681">A #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
          <parameter name="version_lowest" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-device.c"
                 line="682">the description</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="to_json"
              c:identifier="fwupd_device_to_json"
              version="1.2.6"
              introspectable="0">
        <doc xml:space="preserve"
             filename="fwupd-device.c"
             line="1633">Adds a fwupd device to a JSON builder</doc>
        <source-position filename="fwupd-device-private.h" line="22"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="device" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-device.c"
                 line="1635">A #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
          <parameter name="builder" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-device.c"
                 line="1636">A #JsonBuilder</doc>
            <type c:type="JsonBuilder*"/>
          </parameter>
        </parameters>
      </method>
      <method name="to_string"
              c:identifier="fwupd_device_to_string"
              version="0.9.3">
        <doc xml:space="preserve"
             filename="fwupd-device.c"
             line="1722">Builds a text representation of the object.</doc>
        <source-position filename="fwupd-device.h" line="33"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="fwupd-device.c"
               line="1728">text, or %NULL for invalid</doc>
          <type name="utf8" c:type="gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="device" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-device.c"
                 line="1724">A #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="to_variant"
              c:identifier="fwupd_device_to_variant"
              version="1.0.0">
        <doc xml:space="preserve"
             filename="fwupd-device.c"
             line="1248">Creates a GVariant from the device data omitting sensitive fields</doc>
        <source-position filename="fwupd-device-private.h" line="17"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="fwupd-device.c"
               line="1254">the GVariant, or %NULL for error</doc>
          <type name="GLib.Variant" c:type="GVariant*"/>
        </return-value>
        <parameters>
          <instance-parameter name="device" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-device.c"
                 line="1250">A #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="to_variant_full"
              c:identifier="fwupd_device_to_variant_full"
              version="1.1.2">
        <doc xml:space="preserve"
             filename="fwupd-device.c"
             line="1075">Creates a GVariant from the device data.
Optionally provides additional data based upon flags</doc>
        <source-position filename="fwupd-device-private.h" line="18"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="fwupd-device.c"
               line="1083">the GVariant, or %NULL for error</doc>
          <type name="GLib.Variant" c:type="GVariant*"/>
        </return-value>
        <parameters>
          <instance-parameter name="device" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-device.c"
                 line="1077">A #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
          <parameter name="flags" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-device.c"
                 line="1078">#FwupdDeviceFlags for the call</doc>
            <type name="DeviceFlags" c:type="FwupdDeviceFlags"/>
          </parameter>
        </parameters>
      </method>
      <field name="parent_instance">
        <type name="GObject.Object" c:type="GObject"/>
      </field>
    </class>
    <record name="DeviceClass"
            c:type="FwupdDeviceClass"
            glib:is-gtype-struct-for="Device">
      <source-position filename="fwupd-device.h" line="30"/>
      <field name="parent_class">
        <type name="GObject.ObjectClass" c:type="GObjectClass"/>
      </field>
      <field name="_fwupd_reserved1" introspectable="0">
        <callback name="_fwupd_reserved1">
          <source-position filename="fwupd-device.h" line="23"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_fwupd_reserved2" introspectable="0">
        <callback name="_fwupd_reserved2">
          <source-position filename="fwupd-device.h" line="24"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_fwupd_reserved3" introspectable="0">
        <callback name="_fwupd_reserved3">
          <source-position filename="fwupd-device.h" line="25"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_fwupd_reserved4" introspectable="0">
        <callback name="_fwupd_reserved4">
          <source-position filename="fwupd-device.h" line="26"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_fwupd_reserved5" introspectable="0">
        <callback name="_fwupd_reserved5">
          <source-position filename="fwupd-device.h" line="27"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_fwupd_reserved6" introspectable="0">
        <callback name="_fwupd_reserved6">
          <source-position filename="fwupd-device.h" line="28"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_fwupd_reserved7" introspectable="0">
        <callback name="_fwupd_reserved7">
          <source-position filename="fwupd-device.h" line="29"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
    </record>
    <enumeration name="Error"
                 c:type="FwupdError"
                 glib:error-domain="FwupdError">
      <doc xml:space="preserve"
           filename="fwupd-error.h"
           line="15">The error code.</doc>
      <source-position filename="fwupd-error.h" line="51"/>
      <member name="internal" value="0" c:identifier="FWUPD_ERROR_INTERNAL">
        <doc xml:space="preserve"
             filename="fwupd-error.h"
             line="17">Internal error</doc>
      </member>
      <member name="version_newer"
              value="1"
              c:identifier="FWUPD_ERROR_VERSION_NEWER">
        <doc xml:space="preserve"
             filename="fwupd-error.h"
             line="18">Installed newer firmware version</doc>
      </member>
      <member name="version_same"
              value="2"
              c:identifier="FWUPD_ERROR_VERSION_SAME">
        <doc xml:space="preserve"
             filename="fwupd-error.h"
             line="19">Installed same firmware version</doc>
      </member>
      <member name="already_pending"
              value="3"
              c:identifier="FWUPD_ERROR_ALREADY_PENDING">
        <doc xml:space="preserve"
             filename="fwupd-error.h"
             line="20">Already set be be installed offline</doc>
      </member>
      <member name="auth_failed"
              value="4"
              c:identifier="FWUPD_ERROR_AUTH_FAILED">
        <doc xml:space="preserve"
             filename="fwupd-error.h"
             line="21">Failed to get authentication</doc>
      </member>
      <member name="read" value="5" c:identifier="FWUPD_ERROR_READ">
        <doc xml:space="preserve"
             filename="fwupd-error.h"
             line="22">Failed to read from device</doc>
      </member>
      <member name="write" value="6" c:identifier="FWUPD_ERROR_WRITE">
        <doc xml:space="preserve"
             filename="fwupd-error.h"
             line="23">Failed to write to the device</doc>
      </member>
      <member name="invalid_file"
              value="7"
              c:identifier="FWUPD_ERROR_INVALID_FILE">
        <doc xml:space="preserve"
             filename="fwupd-error.h"
             line="24">Invalid file format</doc>
      </member>
      <member name="not_found" value="8" c:identifier="FWUPD_ERROR_NOT_FOUND">
        <doc xml:space="preserve"
             filename="fwupd-error.h"
             line="25">No matching device exists</doc>
      </member>
      <member name="nothing_to_do"
              value="9"
              c:identifier="FWUPD_ERROR_NOTHING_TO_DO">
        <doc xml:space="preserve"
             filename="fwupd-error.h"
             line="26">Nothing to do</doc>
      </member>
      <member name="not_supported"
              value="10"
              c:identifier="FWUPD_ERROR_NOT_SUPPORTED">
        <doc xml:space="preserve"
             filename="fwupd-error.h"
             line="27">Action was not possible</doc>
      </member>
      <member name="signature_invalid"
              value="11"
              c:identifier="FWUPD_ERROR_SIGNATURE_INVALID">
        <doc xml:space="preserve"
             filename="fwupd-error.h"
             line="28">Signature was invalid</doc>
      </member>
      <member name="ac_power_required"
              value="12"
              c:identifier="FWUPD_ERROR_AC_POWER_REQUIRED">
        <doc xml:space="preserve"
             filename="fwupd-error.h"
             line="29">AC power was required</doc>
      </member>
      <member name="permission_denied"
              value="13"
              c:identifier="FWUPD_ERROR_PERMISSION_DENIED">
        <doc xml:space="preserve"
             filename="fwupd-error.h"
             line="30">Permission was denied</doc>
      </member>
    </enumeration>
    <bitfield name="GuidFlags" c:type="FwupdGuidFlags">
      <doc xml:space="preserve"
           filename="fwupd-common.h"
           line="19">The flags to show how the data should be converted.</doc>
      <source-position filename="fwupd-common.h" line="33"/>
      <member name="none" value="0" c:identifier="FWUPD_GUID_FLAG_NONE">
        <doc xml:space="preserve"
             filename="fwupd-common.h"
             line="21">No trust</doc>
      </member>
      <member name="namespace_microsoft"
              value="1"
              c:identifier="FWUPD_GUID_FLAG_NAMESPACE_MICROSOFT">
        <doc xml:space="preserve"
             filename="fwupd-common.h"
             line="22">Use the Microsoft-compatible namespace</doc>
      </member>
      <member name="mixed_endian"
              value="2"
              c:identifier="FWUPD_GUID_FLAG_MIXED_ENDIAN">
        <doc xml:space="preserve"
             filename="fwupd-common.h"
             line="23">Use EFI mixed endian representation</doc>
      </member>
    </bitfield>
    <bitfield name="InstallFlags" c:type="FwupdInstallFlags">
      <doc xml:space="preserve"
           filename="fwupd-enums.h"
           line="141">Flags to set when performing the firwmare update or install.</doc>
      <source-position filename="fwupd-enums.h" line="161"/>
      <member name="none" value="0" c:identifier="FWUPD_INSTALL_FLAG_NONE">
        <doc xml:space="preserve"
             filename="fwupd-enums.h"
             line="143">No flags set</doc>
      </member>
      <member name="offline"
              value="1"
              c:identifier="FWUPD_INSTALL_FLAG_OFFLINE">
        <doc xml:space="preserve"
             filename="fwupd-enums.h"
             line="144">Schedule this for next boot</doc>
      </member>
      <member name="allow_reinstall"
              value="2"
              c:identifier="FWUPD_INSTALL_FLAG_ALLOW_REINSTALL">
        <doc xml:space="preserve"
             filename="fwupd-enums.h"
             line="145">Allow reinstalling the same version</doc>
      </member>
      <member name="allow_older"
              value="4"
              c:identifier="FWUPD_INSTALL_FLAG_ALLOW_OLDER">
        <doc xml:space="preserve"
             filename="fwupd-enums.h"
             line="146">Allow downgrading firmware</doc>
      </member>
      <member name="force" value="8" c:identifier="FWUPD_INSTALL_FLAG_FORCE">
        <doc xml:space="preserve"
             filename="fwupd-enums.h"
             line="147">Force the update even if not a good idea</doc>
      </member>
      <member name="no_history"
              value="16"
              c:identifier="FWUPD_INSTALL_FLAG_NO_HISTORY">
        <doc xml:space="preserve"
             filename="fwupd-enums.h"
             line="148">Do not write to the history database</doc>
      </member>
    </bitfield>
    <enumeration name="KeyringKind" c:type="FwupdKeyringKind">
      <doc xml:space="preserve"
           filename="fwupd-enums.h"
           line="199">The update state.</doc>
      <source-position filename="fwupd-enums.h" line="215"/>
      <member name="unknown"
              value="0"
              c:identifier="FWUPD_KEYRING_KIND_UNKNOWN">
        <doc xml:space="preserve"
             filename="fwupd-enums.h"
             line="201">Unknown</doc>
      </member>
      <member name="none" value="1" c:identifier="FWUPD_KEYRING_KIND_NONE">
        <doc xml:space="preserve"
             filename="fwupd-enums.h"
             line="202">No verification</doc>
      </member>
      <member name="gpg" value="2" c:identifier="FWUPD_KEYRING_KIND_GPG">
        <doc xml:space="preserve"
             filename="fwupd-enums.h"
             line="203">Verification using GPG</doc>
      </member>
      <member name="pkcs7" value="3" c:identifier="FWUPD_KEYRING_KIND_PKCS7">
        <doc xml:space="preserve"
             filename="fwupd-enums.h"
             line="204">Verification using PKCS7</doc>
      </member>
    </enumeration>
    <constant name="RELEASE_FLAG_BLOCKED_APPROVAL"
              value="32"
              c:type="FWUPD_RELEASE_FLAG_BLOCKED_APPROVAL">
      <source-position filename="fwupd-enums.h" line="137"/>
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="RELEASE_FLAG_BLOCKED_VERSION"
              value="16"
              c:type="FWUPD_RELEASE_FLAG_BLOCKED_VERSION">
      <source-position filename="fwupd-enums.h" line="136"/>
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="RELEASE_FLAG_IS_DOWNGRADE"
              value="8"
              c:type="FWUPD_RELEASE_FLAG_IS_DOWNGRADE">
      <source-position filename="fwupd-enums.h" line="135"/>
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="RELEASE_FLAG_IS_UPGRADE"
              value="4"
              c:type="FWUPD_RELEASE_FLAG_IS_UPGRADE">
      <source-position filename="fwupd-enums.h" line="134"/>
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="RELEASE_FLAG_NONE"
              value="0"
              c:type="FWUPD_RELEASE_FLAG_NONE">
      <source-position filename="fwupd-enums.h" line="131"/>
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="RELEASE_FLAG_TRUSTED_METADATA"
              value="2"
              c:type="FWUPD_RELEASE_FLAG_TRUSTED_METADATA">
      <source-position filename="fwupd-enums.h" line="133"/>
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="RELEASE_FLAG_TRUSTED_PAYLOAD"
              value="1"
              c:type="FWUPD_RELEASE_FLAG_TRUSTED_PAYLOAD">
      <source-position filename="fwupd-enums.h" line="132"/>
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="RESULT_KEY_APPSTREAM_ID"
              value="AppstreamId"
              c:type="FWUPD_RESULT_KEY_APPSTREAM_ID">
      <source-position filename="fwupd-enums-private.h" line="11"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="RESULT_KEY_CHECKSUM"
              value="Checksum"
              c:type="FWUPD_RESULT_KEY_CHECKSUM">
      <source-position filename="fwupd-enums-private.h" line="12"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="RESULT_KEY_CREATED"
              value="Created"
              c:type="FWUPD_RESULT_KEY_CREATED">
      <source-position filename="fwupd-enums-private.h" line="13"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="RESULT_KEY_DESCRIPTION"
              value="Description"
              c:type="FWUPD_RESULT_KEY_DESCRIPTION">
      <source-position filename="fwupd-enums-private.h" line="14"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="RESULT_KEY_DETAILS_URL"
              value="DetailsUrl"
              c:type="FWUPD_RESULT_KEY_DETAILS_URL">
      <source-position filename="fwupd-enums-private.h" line="25"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="RESULT_KEY_DEVICE_ID"
              value="DeviceId"
              c:type="FWUPD_RESULT_KEY_DEVICE_ID">
      <source-position filename="fwupd-enums-private.h" line="15"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="RESULT_KEY_FILENAME"
              value="Filename"
              c:type="FWUPD_RESULT_KEY_FILENAME">
      <source-position filename="fwupd-enums-private.h" line="17"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="RESULT_KEY_FLAGS"
              value="Flags"
              c:type="FWUPD_RESULT_KEY_FLAGS">
      <source-position filename="fwupd-enums-private.h" line="19"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="RESULT_KEY_FLASHES_LEFT"
              value="FlashesLeft"
              c:type="FWUPD_RESULT_KEY_FLASHES_LEFT">
      <source-position filename="fwupd-enums-private.h" line="20"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="RESULT_KEY_GUID"
              value="Guid"
              c:type="FWUPD_RESULT_KEY_GUID">
      <source-position filename="fwupd-enums-private.h" line="22"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="RESULT_KEY_HOMEPAGE"
              value="Homepage"
              c:type="FWUPD_RESULT_KEY_HOMEPAGE">
      <source-position filename="fwupd-enums-private.h" line="24"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="RESULT_KEY_ICON"
              value="Icon"
              c:type="FWUPD_RESULT_KEY_ICON">
      <source-position filename="fwupd-enums-private.h" line="27"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="RESULT_KEY_INSTALL_DURATION"
              value="InstallDuration"
              c:type="FWUPD_RESULT_KEY_INSTALL_DURATION">
      <source-position filename="fwupd-enums-private.h" line="21"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="RESULT_KEY_INSTANCE_IDS"
              value="InstanceIds"
              c:type="FWUPD_RESULT_KEY_INSTANCE_IDS">
      <source-position filename="fwupd-enums-private.h" line="23"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="RESULT_KEY_LICENSE"
              value="License"
              c:type="FWUPD_RESULT_KEY_LICENSE">
      <source-position filename="fwupd-enums-private.h" line="28"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="RESULT_KEY_METADATA"
              value="Metadata"
              c:type="FWUPD_RESULT_KEY_METADATA">
      <source-position filename="fwupd-enums-private.h" line="30"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="RESULT_KEY_MODIFIED"
              value="Modified"
              c:type="FWUPD_RESULT_KEY_MODIFIED">
      <source-position filename="fwupd-enums-private.h" line="29"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="RESULT_KEY_NAME"
              value="Name"
              c:type="FWUPD_RESULT_KEY_NAME">
      <source-position filename="fwupd-enums-private.h" line="31"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="RESULT_KEY_PARENT_DEVICE_ID"
              value="ParentDeviceId"
              c:type="FWUPD_RESULT_KEY_PARENT_DEVICE_ID">
      <source-position filename="fwupd-enums-private.h" line="16"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="RESULT_KEY_PLUGIN"
              value="Plugin"
              c:type="FWUPD_RESULT_KEY_PLUGIN">
      <source-position filename="fwupd-enums-private.h" line="32"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="RESULT_KEY_PROTOCOL"
              value="Protocol"
              c:type="FWUPD_RESULT_KEY_PROTOCOL">
      <source-position filename="fwupd-enums-private.h" line="18"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="RESULT_KEY_RELEASE"
              value="Release"
              c:type="FWUPD_RESULT_KEY_RELEASE">
      <source-position filename="fwupd-enums-private.h" line="33"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="RESULT_KEY_REMOTE_ID"
              value="RemoteId"
              c:type="FWUPD_RESULT_KEY_REMOTE_ID">
      <source-position filename="fwupd-enums-private.h" line="34"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="RESULT_KEY_SERIAL"
              value="Serial"
              c:type="FWUPD_RESULT_KEY_SERIAL">
      <source-position filename="fwupd-enums-private.h" line="35"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="RESULT_KEY_SIZE"
              value="Size"
              c:type="FWUPD_RESULT_KEY_SIZE">
      <source-position filename="fwupd-enums-private.h" line="36"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="RESULT_KEY_SOURCE_URL"
              value="SourceUrl"
              c:type="FWUPD_RESULT_KEY_SOURCE_URL">
      <source-position filename="fwupd-enums-private.h" line="26"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="RESULT_KEY_SUMMARY"
              value="Summary"
              c:type="FWUPD_RESULT_KEY_SUMMARY">
      <source-position filename="fwupd-enums-private.h" line="37"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="RESULT_KEY_TRUST_FLAGS"
              value="TrustFlags"
              c:type="FWUPD_RESULT_KEY_TRUST_FLAGS">
      <source-position filename="fwupd-enums-private.h" line="38"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="RESULT_KEY_UPDATE_ERROR"
              value="UpdateError"
              c:type="FWUPD_RESULT_KEY_UPDATE_ERROR">
      <source-position filename="fwupd-enums-private.h" line="40"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="RESULT_KEY_UPDATE_MESSAGE"
              value="UpdateMessage"
              c:type="FWUPD_RESULT_KEY_UPDATE_MESSAGE">
      <source-position filename="fwupd-enums-private.h" line="39"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="RESULT_KEY_UPDATE_STATE"
              value="UpdateState"
              c:type="FWUPD_RESULT_KEY_UPDATE_STATE">
      <source-position filename="fwupd-enums-private.h" line="41"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="RESULT_KEY_URI" value="Uri" c:type="FWUPD_RESULT_KEY_URI">
      <source-position filename="fwupd-enums-private.h" line="42"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="RESULT_KEY_VENDOR"
              value="Vendor"
              c:type="FWUPD_RESULT_KEY_VENDOR">
      <source-position filename="fwupd-enums-private.h" line="44"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="RESULT_KEY_VENDOR_ID"
              value="VendorId"
              c:type="FWUPD_RESULT_KEY_VENDOR_ID">
      <source-position filename="fwupd-enums-private.h" line="43"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="RESULT_KEY_VERSION"
              value="Version"
              c:type="FWUPD_RESULT_KEY_VERSION">
      <source-position filename="fwupd-enums-private.h" line="48"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="RESULT_KEY_VERSION_BOOTLOADER"
              value="VersionBootloader"
              c:type="FWUPD_RESULT_KEY_VERSION_BOOTLOADER">
      <source-position filename="fwupd-enums-private.h" line="46"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="RESULT_KEY_VERSION_LOWEST"
              value="VersionLowest"
              c:type="FWUPD_RESULT_KEY_VERSION_LOWEST">
      <source-position filename="fwupd-enums-private.h" line="47"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <class name="Release"
           c:symbol-prefix="release"
           c:type="FwupdRelease"
           parent="GObject.Object"
           glib:type-name="FwupdRelease"
           glib:get-type="fwupd_release_get_type"
           glib:type-struct="ReleaseClass">
      <source-position filename="fwupd-release.h" line="29"/>
      <constructor name="new" c:identifier="fwupd_release_new" version="0.9.3">
        <doc xml:space="preserve"
             filename="fwupd-release.c"
             line="1467">Creates a new release.</doc>
        <source-position filename="fwupd-release.h" line="31"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="fwupd-release.c"
               line="1472">a new #FwupdRelease</doc>
          <type name="Release" c:type="FwupdRelease*"/>
        </return-value>
      </constructor>
      <function name="flag_from_string"
                c:identifier="fwupd_release_flag_from_string"
                version="1.2.6">
        <doc xml:space="preserve"
             filename="fwupd-enums.c"
             line="399">Converts a string to a #FwupdReleaseFlags.</doc>
        <source-position filename="fwupd-enums.h" line="222"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="fwupd-enums.c"
               line="405">enumerated value</doc>
          <type name="ReleaseFlags" c:type="FwupdReleaseFlags"/>
        </return-value>
        <parameters>
          <parameter name="release_flag" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-enums.c"
                 line="401">A string, e.g. `trusted-payload`</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </function>
      <function name="flag_to_string"
                c:identifier="fwupd_release_flag_to_string"
                version="1.2.6">
        <doc xml:space="preserve"
             filename="fwupd-enums.c"
             line="369">Converts a #FwupdReleaseFlags to a string.</doc>
        <source-position filename="fwupd-enums.h" line="221"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="fwupd-enums.c"
               line="375">identifier string</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <parameter name="release_flag" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-enums.c"
                 line="371">A #FwupdReleaseFlags, e.g. %FWUPD_RELEASE_FLAG_TRUSTED_PAYLOAD</doc>
            <type name="ReleaseFlags" c:type="FwupdReleaseFlags"/>
          </parameter>
        </parameters>
      </function>
      <function name="from_variant"
                c:identifier="fwupd_release_from_variant"
                version="1.0.0">
        <doc xml:space="preserve"
             filename="fwupd-release.c"
             line="1434">Creates a new release using packed data.</doc>
        <source-position filename="fwupd-release-private.h" line="16"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="fwupd-release.c"
               line="1440">a new #FwupdRelease, or %NULL if @data was invalid</doc>
          <type name="Release" c:type="FwupdRelease*"/>
        </return-value>
        <parameters>
          <parameter name="data" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-release.c"
                 line="1436">a #GVariant</doc>
            <type name="GLib.Variant" c:type="GVariant*"/>
          </parameter>
        </parameters>
      </function>
      <method name="add_checksum"
              c:identifier="fwupd_release_add_checksum"
              version="0.9.3">
        <doc xml:space="preserve"
             filename="fwupd-release.c"
             line="259">Sets the update checksum.</doc>
        <source-position filename="fwupd-release.h" line="41"/>
        <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="fwupd-release.c"
                 line="261">A #FwupdRelease</doc>
            <type name="Release" c:type="FwupdRelease*"/>
          </instance-parameter>
          <parameter name="checksum" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-release.c"
                 line="262">the update checksum</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="add_flag"
              c:identifier="fwupd_release_add_flag"
              version="1.2.6">
        <doc xml:space="preserve"
             filename="fwupd-release.c"
             line="860">Adds a specific release flag to the release.</doc>
        <source-position filename="fwupd-release.h" line="102"/>
        <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="fwupd-release.c"
                 line="862">A #FwupdRelease</doc>
            <type name="Release" c:type="FwupdRelease*"/>
          </instance-parameter>
          <parameter name="flag" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-release.c"
                 line="863">the #FwupdReleaseFlags</doc>
            <type name="ReleaseFlags" c:type="FwupdReleaseFlags"/>
          </parameter>
        </parameters>
      </method>
      <method name="add_metadata"
              c:identifier="fwupd_release_add_metadata"
              version="1.0.4">
        <doc xml:space="preserve"
             filename="fwupd-release.c"
             line="345">Sets multiple release metadata items.</doc>
        <source-position filename="fwupd-release.h" line="47"/>
        <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="fwupd-release.c"
                 line="347">A #FwupdRelease</doc>
            <type name="Release" c:type="FwupdRelease*"/>
          </instance-parameter>
          <parameter name="hash" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-release.c"
                 line="348">the key-values</doc>
            <type name="GLib.HashTable" c:type="GHashTable*">
              <type name="gpointer" c:type="gpointer"/>
              <type name="gpointer" c:type="gpointer"/>
            </type>
          </parameter>
        </parameters>
      </method>
      <method name="add_metadata_item"
              c:identifier="fwupd_release_add_metadata_item"
              version="1.0.4">
        <doc xml:space="preserve"
             filename="fwupd-release.c"
             line="325">Sets a release metadata item.</doc>
        <source-position filename="fwupd-release.h" line="49"/>
        <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="fwupd-release.c"
                 line="327">A #FwupdRelease</doc>
            <type name="Release" c:type="FwupdRelease*"/>
          </instance-parameter>
          <parameter name="key" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-release.c"
                 line="328">the key</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="value" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-release.c"
                 line="329">the value</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_appstream_id"
              c:identifier="fwupd_release_get_appstream_id"
              version="0.9.3">
        <doc xml:space="preserve"
             filename="fwupd-release.c"
             line="572">Gets the AppStream ID.</doc>
        <source-position filename="fwupd-release.h" line="61"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="fwupd-release.c"
               line="578">the AppStream ID, 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="fwupd-release.c"
                 line="574">A #FwupdRelease</doc>
            <type name="Release" c:type="FwupdRelease*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_checksums"
              c:identifier="fwupd_release_get_checksums"
              version="0.9.3">
        <doc xml:space="preserve"
             filename="fwupd-release.c"
             line="241">Gets the release checksums.</doc>
        <source-position filename="fwupd-release.h" line="40"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="fwupd-release.c"
               line="247">the checksums, which may be empty</doc>
          <array name="GLib.PtrArray" c:type="GPtrArray*">
            <type name="utf8"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="release" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-release.c"
                 line="243">A #FwupdRelease</doc>
            <type name="Release" c:type="FwupdRelease*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_description"
              c:identifier="fwupd_release_get_description"
              version="0.9.3">
        <doc xml:space="preserve"
             filename="fwupd-release.c"
             line="536">Gets the update description in AppStream markup format.</doc>
        <source-position filename="fwupd-release.h" line="76"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="fwupd-release.c"
               line="542">the update description, 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="fwupd-release.c"
                 line="538">A #FwupdRelease</doc>
            <type name="Release" c:type="FwupdRelease*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_details_url"
              c:identifier="fwupd_release_get_details_url"
              version="1.2.4">
        <doc xml:space="preserve"
             filename="fwupd-release.c"
             line="464">Gets the URL for the online update notes.</doc>
        <source-position filename="fwupd-release.h" line="82"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="fwupd-release.c"
               line="470">the update URL, 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="fwupd-release.c"
                 line="466">A #FwupdRelease</doc>
            <type name="Release" c:type="FwupdRelease*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_filename"
              c:identifier="fwupd_release_get_filename"
              version="0.9.3">
        <doc xml:space="preserve"
             filename="fwupd-release.c"
             line="133">Gets the update filename.</doc>
        <source-position filename="fwupd-release.h" line="55"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="fwupd-release.c"
               line="139">the update filename, 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="fwupd-release.c"
                 line="135">A #FwupdRelease</doc>
            <type name="Release" c:type="FwupdRelease*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_flags"
              c:identifier="fwupd_release_get_flags"
              version="1.2.6">
        <doc xml:space="preserve"
             filename="fwupd-release.c"
             line="825">Gets the release flags.</doc>
        <source-position filename="fwupd-release.h" line="99"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="fwupd-release.c"
               line="831">the release flags, or 0 if unset</doc>
          <type name="ReleaseFlags" c:type="FwupdReleaseFlags"/>
        </return-value>
        <parameters>
          <instance-parameter name="release" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-release.c"
                 line="827">A #FwupdRelease</doc>
            <type name="Release" c:type="FwupdRelease*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_homepage"
              c:identifier="fwupd_release_get_homepage"
              version="0.9.3">
        <doc xml:space="preserve"
             filename="fwupd-release.c"
             line="428">Gets the update homepage.</doc>
        <source-position filename="fwupd-release.h" line="79"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="fwupd-release.c"
               line="434">the update homepage, 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="fwupd-release.c"
                 line="430">A #FwupdRelease</doc>
            <type name="Release" c:type="FwupdRelease*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_install_duration"
              c:identifier="fwupd_release_get_install_duration"
              version="1.2.1">
        <doc xml:space="preserve"
             filename="fwupd-release.c"
             line="913">Gets the time estimate for firmware installation (in seconds)</doc>
        <source-position filename="fwupd-release.h" line="108"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="fwupd-release.c"
               line="919">the estimated time to flash this release (or 0 if unset)</doc>
          <type name="guint32" c:type="guint32"/>
        </return-value>
        <parameters>
          <instance-parameter name="release" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-release.c"
                 line="915">A #FwupdRelease</doc>
            <type name="Release" c:type="FwupdRelease*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_license"
              c:identifier="fwupd_release_get_license"
              version="0.9.3">
        <doc xml:space="preserve"
             filename="fwupd-release.c"
             line="715">Gets the update license.</doc>
        <source-position filename="fwupd-release.h" line="91"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="fwupd-release.c"
               line="721">the update license, 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="fwupd-release.c"
                 line="717">A #FwupdRelease</doc>
            <type name="Release" c:type="FwupdRelease*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_metadata"
              c:identifier="fwupd_release_get_metadata"
              version="1.0.4">
        <doc xml:space="preserve"
             filename="fwupd-release.c"
             line="307">Gets the release metadata.</doc>
        <source-position filename="fwupd-release.h" line="46"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="fwupd-release.c"
               line="313">the metadata, which may be empty</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="release" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-release.c"
                 line="309">A #FwupdRelease</doc>
            <type name="Release" c:type="FwupdRelease*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_metadata_item"
              c:identifier="fwupd_release_get_metadata_item"
              version="1.0.4">
        <doc xml:space="preserve"
             filename="fwupd-release.c"
             line="372">Gets a release metadata item.</doc>
        <source-position filename="fwupd-release.h" line="52"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="fwupd-release.c"
               line="379">the value, 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="fwupd-release.c"
                 line="374">A #FwupdRelease</doc>
            <type name="Release" c:type="FwupdRelease*"/>
          </instance-parameter>
          <parameter name="key" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-release.c"
                 line="375">the key</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_name"
              c:identifier="fwupd_release_get_name"
              version="0.9.3">
        <doc xml:space="preserve"
             filename="fwupd-release.c"
             line="751">Gets the update name.</doc>
        <source-position filename="fwupd-release.h" line="70"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="fwupd-release.c"
               line="757">the update name, 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="fwupd-release.c"
                 line="753">A #FwupdRelease</doc>
            <type name="Release" c:type="FwupdRelease*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_protocol"
              c:identifier="fwupd_release_get_protocol"
              version="1.2.2">
        <doc xml:space="preserve"
             filename="fwupd-release.c"
             line="205">Gets the update protocol.</doc>
        <source-position filename="fwupd-release.h" line="58"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="fwupd-release.c"
               line="211">the update protocol, 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="fwupd-release.c"
                 line="207">A #FwupdRelease</doc>
            <type name="Release" c:type="FwupdRelease*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_remote_id"
              c:identifier="fwupd_release_get_remote_id"
              version="0.9.3">
        <doc xml:space="preserve"
             filename="fwupd-release.c"
             line="61">Gets the remote ID that can be used for downloading.</doc>
        <source-position filename="fwupd-release.h" line="64"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="fwupd-release.c"
               line="67">the ID, 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="fwupd-release.c"
                 line="63">A #FwupdRelease</doc>
            <type name="Release" c:type="FwupdRelease*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_size"
              c:identifier="fwupd_release_get_size"
              version="0.9.3">
        <doc xml:space="preserve"
             filename="fwupd-release.c"
             line="608">Gets the update size.</doc>
        <source-position filename="fwupd-release.h" line="88"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="fwupd-release.c"
               line="614">the update size in bytes, or 0 if unset</doc>
          <type name="guint64" c:type="guint64"/>
        </return-value>
        <parameters>
          <instance-parameter name="release" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-release.c"
                 line="610">A #FwupdRelease</doc>
            <type name="Release" c:type="FwupdRelease*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_source_url"
              c:identifier="fwupd_release_get_source_url"
              version="1.2.4">
        <doc xml:space="preserve"
             filename="fwupd-release.c"
             line="500">Gets the URL of the source code used to build this release.</doc>
        <source-position filename="fwupd-release.h" line="85"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="fwupd-release.c"
               line="506">the update source_url, 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="fwupd-release.c"
                 line="502">A #FwupdRelease</doc>
            <type name="Release" c:type="FwupdRelease*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_summary"
              c:identifier="fwupd_release_get_summary"
              version="0.9.3">
        <doc xml:space="preserve"
             filename="fwupd-release.c"
             line="643">Gets the update summary.</doc>
        <source-position filename="fwupd-release.h" line="73"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="fwupd-release.c"
               line="649">the update summary, 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="fwupd-release.c"
                 line="645">A #FwupdRelease</doc>
            <type name="Release" c:type="FwupdRelease*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_trust_flags"
              c:identifier="fwupd_release_get_trust_flags"
              version="0.9.8">
        <doc xml:space="preserve"
             filename="fwupd-release.c"
             line="787">Gets the trust level of the release.</doc>
        <source-position filename="fwupd-release.h" line="94"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="fwupd-release.c"
               line="793">the trust bitfield, e.g. #FWUPD_TRUST_FLAG_PAYLOAD</doc>
          <type name="TrustFlags" c:type="FwupdTrustFlags"/>
        </return-value>
        <parameters>
          <instance-parameter name="release" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-release.c"
                 line="789">A #FwupdRelease</doc>
            <type name="Release" c:type="FwupdRelease*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_update_message"
              c:identifier="fwupd_release_get_update_message"
              version="1.2.4">
        <doc xml:space="preserve"
             filename="fwupd-release.c"
             line="169">Gets the update message.</doc>
        <source-position filename="fwupd-release.h" line="111"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="fwupd-release.c"
               line="175">the update message, 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="fwupd-release.c"
                 line="171">A #FwupdRelease</doc>
            <type name="Release" c:type="FwupdRelease*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_uri"
              c:identifier="fwupd_release_get_uri"
              version="0.9.3">
        <doc xml:space="preserve"
             filename="fwupd-release.c"
             line="392">Gets the update uri.</doc>
        <source-position filename="fwupd-release.h" line="37"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="fwupd-release.c"
               line="398">the update uri, 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="fwupd-release.c"
                 line="394">A #FwupdRelease</doc>
            <type name="Release" c:type="FwupdRelease*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_vendor"
              c:identifier="fwupd_release_get_vendor"
              version="0.9.3">
        <doc xml:space="preserve"
             filename="fwupd-release.c"
             line="679">Gets the update vendor.</doc>
        <source-position filename="fwupd-release.h" line="67"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="fwupd-release.c"
               line="685">the update vendor, 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="fwupd-release.c"
                 line="681">A #FwupdRelease</doc>
            <type name="Release" c:type="FwupdRelease*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_version"
              c:identifier="fwupd_release_get_version"
              version="0.9.3">
        <doc xml:space="preserve"
             filename="fwupd-release.c"
             line="97">Gets the update version.</doc>
        <source-position filename="fwupd-release.h" line="34"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="fwupd-release.c"
               line="103">the update version, 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="fwupd-release.c"
                 line="99">A #FwupdRelease</doc>
            <type name="Release" c:type="FwupdRelease*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="has_checksum"
              c:identifier="fwupd_release_has_checksum"
              version="1.2.6">
        <doc xml:space="preserve"
             filename="fwupd-release.c"
             line="282">Finds out if the release has the update checksum.</doc>
        <source-position filename="fwupd-release.h" line="43"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="fwupd-release.c"
               line="289">%TRUE if the release matches</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="release" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-release.c"
                 line="284">A #FwupdRelease</doc>
            <type name="Release" c:type="FwupdRelease*"/>
          </instance-parameter>
          <parameter name="checksum" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-release.c"
                 line="285">the update checksum</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="has_flag"
              c:identifier="fwupd_release_has_flag"
              version="1.2.6">
        <doc xml:space="preserve"
             filename="fwupd-release.c"
             line="894">Finds if the release has a specific release flag.</doc>
        <source-position filename="fwupd-release.h" line="106"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="fwupd-release.c"
               line="901">%TRUE if the flag is set</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="release" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-release.c"
                 line="896">A #FwupdRelease</doc>
            <type name="Release" c:type="FwupdRelease*"/>
          </instance-parameter>
          <parameter name="flag" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-release.c"
                 line="897">the #FwupdReleaseFlags</doc>
            <type name="ReleaseFlags" c:type="FwupdReleaseFlags"/>
          </parameter>
        </parameters>
      </method>
      <method name="remove_flag"
              c:identifier="fwupd_release_remove_flag"
              version="1.2.6">
        <doc xml:space="preserve"
             filename="fwupd-release.c"
             line="877">Removes a specific release flag from the release.</doc>
        <source-position filename="fwupd-release.h" line="104"/>
        <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="fwupd-release.c"
                 line="879">A #FwupdRelease</doc>
            <type name="Release" c:type="FwupdRelease*"/>
          </instance-parameter>
          <parameter name="flag" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-release.c"
                 line="880">the #FwupdReleaseFlags</doc>
            <type name="ReleaseFlags" c:type="FwupdReleaseFlags"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_appstream_id"
              c:identifier="fwupd_release_set_appstream_id"
              version="0.9.3">
        <doc xml:space="preserve"
             filename="fwupd-release.c"
             line="590">Sets the AppStream ID.</doc>
        <source-position filename="fwupd-release.h" line="62"/>
        <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="fwupd-release.c"
                 line="592">A #FwupdRelease</doc>
            <type name="Release" c:type="FwupdRelease*"/>
          </instance-parameter>
          <parameter name="appstream_id" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-release.c"
                 line="593">the AppStream component ID, e.g. `org.hughski.ColorHug2.firmware`</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_description"
              c:identifier="fwupd_release_set_description"
              version="0.9.3">
        <doc xml:space="preserve"
             filename="fwupd-release.c"
             line="554">Sets the update description.</doc>
        <source-position filename="fwupd-release.h" line="77"/>
        <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="fwupd-release.c"
                 line="556">A #FwupdRelease</doc>
            <type name="Release" c:type="FwupdRelease*"/>
          </instance-parameter>
          <parameter name="description" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-release.c"
                 line="557">the update description in AppStream markup format</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_details_url"
              c:identifier="fwupd_release_set_details_url"
              version="1.2.4">
        <doc xml:space="preserve"
             filename="fwupd-release.c"
             line="482">Sets the URL for the online update notes.</doc>
        <source-position filename="fwupd-release.h" line="83"/>
        <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="fwupd-release.c"
                 line="484">A #FwupdRelease</doc>
            <type name="Release" c:type="FwupdRelease*"/>
          </instance-parameter>
          <parameter name="details_url" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-release.c"
                 line="485">the URL</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_filename"
              c:identifier="fwupd_release_set_filename"
              version="0.9.3">
        <doc xml:space="preserve"
             filename="fwupd-release.c"
             line="151">Sets the update filename.</doc>
        <source-position filename="fwupd-release.h" line="56"/>
        <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="fwupd-release.c"
                 line="153">A #FwupdRelease</doc>
            <type name="Release" c:type="FwupdRelease*"/>
          </instance-parameter>
          <parameter name="filename" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-release.c"
                 line="154">the update filename on disk</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_flags"
              c:identifier="fwupd_release_set_flags"
              version="1.2.6">
        <doc xml:space="preserve"
             filename="fwupd-release.c"
             line="843">Sets the release flags.</doc>
        <source-position filename="fwupd-release.h" line="100"/>
        <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="fwupd-release.c"
                 line="845">A #FwupdRelease</doc>
            <type name="Release" c:type="FwupdRelease*"/>
          </instance-parameter>
          <parameter name="flags" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-release.c"
                 line="846">the release flags, e.g. %FWUPD_RELEASE_FLAG_TRUSTED_PAYLOAD</doc>
            <type name="ReleaseFlags" c:type="FwupdReleaseFlags"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_homepage"
              c:identifier="fwupd_release_set_homepage"
              version="0.9.3">
        <doc xml:space="preserve"
             filename="fwupd-release.c"
             line="446">Sets the update homepage.</doc>
        <source-position filename="fwupd-release.h" line="80"/>
        <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="fwupd-release.c"
                 line="448">A #FwupdRelease</doc>
            <type name="Release" c:type="FwupdRelease*"/>
          </instance-parameter>
          <parameter name="homepage" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-release.c"
                 line="449">the description</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_install_duration"
              c:identifier="fwupd_release_set_install_duration"
              version="1.2.1">
        <doc xml:space="preserve"
             filename="fwupd-release.c"
             line="931">Sets the time estimate for firmware installation (in seconds)</doc>
        <source-position filename="fwupd-release.h" line="109"/>
        <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="fwupd-release.c"
                 line="933">A #FwupdRelease</doc>
            <type name="Release" c:type="FwupdRelease*"/>
          </instance-parameter>
          <parameter name="duration" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-release.c"
                 line="934">The amount of time</doc>
            <type name="guint32" c:type="guint32"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_license"
              c:identifier="fwupd_release_set_license"
              version="0.9.3">
        <doc xml:space="preserve"
             filename="fwupd-release.c"
             line="733">Sets the update license.</doc>
        <source-position filename="fwupd-release.h" line="92"/>
        <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="fwupd-release.c"
                 line="735">A #FwupdRelease</doc>
            <type name="Release" c:type="FwupdRelease*"/>
          </instance-parameter>
          <parameter name="license" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-release.c"
                 line="736">the description</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_name"
              c:identifier="fwupd_release_set_name"
              version="0.9.3">
        <doc xml:space="preserve"
             filename="fwupd-release.c"
             line="769">Sets the update name.</doc>
        <source-position filename="fwupd-release.h" line="71"/>
        <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="fwupd-release.c"
                 line="771">A #FwupdRelease</doc>
            <type name="Release" c:type="FwupdRelease*"/>
          </instance-parameter>
          <parameter name="name" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-release.c"
                 line="772">the description</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_protocol"
              c:identifier="fwupd_release_set_protocol"
              version="1.2.2">
        <doc xml:space="preserve"
             filename="fwupd-release.c"
             line="223">Sets the update protocol.</doc>
        <source-position filename="fwupd-release.h" line="59"/>
        <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="fwupd-release.c"
                 line="225">A #FwupdRelease</doc>
            <type name="Release" c:type="FwupdRelease*"/>
          </instance-parameter>
          <parameter name="protocol" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-release.c"
                 line="226">the update protocol, e.g. `org.usb.dfu`</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_remote_id"
              c:identifier="fwupd_release_set_remote_id"
              version="0.9.3">
        <doc xml:space="preserve"
             filename="fwupd-release.c"
             line="79">Sets the remote ID that can be used for downloading.</doc>
        <source-position filename="fwupd-release.h" line="65"/>
        <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="fwupd-release.c"
                 line="81">A #FwupdRelease</doc>
            <type name="Release" c:type="FwupdRelease*"/>
          </instance-parameter>
          <parameter name="remote_id" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-release.c"
                 line="82">the release ID, e.g. `USB:foo`</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_size"
              c:identifier="fwupd_release_set_size"
              version="0.9.3">
        <doc xml:space="preserve"
             filename="fwupd-release.c"
             line="626">Sets the update size.</doc>
        <source-position filename="fwupd-release.h" line="89"/>
        <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="fwupd-release.c"
                 line="628">A #FwupdRelease</doc>
            <type name="Release" c:type="FwupdRelease*"/>
          </instance-parameter>
          <parameter name="size" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-release.c"
                 line="629">the update size in bytes</doc>
            <type name="guint64" c:type="guint64"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_source_url"
              c:identifier="fwupd_release_set_source_url"
              version="1.2.4">
        <doc xml:space="preserve"
             filename="fwupd-release.c"
             line="518">Sets the URL of the source code used to build this release.</doc>
        <source-position filename="fwupd-release.h" line="86"/>
        <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="fwupd-release.c"
                 line="520">A #FwupdRelease</doc>
            <type name="Release" c:type="FwupdRelease*"/>
          </instance-parameter>
          <parameter name="source_url" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-release.c"
                 line="521">the URL</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_summary"
              c:identifier="fwupd_release_set_summary"
              version="0.9.3">
        <doc xml:space="preserve"
             filename="fwupd-release.c"
             line="661">Sets the update summary.</doc>
        <source-position filename="fwupd-release.h" line="74"/>
        <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="fwupd-release.c"
                 line="663">A #FwupdRelease</doc>
            <type name="Release" c:type="FwupdRelease*"/>
          </instance-parameter>
          <parameter name="summary" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-release.c"
                 line="664">the update one line summary</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_trust_flags"
              c:identifier="fwupd_release_set_trust_flags"
              version="0.9.8">
        <doc xml:space="preserve"
             filename="fwupd-release.c"
             line="805">Sets the trust level of the release.</doc>
        <source-position filename="fwupd-release.h" line="96"/>
        <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="fwupd-release.c"
                 line="807">A #FwupdRelease</doc>
            <type name="Release" c:type="FwupdRelease*"/>
          </instance-parameter>
          <parameter name="trust_flags" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-release.c"
                 line="808">the bitfield, e.g. #FWUPD_TRUST_FLAG_PAYLOAD</doc>
            <type name="TrustFlags" c:type="FwupdTrustFlags"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_update_message"
              c:identifier="fwupd_release_set_update_message"
              version="1.2.4">
        <doc xml:space="preserve"
             filename="fwupd-release.c"
             line="187">Sets the update message.</doc>
        <source-position filename="fwupd-release.h" line="112"/>
        <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="fwupd-release.c"
                 line="189">A #FwupdRelease</doc>
            <type name="Release" c:type="FwupdRelease*"/>
          </instance-parameter>
          <parameter name="update_message" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-release.c"
                 line="190">the update message string</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_uri"
              c:identifier="fwupd_release_set_uri"
              version="0.9.3">
        <doc xml:space="preserve"
             filename="fwupd-release.c"
             line="410">Sets the update uri, i.e. where you can download the firmware from.</doc>
        <source-position filename="fwupd-release.h" line="38"/>
        <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="fwupd-release.c"
                 line="412">A #FwupdRelease</doc>
            <type name="Release" c:type="FwupdRelease*"/>
          </instance-parameter>
          <parameter name="uri" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-release.c"
                 line="413">the update URI</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_vendor"
              c:identifier="fwupd_release_set_vendor"
              version="0.9.3">
        <doc xml:space="preserve"
             filename="fwupd-release.c"
             line="697">Sets the update vendor.</doc>
        <source-position filename="fwupd-release.h" line="68"/>
        <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="fwupd-release.c"
                 line="699">A #FwupdRelease</doc>
            <type name="Release" c:type="FwupdRelease*"/>
          </instance-parameter>
          <parameter name="vendor" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-release.c"
                 line="700">the vendor name, e.g. `Hughski Limited`</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_version"
              c:identifier="fwupd_release_set_version"
              version="0.9.3">
        <doc xml:space="preserve"
             filename="fwupd-release.c"
             line="115">Sets the update version.</doc>
        <source-position filename="fwupd-release.h" line="35"/>
        <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="fwupd-release.c"
                 line="117">A #FwupdRelease</doc>
            <type name="Release" c:type="FwupdRelease*"/>
          </instance-parameter>
          <parameter name="version" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-release.c"
                 line="118">the update version, e.g. `1.2.4`</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="to_json"
              c:identifier="fwupd_release_to_json"
              version="1.2.6"
              introspectable="0">
        <doc xml:space="preserve"
             filename="fwupd-release.c"
             line="1262">Adds a fwupd release to a JSON builder</doc>
        <source-position filename="fwupd-release-private.h" line="18"/>
        <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="fwupd-release.c"
                 line="1264">A #FwupdRelease</doc>
            <type name="Release" c:type="FwupdRelease*"/>
          </instance-parameter>
          <parameter name="builder" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-release.c"
                 line="1265">A #JsonBuilder</doc>
            <type c:type="JsonBuilder*"/>
          </parameter>
        </parameters>
      </method>
      <method name="to_string"
              c:identifier="fwupd_release_to_string"
              version="0.9.3">
        <doc xml:space="preserve"
             filename="fwupd-release.c"
             line="1327">Builds a text representation of the object.</doc>
        <source-position filename="fwupd-release.h" line="32"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="fwupd-release.c"
               line="1333">text, or %NULL for invalid</doc>
          <type name="utf8" c:type="gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="release" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-release.c"
                 line="1329">A #FwupdRelease</doc>
            <type name="Release" c:type="FwupdRelease*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="to_variant"
              c:identifier="fwupd_release_to_variant"
              version="1.0.0">
        <doc xml:space="preserve"
             filename="fwupd-release.c"
             line="975">Creates a GVariant from the release data.</doc>
        <source-position filename="fwupd-release-private.h" line="17"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="fwupd-release.c"
               line="981">the GVariant, or %NULL for error</doc>
          <type name="GLib.Variant" c:type="GVariant*"/>
        </return-value>
        <parameters>
          <instance-parameter name="release" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-release.c"
                 line="977">A #FwupdRelease</doc>
            <type name="Release" c:type="FwupdRelease*"/>
          </instance-parameter>
        </parameters>
      </method>
      <field name="parent_instance">
        <type name="GObject.Object" c:type="GObject"/>
      </field>
    </class>
    <record name="ReleaseClass"
            c:type="FwupdReleaseClass"
            glib:is-gtype-struct-for="Release">
      <source-position filename="fwupd-release.h" line="29"/>
      <field name="parent_class">
        <type name="GObject.ObjectClass" c:type="GObjectClass"/>
      </field>
      <field name="_fwupd_reserved1" introspectable="0">
        <callback name="_fwupd_reserved1">
          <source-position filename="fwupd-release.h" line="22"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_fwupd_reserved2" introspectable="0">
        <callback name="_fwupd_reserved2">
          <source-position filename="fwupd-release.h" line="23"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_fwupd_reserved3" introspectable="0">
        <callback name="_fwupd_reserved3">
          <source-position filename="fwupd-release.h" line="24"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_fwupd_reserved4" introspectable="0">
        <callback name="_fwupd_reserved4">
          <source-position filename="fwupd-release.h" line="25"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_fwupd_reserved5" introspectable="0">
        <callback name="_fwupd_reserved5">
          <source-position filename="fwupd-release.h" line="26"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_fwupd_reserved6" introspectable="0">
        <callback name="_fwupd_reserved6">
          <source-position filename="fwupd-release.h" line="27"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_fwupd_reserved7" introspectable="0">
        <callback name="_fwupd_reserved7">
          <source-position filename="fwupd-release.h" line="28"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
    </record>
    <class name="Remote"
           c:symbol-prefix="remote"
           c:type="FwupdRemote"
           parent="GObject.Object"
           glib:type-name="FwupdRemote"
           glib:get-type="fwupd_remote_get_type"
           glib:type-struct="RemoteClass">
      <source-position filename="fwupd-remote.h" line="27"/>
      <constructor name="new" c:identifier="fwupd_remote_new" version="0.9.3">
        <doc xml:space="preserve"
             filename="fwupd-remote.c"
             line="1246">Creates a new fwupd remote.</doc>
        <source-position filename="fwupd-remote.h" line="50"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="fwupd-remote.c"
               line="1251">a new #FwupdRemote</doc>
          <type name="Remote" c:type="FwupdRemote*"/>
        </return-value>
      </constructor>
      <function name="from_variant"
                c:identifier="fwupd_remote_from_variant"
                version="1.0.0">
        <doc xml:space="preserve"
             filename="fwupd-remote.c"
             line="1213">Creates a new remote using packed data.</doc>
        <source-position filename="fwupd-remote-private.h" line="13"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="fwupd-remote.c"
               line="1219">a new #FwupdRemote, or %NULL if @data was invalid</doc>
          <type name="Remote" c:type="FwupdRemote*"/>
        </return-value>
        <parameters>
          <parameter name="data" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-remote.c"
                 line="1215">a #GVariant</doc>
            <type name="GLib.Variant" c:type="GVariant*"/>
          </parameter>
        </parameters>
      </function>
      <function name="kind_from_string"
                c:identifier="fwupd_remote_kind_from_string"
                version="0.9.6">
        <doc xml:space="preserve"
             filename="fwupd-remote.c"
             line="263">Converts an printable string to an enumerated type.</doc>
        <source-position filename="fwupd-remote.h" line="47"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="fwupd-remote.c"
               line="269">a #FwupdRemoteKind, e.g. %FWUPD_REMOTE_KIND_DOWNLOAD</doc>
          <type name="RemoteKind" c:type="FwupdRemoteKind"/>
        </return-value>
        <parameters>
          <parameter name="kind" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-remote.c"
                 line="265">a string, e.g. `download`</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </function>
      <function name="kind_to_string"
                c:identifier="fwupd_remote_kind_to_string"
                version="0.9.6">
        <doc xml:space="preserve"
             filename="fwupd-remote.c"
             line="285">Converts an enumerated type to a printable string.</doc>
        <source-position filename="fwupd-remote.h" line="48"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="fwupd-remote.c"
               line="291">a string, e.g. `download`</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <parameter name="kind" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-remote.c"
                 line="287">a #FwupdRemoteKind, e.g. %FWUPD_REMOTE_KIND_DOWNLOAD</doc>
            <type name="RemoteKind" c:type="FwupdRemoteKind"/>
          </parameter>
        </parameters>
      </function>
      <method name="build_firmware_uri"
              c:identifier="fwupd_remote_build_firmware_uri"
              version="0.9.7"
              throws="1">
        <doc xml:space="preserve"
             filename="fwupd-remote.c"
             line="804">Builds a URI for the URL using the username and password set for the remote,
including any basename URI substitution.</doc>
        <source-position filename="fwupd-remote.h" line="70"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="fwupd-remote.c"
               line="813">a URI, or %NULL for error</doc>
          <type name="utf8" c:type="gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-remote.c"
                 line="806">A #FwupdRemote</doc>
            <type name="Remote" c:type="FwupdRemote*"/>
          </instance-parameter>
          <parameter name="url" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-remote.c"
                 line="807">the URL to use</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_age"
              c:identifier="fwupd_remote_get_age"
              version="0.9.5">
        <doc xml:space="preserve"
             filename="fwupd-remote.c"
             line="658">Gets the age of the remote in seconds.</doc>
        <source-position filename="fwupd-remote.h" line="67"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="fwupd-remote.c"
               line="664">a age, or %G_MAXUINT64 for unavailable</doc>
          <type name="guint64" c:type="guint64"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-remote.c"
                 line="660">A #FwupdRemote</doc>
            <type name="Remote" c:type="FwupdRemote*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_agreement"
              c:identifier="fwupd_remote_get_agreement"
              version="1.0.7">
        <doc xml:space="preserve"
             filename="fwupd-remote.c"
             line="768">Gets the remote agreement in AppStream markup format</doc>
        <source-position filename="fwupd-remote.h" line="53"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="fwupd-remote.c"
               line="774">a string, or %NULL if unset</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-remote.c"
                 line="770">A #FwupdRemote</doc>
            <type name="Remote" c:type="FwupdRemote*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_approval_required"
              c:identifier="fwupd_remote_get_approval_required"
              version="1.2.6">
        <doc xml:space="preserve"
             filename="fwupd-remote.c"
             line="916">Gets if firmware from the remote should be checked against the list
of a approved checksums.</doc>
        <source-position filename="fwupd-remote.h" line="65"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="fwupd-remote.c"
               line="923">a #TRUE if the remote is restricted</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-remote.c"
                 line="918">A #FwupdRemote</doc>
            <type name="Remote" c:type="FwupdRemote*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_checksum"
              c:identifier="fwupd_remote_get_checksum"
              version="1.0.0">
        <doc xml:space="preserve"
             filename="fwupd-remote.c"
             line="786">Gets the remote checksum.</doc>
        <source-position filename="fwupd-remote.h" line="54"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="fwupd-remote.c"
               line="792">a string, or %NULL if unset</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-remote.c"
                 line="788">A #FwupdRemote</doc>
            <type name="Remote" c:type="FwupdRemote*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_enabled"
              c:identifier="fwupd_remote_get_enabled"
              version="0.9.3">
        <doc xml:space="preserve"
             filename="fwupd-remote.c"
             line="898">Gets if the remote is enabled and should be used.</doc>
        <source-position filename="fwupd-remote.h" line="64"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="fwupd-remote.c"
               line="904">a #TRUE if the remote is enabled</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-remote.c"
                 line="900">A #FwupdRemote</doc>
            <type name="Remote" c:type="FwupdRemote*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_filename_cache"
              c:identifier="fwupd_remote_get_filename_cache"
              version="0.9.6">
        <doc xml:space="preserve"
             filename="fwupd-remote.c"
             line="550">Gets the path and filename that the remote is using for a cache.</doc>
        <source-position filename="fwupd-remote.h" line="57"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="fwupd-remote.c"
               line="556">a string, or %NULL for unset</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-remote.c"
                 line="552">A #FwupdRemote</doc>
            <type name="Remote" c:type="FwupdRemote*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_filename_cache_sig"
              c:identifier="fwupd_remote_get_filename_cache_sig"
              version="0.9.7">
        <doc xml:space="preserve"
             filename="fwupd-remote.c"
             line="568">Gets the path and filename that the remote is using for a signature cache.</doc>
        <source-position filename="fwupd-remote.h" line="58"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="fwupd-remote.c"
               line="574">a string, or %NULL for unset</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-remote.c"
                 line="570">A #FwupdRemote</doc>
            <type name="Remote" c:type="FwupdRemote*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_filename_source"
              c:identifier="fwupd_remote_get_filename_source"
              version="0.9.8">
        <doc xml:space="preserve"
             filename="fwupd-remote.c"
             line="586">Gets the path and filename of the remote itself, typically a `.conf` file.</doc>
        <source-position filename="fwupd-remote.h" line="59"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="fwupd-remote.c"
               line="592">a string, or %NULL for unset</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-remote.c"
                 line="588">A #FwupdRemote</doc>
            <type name="Remote" c:type="FwupdRemote*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_firmware_base_uri"
              c:identifier="fwupd_remote_get_firmware_base_uri"
              version="0.9.7">
        <doc xml:space="preserve"
             filename="fwupd-remote.c"
             line="880">Gets the base URI for firmware.</doc>
        <source-position filename="fwupd-remote.h" line="60"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="fwupd-remote.c"
               line="886">a URI, or %NULL for unset.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-remote.c"
                 line="882">A #FwupdRemote</doc>
            <type name="Remote" c:type="FwupdRemote*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_id" c:identifier="fwupd_remote_get_id" version="0.9.3">
        <doc xml:space="preserve"
             filename="fwupd-remote.c"
             line="935">Gets the remote ID, e.g. `lvfs-testing`.</doc>
        <source-position filename="fwupd-remote.h" line="51"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="fwupd-remote.c"
               line="941">a string, or %NULL if unset</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-remote.c"
                 line="937">A #FwupdRemote</doc>
            <type name="Remote" c:type="FwupdRemote*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_keyring_kind"
              c:identifier="fwupd_remote_get_keyring_kind"
              version="0.9.7">
        <doc xml:space="preserve"
             filename="fwupd-remote.c"
             line="640">Gets the keyring kind of the remote.</doc>
        <source-position filename="fwupd-remote.h" line="69"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="fwupd-remote.c"
               line="646">a #FwupdKeyringKind, e.g. #FWUPD_KEYRING_KIND_GPG</doc>
          <type name="KeyringKind" c:type="FwupdKeyringKind"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-remote.c"
                 line="642">A #FwupdRemote</doc>
            <type name="Remote" c:type="FwupdRemote*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_kind"
              c:identifier="fwupd_remote_get_kind"
              version="0.9.6">
        <doc xml:space="preserve"
             filename="fwupd-remote.c"
             line="622">Gets the kind of the remote.</doc>
        <source-position filename="fwupd-remote.h" line="68"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="fwupd-remote.c"
               line="628">a #FwupdRemoteKind, e.g. #FWUPD_REMOTE_KIND_LOCAL</doc>
          <type name="RemoteKind" c:type="FwupdRemoteKind"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-remote.c"
                 line="624">A #FwupdRemote</doc>
            <type name="Remote" c:type="FwupdRemote*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_metadata_uri"
              c:identifier="fwupd_remote_get_metadata_uri"
              version="0.9.7">
        <doc xml:space="preserve"
             filename="fwupd-remote.c"
             line="844">Gets the URI for the remote metadata.</doc>
        <source-position filename="fwupd-remote.h" line="62"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="fwupd-remote.c"
               line="850">a URI, or %NULL for invalid.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-remote.c"
                 line="846">A #FwupdRemote</doc>
            <type name="Remote" c:type="FwupdRemote*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_metadata_uri_sig"
              c:identifier="fwupd_remote_get_metadata_uri_sig"
              version="0.9.7">
        <doc xml:space="preserve"
             filename="fwupd-remote.c"
             line="862">Gets the URI for the remote metadata signature.</doc>
        <source-position filename="fwupd-remote.h" line="63"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="fwupd-remote.c"
               line="868">a URI, or %NULL for invalid.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-remote.c"
                 line="864">A #FwupdRemote</doc>
            <type name="Remote" c:type="FwupdRemote*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_order_after"
              c:identifier="fwupd_remote_get_order_after"
              version="0.9.5">
        <doc xml:space="preserve"
             filename="fwupd-remote.c"
             line="514">Gets the list of remotes this plugin should be ordered after.</doc>
        <source-position filename="fwupd-remote-private.h" line="25"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="fwupd-remote.c"
               line="520">an array</doc>
          <array c:type="gchar**">
            <type name="utf8"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-remote.c"
                 line="516">A #FwupdRemote</doc>
            <type name="Remote" c:type="FwupdRemote*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_order_before"
              c:identifier="fwupd_remote_get_order_before"
              version="0.9.5">
        <doc xml:space="preserve"
             filename="fwupd-remote.c"
             line="532">Gets the list of remotes this plugin should be ordered before.</doc>
        <source-position filename="fwupd-remote-private.h" line="26"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="fwupd-remote.c"
               line="538">an array</doc>
          <array c:type="gchar**">
            <type name="utf8"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-remote.c"
                 line="534">A #FwupdRemote</doc>
            <type name="Remote" c:type="FwupdRemote*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_password"
              c:identifier="fwupd_remote_get_password"
              version="0.9.5">
        <doc xml:space="preserve"
             filename="fwupd-remote.c"
             line="732">Gets the password configured for the remote.</doc>
        <source-position filename="fwupd-remote.h" line="56"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="fwupd-remote.c"
               line="738">a string, or %NULL for unset</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-remote.c"
                 line="734">A #FwupdRemote</doc>
            <type name="Remote" c:type="FwupdRemote*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_priority"
              c:identifier="fwupd_remote_get_priority"
              version="0.9.5">
        <doc xml:space="preserve"
             filename="fwupd-remote.c"
             line="604">Gets the priority of the remote, where bigger numbers are better.</doc>
        <source-position filename="fwupd-remote.h" line="66"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="fwupd-remote.c"
               line="610">a priority, or 0 for the default value</doc>
          <type name="gint" c:type="gint"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-remote.c"
                 line="606">A #FwupdRemote</doc>
            <type name="Remote" c:type="FwupdRemote*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_report_uri"
              c:identifier="fwupd_remote_get_report_uri"
              version="1.0.4">
        <doc xml:space="preserve"
             filename="fwupd-remote.c"
             line="826">Gets the URI for the remote reporting.</doc>
        <source-position filename="fwupd-remote.h" line="61"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="fwupd-remote.c"
               line="832">a URI, or %NULL for invalid.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-remote.c"
                 line="828">A #FwupdRemote</doc>
            <type name="Remote" c:type="FwupdRemote*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_title"
              c:identifier="fwupd_remote_get_title"
              version="0.9.8">
        <doc xml:space="preserve"
             filename="fwupd-remote.c"
             line="750">Gets the remote title, e.g. `Linux Vendor Firmware Service`.</doc>
        <source-position filename="fwupd-remote.h" line="52"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="fwupd-remote.c"
               line="756">a string, or %NULL if unset</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-remote.c"
                 line="752">A #FwupdRemote</doc>
            <type name="Remote" c:type="FwupdRemote*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_username"
              c:identifier="fwupd_remote_get_username"
              version="0.9.5">
        <doc xml:space="preserve"
             filename="fwupd-remote.c"
             line="714">Gets the username configured for the remote.</doc>
        <source-position filename="fwupd-remote.h" line="55"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="fwupd-remote.c"
               line="720">a string, or %NULL for unset</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-remote.c"
                 line="716">A #FwupdRemote</doc>
            <type name="Remote" c:type="FwupdRemote*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="load_from_filename"
              c:identifier="fwupd_remote_load_from_filename"
              version="0.9.3"
              throws="1">
        <doc xml:space="preserve"
             filename="fwupd-remote.c"
             line="326">Sets up the remote ready for use. Most other methods call this
for you, and do you only need to call this if you are just watching
the self.</doc>
        <source-position filename="fwupd-remote-private.h" line="15"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="fwupd-remote.c"
               line="337">%TRUE for success</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-remote.c"
                 line="328">A #FwupdRemote</doc>
            <type name="Remote" c:type="FwupdRemote*"/>
          </instance-parameter>
          <parameter name="filename" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-remote.c"
                 line="329">A filename</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="fwupd-remote.c"
                 line="330">the #GCancellable, or %NULL</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_agreement"
              c:identifier="fwupd_remote_set_agreement"
              version="1.0.7">
        <doc xml:space="preserve"
             filename="fwupd-remote.c"
             line="80">Sets the remote agreement in AppStream markup format</doc>
        <source-position filename="fwupd-remote-private.h" line="21"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-remote.c"
                 line="82">A #FwupdRemote</doc>
            <type name="Remote" c:type="FwupdRemote*"/>
          </instance-parameter>
          <parameter name="agreement" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-remote.c"
                 line="83">Agreement markup</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_mtime"
              c:identifier="fwupd_remote_set_mtime"
              version="0.9.5">
        <doc xml:space="preserve"
             filename="fwupd-remote.c"
             line="697">Sets the plugin modification time.</doc>
        <source-position filename="fwupd-remote-private.h" line="23"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-remote.c"
                 line="699">A #FwupdRemote</doc>
            <type name="Remote" c:type="FwupdRemote*"/>
          </instance-parameter>
          <parameter name="mtime" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-remote.c"
                 line="700">a UNIX itmestamp</doc>
            <type name="guint64" c:type="guint64"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_priority"
              c:identifier="fwupd_remote_set_priority"
              version="0.9.5">
        <doc xml:space="preserve"
             filename="fwupd-remote.c"
             line="680">Sets the plugin priority.</doc>
        <source-position filename="fwupd-remote-private.h" line="19"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-remote.c"
                 line="682">A #FwupdRemote</doc>
            <type name="Remote" c:type="FwupdRemote*"/>
          </instance-parameter>
          <parameter name="priority" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-remote.c"
                 line="683">an integer, where 1 is better</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
        </parameters>
      </method>
      <method name="to_variant"
              c:identifier="fwupd_remote_to_variant"
              version="1.0.0">
        <doc xml:space="preserve"
             filename="fwupd-remote.c"
             line="1006">Creates a GVariant from the remote data.</doc>
        <source-position filename="fwupd-remote-private.h" line="14"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="fwupd-remote.c"
               line="1012">the GVariant, or %NULL for error</doc>
          <type name="GLib.Variant" c:type="GVariant*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="fwupd-remote.c"
                 line="1008">A #FwupdRemote</doc>
            <type name="Remote" c:type="FwupdRemote*"/>
          </instance-parameter>
        </parameters>
      </method>
      <property name="approval-required"
                version="1.2.6"
                writable="1"
                transfer-ownership="none">
        <doc xml:space="preserve"
             filename="fwupd-remote.c"
             line="1170">If firmware from the remote should be checked against the system
list of approved firmware.</doc>
        <type name="gboolean" c:type="gboolean"/>
      </property>
      <property name="enabled"
                version="0.9.3"
                writable="1"
                transfer-ownership="none">
        <doc xml:space="preserve"
             filename="fwupd-remote.c"
             line="1159">If the remote is enabled and should be used.</doc>
        <type name="gboolean" c:type="gboolean"/>
      </property>
      <property name="id"
                version="0.9.3"
                writable="1"
                transfer-ownership="none">
        <doc xml:space="preserve"
             filename="fwupd-remote.c"
             line="1148">The remote ID.</doc>
        <type name="utf8" c:type="gchar*"/>
      </property>
      <field name="parent_instance">
        <type name="GObject.Object" c:type="GObject"/>
      </field>
    </class>
    <record name="RemoteClass"
            c:type="FwupdRemoteClass"
            glib:is-gtype-struct-for="Remote">
      <source-position filename="fwupd-remote.h" line="27"/>
      <field name="parent_class">
        <type name="GObject.ObjectClass" c:type="GObjectClass"/>
      </field>
      <field name="_fwupd_reserved1" introspectable="0">
        <callback name="_fwupd_reserved1">
          <source-position filename="fwupd-remote.h" line="20"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_fwupd_reserved2" introspectable="0">
        <callback name="_fwupd_reserved2">
          <source-position filename="fwupd-remote.h" line="21"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_fwupd_reserved3" introspectable="0">
        <callback name="_fwupd_reserved3">
          <source-position filename="fwupd-remote.h" line="22"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_fwupd_reserved4" introspectable="0">
        <callback name="_fwupd_reserved4">
          <source-position filename="fwupd-remote.h" line="23"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_fwupd_reserved5" introspectable="0">
        <callback name="_fwupd_reserved5">
          <source-position filename="fwupd-remote.h" line="24"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_fwupd_reserved6" introspectable="0">
        <callback name="_fwupd_reserved6">
          <source-position filename="fwupd-remote.h" line="25"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_fwupd_reserved7" introspectable="0">
        <callback name="_fwupd_reserved7">
          <source-position filename="fwupd-remote.h" line="26"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
    </record>
    <enumeration name="RemoteKind" c:type="FwupdRemoteKind">
      <doc xml:space="preserve"
           filename="fwupd-remote.h"
           line="29">The kind of remote.</doc>
      <source-position filename="fwupd-remote.h" line="45"/>
      <member name="unknown"
              value="0"
              c:identifier="FWUPD_REMOTE_KIND_UNKNOWN">
        <doc xml:space="preserve"
             filename="fwupd-remote.h"
             line="31">Unknown kind</doc>
      </member>
      <member name="download"
              value="1"
              c:identifier="FWUPD_REMOTE_KIND_DOWNLOAD">
        <doc xml:space="preserve"
             filename="fwupd-remote.h"
             line="32">Requires files to be downloaded</doc>
      </member>
      <member name="local" value="2" c:identifier="FWUPD_REMOTE_KIND_LOCAL">
        <doc xml:space="preserve"
             filename="fwupd-remote.h"
             line="33">Reads files from the local machine</doc>
      </member>
      <member name="directory"
              value="3"
              c:identifier="FWUPD_REMOTE_KIND_DIRECTORY">
        <doc xml:space="preserve"
             filename="fwupd-remote.h"
             line="34">Reads directory from the local machine</doc>
      </member>
    </enumeration>
    <bitfield name="SelfSignFlags" c:type="FwupdSelfSignFlags">
      <doc xml:space="preserve"
           filename="fwupd-enums.h"
           line="163">Flags to set when performing the firwmare update or install.</doc>
      <source-position filename="fwupd-enums.h" line="177"/>
      <member name="none" value="0" c:identifier="FWUPD_SELF_SIGN_FLAG_NONE">
        <doc xml:space="preserve"
             filename="fwupd-enums.h"
             line="165">No flags set</doc>
      </member>
      <member name="add_timestamp"
              value="1"
              c:identifier="FWUPD_SELF_SIGN_FLAG_ADD_TIMESTAMP">
        <doc xml:space="preserve"
             filename="fwupd-enums.h"
             line="166">Add the timestamp to the detached signature</doc>
      </member>
      <member name="add_cert"
              value="2"
              c:identifier="FWUPD_SELF_SIGN_FLAG_ADD_CERT">
        <doc xml:space="preserve"
             filename="fwupd-enums.h"
             line="167">Add the certificate to the detached signature</doc>
      </member>
    </bitfield>
    <enumeration name="Status" c:type="FwupdStatus">
      <doc xml:space="preserve"
           filename="fwupd-enums.h"
           line="13">The flags to show daemon status.</doc>
      <source-position filename="fwupd-enums.h" line="49"/>
      <member name="unknown" value="0" c:identifier="FWUPD_STATUS_UNKNOWN">
        <doc xml:space="preserve"
             filename="fwupd-enums.h"
             line="15">Unknown state</doc>
      </member>
      <member name="idle" value="1" c:identifier="FWUPD_STATUS_IDLE">
        <doc xml:space="preserve" filename="fwupd-enums.h" line="16">Idle</doc>
      </member>
      <member name="loading" value="2" c:identifier="FWUPD_STATUS_LOADING">
        <doc xml:space="preserve"
             filename="fwupd-enums.h"
             line="17">Loading a resource</doc>
      </member>
      <member name="decompressing"
              value="3"
              c:identifier="FWUPD_STATUS_DECOMPRESSING">
        <doc xml:space="preserve"
             filename="fwupd-enums.h"
             line="18">Decompressing firmware</doc>
      </member>
      <member name="device_restart"
              value="4"
              c:identifier="FWUPD_STATUS_DEVICE_RESTART">
        <doc xml:space="preserve"
             filename="fwupd-enums.h"
             line="19">Restarting the device</doc>
      </member>
      <member name="device_write"
              value="5"
              c:identifier="FWUPD_STATUS_DEVICE_WRITE">
        <doc xml:space="preserve"
             filename="fwupd-enums.h"
             line="20">Writing to a device</doc>
      </member>
      <member name="device_verify"
              value="6"
              c:identifier="FWUPD_STATUS_DEVICE_VERIFY">
        <doc xml:space="preserve"
             filename="fwupd-enums.h"
             line="21">Verifying (reading) a device</doc>
      </member>
      <member name="scheduling"
              value="7"
              c:identifier="FWUPD_STATUS_SCHEDULING">
        <doc xml:space="preserve"
             filename="fwupd-enums.h"
             line="22">Scheduling an offline update</doc>
      </member>
      <member name="downloading"
              value="8"
              c:identifier="FWUPD_STATUS_DOWNLOADING">
        <doc xml:space="preserve"
             filename="fwupd-enums.h"
             line="23">A file is downloading</doc>
      </member>
      <member name="device_read"
              value="9"
              c:identifier="FWUPD_STATUS_DEVICE_READ">
        <doc xml:space="preserve"
             filename="fwupd-enums.h"
             line="24">Reading from a device</doc>
      </member>
      <member name="device_erase"
              value="10"
              c:identifier="FWUPD_STATUS_DEVICE_ERASE">
        <doc xml:space="preserve"
             filename="fwupd-enums.h"
             line="25">Erasing a device</doc>
      </member>
      <member name="waiting_for_auth"
              value="11"
              c:identifier="FWUPD_STATUS_WAITING_FOR_AUTH">
        <doc xml:space="preserve"
             filename="fwupd-enums.h"
             line="26">Waiting for authentication</doc>
      </member>
      <member name="device_busy"
              value="12"
              c:identifier="FWUPD_STATUS_DEVICE_BUSY">
        <doc xml:space="preserve"
             filename="fwupd-enums.h"
             line="27">The device is busy</doc>
      </member>
      <member name="shutdown" value="13" c:identifier="FWUPD_STATUS_SHUTDOWN">
        <doc xml:space="preserve"
             filename="fwupd-enums.h"
             line="28">The daemon is shutting down</doc>
      </member>
    </enumeration>
    <bitfield name="TrustFlags" c:type="FwupdTrustFlags">
      <doc xml:space="preserve"
           filename="fwupd-enums.h"
           line="51">The flags to show the level of trust.</doc>
      <source-position filename="fwupd-enums.h" line="65"/>
      <member name="none" value="0" c:identifier="FWUPD_TRUST_FLAG_NONE">
        <doc xml:space="preserve"
             filename="fwupd-enums.h"
             line="53">No trust</doc>
      </member>
      <member name="payload" value="1" c:identifier="FWUPD_TRUST_FLAG_PAYLOAD">
        <doc xml:space="preserve"
             filename="fwupd-enums.h"
             line="54">The firmware is trusted</doc>
      </member>
      <member name="metadata"
              value="2"
              c:identifier="FWUPD_TRUST_FLAG_METADATA">
        <doc xml:space="preserve"
             filename="fwupd-enums.h"
             line="55">The metadata is trusted</doc>
      </member>
    </bitfield>
    <enumeration name="UpdateState" c:type="FwupdUpdateState">
      <doc xml:space="preserve"
           filename="fwupd-enums.h"
           line="179">The update state.</doc>
      <source-position filename="fwupd-enums.h" line="197"/>
      <member name="unknown"
              value="0"
              c:identifier="FWUPD_UPDATE_STATE_UNKNOWN">
        <doc xml:space="preserve"
             filename="fwupd-enums.h"
             line="181">Unknown</doc>
      </member>
      <member name="pending"
              value="1"
              c:identifier="FWUPD_UPDATE_STATE_PENDING">
        <doc xml:space="preserve"
             filename="fwupd-enums.h"
             line="182">Update is pending</doc>
      </member>
      <member name="success"
              value="2"
              c:identifier="FWUPD_UPDATE_STATE_SUCCESS">
        <doc xml:space="preserve"
             filename="fwupd-enums.h"
             line="183">Update was successfull</doc>
      </member>
      <member name="failed" value="3" c:identifier="FWUPD_UPDATE_STATE_FAILED">
        <doc xml:space="preserve"
             filename="fwupd-enums.h"
             line="184">Update failed</doc>
      </member>
      <member name="needs_reboot"
              value="4"
              c:identifier="FWUPD_UPDATE_STATE_NEEDS_REBOOT">
        <doc xml:space="preserve"
             filename="fwupd-enums.h"
             line="185">Waiting for a reboot to apply</doc>
      </member>
    </enumeration>
    <function name="build_history_report_json"
              c:identifier="fwupd_build_history_report_json"
              version="1.0.4"
              throws="1">
      <doc xml:space="preserve"
           filename="fwupd-common.c"
           line="453">Builds a JSON report for the list of devices. No filtering is done on the
@devices array, and it is expected that the caller will filter to something
sane, e.g. %FWUPD_DEVICE_FLAG_REPORTED at the bare minimum.</doc>
      <source-position filename="fwupd-common.h" line="49"/>
      <return-value transfer-ownership="full">
        <doc xml:space="preserve"
             filename="fwupd-common.c"
             line="462">a string, or %NULL if the ID is not present</doc>
        <type name="utf8" c:type="gchar*"/>
      </return-value>
      <parameters>
        <parameter name="devices" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="fwupd-common.c"
               line="455">devices</doc>
          <array name="GLib.PtrArray" c:type="GPtrArray*">
            <type name="Device"/>
          </array>
        </parameter>
      </parameters>
    </function>
    <function name="build_machine_id"
              c:identifier="fwupd_build_machine_id"
              version="1.0.4"
              throws="1">
      <doc xml:space="preserve"
           filename="fwupd-common.c"
           line="300">Gets a salted hash of the /etc/machine-id contents. This can be used to
identify a specific machine. It is not possible to recover the original
machine-id from the machine-hash.</doc>
      <source-position filename="fwupd-common.h" line="46"/>
      <return-value transfer-ownership="full">
        <doc xml:space="preserve"
             filename="fwupd-common.c"
             line="309">the SHA256 machine hash, or %NULL if the ID is not present</doc>
        <type name="utf8" c:type="gchar*"/>
      </return-value>
      <parameters>
        <parameter name="salt" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="fwupd-common.c"
               line="302">The salt, or %NULL for none</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
      </parameters>
    </function>
    <function name="build_user_agent"
              c:identifier="fwupd_build_user_agent"
              version="1.0.3">
      <doc xml:space="preserve"
           filename="fwupd-common.c"
           line="259">Builds a user-agent to use for the download.

Supplying harmless details to the server means it knows more about each
client. This allows the web service to respond in a different way, for
instance sending a different metadata file for old versions of fwupd, or
returning an error for Solaris machines.

Before freaking out about theoretical privacy implications, much more data
than this is sent to each and every website you visit.</doc>
      <source-position filename="fwupd-common.h" line="44"/>
      <return-value transfer-ownership="full">
        <doc xml:space="preserve"
             filename="fwupd-common.c"
             line="274">a string, e.g. `foo/0.1 (Linux i386 4.14.5; en; Fedora 27) fwupd/1.0.3`</doc>
        <type name="utf8" c:type="gchar*"/>
      </return-value>
      <parameters>
        <parameter name="package_name" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="fwupd-common.c"
               line="261">client program name, e.g. "gnome-software"</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
        <parameter name="package_version" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="fwupd-common.c"
               line="262">client program version, e.g. "3.28.1"</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
      </parameters>
    </function>
    <function name="checksum_format_for_display"
              c:identifier="fwupd_checksum_format_for_display"
              version="0.9.3">
      <doc xml:space="preserve"
           filename="fwupd-common.c"
           line="65">Formats a checksum for display.</doc>
      <source-position filename="fwupd-common-private.h" line="15"/>
      <return-value transfer-ownership="full">
        <doc xml:space="preserve"
             filename="fwupd-common.c"
             line="71">text, or %NULL for invalid</doc>
        <type name="utf8" c:type="gchar*"/>
      </return-value>
      <parameters>
        <parameter name="checksum" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="fwupd-common.c"
               line="67">A checksum</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
      </parameters>
    </function>
    <function name="checksum_get_best"
              c:identifier="fwupd_checksum_get_best"
              version="0.9.4">
      <doc xml:space="preserve"
           filename="fwupd-common.c"
           line="106">Gets a the best possible checksum kind.</doc>
      <source-position filename="fwupd-common.h" line="40"/>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve"
             filename="fwupd-common.c"
             line="112">a checksum from the array, or %NULL if nothing was suitable</doc>
        <type name="utf8" c:type="const gchar*"/>
      </return-value>
      <parameters>
        <parameter name="checksums" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="fwupd-common.c"
               line="108">checksums</doc>
          <array name="GLib.PtrArray" c:type="GPtrArray*">
            <type name="utf8"/>
          </array>
        </parameter>
      </parameters>
    </function>
    <function name="checksum_get_by_kind"
              c:identifier="fwupd_checksum_get_by_kind"
              version="0.9.4">
      <doc xml:space="preserve"
           filename="fwupd-common.c"
           line="84">Gets a specific checksum kind.</doc>
      <source-position filename="fwupd-common.h" line="41"/>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve"
             filename="fwupd-common.c"
             line="91">a checksum from the array, or %NULL if not found</doc>
        <type name="utf8" c:type="const gchar*"/>
      </return-value>
      <parameters>
        <parameter name="checksums" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="fwupd-common.c"
               line="86">checksums</doc>
          <array name="GLib.PtrArray" c:type="GPtrArray*">
            <type name="utf8"/>
          </array>
        </parameter>
        <parameter name="kind" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="fwupd-common.c"
               line="87">a #GChecksumType, e.g. %G_CHECKSUM_SHA512</doc>
          <type name="GLib.ChecksumType" c:type="GChecksumType"/>
        </parameter>
      </parameters>
    </function>
    <function name="checksum_guess_kind"
              c:identifier="fwupd_checksum_guess_kind"
              version="0.9.3">
      <doc xml:space="preserve"
           filename="fwupd-common.c"
           line="23">Guesses the checksum kind based on the length of the hash.</doc>
      <source-position filename="fwupd-common.h" line="43"/>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve"
             filename="fwupd-common.c"
             line="29">a #GChecksumType, e.g. %G_CHECKSUM_SHA1</doc>
        <type name="GLib.ChecksumType" c:type="GChecksumType"/>
      </return-value>
      <parameters>
        <parameter name="checksum" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="fwupd-common.c"
               line="25">A checksum</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
      </parameters>
    </function>
    <function name="error_from_string"
              c:identifier="fwupd_error_from_string"
              version="0.7.0">
      <doc xml:space="preserve"
           filename="fwupd-error.c"
           line="69">Converts a string to a #FwupdError.</doc>
      <source-position filename="fwupd-error.h" line="55"/>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve"
             filename="fwupd-error.c"
             line="75">enumerated value</doc>
        <type name="Error" c:type="FwupdError"/>
      </return-value>
      <parameters>
        <parameter name="error" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="fwupd-error.c"
               line="71">A string, e.g. `org.freedesktop.fwupd.VersionNewer`</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
      </parameters>
    </function>
    <function name="error_quark"
              c:identifier="fwupd_error_quark"
              version="0.1.1">
      <return-value transfer-ownership="none">
        <doc xml:space="preserve"
             filename="fwupd-error.c"
             line="116">An error quark.</doc>
        <type name="GLib.Quark" c:type="GQuark"/>
      </return-value>
    </function>
    <function name="error_to_string"
              c:identifier="fwupd_error_to_string"
              version="0.7.0">
      <doc xml:space="preserve"
           filename="fwupd-error.c"
           line="25">Converts a #FwupdError to a string.</doc>
      <source-position filename="fwupd-error.h" line="54"/>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve"
             filename="fwupd-error.c"
             line="31">identifier string</doc>
        <type name="utf8" c:type="const gchar*"/>
      </return-value>
      <parameters>
        <parameter name="error" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="fwupd-error.c"
               line="27">A #FwupdError, e.g. %FWUPD_ERROR_VERSION_NEWER</doc>
          <type name="Error" c:type="FwupdError"/>
        </parameter>
      </parameters>
    </function>
    <function name="get_os_release"
              c:identifier="fwupd_get_os_release"
              version="1.0.7"
              throws="1">
      <doc xml:space="preserve"
           filename="fwupd-common.c"
           line="134">Loads information from the system os-release file.</doc>
      <source-position filename="fwupd-common.h" line="48"/>
      <return-value transfer-ownership="container">
        <doc xml:space="preserve"
             filename="fwupd-common.c"
             line="140">keys from os-release</doc>
        <type name="GLib.HashTable" c:type="GHashTable*">
          <type name="utf8"/>
          <type name="utf8"/>
        </type>
      </return-value>
    </function>
    <function name="guid_from_string"
              c:identifier="fwupd_guid_from_string"
              version="1.2.5"
              throws="1">
      <doc xml:space="preserve"
           filename="fwupd-common.c"
           line="642">Converts a string GUID into its binary encoding. All string GUIDs are
formatted as big endian but on-disk can be encoded in different ways.</doc>
      <source-position filename="fwupd-common.h" line="61"/>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve"
             filename="fwupd-common.c"
             line="652">%TRUE for success</doc>
        <type name="gboolean" c:type="gboolean"/>
      </return-value>
      <parameters>
        <parameter name="guidstr"
                   transfer-ownership="none"
                   nullable="1"
                   allow-none="1">
          <doc xml:space="preserve"
               filename="fwupd-common.c"
               line="644">a GUID, e.g. `00112233-4455-6677-8899-aabbccddeeff`</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
        <parameter name="guid" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="fwupd-common.c"
               line="645">a #fwupd_guid_t, or NULL to just check the GUID</doc>
          <type name="guint8" c:type="guint8*"/>
        </parameter>
        <parameter name="flags" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="fwupd-common.c"
               line="646">some %FwupdGuidFlags, e.g. %FWUPD_GUID_FLAG_MIXED_ENDIAN</doc>
          <type name="GuidFlags" c:type="FwupdGuidFlags"/>
        </parameter>
      </parameters>
    </function>
    <function name="guid_hash_data"
              c:identifier="fwupd_guid_hash_data"
              version="1.2.5">
      <doc xml:space="preserve"
           filename="fwupd-common.c"
           line="722">Returns a GUID for some data. This uses a hash and so even small
differences in the @data will produce radically different return values.

The implementation is taken from RFC4122, Section 4.1.3; specifically
using a type-5 SHA-1 hash.</doc>
      <source-position filename="fwupd-common.h" line="68"/>
      <return-value transfer-ownership="full">
        <doc xml:space="preserve"
             filename="fwupd-common.c"
             line="734">A new GUID, or %NULL for internal error</doc>
        <type name="utf8" c:type="gchar*"/>
      </return-value>
      <parameters>
        <parameter name="data" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="fwupd-common.c"
               line="724">data to hash</doc>
          <type name="guint8" c:type="const guint8*"/>
        </parameter>
        <parameter name="datasz" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="fwupd-common.c"
               line="725">length of @data</doc>
          <type name="gsize" c:type="gsize"/>
        </parameter>
        <parameter name="flags" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="fwupd-common.c"
               line="726">some %FwupdGuidFlags, e.g. %FWUPD_GUID_FLAG_NAMESPACE_MICROSOFT</doc>
          <type name="GuidFlags" c:type="FwupdGuidFlags"/>
        </parameter>
      </parameters>
    </function>
    <function name="guid_hash_string"
              c:identifier="fwupd_guid_hash_string"
              version="1.2.5">
      <doc xml:space="preserve"
           filename="fwupd-common.c"
           line="797">Returns a GUID for a given string. This uses a hash and so even small
differences in the @str will produce radically different return values.

The default implementation is taken from RFC4122, Section 4.1.3; specifically
using a type-5 SHA-1 hash with a DNS namespace.
The same result can be obtained with this simple python program:

   #!/usr/bin/python
   import uuid
   print uuid.uuid5(uuid.NAMESPACE_DNS, 'python.org')</doc>
      <source-position filename="fwupd-common.h" line="67"/>
      <return-value transfer-ownership="full">
        <doc xml:space="preserve"
             filename="fwupd-common.c"
             line="812">A new GUID, or %NULL if the string was invalid</doc>
        <type name="utf8" c:type="gchar*"/>
      </return-value>
      <parameters>
        <parameter name="str" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="fwupd-common.c"
               line="799">A source string to use as a key</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
      </parameters>
    </function>
    <function name="guid_is_valid"
              c:identifier="fwupd_guid_is_valid"
              version="1.2.5">
      <doc xml:space="preserve"
           filename="fwupd-common.c"
           line="775">Checks the string is a valid GUID.</doc>
      <source-position filename="fwupd-common.h" line="66"/>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve"
             filename="fwupd-common.c"
             line="781">%TRUE if @guid was a valid GUID, %FALSE otherwise</doc>
        <type name="gboolean" c:type="gboolean"/>
      </return-value>
      <parameters>
        <parameter name="guid" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="fwupd-common.c"
               line="777">string to check, e.g. `00112233-4455-6677-8899-aabbccddeeff`</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
      </parameters>
    </function>
    <function name="guid_to_string"
              c:identifier="fwupd_guid_to_string"
              version="1.2.5">
      <doc xml:space="preserve"
           filename="fwupd-common.c"
           line="534">Returns a text GUID of mixed or BE endian for a packed buffer.</doc>
      <source-position filename="fwupd-common.h" line="59"/>
      <return-value transfer-ownership="full">
        <doc xml:space="preserve"
             filename="fwupd-common.c"
             line="541">A new GUID</doc>
        <type name="utf8" c:type="gchar*"/>
      </return-value>
      <parameters>
        <parameter name="guid" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="fwupd-common.c"
               line="536">a #fwupd_guid_t to read</doc>
          <type name="guint8" c:type="const guint8*"/>
        </parameter>
        <parameter name="flags" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="fwupd-common.c"
               line="537">some %FwupdGuidFlags, e.g. %FWUPD_GUID_FLAG_MIXED_ENDIAN</doc>
          <type name="GuidFlags" c:type="FwupdGuidFlags"/>
        </parameter>
      </parameters>
    </function>
    <function name="keyring_kind_from_string"
              c:identifier="fwupd_keyring_kind_from_string"
              version="0.9.7">
      <doc xml:space="preserve"
           filename="fwupd-enums.c"
           line="325">Converts an printable string to an enumerated type.</doc>
      <source-position filename="fwupd-enums.h" line="227"/>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve"
             filename="fwupd-enums.c"
             line="331">a #FwupdKeyringKind, e.g. %FWUPD_KEYRING_KIND_GPG</doc>
        <type name="KeyringKind" c:type="FwupdKeyringKind"/>
      </return-value>
      <parameters>
        <parameter name="keyring_kind" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="fwupd-enums.c"
               line="327">a string, e.g. `gpg`</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
      </parameters>
    </function>
    <function name="keyring_kind_to_string"
              c:identifier="fwupd_keyring_kind_to_string"
              version="0.9.7">
      <doc xml:space="preserve"
           filename="fwupd-enums.c"
           line="347">Converts an enumerated type to a printable string.</doc>
      <source-position filename="fwupd-enums.h" line="228"/>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve"
             filename="fwupd-enums.c"
             line="353">a string, e.g. `gpg`</doc>
        <type name="utf8" c:type="const gchar*"/>
      </return-value>
      <parameters>
        <parameter name="keyring_kind" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="fwupd-enums.c"
               line="349">a #FwupdKeyringKind, e.g. %FWUPD_KEYRING_KIND_GPG</doc>
          <type name="KeyringKind" c:type="FwupdKeyringKind"/>
        </parameter>
      </parameters>
    </function>
    <function name="status_from_string"
              c:identifier="fwupd_status_from_string"
              version="0.1.1">
      <doc xml:space="preserve"
           filename="fwupd-enums.c"
           line="65">Converts a string to a #FwupdStatus.</doc>
      <source-position filename="fwupd-enums.h" line="218"/>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve"
             filename="fwupd-enums.c"
             line="71">enumerated value</doc>
        <type name="Status" c:type="FwupdStatus"/>
      </return-value>
      <parameters>
        <parameter name="status" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="fwupd-enums.c"
               line="67">A string, e.g. `decompressing`</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
      </parameters>
    </function>
    <function name="status_to_string"
              c:identifier="fwupd_status_to_string"
              version="0.1.1">
      <doc xml:space="preserve"
           filename="fwupd-enums.c"
           line="21">Converts a #FwupdStatus to a string.</doc>
      <source-position filename="fwupd-enums.h" line="217"/>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve"
             filename="fwupd-enums.c"
             line="27">identifier string</doc>
        <type name="utf8" c:type="const gchar*"/>
      </return-value>
      <parameters>
        <parameter name="status" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="fwupd-enums.c"
               line="23">A #FwupdStatus, e.g. %FWUPD_STATUS_DECOMPRESSING</doc>
          <type name="Status" c:type="FwupdStatus"/>
        </parameter>
      </parameters>
    </function>
    <function name="trust_flag_from_string"
              c:identifier="fwupd_trust_flag_from_string"
              version="0.7.0">
      <doc xml:space="preserve"
           filename="fwupd-enums.c"
           line="303">Converts a string to a #FwupdTrustFlags.</doc>
      <source-position filename="fwupd-enums.h" line="226"/>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve"
             filename="fwupd-enums.c"
             line="309">enumerated value</doc>
        <type name="TrustFlags" c:type="FwupdTrustFlags"/>
      </return-value>
      <parameters>
        <parameter name="trust_flag" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="fwupd-enums.c"
               line="305">A string, e.g. `payload`</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
      </parameters>
    </function>
    <function name="trust_flag_to_string"
              c:identifier="fwupd_trust_flag_to_string"
              version="0.7.0">
      <doc xml:space="preserve"
           filename="fwupd-enums.c"
           line="281">Converts a #FwupdTrustFlags to a string.</doc>
      <source-position filename="fwupd-enums.h" line="225"/>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve"
             filename="fwupd-enums.c"
             line="287">identifier string</doc>
        <type name="utf8" c:type="const gchar*"/>
      </return-value>
      <parameters>
        <parameter name="trust_flag" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="fwupd-enums.c"
               line="283">A #FwupdTrustFlags, e.g. %FWUPD_TRUST_FLAG_PAYLOAD</doc>
          <type name="TrustFlags" c:type="FwupdTrustFlags"/>
        </parameter>
      </parameters>
    </function>
    <function name="update_state_from_string"
              c:identifier="fwupd_update_state_from_string"
              version="0.7.0">
      <doc xml:space="preserve"
           filename="fwupd-enums.c"
           line="255">Converts a string to a #FwupdUpdateState.</doc>
      <source-position filename="fwupd-enums.h" line="224"/>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve"
             filename="fwupd-enums.c"
             line="261">enumerated value</doc>
        <type name="UpdateState" c:type="FwupdUpdateState"/>
      </return-value>
      <parameters>
        <parameter name="update_state" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="fwupd-enums.c"
               line="257">A string, e.g. `pending`</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
      </parameters>
    </function>
    <function name="update_state_to_string"
              c:identifier="fwupd_update_state_to_string"
              version="0.7.0">
      <doc xml:space="preserve"
           filename="fwupd-enums.c"
           line="229">Converts a #FwupdUpdateState to a string.</doc>
      <source-position filename="fwupd-enums.h" line="223"/>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve"
             filename="fwupd-enums.c"
             line="235">identifier string</doc>
        <type name="utf8" c:type="const gchar*"/>
      </return-value>
      <parameters>
        <parameter name="update_state" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="fwupd-enums.c"
               line="231">A #FwupdUpdateState, e.g. %FWUPD_UPDATE_STATE_PENDING</doc>
          <type name="UpdateState" c:type="FwupdUpdateState"/>
        </parameter>
      </parameters>
    </function>
  </namespace>
</repository>
