<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>Flatpak Library Reference Manual</title><link rel="stylesheet" type="text/css" href="docbook.css" /><meta name="generator" content="DocBook XSL Stylesheets Vsnapshot" /></head><body><div class="book"><div class="titlepage"><div><div><h1 class="title"><a id="index"></a>Flatpak Library Reference Manual</h1></div><div><p class="releaseinfo">
      For flatpak 1.16.6

    </p></div></div><hr /></div><div class="toc"><p><strong>Table of Contents</strong></p><dl class="toc"><dt><span class="chapter"><a href="#id1337">Flatpak</a></span></dt><dd><dl><dt><span class="refentrytitle"><a href="#FlatpakInstallation">FlatpakInstallation</a></span><span class="refpurpose"> — Installation information</span></dt><dt><span class="refentrytitle"><a href="#FlatpakRemote">FlatpakRemote</a></span><span class="refpurpose"> — Remote repository</span></dt><dt><span class="refentrytitle"><a href="#FlatpakTransactionOperation">FlatpakTransactionOperation</a></span><span class="refpurpose"> — Operation in a transaction</span></dt><dt><span class="refentrytitle"><a href="#FlatpakTransactionProgress">FlatpakTransactionProgress</a></span><span class="refpurpose"> — Progress of an operation</span></dt><dt><span class="refentrytitle"><a href="#FlatpakTransaction">FlatpakTransaction</a></span><span class="refpurpose"> — Transaction information</span></dt><dt><span class="refentrytitle"><a href="#FlatpakRef">FlatpakRef</a></span><span class="refpurpose"> — Application reference</span></dt><dt><span class="refentrytitle"><a href="#FlatpakInstalledRef">FlatpakInstalledRef</a></span><span class="refpurpose"> — Installed application reference</span></dt><dt><span class="refentrytitle"><a href="#FlatpakRelatedRef">FlatpakRelatedRef</a></span><span class="refpurpose"> — Related application reference</span></dt><dt><span class="refentrytitle"><a href="#FlatpakRemoteRef">FlatpakRemoteRef</a></span><span class="refpurpose"> — Remote application reference</span></dt><dt><span class="refentrytitle"><a href="#FlatpakBundleRef">FlatpakBundleRef</a></span><span class="refpurpose"> — Application bundle reference</span></dt><dt><span class="refentrytitle"><a href="#FlatpakInstance">FlatpakInstance</a></span><span class="refpurpose"> — Information about a running sandbox</span></dt><dt><span class="refentrytitle"><a href="#flatpak-Error-codes">Error codes</a></span><span class="refpurpose"></span></dt><dt><span class="refentrytitle"><a href="#flatpak-Version-information">Version information</a></span><span class="refpurpose"></span></dt></dl></dd><dt><span class="chapter"><a href="#id1338">D-Bus APIs</a></span></dt><dd><dl><dt><span class="refentrytitle"><a href="#gdbus-org.freedesktop.Flatpak.Authenticator">org.freedesktop.Flatpak.Authenticator</a></span><span class="refpurpose"></span></dt><dt><span class="refentrytitle"><a href="#gdbus-org.freedesktop.Flatpak.AuthenticatorRequest">org.freedesktop.Flatpak.AuthenticatorRequest</a></span><span class="refpurpose"></span></dt><dt><span class="refentrytitle"><a href="#gdbus-org.freedesktop.Flatpak.Development">org.freedesktop.Flatpak.Development</a></span><span class="refpurpose"> — Flatpak development interface</span></dt><dt><span class="refentrytitle"><a href="#gdbus-org.freedesktop.Flatpak.SessionHelper">org.freedesktop.Flatpak.SessionHelper</a></span><span class="refpurpose"> — Flatpak session service</span></dt><dt><span class="refentrytitle"><a href="#gdbus-org.freedesktop.Flatpak.SystemHelper">org.freedesktop.Flatpak.SystemHelper</a></span><span class="refpurpose"> — Flatpak system service</span></dt><dt><span class="refentrytitle"><a href="#gdbus-org.freedesktop.impl.portal.PermissionStore">org.freedesktop.impl.portal.PermissionStore</a></span><span class="refpurpose"> — Database to store permissions</span></dt><dt><span class="refentrytitle"><a href="#gdbus-org.freedesktop.portal.Documents">org.freedesktop.portal.Documents</a></span><span class="refpurpose"> — Document portal</span></dt><dt><span class="refentrytitle"><a href="#gdbus-org.freedesktop.portal.Flatpak">org.freedesktop.portal.Flatpak</a></span><span class="refpurpose"> — Flatpak portal</span></dt><dt><span class="refentrytitle"><a href="#gdbus-org.freedesktop.portal.Flatpak.UpdateMonitor">org.freedesktop.portal.Flatpak.UpdateMonitor</a></span><span class="refpurpose"></span></dt></dl></dd><dt><span class="chapter"><a href="#object-tree">Object Hierarchy</a></span></dt><dt><span class="index"><a href="#full-api-index">API Index</a></span></dt><dt><span class="index"><a href="#deprecated-api-index">Index of deprecated API</a></span></dt><dt><span class="glossary"><a href="#annotation-glossary">Annotation Glossary</a></span></dt></dl></div><div class="chapter"><div class="titlepage"><div><div><h1 class="title"><a id="id1337"></a>Flatpak</h1></div></div></div><div class="toc"><p><strong>Table of Contents</strong></p><dl class="toc"><dt><span class="refentrytitle"><a href="#FlatpakInstallation">FlatpakInstallation</a></span><span class="refpurpose"> — Installation information</span></dt><dt><span class="refentrytitle"><a href="#FlatpakRemote">FlatpakRemote</a></span><span class="refpurpose"> — Remote repository</span></dt><dt><span class="refentrytitle"><a href="#FlatpakTransactionOperation">FlatpakTransactionOperation</a></span><span class="refpurpose"> — Operation in a transaction</span></dt><dt><span class="refentrytitle"><a href="#FlatpakTransactionProgress">FlatpakTransactionProgress</a></span><span class="refpurpose"> — Progress of an operation</span></dt><dt><span class="refentrytitle"><a href="#FlatpakTransaction">FlatpakTransaction</a></span><span class="refpurpose"> — Transaction information</span></dt><dt><span class="refentrytitle"><a href="#FlatpakRef">FlatpakRef</a></span><span class="refpurpose"> — Application reference</span></dt><dt><span class="refentrytitle"><a href="#FlatpakInstalledRef">FlatpakInstalledRef</a></span><span class="refpurpose"> — Installed application reference</span></dt><dt><span class="refentrytitle"><a href="#FlatpakRelatedRef">FlatpakRelatedRef</a></span><span class="refpurpose"> — Related application reference</span></dt><dt><span class="refentrytitle"><a href="#FlatpakRemoteRef">FlatpakRemoteRef</a></span><span class="refpurpose"> — Remote application reference</span></dt><dt><span class="refentrytitle"><a href="#FlatpakBundleRef">FlatpakBundleRef</a></span><span class="refpurpose"> — Application bundle reference</span></dt><dt><span class="refentrytitle"><a href="#FlatpakInstance">FlatpakInstance</a></span><span class="refpurpose"> — Information about a running sandbox</span></dt><dt><span class="refentrytitle"><a href="#flatpak-Error-codes">Error codes</a></span><span class="refpurpose"></span></dt><dt><span class="refentrytitle"><a href="#flatpak-Version-information">Version information</a></span><span class="refpurpose"></span></dt></dl></div><div class="refentry"><a id="FlatpakInstallation"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>FlatpakInstallation — Installation information</p></div><div class="refsect1"><a id="FlatpakInstallation.functions"></a><h2>Functions</h2><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="functions_proto_type" /><col class="functions_proto_name" /></colgroup><tbody><tr><td class="function_type"><a class="link" href="#FlatpakInstallation" title="FlatpakInstallation"><span class="returnvalue">FlatpakInstallation</span></a> *
</td><td class="function_name"><a class="link" href="#flatpak-installation-new-system" title="flatpak_installation_new_system ()">flatpak_installation_new_system</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type"><a class="link" href="#FlatpakInstallation" title="FlatpakInstallation"><span class="returnvalue">FlatpakInstallation</span></a> *
</td><td class="function_name"><a class="link" href="#flatpak-installation-new-system-with-id" title="flatpak_installation_new_system_with_id ()">flatpak_installation_new_system_with_id</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type"><a class="link" href="#FlatpakInstallation" title="FlatpakInstallation"><span class="returnvalue">FlatpakInstallation</span></a> *
</td><td class="function_name"><a class="link" href="#flatpak-installation-new-user" title="flatpak_installation_new_user ()">flatpak_installation_new_user</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type"><a class="link" href="#FlatpakInstallation" title="FlatpakInstallation"><span class="returnvalue">FlatpakInstallation</span></a> *
</td><td class="function_name"><a class="link" href="#flatpak-installation-new-for-path" title="flatpak_installation_new_for_path ()">flatpak_installation_new_for_path</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type"><a class="link" href="#"><span class="returnvalue">gboolean</span></a>
</td><td class="function_name"><a class="link" href="#flatpak-installation-get-is-user" title="flatpak_installation_get_is_user ()">flatpak_installation_get_is_user</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type"><a class="link" href="#"><span class="returnvalue">GFile</span></a> *
</td><td class="function_name"><a class="link" href="#flatpak-installation-get-path" title="flatpak_installation_get_path ()">flatpak_installation_get_path</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type"><a class="link" href="#"><span class="returnvalue">GFileMonitor</span></a> *
</td><td class="function_name"><a class="link" href="#flatpak-installation-create-monitor" title="flatpak_installation_create_monitor ()">flatpak_installation_create_monitor</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type"><a class="link" href="#FlatpakInstalledRef" title="FlatpakInstalledRef"><span class="returnvalue">FlatpakInstalledRef</span></a> *
</td><td class="function_name"><a class="link" href="#flatpak-installation-install" title="flatpak_installation_install ()">flatpak_installation_install</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type"><a class="link" href="#FlatpakInstalledRef" title="FlatpakInstalledRef"><span class="returnvalue">FlatpakInstalledRef</span></a> *
</td><td class="function_name"><a class="link" href="#flatpak-installation-install-full" title="flatpak_installation_install_full ()">flatpak_installation_install_full</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type"><a class="link" href="#FlatpakInstalledRef" title="FlatpakInstalledRef"><span class="returnvalue">FlatpakInstalledRef</span></a> *
</td><td class="function_name"><a class="link" href="#flatpak-installation-update" title="flatpak_installation_update ()">flatpak_installation_update</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type"><a class="link" href="#FlatpakInstalledRef" title="FlatpakInstalledRef"><span class="returnvalue">FlatpakInstalledRef</span></a> *
</td><td class="function_name"><a class="link" href="#flatpak-installation-update-full" title="flatpak_installation_update_full ()">flatpak_installation_update_full</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type"><a class="link" href="#"><span class="returnvalue">gboolean</span></a>
</td><td class="function_name"><a class="link" href="#flatpak-installation-uninstall" title="flatpak_installation_uninstall ()">flatpak_installation_uninstall</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type"><a class="link" href="#"><span class="returnvalue">gboolean</span></a>
</td><td class="function_name"><a class="link" href="#flatpak-installation-uninstall-full" title="flatpak_installation_uninstall_full ()">flatpak_installation_uninstall_full</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type"><a class="link" href="#"><span class="returnvalue">gboolean</span></a>
</td><td class="function_name"><a class="link" href="#flatpak-installation-launch" title="flatpak_installation_launch ()">flatpak_installation_launch</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type"><a class="link" href="#"><span class="returnvalue">gboolean</span></a>
</td><td class="function_name"><a class="link" href="#flatpak-installation-launch-full" title="flatpak_installation_launch_full ()">flatpak_installation_launch_full</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type"><a class="link" href="#FlatpakInstalledRef" title="FlatpakInstalledRef"><span class="returnvalue">FlatpakInstalledRef</span></a> *
</td><td class="function_name"><a class="link" href="#flatpak-installation-get-current-installed-app" title="flatpak_installation_get_current_installed_app ()">flatpak_installation_get_current_installed_app</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type">const <a class="link" href="#"><span class="returnvalue">char</span></a> *
</td><td class="function_name"><a class="link" href="#flatpak-installation-get-display-name" title="flatpak_installation_get_display_name ()">flatpak_installation_get_display_name</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type">const <a class="link" href="#"><span class="returnvalue">char</span></a> *
</td><td class="function_name"><a class="link" href="#flatpak-installation-get-id" title="flatpak_installation_get_id ()">flatpak_installation_get_id</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type"><a class="link" href="#FlatpakInstalledRef" title="FlatpakInstalledRef"><span class="returnvalue">FlatpakInstalledRef</span></a> *
</td><td class="function_name"><a class="link" href="#flatpak-installation-get-installed-ref" title="flatpak_installation_get_installed_ref ()">flatpak_installation_get_installed_ref</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type"><a class="link" href="#"><span class="returnvalue">gboolean</span></a>
</td><td class="function_name"><a class="link" href="#flatpak-installation-get-min-free-space-bytes" title="flatpak_installation_get_min_free_space_bytes ()">flatpak_installation_get_min_free_space_bytes</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type"><a class="link" href="#"><span class="returnvalue">gint</span></a>
</td><td class="function_name"><a class="link" href="#flatpak-installation-get-priority" title="flatpak_installation_get_priority ()">flatpak_installation_get_priority</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type"><a class="link" href="#FlatpakStorageType" title="enum FlatpakStorageType"><span class="returnvalue">FlatpakStorageType</span></a>
</td><td class="function_name"><a class="link" href="#flatpak-installation-get-storage-type" title="flatpak_installation_get_storage_type ()">flatpak_installation_get_storage_type</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type"><a class="link" href="#"><span class="returnvalue">void</span></a>
</td><td class="function_name"><a class="link" href="#flatpak-installation-set-no-interaction" title="flatpak_installation_set_no_interaction ()">flatpak_installation_set_no_interaction</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type"><a class="link" href="#"><span class="returnvalue">gboolean</span></a>
</td><td class="function_name"><a class="link" href="#flatpak-installation-get-no-interaction" title="flatpak_installation_get_no_interaction ()">flatpak_installation_get_no_interaction</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type"><a class="link" href="#"><span class="returnvalue">GPtrArray</span></a> *
</td><td class="function_name"><a class="link" href="#flatpak-installation-list-installed-refs" title="flatpak_installation_list_installed_refs ()">flatpak_installation_list_installed_refs</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type"><a class="link" href="#"><span class="returnvalue">GPtrArray</span></a> *
</td><td class="function_name"><a class="link" href="#flatpak-installation-list-installed-refs-by-kind" title="flatpak_installation_list_installed_refs_by_kind ()">flatpak_installation_list_installed_refs_by_kind</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type"><a class="link" href="#"><span class="returnvalue">GPtrArray</span></a> *
</td><td class="function_name"><a class="link" href="#flatpak-installation-list-installed-refs-for-update" title="flatpak_installation_list_installed_refs_for_update ()">flatpak_installation_list_installed_refs_for_update</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type"><a class="link" href="#"><span class="returnvalue">GPtrArray</span></a> *
</td><td class="function_name"><a class="link" href="#flatpak-installation-list-installed-related-refs-sync" title="flatpak_installation_list_installed_related_refs_sync ()">flatpak_installation_list_installed_related_refs_sync</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type"><a class="link" href="#"><span class="returnvalue">GPtrArray</span></a> *
</td><td class="function_name"><a class="link" href="#flatpak-installation-list-unused-refs" title="flatpak_installation_list_unused_refs ()">flatpak_installation_list_unused_refs</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type"><a class="link" href="#"><span class="returnvalue">GPtrArray</span></a> *
</td><td class="function_name"><a class="link" href="#flatpak-installation-list-remote-refs-sync" title="flatpak_installation_list_remote_refs_sync ()">flatpak_installation_list_remote_refs_sync</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type"><a class="link" href="#"><span class="returnvalue">GPtrArray</span></a> *
</td><td class="function_name"><a class="link" href="#flatpak-installation-list-remote-refs-sync-full" title="flatpak_installation_list_remote_refs_sync_full ()">flatpak_installation_list_remote_refs_sync_full</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type"><a class="link" href="#"><span class="returnvalue">GPtrArray</span></a> *
</td><td class="function_name"><a class="link" href="#flatpak-installation-list-remotes-by-type" title="flatpak_installation_list_remotes_by_type ()">flatpak_installation_list_remotes_by_type</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type"><a class="link" href="#"><span class="returnvalue">GPtrArray</span></a> *
</td><td class="function_name"><a class="link" href="#flatpak-installation-list-remote-related-refs-sync" title="flatpak_installation_list_remote_related_refs_sync ()">flatpak_installation_list_remote_related_refs_sync</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type"><a class="link" href="#"><span class="returnvalue">GPtrArray</span></a> *
</td><td class="function_name"><a class="link" href="#flatpak-installation-list-remotes" title="flatpak_installation_list_remotes ()">flatpak_installation_list_remotes</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type"><a class="link" href="#FlatpakRemote" title="FlatpakRemote"><span class="returnvalue">FlatpakRemote</span></a> *
</td><td class="function_name"><a class="link" href="#flatpak-installation-get-remote-by-name" title="flatpak_installation_get_remote_by_name ()">flatpak_installation_get_remote_by_name</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type"><a class="link" href="#"><span class="returnvalue">GBytes</span></a> *
</td><td class="function_name"><a class="link" href="#flatpak-installation-fetch-remote-metadata-sync" title="flatpak_installation_fetch_remote_metadata_sync ()">flatpak_installation_fetch_remote_metadata_sync</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type"><a class="link" href="#FlatpakRemoteRef" title="FlatpakRemoteRef"><span class="returnvalue">FlatpakRemoteRef</span></a> *
</td><td class="function_name"><a class="link" href="#flatpak-installation-fetch-remote-ref-sync" title="flatpak_installation_fetch_remote_ref_sync ()">flatpak_installation_fetch_remote_ref_sync</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type"><a class="link" href="#FlatpakRemoteRef" title="FlatpakRemoteRef"><span class="returnvalue">FlatpakRemoteRef</span></a> *
</td><td class="function_name"><a class="link" href="#flatpak-installation-fetch-remote-ref-sync-full" title="flatpak_installation_fetch_remote_ref_sync_full ()">flatpak_installation_fetch_remote_ref_sync_full</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type"><a class="link" href="#"><span class="returnvalue">gboolean</span></a>
</td><td class="function_name"><a class="link" href="#flatpak-installation-fetch-remote-size-sync" title="flatpak_installation_fetch_remote_size_sync ()">flatpak_installation_fetch_remote_size_sync</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type"><a class="link" href="#"><span class="returnvalue">char</span></a> *
</td><td class="function_name"><a class="link" href="#flatpak-installation-load-app-overrides" title="flatpak_installation_load_app_overrides ()">flatpak_installation_load_app_overrides</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type"><a class="link" href="#"><span class="returnvalue">gboolean</span></a>
</td><td class="function_name"><a class="link" href="#flatpak-installation-update-appstream-sync" title="flatpak_installation_update_appstream_sync ()">flatpak_installation_update_appstream_sync</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type"><a class="link" href="#FlatpakInstalledRef" title="FlatpakInstalledRef"><span class="returnvalue">FlatpakInstalledRef</span></a> *
</td><td class="function_name"><a class="link" href="#flatpak-installation-install-bundle" title="flatpak_installation_install_bundle ()">flatpak_installation_install_bundle</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type"><a class="link" href="#FlatpakRemoteRef" title="FlatpakRemoteRef"><span class="returnvalue">FlatpakRemoteRef</span></a> *
</td><td class="function_name"><a class="link" href="#flatpak-installation-install-ref-file" title="flatpak_installation_install_ref_file ()">flatpak_installation_install_ref_file</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type"><a class="link" href="#"><span class="returnvalue">gboolean</span></a>
</td><td class="function_name"><a class="link" href="#flatpak-installation-drop-caches" title="flatpak_installation_drop_caches ()">flatpak_installation_drop_caches</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type"><a class="link" href="#"><span class="returnvalue">gboolean</span></a>
</td><td class="function_name"><a class="link" href="#flatpak-installation-add-remote" title="flatpak_installation_add_remote ()">flatpak_installation_add_remote</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type"><a class="link" href="#"><span class="returnvalue">gboolean</span></a>
</td><td class="function_name"><a class="link" href="#flatpak-installation-modify-remote" title="flatpak_installation_modify_remote ()">flatpak_installation_modify_remote</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type"><a class="link" href="#"><span class="returnvalue">gboolean</span></a>
</td><td class="function_name"><a class="link" href="#flatpak-installation-remove-remote" title="flatpak_installation_remove_remote ()">flatpak_installation_remove_remote</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type"><a class="link" href="#"><span class="returnvalue">gboolean</span></a>
</td><td class="function_name"><a class="link" href="#flatpak-installation-update-remote-sync" title="flatpak_installation_update_remote_sync ()">flatpak_installation_update_remote_sync</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type"><a class="link" href="#"><span class="returnvalue">gboolean</span></a>
</td><td class="function_name"><a class="link" href="#flatpak-installation-cleanup-local-refs-sync" title="flatpak_installation_cleanup_local_refs_sync ()">flatpak_installation_cleanup_local_refs_sync</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type"><a class="link" href="#"><span class="returnvalue">char</span></a> *
</td><td class="function_name"><a class="link" href="#flatpak-installation-get-config" title="flatpak_installation_get_config ()">flatpak_installation_get_config</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type"><a class="link" href="#"><span class="returnvalue">char</span></a> **
</td><td class="function_name"><a class="link" href="#flatpak-installation-get-default-languages" title="flatpak_installation_get_default_languages ()">flatpak_installation_get_default_languages</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type"><a class="link" href="#"><span class="returnvalue">char</span></a> **
</td><td class="function_name"><a class="link" href="#flatpak-installation-get-default-locales" title="flatpak_installation_get_default_locales ()">flatpak_installation_get_default_locales</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type"><a class="link" href="#"><span class="returnvalue">gboolean</span></a>
</td><td class="function_name"><a class="link" href="#flatpak-installation-prune-local-repo" title="flatpak_installation_prune_local_repo ()">flatpak_installation_prune_local_repo</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type"><a class="link" href="#"><span class="returnvalue">gboolean</span></a>
</td><td class="function_name"><a class="link" href="#flatpak-installation-remove-local-ref-sync" title="flatpak_installation_remove_local_ref_sync ()">flatpak_installation_remove_local_ref_sync</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type"><a class="link" href="#"><span class="returnvalue">gboolean</span></a>
</td><td class="function_name"><a class="link" href="#flatpak-installation-set-config-sync" title="flatpak_installation_set_config_sync ()">flatpak_installation_set_config_sync</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type"><a class="link" href="#"><span class="returnvalue">gboolean</span></a>
</td><td class="function_name"><a class="link" href="#flatpak-installation-update-appstream-full-sync" title="flatpak_installation_update_appstream_full_sync ()">flatpak_installation_update_appstream_full_sync</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type"><a class="link" href="#"><span class="returnvalue">gboolean</span></a>
</td><td class="function_name"><a class="link" href="#flatpak-installation-run-triggers" title="flatpak_installation_run_triggers ()">flatpak_installation_run_triggers</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type">const <a class="link" href="#"><span class="returnvalue">char</span></a> *
</td><td class="function_name"><a class="link" href="#flatpak-get-default-arch" title="flatpak_get_default_arch ()">flatpak_get_default_arch</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type">const <a class="link" href="#"><span class="returnvalue">char</span></a> *const *
</td><td class="function_name"><a class="link" href="#flatpak-get-supported-arches" title="flatpak_get_supported_arches ()">flatpak_get_supported_arches</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type"><a class="link" href="#"><span class="returnvalue">GPtrArray</span></a> *
</td><td class="function_name"><a class="link" href="#flatpak-get-system-installations" title="flatpak_get_system_installations ()">flatpak_get_system_installations</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type"><a class="link" href="#"><span class="returnvalue">void</span></a>
</td><td class="function_name"><span class="c_punctuation">(</span><a class="link" href="#FlatpakProgressCallback" title="FlatpakProgressCallback ()">*FlatpakProgressCallback</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span></td></tr></tbody></table></div></div><div class="refsect1"><a id="FlatpakInstallation.other"></a><h2>Types and Values</h2><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="other_proto_type" /><col class="other_proto_name" /></colgroup><tbody><tr><td class="datatype_keyword">struct</td><td class="function_name"><a class="link" href="#FlatpakInstallation-struct" title="struct FlatpakInstallation">FlatpakInstallation</a></td></tr><tr><td class="datatype_keyword">enum</td><td class="function_name"><a class="link" href="#FlatpakQueryFlags" title="enum FlatpakQueryFlags">FlatpakQueryFlags</a></td></tr><tr><td class="datatype_keyword">enum</td><td class="function_name"><a class="link" href="#FlatpakUpdateFlags" title="enum FlatpakUpdateFlags">FlatpakUpdateFlags</a></td></tr><tr><td class="datatype_keyword">enum</td><td class="function_name"><a class="link" href="#FlatpakInstallFlags" title="enum FlatpakInstallFlags">FlatpakInstallFlags</a></td></tr><tr><td class="datatype_keyword">enum</td><td class="function_name"><a class="link" href="#FlatpakUninstallFlags" title="enum FlatpakUninstallFlags">FlatpakUninstallFlags</a></td></tr><tr><td class="datatype_keyword">enum</td><td class="function_name"><a class="link" href="#FlatpakLaunchFlags" title="enum FlatpakLaunchFlags">FlatpakLaunchFlags</a></td></tr><tr><td class="datatype_keyword">enum</td><td class="function_name"><a class="link" href="#FlatpakStorageType" title="enum FlatpakStorageType">FlatpakStorageType</a></td></tr></tbody></table></div></div><div class="refsect1"><a id="FlatpakInstallation.object-hierarchy"></a><h2>Object Hierarchy</h2><pre class="screen">    <a class="link" href="#">GObject</a>
    <span class="lineart">╰──</span> FlatpakInstallation
</pre></div><div class="refsect1"><a id="FlatpakInstallation.description"></a><h2>Description</h2><p>FlatpakInstallation is the toplevel object that software installers
should use to operate on an flatpak applications.</p><p>An FlatpakInstallation object provides information about an installation
location for flatpak applications. Typical installation locations are either
system-wide (in $prefix/var/lib/flatpak) or per-user (in ~/.local/share/flatpak).</p><p>FlatpakInstallation can list configured remotes as well as installed application
and runtime references (in short: refs), and it can add, remove and modify remotes.</p><p>FlatpakInstallation can also run, install, update and uninstall applications and
runtimes, but <a class="link" href="#FlatpakTransaction" title="FlatpakTransaction"><span class="type">FlatpakTransaction</span></a> is a better, high-level API for these tasks.</p><p>To get a list of all configured installations, use <a class="link" href="#flatpak-get-system-installations" title="flatpak_get_system_installations ()"><code class="function">flatpak_get_system_installations()</code></a>,
together with <a class="link" href="#flatpak-installation-new-user" title="flatpak_installation_new_user ()"><code class="function">flatpak_installation_new_user()</code></a>.</p><p>The FlatpakInstallation API is threadsafe in the sense that it is safe to run two
operations at the same time, in different threads (or processes).</p></div><div class="refsect1"><a id="FlatpakInstallation.functions_details"></a><h2>Functions</h2><div class="refsect2"><a id="flatpak-installation-new-system"></a><h3>flatpak_installation_new_system ()</h3><a id="id2194" class="indexterm"></a><pre class="programlisting"><a class="link" href="#FlatpakInstallation" title="FlatpakInstallation"><span class="returnvalue">FlatpakInstallation</span></a> *
flatpak_installation_new_system (<em class="parameter"><code><a class="link" href="#"><span class="type">GCancellable</span></a> *cancellable</code></em>,
                                 <em class="parameter"><code><a class="link" href="#"><span class="type">GError</span></a> **error</code></em>);</pre><p>Creates a new <a class="link" href="#FlatpakInstallation" title="FlatpakInstallation"><span class="type">FlatpakInstallation</span></a> for the default system-wide installation.</p><div class="refsect3"><a id="flatpak-installation-new-system.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>cancellable</p></td><td class="parameter_description"><p>a <a class="link" href="#"><span class="type">GCancellable</span></a>. </p></td><td class="parameter_annotations"><span class="annotation">[<acronym class="acronym">nullable</acronym>]</span></td></tr><tr><td class="parameter_name"><p>error</p></td><td class="parameter_description"><p>return location for a <a class="link" href="#"><span class="type">GError</span></a></p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-installation-new-system.returns"></a><h4>Returns</h4><p>a new <a class="link" href="#FlatpakInstallation" title="FlatpakInstallation"><span class="type">FlatpakInstallation</span></a>. </p><p><span class="annotation">[<acronym class="acronym">transfer full</acronym>]</span></p></div></div><div class="refsect2"><a id="flatpak-installation-new-system-with-id"></a><h3>flatpak_installation_new_system_with_id ()</h3><a id="id2243" class="indexterm"></a><pre class="programlisting"><a class="link" href="#FlatpakInstallation" title="FlatpakInstallation"><span class="returnvalue">FlatpakInstallation</span></a> *
flatpak_installation_new_system_with_id
                               (<em class="parameter"><code>const <a class="link" href="#"><span class="type">char</span></a> *id</code></em>,
                                <em class="parameter"><code><a class="link" href="#"><span class="type">GCancellable</span></a> *cancellable</code></em>,
                                <em class="parameter"><code><a class="link" href="#"><span class="type">GError</span></a> **error</code></em>);</pre><p>Creates a new <a class="link" href="#FlatpakInstallation" title="FlatpakInstallation"><span class="type">FlatpakInstallation</span></a> for the system-wide installation <em class="parameter"><code>id</code></em>
.</p><div class="refsect3"><a id="flatpak-installation-new-system-with-id.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>id</p></td><td class="parameter_description"><p>the ID of the system-wide installation. </p></td><td class="parameter_annotations"><span class="annotation">[<acronym class="acronym">nullable</acronym>]</span></td></tr><tr><td class="parameter_name"><p>cancellable</p></td><td class="parameter_description"><p>a <a class="link" href="#"><span class="type">GCancellable</span></a>. </p></td><td class="parameter_annotations"><span class="annotation">[<acronym class="acronym">nullable</acronym>]</span></td></tr><tr><td class="parameter_name"><p>error</p></td><td class="parameter_description"><p>return location for a <a class="link" href="#"><span class="type">GError</span></a></p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-installation-new-system-with-id.returns"></a><h4>Returns</h4><p>a new <a class="link" href="#FlatpakInstallation" title="FlatpakInstallation"><span class="type">FlatpakInstallation</span></a>. </p><p><span class="annotation">[<acronym class="acronym">transfer full</acronym>]</span></p></div><p class="since">Since: <a class="link" href="#">0.8</a></p></div><div class="refsect2"><a id="flatpak-installation-new-user"></a><h3>flatpak_installation_new_user ()</h3><a id="id2306" class="indexterm"></a><pre class="programlisting"><a class="link" href="#FlatpakInstallation" title="FlatpakInstallation"><span class="returnvalue">FlatpakInstallation</span></a> *
flatpak_installation_new_user (<em class="parameter"><code><a class="link" href="#"><span class="type">GCancellable</span></a> *cancellable</code></em>,
                               <em class="parameter"><code><a class="link" href="#"><span class="type">GError</span></a> **error</code></em>);</pre><p>Creates a new <a class="link" href="#FlatpakInstallation" title="FlatpakInstallation"><span class="type">FlatpakInstallation</span></a> for the per-user installation.</p><div class="refsect3"><a id="flatpak-installation-new-user.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>cancellable</p></td><td class="parameter_description"><p>a <a class="link" href="#"><span class="type">GCancellable</span></a>. </p></td><td class="parameter_annotations"><span class="annotation">[<acronym class="acronym">nullable</acronym>]</span></td></tr><tr><td class="parameter_name"><p>error</p></td><td class="parameter_description"><p>return location for a <a class="link" href="#"><span class="type">GError</span></a></p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-installation-new-user.returns"></a><h4>Returns</h4><p>a new <a class="link" href="#FlatpakInstallation" title="FlatpakInstallation"><span class="type">FlatpakInstallation</span></a>. </p><p><span class="annotation">[<acronym class="acronym">transfer full</acronym>]</span></p></div></div><div class="refsect2"><a id="flatpak-installation-new-for-path"></a><h3>flatpak_installation_new_for_path ()</h3><a id="id2355" class="indexterm"></a><pre class="programlisting"><a class="link" href="#FlatpakInstallation" title="FlatpakInstallation"><span class="returnvalue">FlatpakInstallation</span></a> *
flatpak_installation_new_for_path (<em class="parameter"><code><a class="link" href="#"><span class="type">GFile</span></a> *path</code></em>,
                                   <em class="parameter"><code><a class="link" href="#"><span class="type">gboolean</span></a> user</code></em>,
                                   <em class="parameter"><code><a class="link" href="#"><span class="type">GCancellable</span></a> *cancellable</code></em>,
                                   <em class="parameter"><code><a class="link" href="#"><span class="type">GError</span></a> **error</code></em>);</pre><p>Creates a new <a class="link" href="#FlatpakInstallation" title="FlatpakInstallation"><span class="type">FlatpakInstallation</span></a> for the installation at the given <em class="parameter"><code>path</code></em>
.</p><div class="refsect3"><a id="flatpak-installation-new-for-path.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>path</p></td><td class="parameter_description"><p>a <a class="link" href="#"><span class="type">GFile</span></a></p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>user</p></td><td class="parameter_description"><p>whether this is a user-specific location</p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>cancellable</p></td><td class="parameter_description"><p>a <a class="link" href="#"><span class="type">GCancellable</span></a>. </p></td><td class="parameter_annotations"><span class="annotation">[<acronym class="acronym">nullable</acronym>]</span></td></tr><tr><td class="parameter_name"><p>error</p></td><td class="parameter_description"><p>return location for a <a class="link" href="#"><span class="type">GError</span></a></p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-installation-new-for-path.returns"></a><h4>Returns</h4><p>a new <a class="link" href="#FlatpakInstallation" title="FlatpakInstallation"><span class="type">FlatpakInstallation</span></a>. </p><p><span class="annotation">[<acronym class="acronym">transfer full</acronym>]</span></p></div></div><div class="refsect2"><a id="flatpak-installation-get-is-user"></a><h3>flatpak_installation_get_is_user ()</h3><a id="id2425" class="indexterm"></a><pre class="programlisting"><a class="link" href="#"><span class="returnvalue">gboolean</span></a>
flatpak_installation_get_is_user (<em class="parameter"><code><a class="link" href="#FlatpakInstallation" title="FlatpakInstallation"><span class="type">FlatpakInstallation</span></a> *self</code></em>);</pre><p>Returns whether the installation is for a user-specific location.</p><div class="refsect3"><a id="flatpak-installation-get-is-user.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakInstallation" title="FlatpakInstallation"><span class="type">FlatpakInstallation</span></a></p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-installation-get-is-user.returns"></a><h4>Returns</h4><p> <a class="link" href="#"><code class="literal">TRUE</code></a> if <em class="parameter"><code>self</code></em>
is a per-user installation</p></div></div><div class="refsect2"><a id="flatpak-installation-get-path"></a><h3>flatpak_installation_get_path ()</h3><a id="id2457" class="indexterm"></a><pre class="programlisting"><a class="link" href="#"><span class="returnvalue">GFile</span></a> *
flatpak_installation_get_path (<em class="parameter"><code><a class="link" href="#FlatpakInstallation" title="FlatpakInstallation"><span class="type">FlatpakInstallation</span></a> *self</code></em>);</pre><p>Returns the installation location for <em class="parameter"><code>self</code></em>
.</p><div class="refsect3"><a id="flatpak-installation-get-path.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakInstallation" title="FlatpakInstallation"><span class="type">FlatpakInstallation</span></a></p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-installation-get-path.returns"></a><h4>Returns</h4><p>an <a class="link" href="#"><span class="type">GFile</span></a>. </p><p><span class="annotation">[<acronym class="acronym">transfer full</acronym>]</span></p></div></div><div class="refsect2"><a id="flatpak-installation-create-monitor"></a><h3>flatpak_installation_create_monitor ()</h3><a id="id2492" class="indexterm"></a><pre class="programlisting"><a class="link" href="#"><span class="returnvalue">GFileMonitor</span></a> *
flatpak_installation_create_monitor (<em class="parameter"><code><a class="link" href="#FlatpakInstallation" title="FlatpakInstallation"><span class="type">FlatpakInstallation</span></a> *self</code></em>,
                                     <em class="parameter"><code><a class="link" href="#"><span class="type">GCancellable</span></a> *cancellable</code></em>,
                                     <em class="parameter"><code><a class="link" href="#"><span class="type">GError</span></a> **error</code></em>);</pre><p>Gets monitor object for the installation. The returned file monitor will
emit the <a class="link" href="#"><span class="type">“changed”</span></a> signal whenever an application or runtime
was installed, uninstalled or updated.</p><div class="refsect3"><a id="flatpak-installation-create-monitor.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakInstallation" title="FlatpakInstallation"><span class="type">FlatpakInstallation</span></a></p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>cancellable</p></td><td class="parameter_description"><p>a <a class="link" href="#"><span class="type">GCancellable</span></a>. </p></td><td class="parameter_annotations"><span class="annotation">[<acronym class="acronym">nullable</acronym>]</span></td></tr><tr><td class="parameter_name"><p>error</p></td><td class="parameter_description"><p>return location for a <a class="link" href="#"><span class="type">GError</span></a></p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-installation-create-monitor.returns"></a><h4>Returns</h4><p>a new <a class="link" href="#"><span class="type">GFileMonitor</span></a> instance, or <a class="link" href="#"><code class="literal">NULL</code></a> on error. </p><p><span class="annotation">[<acronym class="acronym">transfer full</acronym>]</span></p></div></div><div class="refsect2"><a id="flatpak-installation-install"></a><h3>flatpak_installation_install ()</h3><a id="id2554" class="indexterm"></a><pre class="programlisting"><a class="link" href="#FlatpakInstalledRef" title="FlatpakInstalledRef"><span class="returnvalue">FlatpakInstalledRef</span></a> *
flatpak_installation_install (<em class="parameter"><code><a class="link" href="#FlatpakInstallation" title="FlatpakInstallation"><span class="type">FlatpakInstallation</span></a> *self</code></em>,
                              <em class="parameter"><code>const <a class="link" href="#"><span class="type">char</span></a> *remote_name</code></em>,
                              <em class="parameter"><code><a class="link" href="#FlatpakRefKind" title="enum FlatpakRefKind"><span class="type">FlatpakRefKind</span></a> kind</code></em>,
                              <em class="parameter"><code>const <a class="link" href="#"><span class="type">char</span></a> *name</code></em>,
                              <em class="parameter"><code>const <a class="link" href="#"><span class="type">char</span></a> *arch</code></em>,
                              <em class="parameter"><code>const <a class="link" href="#"><span class="type">char</span></a> *branch</code></em>,
                              <em class="parameter"><code><a class="link" href="#FlatpakProgressCallback" title="FlatpakProgressCallback ()"><span class="type">FlatpakProgressCallback</span></a> progress</code></em>,
                              <em class="parameter"><code><a class="link" href="#"><span class="type">gpointer</span></a> progress_data</code></em>,
                              <em class="parameter"><code><a class="link" href="#"><span class="type">GCancellable</span></a> *cancellable</code></em>,
                              <em class="parameter"><code><a class="link" href="#"><span class="type">GError</span></a> **error</code></em>);</pre><div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Warning</h3><p><code class="literal">flatpak_installation_install</code> has been deprecated since version 1.7.0 and should not be used in newly-written code.</p><p>Use <a class="link" href="#flatpak-transaction-add-install" title="flatpak_transaction_add_install ()"><code class="function">flatpak_transaction_add_install()</code></a> instead.</p></div><p>This is an old deprecated function, you should use
<a class="link" href="#FlatpakTransaction" title="FlatpakTransaction"><span class="type">FlatpakTransaction</span></a> and <a class="link" href="#flatpak-transaction-add-install" title="flatpak_transaction_add_install ()"><code class="function">flatpak_transaction_add_install()</code></a>
instead. It has a lot more interesting features.</p><p>Install a new application or runtime.</p><p>Note that this function was originally written to always return a
<a class="link" href="#FlatpakInstalledRef" title="FlatpakInstalledRef"><span class="type">FlatpakInstalledRef</span></a>. Since 0.9.13, passing
FLATPAK_INSTALL_FLAGS_NO_DEPLOY will only pull refs into the local flatpak
repository without deploying them, however this function will
be unable to provide information on the installed ref, so
FLATPAK_ERROR_ONLY_PULLED will be set and the caller must respond
accordingly.</p><div class="refsect3"><a id="flatpak-installation-install.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakInstallation" title="FlatpakInstallation"><span class="type">FlatpakInstallation</span></a></p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>remote_name</p></td><td class="parameter_description"><p>name of the remote to use</p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>kind</p></td><td class="parameter_description"><p>what this ref contains (an <a class="link" href="#FlatpakRefKind" title="enum FlatpakRefKind"><span class="type">FlatpakRefKind</span></a>)</p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>name</p></td><td class="parameter_description"><p>name of the app/runtime to fetch</p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>arch</p></td><td class="parameter_description"><p>which architecture to fetch (default: current architecture). </p></td><td class="parameter_annotations"><span class="annotation">[<acronym class="acronym">nullable</acronym>]</span></td></tr><tr><td class="parameter_name"><p>branch</p></td><td class="parameter_description"><p>which branch to fetch (default: 'master'). </p></td><td class="parameter_annotations"><span class="annotation">[<acronym class="acronym">nullable</acronym>]</span></td></tr><tr><td class="parameter_name"><p>progress</p></td><td class="parameter_description"><p>progress callback. </p></td><td class="parameter_annotations"><span class="annotation">[<acronym class="acronym">scope call</acronym>][<acronym class="acronym">closure</acronym> progress_data][<acronym class="acronym">nullable</acronym>]</span></td></tr><tr><td class="parameter_name"><p>progress_data</p></td><td class="parameter_description"><p>user data passed to <em class="parameter"><code>progress</code></em>
. </p></td><td class="parameter_annotations"><span class="annotation">[<acronym class="acronym">nullable</acronym>]</span></td></tr><tr><td class="parameter_name"><p>cancellable</p></td><td class="parameter_description"><p>a <a class="link" href="#"><span class="type">GCancellable</span></a>. </p></td><td class="parameter_annotations"><span class="annotation">[<acronym class="acronym">nullable</acronym>]</span></td></tr><tr><td class="parameter_name"><p>error</p></td><td class="parameter_description"><p>return location for a <a class="link" href="#"><span class="type">GError</span></a></p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-installation-install.returns"></a><h4>Returns</h4><p>The ref for the newly installed app or <a class="link" href="#"><code class="literal">NULL</code></a> on failure. </p><p><span class="annotation">[<acronym class="acronym">transfer full</acronym>]</span></p></div></div><div class="refsect2"><a id="flatpak-installation-install-full"></a><h3>flatpak_installation_install_full ()</h3><a id="id2702" class="indexterm"></a><pre class="programlisting"><a class="link" href="#FlatpakInstalledRef" title="FlatpakInstalledRef"><span class="returnvalue">FlatpakInstalledRef</span></a> *
flatpak_installation_install_full (<em class="parameter"><code><a class="link" href="#FlatpakInstallation" title="FlatpakInstallation"><span class="type">FlatpakInstallation</span></a> *self</code></em>,
                                   <em class="parameter"><code><a class="link" href="#FlatpakInstallFlags" title="enum FlatpakInstallFlags"><span class="type">FlatpakInstallFlags</span></a> flags</code></em>,
                                   <em class="parameter"><code>const <a class="link" href="#"><span class="type">char</span></a> *remote_name</code></em>,
                                   <em class="parameter"><code><a class="link" href="#FlatpakRefKind" title="enum FlatpakRefKind"><span class="type">FlatpakRefKind</span></a> kind</code></em>,
                                   <em class="parameter"><code>const <a class="link" href="#"><span class="type">char</span></a> *name</code></em>,
                                   <em class="parameter"><code>const <a class="link" href="#"><span class="type">char</span></a> *arch</code></em>,
                                   <em class="parameter"><code>const <a class="link" href="#"><span class="type">char</span></a> *branch</code></em>,
                                   <em class="parameter"><code>const <a class="link" href="#"><span class="type">char</span></a> * const *subpaths</code></em>,
                                   <em class="parameter"><code><a class="link" href="#FlatpakProgressCallback" title="FlatpakProgressCallback ()"><span class="type">FlatpakProgressCallback</span></a> progress</code></em>,
                                   <em class="parameter"><code><a class="link" href="#"><span class="type">gpointer</span></a> progress_data</code></em>,
                                   <em class="parameter"><code><a class="link" href="#"><span class="type">GCancellable</span></a> *cancellable</code></em>,
                                   <em class="parameter"><code><a class="link" href="#"><span class="type">GError</span></a> **error</code></em>);</pre><div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Warning</h3><p><code class="literal">flatpak_installation_install_full</code> has been deprecated since version 1.7.0 and should not be used in newly-written code.</p><p>Use <a class="link" href="#flatpak-transaction-add-install" title="flatpak_transaction_add_install ()"><code class="function">flatpak_transaction_add_install()</code></a> instead.</p></div><p>This is an old deprecated function, you should use
<a class="link" href="#FlatpakTransaction" title="FlatpakTransaction"><span class="type">FlatpakTransaction</span></a> and <a class="link" href="#flatpak-transaction-add-install" title="flatpak_transaction_add_install ()"><code class="function">flatpak_transaction_add_install()</code></a>
instead. It has a lot more interesting features.</p><p>Install a new application or runtime.</p><p>Note that this function was originally written to always return a
<a class="link" href="#FlatpakInstalledRef" title="FlatpakInstalledRef"><span class="type">FlatpakInstalledRef</span></a>. Since 0.9.13, passing
FLATPAK_INSTALL_FLAGS_NO_DEPLOY will only pull refs into the local flatpak
repository without deploying them, however this function will
be unable to provide information on the installed ref, so
FLATPAK_ERROR_ONLY_PULLED will be set and the caller must respond
accordingly.</p><div class="refsect3"><a id="flatpak-installation-install-full.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakInstallation" title="FlatpakInstallation"><span class="type">FlatpakInstallation</span></a></p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>flags</p></td><td class="parameter_description"><p>set of <a class="link" href="#FlatpakInstallFlags" title="enum FlatpakInstallFlags"><span class="type">FlatpakInstallFlags</span></a> flag</p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>remote_name</p></td><td class="parameter_description"><p>name of the remote to use</p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>kind</p></td><td class="parameter_description"><p>what this ref contains (an <a class="link" href="#FlatpakRefKind" title="enum FlatpakRefKind"><span class="type">FlatpakRefKind</span></a>)</p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>name</p></td><td class="parameter_description"><p>name of the app/runtime to fetch</p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>arch</p></td><td class="parameter_description"><p>which architecture to fetch (default: current architecture). </p></td><td class="parameter_annotations"><span class="annotation">[<acronym class="acronym">nullable</acronym>]</span></td></tr><tr><td class="parameter_name"><p>branch</p></td><td class="parameter_description"><p>which branch to fetch (default: 'master'). </p></td><td class="parameter_annotations"><span class="annotation">[<acronym class="acronym">nullable</acronym>]</span></td></tr><tr><td class="parameter_name"><p>subpaths</p></td><td class="parameter_description"><p>A list of subpaths to fetch, or <a class="link" href="#"><code class="literal">NULL</code></a> for everything. </p></td><td class="parameter_annotations"><span class="annotation">[<acronym class="acronym">nullable</acronym>][<acronym class="acronym">array</acronym> zero-terminated=1]</span></td></tr><tr><td class="parameter_name"><p>progress</p></td><td class="parameter_description"><p>progress callback. </p></td><td class="parameter_annotations"><span class="annotation">[<acronym class="acronym">scope call</acronym>][<acronym class="acronym">closure</acronym> progress_data][<acronym class="acronym">nullable</acronym>]</span></td></tr><tr><td class="parameter_name"><p>progress_data</p></td><td class="parameter_description"><p>user data passed to <em class="parameter"><code>progress</code></em>
. </p></td><td class="parameter_annotations"><span class="annotation">[<acronym class="acronym">nullable</acronym>]</span></td></tr><tr><td class="parameter_name"><p>cancellable</p></td><td class="parameter_description"><p>a <a class="link" href="#"><span class="type">GCancellable</span></a>. </p></td><td class="parameter_annotations"><span class="annotation">[<acronym class="acronym">nullable</acronym>]</span></td></tr><tr><td class="parameter_name"><p>error</p></td><td class="parameter_description"><p>return location for a <a class="link" href="#"><span class="type">GError</span></a></p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-installation-install-full.returns"></a><h4>Returns</h4><p>The ref for the newly installed app or <a class="link" href="#"><code class="literal">NULL</code></a> on failure. </p><p><span class="annotation">[<acronym class="acronym">transfer full</acronym>]</span></p></div></div><div class="refsect2"><a id="flatpak-installation-update"></a><h3>flatpak_installation_update ()</h3><a id="id2875" class="indexterm"></a><pre class="programlisting"><a class="link" href="#FlatpakInstalledRef" title="FlatpakInstalledRef"><span class="returnvalue">FlatpakInstalledRef</span></a> *
flatpak_installation_update (<em class="parameter"><code><a class="link" href="#FlatpakInstallation" title="FlatpakInstallation"><span class="type">FlatpakInstallation</span></a> *self</code></em>,
                             <em class="parameter"><code><a class="link" href="#FlatpakUpdateFlags" title="enum FlatpakUpdateFlags"><span class="type">FlatpakUpdateFlags</span></a> flags</code></em>,
                             <em class="parameter"><code><a class="link" href="#FlatpakRefKind" title="enum FlatpakRefKind"><span class="type">FlatpakRefKind</span></a> kind</code></em>,
                             <em class="parameter"><code>const <a class="link" href="#"><span class="type">char</span></a> *name</code></em>,
                             <em class="parameter"><code>const <a class="link" href="#"><span class="type">char</span></a> *arch</code></em>,
                             <em class="parameter"><code>const <a class="link" href="#"><span class="type">char</span></a> *branch</code></em>,
                             <em class="parameter"><code><a class="link" href="#FlatpakProgressCallback" title="FlatpakProgressCallback ()"><span class="type">FlatpakProgressCallback</span></a> progress</code></em>,
                             <em class="parameter"><code><a class="link" href="#"><span class="type">gpointer</span></a> progress_data</code></em>,
                             <em class="parameter"><code><a class="link" href="#"><span class="type">GCancellable</span></a> *cancellable</code></em>,
                             <em class="parameter"><code><a class="link" href="#"><span class="type">GError</span></a> **error</code></em>);</pre><div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Warning</h3><p><code class="literal">flatpak_installation_update</code> has been deprecated since version 1.7.0 and should not be used in newly-written code.</p><p>Use <a class="link" href="#flatpak-transaction-add-update" title="flatpak_transaction_add_update ()"><code class="function">flatpak_transaction_add_update()</code></a> instead.</p></div><p>This is an old deprecated function, you should use
<a class="link" href="#FlatpakTransaction" title="FlatpakTransaction"><span class="type">FlatpakTransaction</span></a> and <a class="link" href="#flatpak-transaction-add-update" title="flatpak_transaction_add_update ()"><code class="function">flatpak_transaction_add_update()</code></a>
instead. It has a lot more interesting features.</p><p>Update an application or runtime.</p><p>If the specified package is not installed, then <a class="link" href="#FLATPAK-ERROR-NOT-INSTALLED:CAPS"><code class="literal">FLATPAK_ERROR_NOT_INSTALLED</code></a>
will be thrown.</p><p>If no updates could be found on the remote end and the package is
already up to date, then <a class="link" href="#FLATPAK-ERROR-ALREADY-INSTALLED:CAPS"><code class="literal">FLATPAK_ERROR_ALREADY_INSTALLED</code></a> will be thrown.</p><div class="refsect3"><a id="flatpak-installation-update.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakInstallation" title="FlatpakInstallation"><span class="type">FlatpakInstallation</span></a></p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>flags</p></td><td class="parameter_description"><p>set of <a class="link" href="#FlatpakUpdateFlags" title="enum FlatpakUpdateFlags"><span class="type">FlatpakUpdateFlags</span></a> flag</p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>kind</p></td><td class="parameter_description"><p>whether this is an app or runtime</p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>name</p></td><td class="parameter_description"><p>name of the app or runtime to update</p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>arch</p></td><td class="parameter_description"><p>architecture of the app or runtime to update (default: current architecture). </p></td><td class="parameter_annotations"><span class="annotation">[<acronym class="acronym">nullable</acronym>]</span></td></tr><tr><td class="parameter_name"><p>branch</p></td><td class="parameter_description"><p>name of the branch of the app or runtime to update (default: master). </p></td><td class="parameter_annotations"><span class="annotation">[<acronym class="acronym">nullable</acronym>]</span></td></tr><tr><td class="parameter_name"><p>progress</p></td><td class="parameter_description"><p>the callback. </p></td><td class="parameter_annotations"><span class="annotation">[<acronym class="acronym">scope call</acronym>][<acronym class="acronym">closure</acronym> progress_data][<acronym class="acronym">nullable</acronym>]</span></td></tr><tr><td class="parameter_name"><p>progress_data</p></td><td class="parameter_description"><p>user data passed to <em class="parameter"><code>progress</code></em>
. </p></td><td class="parameter_annotations"><span class="annotation">[<acronym class="acronym">nullable</acronym>]</span></td></tr><tr><td class="parameter_name"><p>cancellable</p></td><td class="parameter_description"><p>a <a class="link" href="#"><span class="type">GCancellable</span></a>. </p></td><td class="parameter_annotations"><span class="annotation">[<acronym class="acronym">nullable</acronym>]</span></td></tr><tr><td class="parameter_name"><p>error</p></td><td class="parameter_description"><p>return location for a <a class="link" href="#"><span class="type">GError</span></a></p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-installation-update.returns"></a><h4>Returns</h4><p>The ref for the newly updated app or <a class="link" href="#"><code class="literal">NULL</code></a> on failure. </p><p><span class="annotation">[<acronym class="acronym">transfer full</acronym>]</span></p></div></div><div class="refsect2"><a id="flatpak-installation-update-full"></a><h3>flatpak_installation_update_full ()</h3><a id="id3026" class="indexterm"></a><pre class="programlisting"><a class="link" href="#FlatpakInstalledRef" title="FlatpakInstalledRef"><span class="returnvalue">FlatpakInstalledRef</span></a> *
flatpak_installation_update_full (<em class="parameter"><code><a class="link" href="#FlatpakInstallation" title="FlatpakInstallation"><span class="type">FlatpakInstallation</span></a> *self</code></em>,
                                  <em class="parameter"><code><a class="link" href="#FlatpakUpdateFlags" title="enum FlatpakUpdateFlags"><span class="type">FlatpakUpdateFlags</span></a> flags</code></em>,
                                  <em class="parameter"><code><a class="link" href="#FlatpakRefKind" title="enum FlatpakRefKind"><span class="type">FlatpakRefKind</span></a> kind</code></em>,
                                  <em class="parameter"><code>const <a class="link" href="#"><span class="type">char</span></a> *name</code></em>,
                                  <em class="parameter"><code>const <a class="link" href="#"><span class="type">char</span></a> *arch</code></em>,
                                  <em class="parameter"><code>const <a class="link" href="#"><span class="type">char</span></a> *branch</code></em>,
                                  <em class="parameter"><code>const <a class="link" href="#"><span class="type">char</span></a> * const *subpaths</code></em>,
                                  <em class="parameter"><code><a class="link" href="#FlatpakProgressCallback" title="FlatpakProgressCallback ()"><span class="type">FlatpakProgressCallback</span></a> progress</code></em>,
                                  <em class="parameter"><code><a class="link" href="#"><span class="type">gpointer</span></a> progress_data</code></em>,
                                  <em class="parameter"><code><a class="link" href="#"><span class="type">GCancellable</span></a> *cancellable</code></em>,
                                  <em class="parameter"><code><a class="link" href="#"><span class="type">GError</span></a> **error</code></em>);</pre><div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Warning</h3><p><code class="literal">flatpak_installation_update_full</code> has been deprecated since version 1.7.0 and should not be used in newly-written code.</p><p>Use <a class="link" href="#flatpak-transaction-add-update" title="flatpak_transaction_add_update ()"><code class="function">flatpak_transaction_add_update()</code></a> instead.</p></div><p>This is an old deprecated function, you should use
<a class="link" href="#FlatpakTransaction" title="FlatpakTransaction"><span class="type">FlatpakTransaction</span></a> and <a class="link" href="#flatpak-transaction-add-update" title="flatpak_transaction_add_update ()"><code class="function">flatpak_transaction_add_update()</code></a>
instead. It has a lot more interesting features.</p><p>Update an application or runtime.</p><p>If the specified package is not installed, then <a class="link" href="#FLATPAK-ERROR-NOT-INSTALLED:CAPS"><code class="literal">FLATPAK_ERROR_NOT_INSTALLED</code></a>
will be thrown.</p><p>If no updates could be found on the remote end and the package is
already up to date, then <a class="link" href="#FLATPAK-ERROR-ALREADY-INSTALLED:CAPS"><code class="literal">FLATPAK_ERROR_ALREADY_INSTALLED</code></a> will be thrown.</p><div class="refsect3"><a id="flatpak-installation-update-full.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakInstallation" title="FlatpakInstallation"><span class="type">FlatpakInstallation</span></a></p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>flags</p></td><td class="parameter_description"><p>set of <a class="link" href="#FlatpakUpdateFlags" title="enum FlatpakUpdateFlags"><span class="type">FlatpakUpdateFlags</span></a> flag</p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>kind</p></td><td class="parameter_description"><p>whether this is an app or runtime</p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>name</p></td><td class="parameter_description"><p>name of the app or runtime to update</p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>arch</p></td><td class="parameter_description"><p>architecture of the app or runtime to update (default: current architecture). </p></td><td class="parameter_annotations"><span class="annotation">[<acronym class="acronym">nullable</acronym>]</span></td></tr><tr><td class="parameter_name"><p>branch</p></td><td class="parameter_description"><p>name of the branch of the app or runtime to update (default: master). </p></td><td class="parameter_annotations"><span class="annotation">[<acronym class="acronym">nullable</acronym>]</span></td></tr><tr><td class="parameter_name"><p>subpaths</p></td><td class="parameter_description"><p>A list of subpaths to fetch, or <a class="link" href="#"><code class="literal">NULL</code></a> for everything. </p></td><td class="parameter_annotations"><span class="annotation">[<acronym class="acronym">nullable</acronym>][<acronym class="acronym">array</acronym> zero-terminated=1]</span></td></tr><tr><td class="parameter_name"><p>progress</p></td><td class="parameter_description"><p>the callback. </p></td><td class="parameter_annotations"><span class="annotation">[<acronym class="acronym">scope call</acronym>][<acronym class="acronym">closure</acronym> progress_data][<acronym class="acronym">nullable</acronym>]</span></td></tr><tr><td class="parameter_name"><p>progress_data</p></td><td class="parameter_description"><p>user data passed to <em class="parameter"><code>progress</code></em>
. </p></td><td class="parameter_annotations"><span class="annotation">[<acronym class="acronym">nullable</acronym>]</span></td></tr><tr><td class="parameter_name"><p>cancellable</p></td><td class="parameter_description"><p>a <a class="link" href="#"><span class="type">GCancellable</span></a>. </p></td><td class="parameter_annotations"><span class="annotation">[<acronym class="acronym">nullable</acronym>]</span></td></tr><tr><td class="parameter_name"><p>error</p></td><td class="parameter_description"><p>return location for a <a class="link" href="#"><span class="type">GError</span></a></p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-installation-update-full.returns"></a><h4>Returns</h4><p>The ref for the newly updated app or <a class="link" href="#"><code class="literal">NULL</code></a> on failure. </p><p><span class="annotation">[<acronym class="acronym">transfer full</acronym>]</span></p></div></div><div class="refsect2"><a id="flatpak-installation-uninstall"></a><h3>flatpak_installation_uninstall ()</h3><a id="id3191" class="indexterm"></a><pre class="programlisting"><a class="link" href="#"><span class="returnvalue">gboolean</span></a>
flatpak_installation_uninstall (<em class="parameter"><code><a class="link" href="#FlatpakInstallation" title="FlatpakInstallation"><span class="type">FlatpakInstallation</span></a> *self</code></em>,
                                <em class="parameter"><code><a class="link" href="#FlatpakRefKind" title="enum FlatpakRefKind"><span class="type">FlatpakRefKind</span></a> kind</code></em>,
                                <em class="parameter"><code>const <a class="link" href="#"><span class="type">char</span></a> *name</code></em>,
                                <em class="parameter"><code>const <a class="link" href="#"><span class="type">char</span></a> *arch</code></em>,
                                <em class="parameter"><code>const <a class="link" href="#"><span class="type">char</span></a> *branch</code></em>,
                                <em class="parameter"><code><a class="link" href="#FlatpakProgressCallback" title="FlatpakProgressCallback ()"><span class="type">FlatpakProgressCallback</span></a> progress</code></em>,
                                <em class="parameter"><code><a class="link" href="#"><span class="type">gpointer</span></a> progress_data</code></em>,
                                <em class="parameter"><code><a class="link" href="#"><span class="type">GCancellable</span></a> *cancellable</code></em>,
                                <em class="parameter"><code><a class="link" href="#"><span class="type">GError</span></a> **error</code></em>);</pre><div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Warning</h3><p><code class="literal">flatpak_installation_uninstall</code> has been deprecated since version 1.7.0 and should not be used in newly-written code.</p><p>Use <a class="link" href="#flatpak-transaction-add-uninstall" title="flatpak_transaction_add_uninstall ()"><code class="function">flatpak_transaction_add_uninstall()</code></a> instead.</p></div><p>This is an old deprecated function, you should use
<a class="link" href="#FlatpakTransaction" title="FlatpakTransaction"><span class="type">FlatpakTransaction</span></a> and <a class="link" href="#flatpak-transaction-add-uninstall" title="flatpak_transaction_add_uninstall ()"><code class="function">flatpak_transaction_add_uninstall()</code></a>
instead. It has a lot more interesting features.</p><p>Uninstall an application or runtime.</p><div class="refsect3"><a id="flatpak-installation-uninstall.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakInstallation" title="FlatpakInstallation"><span class="type">FlatpakInstallation</span></a></p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>kind</p></td><td class="parameter_description"><p>what this ref contains (an <a class="link" href="#FlatpakRefKind" title="enum FlatpakRefKind"><span class="type">FlatpakRefKind</span></a>)</p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>name</p></td><td class="parameter_description"><p>name of the app or runtime to uninstall</p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>arch</p></td><td class="parameter_description"><p>architecture of the app or runtime to uninstall; if
<a class="link" href="#"><code class="literal">NULL</code></a>, <a class="link" href="#flatpak-get-default-arch" title="flatpak_get_default_arch ()"><code class="function">flatpak_get_default_arch()</code></a> is assumed. </p></td><td class="parameter_annotations"><span class="annotation">[<acronym class="acronym">nullable</acronym>]</span></td></tr><tr><td class="parameter_name"><p>branch</p></td><td class="parameter_description"><p>name of the branch of the app or runtime to uninstall;
if <a class="link" href="#"><code class="literal">NULL</code></a>, <code class="literal">master</code> is assumed. </p></td><td class="parameter_annotations"><span class="annotation">[<acronym class="acronym">nullable</acronym>]</span></td></tr><tr><td class="parameter_name"><p>progress</p></td><td class="parameter_description"><p>the callback. </p></td><td class="parameter_annotations"><span class="annotation">[<acronym class="acronym">scope call</acronym>][<acronym class="acronym">closure</acronym> progress_data][<acronym class="acronym">nullable</acronym>]</span></td></tr><tr><td class="parameter_name"><p>progress_data</p></td><td class="parameter_description"><p>user data passed to <em class="parameter"><code>progress</code></em>
. </p></td><td class="parameter_annotations"><span class="annotation">[<acronym class="acronym">nullable</acronym>]</span></td></tr><tr><td class="parameter_name"><p>cancellable</p></td><td class="parameter_description"><p>a <a class="link" href="#"><span class="type">GCancellable</span></a>. </p></td><td class="parameter_annotations"><span class="annotation">[<acronym class="acronym">nullable</acronym>]</span></td></tr><tr><td class="parameter_name"><p>error</p></td><td class="parameter_description"><p>return location for a <a class="link" href="#"><span class="type">GError</span></a></p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-installation-uninstall.returns"></a><h4>Returns</h4><p> <a class="link" href="#"><code class="literal">TRUE</code></a> on success</p></div></div><div class="refsect2"><a id="flatpak-installation-uninstall-full"></a><h3>flatpak_installation_uninstall_full ()</h3><a id="id3331" class="indexterm"></a><a id="id3333" class="indexterm"></a><pre class="programlisting"><a class="link" href="#"><span class="returnvalue">gboolean</span></a>
flatpak_installation_uninstall_full (<em class="parameter"><code><a class="link" href="#FlatpakInstallation" title="FlatpakInstallation"><span class="type">FlatpakInstallation</span></a> *self</code></em>,
                                     <em class="parameter"><code><a class="link" href="#FlatpakUninstallFlags" title="enum FlatpakUninstallFlags"><span class="type">FlatpakUninstallFlags</span></a> flags</code></em>,
                                     <em class="parameter"><code><a class="link" href="#FlatpakRefKind" title="enum FlatpakRefKind"><span class="type">FlatpakRefKind</span></a> kind</code></em>,
                                     <em class="parameter"><code>const <a class="link" href="#"><span class="type">char</span></a> *name</code></em>,
                                     <em class="parameter"><code>const <a class="link" href="#"><span class="type">char</span></a> *arch</code></em>,
                                     <em class="parameter"><code>const <a class="link" href="#"><span class="type">char</span></a> *branch</code></em>,
                                     <em class="parameter"><code><a class="link" href="#FlatpakProgressCallback" title="FlatpakProgressCallback ()"><span class="type">FlatpakProgressCallback</span></a> progress</code></em>,
                                     <em class="parameter"><code><a class="link" href="#"><span class="type">gpointer</span></a> progress_data</code></em>,
                                     <em class="parameter"><code><a class="link" href="#"><span class="type">GCancellable</span></a> *cancellable</code></em>,
                                     <em class="parameter"><code><a class="link" href="#"><span class="type">GError</span></a> **error</code></em>);</pre><div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Warning</h3><p><code class="literal">flatpak_installation_uninstall_full</code> has been deprecated since version 1.7.0 and should not be used in newly-written code.</p><p>Use <a class="link" href="#flatpak-transaction-add-uninstall" title="flatpak_transaction_add_uninstall ()"><code class="function">flatpak_transaction_add_uninstall()</code></a> instead.</p></div><p>This is an old deprecated function, you should use
<a class="link" href="#FlatpakTransaction" title="FlatpakTransaction"><span class="type">FlatpakTransaction</span></a> and <a class="link" href="#flatpak-transaction-add-uninstall" title="flatpak_transaction_add_uninstall ()"><code class="function">flatpak_transaction_add_uninstall()</code></a>
instead. It has a lot more interesting features.</p><p>Uninstall an application or runtime.</p><div class="refsect3"><a id="flatpak-installation-uninstall-full.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakInstallation" title="FlatpakInstallation"><span class="type">FlatpakInstallation</span></a></p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>flags</p></td><td class="parameter_description"><p>set of <a class="link" href="#FlatpakUninstallFlags" title="enum FlatpakUninstallFlags"><span class="type">FlatpakUninstallFlags</span></a> flags</p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>kind</p></td><td class="parameter_description"><p>what this ref contains (an <a class="link" href="#FlatpakRefKind" title="enum FlatpakRefKind"><span class="type">FlatpakRefKind</span></a>)</p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>name</p></td><td class="parameter_description"><p>name of the app or runtime to uninstall</p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>arch</p></td><td class="parameter_description"><p>architecture of the app or runtime to uninstall; if
<a class="link" href="#"><code class="literal">NULL</code></a>, <a class="link" href="#flatpak-get-default-arch" title="flatpak_get_default_arch ()"><code class="function">flatpak_get_default_arch()</code></a> is assumed. </p></td><td class="parameter_annotations"><span class="annotation">[<acronym class="acronym">nullable</acronym>]</span></td></tr><tr><td class="parameter_name"><p>branch</p></td><td class="parameter_description"><p>name of the branch of the app or runtime to uninstall;
if <a class="link" href="#"><code class="literal">NULL</code></a>, <code class="literal">master</code> is assumed. </p></td><td class="parameter_annotations"><span class="annotation">[<acronym class="acronym">nullable</acronym>]</span></td></tr><tr><td class="parameter_name"><p>progress</p></td><td class="parameter_description"><p>the callback. </p></td><td class="parameter_annotations"><span class="annotation">[<acronym class="acronym">scope call</acronym>][<acronym class="acronym">closure</acronym> progress_data][<acronym class="acronym">nullable</acronym>]</span></td></tr><tr><td class="parameter_name"><p>progress_data</p></td><td class="parameter_description"><p>user data passed to <em class="parameter"><code>progress</code></em>
. </p></td><td class="parameter_annotations"><span class="annotation">[<acronym class="acronym">nullable</acronym>]</span></td></tr><tr><td class="parameter_name"><p>cancellable</p></td><td class="parameter_description"><p>a <a class="link" href="#"><span class="type">GCancellable</span></a>. </p></td><td class="parameter_annotations"><span class="annotation">[<acronym class="acronym">nullable</acronym>]</span></td></tr><tr><td class="parameter_name"><p>error</p></td><td class="parameter_description"><p>return location for a <a class="link" href="#"><span class="type">GError</span></a></p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-installation-uninstall-full.returns"></a><h4>Returns</h4><p> <a class="link" href="#"><code class="literal">TRUE</code></a> on success</p></div><p class="since">Since: <a class="link" href="#">0.11.8</a></p></div><div class="refsect2"><a id="flatpak-installation-launch"></a><h3>flatpak_installation_launch ()</h3><a id="id3486" class="indexterm"></a><pre class="programlisting"><a class="link" href="#"><span class="returnvalue">gboolean</span></a>
flatpak_installation_launch (<em class="parameter"><code><a class="link" href="#FlatpakInstallation" title="FlatpakInstallation"><span class="type">FlatpakInstallation</span></a> *self</code></em>,
                             <em class="parameter"><code>const <a class="link" href="#"><span class="type">char</span></a> *name</code></em>,
                             <em class="parameter"><code>const <a class="link" href="#"><span class="type">char</span></a> *arch</code></em>,
                             <em class="parameter"><code>const <a class="link" href="#"><span class="type">char</span></a> *branch</code></em>,
                             <em class="parameter"><code>const <a class="link" href="#"><span class="type">char</span></a> *commit</code></em>,
                             <em class="parameter"><code><a class="link" href="#"><span class="type">GCancellable</span></a> *cancellable</code></em>,
                             <em class="parameter"><code><a class="link" href="#"><span class="type">GError</span></a> **error</code></em>);</pre><p>Launch an installed application.</p><p>You can use <a class="link" href="#flatpak-installation-get-installed-ref" title="flatpak_installation_get_installed_ref ()"><code class="function">flatpak_installation_get_installed_ref()</code></a> or
<a class="link" href="#flatpak-installation-get-current-installed-app" title="flatpak_installation_get_current_installed_app ()"><code class="function">flatpak_installation_get_current_installed_app()</code></a> to find out what builds
are available, in order to get a value for <em class="parameter"><code>commit</code></em>
.</p><div class="refsect3"><a id="flatpak-installation-launch.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakInstallation" title="FlatpakInstallation"><span class="type">FlatpakInstallation</span></a></p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>name</p></td><td class="parameter_description"><p>name of the app to launch</p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>arch</p></td><td class="parameter_description"><p>which architecture to launch (default: current architecture). </p></td><td class="parameter_annotations"><span class="annotation">[<acronym class="acronym">nullable</acronym>]</span></td></tr><tr><td class="parameter_name"><p>branch</p></td><td class="parameter_description"><p>which branch of the application (default: "master"). </p></td><td class="parameter_annotations"><span class="annotation">[<acronym class="acronym">nullable</acronym>]</span></td></tr><tr><td class="parameter_name"><p>commit</p></td><td class="parameter_description"><p>the commit of <em class="parameter"><code>branch</code></em>
to launch. </p></td><td class="parameter_annotations"><span class="annotation">[<acronym class="acronym">nullable</acronym>]</span></td></tr><tr><td class="parameter_name"><p>cancellable</p></td><td class="parameter_description"><p>a <a class="link" href="#"><span class="type">GCancellable</span></a>. </p></td><td class="parameter_annotations"><span class="annotation">[<acronym class="acronym">nullable</acronym>]</span></td></tr><tr><td class="parameter_name"><p>error</p></td><td class="parameter_description"><p>return location for a <a class="link" href="#"><span class="type">GError</span></a></p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-installation-launch.returns"></a><h4>Returns</h4><p> <a class="link" href="#"><code class="literal">TRUE</code></a>, unless an error occurred</p></div></div><div class="refsect2"><a id="flatpak-installation-launch-full"></a><h3>flatpak_installation_launch_full ()</h3><a id="id3590" class="indexterm"></a><pre class="programlisting"><a class="link" href="#"><span class="returnvalue">gboolean</span></a>
flatpak_installation_launch_full (<em class="parameter"><code><a class="link" href="#FlatpakInstallation" title="FlatpakInstallation"><span class="type">FlatpakInstallation</span></a> *self</code></em>,
                                  <em class="parameter"><code><a class="link" href="#FlatpakLaunchFlags" title="enum FlatpakLaunchFlags"><span class="type">FlatpakLaunchFlags</span></a> flags</code></em>,
                                  <em class="parameter"><code>const <a class="link" href="#"><span class="type">char</span></a> *name</code></em>,
                                  <em class="parameter"><code>const <a class="link" href="#"><span class="type">char</span></a> *arch</code></em>,
                                  <em class="parameter"><code>const <a class="link" href="#"><span class="type">char</span></a> *branch</code></em>,
                                  <em class="parameter"><code>const <a class="link" href="#"><span class="type">char</span></a> *commit</code></em>,
                                  <em class="parameter"><code><a class="link" href="#FlatpakInstance" title="FlatpakInstance"><span class="type">FlatpakInstance</span></a> **instance_out</code></em>,
                                  <em class="parameter"><code><a class="link" href="#"><span class="type">GCancellable</span></a> *cancellable</code></em>,
                                  <em class="parameter"><code><a class="link" href="#"><span class="type">GError</span></a> **error</code></em>);</pre><p>Launch an installed application.</p><p>You can use <a class="link" href="#flatpak-installation-get-installed-ref" title="flatpak_installation_get_installed_ref ()"><code class="function">flatpak_installation_get_installed_ref()</code></a> or
<a class="link" href="#flatpak-installation-get-current-installed-app" title="flatpak_installation_get_current_installed_app ()"><code class="function">flatpak_installation_get_current_installed_app()</code></a> to find out what builds
are available, in order to get a value for <em class="parameter"><code>commit</code></em>
.</p><p>Compared to <a class="link" href="#flatpak-installation-launch" title="flatpak_installation_launch ()"><code class="function">flatpak_installation_launch()</code></a>, this function returns a <a class="link" href="#FlatpakInstance" title="FlatpakInstance"><span class="type">FlatpakInstance</span></a>
that can be used to get information about the running instance. You can also use
it to wait for the instance to be done with <a class="link" href="#"><code class="function">g_child_watch_add()</code></a> if you pass the
<a class="link" href="#FLATPAK-LAUNCH-FLAGS-DO-NOT-REAP:CAPS"><span class="type">FLATPAK_LAUNCH_FLAGS_DO_NOT_REAP</span></a> flag.</p><div class="refsect3"><a id="flatpak-installation-launch-full.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakInstallation" title="FlatpakInstallation"><span class="type">FlatpakInstallation</span></a></p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>flags</p></td><td class="parameter_description"><p>set of <a class="link" href="#FlatpakLaunchFlags" title="enum FlatpakLaunchFlags"><span class="type">FlatpakLaunchFlags</span></a></p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>name</p></td><td class="parameter_description"><p>name of the app to launch</p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>arch</p></td><td class="parameter_description"><p>which architecture to launch (default: current architecture). </p></td><td class="parameter_annotations"><span class="annotation">[<acronym class="acronym">nullable</acronym>]</span></td></tr><tr><td class="parameter_name"><p>branch</p></td><td class="parameter_description"><p>which branch of the application (default: "master"). </p></td><td class="parameter_annotations"><span class="annotation">[<acronym class="acronym">nullable</acronym>]</span></td></tr><tr><td class="parameter_name"><p>commit</p></td><td class="parameter_description"><p>the commit of <em class="parameter"><code>branch</code></em>
to launch. </p></td><td class="parameter_annotations"><span class="annotation">[<acronym class="acronym">nullable</acronym>]</span></td></tr><tr><td class="parameter_name"><p>instance_out</p></td><td class="parameter_description"><p>return location for a <a class="link" href="#FlatpakInstance" title="FlatpakInstance"><span class="type">FlatpakInstance</span></a>. </p></td><td class="parameter_annotations"><span class="annotation">[<acronym class="acronym">nullable</acronym>]</span></td></tr><tr><td class="parameter_name"><p>cancellable</p></td><td class="parameter_description"><p>a <a class="link" href="#"><span class="type">GCancellable</span></a>. </p></td><td class="parameter_annotations"><span class="annotation">[<acronym class="acronym">nullable</acronym>]</span></td></tr><tr><td class="parameter_name"><p>error</p></td><td class="parameter_description"><p>return location for a <a class="link" href="#"><span class="type">GError</span></a></p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-installation-launch-full.returns"></a><h4>Returns</h4><p> <a class="link" href="#"><code class="literal">TRUE</code></a>, unless an error occurred</p></div><p class="since">Since: <a class="link" href="#">1.1</a></p></div><div class="refsect2"><a id="flatpak-installation-get-current-installed-app"></a><h3>flatpak_installation_get_current_installed_app ()</h3><a id="id3729" class="indexterm"></a><pre class="programlisting"><a class="link" href="#FlatpakInstalledRef" title="FlatpakInstalledRef"><span class="returnvalue">FlatpakInstalledRef</span></a> *
flatpak_installation_get_current_installed_app
                               (<em class="parameter"><code><a class="link" href="#FlatpakInstallation" title="FlatpakInstallation"><span class="type">FlatpakInstallation</span></a> *self</code></em>,
                                <em class="parameter"><code>const <a class="link" href="#"><span class="type">char</span></a> *name</code></em>,
                                <em class="parameter"><code><a class="link" href="#"><span class="type">GCancellable</span></a> *cancellable</code></em>,
                                <em class="parameter"><code><a class="link" href="#"><span class="type">GError</span></a> **error</code></em>);</pre><p>Get the last build of reference <em class="parameter"><code>name</code></em>
 that was installed with
<a class="link" href="#flatpak-installation-install" title="flatpak_installation_install ()"><code class="function">flatpak_installation_install()</code></a>, or <a class="link" href="#"><code class="literal">NULL</code></a> if the reference has
never been installed locally.</p><div class="refsect3"><a id="flatpak-installation-get-current-installed-app.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakInstallation" title="FlatpakInstallation"><span class="type">FlatpakInstallation</span></a></p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>name</p></td><td class="parameter_description"><p>the name of the app</p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>cancellable</p></td><td class="parameter_description"><p>a <a class="link" href="#"><span class="type">GCancellable</span></a>. </p></td><td class="parameter_annotations"><span class="annotation">[<acronym class="acronym">nullable</acronym>]</span></td></tr><tr><td class="parameter_name"><p>error</p></td><td class="parameter_description"><p>return location for a <a class="link" href="#"><span class="type">GError</span></a></p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-installation-get-current-installed-app.returns"></a><h4>Returns</h4><p>an <a class="link" href="#FlatpakInstalledRef" title="FlatpakInstalledRef"><span class="type">FlatpakInstalledRef</span></a>. </p><p><span class="annotation">[<acronym class="acronym">transfer full</acronym>]</span></p></div></div><div class="refsect2"><a id="flatpak-installation-get-display-name"></a><h3>flatpak_installation_get_display_name ()</h3><a id="id3801" class="indexterm"></a><pre class="programlisting">const <a class="link" href="#"><span class="returnvalue">char</span></a> *
flatpak_installation_get_display_name (<em class="parameter"><code><a class="link" href="#FlatpakInstallation" title="FlatpakInstallation"><span class="type">FlatpakInstallation</span></a> *self</code></em>);</pre><p>Returns the display name of the installation for <em class="parameter"><code>self</code></em>
.</p><p>Note that this function may return <a class="link" href="#"><code class="literal">NULL</code></a> if the installation
does not have a display name.</p><div class="refsect3"><a id="flatpak-installation-get-display-name.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakInstallation" title="FlatpakInstallation"><span class="type">FlatpakInstallation</span></a></p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-installation-get-display-name.returns"></a><h4>Returns</h4><p>a string with the installation's display name. </p><p><span class="annotation">[<acronym class="acronym">transfer none</acronym>]</span></p></div><p class="since">Since: <a class="link" href="#">0.8</a></p></div><div class="refsect2"><a id="flatpak-installation-get-id"></a><h3>flatpak_installation_get_id ()</h3><a id="id3839" class="indexterm"></a><pre class="programlisting">const <a class="link" href="#"><span class="returnvalue">char</span></a> *
flatpak_installation_get_id (<em class="parameter"><code><a class="link" href="#FlatpakInstallation" title="FlatpakInstallation"><span class="type">FlatpakInstallation</span></a> *self</code></em>);</pre><p>Returns the ID of the installation for <em class="parameter"><code>self</code></em>
.</p><p>The ID for the default system installation is "default".
The ID for the user installation is "user".</p><div class="refsect3"><a id="flatpak-installation-get-id.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakInstallation" title="FlatpakInstallation"><span class="type">FlatpakInstallation</span></a></p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-installation-get-id.returns"></a><h4>Returns</h4><p>a string with the installation's ID. </p><p><span class="annotation">[<acronym class="acronym">transfer none</acronym>]</span></p></div><p class="since">Since: <a class="link" href="#">0.8</a></p></div><div class="refsect2"><a id="flatpak-installation-get-installed-ref"></a><h3>flatpak_installation_get_installed_ref ()</h3><a id="id3875" class="indexterm"></a><pre class="programlisting"><a class="link" href="#FlatpakInstalledRef" title="FlatpakInstalledRef"><span class="returnvalue">FlatpakInstalledRef</span></a> *
flatpak_installation_get_installed_ref
                               (<em class="parameter"><code><a class="link" href="#FlatpakInstallation" title="FlatpakInstallation"><span class="type">FlatpakInstallation</span></a> *self</code></em>,
                                <em class="parameter"><code><a class="link" href="#FlatpakRefKind" title="enum FlatpakRefKind"><span class="type">FlatpakRefKind</span></a> kind</code></em>,
                                <em class="parameter"><code>const <a class="link" href="#"><span class="type">char</span></a> *name</code></em>,
                                <em class="parameter"><code>const <a class="link" href="#"><span class="type">char</span></a> *arch</code></em>,
                                <em class="parameter"><code>const <a class="link" href="#"><span class="type">char</span></a> *branch</code></em>,
                                <em class="parameter"><code><a class="link" href="#"><span class="type">GCancellable</span></a> *cancellable</code></em>,
                                <em class="parameter"><code><a class="link" href="#"><span class="type">GError</span></a> **error</code></em>);</pre><p>Returns information about an installed ref, such as the available builds,
its size, location, etc.</p><div class="refsect3"><a id="flatpak-installation-get-installed-ref.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakInstallation" title="FlatpakInstallation"><span class="type">FlatpakInstallation</span></a></p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>kind</p></td><td class="parameter_description"><p>whether this is an app or runtime</p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>name</p></td><td class="parameter_description"><p>name of the app/runtime to fetch</p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>arch</p></td><td class="parameter_description"><p>which architecture to fetch (default: current architecture). </p></td><td class="parameter_annotations"><span class="annotation">[<acronym class="acronym">nullable</acronym>]</span></td></tr><tr><td class="parameter_name"><p>branch</p></td><td class="parameter_description"><p>which branch to fetch (default: "master"). </p></td><td class="parameter_annotations"><span class="annotation">[<acronym class="acronym">nullable</acronym>]</span></td></tr><tr><td class="parameter_name"><p>cancellable</p></td><td class="parameter_description"><p>a <a class="link" href="#"><span class="type">GCancellable</span></a>. </p></td><td class="parameter_annotations"><span class="annotation">[<acronym class="acronym">nullable</acronym>]</span></td></tr><tr><td class="parameter_name"><p>error</p></td><td class="parameter_description"><p>return location for a <a class="link" href="#"><span class="type">GError</span></a></p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-installation-get-installed-ref.returns"></a><h4>Returns</h4><p>an <a class="link" href="#FlatpakInstalledRef" title="FlatpakInstalledRef"><span class="type">FlatpakInstalledRef</span></a>, or <a class="link" href="#"><code class="literal">NULL</code></a> if an error occurred. </p><p><span class="annotation">[<acronym class="acronym">transfer full</acronym>]</span></p></div></div><div class="refsect2"><a id="flatpak-installation-get-min-free-space-bytes"></a><h3>flatpak_installation_get_min_free_space_bytes ()</h3><a id="id3975" class="indexterm"></a><pre class="programlisting"><a class="link" href="#"><span class="returnvalue">gboolean</span></a>
flatpak_installation_get_min_free_space_bytes
                               (<em class="parameter"><code><a class="link" href="#FlatpakInstallation" title="FlatpakInstallation"><span class="type">FlatpakInstallation</span></a> *self</code></em>,
                                <em class="parameter"><code><a class="link" href="#"><span class="type">guint64</span></a> *out_bytes</code></em>,
                                <em class="parameter"><code><a class="link" href="#"><span class="type">GError</span></a> **error</code></em>);</pre><p>Returns the min-free-space config value from the OSTree repository of this installation.</p><p>Applications can use this value, together with information about the available
disk space and the size of pending updates or installs, to estimate whether a
pull operation will fail due to running out of disk space.</p><div class="refsect3"><a id="flatpak-installation-get-min-free-space-bytes.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakInstallation" title="FlatpakInstallation"><span class="type">FlatpakInstallation</span></a></p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>out_bytes</p></td><td class="parameter_description"><p>Location to store the result. </p></td><td class="parameter_annotations"><span class="annotation">[<acronym class="acronym">out</acronym>]</span></td></tr><tr><td class="parameter_name"><p>error</p></td><td class="parameter_description"><p>Return location for a <a class="link" href="#"><span class="type">GError</span></a></p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-installation-get-min-free-space-bytes.returns"></a><h4>Returns</h4><p> <a class="link" href="#"><code class="literal">TRUE</code></a> on success, or <a class="link" href="#"><code class="literal">FALSE</code></a> on error.</p></div><p class="since">Since: <a class="link" href="#">1.1</a></p></div><div class="refsect2"><a id="flatpak-installation-get-priority"></a><h3>flatpak_installation_get_priority ()</h3><a id="id4033" class="indexterm"></a><pre class="programlisting"><a class="link" href="#"><span class="returnvalue">gint</span></a>
flatpak_installation_get_priority (<em class="parameter"><code><a class="link" href="#FlatpakInstallation" title="FlatpakInstallation"><span class="type">FlatpakInstallation</span></a> *self</code></em>);</pre><p>Returns the numeric priority of the installation for <em class="parameter"><code>self</code></em>
.</p><div class="refsect3"><a id="flatpak-installation-get-priority.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakInstallation" title="FlatpakInstallation"><span class="type">FlatpakInstallation</span></a></p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-installation-get-priority.returns"></a><h4>Returns</h4><p> an integer with the configured priority value</p></div><p class="since">Since: <a class="link" href="#">0.8</a></p></div><div class="refsect2"><a id="flatpak-installation-get-storage-type"></a><h3>flatpak_installation_get_storage_type ()</h3><a id="id4065" class="indexterm"></a><pre class="programlisting"><a class="link" href="#FlatpakStorageType" title="enum FlatpakStorageType"><span class="returnvalue">FlatpakStorageType</span></a>
flatpak_installation_get_storage_type (<em class="parameter"><code><a class="link" href="#FlatpakInstallation" title="FlatpakInstallation"><span class="type">FlatpakInstallation</span></a> *self</code></em>);</pre><p>Returns the type of storage of the installation for <em class="parameter"><code>self</code></em>
.</p><div class="refsect3"><a id="flatpak-installation-get-storage-type.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakInstallation" title="FlatpakInstallation"><span class="type">FlatpakInstallation</span></a></p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-installation-get-storage-type.returns"></a><h4>Returns</h4><p> a <a class="link" href="#FlatpakStorageType" title="enum FlatpakStorageType"><span class="type">FlatpakStorageType</span></a></p></div><p class="since">Since: <a class="link" href="#">0.8</a></p></div><div class="refsect2"><a id="flatpak-installation-set-no-interaction"></a><h3>flatpak_installation_set_no_interaction ()</h3><a id="id4099" class="indexterm"></a><pre class="programlisting"><a class="link" href="#"><span class="returnvalue">void</span></a>
flatpak_installation_set_no_interaction
                               (<em class="parameter"><code><a class="link" href="#FlatpakInstallation" title="FlatpakInstallation"><span class="type">FlatpakInstallation</span></a> *self</code></em>,
                                <em class="parameter"><code><a class="link" href="#"><span class="type">gboolean</span></a> no_interaction</code></em>);</pre><p>This method can be used to prevent interactive authorization dialogs to appear
for operations on <em class="parameter"><code>self</code></em>
. This is useful for background operations that are not
directly triggered by a user action.</p><p>By default, interaction is allowed.</p><div class="refsect3"><a id="flatpak-installation-set-no-interaction.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakInstallation" title="FlatpakInstallation"><span class="type">FlatpakInstallation</span></a></p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>no_interaction</p></td><td class="parameter_description"><p>Whether to disallow interactive authorization for operations</p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><p class="since">Since: <a class="link" href="#">1.1.1</a></p></div><div class="refsect2"><a id="flatpak-installation-get-no-interaction"></a><h3>flatpak_installation_get_no_interaction ()</h3><a id="id4138" class="indexterm"></a><pre class="programlisting"><a class="link" href="#"><span class="returnvalue">gboolean</span></a>
flatpak_installation_get_no_interaction
                               (<em class="parameter"><code><a class="link" href="#FlatpakInstallation" title="FlatpakInstallation"><span class="type">FlatpakInstallation</span></a> *self</code></em>);</pre><p>Returns the value set with <a class="link" href="#flatpak-installation-set-no-interaction" title="flatpak_installation_set_no_interaction ()"><code class="function">flatpak_installation_set_no_interaction()</code></a>.</p><div class="refsect3"><a id="flatpak-installation-get-no-interaction.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakTransaction" title="FlatpakTransaction"><span class="type">FlatpakTransaction</span></a></p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-installation-get-no-interaction.returns"></a><h4>Returns</h4><p> <a class="link" href="#"><code class="literal">TRUE</code></a> if interactive authorization dialogs are not allowed</p></div><p class="since">Since: <a class="link" href="#">1.1.1</a></p></div><div class="refsect2"><a id="flatpak-installation-list-installed-refs"></a><h3>flatpak_installation_list_installed_refs ()</h3><a id="id4173" class="indexterm"></a><pre class="programlisting"><a class="link" href="#"><span class="returnvalue">GPtrArray</span></a> *
flatpak_installation_list_installed_refs
                               (<em class="parameter"><code><a class="link" href="#FlatpakInstallation" title="FlatpakInstallation"><span class="type">FlatpakInstallation</span></a> *self</code></em>,
                                <em class="parameter"><code><a class="link" href="#"><span class="type">GCancellable</span></a> *cancellable</code></em>,
                                <em class="parameter"><code><a class="link" href="#"><span class="type">GError</span></a> **error</code></em>);</pre><p>Lists the installed references.</p><div class="refsect3"><a id="flatpak-installation-list-installed-refs.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakInstallation" title="FlatpakInstallation"><span class="type">FlatpakInstallation</span></a></p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>cancellable</p></td><td class="parameter_description"><p>a <a class="link" href="#"><span class="type">GCancellable</span></a>. </p></td><td class="parameter_annotations"><span class="annotation">[<acronym class="acronym">nullable</acronym>]</span></td></tr><tr><td class="parameter_name"><p>error</p></td><td class="parameter_description"><p>return location for a <a class="link" href="#"><span class="type">GError</span></a></p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-installation-list-installed-refs.returns"></a><h4>Returns</h4><p>a GPtrArray of
<a class="link" href="#FlatpakInstalledRef" title="FlatpakInstalledRef"><span class="type">FlatpakInstalledRef</span></a> instances. </p><p><span class="annotation">[<acronym class="acronym">transfer container</acronym>][<acronym class="acronym">element-type</acronym> FlatpakInstalledRef]</span></p></div></div><div class="refsect2"><a id="flatpak-installation-list-installed-refs-by-kind"></a><h3>flatpak_installation_list_installed_refs_by_kind ()</h3><a id="id4232" class="indexterm"></a><pre class="programlisting"><a class="link" href="#"><span class="returnvalue">GPtrArray</span></a> *
flatpak_installation_list_installed_refs_by_kind
                               (<em class="parameter"><code><a class="link" href="#FlatpakInstallation" title="FlatpakInstallation"><span class="type">FlatpakInstallation</span></a> *self</code></em>,
                                <em class="parameter"><code><a class="link" href="#FlatpakRefKind" title="enum FlatpakRefKind"><span class="type">FlatpakRefKind</span></a> kind</code></em>,
                                <em class="parameter"><code><a class="link" href="#"><span class="type">GCancellable</span></a> *cancellable</code></em>,
                                <em class="parameter"><code><a class="link" href="#"><span class="type">GError</span></a> **error</code></em>);</pre><p>Lists the installed references of a specific kind.</p><div class="refsect3"><a id="flatpak-installation-list-installed-refs-by-kind.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakInstallation" title="FlatpakInstallation"><span class="type">FlatpakInstallation</span></a></p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>kind</p></td><td class="parameter_description"><p>the kind of installation</p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>cancellable</p></td><td class="parameter_description"><p>a <a class="link" href="#"><span class="type">GCancellable</span></a>. </p></td><td class="parameter_annotations"><span class="annotation">[<acronym class="acronym">nullable</acronym>]</span></td></tr><tr><td class="parameter_name"><p>error</p></td><td class="parameter_description"><p>return location for a <a class="link" href="#"><span class="type">GError</span></a></p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-installation-list-installed-refs-by-kind.returns"></a><h4>Returns</h4><p>a GPtrArray of
<a class="link" href="#FlatpakInstalledRef" title="FlatpakInstalledRef"><span class="type">FlatpakInstalledRef</span></a> instances. </p><p><span class="annotation">[<acronym class="acronym">transfer container</acronym>][<acronym class="acronym">element-type</acronym> FlatpakInstalledRef]</span></p></div></div><div class="refsect2"><a id="flatpak-installation-list-installed-refs-for-update"></a><h3>flatpak_installation_list_installed_refs_for_update ()</h3><a id="id4300" class="indexterm"></a><pre class="programlisting"><a class="link" href="#"><span class="returnvalue">GPtrArray</span></a> *
flatpak_installation_list_installed_refs_for_update
                               (<em class="parameter"><code><a class="link" href="#FlatpakInstallation" title="FlatpakInstallation"><span class="type">FlatpakInstallation</span></a> *self</code></em>,
                                <em class="parameter"><code><a class="link" href="#"><span class="type">GCancellable</span></a> *cancellable</code></em>,
                                <em class="parameter"><code><a class="link" href="#"><span class="type">GError</span></a> **error</code></em>);</pre><p>Lists the installed apps and runtimes that have an update available, either
from the configured remote or locally available but not deployed (see
<a class="link" href="#flatpak-transaction-set-no-deploy" title="flatpak_transaction_set_no_deploy ()"><code class="function">flatpak_transaction_set_no_deploy()</code></a>).</p><p>This also checks if any of <a class="link" href="#FlatpakInstalledRef" title="FlatpakInstalledRef"><span class="type">FlatpakInstalledRef</span></a> has a missing <a class="link" href="#FlatpakRelatedRef" title="FlatpakRelatedRef"><span class="type">FlatpakRelatedRef</span></a>
(which has <code class="literal">should-download</code> set to <a class="link" href="#"><code class="literal">TRUE</code></a>) or runtime. If so, it adds the
ref to the returning <a class="link" href="#"><span class="type">GPtrArray</span></a> to pull in the <a class="link" href="#FlatpakRelatedRef" title="FlatpakRelatedRef"><span class="type">FlatpakRelatedRef</span></a> or runtime
again via an update operation in <a class="link" href="#FlatpakTransaction" title="FlatpakTransaction"><span class="type">FlatpakTransaction</span></a>.</p><p>In case more than one app needs an update of the same runtime or extension,
this function will return all of those apps.</p><div class="refsect3"><a id="flatpak-installation-list-installed-refs-for-update.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakInstallation" title="FlatpakInstallation"><span class="type">FlatpakInstallation</span></a></p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>cancellable</p></td><td class="parameter_description"><p>a <a class="link" href="#"><span class="type">GCancellable</span></a>. </p></td><td class="parameter_annotations"><span class="annotation">[<acronym class="acronym">nullable</acronym>]</span></td></tr><tr><td class="parameter_name"><p>error</p></td><td class="parameter_description"><p>return location for a <a class="link" href="#"><span class="type">GError</span></a></p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-installation-list-installed-refs-for-update.returns"></a><h4>Returns</h4><p>a GPtrArray of
<a class="link" href="#FlatpakInstalledRef" title="FlatpakInstalledRef"><span class="type">FlatpakInstalledRef</span></a> instances, or <a class="link" href="#"><code class="literal">NULL</code></a> on error. </p><p><span class="annotation">[<acronym class="acronym">transfer container</acronym>][<acronym class="acronym">element-type</acronym> FlatpakInstalledRef]</span></p></div></div><div class="refsect2"><a id="flatpak-installation-list-installed-related-refs-sync"></a><h3>flatpak_installation_list_installed_related_refs_sync ()</h3><a id="id4378" class="indexterm"></a><pre class="programlisting"><a class="link" href="#"><span class="returnvalue">GPtrArray</span></a> *
flatpak_installation_list_installed_related_refs_sync
                               (<em class="parameter"><code><a class="link" href="#FlatpakInstallation" title="FlatpakInstallation"><span class="type">FlatpakInstallation</span></a> *self</code></em>,
                                <em class="parameter"><code>const <a class="link" href="#"><span class="type">char</span></a> *remote_name</code></em>,
                                <em class="parameter"><code>const <a class="link" href="#"><span class="type">char</span></a> *ref</code></em>,
                                <em class="parameter"><code><a class="link" href="#"><span class="type">GCancellable</span></a> *cancellable</code></em>,
                                <em class="parameter"><code><a class="link" href="#"><span class="type">GError</span></a> **error</code></em>);</pre><p>Lists all the locally installed refs that are related to <em class="parameter"><code>ref</code></em>
. These are
things that are interesting to install, update, or uninstall together with
<em class="parameter"><code>ref</code></em>
. For instance, locale data or debug information.</p><p>Note that while the related refs are usually installed from the same remote
as <em class="parameter"><code>ref</code></em>
 (<em class="parameter"><code>remote_name</code></em>
), it is possible they were installed from another
remote.</p><p>This function is similar to flatpak_installation_list_remote_related_refs_sync,
but instead of looking at what is available on the remote, it only looks
at the locally installed refs. This is useful for instance when you're
looking for related refs to uninstall, or when you're planning to use
FLATPAK_UPDATE_FLAGS_NO_PULL to install previously pulled refs.</p><div class="refsect3"><a id="flatpak-installation-list-installed-related-refs-sync.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakInstallation" title="FlatpakInstallation"><span class="type">FlatpakInstallation</span></a></p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>remote_name</p></td><td class="parameter_description"><p>the name of the remote providing <em class="parameter"><code>ref</code></em>
</p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>ref</p></td><td class="parameter_description"><p>the ref</p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>cancellable</p></td><td class="parameter_description"><p>a <a class="link" href="#"><span class="type">GCancellable</span></a>. </p></td><td class="parameter_annotations"><span class="annotation">[<acronym class="acronym">nullable</acronym>]</span></td></tr><tr><td class="parameter_name"><p>error</p></td><td class="parameter_description"><p>return location for a <a class="link" href="#"><span class="type">GError</span></a></p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-installation-list-installed-related-refs-sync.returns"></a><h4>Returns</h4><p>a GPtrArray of
<a class="link" href="#FlatpakRelatedRef" title="FlatpakRelatedRef"><span class="type">FlatpakRelatedRef</span></a> instances. </p><p><span class="annotation">[<acronym class="acronym">transfer container</acronym>][<acronym class="acronym">element-type</acronym> FlatpakRelatedRef]</span></p></div><p class="since">Since: <a class="link" href="#">0.6.7</a></p></div><div class="refsect2"><a id="flatpak-installation-list-unused-refs"></a><h3>flatpak_installation_list_unused_refs ()</h3><a id="id4464" class="indexterm"></a><pre class="programlisting"><a class="link" href="#"><span class="returnvalue">GPtrArray</span></a> *
flatpak_installation_list_unused_refs (<em class="parameter"><code><a class="link" href="#FlatpakInstallation" title="FlatpakInstallation"><span class="type">FlatpakInstallation</span></a> *self</code></em>,
                                       <em class="parameter"><code>const <a class="link" href="#"><span class="type">char</span></a> *arch</code></em>,
                                       <em class="parameter"><code><a class="link" href="#"><span class="type">GCancellable</span></a> *cancellable</code></em>,
                                       <em class="parameter"><code><a class="link" href="#"><span class="type">GError</span></a> **error</code></em>);</pre><p>Lists the installed references that are not 'used'.</p><p>A reference is used if it is either an application,
or the runtime or sdk of a used ref, or an extension of a used ref.
Pinned runtimes are also considered used; see flatpak-pin(1) and
<a class="link" href="#"><code class="function">flatpak_installation_list_pinned_refs()</code></a>.</p><div class="refsect3"><a id="flatpak-installation-list-unused-refs.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakInstallation" title="FlatpakInstallation"><span class="type">FlatpakInstallation</span></a></p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>arch</p></td><td class="parameter_description"><p>if non-<a class="link" href="#"><code class="literal">NULL</code></a>, the architecture of refs to collect. </p></td><td class="parameter_annotations"><span class="annotation">[<acronym class="acronym">nullable</acronym>]</span></td></tr><tr><td class="parameter_name"><p>cancellable</p></td><td class="parameter_description"><p>a <a class="link" href="#"><span class="type">GCancellable</span></a>. </p></td><td class="parameter_annotations"><span class="annotation">[<acronym class="acronym">nullable</acronym>]</span></td></tr><tr><td class="parameter_name"><p>error</p></td><td class="parameter_description"><p>return location for a <a class="link" href="#"><span class="type">GError</span></a></p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-installation-list-unused-refs.returns"></a><h4>Returns</h4><p>a GPtrArray of
<a class="link" href="#FlatpakInstalledRef" title="FlatpakInstalledRef"><span class="type">FlatpakInstalledRef</span></a> instances. </p><p><span class="annotation">[<acronym class="acronym">transfer container</acronym>][<acronym class="acronym">element-type</acronym> FlatpakInstalledRef]</span></p></div><p class="since">Since: <a class="link" href="#">1.1.2</a></p></div><div class="refsect2"><a id="flatpak-installation-list-remote-refs-sync"></a><h3>flatpak_installation_list_remote_refs_sync ()</h3><a id="id4541" class="indexterm"></a><pre class="programlisting"><a class="link" href="#"><span class="returnvalue">GPtrArray</span></a> *
flatpak_installation_list_remote_refs_sync
                               (<em class="parameter"><code><a class="link" href="#FlatpakInstallation" title="FlatpakInstallation"><span class="type">FlatpakInstallation</span></a> *self</code></em>,
                                <em class="parameter"><code>const <a class="link" href="#"><span class="type">char</span></a> *remote_or_uri</code></em>,
                                <em class="parameter"><code><a class="link" href="#"><span class="type">GCancellable</span></a> *cancellable</code></em>,
                                <em class="parameter"><code><a class="link" href="#"><span class="type">GError</span></a> **error</code></em>);</pre><p>Lists all the applications and runtimes in a remote.</p><div class="refsect3"><a id="flatpak-installation-list-remote-refs-sync.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakInstallation" title="FlatpakInstallation"><span class="type">FlatpakInstallation</span></a></p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>remote_or_uri</p></td><td class="parameter_description"><p>the name or URI of the remote</p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>cancellable</p></td><td class="parameter_description"><p>a <a class="link" href="#"><span class="type">GCancellable</span></a>. </p></td><td class="parameter_annotations"><span class="annotation">[<acronym class="acronym">nullable</acronym>]</span></td></tr><tr><td class="parameter_name"><p>error</p></td><td class="parameter_description"><p>return location for a <a class="link" href="#"><span class="type">GError</span></a></p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-installation-list-remote-refs-sync.returns"></a><h4>Returns</h4><p>a GPtrArray of
<a class="link" href="#FlatpakRemoteRef" title="FlatpakRemoteRef"><span class="type">FlatpakRemoteRef</span></a> instances. </p><p><span class="annotation">[<acronym class="acronym">transfer container</acronym>][<acronym class="acronym">element-type</acronym> FlatpakRemoteRef]</span></p></div></div><div class="refsect2"><a id="flatpak-installation-list-remote-refs-sync-full"></a><h3>flatpak_installation_list_remote_refs_sync_full ()</h3><a id="id4609" class="indexterm"></a><pre class="programlisting"><a class="link" href="#"><span class="returnvalue">GPtrArray</span></a> *
flatpak_installation_list_remote_refs_sync_full
                               (<em class="parameter"><code><a class="link" href="#FlatpakInstallation" title="FlatpakInstallation"><span class="type">FlatpakInstallation</span></a> *self</code></em>,
                                <em class="parameter"><code>const <a class="link" href="#"><span class="type">char</span></a> *remote_or_uri</code></em>,
                                <em class="parameter"><code><a class="link" href="#FlatpakQueryFlags" title="enum FlatpakQueryFlags"><span class="type">FlatpakQueryFlags</span></a> flags</code></em>,
                                <em class="parameter"><code><a class="link" href="#"><span class="type">GCancellable</span></a> *cancellable</code></em>,
                                <em class="parameter"><code><a class="link" href="#"><span class="type">GError</span></a> **error</code></em>);</pre><p>Lists all the applications and runtimes in a remote.</p><div class="refsect3"><a id="flatpak-installation-list-remote-refs-sync-full.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakInstallation" title="FlatpakInstallation"><span class="type">FlatpakInstallation</span></a></p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>remote_or_uri</p></td><td class="parameter_description"><p>the name or URI of the remote</p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>flags</p></td><td class="parameter_description"><p>set of <a class="link" href="#FlatpakQueryFlags" title="enum FlatpakQueryFlags"><span class="type">FlatpakQueryFlags</span></a></p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>cancellable</p></td><td class="parameter_description"><p>a <a class="link" href="#"><span class="type">GCancellable</span></a>. </p></td><td class="parameter_annotations"><span class="annotation">[<acronym class="acronym">nullable</acronym>]</span></td></tr><tr><td class="parameter_name"><p>error</p></td><td class="parameter_description"><p>return location for a <a class="link" href="#"><span class="type">GError</span></a></p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-installation-list-remote-refs-sync-full.returns"></a><h4>Returns</h4><p>a GPtrArray of
<a class="link" href="#FlatpakRemoteRef" title="FlatpakRemoteRef"><span class="type">FlatpakRemoteRef</span></a> instances. </p><p><span class="annotation">[<acronym class="acronym">transfer container</acronym>][<acronym class="acronym">element-type</acronym> FlatpakRemoteRef]</span></p></div><p class="since">Since: <a class="link" href="#">1.3.3</a></p></div><div class="refsect2"><a id="flatpak-installation-list-remotes-by-type"></a><h3>flatpak_installation_list_remotes_by_type ()</h3><a id="id4690" class="indexterm"></a><pre class="programlisting"><a class="link" href="#"><span class="returnvalue">GPtrArray</span></a> *
flatpak_installation_list_remotes_by_type
                               (<em class="parameter"><code><a class="link" href="#FlatpakInstallation" title="FlatpakInstallation"><span class="type">FlatpakInstallation</span></a> *self</code></em>,
                                <em class="parameter"><code>const <a class="link" href="#FlatpakRemoteType" title="enum FlatpakRemoteType"><span class="type">FlatpakRemoteType</span></a> types[]</code></em>,
                                <em class="parameter"><code><a class="link" href="#"><span class="type">gsize</span></a> num_types</code></em>,
                                <em class="parameter"><code><a class="link" href="#"><span class="type">GCancellable</span></a> *cancellable</code></em>,
                                <em class="parameter"><code><a class="link" href="#"><span class="type">GError</span></a> **error</code></em>);</pre><p>Lists only the remotes whose type is included in the <em class="parameter"><code>types</code></em>
 argument.</p><p>Since flatpak 1.7 this will never return any types except FLATPAK_REMOTE_TYPE_STATIC.
Equivalent functionallity to FLATPAK_REMOTE_TYPE_USB can be had by listing remote refs
with FLATPAK_QUERY_FLAGS_ONLY_SIDELOADED.</p><div class="refsect3"><a id="flatpak-installation-list-remotes-by-type.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakInstallation" title="FlatpakInstallation"><span class="type">FlatpakInstallation</span></a></p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>types</p></td><td class="parameter_description"><p>an array of <a class="link" href="#FlatpakRemoteType" title="enum FlatpakRemoteType"><span class="type">FlatpakRemoteType</span></a>. </p></td><td class="parameter_annotations"><span class="annotation">[<acronym class="acronym">array</acronym> length=num_types]</span></td></tr><tr><td class="parameter_name"><p>num_types</p></td><td class="parameter_description"><p>the number of types provided in <em class="parameter"><code>types</code></em>
</p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>cancellable</p></td><td class="parameter_description"><p>a <a class="link" href="#"><span class="type">GCancellable</span></a>. </p></td><td class="parameter_annotations"><span class="annotation">[<acronym class="acronym">nullable</acronym>]</span></td></tr><tr><td class="parameter_name"><p>error</p></td><td class="parameter_description"><p>return location for a <a class="link" href="#"><span class="type">GError</span></a></p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-installation-list-remotes-by-type.returns"></a><h4>Returns</h4><p>a GPtrArray of
<a class="link" href="#FlatpakRemote" title="FlatpakRemote"><span class="type">FlatpakRemote</span></a> instances. </p><p><span class="annotation">[<acronym class="acronym">transfer container</acronym>][<acronym class="acronym">element-type</acronym> FlatpakRemote]</span></p></div></div><div class="refsect2"><a id="flatpak-installation-list-remote-related-refs-sync"></a><h3>flatpak_installation_list_remote_related_refs_sync ()</h3><a id="id4774" class="indexterm"></a><pre class="programlisting"><a class="link" href="#"><span class="returnvalue">GPtrArray</span></a> *
flatpak_installation_list_remote_related_refs_sync
                               (<em class="parameter"><code><a class="link" href="#FlatpakInstallation" title="FlatpakInstallation"><span class="type">FlatpakInstallation</span></a> *self</code></em>,
                                <em class="parameter"><code>const <a class="link" href="#"><span class="type">char</span></a> *remote_name</code></em>,
                                <em class="parameter"><code>const <a class="link" href="#"><span class="type">char</span></a> *ref</code></em>,
                                <em class="parameter"><code><a class="link" href="#"><span class="type">GCancellable</span></a> *cancellable</code></em>,
                                <em class="parameter"><code><a class="link" href="#"><span class="type">GError</span></a> **error</code></em>);</pre><p>Lists all the available refs on <em class="parameter"><code>remote_name</code></em>
 that are related to
<em class="parameter"><code>ref</code></em>
, and the subpaths to use. These are things that are
interesting to install, update, or uninstall together with
<em class="parameter"><code>ref</code></em>
. For instance, locale data or debug information.</p><p>The returned list contains all available related refs, but not
every one should always be installed. For example,
<a class="link" href="#flatpak-related-ref-should-download" title="flatpak_related_ref_should_download ()"><code class="function">flatpak_related_ref_should_download()</code></a> returns <a class="link" href="#"><code class="literal">TRUE</code></a> if the
reference should be installed/updated with the app, and
<a class="link" href="#flatpak-related-ref-should-delete" title="flatpak_related_ref_should_delete ()"><code class="function">flatpak_related_ref_should_delete()</code></a> returns <a class="link" href="#"><code class="literal">TRUE</code></a> if it
should be uninstalled with the main ref.</p><p>The commit property of each <a class="link" href="#FlatpakRelatedRef" title="FlatpakRelatedRef"><span class="type">FlatpakRelatedRef</span></a> is not guaranteed to be
non-<a class="link" href="#"><code class="literal">NULL</code></a>.</p><div class="refsect3"><a id="flatpak-installation-list-remote-related-refs-sync.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakInstallation" title="FlatpakInstallation"><span class="type">FlatpakInstallation</span></a></p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>remote_name</p></td><td class="parameter_description"><p>the name of the remote</p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>ref</p></td><td class="parameter_description"><p>the ref</p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>cancellable</p></td><td class="parameter_description"><p>a <a class="link" href="#"><span class="type">GCancellable</span></a>. </p></td><td class="parameter_annotations"><span class="annotation">[<acronym class="acronym">nullable</acronym>]</span></td></tr><tr><td class="parameter_name"><p>error</p></td><td class="parameter_description"><p>return location for a <a class="link" href="#"><span class="type">GError</span></a></p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-installation-list-remote-related-refs-sync.returns"></a><h4>Returns</h4><p>a GPtrArray of
<a class="link" href="#FlatpakRelatedRef" title="FlatpakRelatedRef"><span class="type">FlatpakRelatedRef</span></a> instances. </p><p><span class="annotation">[<acronym class="acronym">transfer container</acronym>][<acronym class="acronym">element-type</acronym> FlatpakRelatedRef]</span></p></div><p class="since">Since: <a class="link" href="#">0.6.7</a></p></div><div class="refsect2"><a id="flatpak-installation-list-remotes"></a><h3>flatpak_installation_list_remotes ()</h3><a id="id4870" class="indexterm"></a><pre class="programlisting"><a class="link" href="#"><span class="returnvalue">GPtrArray</span></a> *
flatpak_installation_list_remotes (<em class="parameter"><code><a class="link" href="#FlatpakInstallation" title="FlatpakInstallation"><span class="type">FlatpakInstallation</span></a> *self</code></em>,
                                   <em class="parameter"><code><a class="link" href="#"><span class="type">GCancellable</span></a> *cancellable</code></em>,
                                   <em class="parameter"><code><a class="link" href="#"><span class="type">GError</span></a> **error</code></em>);</pre><p>Lists the static remotes, in priority (highest first) order. For same
priority, an earlier added remote comes before a later added one.</p><div class="refsect3"><a id="flatpak-installation-list-remotes.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakInstallation" title="FlatpakInstallation"><span class="type">FlatpakInstallation</span></a></p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>cancellable</p></td><td class="parameter_description"><p>a <a class="link" href="#"><span class="type">GCancellable</span></a>. </p></td><td class="parameter_annotations"><span class="annotation">[<acronym class="acronym">nullable</acronym>]</span></td></tr><tr><td class="parameter_name"><p>error</p></td><td class="parameter_description"><p>return location for a <a class="link" href="#"><span class="type">GError</span></a></p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-installation-list-remotes.returns"></a><h4>Returns</h4><p>a GPtrArray of
<a class="link" href="#FlatpakRemote" title="FlatpakRemote"><span class="type">FlatpakRemote</span></a> instances. </p><p><span class="annotation">[<acronym class="acronym">transfer container</acronym>][<acronym class="acronym">element-type</acronym> FlatpakRemote]</span></p></div></div><div class="refsect2"><a id="flatpak-installation-get-remote-by-name"></a><h3>flatpak_installation_get_remote_by_name ()</h3><a id="id4929" class="indexterm"></a><pre class="programlisting"><a class="link" href="#FlatpakRemote" title="FlatpakRemote"><span class="returnvalue">FlatpakRemote</span></a> *
flatpak_installation_get_remote_by_name
                               (<em class="parameter"><code><a class="link" href="#FlatpakInstallation" title="FlatpakInstallation"><span class="type">FlatpakInstallation</span></a> *self</code></em>,
                                <em class="parameter"><code>const <a class="link" href="#"><span class="type">gchar</span></a> *name</code></em>,
                                <em class="parameter"><code><a class="link" href="#"><span class="type">GCancellable</span></a> *cancellable</code></em>,
                                <em class="parameter"><code><a class="link" href="#"><span class="type">GError</span></a> **error</code></em>);</pre><p>Looks up a remote by name.</p><div class="refsect3"><a id="flatpak-installation-get-remote-by-name.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakInstallation" title="FlatpakInstallation"><span class="type">FlatpakInstallation</span></a></p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>name</p></td><td class="parameter_description"><p>a remote name</p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>cancellable</p></td><td class="parameter_description"><p>a <a class="link" href="#"><span class="type">GCancellable</span></a>. </p></td><td class="parameter_annotations"><span class="annotation">[<acronym class="acronym">nullable</acronym>]</span></td></tr><tr><td class="parameter_name"><p>error</p></td><td class="parameter_description"><p>return location for a <a class="link" href="#"><span class="type">GError</span></a></p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-installation-get-remote-by-name.returns"></a><h4>Returns</h4><p>a <a class="link" href="#FlatpakRemote" title="FlatpakRemote"><span class="type">FlatpakRemote</span></a> instance, or <a class="link" href="#"><code class="literal">NULL</code></a> with <em class="parameter"><code>error</code></em>
set. </p><p><span class="annotation">[<acronym class="acronym">transfer full</acronym>]</span></p></div></div><div class="refsect2"><a id="flatpak-installation-fetch-remote-metadata-sync"></a><h3>flatpak_installation_fetch_remote_metadata_sync ()</h3><a id="id4999" class="indexterm"></a><pre class="programlisting"><a class="link" href="#"><span class="returnvalue">GBytes</span></a> *
flatpak_installation_fetch_remote_metadata_sync
                               (<em class="parameter"><code><a class="link" href="#FlatpakInstallation" title="FlatpakInstallation"><span class="type">FlatpakInstallation</span></a> *self</code></em>,
                                <em class="parameter"><code>const <a class="link" href="#"><span class="type">char</span></a> *remote_name</code></em>,
                                <em class="parameter"><code><a class="link" href="#FlatpakRef" title="FlatpakRef"><span class="type">FlatpakRef</span></a> *ref</code></em>,
                                <em class="parameter"><code><a class="link" href="#"><span class="type">GCancellable</span></a> *cancellable</code></em>,
                                <em class="parameter"><code><a class="link" href="#"><span class="type">GError</span></a> **error</code></em>);</pre><p>Obtains the metadata file from a commit.</p><p>NOTE: Since 0.11.4 this information is accessible in FlatpakRemoteRef, so this
function is not very useful anymore.</p><div class="refsect3"><a id="flatpak-installation-fetch-remote-metadata-sync.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakInstallation" title="FlatpakInstallation"><span class="type">FlatpakInstallation</span></a></p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>remote_name</p></td><td class="parameter_description"><p>the name of the remote</p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>ref</p></td><td class="parameter_description"><p>the ref</p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>cancellable</p></td><td class="parameter_description"><p>a <a class="link" href="#"><span class="type">GCancellable</span></a>. </p></td><td class="parameter_annotations"><span class="annotation">[<acronym class="acronym">nullable</acronym>]</span></td></tr><tr><td class="parameter_name"><p>error</p></td><td class="parameter_description"><p>return location for a <a class="link" href="#"><span class="type">GError</span></a></p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-installation-fetch-remote-metadata-sync.returns"></a><h4>Returns</h4><p>a <a class="link" href="#"><span class="type">GBytes</span></a> containing the flatpak metadata file,
or <a class="link" href="#"><code class="literal">NULL</code></a> if an error occurred. </p><p><span class="annotation">[<acronym class="acronym">transfer full</acronym>]</span></p></div></div><div class="refsect2"><a id="flatpak-installation-fetch-remote-ref-sync"></a><h3>flatpak_installation_fetch_remote_ref_sync ()</h3><a id="id5078" class="indexterm"></a><pre class="programlisting"><a class="link" href="#FlatpakRemoteRef" title="FlatpakRemoteRef"><span class="returnvalue">FlatpakRemoteRef</span></a> *
flatpak_installation_fetch_remote_ref_sync
                               (<em class="parameter"><code><a class="link" href="#FlatpakInstallation" title="FlatpakInstallation"><span class="type">FlatpakInstallation</span></a> *self</code></em>,
                                <em class="parameter"><code>const <a class="link" href="#"><span class="type">char</span></a> *remote_name</code></em>,
                                <em class="parameter"><code><a class="link" href="#FlatpakRefKind" title="enum FlatpakRefKind"><span class="type">FlatpakRefKind</span></a> kind</code></em>,
                                <em class="parameter"><code>const <a class="link" href="#"><span class="type">char</span></a> *name</code></em>,
                                <em class="parameter"><code>const <a class="link" href="#"><span class="type">char</span></a> *arch</code></em>,
                                <em class="parameter"><code>const <a class="link" href="#"><span class="type">char</span></a> *branch</code></em>,
                                <em class="parameter"><code><a class="link" href="#"><span class="type">GCancellable</span></a> *cancellable</code></em>,
                                <em class="parameter"><code><a class="link" href="#"><span class="type">GError</span></a> **error</code></em>);</pre><p>Gets the current remote branch of a ref in the remote.</p><div class="refsect3"><a id="flatpak-installation-fetch-remote-ref-sync.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakInstallation" title="FlatpakInstallation"><span class="type">FlatpakInstallation</span></a></p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>remote_name</p></td><td class="parameter_description"><p>the name of the remote</p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>kind</p></td><td class="parameter_description"><p>what this ref contains (an <a class="link" href="#FlatpakRefKind" title="enum FlatpakRefKind"><span class="type">FlatpakRefKind</span></a>)</p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>name</p></td><td class="parameter_description"><p>name of the app/runtime to fetch</p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>arch</p></td><td class="parameter_description"><p>which architecture to fetch (default: current architecture). </p></td><td class="parameter_annotations"><span class="annotation">[<acronym class="acronym">nullable</acronym>]</span></td></tr><tr><td class="parameter_name"><p>branch</p></td><td class="parameter_description"><p>which branch to fetch (default: 'master'). </p></td><td class="parameter_annotations"><span class="annotation">[<acronym class="acronym">nullable</acronym>]</span></td></tr><tr><td class="parameter_name"><p>cancellable</p></td><td class="parameter_description"><p>a <a class="link" href="#"><span class="type">GCancellable</span></a>. </p></td><td class="parameter_annotations"><span class="annotation">[<acronym class="acronym">nullable</acronym>]</span></td></tr><tr><td class="parameter_name"><p>error</p></td><td class="parameter_description"><p>return location for a <a class="link" href="#"><span class="type">GError</span></a></p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-installation-fetch-remote-ref-sync.returns"></a><h4>Returns</h4><p>a <a class="link" href="#FlatpakRemoteRef" title="FlatpakRemoteRef"><span class="type">FlatpakRemoteRef</span></a> instance, or <a class="link" href="#"><code class="literal">NULL</code></a>. </p><p><span class="annotation">[<acronym class="acronym">transfer full</acronym>]</span></p></div></div><div class="refsect2"><a id="flatpak-installation-fetch-remote-ref-sync-full"></a><h3>flatpak_installation_fetch_remote_ref_sync_full ()</h3><a id="id5189" class="indexterm"></a><pre class="programlisting"><a class="link" href="#FlatpakRemoteRef" title="FlatpakRemoteRef"><span class="returnvalue">FlatpakRemoteRef</span></a> *
flatpak_installation_fetch_remote_ref_sync_full
                               (<em class="parameter"><code><a class="link" href="#FlatpakInstallation" title="FlatpakInstallation"><span class="type">FlatpakInstallation</span></a> *self</code></em>,
                                <em class="parameter"><code>const <a class="link" href="#"><span class="type">char</span></a> *remote_name</code></em>,
                                <em class="parameter"><code><a class="link" href="#FlatpakRefKind" title="enum FlatpakRefKind"><span class="type">FlatpakRefKind</span></a> kind</code></em>,
                                <em class="parameter"><code>const <a class="link" href="#"><span class="type">char</span></a> *name</code></em>,
                                <em class="parameter"><code>const <a class="link" href="#"><span class="type">char</span></a> *arch</code></em>,
                                <em class="parameter"><code>const <a class="link" href="#"><span class="type">char</span></a> *branch</code></em>,
                                <em class="parameter"><code><a class="link" href="#FlatpakQueryFlags" title="enum FlatpakQueryFlags"><span class="type">FlatpakQueryFlags</span></a> flags</code></em>,
                                <em class="parameter"><code><a class="link" href="#"><span class="type">GCancellable</span></a> *cancellable</code></em>,
                                <em class="parameter"><code><a class="link" href="#"><span class="type">GError</span></a> **error</code></em>);</pre><p>Gets the current remote branch of a ref in the remote.</p><div class="refsect3"><a id="flatpak-installation-fetch-remote-ref-sync-full.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakInstallation" title="FlatpakInstallation"><span class="type">FlatpakInstallation</span></a></p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>remote_name</p></td><td class="parameter_description"><p>the name of the remote</p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>kind</p></td><td class="parameter_description"><p>what this ref contains (an <a class="link" href="#FlatpakRefKind" title="enum FlatpakRefKind"><span class="type">FlatpakRefKind</span></a>)</p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>name</p></td><td class="parameter_description"><p>name of the app/runtime to fetch</p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>arch</p></td><td class="parameter_description"><p>which architecture to fetch (default: current architecture). </p></td><td class="parameter_annotations"><span class="annotation">[<acronym class="acronym">nullable</acronym>]</span></td></tr><tr><td class="parameter_name"><p>branch</p></td><td class="parameter_description"><p>which branch to fetch (default: 'master'). </p></td><td class="parameter_annotations"><span class="annotation">[<acronym class="acronym">nullable</acronym>]</span></td></tr><tr><td class="parameter_name"><p>flags</p></td><td class="parameter_description"><p>set of <a class="link" href="#FlatpakQueryFlags" title="enum FlatpakQueryFlags"><span class="type">FlatpakQueryFlags</span></a></p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>cancellable</p></td><td class="parameter_description"><p>a <a class="link" href="#"><span class="type">GCancellable</span></a>. </p></td><td class="parameter_annotations"><span class="annotation">[<acronym class="acronym">nullable</acronym>]</span></td></tr><tr><td class="parameter_name"><p>error</p></td><td class="parameter_description"><p>return location for a <a class="link" href="#"><span class="type">GError</span></a></p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-installation-fetch-remote-ref-sync-full.returns"></a><h4>Returns</h4><p>a <a class="link" href="#FlatpakRemoteRef" title="FlatpakRemoteRef"><span class="type">FlatpakRemoteRef</span></a> instance, or <a class="link" href="#"><code class="literal">NULL</code></a>. </p><p><span class="annotation">[<acronym class="acronym">transfer full</acronym>]</span></p></div><p class="since">Since: <a class="link" href="#">1.3.3</a></p></div><div class="refsect2"><a id="flatpak-installation-fetch-remote-size-sync"></a><h3>flatpak_installation_fetch_remote_size_sync ()</h3><a id="id5313" class="indexterm"></a><pre class="programlisting"><a class="link" href="#"><span class="returnvalue">gboolean</span></a>
flatpak_installation_fetch_remote_size_sync
                               (<em class="parameter"><code><a class="link" href="#FlatpakInstallation" title="FlatpakInstallation"><span class="type">FlatpakInstallation</span></a> *self</code></em>,
                                <em class="parameter"><code>const <a class="link" href="#"><span class="type">char</span></a> *remote_name</code></em>,
                                <em class="parameter"><code><a class="link" href="#FlatpakRef" title="FlatpakRef"><span class="type">FlatpakRef</span></a> *ref</code></em>,
                                <em class="parameter"><code><a class="link" href="#"><span class="type">guint64</span></a> *download_size</code></em>,
                                <em class="parameter"><code><a class="link" href="#"><span class="type">guint64</span></a> *installed_size</code></em>,
                                <em class="parameter"><code><a class="link" href="#"><span class="type">GCancellable</span></a> *cancellable</code></em>,
                                <em class="parameter"><code><a class="link" href="#"><span class="type">GError</span></a> **error</code></em>);</pre><p>Gets information about the maximum amount of data that needs to be transferred
to pull the ref from a remote repository, and about the amount of
local disk space that is required to check out this commit.</p><p>Note that if there are locally available data that are in the ref, which is common
for instance if you're doing an update then the real download size may be smaller
than what is returned here.</p><p>NOTE: Since 0.11.4 this information is accessible in FlatpakRemoteRef, so this
function is not very useful anymore.</p><div class="refsect3"><a id="flatpak-installation-fetch-remote-size-sync.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakInstallation" title="FlatpakInstallation"><span class="type">FlatpakInstallation</span></a></p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>remote_name</p></td><td class="parameter_description"><p>the name of the remote</p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>ref</p></td><td class="parameter_description"><p>the ref</p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>download_size</p></td><td class="parameter_description"><p>return location for the (maximum) download size. </p></td><td class="parameter_annotations"><span class="annotation">[<acronym class="acronym">out</acronym>]</span></td></tr><tr><td class="parameter_name"><p>installed_size</p></td><td class="parameter_description"><p>return location for the installed size. </p></td><td class="parameter_annotations"><span class="annotation">[<acronym class="acronym">out</acronym>]</span></td></tr><tr><td class="parameter_name"><p>cancellable</p></td><td class="parameter_description"><p>a <a class="link" href="#"><span class="type">GCancellable</span></a>. </p></td><td class="parameter_annotations"><span class="annotation">[<acronym class="acronym">nullable</acronym>]</span></td></tr><tr><td class="parameter_name"><p>error</p></td><td class="parameter_description"><p>return location for a <a class="link" href="#"><span class="type">GError</span></a></p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-installation-fetch-remote-size-sync.returns"></a><h4>Returns</h4><p> <a class="link" href="#"><code class="literal">TRUE</code></a>, unless an error occurred</p></div></div><div class="refsect2"><a id="flatpak-installation-load-app-overrides"></a><h3>flatpak_installation_load_app_overrides ()</h3><a id="id5410" class="indexterm"></a><pre class="programlisting"><a class="link" href="#"><span class="returnvalue">char</span></a> *
flatpak_installation_load_app_overrides
                               (<em class="parameter"><code><a class="link" href="#FlatpakInstallation" title="FlatpakInstallation"><span class="type">FlatpakInstallation</span></a> *self</code></em>,
                                <em class="parameter"><code>const <a class="link" href="#"><span class="type">char</span></a> *app_id</code></em>,
                                <em class="parameter"><code><a class="link" href="#"><span class="type">GCancellable</span></a> *cancellable</code></em>,
                                <em class="parameter"><code><a class="link" href="#"><span class="type">GError</span></a> **error</code></em>);</pre><p>Loads the metadata overrides file for an application.</p><div class="refsect3"><a id="flatpak-installation-load-app-overrides.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakInstallation" title="FlatpakInstallation"><span class="type">FlatpakInstallation</span></a></p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>app_id</p></td><td class="parameter_description"><p>an application id</p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>cancellable</p></td><td class="parameter_description"><p>a <a class="link" href="#"><span class="type">GCancellable</span></a>. </p></td><td class="parameter_annotations"><span class="annotation">[<acronym class="acronym">nullable</acronym>]</span></td></tr><tr><td class="parameter_name"><p>error</p></td><td class="parameter_description"><p>return location for a <a class="link" href="#"><span class="type">GError</span></a></p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-installation-load-app-overrides.returns"></a><h4>Returns</h4><p>the contents of the overrides files,
or <a class="link" href="#"><code class="literal">NULL</code></a> if an error occurred. </p><p><span class="annotation">[<acronym class="acronym">transfer full</acronym>]</span></p></div></div><div class="refsect2"><a id="flatpak-installation-update-appstream-sync"></a><h3>flatpak_installation_update_appstream_sync ()</h3><a id="id5477" class="indexterm"></a><pre class="programlisting"><a class="link" href="#"><span class="returnvalue">gboolean</span></a>
flatpak_installation_update_appstream_sync
                               (<em class="parameter"><code><a class="link" href="#FlatpakInstallation" title="FlatpakInstallation"><span class="type">FlatpakInstallation</span></a> *self</code></em>,
                                <em class="parameter"><code>const <a class="link" href="#"><span class="type">char</span></a> *remote_name</code></em>,
                                <em class="parameter"><code>const <a class="link" href="#"><span class="type">char</span></a> *arch</code></em>,
                                <em class="parameter"><code><a class="link" href="#"><span class="type">gboolean</span></a> *out_changed</code></em>,
                                <em class="parameter"><code><a class="link" href="#"><span class="type">GCancellable</span></a> *cancellable</code></em>,
                                <em class="parameter"><code><a class="link" href="#"><span class="type">GError</span></a> **error</code></em>);</pre><p>Updates the local copy of appstream for <em class="parameter"><code>remote_name</code></em>
 for the specified <em class="parameter"><code>arch</code></em>
.
If you need progress feedback, use <a class="link" href="#flatpak-installation-update-appstream-full-sync" title="flatpak_installation_update_appstream_full_sync ()"><code class="function">flatpak_installation_update_appstream_full_sync()</code></a>.</p><div class="refsect3"><a id="flatpak-installation-update-appstream-sync.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakInstallation" title="FlatpakInstallation"><span class="type">FlatpakInstallation</span></a></p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>remote_name</p></td><td class="parameter_description"><p>the name of the remote</p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>arch</p></td><td class="parameter_description"><p>Architecture to update, or <a class="link" href="#"><code class="literal">NULL</code></a> for the local machine arch. </p></td><td class="parameter_annotations"><span class="annotation">[<acronym class="acronym">nullable</acronym>]</span></td></tr><tr><td class="parameter_name"><p>out_changed</p></td><td class="parameter_description"><p>Set to <a class="link" href="#"><code class="literal">TRUE</code></a> if the contents of the appstream changed, <a class="link" href="#"><code class="literal">FALSE</code></a> if nothing changed. </p></td><td class="parameter_annotations"><span class="annotation">[<acronym class="acronym">nullable</acronym>]</span></td></tr><tr><td class="parameter_name"><p>cancellable</p></td><td class="parameter_description"><p>a <a class="link" href="#"><span class="type">GCancellable</span></a>. </p></td><td class="parameter_annotations"><span class="annotation">[<acronym class="acronym">nullable</acronym>]</span></td></tr><tr><td class="parameter_name"><p>error</p></td><td class="parameter_description"><p>return location for a <a class="link" href="#"><span class="type">GError</span></a></p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-installation-update-appstream-sync.returns"></a><h4>Returns</h4><p> <a class="link" href="#"><code class="literal">TRUE</code></a> on success, or <a class="link" href="#"><code class="literal">FALSE</code></a> on error</p></div></div><div class="refsect2"><a id="flatpak-installation-install-bundle"></a><h3>flatpak_installation_install_bundle ()</h3><a id="id5575" class="indexterm"></a><pre class="programlisting"><a class="link" href="#FlatpakInstalledRef" title="FlatpakInstalledRef"><span class="returnvalue">FlatpakInstalledRef</span></a> *
flatpak_installation_install_bundle (<em class="parameter"><code><a class="link" href="#FlatpakInstallation" title="FlatpakInstallation"><span class="type">FlatpakInstallation</span></a> *self</code></em>,
                                     <em class="parameter"><code><a class="link" href="#"><span class="type">GFile</span></a> *file</code></em>,
                                     <em class="parameter"><code><a class="link" href="#FlatpakProgressCallback" title="FlatpakProgressCallback ()"><span class="type">FlatpakProgressCallback</span></a> progress</code></em>,
                                     <em class="parameter"><code><a class="link" href="#"><span class="type">gpointer</span></a> progress_data</code></em>,
                                     <em class="parameter"><code><a class="link" href="#"><span class="type">GCancellable</span></a> *cancellable</code></em>,
                                     <em class="parameter"><code><a class="link" href="#"><span class="type">GError</span></a> **error</code></em>);</pre><div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Warning</h3><p><code class="literal">flatpak_installation_install_bundle</code> has been deprecated since version 1.7.0 and should not be used in newly-written code.</p><p>Use <a class="link" href="#flatpak-transaction-add-install-bundle" title="flatpak_transaction_add_install_bundle ()"><code class="function">flatpak_transaction_add_install_bundle()</code></a> instead.</p></div><p>This is an old deprecated function, you should use
<a class="link" href="#FlatpakTransaction" title="FlatpakTransaction"><span class="type">FlatpakTransaction</span></a> and <a class="link" href="#flatpak-transaction-add-install-bundle" title="flatpak_transaction_add_install_bundle ()"><code class="function">flatpak_transaction_add_install_bundle()</code></a>
instead. It has a lot more interesting features.</p><p>Install an application or runtime from an flatpak bundle file.
See flatpak-build-bundle(1) for how to create bundles.</p><div class="refsect3"><a id="flatpak-installation-install-bundle.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakInstallation" title="FlatpakInstallation"><span class="type">FlatpakInstallation</span></a></p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>file</p></td><td class="parameter_description"><p>a <a class="link" href="#"><span class="type">GFile</span></a> that is an flatpak bundle</p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>progress</p></td><td class="parameter_description"><p>progress callback. </p></td><td class="parameter_annotations"><span class="annotation">[<acronym class="acronym">scope call</acronym>][<acronym class="acronym">closure</acronym> progress_data][<acronym class="acronym">nullable</acronym>]</span></td></tr><tr><td class="parameter_name"><p>progress_data</p></td><td class="parameter_description"><p>user data passed to <em class="parameter"><code>progress</code></em>
. </p></td><td class="parameter_annotations"><span class="annotation">[<acronym class="acronym">nullable</acronym>]</span></td></tr><tr><td class="parameter_name"><p>cancellable</p></td><td class="parameter_description"><p>a <a class="link" href="#"><span class="type">GCancellable</span></a>. </p></td><td class="parameter_annotations"><span class="annotation">[<acronym class="acronym">nullable</acronym>]</span></td></tr><tr><td class="parameter_name"><p>error</p></td><td class="parameter_description"><p>return location for a <a class="link" href="#"><span class="type">GError</span></a></p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-installation-install-bundle.returns"></a><h4>Returns</h4><p>The ref for the newly installed app or <a class="link" href="#"><code class="literal">NULL</code></a> on failure. </p><p><span class="annotation">[<acronym class="acronym">transfer full</acronym>]</span></p></div></div><div class="refsect2"><a id="flatpak-installation-install-ref-file"></a><h3>flatpak_installation_install_ref_file ()</h3><a id="id5680" class="indexterm"></a><a id="id5682" class="indexterm"></a><pre class="programlisting"><a class="link" href="#FlatpakRemoteRef" title="FlatpakRemoteRef"><span class="returnvalue">FlatpakRemoteRef</span></a> *
flatpak_installation_install_ref_file (<em class="parameter"><code><a class="link" href="#FlatpakInstallation" title="FlatpakInstallation"><span class="type">FlatpakInstallation</span></a> *self</code></em>,
                                       <em class="parameter"><code><a class="link" href="#"><span class="type">GBytes</span></a> *ref_file_data</code></em>,
                                       <em class="parameter"><code><a class="link" href="#"><span class="type">GCancellable</span></a> *cancellable</code></em>,
                                       <em class="parameter"><code><a class="link" href="#"><span class="type">GError</span></a> **error</code></em>);</pre><div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Warning</h3><p><code class="literal">flatpak_installation_install_ref_file</code> has been deprecated since version 1.7.0 and should not be used in newly-written code.</p><p>Use <a class="link" href="#flatpak-transaction-add-install-flatpakref" title="flatpak_transaction_add_install_flatpakref ()"><code class="function">flatpak_transaction_add_install_flatpakref()</code></a> instead.</p></div><p>This is an old deprecated function, you should use
<a class="link" href="#FlatpakTransaction" title="FlatpakTransaction"><span class="type">FlatpakTransaction</span></a> and <a class="link" href="#flatpak-transaction-add-install-flatpakref" title="flatpak_transaction_add_install_flatpakref ()"><code class="function">flatpak_transaction_add_install_flatpakref()</code></a>
instead. It has a lot more interesting features.</p><p>Creates a remote based on the passed in .flatpakref file contents
in <em class="parameter"><code>ref_file_data</code></em>
 and returns the <a class="link" href="#FlatpakRemoteRef" title="FlatpakRemoteRef"><span class="type">FlatpakRemoteRef</span></a> that can be used
to install it.</p><p>Note, the <a class="link" href="#FlatpakRemoteRef" title="FlatpakRemoteRef"><span class="type">FlatpakRemoteRef</span></a> will not have the commit field set, or other details, to
avoid unnecessary roundtrips. If you need that you have to resolve it
explicitly with <a class="link" href="#flatpak-installation-fetch-remote-ref-sync" title="flatpak_installation_fetch_remote_ref_sync ()"><code class="function">flatpak_installation_fetch_remote_ref_sync()</code></a>.</p><div class="refsect3"><a id="flatpak-installation-install-ref-file.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakInstallation" title="FlatpakInstallation"><span class="type">FlatpakInstallation</span></a></p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>ref_file_data</p></td><td class="parameter_description"><p>The ref file contents</p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>cancellable</p></td><td class="parameter_description"><p>a <a class="link" href="#"><span class="type">GCancellable</span></a>. </p></td><td class="parameter_annotations"><span class="annotation">[<acronym class="acronym">nullable</acronym>]</span></td></tr><tr><td class="parameter_name"><p>error</p></td><td class="parameter_description"><p>return location for a <a class="link" href="#"><span class="type">GError</span></a></p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-installation-install-ref-file.returns"></a><h4>Returns</h4><p>a <a class="link" href="#FlatpakRemoteRef" title="FlatpakRemoteRef"><span class="type">FlatpakRemoteRef</span></a> if the remote has been added successfully, <a class="link" href="#"><code class="literal">NULL</code></a>
on error. </p><p><span class="annotation">[<acronym class="acronym">transfer full</acronym>]</span></p></div><p class="since">Since: <a class="link" href="#">0.6.10</a></p></div><div class="refsect2"><a id="flatpak-installation-drop-caches"></a><h3>flatpak_installation_drop_caches ()</h3><a id="id5772" class="indexterm"></a><pre class="programlisting"><a class="link" href="#"><span class="returnvalue">gboolean</span></a>
flatpak_installation_drop_caches (<em class="parameter"><code><a class="link" href="#FlatpakInstallation" title="FlatpakInstallation"><span class="type">FlatpakInstallation</span></a> *self</code></em>,
                                  <em class="parameter"><code><a class="link" href="#"><span class="type">GCancellable</span></a> *cancellable</code></em>,
                                  <em class="parameter"><code><a class="link" href="#"><span class="type">GError</span></a> **error</code></em>);</pre><p>Drops all internal (in-memory) caches. For instance, this may be needed to pick up new or changed
remotes configured outside this installation instance.</p><div class="refsect3"><a id="flatpak-installation-drop-caches.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakInstallation" title="FlatpakInstallation"><span class="type">FlatpakInstallation</span></a></p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>cancellable</p></td><td class="parameter_description"><p>a <a class="link" href="#"><span class="type">GCancellable</span></a>. </p></td><td class="parameter_annotations"><span class="annotation">[<acronym class="acronym">nullable</acronym>]</span></td></tr><tr><td class="parameter_name"><p>error</p></td><td class="parameter_description"><p>return location for a <a class="link" href="#"><span class="type">GError</span></a></p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-installation-drop-caches.returns"></a><h4>Returns</h4><p> <a class="link" href="#"><code class="literal">TRUE</code></a> on success, <a class="link" href="#"><code class="literal">FALSE</code></a> on error</p></div></div><div class="refsect2"><a id="flatpak-installation-add-remote"></a><h3>flatpak_installation_add_remote ()</h3><a id="id5829" class="indexterm"></a><pre class="programlisting"><a class="link" href="#"><span class="returnvalue">gboolean</span></a>
flatpak_installation_add_remote (<em class="parameter"><code><a class="link" href="#FlatpakInstallation" title="FlatpakInstallation"><span class="type">FlatpakInstallation</span></a> *self</code></em>,
                                 <em class="parameter"><code><a class="link" href="#FlatpakRemote" title="FlatpakRemote"><span class="type">FlatpakRemote</span></a> *remote</code></em>,
                                 <em class="parameter"><code><a class="link" href="#"><span class="type">gboolean</span></a> if_needed</code></em>,
                                 <em class="parameter"><code><a class="link" href="#"><span class="type">GCancellable</span></a> *cancellable</code></em>,
                                 <em class="parameter"><code><a class="link" href="#"><span class="type">GError</span></a> **error</code></em>);</pre><p>Adds a new <em class="parameter"><code>remote</code></em>
 object to the set of remotes. This is similar
to <a class="link" href="#flatpak-installation-modify-remote" title="flatpak_installation_modify_remote ()"><code class="function">flatpak_installation_modify_remote()</code></a> for non-existing remote
names. However, if the named remote already exists then instead of
modifying it it fails with <a class="link" href="#FLATPAK-ERROR-ALREADY-INSTALLED:CAPS"><code class="literal">FLATPAK_ERROR_ALREADY_INSTALLED</code></a>, or if
<em class="parameter"><code>if_needed</code></em>
 is true it silently succeeds without doing anything.</p><p>As an exception to the last, if the local config has a filter defined,
but the new remote unsets the filter (for example, it comes from an
unfiltered .flatpakref via <a class="link" href="#flatpak-remote-new-from-file" title="flatpak_remote_new_from_file ()"><code class="function">flatpak_remote_new_from_file()</code></a>) the the local
remote filter gets reset. This is to allow the setup where there is a
default setup of a filtered remote, yet you can still use the standard
flatpakref file to get the full contents without getting two remotes.</p><div class="refsect3"><a id="flatpak-installation-add-remote.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakInstallation" title="FlatpakInstallation"><span class="type">FlatpakInstallation</span></a></p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>remote</p></td><td class="parameter_description"><p>the new <a class="link" href="#FlatpakRemote" title="FlatpakRemote"><span class="type">FlatpakRemote</span></a></p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>if_needed</p></td><td class="parameter_description"><p>if <a class="link" href="#"><code class="literal">TRUE</code></a>, only add if it doesn't exists</p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>cancellable</p></td><td class="parameter_description"><p>a <a class="link" href="#"><span class="type">GCancellable</span></a>. </p></td><td class="parameter_annotations"><span class="annotation">[<acronym class="acronym">nullable</acronym>]</span></td></tr><tr><td class="parameter_name"><p>error</p></td><td class="parameter_description"><p>return location for a <a class="link" href="#"><span class="type">GError</span></a></p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-installation-add-remote.returns"></a><h4>Returns</h4><p> <a class="link" href="#"><code class="literal">TRUE</code></a> if the modifications have been committed successfully</p></div><p class="since">Since: <a class="link" href="#">1.3.4</a></p></div><div class="refsect2"><a id="flatpak-installation-modify-remote"></a><h3>flatpak_installation_modify_remote ()</h3><a id="id5917" class="indexterm"></a><pre class="programlisting"><a class="link" href="#"><span class="returnvalue">gboolean</span></a>
flatpak_installation_modify_remote (<em class="parameter"><code><a class="link" href="#FlatpakInstallation" title="FlatpakInstallation"><span class="type">FlatpakInstallation</span></a> *self</code></em>,
                                    <em class="parameter"><code><a class="link" href="#FlatpakRemote" title="FlatpakRemote"><span class="type">FlatpakRemote</span></a> *remote</code></em>,
                                    <em class="parameter"><code><a class="link" href="#"><span class="type">GCancellable</span></a> *cancellable</code></em>,
                                    <em class="parameter"><code><a class="link" href="#"><span class="type">GError</span></a> **error</code></em>);</pre><p>Saves changes in the <em class="parameter"><code>remote</code></em>
 object.</p><div class="refsect3"><a id="flatpak-installation-modify-remote.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakInstallation" title="FlatpakInstallation"><span class="type">FlatpakInstallation</span></a></p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>remote</p></td><td class="parameter_description"><p>the modified <a class="link" href="#FlatpakRemote" title="FlatpakRemote"><span class="type">FlatpakRemote</span></a></p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>cancellable</p></td><td class="parameter_description"><p>a <a class="link" href="#"><span class="type">GCancellable</span></a>. </p></td><td class="parameter_annotations"><span class="annotation">[<acronym class="acronym">nullable</acronym>]</span></td></tr><tr><td class="parameter_name"><p>error</p></td><td class="parameter_description"><p>return location for a <a class="link" href="#"><span class="type">GError</span></a></p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-installation-modify-remote.returns"></a><h4>Returns</h4><p> <a class="link" href="#"><code class="literal">TRUE</code></a> if the modifications have been committed successfully</p></div></div><div class="refsect2"><a id="flatpak-installation-remove-remote"></a><h3>flatpak_installation_remove_remote ()</h3><a id="id5984" class="indexterm"></a><pre class="programlisting"><a class="link" href="#"><span class="returnvalue">gboolean</span></a>
flatpak_installation_remove_remote (<em class="parameter"><code><a class="link" href="#FlatpakInstallation" title="FlatpakInstallation"><span class="type">FlatpakInstallation</span></a> *self</code></em>,
                                    <em class="parameter"><code>const <a class="link" href="#"><span class="type">char</span></a> *name</code></em>,
                                    <em class="parameter"><code><a class="link" href="#"><span class="type">GCancellable</span></a> *cancellable</code></em>,
                                    <em class="parameter"><code><a class="link" href="#"><span class="type">GError</span></a> **error</code></em>);</pre><p>Removes the remote with the given name from the installation.</p><div class="refsect3"><a id="flatpak-installation-remove-remote.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakInstallation" title="FlatpakInstallation"><span class="type">FlatpakInstallation</span></a></p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>name</p></td><td class="parameter_description"><p>the name of the remote to remove</p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>cancellable</p></td><td class="parameter_description"><p>a <a class="link" href="#"><span class="type">GCancellable</span></a>. </p></td><td class="parameter_annotations"><span class="annotation">[<acronym class="acronym">nullable</acronym>]</span></td></tr><tr><td class="parameter_name"><p>error</p></td><td class="parameter_description"><p>return location for a <a class="link" href="#"><span class="type">GError</span></a></p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-installation-remove-remote.returns"></a><h4>Returns</h4><p> <a class="link" href="#"><code class="literal">TRUE</code></a> if the remote has been removed successfully</p></div></div><div class="refsect2"><a id="flatpak-installation-update-remote-sync"></a><h3>flatpak_installation_update_remote_sync ()</h3><a id="id6048" class="indexterm"></a><pre class="programlisting"><a class="link" href="#"><span class="returnvalue">gboolean</span></a>
flatpak_installation_update_remote_sync
                               (<em class="parameter"><code><a class="link" href="#FlatpakInstallation" title="FlatpakInstallation"><span class="type">FlatpakInstallation</span></a> *self</code></em>,
                                <em class="parameter"><code>const <a class="link" href="#"><span class="type">char</span></a> *name</code></em>,
                                <em class="parameter"><code><a class="link" href="#"><span class="type">GCancellable</span></a> *cancellable</code></em>,
                                <em class="parameter"><code><a class="link" href="#"><span class="type">GError</span></a> **error</code></em>);</pre><p>Updates the local configuration of a remote repository by fetching
the related information from the summary file in the remote OSTree
repository and committing the changes to the local installation.</p><div class="refsect3"><a id="flatpak-installation-update-remote-sync.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakInstallation" title="FlatpakInstallation"><span class="type">FlatpakInstallation</span></a></p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>name</p></td><td class="parameter_description"><p>the name of the remote to update</p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>cancellable</p></td><td class="parameter_description"><p>a <a class="link" href="#"><span class="type">GCancellable</span></a>. </p></td><td class="parameter_annotations"><span class="annotation">[<acronym class="acronym">nullable</acronym>]</span></td></tr><tr><td class="parameter_name"><p>error</p></td><td class="parameter_description"><p>return location for a <a class="link" href="#"><span class="type">GError</span></a></p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-installation-update-remote-sync.returns"></a><h4>Returns</h4><p> <a class="link" href="#"><code class="literal">TRUE</code></a> if the remote has been updated successfully</p></div><p class="since">Since: <a class="link" href="#">0.6.13</a></p></div><div class="refsect2"><a id="flatpak-installation-cleanup-local-refs-sync"></a><h3>flatpak_installation_cleanup_local_refs_sync ()</h3><a id="id6114" class="indexterm"></a><pre class="programlisting"><a class="link" href="#"><span class="returnvalue">gboolean</span></a>
flatpak_installation_cleanup_local_refs_sync
                               (<em class="parameter"><code><a class="link" href="#FlatpakInstallation" title="FlatpakInstallation"><span class="type">FlatpakInstallation</span></a> *self</code></em>,
                                <em class="parameter"><code><a class="link" href="#"><span class="type">GCancellable</span></a> *cancellable</code></em>,
                                <em class="parameter"><code><a class="link" href="#"><span class="type">GError</span></a> **error</code></em>);</pre><p>Remove all OSTree refs from the local flatpak repository which are not
in a deployed state. The next time the underlying OSTree repo is pruned,
objects which were attached to that ref will be removed. This is useful if
you pulled a flatpak refs using <a class="link" href="#flatpak-installation-install-full" title="flatpak_installation_install_full ()"><code class="function">flatpak_installation_install_full()</code></a> and
specified <a class="link" href="#FLATPAK-INSTALL-FLAGS-NO-DEPLOY:CAPS"><code class="literal">FLATPAK_INSTALL_FLAGS_NO_DEPLOY</code></a> but then decided not to
deploy the refs later on and want to remove the local refs to prevent them
from taking up disk space. Note that this will not remove the objects
referred to by <em class="parameter"><code>ref</code></em>
 from the underlying OSTree repo, you should use
<a class="link" href="#flatpak-installation-prune-local-repo" title="flatpak_installation_prune_local_repo ()"><code class="function">flatpak_installation_prune_local_repo()</code></a> to do that.</p><div class="refsect3"><a id="flatpak-installation-cleanup-local-refs-sync.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakInstallation" title="FlatpakInstallation"><span class="type">FlatpakInstallation</span></a></p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>cancellable</p></td><td class="parameter_description"><p>a <a class="link" href="#"><span class="type">GCancellable</span></a>. </p></td><td class="parameter_annotations"><span class="annotation">[<acronym class="acronym">nullable</acronym>]</span></td></tr><tr><td class="parameter_name"><p>error</p></td><td class="parameter_description"><p>return location for a <a class="link" href="#"><span class="type">GError</span></a></p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-installation-cleanup-local-refs-sync.returns"></a><h4>Returns</h4><p> <a class="link" href="#"><code class="literal">TRUE</code></a> on success</p></div><p class="since">Since: <a class="link" href="#">0.10.0</a></p></div><div class="refsect2"><a id="flatpak-installation-get-config"></a><h3>flatpak_installation_get_config ()</h3><a id="id6178" class="indexterm"></a><pre class="programlisting"><a class="link" href="#"><span class="returnvalue">char</span></a> *
flatpak_installation_get_config (<em class="parameter"><code><a class="link" href="#FlatpakInstallation" title="FlatpakInstallation"><span class="type">FlatpakInstallation</span></a> *self</code></em>,
                                 <em class="parameter"><code>const <a class="link" href="#"><span class="type">char</span></a> *key</code></em>,
                                 <em class="parameter"><code><a class="link" href="#"><span class="type">GCancellable</span></a> *cancellable</code></em>,
                                 <em class="parameter"><code><a class="link" href="#"><span class="type">GError</span></a> **error</code></em>);</pre><p>Get a global configuration option for the installation, see
<a class="link" href="#flatpak-installation-set-config-sync" title="flatpak_installation_set_config_sync ()"><code class="function">flatpak_installation_set_config_sync()</code></a> for supported keys.</p><div class="refsect3"><a id="flatpak-installation-get-config.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakInstallation" title="FlatpakInstallation"><span class="type">FlatpakInstallation</span></a></p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>key</p></td><td class="parameter_description"><p>the name of the key to get</p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>cancellable</p></td><td class="parameter_description"><p>a <a class="link" href="#"><span class="type">GCancellable</span></a>. </p></td><td class="parameter_annotations"><span class="annotation">[<acronym class="acronym">nullable</acronym>]</span></td></tr><tr><td class="parameter_name"><p>error</p></td><td class="parameter_description"><p>return location for a <a class="link" href="#"><span class="type">GError</span></a></p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-installation-get-config.returns"></a><h4>Returns</h4><p> The (newly allocated) value, or <a class="link" href="#"><code class="literal">NULL</code></a> on error (<a class="link" href="#"><code class="literal">G_KEY_FILE_ERROR_KEY_NOT_FOUND</code></a> error if key is not set)</p></div></div><div class="refsect2"><a id="flatpak-installation-get-default-languages"></a><h3>flatpak_installation_get_default_languages ()</h3><a id="id6246" class="indexterm"></a><pre class="programlisting"><a class="link" href="#"><span class="returnvalue">char</span></a> **
flatpak_installation_get_default_languages
                               (<em class="parameter"><code><a class="link" href="#FlatpakInstallation" title="FlatpakInstallation"><span class="type">FlatpakInstallation</span></a> *self</code></em>,
                                <em class="parameter"><code><a class="link" href="#"><span class="type">GError</span></a> **error</code></em>);</pre><p>Get the default languages used by the installation to decide which
subpaths to install of locale extensions. This list may also be used
by frontends like GNOME Software to decide which language-specific apps
to display. An empty array means that all languages should be installed.</p><div class="refsect3"><a id="flatpak-installation-get-default-languages.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakInstallation" title="FlatpakInstallation"><span class="type">FlatpakInstallation</span></a></p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>error</p></td><td class="parameter_description"><p>return location for a <a class="link" href="#"><span class="type">GError</span></a></p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-installation-get-default-languages.returns"></a><h4>Returns</h4><p>A possibly empty array of strings, or <a class="link" href="#"><code class="literal">NULL</code></a> on error. </p><p><span class="annotation">[<acronym class="acronym">array</acronym> zero-terminated=1][<acronym class="acronym">element-type</acronym> utf8][<acronym class="acronym">transfer full</acronym>]</span></p></div><p class="since">Since: <a class="link" href="#">1.5.0</a></p></div><div class="refsect2"><a id="flatpak-installation-get-default-locales"></a><h3>flatpak_installation_get_default_locales ()</h3><a id="id6295" class="indexterm"></a><pre class="programlisting"><a class="link" href="#"><span class="returnvalue">char</span></a> **
flatpak_installation_get_default_locales
                               (<em class="parameter"><code><a class="link" href="#FlatpakInstallation" title="FlatpakInstallation"><span class="type">FlatpakInstallation</span></a> *self</code></em>,
                                <em class="parameter"><code><a class="link" href="#"><span class="type">GError</span></a> **error</code></em>);</pre><p>Like <a class="link" href="#flatpak-installation-get-default-languages" title="flatpak_installation_get_default_languages ()"><code class="function">flatpak_installation_get_default_languages()</code></a> but includes territory
information (e.g. <code class="literal">en_US</code> rather than <code class="literal">en</code>) which may be included in the
<code class="literal">extra-languages</code> configuration.</p><p>Strings returned by this function are in the format specified by
<a class="ulink" href="man:setlocale" target="_top"><code class="function">setlocale()</code></a>: <code class="literal">language[_territory][.codeset][@modifier]</code>.</p><div class="refsect3"><a id="flatpak-installation-get-default-locales.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakInstallation" title="FlatpakInstallation"><span class="type">FlatpakInstallation</span></a></p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>error</p></td><td class="parameter_description"><p>return location for a <a class="link" href="#"><span class="type">GError</span></a></p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-installation-get-default-locales.returns"></a><h4>Returns</h4><p>A possibly empty array of locale strings, or <a class="link" href="#"><code class="literal">NULL</code></a> on error. </p><p><span class="annotation">[<acronym class="acronym">array</acronym> zero-terminated=1][<acronym class="acronym">element-type</acronym> utf8][<acronym class="acronym">transfer full</acronym>]</span></p></div><p class="since">Since: <a class="link" href="#">1.5.1</a></p></div><div class="refsect2"><a id="flatpak-installation-prune-local-repo"></a><h3>flatpak_installation_prune_local_repo ()</h3><a id="id6355" class="indexterm"></a><pre class="programlisting"><a class="link" href="#"><span class="returnvalue">gboolean</span></a>
flatpak_installation_prune_local_repo (<em class="parameter"><code><a class="link" href="#FlatpakInstallation" title="FlatpakInstallation"><span class="type">FlatpakInstallation</span></a> *self</code></em>,
                                       <em class="parameter"><code><a class="link" href="#"><span class="type">GCancellable</span></a> *cancellable</code></em>,
                                       <em class="parameter"><code><a class="link" href="#"><span class="type">GError</span></a> **error</code></em>);</pre><p>Remove all orphaned OSTree objects from the underlying OSTree repo in
<em class="parameter"><code>self</code></em>
.</p><div class="refsect3"><a id="flatpak-installation-prune-local-repo.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakInstallation" title="FlatpakInstallation"><span class="type">FlatpakInstallation</span></a></p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>cancellable</p></td><td class="parameter_description"><p>a <a class="link" href="#"><span class="type">GCancellable</span></a>. </p></td><td class="parameter_annotations"><span class="annotation">[<acronym class="acronym">nullable</acronym>]</span></td></tr><tr><td class="parameter_name"><p>error</p></td><td class="parameter_description"><p>return location for a <a class="link" href="#"><span class="type">GError</span></a></p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-installation-prune-local-repo.returns"></a><h4>Returns</h4><p> <a class="link" href="#"><code class="literal">TRUE</code></a> on success</p></div><p class="since">Since: <a class="link" href="#">0.10.0</a></p></div><div class="refsect2"><a id="flatpak-installation-remove-local-ref-sync"></a><h3>flatpak_installation_remove_local_ref_sync ()</h3><a id="id6413" class="indexterm"></a><pre class="programlisting"><a class="link" href="#"><span class="returnvalue">gboolean</span></a>
flatpak_installation_remove_local_ref_sync
                               (<em class="parameter"><code><a class="link" href="#FlatpakInstallation" title="FlatpakInstallation"><span class="type">FlatpakInstallation</span></a> *self</code></em>,
                                <em class="parameter"><code>const <a class="link" href="#"><span class="type">char</span></a> *remote_name</code></em>,
                                <em class="parameter"><code>const <a class="link" href="#"><span class="type">char</span></a> *ref</code></em>,
                                <em class="parameter"><code><a class="link" href="#"><span class="type">GCancellable</span></a> *cancellable</code></em>,
                                <em class="parameter"><code><a class="link" href="#"><span class="type">GError</span></a> **error</code></em>);</pre><p>Remove the OSTree ref given by <em class="parameter"><code>remote_name</code></em>
:<em class="parameter"><code>ref</code></em>
 from the local flatpak
repository. The next time the underlying OSTree repo is pruned, objects
which were attached to that ref will be removed. This is useful if you
pulled a flatpak ref using <a class="link" href="#flatpak-installation-install-full" title="flatpak_installation_install_full ()"><code class="function">flatpak_installation_install_full()</code></a> and
specified <a class="link" href="#FLATPAK-INSTALL-FLAGS-NO-DEPLOY:CAPS"><code class="literal">FLATPAK_INSTALL_FLAGS_NO_DEPLOY</code></a> but then decided not to
deploy the ref later on and want to remove the local ref to prevent it
from taking up disk space. Note that this will not remove the objects
referred to by <em class="parameter"><code>ref</code></em>
 from the underlying OSTree repo, you should use
<a class="link" href="#flatpak-installation-prune-local-repo" title="flatpak_installation_prune_local_repo ()"><code class="function">flatpak_installation_prune_local_repo()</code></a> to do that.</p><div class="refsect3"><a id="flatpak-installation-remove-local-ref-sync.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakInstallation" title="FlatpakInstallation"><span class="type">FlatpakInstallation</span></a></p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>remote_name</p></td><td class="parameter_description"><p>the name of the remote</p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>ref</p></td><td class="parameter_description"><p>the ref</p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>cancellable</p></td><td class="parameter_description"><p>a <a class="link" href="#"><span class="type">GCancellable</span></a>. </p></td><td class="parameter_annotations"><span class="annotation">[<acronym class="acronym">nullable</acronym>]</span></td></tr><tr><td class="parameter_name"><p>error</p></td><td class="parameter_description"><p>return location for a <a class="link" href="#"><span class="type">GError</span></a></p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-installation-remove-local-ref-sync.returns"></a><h4>Returns</h4><p> <a class="link" href="#"><code class="literal">TRUE</code></a> on success</p></div><p class="since">Since: <a class="link" href="#">0.10.0</a></p></div><div class="refsect2"><a id="flatpak-installation-set-config-sync"></a><h3>flatpak_installation_set_config_sync ()</h3><a id="id6497" class="indexterm"></a><pre class="programlisting"><a class="link" href="#"><span class="returnvalue">gboolean</span></a>
flatpak_installation_set_config_sync (<em class="parameter"><code><a class="link" href="#FlatpakInstallation" title="FlatpakInstallation"><span class="type">FlatpakInstallation</span></a> *self</code></em>,
                                      <em class="parameter"><code>const <a class="link" href="#"><span class="type">char</span></a> *key</code></em>,
                                      <em class="parameter"><code>const <a class="link" href="#"><span class="type">char</span></a> *value</code></em>,
                                      <em class="parameter"><code><a class="link" href="#"><span class="type">GCancellable</span></a> *cancellable</code></em>,
                                      <em class="parameter"><code><a class="link" href="#"><span class="type">GError</span></a> **error</code></em>);</pre><p>Set a global configuration option for the installation, currently
the only supported keys are <code class="literal">languages</code>, which is a semicolon-separated
list of language codes like <code class="literal">"sv;en;pl"</code>, or <code class="literal">""</code> to mean all languages,
and <code class="literal">extra-languages</code>, which is a semicolon-separated list of locale
identifiers like <code class="literal">"en;en_DK;zh_HK.big5hkscs;uz_UZ.utf8@cyrillic"</code>.</p><div class="refsect3"><a id="flatpak-installation-set-config-sync.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakInstallation" title="FlatpakInstallation"><span class="type">FlatpakInstallation</span></a></p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>key</p></td><td class="parameter_description"><p>the name of the key to set</p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>value</p></td><td class="parameter_description"><p>the new value, or <a class="link" href="#"><code class="literal">NULL</code></a> to unset</p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>cancellable</p></td><td class="parameter_description"><p>a <a class="link" href="#"><span class="type">GCancellable</span></a>. </p></td><td class="parameter_annotations"><span class="annotation">[<acronym class="acronym">nullable</acronym>]</span></td></tr><tr><td class="parameter_name"><p>error</p></td><td class="parameter_description"><p>return location for a <a class="link" href="#"><span class="type">GError</span></a></p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-installation-set-config-sync.returns"></a><h4>Returns</h4><p> <a class="link" href="#"><code class="literal">TRUE</code></a> if the option was set correctly</p></div></div><div class="refsect2"><a id="flatpak-installation-update-appstream-full-sync"></a><h3>flatpak_installation_update_appstream_full_sync ()</h3><a id="id6577" class="indexterm"></a><pre class="programlisting"><a class="link" href="#"><span class="returnvalue">gboolean</span></a>
flatpak_installation_update_appstream_full_sync
                               (<em class="parameter"><code><a class="link" href="#FlatpakInstallation" title="FlatpakInstallation"><span class="type">FlatpakInstallation</span></a> *self</code></em>,
                                <em class="parameter"><code>const <a class="link" href="#"><span class="type">char</span></a> *remote_name</code></em>,
                                <em class="parameter"><code>const <a class="link" href="#"><span class="type">char</span></a> *arch</code></em>,
                                <em class="parameter"><code><a class="link" href="#FlatpakProgressCallback" title="FlatpakProgressCallback ()"><span class="type">FlatpakProgressCallback</span></a> progress</code></em>,
                                <em class="parameter"><code><a class="link" href="#"><span class="type">gpointer</span></a> progress_data</code></em>,
                                <em class="parameter"><code><a class="link" href="#"><span class="type">gboolean</span></a> *out_changed</code></em>,
                                <em class="parameter"><code><a class="link" href="#"><span class="type">GCancellable</span></a> *cancellable</code></em>,
                                <em class="parameter"><code><a class="link" href="#"><span class="type">GError</span></a> **error</code></em>);</pre><p>Updates the local copy of appstream for <em class="parameter"><code>remote_name</code></em>
 for the specified <em class="parameter"><code>arch</code></em>
.</p><div class="refsect3"><a id="flatpak-installation-update-appstream-full-sync.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakInstallation" title="FlatpakInstallation"><span class="type">FlatpakInstallation</span></a></p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>remote_name</p></td><td class="parameter_description"><p>the name of the remote</p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>arch</p></td><td class="parameter_description"><p>Architecture to update, or <a class="link" href="#"><code class="literal">NULL</code></a> for the local machine arch. </p></td><td class="parameter_annotations"><span class="annotation">[<acronym class="acronym">nullable</acronym>]</span></td></tr><tr><td class="parameter_name"><p>progress</p></td><td class="parameter_description"><p>progress callback. </p></td><td class="parameter_annotations"><span class="annotation">[<acronym class="acronym">scope call</acronym>][<acronym class="acronym">closure</acronym> progress_data][<acronym class="acronym">nullable</acronym>]</span></td></tr><tr><td class="parameter_name"><p>progress_data</p></td><td class="parameter_description"><p>user data passed to <em class="parameter"><code>progress</code></em>
. </p></td><td class="parameter_annotations"><span class="annotation">[<acronym class="acronym">nullable</acronym>]</span></td></tr><tr><td class="parameter_name"><p>out_changed</p></td><td class="parameter_description"><p>Set to <a class="link" href="#"><code class="literal">TRUE</code></a> if the contents of the appstream changed, <a class="link" href="#"><code class="literal">FALSE</code></a> if nothing changed. </p></td><td class="parameter_annotations"><span class="annotation">[<acronym class="acronym">nullable</acronym>]</span></td></tr><tr><td class="parameter_name"><p>cancellable</p></td><td class="parameter_description"><p>a <a class="link" href="#"><span class="type">GCancellable</span></a>. </p></td><td class="parameter_annotations"><span class="annotation">[<acronym class="acronym">nullable</acronym>]</span></td></tr><tr><td class="parameter_name"><p>error</p></td><td class="parameter_description"><p>return location for a <a class="link" href="#"><span class="type">GError</span></a></p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-installation-update-appstream-full-sync.returns"></a><h4>Returns</h4><p> <a class="link" href="#"><code class="literal">TRUE</code></a> on success, or <a class="link" href="#"><code class="literal">FALSE</code></a> on error</p></div></div><div class="refsect2"><a id="flatpak-installation-run-triggers"></a><h3>flatpak_installation_run_triggers ()</h3><a id="id6698" class="indexterm"></a><pre class="programlisting"><a class="link" href="#"><span class="returnvalue">gboolean</span></a>
flatpak_installation_run_triggers (<em class="parameter"><code><a class="link" href="#FlatpakInstallation" title="FlatpakInstallation"><span class="type">FlatpakInstallation</span></a> *self</code></em>,
                                   <em class="parameter"><code><a class="link" href="#"><span class="type">GCancellable</span></a> *cancellable</code></em>,
                                   <em class="parameter"><code><a class="link" href="#"><span class="type">GError</span></a> **error</code></em>);</pre><p>Run the trigger commands to update the files exported by the apps in
<em class="parameter"><code>self</code></em>
. Should be used after one or more app install, upgrade or
uninstall operations with the <a class="link" href="#FLATPAK-INSTALL-FLAGS-NO-TRIGGERS:CAPS"><code class="literal">FLATPAK_INSTALL_FLAGS_NO_TRIGGERS</code></a>,
<a class="link" href="#FLATPAK-UPDATE-FLAGS-NO-TRIGGERS:CAPS"><code class="literal">FLATPAK_UPDATE_FLAGS_NO_TRIGGERS</code></a> or <a class="link" href="#FLATPAK-UNINSTALL-FLAGS-NO-TRIGGERS:CAPS"><code class="literal">FLATPAK_UNINSTALL_FLAGS_NO_TRIGGERS</code></a>
flags set.</p><div class="refsect3"><a id="flatpak-installation-run-triggers.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakInstallation" title="FlatpakInstallation"><span class="type">FlatpakInstallation</span></a></p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>cancellable</p></td><td class="parameter_description"><p>a <a class="link" href="#"><span class="type">GCancellable</span></a>. </p></td><td class="parameter_annotations"><span class="annotation">[<acronym class="acronym">nullable</acronym>]</span></td></tr><tr><td class="parameter_name"><p>error</p></td><td class="parameter_description"><p>return location for a <a class="link" href="#"><span class="type">GError</span></a></p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-installation-run-triggers.returns"></a><h4>Returns</h4><p> <a class="link" href="#"><code class="literal">TRUE</code></a> on success</p></div><p class="since">Since: <a class="link" href="#">1.0.3</a></p></div><div class="refsect2"><a id="flatpak-get-default-arch"></a><h3>flatpak_get_default_arch ()</h3><a id="id6762" class="indexterm"></a><pre class="programlisting">const <a class="link" href="#"><span class="returnvalue">char</span></a> *
flatpak_get_default_arch (<em class="parameter"><code><span class="type">void</span></code></em>);</pre><p>Returns the canonical name for the arch of the current machine.</p><div class="refsect3"><a id="flatpak-get-default-arch.returns"></a><h4>Returns</h4><p> an arch string</p></div></div><div class="refsect2"><a id="flatpak-get-supported-arches"></a><h3>flatpak_get_supported_arches ()</h3><a id="id6774" class="indexterm"></a><pre class="programlisting">const <a class="link" href="#"><span class="returnvalue">char</span></a> *const *
flatpak_get_supported_arches (<em class="parameter"><code><span class="type">void</span></code></em>);</pre><p>Returns the canonical names for the arches that are supported (i.e. can run)
on the current machine, in order of priority (default is first).</p><div class="refsect3"><a id="flatpak-get-supported-arches.returns"></a><h4>Returns</h4><p> a zero terminated array of arch strings</p></div></div><div class="refsect2"><a id="flatpak-get-system-installations"></a><h3>flatpak_get_system_installations ()</h3><a id="id6786" class="indexterm"></a><pre class="programlisting"><a class="link" href="#"><span class="returnvalue">GPtrArray</span></a> *
flatpak_get_system_installations (<em class="parameter"><code><a class="link" href="#"><span class="type">GCancellable</span></a> *cancellable</code></em>,
                                  <em class="parameter"><code><a class="link" href="#"><span class="type">GError</span></a> **error</code></em>);</pre><p>Lists the system installations according to the current configuration and current
availability (e.g. doesn't return a configured installation if not reachable).</p><div class="refsect3"><a id="flatpak-get-system-installations.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>cancellable</p></td><td class="parameter_description"><p>a <a class="link" href="#"><span class="type">GCancellable</span></a>. </p></td><td class="parameter_annotations"><span class="annotation">[<acronym class="acronym">nullable</acronym>]</span></td></tr><tr><td class="parameter_name"><p>error</p></td><td class="parameter_description"><p>return location for a <a class="link" href="#"><span class="type">GError</span></a></p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-get-system-installations.returns"></a><h4>Returns</h4><p>a GPtrArray of
<a class="link" href="#FlatpakInstallation" title="FlatpakInstallation"><span class="type">FlatpakInstallation</span></a> instances. </p><p><span class="annotation">[<acronym class="acronym">transfer container</acronym>][<acronym class="acronym">element-type</acronym> FlatpakInstallation]</span></p></div><p class="since">Since: <a class="link" href="#">0.8</a></p></div><div class="refsect2"><a id="FlatpakProgressCallback"></a><h3>FlatpakProgressCallback ()</h3><a id="id6836" class="indexterm"></a><pre class="programlisting"><a class="link" href="#"><span class="returnvalue">void</span></a>
<span class="c_punctuation">(</span>*FlatpakProgressCallback<span class="c_punctuation">)</span> (<em class="parameter"><code>const <a class="link" href="#"><span class="type">char</span></a> *status</code></em>,
                            <em class="parameter"><code><a class="link" href="#"><span class="type">guint</span></a> progress</code></em>,
                            <em class="parameter"><code><a class="link" href="#"><span class="type">gboolean</span></a> estimating</code></em>,
                            <em class="parameter"><code><a class="link" href="#"><span class="type">gpointer</span></a> user_data</code></em>);</pre><p>The progress callback is called repeatedly during long-running operations
such as installations or updates, and can be used to update progress information
in a user interface.</p><p>The callback occurs in the thread-default context of the caller.</p><div class="refsect3"><a id="FlatpakProgressCallback.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>status</p></td><td class="parameter_description"><p>A status string, suitable for display</p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>progress</p></td><td class="parameter_description"><p>percentage of completion</p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>estimating</p></td><td class="parameter_description"><p>whether <em class="parameter"><code>progress</code></em>
is just an estimate</p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>user_data</p></td><td class="parameter_description"><p>User data passed to the caller</p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div></div></div><div class="refsect1"><a id="FlatpakInstallation.other_details"></a><h2>Types and Values</h2><div class="refsect2"><a id="FlatpakInstallation-struct"></a><h3>struct FlatpakInstallation</h3><a id="id6893" class="indexterm"></a><pre class="programlisting">struct FlatpakInstallation;</pre></div><div class="refsect2"><a id="FlatpakQueryFlags"></a><h3>enum FlatpakQueryFlags</h3><a id="id6897" class="indexterm"></a><p>Flags to alter the behavior of e.g <a class="link" href="#flatpak-installation-list-remote-refs-sync-full" title="flatpak_installation_list_remote_refs_sync_full ()"><code class="function">flatpak_installation_list_remote_refs_sync_full()</code></a>.</p><div class="refsect3"><a id="FlatpakQueryFlags.members"></a><h4>Members</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="300px" class="enum_members_name" /><col class="enum_members_description" /><col width="200px" class="enum_members_annotations" /></colgroup><tbody><tr><td class="enum_member_name"><p><a id="FLATPAK-QUERY-FLAGS-NONE:CAPS"></a>FLATPAK_QUERY_FLAGS_NONE</p></td><td class="enum_member_description"><p>Default</p>
</td><td class="enum_member_annotations"> </td></tr><tr><td class="enum_member_name"><p><a id="FLATPAK-QUERY-FLAGS-ONLY-CACHED:CAPS"></a>FLATPAK_QUERY_FLAGS_ONLY_CACHED</p></td><td class="enum_member_description"><p>Don't do any network i/o, but only return cached data.
This can return stale data, or a <a class="link" href="#FLATPAK-ERROR-NOT-CACHED:CAPS"><span class="type">FLATPAK_ERROR_NOT_CACHED</span></a> error, however it is a
lot more efficient if you're doing many requests.</p>
</td><td class="enum_member_annotations"> </td></tr><tr><td class="enum_member_name"><p><a id="FLATPAK-QUERY-FLAGS-ONLY-SIDELOADED:CAPS"></a>FLATPAK_QUERY_FLAGS_ONLY_SIDELOADED</p></td><td class="enum_member_description"><p>Only list refs available from sideload
repos; see flatpak(1). (Since: 1.7)</p>
</td><td class="enum_member_annotations"> </td></tr><tr><td class="enum_member_name"><p><a id="FLATPAK-QUERY-FLAGS-ALL-ARCHES:CAPS"></a>FLATPAK_QUERY_FLAGS_ALL_ARCHES</p></td><td class="enum_member_description"><p>Include refs from all arches, not just the primary ones. (Since: 1.11.2)</p>
</td><td class="enum_member_annotations"> </td></tr></tbody></table></div></div><p class="since">Since: <a class="link" href="#">1.3.3</a></p></div><div class="refsect2"><a id="FlatpakUpdateFlags"></a><h3>enum FlatpakUpdateFlags</h3><a id="id6939" class="indexterm"></a><p>Flags to alter the behavior of <a class="link" href="#flatpak-installation-update" title="flatpak_installation_update ()"><code class="function">flatpak_installation_update()</code></a>.</p><div class="refsect3"><a id="FlatpakUpdateFlags.members"></a><h4>Members</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="300px" class="enum_members_name" /><col class="enum_members_description" /><col width="200px" class="enum_members_annotations" /></colgroup><tbody><tr><td class="enum_member_name"><p><a id="FLATPAK-UPDATE-FLAGS-NONE:CAPS"></a>FLATPAK_UPDATE_FLAGS_NONE</p></td><td class="enum_member_description"><p>Fetch remote builds and install the latest one (default)</p>
</td><td class="enum_member_annotations"> </td></tr><tr><td class="enum_member_name"><p><a id="FLATPAK-UPDATE-FLAGS-NO-DEPLOY:CAPS"></a>FLATPAK_UPDATE_FLAGS_NO_DEPLOY</p></td><td class="enum_member_description"><p>Don't install any new builds that might be fetched</p>
</td><td class="enum_member_annotations"> </td></tr><tr><td class="enum_member_name"><p><a id="FLATPAK-UPDATE-FLAGS-NO-PULL:CAPS"></a>FLATPAK_UPDATE_FLAGS_NO_PULL</p></td><td class="enum_member_description"><p>Don't try to fetch new builds from the remote repo</p>
</td><td class="enum_member_annotations"> </td></tr><tr><td class="enum_member_name"><p><a id="FLATPAK-UPDATE-FLAGS-NO-STATIC-DELTAS:CAPS"></a>FLATPAK_UPDATE_FLAGS_NO_STATIC_DELTAS</p></td><td class="enum_member_description"><p>Don't use static deltas when pulling</p>
</td><td class="enum_member_annotations"> </td></tr><tr><td class="enum_member_name"><p><a id="FLATPAK-UPDATE-FLAGS-NO-PRUNE:CAPS"></a>FLATPAK_UPDATE_FLAGS_NO_PRUNE</p></td><td class="enum_member_description"><p>Don't prune the local OSTree repository after updating (Since: 0.11.8)</p>
</td><td class="enum_member_annotations"> </td></tr><tr><td class="enum_member_name"><p><a id="FLATPAK-UPDATE-FLAGS-NO-TRIGGERS:CAPS"></a>FLATPAK_UPDATE_FLAGS_NO_TRIGGERS</p></td><td class="enum_member_description"><p>Don't call triggers after updating. If used,
the caller must later call <a class="link" href="#flatpak-installation-run-triggers" title="flatpak_installation_run_triggers ()"><code class="function">flatpak_installation_run_triggers()</code></a> to update
the exported files. (Since: 1.0.3)</p>
</td><td class="enum_member_annotations"> </td></tr></tbody></table></div></div></div><div class="refsect2"><a id="FlatpakInstallFlags"></a><h3>enum FlatpakInstallFlags</h3><a id="id6991" class="indexterm"></a><p>Flags to alter the behavior of <a class="link" href="#flatpak-installation-install-full" title="flatpak_installation_install_full ()"><code class="function">flatpak_installation_install_full()</code></a>.</p><div class="refsect3"><a id="FlatpakInstallFlags.members"></a><h4>Members</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="300px" class="enum_members_name" /><col class="enum_members_description" /><col width="200px" class="enum_members_annotations" /></colgroup><tbody><tr><td class="enum_member_name"><p><a id="FLATPAK-INSTALL-FLAGS-NONE:CAPS"></a>FLATPAK_INSTALL_FLAGS_NONE</p></td><td class="enum_member_description"><p>Default</p>
</td><td class="enum_member_annotations"> </td></tr><tr><td class="enum_member_name"><p><a id="FLATPAK-INSTALL-FLAGS-NO-STATIC-DELTAS:CAPS"></a>FLATPAK_INSTALL_FLAGS_NO_STATIC_DELTAS</p></td><td class="enum_member_description"><p>Don't use static deltas when pulling</p>
</td><td class="enum_member_annotations"> </td></tr><tr><td class="enum_member_name"><p><a id="FLATPAK-INSTALL-FLAGS-NO-DEPLOY:CAPS"></a>FLATPAK_INSTALL_FLAGS_NO_DEPLOY</p></td><td class="enum_member_description"><p>Don't install any new builds that might be fetched</p>
</td><td class="enum_member_annotations"> </td></tr><tr><td class="enum_member_name"><p><a id="FLATPAK-INSTALL-FLAGS-NO-PULL:CAPS"></a>FLATPAK_INSTALL_FLAGS_NO_PULL</p></td><td class="enum_member_description"><p>Don't try to fetch new builds from the remote repo</p>
</td><td class="enum_member_annotations"> </td></tr><tr><td class="enum_member_name"><p><a id="FLATPAK-INSTALL-FLAGS-NO-TRIGGERS:CAPS"></a>FLATPAK_INSTALL_FLAGS_NO_TRIGGERS</p></td><td class="enum_member_description"><p>Don't call triggers after installing. If used,
the caller must later call <a class="link" href="#flatpak-installation-run-triggers" title="flatpak_installation_run_triggers ()"><code class="function">flatpak_installation_run_triggers()</code></a> to update
the exported files. (Since: 1.0.3)</p>
</td><td class="enum_member_annotations"> </td></tr></tbody></table></div></div></div><div class="refsect2"><a id="FlatpakUninstallFlags"></a><h3>enum FlatpakUninstallFlags</h3><a id="id7037" class="indexterm"></a><p>Flags to alter the behavior of <a class="link" href="#flatpak-installation-uninstall-full" title="flatpak_installation_uninstall_full ()"><code class="function">flatpak_installation_uninstall_full()</code></a>.</p><div class="refsect3"><a id="FlatpakUninstallFlags.members"></a><h4>Members</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="300px" class="enum_members_name" /><col class="enum_members_description" /><col width="200px" class="enum_members_annotations" /></colgroup><tbody><tr><td class="enum_member_name"><p><a id="FLATPAK-UNINSTALL-FLAGS-NONE:CAPS"></a>FLATPAK_UNINSTALL_FLAGS_NONE</p></td><td class="enum_member_description"><p>Default</p>
</td><td class="enum_member_annotations"> </td></tr><tr><td class="enum_member_name"><p><a id="FLATPAK-UNINSTALL-FLAGS-NO-PRUNE:CAPS"></a>FLATPAK_UNINSTALL_FLAGS_NO_PRUNE</p></td><td class="enum_member_description"><p>Don't prune the local OSTree repository after uninstalling</p>
</td><td class="enum_member_annotations"> </td></tr><tr><td class="enum_member_name"><p><a id="FLATPAK-UNINSTALL-FLAGS-NO-TRIGGERS:CAPS"></a>FLATPAK_UNINSTALL_FLAGS_NO_TRIGGERS</p></td><td class="enum_member_description"><p>Don't call triggers after uninstalling. If used,
the caller must later call <a class="link" href="#flatpak-installation-run-triggers" title="flatpak_installation_run_triggers ()"><code class="function">flatpak_installation_run_triggers()</code></a> to update
the exported file. (Since: 1.0.3)</p>
</td><td class="enum_member_annotations"> </td></tr></tbody></table></div></div><p class="since">Since: <a class="link" href="#">0.11.8</a></p></div><div class="refsect2"><a id="FlatpakLaunchFlags"></a><h3>enum FlatpakLaunchFlags</h3><a id="id7073" class="indexterm"></a><p>Flags to alter the behavior of <a class="link" href="#flatpak-installation-launch-full" title="flatpak_installation_launch_full ()"><code class="function">flatpak_installation_launch_full()</code></a>.</p><div class="refsect3"><a id="FlatpakLaunchFlags.members"></a><h4>Members</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="300px" class="enum_members_name" /><col class="enum_members_description" /><col width="200px" class="enum_members_annotations" /></colgroup><tbody><tr><td class="enum_member_name"><p><a id="FLATPAK-LAUNCH-FLAGS-NONE:CAPS"></a>FLATPAK_LAUNCH_FLAGS_NONE</p></td><td class="enum_member_description"><p>Default</p>
</td><td class="enum_member_annotations"> </td></tr><tr><td class="enum_member_name"><p><a id="FLATPAK-LAUNCH-FLAGS-DO-NOT-REAP:CAPS"></a>FLATPAK_LAUNCH_FLAGS_DO_NOT_REAP</p></td><td class="enum_member_description"><p>Do not reap the child. Use this if you want to wait
for the child with <a class="link" href="#"><code class="function">g_child_watch_add()</code></a>. (Since: 1.1)</p>
</td><td class="enum_member_annotations"> </td></tr></tbody></table></div></div></div><div class="refsect2"><a id="FlatpakStorageType"></a><h3>enum FlatpakStorageType</h3><a id="id7101" class="indexterm"></a><p>Information about the storage of an installation.</p><div class="refsect3"><a id="FlatpakStorageType.members"></a><h4>Members</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="300px" class="enum_members_name" /><col class="enum_members_description" /><col width="200px" class="enum_members_annotations" /></colgroup><tbody><tr><td class="enum_member_name"><p><a id="FLATPAK-STORAGE-TYPE-DEFAULT:CAPS"></a>FLATPAK_STORAGE_TYPE_DEFAULT</p></td><td class="enum_member_description"><p>default</p>
</td><td class="enum_member_annotations"> </td></tr><tr><td class="enum_member_name"><p><a id="FLATPAK-STORAGE-TYPE-HARD-DISK:CAPS"></a>FLATPAK_STORAGE_TYPE_HARD_DISK</p></td><td class="enum_member_description"><p>installation is on a hard disk</p>
</td><td class="enum_member_annotations"> </td></tr><tr><td class="enum_member_name"><p><a id="FLATPAK-STORAGE-TYPE-SDCARD:CAPS"></a>FLATPAK_STORAGE_TYPE_SDCARD</p></td><td class="enum_member_description"><p>installation is on a SD card</p>
</td><td class="enum_member_annotations"> </td></tr><tr><td class="enum_member_name"><p><a id="FLATPAK-STORAGE-TYPE-MMC:CAPS"></a>FLATPAK_STORAGE_TYPE_MMC</p></td><td class="enum_member_description"><p>installation is on an MMC</p>
</td><td class="enum_member_annotations"> </td></tr><tr><td class="enum_member_name"><p><a id="FLATPAK-STORAGE-TYPE-NETWORK:CAPS"></a>FLATPAK_STORAGE_TYPE_NETWORK</p></td><td class="enum_member_description"><p>installation is on the network</p>
</td><td class="enum_member_annotations"> </td></tr></tbody></table></div></div><p class="since">Since: <a class="link" href="#">0.6.15</a></p></div></div><div class="refsect1"><a id="FlatpakInstallation.see-also"></a><h2>See Also</h2><p>FlatpakTransaction</p></div></div><div class="refentry"><div class="refentry.separator"><hr /></div><a id="FlatpakRemote"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>FlatpakRemote — Remote repository</p></div><div class="refsect1"><a id="FlatpakRemote.functions"></a><h2>Functions</h2><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="functions_proto_type" /><col class="functions_proto_name" /></colgroup><tbody><tr><td class="function_type"><a class="link" href="#FlatpakRemote" title="FlatpakRemote"><span class="returnvalue">FlatpakRemote</span></a> *
</td><td class="function_name"><a class="link" href="#flatpak-remote-new" title="flatpak_remote_new ()">flatpak_remote_new</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type"><a class="link" href="#FlatpakRemote" title="FlatpakRemote"><span class="returnvalue">FlatpakRemote</span></a> *
</td><td class="function_name"><a class="link" href="#flatpak-remote-new-from-file" title="flatpak_remote_new_from_file ()">flatpak_remote_new_from_file</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type">const <a class="link" href="#"><span class="returnvalue">char</span></a> *
</td><td class="function_name"><a class="link" href="#flatpak-remote-get-name" title="flatpak_remote_get_name ()">flatpak_remote_get_name</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type"><a class="link" href="#"><span class="returnvalue">GFile</span></a> *
</td><td class="function_name"><a class="link" href="#flatpak-remote-get-appstream-dir" title="flatpak_remote_get_appstream_dir ()">flatpak_remote_get_appstream_dir</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type"><a class="link" href="#"><span class="returnvalue">GFile</span></a> *
</td><td class="function_name"><a class="link" href="#flatpak-remote-get-appstream-timestamp" title="flatpak_remote_get_appstream_timestamp ()">flatpak_remote_get_appstream_timestamp</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type"><a class="link" href="#"><span class="returnvalue">char</span></a> *
</td><td class="function_name"><a class="link" href="#flatpak-remote-get-collection-id" title="flatpak_remote_get_collection_id ()">flatpak_remote_get_collection_id</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type"><a class="link" href="#"><span class="returnvalue">void</span></a>
</td><td class="function_name"><a class="link" href="#flatpak-remote-set-collection-id" title="flatpak_remote_set_collection_id ()">flatpak_remote_set_collection_id</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type"><a class="link" href="#"><span class="returnvalue">char</span></a> *
</td><td class="function_name"><a class="link" href="#flatpak-remote-get-default-branch" title="flatpak_remote_get_default_branch ()">flatpak_remote_get_default_branch</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type"><a class="link" href="#"><span class="returnvalue">void</span></a>
</td><td class="function_name"><a class="link" href="#flatpak-remote-set-default-branch" title="flatpak_remote_set_default_branch ()">flatpak_remote_set_default_branch</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type"><a class="link" href="#"><span class="returnvalue">gboolean</span></a>
</td><td class="function_name"><a class="link" href="#flatpak-remote-get-gpg-verify" title="flatpak_remote_get_gpg_verify ()">flatpak_remote_get_gpg_verify</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type"><a class="link" href="#"><span class="returnvalue">void</span></a>
</td><td class="function_name"><a class="link" href="#flatpak-remote-set-gpg-verify" title="flatpak_remote_set_gpg_verify ()">flatpak_remote_set_gpg_verify</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type"><a class="link" href="#"><span class="returnvalue">void</span></a>
</td><td class="function_name"><a class="link" href="#flatpak-remote-set-gpg-key" title="flatpak_remote_set_gpg_key ()">flatpak_remote_set_gpg_key</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type"><a class="link" href="#"><span class="returnvalue">gboolean</span></a>
</td><td class="function_name"><a class="link" href="#flatpak-remote-get-nodeps" title="flatpak_remote_get_nodeps ()">flatpak_remote_get_nodeps</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type"><a class="link" href="#"><span class="returnvalue">void</span></a>
</td><td class="function_name"><a class="link" href="#flatpak-remote-set-nodeps" title="flatpak_remote_set_nodeps ()">flatpak_remote_set_nodeps</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type"><a class="link" href="#"><span class="returnvalue">gboolean</span></a>
</td><td class="function_name"><a class="link" href="#flatpak-remote-get-noenumerate" title="flatpak_remote_get_noenumerate ()">flatpak_remote_get_noenumerate</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type"><a class="link" href="#"><span class="returnvalue">void</span></a>
</td><td class="function_name"><a class="link" href="#flatpak-remote-set-noenumerate" title="flatpak_remote_set_noenumerate ()">flatpak_remote_set_noenumerate</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type"><a class="link" href="#"><span class="returnvalue">int</span></a>
</td><td class="function_name"><a class="link" href="#flatpak-remote-get-prio" title="flatpak_remote_get_prio ()">flatpak_remote_get_prio</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type"><a class="link" href="#"><span class="returnvalue">void</span></a>
</td><td class="function_name"><a class="link" href="#flatpak-remote-set-prio" title="flatpak_remote_set_prio ()">flatpak_remote_set_prio</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type"><a class="link" href="#FlatpakRemoteType" title="enum FlatpakRemoteType"><span class="returnvalue">FlatpakRemoteType</span></a>
</td><td class="function_name"><a class="link" href="#flatpak-remote-get-remote-type" title="flatpak_remote_get_remote_type ()">flatpak_remote_get_remote_type</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type"><a class="link" href="#"><span class="returnvalue">char</span></a> *
</td><td class="function_name"><a class="link" href="#flatpak-remote-get-title" title="flatpak_remote_get_title ()">flatpak_remote_get_title</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type"><a class="link" href="#"><span class="returnvalue">void</span></a>
</td><td class="function_name"><a class="link" href="#flatpak-remote-set-title" title="flatpak_remote_set_title ()">flatpak_remote_set_title</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type"><a class="link" href="#"><span class="returnvalue">char</span></a> *
</td><td class="function_name"><a class="link" href="#flatpak-remote-get-comment" title="flatpak_remote_get_comment ()">flatpak_remote_get_comment</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type"><a class="link" href="#"><span class="returnvalue">void</span></a>
</td><td class="function_name"><a class="link" href="#flatpak-remote-set-comment" title="flatpak_remote_set_comment ()">flatpak_remote_set_comment</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type"><a class="link" href="#"><span class="returnvalue">char</span></a> *
</td><td class="function_name"><a class="link" href="#flatpak-remote-get-description" title="flatpak_remote_get_description ()">flatpak_remote_get_description</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type"><a class="link" href="#"><span class="returnvalue">void</span></a>
</td><td class="function_name"><a class="link" href="#flatpak-remote-set-description" title="flatpak_remote_set_description ()">flatpak_remote_set_description</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type"><a class="link" href="#"><span class="returnvalue">char</span></a> *
</td><td class="function_name"><a class="link" href="#flatpak-remote-get-homepage" title="flatpak_remote_get_homepage ()">flatpak_remote_get_homepage</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type"><a class="link" href="#"><span class="returnvalue">void</span></a>
</td><td class="function_name"><a class="link" href="#flatpak-remote-set-homepage" title="flatpak_remote_set_homepage ()">flatpak_remote_set_homepage</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type"><a class="link" href="#"><span class="returnvalue">char</span></a> *
</td><td class="function_name"><a class="link" href="#flatpak-remote-get-icon" title="flatpak_remote_get_icon ()">flatpak_remote_get_icon</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type"><a class="link" href="#"><span class="returnvalue">void</span></a>
</td><td class="function_name"><a class="link" href="#flatpak-remote-set-icon" title="flatpak_remote_set_icon ()">flatpak_remote_set_icon</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type"><a class="link" href="#"><span class="returnvalue">char</span></a> *
</td><td class="function_name"><a class="link" href="#flatpak-remote-get-url" title="flatpak_remote_get_url ()">flatpak_remote_get_url</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type"><a class="link" href="#"><span class="returnvalue">void</span></a>
</td><td class="function_name"><a class="link" href="#flatpak-remote-set-url" title="flatpak_remote_set_url ()">flatpak_remote_set_url</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type"><a class="link" href="#"><span class="returnvalue">gboolean</span></a>
</td><td class="function_name"><a class="link" href="#flatpak-remote-get-disabled" title="flatpak_remote_get_disabled ()">flatpak_remote_get_disabled</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type"><a class="link" href="#"><span class="returnvalue">void</span></a>
</td><td class="function_name"><a class="link" href="#flatpak-remote-set-disabled" title="flatpak_remote_set_disabled ()">flatpak_remote_set_disabled</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type"><a class="link" href="#"><span class="returnvalue">char</span></a> *
</td><td class="function_name"><a class="link" href="#flatpak-remote-get-filter" title="flatpak_remote_get_filter ()">flatpak_remote_get_filter</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type"><a class="link" href="#"><span class="returnvalue">void</span></a>
</td><td class="function_name"><a class="link" href="#flatpak-remote-set-filter" title="flatpak_remote_set_filter ()">flatpak_remote_set_filter</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type"><a class="link" href="#"><span class="returnvalue">char</span></a> *
</td><td class="function_name"><a class="link" href="#flatpak-remote-get-main-ref" title="flatpak_remote_get_main_ref ()">flatpak_remote_get_main_ref</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type"><a class="link" href="#"><span class="returnvalue">void</span></a>
</td><td class="function_name"><a class="link" href="#flatpak-remote-set-main-ref" title="flatpak_remote_set_main_ref ()">flatpak_remote_set_main_ref</a> <span class="c_punctuation">()</span></td></tr></tbody></table></div></div><div class="refsect1"><a id="FlatpakRemote.properties"></a><h2>Properties</h2><div class="informaltable"><table class="informaltable" border="0"><colgroup><col width="150px" class="properties_type" /><col width="300px" class="properties_name" /><col width="200px" class="properties_flags" /></colgroup><tbody><tr><td class="property_type"><a class="link" href="#"><span class="type">char</span></a> *</td><td class="property_name"><a class="link" href="#FlatpakRemote--name" title="The “name” property">name</a></td><td class="property_flags">Read / Write</td></tr><tr><td class="property_type"><a class="link" href="#FlatpakRemoteType" title="enum FlatpakRemoteType"><span class="type">FlatpakRemoteType</span></a></td><td class="property_name"><a class="link" href="#FlatpakRemote--type" title="The “type” property">type</a></td><td class="property_flags">Read / Write / Construct Only</td></tr></tbody></table></div></div><div class="refsect1"><a id="FlatpakRemote.other"></a><h2>Types and Values</h2><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="other_proto_type" /><col class="other_proto_name" /></colgroup><tbody><tr><td class="datatype_keyword">struct</td><td class="function_name"><a class="link" href="#FlatpakRemote-struct" title="struct FlatpakRemote">FlatpakRemote</a></td></tr><tr><td class="datatype_keyword">enum</td><td class="function_name"><a class="link" href="#FlatpakRemoteType" title="enum FlatpakRemoteType">FlatpakRemoteType</a></td></tr></tbody></table></div></div><div class="refsect1"><a id="FlatpakRemote.object-hierarchy"></a><h2>Object Hierarchy</h2><pre class="screen">    <a class="link" href="#">GObject</a>
    <span class="lineart">╰──</span> FlatpakRemote
</pre></div><div class="refsect1"><a id="FlatpakRemote.description"></a><h2>Description</h2><p>A <a class="link" href="#FlatpakRemote" title="FlatpakRemote"><span class="type">FlatpakRemote</span></a> object provides information about a remote
repository (or short: remote) that has been configured.</p><p>At its most basic level, a remote has a name and the URL for
the repository. In addition, they provide some additional
information that can be useful when presenting repositories
in a UI, such as a title, a priority or a "don't enumerate"
flags.</p><p>To obtain FlatpakRemote objects for the configured remotes
on a system, use <a class="link" href="#flatpak-installation-list-remotes" title="flatpak_installation_list_remotes ()"><code class="function">flatpak_installation_list_remotes()</code></a> or
<a class="link" href="#flatpak-installation-get-remote-by-name" title="flatpak_installation_get_remote_by_name ()"><code class="function">flatpak_installation_get_remote_by_name()</code></a>.</p></div><div class="refsect1"><a id="FlatpakRemote.functions_details"></a><h2>Functions</h2><div class="refsect2"><a id="flatpak-remote-new"></a><h3>flatpak_remote_new ()</h3><a id="id7477" class="indexterm"></a><pre class="programlisting"><a class="link" href="#FlatpakRemote" title="FlatpakRemote"><span class="returnvalue">FlatpakRemote</span></a> *
flatpak_remote_new (<em class="parameter"><code>const <a class="link" href="#"><span class="type">char</span></a> *name</code></em>);</pre><p>Returns a new remote object which can be used to configure a new remote.</p><p>Note: This is a local configuration object, you must commit changes
using <a class="link" href="#flatpak-installation-modify-remote" title="flatpak_installation_modify_remote ()"><code class="function">flatpak_installation_modify_remote()</code></a> or <a class="link" href="#flatpak-installation-add-remote" title="flatpak_installation_add_remote ()"><code class="function">flatpak_installation_add_remote()</code></a> for the changes to take
effect.</p><div class="refsect3"><a id="flatpak-remote-new.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>name</p></td><td class="parameter_description"><p>a name</p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-remote-new.returns"></a><h4>Returns</h4><p>a new <a class="link" href="#FlatpakRemote" title="FlatpakRemote"><span class="type">FlatpakRemote</span></a>. </p><p><span class="annotation">[<acronym class="acronym">transfer full</acronym>]</span></p></div></div><div class="refsect2"><a id="flatpak-remote-new-from-file"></a><h3>flatpak_remote_new_from_file ()</h3><a id="id7514" class="indexterm"></a><pre class="programlisting"><a class="link" href="#FlatpakRemote" title="FlatpakRemote"><span class="returnvalue">FlatpakRemote</span></a> *
flatpak_remote_new_from_file (<em class="parameter"><code>const <a class="link" href="#"><span class="type">char</span></a> *name</code></em>,
                              <em class="parameter"><code><a class="link" href="#"><span class="type">GBytes</span></a> *data</code></em>,
                              <em class="parameter"><code><a class="link" href="#"><span class="type">GError</span></a> **error</code></em>);</pre><p>Returns a new pre-filled remote object which can be used to configure a new remote.
The fields in the remote are filled in according to the values in the
passed in flatpakrepo file.</p><p>Note: This is a local configuration object, you must commit changes
using <a class="link" href="#flatpak-installation-modify-remote" title="flatpak_installation_modify_remote ()"><code class="function">flatpak_installation_modify_remote()</code></a>  or <a class="link" href="#flatpak-installation-add-remote" title="flatpak_installation_add_remote ()"><code class="function">flatpak_installation_add_remote()</code></a> for the changes to take
effect.</p><div class="refsect3"><a id="flatpak-remote-new-from-file.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>name</p></td><td class="parameter_description"><p>a name</p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>data</p></td><td class="parameter_description"><p>The content of a flatpakrepo file</p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>error</p></td><td class="parameter_description"><p>return location for a <a class="link" href="#"><span class="type">GError</span></a></p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-remote-new-from-file.returns"></a><h4>Returns</h4><p>a new <a class="link" href="#FlatpakRemote" title="FlatpakRemote"><span class="type">FlatpakRemote</span></a>, or <a class="link" href="#"><code class="literal">NULL</code></a> on error. </p><p><span class="annotation">[<acronym class="acronym">transfer full</acronym>]</span></p></div><p class="since">Since: <a class="link" href="#">1.3.4</a></p></div><div class="refsect2"><a id="flatpak-remote-get-name"></a><h3>flatpak_remote_get_name ()</h3><a id="id7575" class="indexterm"></a><pre class="programlisting">const <a class="link" href="#"><span class="returnvalue">char</span></a> *
flatpak_remote_get_name (<em class="parameter"><code><a class="link" href="#FlatpakRemote" title="FlatpakRemote"><span class="type">FlatpakRemote</span></a> *self</code></em>);</pre><p>Returns the name of the remote repository.</p><div class="refsect3"><a id="flatpak-remote-get-name.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakRemote" title="FlatpakRemote"><span class="type">FlatpakRemote</span></a></p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-remote-get-name.returns"></a><h4>Returns</h4><p>the name. </p><p><span class="annotation">[<acronym class="acronym">transfer none</acronym>]</span></p></div></div><div class="refsect2"><a id="flatpak-remote-get-appstream-dir"></a><h3>flatpak_remote_get_appstream_dir ()</h3><a id="id7607" class="indexterm"></a><pre class="programlisting"><a class="link" href="#"><span class="returnvalue">GFile</span></a> *
flatpak_remote_get_appstream_dir (<em class="parameter"><code><a class="link" href="#FlatpakRemote" title="FlatpakRemote"><span class="type">FlatpakRemote</span></a> *self</code></em>,
                                  <em class="parameter"><code>const <a class="link" href="#"><span class="type">char</span></a> *arch</code></em>);</pre><p>Returns the directory where this remote will store locally cached
appstream information for the specified <em class="parameter"><code>arch</code></em>
.</p><div class="refsect3"><a id="flatpak-remote-get-appstream-dir.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakRemote" title="FlatpakRemote"><span class="type">FlatpakRemote</span></a></p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>arch</p></td><td class="parameter_description"><p>which architecture to fetch (default: current architecture). </p></td><td class="parameter_annotations"><span class="annotation">[<acronym class="acronym">nullable</acronym>]</span></td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-remote-get-appstream-dir.returns"></a><h4>Returns</h4><p>a <a class="link" href="#"><span class="type">GFile</span></a>. </p><p><span class="annotation">[<acronym class="acronym">transfer full</acronym>]</span></p></div></div><div class="refsect2"><a id="flatpak-remote-get-appstream-timestamp"></a><h3>flatpak_remote_get_appstream_timestamp ()</h3><a id="id7653" class="indexterm"></a><pre class="programlisting"><a class="link" href="#"><span class="returnvalue">GFile</span></a> *
flatpak_remote_get_appstream_timestamp
                               (<em class="parameter"><code><a class="link" href="#FlatpakRemote" title="FlatpakRemote"><span class="type">FlatpakRemote</span></a> *self</code></em>,
                                <em class="parameter"><code>const <a class="link" href="#"><span class="type">char</span></a> *arch</code></em>);</pre><p>Returns the timestamp file that will be updated whenever the appstream information
has been updated (or tried to update) for the specified <em class="parameter"><code>arch</code></em>
.</p><div class="refsect3"><a id="flatpak-remote-get-appstream-timestamp.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakRemote" title="FlatpakRemote"><span class="type">FlatpakRemote</span></a></p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>arch</p></td><td class="parameter_description"><p>which architecture to fetch (default: current architecture). </p></td><td class="parameter_annotations"><span class="annotation">[<acronym class="acronym">nullable</acronym>]</span></td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-remote-get-appstream-timestamp.returns"></a><h4>Returns</h4><p>a <a class="link" href="#"><span class="type">GFile</span></a>. </p><p><span class="annotation">[<acronym class="acronym">transfer full</acronym>]</span></p></div></div><div class="refsect2"><a id="flatpak-remote-get-collection-id"></a><h3>flatpak_remote_get_collection_id ()</h3><a id="id7699" class="indexterm"></a><pre class="programlisting"><a class="link" href="#"><span class="returnvalue">char</span></a> *
flatpak_remote_get_collection_id (<em class="parameter"><code><a class="link" href="#FlatpakRemote" title="FlatpakRemote"><span class="type">FlatpakRemote</span></a> *self</code></em>);</pre><p>Returns the repository collection ID of this remote, if set.</p><div class="refsect3"><a id="flatpak-remote-get-collection-id.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakRemote" title="FlatpakRemote"><span class="type">FlatpakRemote</span></a></p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-remote-get-collection-id.returns"></a><h4>Returns</h4><p>the collection ID, or <a class="link" href="#"><code class="literal">NULL</code></a> if unset. </p><p><span class="annotation">[<acronym class="acronym">transfer full</acronym>][<acronym class="acronym">nullable</acronym>]</span></p></div></div><div class="refsect2"><a id="flatpak-remote-set-collection-id"></a><h3>flatpak_remote_set_collection_id ()</h3><a id="id7734" class="indexterm"></a><pre class="programlisting"><a class="link" href="#"><span class="returnvalue">void</span></a>
flatpak_remote_set_collection_id (<em class="parameter"><code><a class="link" href="#FlatpakRemote" title="FlatpakRemote"><span class="type">FlatpakRemote</span></a> *self</code></em>,
                                  <em class="parameter"><code>const <a class="link" href="#"><span class="type">char</span></a> *collection_id</code></em>);</pre><p>Sets the repository collection ID of this remote.</p><p>Note: This is a local modification of this object, you must commit changes
using <a class="link" href="#flatpak-installation-modify-remote" title="flatpak_installation_modify_remote ()"><code class="function">flatpak_installation_modify_remote()</code></a> for the changes to take
effect.</p><div class="refsect3"><a id="flatpak-remote-set-collection-id.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakRemote" title="FlatpakRemote"><span class="type">FlatpakRemote</span></a></p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>collection_id</p></td><td class="parameter_description"><p>The new collection ID, or <a class="link" href="#"><code class="literal">NULL</code></a> to unset. </p></td><td class="parameter_annotations"><span class="annotation">[<acronym class="acronym">nullable</acronym>]</span></td></tr></tbody></table></div></div></div><div class="refsect2"><a id="flatpak-remote-get-default-branch"></a><h3>flatpak_remote_get_default_branch ()</h3><a id="id7776" class="indexterm"></a><pre class="programlisting"><a class="link" href="#"><span class="returnvalue">char</span></a> *
flatpak_remote_get_default_branch (<em class="parameter"><code><a class="link" href="#FlatpakRemote" title="FlatpakRemote"><span class="type">FlatpakRemote</span></a> *self</code></em>);</pre><p>Returns the default branch configured for the remote.</p><div class="refsect3"><a id="flatpak-remote-get-default-branch.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakRemote" title="FlatpakRemote"><span class="type">FlatpakRemote</span></a></p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-remote-get-default-branch.returns"></a><h4>Returns</h4><p>the default branch, or <a class="link" href="#"><code class="literal">NULL</code></a>. </p><p><span class="annotation">[<acronym class="acronym">transfer full</acronym>]</span></p></div><p class="since">Since: <a class="link" href="#">0.6.12</a></p></div><div class="refsect2"><a id="flatpak-remote-set-default-branch"></a><h3>flatpak_remote_set_default_branch ()</h3><a id="id7812" class="indexterm"></a><pre class="programlisting"><a class="link" href="#"><span class="returnvalue">void</span></a>
flatpak_remote_set_default_branch (<em class="parameter"><code><a class="link" href="#FlatpakRemote" title="FlatpakRemote"><span class="type">FlatpakRemote</span></a> *self</code></em>,
                                   <em class="parameter"><code>const <a class="link" href="#"><span class="type">char</span></a> *default_branch</code></em>);</pre><p>Sets the default branch configured for this remote.</p><p>Note: This is a local modification of this object, you must commit changes
using <a class="link" href="#flatpak-installation-modify-remote" title="flatpak_installation_modify_remote ()"><code class="function">flatpak_installation_modify_remote()</code></a> for the changes to take
effect.</p><div class="refsect3"><a id="flatpak-remote-set-default-branch.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakRemote" title="FlatpakRemote"><span class="type">FlatpakRemote</span></a></p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>default_branch</p></td><td class="parameter_description"><p>The new default_branch, or <a class="link" href="#"><code class="literal">NULL</code></a> to unset</p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><p class="since">Since: <a class="link" href="#">0.6.12</a></p></div><div class="refsect2"><a id="flatpak-remote-get-gpg-verify"></a><h3>flatpak_remote_get_gpg_verify ()</h3><a id="id7854" class="indexterm"></a><pre class="programlisting"><a class="link" href="#"><span class="returnvalue">gboolean</span></a>
flatpak_remote_get_gpg_verify (<em class="parameter"><code><a class="link" href="#FlatpakRemote" title="FlatpakRemote"><span class="type">FlatpakRemote</span></a> *self</code></em>);</pre><p>Returns whether GPG verification is enabled for the remote.</p><div class="refsect3"><a id="flatpak-remote-get-gpg-verify.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakRemote" title="FlatpakRemote"><span class="type">FlatpakRemote</span></a></p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-remote-get-gpg-verify.returns"></a><h4>Returns</h4><p> whether GPG verification is enabled</p></div></div><div class="refsect2"><a id="flatpak-remote-set-gpg-verify"></a><h3>flatpak_remote_set_gpg_verify ()</h3><a id="id7883" class="indexterm"></a><pre class="programlisting"><a class="link" href="#"><span class="returnvalue">void</span></a>
flatpak_remote_set_gpg_verify (<em class="parameter"><code><a class="link" href="#FlatpakRemote" title="FlatpakRemote"><span class="type">FlatpakRemote</span></a> *self</code></em>,
                               <em class="parameter"><code><a class="link" href="#"><span class="type">gboolean</span></a> gpg_verify</code></em>);</pre><p>Sets the gpg_verify config of this remote. See <a class="link" href="#flatpak-remote-get-gpg-verify" title="flatpak_remote_get_gpg_verify ()"><code class="function">flatpak_remote_get_gpg_verify()</code></a>.</p><p>Note: This is a local modification of this object, you must commit changes
using <a class="link" href="#flatpak-installation-modify-remote" title="flatpak_installation_modify_remote ()"><code class="function">flatpak_installation_modify_remote()</code></a> for the changes to take
effect.</p><div class="refsect3"><a id="flatpak-remote-set-gpg-verify.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakRemote" title="FlatpakRemote"><span class="type">FlatpakRemote</span></a></p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>gpg_verify</p></td><td class="parameter_description"><p>a bool</p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div></div><div class="refsect2"><a id="flatpak-remote-set-gpg-key"></a><h3>flatpak_remote_set_gpg_key ()</h3><a id="id7923" class="indexterm"></a><pre class="programlisting"><a class="link" href="#"><span class="returnvalue">void</span></a>
flatpak_remote_set_gpg_key (<em class="parameter"><code><a class="link" href="#FlatpakRemote" title="FlatpakRemote"><span class="type">FlatpakRemote</span></a> *self</code></em>,
                            <em class="parameter"><code><a class="link" href="#"><span class="type">GBytes</span></a> *gpg_key</code></em>);</pre><p>Sets the trusted gpg key for this remote.</p><p>Note: This is a local modification of this object, you must commit changes
using <a class="link" href="#flatpak-installation-modify-remote" title="flatpak_installation_modify_remote ()"><code class="function">flatpak_installation_modify_remote()</code></a> for the changes to take
effect.</p><div class="refsect3"><a id="flatpak-remote-set-gpg-key.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakRemote" title="FlatpakRemote"><span class="type">FlatpakRemote</span></a></p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>gpg_key</p></td><td class="parameter_description"><p>a <a class="link" href="#"><span class="type">GBytes</span></a> with gpg binary key data</p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div></div><div class="refsect2"><a id="flatpak-remote-get-nodeps"></a><h3>flatpak_remote_get_nodeps ()</h3><a id="id7963" class="indexterm"></a><pre class="programlisting"><a class="link" href="#"><span class="returnvalue">gboolean</span></a>
flatpak_remote_get_nodeps (<em class="parameter"><code><a class="link" href="#FlatpakRemote" title="FlatpakRemote"><span class="type">FlatpakRemote</span></a> *self</code></em>);</pre><p>Returns whether this remote should be used to find dependencies.</p><div class="refsect3"><a id="flatpak-remote-get-nodeps.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakRemote" title="FlatpakRemote"><span class="type">FlatpakRemote</span></a></p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-remote-get-nodeps.returns"></a><h4>Returns</h4><p> whether the remote is marked as "don't use for dependencies"</p></div></div><div class="refsect2"><a id="flatpak-remote-set-nodeps"></a><h3>flatpak_remote_set_nodeps ()</h3><a id="id7992" class="indexterm"></a><pre class="programlisting"><a class="link" href="#"><span class="returnvalue">void</span></a>
flatpak_remote_set_nodeps (<em class="parameter"><code><a class="link" href="#FlatpakRemote" title="FlatpakRemote"><span class="type">FlatpakRemote</span></a> *self</code></em>,
                           <em class="parameter"><code><a class="link" href="#"><span class="type">gboolean</span></a> nodeps</code></em>);</pre><p>Sets the nodeps config of this remote. See <a class="link" href="#flatpak-remote-get-nodeps" title="flatpak_remote_get_nodeps ()"><code class="function">flatpak_remote_get_nodeps()</code></a>.</p><p>Note: This is a local modification of this object, you must commit changes
using <a class="link" href="#flatpak-installation-modify-remote" title="flatpak_installation_modify_remote ()"><code class="function">flatpak_installation_modify_remote()</code></a> for the changes to take
effect.</p><div class="refsect3"><a id="flatpak-remote-set-nodeps.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakRemote" title="FlatpakRemote"><span class="type">FlatpakRemote</span></a></p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>nodeps</p></td><td class="parameter_description"><p>a bool</p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div></div><div class="refsect2"><a id="flatpak-remote-get-noenumerate"></a><h3>flatpak_remote_get_noenumerate ()</h3><a id="id8032" class="indexterm"></a><pre class="programlisting"><a class="link" href="#"><span class="returnvalue">gboolean</span></a>
flatpak_remote_get_noenumerate (<em class="parameter"><code><a class="link" href="#FlatpakRemote" title="FlatpakRemote"><span class="type">FlatpakRemote</span></a> *self</code></em>);</pre><p>Returns whether this remote should be used to list applications.</p><div class="refsect3"><a id="flatpak-remote-get-noenumerate.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakRemote" title="FlatpakRemote"><span class="type">FlatpakRemote</span></a></p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-remote-get-noenumerate.returns"></a><h4>Returns</h4><p> whether the remote is marked as "don't enumerate"</p></div></div><div class="refsect2"><a id="flatpak-remote-set-noenumerate"></a><h3>flatpak_remote_set_noenumerate ()</h3><a id="id8061" class="indexterm"></a><pre class="programlisting"><a class="link" href="#"><span class="returnvalue">void</span></a>
flatpak_remote_set_noenumerate (<em class="parameter"><code><a class="link" href="#FlatpakRemote" title="FlatpakRemote"><span class="type">FlatpakRemote</span></a> *self</code></em>,
                                <em class="parameter"><code><a class="link" href="#"><span class="type">gboolean</span></a> noenumerate</code></em>);</pre><p>Sets the noenumeration config of this remote. See <a class="link" href="#flatpak-remote-get-noenumerate" title="flatpak_remote_get_noenumerate ()"><code class="function">flatpak_remote_get_noenumerate()</code></a>.</p><p>Note: This is a local modification of this object, you must commit changes
using <a class="link" href="#flatpak-installation-modify-remote" title="flatpak_installation_modify_remote ()"><code class="function">flatpak_installation_modify_remote()</code></a> for the changes to take
effect.</p><div class="refsect3"><a id="flatpak-remote-set-noenumerate.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakRemote" title="FlatpakRemote"><span class="type">FlatpakRemote</span></a></p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>noenumerate</p></td><td class="parameter_description"><p>a bool</p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div></div><div class="refsect2"><a id="flatpak-remote-get-prio"></a><h3>flatpak_remote_get_prio ()</h3><a id="id8101" class="indexterm"></a><pre class="programlisting"><a class="link" href="#"><span class="returnvalue">int</span></a>
flatpak_remote_get_prio (<em class="parameter"><code><a class="link" href="#FlatpakRemote" title="FlatpakRemote"><span class="type">FlatpakRemote</span></a> *self</code></em>);</pre><p>Returns the priority for the remote.</p><div class="refsect3"><a id="flatpak-remote-get-prio.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakRemote" title="FlatpakRemote"><span class="type">FlatpakRemote</span></a></p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-remote-get-prio.returns"></a><h4>Returns</h4><p> the priority</p></div></div><div class="refsect2"><a id="flatpak-remote-set-prio"></a><h3>flatpak_remote_set_prio ()</h3><a id="id8130" class="indexterm"></a><pre class="programlisting"><a class="link" href="#"><span class="returnvalue">void</span></a>
flatpak_remote_set_prio (<em class="parameter"><code><a class="link" href="#FlatpakRemote" title="FlatpakRemote"><span class="type">FlatpakRemote</span></a> *self</code></em>,
                         <em class="parameter"><code><a class="link" href="#"><span class="type">int</span></a> prio</code></em>);</pre><p>Sets the prio config of this remote. See <a class="link" href="#flatpak-remote-get-prio" title="flatpak_remote_get_prio ()"><code class="function">flatpak_remote_get_prio()</code></a>.</p><p>Note: This is a local modification of this object, you must commit changes
using <a class="link" href="#flatpak-installation-modify-remote" title="flatpak_installation_modify_remote ()"><code class="function">flatpak_installation_modify_remote()</code></a> for the changes to take
effect.</p><div class="refsect3"><a id="flatpak-remote-set-prio.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakRemote" title="FlatpakRemote"><span class="type">FlatpakRemote</span></a></p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>prio</p></td><td class="parameter_description"><p>a bool</p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div></div><div class="refsect2"><a id="flatpak-remote-get-remote-type"></a><h3>flatpak_remote_get_remote_type ()</h3><a id="id8170" class="indexterm"></a><pre class="programlisting"><a class="link" href="#FlatpakRemoteType" title="enum FlatpakRemoteType"><span class="returnvalue">FlatpakRemoteType</span></a>
flatpak_remote_get_remote_type (<em class="parameter"><code><a class="link" href="#FlatpakRemote" title="FlatpakRemote"><span class="type">FlatpakRemote</span></a> *self</code></em>);</pre><p>Get the value of <a class="link" href="#FlatpakRemote--type" title="The “type” property"><span class="type">“type”</span></a>.</p><div class="refsect3"><a id="flatpak-remote-get-remote-type.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakRemote" title="FlatpakRemote"><span class="type">FlatpakRemote</span></a></p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-remote-get-remote-type.returns"></a><h4>Returns</h4><p> the type of remote this is</p></div><p class="since">Since: <a class="link" href="#">0.9.8</a></p></div><div class="refsect2"><a id="flatpak-remote-get-title"></a><h3>flatpak_remote_get_title ()</h3><a id="id8203" class="indexterm"></a><pre class="programlisting"><a class="link" href="#"><span class="returnvalue">char</span></a> *
flatpak_remote_get_title (<em class="parameter"><code><a class="link" href="#FlatpakRemote" title="FlatpakRemote"><span class="type">FlatpakRemote</span></a> *self</code></em>);</pre><p>Returns the title of the remote.</p><div class="refsect3"><a id="flatpak-remote-get-title.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakRemote" title="FlatpakRemote"><span class="type">FlatpakRemote</span></a></p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-remote-get-title.returns"></a><h4>Returns</h4><p>the title. </p><p><span class="annotation">[<acronym class="acronym">transfer full</acronym>]</span></p></div></div><div class="refsect2"><a id="flatpak-remote-set-title"></a><h3>flatpak_remote_set_title ()</h3><a id="id8235" class="indexterm"></a><pre class="programlisting"><a class="link" href="#"><span class="returnvalue">void</span></a>
flatpak_remote_set_title (<em class="parameter"><code><a class="link" href="#FlatpakRemote" title="FlatpakRemote"><span class="type">FlatpakRemote</span></a> *self</code></em>,
                          <em class="parameter"><code>const <a class="link" href="#"><span class="type">char</span></a> *title</code></em>);</pre><p>Sets the repository title of this remote.</p><p>Note: This is a local modification of this object, you must commit changes
using <a class="link" href="#flatpak-installation-modify-remote" title="flatpak_installation_modify_remote ()"><code class="function">flatpak_installation_modify_remote()</code></a> for the changes to take
effect.</p><div class="refsect3"><a id="flatpak-remote-set-title.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakRemote" title="FlatpakRemote"><span class="type">FlatpakRemote</span></a></p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>title</p></td><td class="parameter_description"><p>The new title, or <a class="link" href="#"><code class="literal">NULL</code></a> to unset</p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div></div><div class="refsect2"><a id="flatpak-remote-get-comment"></a><h3>flatpak_remote_get_comment ()</h3><a id="id8275" class="indexterm"></a><pre class="programlisting"><a class="link" href="#"><span class="returnvalue">char</span></a> *
flatpak_remote_get_comment (<em class="parameter"><code><a class="link" href="#FlatpakRemote" title="FlatpakRemote"><span class="type">FlatpakRemote</span></a> *self</code></em>);</pre><p>Returns the comment of the remote.</p><div class="refsect3"><a id="flatpak-remote-get-comment.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakRemote" title="FlatpakRemote"><span class="type">FlatpakRemote</span></a></p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-remote-get-comment.returns"></a><h4>Returns</h4><p>the comment. </p><p><span class="annotation">[<acronym class="acronym">transfer full</acronym>]</span></p></div><p class="since">Since: <a class="link" href="#">1.4</a></p></div><div class="refsect2"><a id="flatpak-remote-set-comment"></a><h3>flatpak_remote_set_comment ()</h3><a id="id8309" class="indexterm"></a><pre class="programlisting"><a class="link" href="#"><span class="returnvalue">void</span></a>
flatpak_remote_set_comment (<em class="parameter"><code><a class="link" href="#FlatpakRemote" title="FlatpakRemote"><span class="type">FlatpakRemote</span></a> *self</code></em>,
                            <em class="parameter"><code>const <a class="link" href="#"><span class="type">char</span></a> *comment</code></em>);</pre><p>Sets the comment of this remote.</p><p>Note: This is a local modification of this object, you must commit changes
using <a class="link" href="#flatpak-installation-modify-remote" title="flatpak_installation_modify_remote ()"><code class="function">flatpak_installation_modify_remote()</code></a> for the changes to take
effect.</p><div class="refsect3"><a id="flatpak-remote-set-comment.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakRemote" title="FlatpakRemote"><span class="type">FlatpakRemote</span></a></p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>comment</p></td><td class="parameter_description"><p>The new comment </p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><p class="since">Since: <a class="link" href="#">1.4</a></p></div><div class="refsect2"><a id="flatpak-remote-get-description"></a><h3>flatpak_remote_get_description ()</h3><a id="id8349" class="indexterm"></a><pre class="programlisting"><a class="link" href="#"><span class="returnvalue">char</span></a> *
flatpak_remote_get_description (<em class="parameter"><code><a class="link" href="#FlatpakRemote" title="FlatpakRemote"><span class="type">FlatpakRemote</span></a> *self</code></em>);</pre><p>Returns the description of the remote.</p><div class="refsect3"><a id="flatpak-remote-get-description.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakRemote" title="FlatpakRemote"><span class="type">FlatpakRemote</span></a></p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-remote-get-description.returns"></a><h4>Returns</h4><p>the description. </p><p><span class="annotation">[<acronym class="acronym">transfer full</acronym>]</span></p></div><p class="since">Since: <a class="link" href="#">1.4</a></p></div><div class="refsect2"><a id="flatpak-remote-set-description"></a><h3>flatpak_remote_set_description ()</h3><a id="id8383" class="indexterm"></a><pre class="programlisting"><a class="link" href="#"><span class="returnvalue">void</span></a>
flatpak_remote_set_description (<em class="parameter"><code><a class="link" href="#FlatpakRemote" title="FlatpakRemote"><span class="type">FlatpakRemote</span></a> *self</code></em>,
                                <em class="parameter"><code>const <a class="link" href="#"><span class="type">char</span></a> *description</code></em>);</pre><p>Sets the description of this remote.</p><p>Note: This is a local modification of this object, you must commit changes
using <a class="link" href="#flatpak-installation-modify-remote" title="flatpak_installation_modify_remote ()"><code class="function">flatpak_installation_modify_remote()</code></a> for the changes to take
effect.</p><div class="refsect3"><a id="flatpak-remote-set-description.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakRemote" title="FlatpakRemote"><span class="type">FlatpakRemote</span></a></p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>description</p></td><td class="parameter_description"><p>The new description</p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><p class="since">Since: <a class="link" href="#">1.4</a></p></div><div class="refsect2"><a id="flatpak-remote-get-homepage"></a><h3>flatpak_remote_get_homepage ()</h3><a id="id8423" class="indexterm"></a><pre class="programlisting"><a class="link" href="#"><span class="returnvalue">char</span></a> *
flatpak_remote_get_homepage (<em class="parameter"><code><a class="link" href="#FlatpakRemote" title="FlatpakRemote"><span class="type">FlatpakRemote</span></a> *self</code></em>);</pre><p>Returns the homepage url of the remote.</p><div class="refsect3"><a id="flatpak-remote-get-homepage.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakRemote" title="FlatpakRemote"><span class="type">FlatpakRemote</span></a></p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-remote-get-homepage.returns"></a><h4>Returns</h4><p>the homepage url. </p><p><span class="annotation">[<acronym class="acronym">transfer full</acronym>]</span></p></div><p class="since">Since: <a class="link" href="#">1.4</a></p></div><div class="refsect2"><a id="flatpak-remote-set-homepage"></a><h3>flatpak_remote_set_homepage ()</h3><a id="id8457" class="indexterm"></a><pre class="programlisting"><a class="link" href="#"><span class="returnvalue">void</span></a>
flatpak_remote_set_homepage (<em class="parameter"><code><a class="link" href="#FlatpakRemote" title="FlatpakRemote"><span class="type">FlatpakRemote</span></a> *self</code></em>,
                             <em class="parameter"><code>const <a class="link" href="#"><span class="type">char</span></a> *homepage</code></em>);</pre><p>Sets the homepage of this remote.</p><p>Note: This is a local modification of this object, you must commit changes
using <a class="link" href="#flatpak-installation-modify-remote" title="flatpak_installation_modify_remote ()"><code class="function">flatpak_installation_modify_remote()</code></a> for the changes to take
effect.</p><div class="refsect3"><a id="flatpak-remote-set-homepage.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakRemote" title="FlatpakRemote"><span class="type">FlatpakRemote</span></a></p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>homepage</p></td><td class="parameter_description"><p>The new homepage</p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><p class="since">Since: <a class="link" href="#">1.4</a></p></div><div class="refsect2"><a id="flatpak-remote-get-icon"></a><h3>flatpak_remote_get_icon ()</h3><a id="id8497" class="indexterm"></a><pre class="programlisting"><a class="link" href="#"><span class="returnvalue">char</span></a> *
flatpak_remote_get_icon (<em class="parameter"><code><a class="link" href="#FlatpakRemote" title="FlatpakRemote"><span class="type">FlatpakRemote</span></a> *self</code></em>);</pre><p>Returns the icon url of the remote.</p><div class="refsect3"><a id="flatpak-remote-get-icon.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakRemote" title="FlatpakRemote"><span class="type">FlatpakRemote</span></a></p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-remote-get-icon.returns"></a><h4>Returns</h4><p>the icon url. </p><p><span class="annotation">[<acronym class="acronym">transfer full</acronym>]</span></p></div><p class="since">Since: <a class="link" href="#">1.4</a></p></div><div class="refsect2"><a id="flatpak-remote-set-icon"></a><h3>flatpak_remote_set_icon ()</h3><a id="id8531" class="indexterm"></a><pre class="programlisting"><a class="link" href="#"><span class="returnvalue">void</span></a>
flatpak_remote_set_icon (<em class="parameter"><code><a class="link" href="#FlatpakRemote" title="FlatpakRemote"><span class="type">FlatpakRemote</span></a> *self</code></em>,
                         <em class="parameter"><code>const <a class="link" href="#"><span class="type">char</span></a> *icon</code></em>);</pre><p>Sets the homepage of this remote.</p><p>Note: This is a local modification of this object, you must commit changes
using <a class="link" href="#flatpak-installation-modify-remote" title="flatpak_installation_modify_remote ()"><code class="function">flatpak_installation_modify_remote()</code></a> for the changes to take
effect.</p><div class="refsect3"><a id="flatpak-remote-set-icon.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakRemote" title="FlatpakRemote"><span class="type">FlatpakRemote</span></a></p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>icon</p></td><td class="parameter_description"><p>The new homepage</p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><p class="since">Since: <a class="link" href="#">1.4</a></p></div><div class="refsect2"><a id="flatpak-remote-get-url"></a><h3>flatpak_remote_get_url ()</h3><a id="id8571" class="indexterm"></a><pre class="programlisting"><a class="link" href="#"><span class="returnvalue">char</span></a> *
flatpak_remote_get_url (<em class="parameter"><code><a class="link" href="#FlatpakRemote" title="FlatpakRemote"><span class="type">FlatpakRemote</span></a> *self</code></em>);</pre><p>Returns the repository URL of this remote.</p><div class="refsect3"><a id="flatpak-remote-get-url.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakRemote" title="FlatpakRemote"><span class="type">FlatpakRemote</span></a></p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-remote-get-url.returns"></a><h4>Returns</h4><p>the URL. </p><p><span class="annotation">[<acronym class="acronym">transfer full</acronym>]</span></p></div></div><div class="refsect2"><a id="flatpak-remote-set-url"></a><h3>flatpak_remote_set_url ()</h3><a id="id8603" class="indexterm"></a><pre class="programlisting"><a class="link" href="#"><span class="returnvalue">void</span></a>
flatpak_remote_set_url (<em class="parameter"><code><a class="link" href="#FlatpakRemote" title="FlatpakRemote"><span class="type">FlatpakRemote</span></a> *self</code></em>,
                        <em class="parameter"><code>const <a class="link" href="#"><span class="type">char</span></a> *url</code></em>);</pre><p>Sets the repository URL of this remote.</p><p>Note: This is a local modification of this object, you must commit changes
using <a class="link" href="#flatpak-installation-modify-remote" title="flatpak_installation_modify_remote ()"><code class="function">flatpak_installation_modify_remote()</code></a> for the changes to take
effect.</p><div class="refsect3"><a id="flatpak-remote-set-url.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakRemote" title="FlatpakRemote"><span class="type">FlatpakRemote</span></a></p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>url</p></td><td class="parameter_description"><p>The new url</p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div></div><div class="refsect2"><a id="flatpak-remote-get-disabled"></a><h3>flatpak_remote_get_disabled ()</h3><a id="id8641" class="indexterm"></a><pre class="programlisting"><a class="link" href="#"><span class="returnvalue">gboolean</span></a>
flatpak_remote_get_disabled (<em class="parameter"><code><a class="link" href="#FlatpakRemote" title="FlatpakRemote"><span class="type">FlatpakRemote</span></a> *self</code></em>);</pre><p>Returns whether this remote is disabled.</p><div class="refsect3"><a id="flatpak-remote-get-disabled.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakRemote" title="FlatpakRemote"><span class="type">FlatpakRemote</span></a></p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-remote-get-disabled.returns"></a><h4>Returns</h4><p> whether the remote is marked as disabled</p></div></div><div class="refsect2"><a id="flatpak-remote-set-disabled"></a><h3>flatpak_remote_set_disabled ()</h3><a id="id8670" class="indexterm"></a><pre class="programlisting"><a class="link" href="#"><span class="returnvalue">void</span></a>
flatpak_remote_set_disabled (<em class="parameter"><code><a class="link" href="#FlatpakRemote" title="FlatpakRemote"><span class="type">FlatpakRemote</span></a> *self</code></em>,
                             <em class="parameter"><code><a class="link" href="#"><span class="type">gboolean</span></a> disabled</code></em>);</pre><p>Sets the disabled config of this remote. See <a class="link" href="#flatpak-remote-get-disabled" title="flatpak_remote_get_disabled ()"><code class="function">flatpak_remote_get_disabled()</code></a>.</p><p>Note: This is a local modification of this object, you must commit changes
using <a class="link" href="#flatpak-installation-modify-remote" title="flatpak_installation_modify_remote ()"><code class="function">flatpak_installation_modify_remote()</code></a> for the changes to take
effect.</p><div class="refsect3"><a id="flatpak-remote-set-disabled.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakRemote" title="FlatpakRemote"><span class="type">FlatpakRemote</span></a></p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>disabled</p></td><td class="parameter_description"><p>a bool</p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div></div><div class="refsect2"><a id="flatpak-remote-get-filter"></a><h3>flatpak_remote_get_filter ()</h3><a id="id8710" class="indexterm"></a><pre class="programlisting"><a class="link" href="#"><span class="returnvalue">char</span></a> *
flatpak_remote_get_filter (<em class="parameter"><code><a class="link" href="#FlatpakRemote" title="FlatpakRemote"><span class="type">FlatpakRemote</span></a> *self</code></em>);</pre><p>Returns the filter file of the remote.</p><div class="refsect3"><a id="flatpak-remote-get-filter.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakRemote" title="FlatpakRemote"><span class="type">FlatpakRemote</span></a></p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-remote-get-filter.returns"></a><h4>Returns</h4><p>a pathname to a filter file. </p><p><span class="annotation">[<acronym class="acronym">transfer full</acronym>]</span></p></div><p class="since">Since: <a class="link" href="#">1.4</a></p></div><div class="refsect2"><a id="flatpak-remote-set-filter"></a><h3>flatpak_remote_set_filter ()</h3><a id="id8744" class="indexterm"></a><pre class="programlisting"><a class="link" href="#"><span class="returnvalue">void</span></a>
flatpak_remote_set_filter (<em class="parameter"><code><a class="link" href="#FlatpakRemote" title="FlatpakRemote"><span class="type">FlatpakRemote</span></a> *self</code></em>,
                           <em class="parameter"><code>const <a class="link" href="#"><span class="type">char</span></a> *filter_path</code></em>);</pre><p>Sets a filter for this remote.</p><p>Note: This is a local modification of this object, you must commit changes
using <a class="link" href="#flatpak-installation-modify-remote" title="flatpak_installation_modify_remote ()"><code class="function">flatpak_installation_modify_remote()</code></a> for the changes to take
effect.</p><div class="refsect3"><a id="flatpak-remote-set-filter.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakRemote" title="FlatpakRemote"><span class="type">FlatpakRemote</span></a></p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>filter_path</p></td><td class="parameter_description"><p>The pathname of the new filter file</p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><p class="since">Since: <a class="link" href="#">1.4</a></p></div><div class="refsect2"><a id="flatpak-remote-get-main-ref"></a><h3>flatpak_remote_get_main_ref ()</h3><a id="id8784" class="indexterm"></a><pre class="programlisting"><a class="link" href="#"><span class="returnvalue">char</span></a> *
flatpak_remote_get_main_ref (<em class="parameter"><code><a class="link" href="#FlatpakRemote" title="FlatpakRemote"><span class="type">FlatpakRemote</span></a> *self</code></em>);</pre><p>Returns the main ref of this remote, if set. The main ref is the ref that an
origin remote is created for.</p><div class="refsect3"><a id="flatpak-remote-get-main-ref.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakRemote" title="FlatpakRemote"><span class="type">FlatpakRemote</span></a></p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-remote-get-main-ref.returns"></a><h4>Returns</h4><p>the main ref, or <a class="link" href="#"><code class="literal">NULL</code></a>. </p><p><span class="annotation">[<acronym class="acronym">transfer full</acronym>]</span></p></div><p class="since">Since: <a class="link" href="#">1.1.1</a></p></div><div class="refsect2"><a id="flatpak-remote-set-main-ref"></a><h3>flatpak_remote_set_main_ref ()</h3><a id="id8820" class="indexterm"></a><pre class="programlisting"><a class="link" href="#"><span class="returnvalue">void</span></a>
flatpak_remote_set_main_ref (<em class="parameter"><code><a class="link" href="#FlatpakRemote" title="FlatpakRemote"><span class="type">FlatpakRemote</span></a> *self</code></em>,
                             <em class="parameter"><code>const <a class="link" href="#"><span class="type">char</span></a> *main_ref</code></em>);</pre><p>Sets the main ref of this remote. The main ref is the ref that an origin
remote is created for.</p><p>Note: This is a local modification of this object, you must commit changes
using <a class="link" href="#flatpak-installation-modify-remote" title="flatpak_installation_modify_remote ()"><code class="function">flatpak_installation_modify_remote()</code></a> for the changes to take
effect.</p><div class="refsect3"><a id="flatpak-remote-set-main-ref.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakRemote" title="FlatpakRemote"><span class="type">FlatpakRemote</span></a></p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>main_ref</p></td><td class="parameter_description"><p>The new main ref</p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><p class="since">Since: <a class="link" href="#">1.1.1</a></p></div></div><div class="refsect1"><a id="FlatpakRemote.other_details"></a><h2>Types and Values</h2><div class="refsect2"><a id="FlatpakRemote-struct"></a><h3>struct FlatpakRemote</h3><a id="id8862" class="indexterm"></a><pre class="programlisting">struct FlatpakRemote;</pre></div><div class="refsect2"><a id="FlatpakRemoteType"></a><h3>enum FlatpakRemoteType</h3><a id="id8866" class="indexterm"></a><p>Different types of <em class="parameter"><code>FlatpakRemote</code></em>
.</p><div class="refsect3"><a id="FlatpakRemoteType.members"></a><h4>Members</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="300px" class="enum_members_name" /><col class="enum_members_description" /><col width="200px" class="enum_members_annotations" /></colgroup><tbody><tr><td class="enum_member_name"><p><a id="FLATPAK-REMOTE-TYPE-STATIC:CAPS"></a>FLATPAK_REMOTE_TYPE_STATIC</p></td><td class="enum_member_description"><p>Statically configured remote</p>
</td><td class="enum_member_annotations"> </td></tr><tr><td class="enum_member_name"><p><a id="FLATPAK-REMOTE-TYPE-USB:CAPS"></a>FLATPAK_REMOTE_TYPE_USB</p></td><td class="enum_member_description"><p>Dynamically detected local pathname remote</p>
</td><td class="enum_member_annotations"> </td></tr><tr><td class="enum_member_name"><p><a id="FLATPAK-REMOTE-TYPE-LAN:CAPS"></a>FLATPAK_REMOTE_TYPE_LAN</p></td><td class="enum_member_description"><p>Dynamically detected network remote</p>
</td><td class="enum_member_annotations"> </td></tr></tbody></table></div></div></div></div><div class="refsect1"><a id="FlatpakRemote.property-details"></a><h2>Property Details</h2><div class="refsect2"><a id="FlatpakRemote--name"></a><h3>The <code class="literal">“name”</code> property</h3><a id="id8900" class="indexterm"></a><pre class="programlisting">  “name”                     <a class="link" href="#"><span class="type">char</span></a> *</pre><p>Name of the remote, as used in configuration files and when interfacing
with OSTree. This is typically human readable, but could be generated, and
must conform to <a class="link" href="#"><code class="function">ostree_validate_remote_name()</code></a>. It should typically not be
presented in the UI.</p><p>Owner: FlatpakRemote</p><p>Flags: Read / Write</p><p>Default value: NULL</p></div><div class="refsect2"><a id="FlatpakRemote--type"></a><h3>The <code class="literal">“type”</code> property</h3><a id="id8913" class="indexterm"></a><pre class="programlisting">  “type”                     <a class="link" href="#FlatpakRemoteType" title="enum FlatpakRemoteType"><span class="type">FlatpakRemoteType</span></a></pre><p>The type of the remote: whether it comes from static configuration files
(<em class="parameter"><code>FLATPAK_REMOTE_TYPE_STATIC</code></em>
) or has been dynamically found from the local
network or a mounted USB drive (<em class="parameter"><code>FLATPAK_REMOTE_TYPE_LAN</code></em>
,
<em class="parameter"><code>FLATPAK_REMOTE_TYPE_USB</code></em>
). Dynamic remotes may be added and removed over
time.</p><p>Owner: FlatpakRemote</p><p>Flags: Read / Write / Construct Only</p><p>Default value: FLATPAK_REMOTE_TYPE_STATIC</p><p class="since">Since: <a class="link" href="#">0.9.8</a></p></div></div></div><div class="refentry"><div class="refentry.separator"><hr /></div><a id="FlatpakTransactionOperation"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>FlatpakTransactionOperation — Operation in a transaction</p></div><div class="refsect1"><a id="FlatpakTransactionOperation.functions"></a><h2>Functions</h2><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="functions_proto_type" /><col class="functions_proto_name" /></colgroup><tbody><tr><td class="function_type"><a class="link" href="#"><span class="returnvalue">GFile</span></a> *
</td><td class="function_name"><a class="link" href="#flatpak-transaction-operation-get-bundle-path" title="flatpak_transaction_operation_get_bundle_path ()">flatpak_transaction_operation_get_bundle_path</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type">const <a class="link" href="#"><span class="returnvalue">char</span></a> *
</td><td class="function_name"><a class="link" href="#flatpak-transaction-operation-get-commit" title="flatpak_transaction_operation_get_commit ()">flatpak_transaction_operation_get_commit</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type"><a class="link" href="#FlatpakTransactionOperationType" title="enum FlatpakTransactionOperationType"><span class="returnvalue">FlatpakTransactionOperationType</span></a>
</td><td class="function_name"><a class="link" href="#flatpak-transaction-operation-get-operation-type" title="flatpak_transaction_operation_get_operation_type ()">flatpak_transaction_operation_get_operation_type</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type">const <a class="link" href="#"><span class="returnvalue">char</span></a> *
</td><td class="function_name"><a class="link" href="#flatpak-transaction-operation-get-ref" title="flatpak_transaction_operation_get_ref ()">flatpak_transaction_operation_get_ref</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type">const <a class="link" href="#"><span class="returnvalue">char</span></a> *
</td><td class="function_name"><a class="link" href="#flatpak-transaction-operation-get-remote" title="flatpak_transaction_operation_get_remote ()">flatpak_transaction_operation_get_remote</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type"><a class="link" href="#"><span class="returnvalue">GKeyFile</span></a> *
</td><td class="function_name"><a class="link" href="#flatpak-transaction-operation-get-metadata" title="flatpak_transaction_operation_get_metadata ()">flatpak_transaction_operation_get_metadata</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type"><a class="link" href="#"><span class="returnvalue">GKeyFile</span></a> *
</td><td class="function_name"><a class="link" href="#flatpak-transaction-operation-get-old-metadata" title="flatpak_transaction_operation_get_old_metadata ()">flatpak_transaction_operation_get_old_metadata</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type"><a class="link" href="#"><span class="returnvalue">guint64</span></a>
</td><td class="function_name"><a class="link" href="#flatpak-transaction-operation-get-download-size" title="flatpak_transaction_operation_get_download_size ()">flatpak_transaction_operation_get_download_size</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type"><a class="link" href="#"><span class="returnvalue">guint64</span></a>
</td><td class="function_name"><a class="link" href="#flatpak-transaction-operation-get-installed-size" title="flatpak_transaction_operation_get_installed_size ()">flatpak_transaction_operation_get_installed_size</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type">const <a class="link" href="#"><span class="returnvalue">char</span></a> *
</td><td class="function_name"><a class="link" href="#flatpak-transaction-operation-type-to-string" title="flatpak_transaction_operation_type_to_string ()">flatpak_transaction_operation_type_to_string</a> <span class="c_punctuation">()</span></td></tr></tbody></table></div></div><div class="refsect1"><a id="FlatpakTransactionOperation.other"></a><h2>Types and Values</h2><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="other_proto_type" /><col class="other_proto_name" /></colgroup><tbody><tr><td class="datatype_keyword"> </td><td class="function_name"><a class="link" href="#FlatpakTransactionOperation-struct" title="FlatpakTransactionOperation">FlatpakTransactionOperation</a></td></tr></tbody></table></div></div><div class="refsect1"><a id="FlatpakTransactionOperation.object-hierarchy"></a><h2>Object Hierarchy</h2><pre class="screen">    <a class="link" href="#">GObject</a>
    <span class="lineart">╰──</span> FlatpakTransactionOperation
</pre></div><div class="refsect1"><a id="FlatpakTransactionOperation.description"></a><h2>Description</h2><p>FlatpakTransactionOperation is an object that represents a single operation
in a transaction. You receive a FlatpakTransactionOperation object with the
<a class="link" href="#FlatpakTransaction-new-operation" title="The “new-operation” signal"><span class="type">“new-operation”</span></a> signal.</p></div><div class="refsect1"><a id="FlatpakTransactionOperation.functions_details"></a><h2>Functions</h2><div class="refsect2"><a id="flatpak-transaction-operation-get-bundle-path"></a><h3>flatpak_transaction_operation_get_bundle_path ()</h3><a id="id9036" class="indexterm"></a><pre class="programlisting"><a class="link" href="#"><span class="returnvalue">GFile</span></a> *
flatpak_transaction_operation_get_bundle_path
                               (<em class="parameter"><code><a class="link" href="#FlatpakTransactionOperation" title="FlatpakTransactionOperation"><span class="type">FlatpakTransactionOperation</span></a> *self</code></em>);</pre><p>Gets the path to the bundle.</p><div class="refsect3"><a id="flatpak-transaction-operation-get-bundle-path.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakTransactionOperation" title="FlatpakTransactionOperation"><span class="type">FlatpakTransactionOperation</span></a></p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-transaction-operation-get-bundle-path.returns"></a><h4>Returns</h4><p>the bundle <a class="link" href="#"><span class="type">GFile</span></a> or <a class="link" href="#"><code class="literal">NULL</code></a>. </p><p><span class="annotation">[<acronym class="acronym">transfer none</acronym>]</span></p></div></div><div class="refsect2"><a id="flatpak-transaction-operation-get-commit"></a><h3>flatpak_transaction_operation_get_commit ()</h3><a id="id9072" class="indexterm"></a><pre class="programlisting">const <a class="link" href="#"><span class="returnvalue">char</span></a> *
flatpak_transaction_operation_get_commit
                               (<em class="parameter"><code><a class="link" href="#FlatpakTransactionOperation" title="FlatpakTransactionOperation"><span class="type">FlatpakTransactionOperation</span></a> *self</code></em>);</pre><p>Gets the commit ID for the operation.</p><p>This information is available when the transaction is resolved,
i.e. when <a class="link" href="#FlatpakTransaction-ready" title="The “ready” signal"><span class="type">“ready”</span></a> is emitted.</p><div class="refsect3"><a id="flatpak-transaction-operation-get-commit.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakTransactionOperation" title="FlatpakTransactionOperation"><span class="type">FlatpakTransactionOperation</span></a></p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-transaction-operation-get-commit.returns"></a><h4>Returns</h4><p>the commit ID. </p><p><span class="annotation">[<acronym class="acronym">transfer none</acronym>]</span></p></div></div><div class="refsect2"><a id="flatpak-transaction-operation-get-operation-type"></a><h3>flatpak_transaction_operation_get_operation_type ()</h3><a id="id9107" class="indexterm"></a><pre class="programlisting"><a class="link" href="#FlatpakTransactionOperationType" title="enum FlatpakTransactionOperationType"><span class="returnvalue">FlatpakTransactionOperationType</span></a>
flatpak_transaction_operation_get_operation_type
                               (<em class="parameter"><code><a class="link" href="#FlatpakTransactionOperation" title="FlatpakTransactionOperation"><span class="type">FlatpakTransactionOperation</span></a> *self</code></em>);</pre><p>Gets the type of the operation.</p><div class="refsect3"><a id="flatpak-transaction-operation-get-operation-type.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakTransactionOperation" title="FlatpakTransactionOperation"><span class="type">FlatpakTransactionOperation</span></a></p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-transaction-operation-get-operation-type.returns"></a><h4>Returns</h4><p> the type of operation, as <a class="link" href="#FlatpakTransactionOperationType" title="enum FlatpakTransactionOperationType"><span class="type">FlatpakTransactionOperationType</span></a></p></div></div><div class="refsect2"><a id="flatpak-transaction-operation-get-ref"></a><h3>flatpak_transaction_operation_get_ref ()</h3><a id="id9138" class="indexterm"></a><pre class="programlisting">const <a class="link" href="#"><span class="returnvalue">char</span></a> *
flatpak_transaction_operation_get_ref (<em class="parameter"><code><a class="link" href="#FlatpakTransactionOperation" title="FlatpakTransactionOperation"><span class="type">FlatpakTransactionOperation</span></a> *self</code></em>);</pre><p>Gets the ref that the operation applies to.</p><div class="refsect3"><a id="flatpak-transaction-operation-get-ref.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakTransactionOperation" title="FlatpakTransactionOperation"><span class="type">FlatpakTransactionOperation</span></a></p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-transaction-operation-get-ref.returns"></a><h4>Returns</h4><p>the ref. </p><p><span class="annotation">[<acronym class="acronym">transfer none</acronym>]</span></p></div></div><div class="refsect2"><a id="flatpak-transaction-operation-get-remote"></a><h3>flatpak_transaction_operation_get_remote ()</h3><a id="id9170" class="indexterm"></a><pre class="programlisting">const <a class="link" href="#"><span class="returnvalue">char</span></a> *
flatpak_transaction_operation_get_remote
                               (<em class="parameter"><code><a class="link" href="#FlatpakTransactionOperation" title="FlatpakTransactionOperation"><span class="type">FlatpakTransactionOperation</span></a> *self</code></em>);</pre><p>Gets the remote that the operation applies to.</p><div class="refsect3"><a id="flatpak-transaction-operation-get-remote.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakTransactionOperation" title="FlatpakTransactionOperation"><span class="type">FlatpakTransactionOperation</span></a></p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-transaction-operation-get-remote.returns"></a><h4>Returns</h4><p>the remote. </p><p><span class="annotation">[<acronym class="acronym">transfer none</acronym>]</span></p></div></div><div class="refsect2"><a id="flatpak-transaction-operation-get-metadata"></a><h3>flatpak_transaction_operation_get_metadata ()</h3><a id="id9202" class="indexterm"></a><pre class="programlisting"><a class="link" href="#"><span class="returnvalue">GKeyFile</span></a> *
flatpak_transaction_operation_get_metadata
                               (<em class="parameter"><code><a class="link" href="#FlatpakTransactionOperation" title="FlatpakTransactionOperation"><span class="type">FlatpakTransactionOperation</span></a> *self</code></em>);</pre><p>Gets the metadata that will be applicable when the
operation is done.</p><p>This can be compared to the current metadata returned
by <a class="link" href="#flatpak-transaction-operation-get-old-metadata" title="flatpak_transaction_operation_get_old_metadata ()"><code class="function">flatpak_transaction_operation_get_old_metadata()</code></a>
to find new required permissions and similar changes.</p><p>This information is available when the transaction is resolved,
i.e. when <a class="link" href="#FlatpakTransaction-ready" title="The “ready” signal"><span class="type">“ready”</span></a> is emitted.</p><div class="refsect3"><a id="flatpak-transaction-operation-get-metadata.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakTransactionOperation" title="FlatpakTransactionOperation"><span class="type">FlatpakTransactionOperation</span></a></p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-transaction-operation-get-metadata.returns"></a><h4>Returns</h4><p>the metadata <a class="link" href="#"><span class="type">GKeyFile</span></a>. </p><p><span class="annotation">[<acronym class="acronym">transfer none</acronym>]</span></p></div></div><div class="refsect2"><a id="flatpak-transaction-operation-get-old-metadata"></a><h3>flatpak_transaction_operation_get_old_metadata ()</h3><a id="id9242" class="indexterm"></a><pre class="programlisting"><a class="link" href="#"><span class="returnvalue">GKeyFile</span></a> *
flatpak_transaction_operation_get_old_metadata
                               (<em class="parameter"><code><a class="link" href="#FlatpakTransactionOperation" title="FlatpakTransactionOperation"><span class="type">FlatpakTransactionOperation</span></a> *self</code></em>);</pre><p>Gets the metadata current metadata for the ref that <em class="parameter"><code>self</code></em>
 works on.
Also see <a class="link" href="#flatpak-transaction-operation-get-metadata" title="flatpak_transaction_operation_get_metadata ()"><code class="function">flatpak_transaction_operation_get_metadata()</code></a>.</p><p>This information is available when the transaction is resolved,
i.e. when <a class="link" href="#FlatpakTransaction-ready" title="The “ready” signal"><span class="type">“ready”</span></a> is emitted.</p><div class="refsect3"><a id="flatpak-transaction-operation-get-old-metadata.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakTransactionOperation" title="FlatpakTransactionOperation"><span class="type">FlatpakTransactionOperation</span></a></p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-transaction-operation-get-old-metadata.returns"></a><h4>Returns</h4><p>the old metadata <a class="link" href="#"><span class="type">GKeyFile</span></a>. </p><p><span class="annotation">[<acronym class="acronym">transfer none</acronym>]</span></p></div></div><div class="refsect2"><a id="flatpak-transaction-operation-get-download-size"></a><h3>flatpak_transaction_operation_get_download_size ()</h3><a id="id9282" class="indexterm"></a><pre class="programlisting"><a class="link" href="#"><span class="returnvalue">guint64</span></a>
flatpak_transaction_operation_get_download_size
                               (<em class="parameter"><code><a class="link" href="#FlatpakTransactionOperation" title="FlatpakTransactionOperation"><span class="type">FlatpakTransactionOperation</span></a> *self</code></em>);</pre><p>Gets the maximum download size for the operation.</p><p>Note that this does not include the size of dependencies, and
the actual download may be smaller, if some of the data is already
available locally.</p><p>For uninstall operations, this returns 0.</p><p>This information is available when the transaction is resolved,
i.e. when <a class="link" href="#FlatpakTransaction-ready" title="The “ready” signal"><span class="type">“ready”</span></a> is emitted.</p><div class="refsect3"><a id="flatpak-transaction-operation-get-download-size.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#"><span class="type">flatpakTransactionOperation</span></a></p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-transaction-operation-get-download-size.returns"></a><h4>Returns</h4><p> the download size, in bytes</p></div><p class="since">Since: <a class="link" href="#">1.1.2</a></p></div><div class="refsect2"><a id="flatpak-transaction-operation-get-installed-size"></a><h3>flatpak_transaction_operation_get_installed_size ()</h3><a id="id9318" class="indexterm"></a><pre class="programlisting"><a class="link" href="#"><span class="returnvalue">guint64</span></a>
flatpak_transaction_operation_get_installed_size
                               (<em class="parameter"><code><a class="link" href="#FlatpakTransactionOperation" title="FlatpakTransactionOperation"><span class="type">FlatpakTransactionOperation</span></a> *self</code></em>);</pre><p>Gets the installed size for the operation.</p><p>Note that even for a new install, the extra space required on
disk may be smaller than this number, if some of the data is already
available locally.</p><p>For uninstall operations, this returns 0.</p><p>This information is available when the transaction is resolved,
i.e. when <a class="link" href="#FlatpakTransaction-ready" title="The “ready” signal"><span class="type">“ready”</span></a> is emitted.</p><div class="refsect3"><a id="flatpak-transaction-operation-get-installed-size.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#"><span class="type">flatpakTransactionOperation</span></a></p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-transaction-operation-get-installed-size.returns"></a><h4>Returns</h4><p> the installed size, in bytes</p></div><p class="since">Since: <a class="link" href="#">1.1.2</a></p></div><div class="refsect2"><a id="flatpak-transaction-operation-type-to-string"></a><h3>flatpak_transaction_operation_type_to_string ()</h3><a id="id9354" class="indexterm"></a><pre class="programlisting">const <a class="link" href="#"><span class="returnvalue">char</span></a> *
flatpak_transaction_operation_type_to_string
                               (<em class="parameter"><code><a class="link" href="#FlatpakTransactionOperationType" title="enum FlatpakTransactionOperationType"><span class="type">FlatpakTransactionOperationType</span></a> kind</code></em>);</pre><p>Converts the operation type to a string.</p><div class="refsect3"><a id="flatpak-transaction-operation-type-to-string.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>kind</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakTransactionOperationType" title="enum FlatpakTransactionOperationType"><span class="type">FlatpakTransactionOperationType</span></a></p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-transaction-operation-type-to-string.returns"></a><h4>Returns</h4><p>a string representing <em class="parameter"><code>kind</code></em>
. </p><p><span class="annotation">[<acronym class="acronym">transfer none</acronym>]</span></p></div></div></div><div class="refsect1"><a id="FlatpakTransactionOperation.other_details"></a><h2>Types and Values</h2><div class="refsect2"><a id="FlatpakTransactionOperation-struct"></a><h3>FlatpakTransactionOperation</h3><a id="id9389" class="indexterm"></a><pre class="programlisting">typedef struct _FlatpakTransactionOperation FlatpakTransactionOperation;</pre></div></div></div><div class="refentry"><div class="refentry.separator"><hr /></div><a id="FlatpakTransactionProgress"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>FlatpakTransactionProgress — Progress of an operation</p></div><div class="refsect1"><a id="FlatpakTransactionProgress.functions"></a><h2>Functions</h2><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="functions_proto_type" /><col class="functions_proto_name" /></colgroup><tbody><tr><td class="function_type"><a class="link" href="#"><span class="returnvalue">gboolean</span></a>
</td><td class="function_name"><a class="link" href="#flatpak-transaction-progress-get-is-estimating" title="flatpak_transaction_progress_get_is_estimating ()">flatpak_transaction_progress_get_is_estimating</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type"><a class="link" href="#"><span class="returnvalue">int</span></a>
</td><td class="function_name"><a class="link" href="#flatpak-transaction-progress-get-progress" title="flatpak_transaction_progress_get_progress ()">flatpak_transaction_progress_get_progress</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type"><a class="link" href="#"><span class="returnvalue">char</span></a> *
</td><td class="function_name"><a class="link" href="#flatpak-transaction-progress-get-status" title="flatpak_transaction_progress_get_status ()">flatpak_transaction_progress_get_status</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type"><a class="link" href="#"><span class="returnvalue">void</span></a>
</td><td class="function_name"><a class="link" href="#flatpak-transaction-progress-set-update-frequency" title="flatpak_transaction_progress_set_update_frequency ()">flatpak_transaction_progress_set_update_frequency</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type"><a class="link" href="#"><span class="returnvalue">guint64</span></a>
</td><td class="function_name"><a class="link" href="#flatpak-transaction-progress-get-bytes-transferred" title="flatpak_transaction_progress_get_bytes_transferred ()">flatpak_transaction_progress_get_bytes_transferred</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type"><a class="link" href="#"><span class="returnvalue">guint64</span></a>
</td><td class="function_name"><a class="link" href="#flatpak-transaction-progress-get-start-time" title="flatpak_transaction_progress_get_start_time ()">flatpak_transaction_progress_get_start_time</a> <span class="c_punctuation">()</span></td></tr></tbody></table></div></div><div class="refsect1"><a id="FlatpakTransactionProgress.signals"></a><h2>Signals</h2><div class="informaltable"><table class="informaltable" border="0"><colgroup><col width="150px" class="signal_proto_type" /><col width="300px" class="signal_proto_name" /><col width="200px" class="signal_proto_flags" /></colgroup><tbody><tr><td class="signal_type"><a class="link" href="#"><span class="returnvalue">void</span></a></td><td class="signal_name"><a class="link" href="#FlatpakTransactionProgress-changed" title="The “changed” signal">changed</a></td><td class="signal_flags"><a class="link" href="#">Run Last</a></td></tr></tbody></table></div></div><div class="refsect1"><a id="FlatpakTransactionProgress.other"></a><h2>Types and Values</h2><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="other_proto_type" /><col class="other_proto_name" /></colgroup><tbody><tr><td class="datatype_keyword"> </td><td class="function_name"><a class="link" href="#FlatpakTransactionProgress-struct" title="FlatpakTransactionProgress">FlatpakTransactionProgress</a></td></tr></tbody></table></div></div><div class="refsect1"><a id="FlatpakTransactionProgress.object-hierarchy"></a><h2>Object Hierarchy</h2><pre class="screen">    <a class="link" href="#">GObject</a>
    <span class="lineart">╰──</span> FlatpakTransactionProgress
</pre></div><div class="refsect1"><a id="FlatpakTransactionProgress.description"></a><h2>Description</h2><p>FlatpakTransactionProgress is an object that represents the progress
of a single operation in a transaction. You obtain a FlatpakTransactionProgress
with the <a class="link" href="#FlatpakTransaction-new-operation" title="The “new-operation” signal"><span class="type">“new-operation”</span></a> signal.</p></div><div class="refsect1"><a id="FlatpakTransactionProgress.functions_details"></a><h2>Functions</h2><div class="refsect2"><a id="flatpak-transaction-progress-get-is-estimating"></a><h3>flatpak_transaction_progress_get_is_estimating ()</h3><a id="id9489" class="indexterm"></a><pre class="programlisting"><a class="link" href="#"><span class="returnvalue">gboolean</span></a>
flatpak_transaction_progress_get_is_estimating
                               (<em class="parameter"><code><a class="link" href="#FlatpakTransactionProgress" title="FlatpakTransactionProgress"><span class="type">FlatpakTransactionProgress</span></a> *self</code></em>);</pre><p>Gets whether the progress is currently estimating</p><div class="refsect3"><a id="flatpak-transaction-progress-get-is-estimating.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakTransactionProgress" title="FlatpakTransactionProgress"><span class="type">FlatpakTransactionProgress</span></a></p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-transaction-progress-get-is-estimating.returns"></a><h4>Returns</h4><p> whether we're estimating</p></div></div><div class="refsect2"><a id="flatpak-transaction-progress-get-progress"></a><h3>flatpak_transaction_progress_get_progress ()</h3><a id="id9518" class="indexterm"></a><pre class="programlisting"><a class="link" href="#"><span class="returnvalue">int</span></a>
flatpak_transaction_progress_get_progress
                               (<em class="parameter"><code><a class="link" href="#FlatpakTransactionProgress" title="FlatpakTransactionProgress"><span class="type">FlatpakTransactionProgress</span></a> *self</code></em>);</pre><p>Gets the current progress.</p><div class="refsect3"><a id="flatpak-transaction-progress-get-progress.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakTransactionProgress" title="FlatpakTransactionProgress"><span class="type">FlatpakTransactionProgress</span></a></p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-transaction-progress-get-progress.returns"></a><h4>Returns</h4><p> the current progress, as an integer between 0 and 100</p></div></div><div class="refsect2"><a id="flatpak-transaction-progress-get-status"></a><h3>flatpak_transaction_progress_get_status ()</h3><a id="id9547" class="indexterm"></a><pre class="programlisting"><a class="link" href="#"><span class="returnvalue">char</span></a> *
flatpak_transaction_progress_get_status
                               (<em class="parameter"><code><a class="link" href="#FlatpakTransactionProgress" title="FlatpakTransactionProgress"><span class="type">FlatpakTransactionProgress</span></a> *self</code></em>);</pre><p>Gets the current status string</p><div class="refsect3"><a id="flatpak-transaction-progress-get-status.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakTransactionProgress" title="FlatpakTransactionProgress"><span class="type">FlatpakTransactionProgress</span></a></p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-transaction-progress-get-status.returns"></a><h4>Returns</h4><p>the current status. </p><p><span class="annotation">[<acronym class="acronym">transfer full</acronym>]</span></p></div></div><div class="refsect2"><a id="flatpak-transaction-progress-set-update-frequency"></a><h3>flatpak_transaction_progress_set_update_frequency ()</h3><a id="id9579" class="indexterm"></a><pre class="programlisting"><a class="link" href="#"><span class="returnvalue">void</span></a>
flatpak_transaction_progress_set_update_frequency
                               (<em class="parameter"><code><a class="link" href="#FlatpakTransactionProgress" title="FlatpakTransactionProgress"><span class="type">FlatpakTransactionProgress</span></a> *self</code></em>,
                                <em class="parameter"><code><a class="link" href="#"><span class="type">guint</span></a> update_interval</code></em>);</pre><p>Sets how often progress should be updated.</p><div class="refsect3"><a id="flatpak-transaction-progress-set-update-frequency.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakTransactionProgress" title="FlatpakTransactionProgress"><span class="type">FlatpakTransactionProgress</span></a></p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>update_interval</p></td><td class="parameter_description"><p>the update interval, in milliseconds</p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div></div><div class="refsect2"><a id="flatpak-transaction-progress-get-bytes-transferred"></a><h3>flatpak_transaction_progress_get_bytes_transferred ()</h3><a id="id9614" class="indexterm"></a><pre class="programlisting"><a class="link" href="#"><span class="returnvalue">guint64</span></a>
flatpak_transaction_progress_get_bytes_transferred
                               (<em class="parameter"><code><a class="link" href="#FlatpakTransactionProgress" title="FlatpakTransactionProgress"><span class="type">FlatpakTransactionProgress</span></a> *self</code></em>);</pre><p>Gets the number of bytes that have been transferred.</p><div class="refsect3"><a id="flatpak-transaction-progress-get-bytes-transferred.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakTransactionProgress" title="FlatpakTransactionProgress"><span class="type">FlatpakTransactionProgress</span></a></p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-transaction-progress-get-bytes-transferred.returns"></a><h4>Returns</h4><p> the number of bytes transferred</p></div><p class="since">Since: <a class="link" href="#">1.1.2</a></p></div><div class="refsect2"><a id="flatpak-transaction-progress-get-start-time"></a><h3>flatpak_transaction_progress_get_start_time ()</h3><a id="id9645" class="indexterm"></a><pre class="programlisting"><a class="link" href="#"><span class="returnvalue">guint64</span></a>
flatpak_transaction_progress_get_start_time
                               (<em class="parameter"><code><a class="link" href="#FlatpakTransactionProgress" title="FlatpakTransactionProgress"><span class="type">FlatpakTransactionProgress</span></a> *self</code></em>);</pre><p>Gets the time at which this operation has started, as monotonic time.</p><div class="refsect3"><a id="flatpak-transaction-progress-get-start-time.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakTransactionProgress" title="FlatpakTransactionProgress"><span class="type">FlatpakTransactionProgress</span></a></p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-transaction-progress-get-start-time.returns"></a><h4>Returns</h4><p> the start time</p></div><p class="since">Since: <a class="link" href="#">1.1.2</a></p></div></div><div class="refsect1"><a id="FlatpakTransactionProgress.other_details"></a><h2>Types and Values</h2><div class="refsect2"><a id="FlatpakTransactionProgress-struct"></a><h3>FlatpakTransactionProgress</h3><a id="id9678" class="indexterm"></a><pre class="programlisting">typedef struct _FlatpakTransactionProgress FlatpakTransactionProgress;</pre></div></div><div class="refsect1"><a id="FlatpakTransactionProgress.signal-details"></a><h2>Signal Details</h2><div class="refsect2"><a id="FlatpakTransactionProgress-changed"></a><h3>The <code class="literal">“changed”</code> signal</h3><a id="id9685" class="indexterm"></a><pre class="programlisting"><a class="link" href="#"><span class="returnvalue">void</span></a>
user_function (<a class="link" href="#FlatpakTransactionProgress" title="FlatpakTransactionProgress"><span class="type">FlatpakTransactionProgress</span></a> *object,
               <a class="link" href="#"><span class="type">gpointer</span></a>                    user_data)</pre><p>Emitted when some detail of the progress object changes, you can call the various methods to get the current status.</p><div class="refsect3"><a id="FlatpakTransactionProgress-changed.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>object</p></td><td class="parameter_description"><p>A <a class="link" href="#FlatpakTransactionProgress" title="FlatpakTransactionProgress"><span class="type">FlatpakTransactionProgress</span></a></p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>user_data</p></td><td class="parameter_description"><p>user data set when the signal handler was connected.</p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><p>Flags: <a class="link" href="#">Run Last</a></p></div></div></div><div class="refentry"><div class="refentry.separator"><hr /></div><a id="FlatpakTransaction"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>FlatpakTransaction — Transaction information</p></div><div class="refsect1"><a id="FlatpakTransaction.functions"></a><h2>Functions</h2><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="functions_proto_type" /><col class="functions_proto_name" /></colgroup><tbody><tr><td class="function_type"><a class="link" href="#FlatpakTransaction" title="FlatpakTransaction"><span class="returnvalue">FlatpakTransaction</span></a> *
</td><td class="function_name"><a class="link" href="#flatpak-transaction-new-for-installation" title="flatpak_transaction_new_for_installation ()">flatpak_transaction_new_for_installation</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type"><a class="link" href="#"><span class="returnvalue">gboolean</span></a>
</td><td class="function_name"><a class="link" href="#flatpak-transaction-add-install" title="flatpak_transaction_add_install ()">flatpak_transaction_add_install</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type"><a class="link" href="#"><span class="returnvalue">gboolean</span></a>
</td><td class="function_name"><a class="link" href="#flatpak-transaction-add-install-bundle" title="flatpak_transaction_add_install_bundle ()">flatpak_transaction_add_install_bundle</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type"><a class="link" href="#"><span class="returnvalue">gboolean</span></a>
</td><td class="function_name"><a class="link" href="#flatpak-transaction-add-install-flatpakref" title="flatpak_transaction_add_install_flatpakref ()">flatpak_transaction_add_install_flatpakref</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type"><a class="link" href="#"><span class="returnvalue">gboolean</span></a>
</td><td class="function_name"><a class="link" href="#flatpak-transaction-add-rebase" title="flatpak_transaction_add_rebase ()">flatpak_transaction_add_rebase</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type"><a class="link" href="#"><span class="returnvalue">gboolean</span></a>
</td><td class="function_name"><a class="link" href="#flatpak-transaction-add-rebase-and-uninstall" title="flatpak_transaction_add_rebase_and_uninstall ()">flatpak_transaction_add_rebase_and_uninstall</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type"><a class="link" href="#"><span class="returnvalue">gboolean</span></a>
</td><td class="function_name"><a class="link" href="#flatpak-transaction-add-update" title="flatpak_transaction_add_update ()">flatpak_transaction_add_update</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type"><a class="link" href="#"><span class="returnvalue">gboolean</span></a>
</td><td class="function_name"><a class="link" href="#flatpak-transaction-add-uninstall" title="flatpak_transaction_add_uninstall ()">flatpak_transaction_add_uninstall</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type"><a class="link" href="#"><span class="returnvalue">void</span></a>
</td><td class="function_name"><a class="link" href="#flatpak-transaction-add-default-dependency-sources" title="flatpak_transaction_add_default_dependency_sources ()">flatpak_transaction_add_default_dependency_sources</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type"><a class="link" href="#"><span class="returnvalue">void</span></a>
</td><td class="function_name"><a class="link" href="#flatpak-transaction-add-dependency-source" title="flatpak_transaction_add_dependency_source ()">flatpak_transaction_add_dependency_source</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type"><a class="link" href="#"><span class="returnvalue">gboolean</span></a>
</td><td class="function_name"><a class="link" href="#flatpak-transaction-run" title="flatpak_transaction_run ()">flatpak_transaction_run</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type"><a class="link" href="#FlatpakTransactionOperation" title="FlatpakTransactionOperation"><span class="returnvalue">FlatpakTransactionOperation</span></a> *
</td><td class="function_name"><a class="link" href="#flatpak-transaction-get-current-operation" title="flatpak_transaction_get_current_operation ()">flatpak_transaction_get_current_operation</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type"><a class="link" href="#FlatpakInstallation" title="FlatpakInstallation"><span class="returnvalue">FlatpakInstallation</span></a> *
</td><td class="function_name"><a class="link" href="#flatpak-transaction-get-installation" title="flatpak_transaction_get_installation ()">flatpak_transaction_get_installation</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type"><a class="link" href="#"><span class="returnvalue">GList</span></a> *
</td><td class="function_name"><a class="link" href="#flatpak-transaction-get-operations" title="flatpak_transaction_get_operations ()">flatpak_transaction_get_operations</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type"><a class="link" href="#"><span class="returnvalue">gboolean</span></a>
</td><td class="function_name"><a class="link" href="#flatpak-transaction-is-empty" title="flatpak_transaction_is_empty ()">flatpak_transaction_is_empty</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type"><a class="link" href="#"><span class="returnvalue">void</span></a>
</td><td class="function_name"><a class="link" href="#flatpak-transaction-set-disable-dependencies" title="flatpak_transaction_set_disable_dependencies ()">flatpak_transaction_set_disable_dependencies</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type"><a class="link" href="#"><span class="returnvalue">void</span></a>
</td><td class="function_name"><a class="link" href="#flatpak-transaction-set-disable-prune" title="flatpak_transaction_set_disable_prune ()">flatpak_transaction_set_disable_prune</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type"><a class="link" href="#"><span class="returnvalue">void</span></a>
</td><td class="function_name"><a class="link" href="#flatpak-transaction-set-disable-related" title="flatpak_transaction_set_disable_related ()">flatpak_transaction_set_disable_related</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type"><a class="link" href="#"><span class="returnvalue">void</span></a>
</td><td class="function_name"><a class="link" href="#flatpak-transaction-set-disable-static-deltas" title="flatpak_transaction_set_disable_static_deltas ()">flatpak_transaction_set_disable_static_deltas</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type"><a class="link" href="#"><span class="returnvalue">void</span></a>
</td><td class="function_name"><a class="link" href="#flatpak-transaction-set-no-deploy" title="flatpak_transaction_set_no_deploy ()">flatpak_transaction_set_no_deploy</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type"><a class="link" href="#"><span class="returnvalue">gboolean</span></a>
</td><td class="function_name"><a class="link" href="#flatpak-transaction-get-no-deploy" title="flatpak_transaction_get_no_deploy ()">flatpak_transaction_get_no_deploy</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type"><a class="link" href="#"><span class="returnvalue">void</span></a>
</td><td class="function_name"><a class="link" href="#flatpak-transaction-set-no-pull" title="flatpak_transaction_set_no_pull ()">flatpak_transaction_set_no_pull</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type"><a class="link" href="#"><span class="returnvalue">gboolean</span></a>
</td><td class="function_name"><a class="link" href="#flatpak-transaction-get-no-pull" title="flatpak_transaction_get_no_pull ()">flatpak_transaction_get_no_pull</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type"><a class="link" href="#"><span class="returnvalue">void</span></a>
</td><td class="function_name"><a class="link" href="#flatpak-transaction-set-reinstall" title="flatpak_transaction_set_reinstall ()">flatpak_transaction_set_reinstall</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type"><a class="link" href="#"><span class="returnvalue">void</span></a>
</td><td class="function_name"><a class="link" href="#flatpak-transaction-set-force-uninstall" title="flatpak_transaction_set_force_uninstall ()">flatpak_transaction_set_force_uninstall</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type"><a class="link" href="#"><span class="returnvalue">void</span></a>
</td><td class="function_name"><a class="link" href="#flatpak-transaction-set-default-arch" title="flatpak_transaction_set_default_arch ()">flatpak_transaction_set_default_arch</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type"><a class="link" href="#"><span class="returnvalue">void</span></a>
</td><td class="function_name"><a class="link" href="#flatpak-transaction-set-parent-window" title="flatpak_transaction_set_parent_window ()">flatpak_transaction_set_parent_window</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type">const <a class="link" href="#"><span class="returnvalue">char</span></a> *
</td><td class="function_name"><a class="link" href="#flatpak-transaction-get-parent-window" title="flatpak_transaction_get_parent_window ()">flatpak_transaction_get_parent_window</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type"><a class="link" href="#"><span class="returnvalue">void</span></a>
</td><td class="function_name"><a class="link" href="#flatpak-transaction-abort-webflow" title="flatpak_transaction_abort_webflow ()">flatpak_transaction_abort_webflow</a> <span class="c_punctuation">()</span></td></tr></tbody></table></div></div><div class="refsect1"><a id="FlatpakTransaction.properties"></a><h2>Properties</h2><div class="informaltable"><table class="informaltable" border="0"><colgroup><col width="150px" class="properties_type" /><col width="300px" class="properties_name" /><col width="200px" class="properties_flags" /></colgroup><tbody><tr><td class="property_type"><a class="link" href="#FlatpakInstallation" title="FlatpakInstallation"><span class="type">FlatpakInstallation</span></a> *</td><td class="property_name"><a class="link" href="#FlatpakTransaction--installation" title="The “installation” property">installation</a></td><td class="property_flags">Read / Write / Construct Only</td></tr><tr><td class="property_type"><a class="link" href="#"><span class="type">gboolean</span></a></td><td class="property_name"><a class="link" href="#FlatpakTransaction--no-interaction" title="The “no-interaction” property">no-interaction</a></td><td class="property_flags">Read / Write</td></tr></tbody></table></div></div><div class="refsect1"><a id="FlatpakTransaction.signals"></a><h2>Signals</h2><div class="informaltable"><table class="informaltable" border="0"><colgroup><col width="150px" class="signal_proto_type" /><col width="300px" class="signal_proto_name" /><col width="200px" class="signal_proto_flags" /></colgroup><tbody><tr><td class="signal_type"><a class="link" href="#"><span class="returnvalue">gboolean</span></a></td><td class="signal_name"><a class="link" href="#FlatpakTransaction-add-new-remote" title="The “add-new-remote” signal">add-new-remote</a></td><td class="signal_flags"><a class="link" href="#">Run Last</a></td></tr><tr><td class="signal_type"><a class="link" href="#"><span class="returnvalue">gboolean</span></a></td><td class="signal_name"><a class="link" href="#FlatpakTransaction-basic-auth-start" title="The “basic-auth-start” signal">basic-auth-start</a></td><td class="signal_flags"><a class="link" href="#">Run Last</a></td></tr><tr><td class="signal_type"><a class="link" href="#"><span class="returnvalue">int</span></a></td><td class="signal_name"><a class="link" href="#FlatpakTransaction-choose-remote-for-ref" title="The “choose-remote-for-ref” signal">choose-remote-for-ref</a></td><td class="signal_flags"><a class="link" href="#">Run Last</a></td></tr><tr><td class="signal_type"><a class="link" href="#"><span class="returnvalue">void</span></a></td><td class="signal_name"><a class="link" href="#FlatpakTransaction-end-of-lifed" title="The “end-of-lifed” signal">end-of-lifed</a></td><td class="signal_flags"><a class="link" href="#">Run Last</a></td></tr><tr><td class="signal_type"><a class="link" href="#"><span class="returnvalue">gboolean</span></a></td><td class="signal_name"><a class="link" href="#FlatpakTransaction-end-of-lifed-with-rebase" title="The “end-of-lifed-with-rebase” signal">end-of-lifed-with-rebase</a></td><td class="signal_flags"><a class="link" href="#">Run Last</a></td></tr><tr><td class="signal_type"><a class="link" href="#"><span class="returnvalue">void</span></a></td><td class="signal_name"><a class="link" href="#FlatpakTransaction-install-authenticator" title="The “install-authenticator” signal">install-authenticator</a></td><td class="signal_flags"><a class="link" href="#">Run Last</a></td></tr><tr><td class="signal_type"><a class="link" href="#"><span class="returnvalue">void</span></a></td><td class="signal_name"><a class="link" href="#FlatpakTransaction-new-operation" title="The “new-operation” signal">new-operation</a></td><td class="signal_flags"><a class="link" href="#">Run Last</a></td></tr><tr><td class="signal_type"><a class="link" href="#"><span class="returnvalue">void</span></a></td><td class="signal_name"><a class="link" href="#FlatpakTransaction-operation-done" title="The “operation-done” signal">operation-done</a></td><td class="signal_flags"><a class="link" href="#">Run Last</a></td></tr><tr><td class="signal_type"><a class="link" href="#"><span class="returnvalue">gboolean</span></a></td><td class="signal_name"><a class="link" href="#FlatpakTransaction-operation-error" title="The “operation-error” signal">operation-error</a></td><td class="signal_flags"><a class="link" href="#">Run Last</a></td></tr><tr><td class="signal_type"><a class="link" href="#"><span class="returnvalue">gboolean</span></a></td><td class="signal_name"><a class="link" href="#FlatpakTransaction-ready" title="The “ready” signal">ready</a></td><td class="signal_flags"><a class="link" href="#">Run Last</a></td></tr><tr><td class="signal_type"><a class="link" href="#"><span class="returnvalue">gboolean</span></a></td><td class="signal_name"><a class="link" href="#FlatpakTransaction-ready-pre-auth" title="The “ready-pre-auth” signal">ready-pre-auth</a></td><td class="signal_flags"><a class="link" href="#">Run Last</a></td></tr><tr><td class="signal_type"><a class="link" href="#"><span class="returnvalue">void</span></a></td><td class="signal_name"><a class="link" href="#FlatpakTransaction-webflow-done" title="The “webflow-done” signal">webflow-done</a></td><td class="signal_flags"><a class="link" href="#">Run Last</a></td></tr><tr><td class="signal_type"><a class="link" href="#"><span class="returnvalue">gboolean</span></a></td><td class="signal_name"><a class="link" href="#FlatpakTransaction-webflow-start" title="The “webflow-start” signal">webflow-start</a></td><td class="signal_flags"><a class="link" href="#">Run Last</a></td></tr></tbody></table></div></div><div class="refsect1"><a id="FlatpakTransaction.other"></a><h2>Types and Values</h2><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="other_proto_type" /><col class="other_proto_name" /></colgroup><tbody><tr><td class="datatype_keyword"> </td><td class="function_name"><a class="link" href="#FlatpakTransaction-struct" title="FlatpakTransaction">FlatpakTransaction</a></td></tr><tr><td class="datatype_keyword">enum</td><td class="function_name"><a class="link" href="#FlatpakTransactionOperationType" title="enum FlatpakTransactionOperationType">FlatpakTransactionOperationType</a></td></tr><tr><td class="datatype_keyword">enum</td><td class="function_name"><a class="link" href="#FlatpakTransactionErrorDetails" title="enum FlatpakTransactionErrorDetails">FlatpakTransactionErrorDetails</a></td></tr><tr><td class="datatype_keyword">enum</td><td class="function_name"><a class="link" href="#FlatpakTransactionRemoteReason" title="enum FlatpakTransactionRemoteReason">FlatpakTransactionRemoteReason</a></td></tr><tr><td class="datatype_keyword">enum</td><td class="function_name"><a class="link" href="#FlatpakTransactionResult" title="enum FlatpakTransactionResult">FlatpakTransactionResult</a></td></tr></tbody></table></div></div><div class="refsect1"><a id="FlatpakTransaction.object-hierarchy"></a><h2>Object Hierarchy</h2><pre class="screen">    <a class="link" href="#">GObject</a>
    <span class="lineart">╰──</span> FlatpakTransaction
</pre></div><div class="refsect1"><a id="FlatpakTransaction.implemented-interfaces"></a><h2>Implemented Interfaces</h2><p>
FlatpakTransaction implements
 <a class="link" href="#">GInitable</a>.</p></div><div class="refsect1"><a id="FlatpakTransaction.description"></a><h2>Description</h2><p>FlatpakTransaction is an object representing an install/update/uninstall
transaction. You create an object like this using <a class="link" href="#flatpak-transaction-new-for-installation" title="flatpak_transaction_new_for_installation ()"><code class="function">flatpak_transaction_new_for_installation()</code></a>
and then you add all the operations (installs, updates, etc) you wish to do. Then
you start the transaction with <a class="link" href="#flatpak-transaction-run" title="flatpak_transaction_run ()"><code class="function">flatpak_transaction_run()</code></a> which will resolve all kinds
of dependencies and report progress and status while downloading and installing these.</p><p>The dependency resolution that is the first step of executing a transaction can
be influenced by <a class="link" href="#flatpak-transaction-set-disable-dependencies" title="flatpak_transaction_set_disable_dependencies ()"><code class="function">flatpak_transaction_set_disable_dependencies()</code></a>,
<a class="link" href="#flatpak-transaction-set-disable-related" title="flatpak_transaction_set_disable_related ()"><code class="function">flatpak_transaction_set_disable_related()</code></a>, <a class="link" href="#flatpak-transaction-add-dependency-source" title="flatpak_transaction_add_dependency_source ()"><code class="function">flatpak_transaction_add_dependency_source()</code></a>
and <a class="link" href="#flatpak-transaction-add-default-dependency-sources" title="flatpak_transaction_add_default_dependency_sources ()"><code class="function">flatpak_transaction_add_default_dependency_sources()</code></a>.</p><p>The underlying operations that get orchestrated by a FlatpakTransaction are: pulling
new data from remote repositories, deploying newer applications or runtimes and pruning
old deployments. Which of these operations are carried out can be controlled with
<a class="link" href="#flatpak-transaction-set-no-pull" title="flatpak_transaction_set_no_pull ()"><code class="function">flatpak_transaction_set_no_pull()</code></a>, <a class="link" href="#flatpak-transaction-set-no-deploy" title="flatpak_transaction_set_no_deploy ()"><code class="function">flatpak_transaction_set_no_deploy()</code></a> and
<a class="link" href="#flatpak-transaction-set-disable-prune" title="flatpak_transaction_set_disable_prune ()"><code class="function">flatpak_transaction_set_disable_prune()</code></a>.</p><p>A transaction is a blocking operation, and all signals are emitted in the same thread.
This means you should either handle the signals directly (say, by doing blocking console
interaction, or by just returning without interaction), or run the operation in a separate
thread and do your own forwarding to the GUI thread.</p><p>Despite the name, a FlatpakTransaction is more like a batch operation than a transaction
in the database sense. Individual operations are carried out sequentially, and are atomic.
They become visible to the system as they are completed. When an error occurs, already
completed operations are not rolled back.</p><p>For each operation that is executed during a transaction, you first get a
<a class="link" href="#FlatpakTransaction-new-operation" title="The “new-operation” signal"><span class="type">“new-operation”</span></a> signal, followed by either a
<a class="link" href="#FlatpakTransaction-operation-done" title="The “operation-done” signal"><span class="type">“operation-done”</span></a> or <a class="link" href="#FlatpakTransaction-operation-error" title="The “operation-error” signal"><span class="type">“operation-error”</span></a>.</p><p>The FlatpakTransaction API is threadsafe in the sense that it is safe to run two
transactions at the same time, in different threads (or processes).</p><p>Note: Transactions (or any other install/update operation) to a
system installation rely on the ability to create files that are readable
by other users. Some users set a umask that prohibits this. Unfortunately
there is no good way to work around this in a threadsafe, local way, so
such setups will break by default. The flatpak commandline app works
around this by calling umask(022) in the early setup, and it is recommended
that other apps using libflatpak do this too.</p></div><div class="refsect1"><a id="FlatpakTransaction.functions_details"></a><h2>Functions</h2><div class="refsect2"><a id="flatpak-transaction-new-for-installation"></a><h3>flatpak_transaction_new_for_installation ()</h3><a id="id10144" class="indexterm"></a><pre class="programlisting"><a class="link" href="#FlatpakTransaction" title="FlatpakTransaction"><span class="returnvalue">FlatpakTransaction</span></a> *
flatpak_transaction_new_for_installation
                               (<em class="parameter"><code><a class="link" href="#FlatpakInstallation" title="FlatpakInstallation"><span class="type">FlatpakInstallation</span></a> *installation</code></em>,
                                <em class="parameter"><code><a class="link" href="#"><span class="type">GCancellable</span></a> *cancellable</code></em>,
                                <em class="parameter"><code><a class="link" href="#"><span class="type">GError</span></a> **error</code></em>);</pre><p>Creates a new <a class="link" href="#FlatpakTransaction" title="FlatpakTransaction"><span class="type">FlatpakTransaction</span></a> object that can be used to do installation
and updates of multiple refs, as well as their dependencies, in a single
operation. Set the options you want on the transaction and add the
refs you want to install/update, then start the transaction with
<a class="link" href="#flatpak-transaction-run" title="flatpak_transaction_run ()"><code class="function">flatpak_transaction_run()</code></a>.</p><div class="refsect3"><a id="flatpak-transaction-new-for-installation.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>installation</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakInstallation" title="FlatpakInstallation"><span class="type">FlatpakInstallation</span></a></p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>cancellable</p></td><td class="parameter_description"><p>a <a class="link" href="#"><span class="type">GCancellable</span></a>. </p></td><td class="parameter_annotations"><span class="annotation">[<acronym class="acronym">nullable</acronym>]</span></td></tr><tr><td class="parameter_name"><p>error</p></td><td class="parameter_description"><p>return location for a <a class="link" href="#"><span class="type">GError</span></a></p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-transaction-new-for-installation.returns"></a><h4>Returns</h4><p>a <a class="link" href="#FlatpakTransaction" title="FlatpakTransaction"><span class="type">FlatpakTransaction</span></a>, or <a class="link" href="#"><code class="literal">NULL</code></a> on failure. </p><p><span class="annotation">[<acronym class="acronym">transfer full</acronym>]</span></p></div></div><div class="refsect2"><a id="flatpak-transaction-add-install"></a><h3>flatpak_transaction_add_install ()</h3><a id="id10208" class="indexterm"></a><pre class="programlisting"><a class="link" href="#"><span class="returnvalue">gboolean</span></a>
flatpak_transaction_add_install (<em class="parameter"><code><a class="link" href="#FlatpakTransaction" title="FlatpakTransaction"><span class="type">FlatpakTransaction</span></a> *self</code></em>,
                                 <em class="parameter"><code>const <a class="link" href="#"><span class="type">char</span></a> *remote</code></em>,
                                 <em class="parameter"><code>const <a class="link" href="#"><span class="type">char</span></a> *ref</code></em>,
                                 <em class="parameter"><code>const <a class="link" href="#"><span class="type">char</span></a> **subpaths</code></em>,
                                 <em class="parameter"><code><a class="link" href="#"><span class="type">GError</span></a> **error</code></em>);</pre><p>Adds installing the given ref to this transaction.</p><p>The <em class="parameter"><code>remote</code></em>
 can either be a configured remote of the installation,
or a file:// uri pointing at a local repository to install from,
in which case an origin remote is created.</p><div class="refsect3"><a id="flatpak-transaction-add-install.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakTransaction" title="FlatpakTransaction"><span class="type">FlatpakTransaction</span></a></p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>remote</p></td><td class="parameter_description"><p>the name of the remote</p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>ref</p></td><td class="parameter_description"><p>the ref</p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>subpaths</p></td><td class="parameter_description"><p>subpaths to install, or the
empty list or <a class="link" href="#"><code class="literal">NULL</code></a> to pull all subpaths. </p></td><td class="parameter_annotations"><span class="annotation">[<acronym class="acronym">nullable</acronym>][<acronym class="acronym">array</acronym> zero-terminated=1]</span></td></tr><tr><td class="parameter_name"><p>error</p></td><td class="parameter_description"><p>return location for a <a class="link" href="#"><span class="type">GError</span></a></p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-transaction-add-install.returns"></a><h4>Returns</h4><p> <a class="link" href="#"><code class="literal">TRUE</code></a> on success; <a class="link" href="#"><code class="literal">FALSE</code></a> with <em class="parameter"><code>error</code></em>
set on failure.</p></div></div><div class="refsect2"><a id="flatpak-transaction-add-install-bundle"></a><h3>flatpak_transaction_add_install_bundle ()</h3><a id="id10287" class="indexterm"></a><pre class="programlisting"><a class="link" href="#"><span class="returnvalue">gboolean</span></a>
flatpak_transaction_add_install_bundle
                               (<em class="parameter"><code><a class="link" href="#FlatpakTransaction" title="FlatpakTransaction"><span class="type">FlatpakTransaction</span></a> *self</code></em>,
                                <em class="parameter"><code><a class="link" href="#"><span class="type">GFile</span></a> *file</code></em>,
                                <em class="parameter"><code><a class="link" href="#"><span class="type">GBytes</span></a> *gpg_data</code></em>,
                                <em class="parameter"><code><a class="link" href="#"><span class="type">GError</span></a> **error</code></em>);</pre><p>Adds installing the given bundle to this transaction.</p><div class="refsect3"><a id="flatpak-transaction-add-install-bundle.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakTransaction" title="FlatpakTransaction"><span class="type">FlatpakTransaction</span></a></p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>file</p></td><td class="parameter_description"><p>a <a class="link" href="#"><span class="type">GFile</span></a> that is an flatpak bundle</p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>gpg_data</p></td><td class="parameter_description"><p>GPG key with which to check bundle signatures, or
<a class="link" href="#"><code class="literal">NULL</code></a> to use the key embedded in the bundle (if any). </p></td><td class="parameter_annotations"><span class="annotation">[<acronym class="acronym">nullable</acronym>]</span></td></tr><tr><td class="parameter_name"><p>error</p></td><td class="parameter_description"><p>return location for a <a class="link" href="#"><span class="type">GError</span></a></p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-transaction-add-install-bundle.returns"></a><h4>Returns</h4><p> <a class="link" href="#"><code class="literal">TRUE</code></a> on success; <a class="link" href="#"><code class="literal">FALSE</code></a> with <em class="parameter"><code>error</code></em>
set on failure.</p></div></div><div class="refsect2"><a id="flatpak-transaction-add-install-flatpakref"></a><h3>flatpak_transaction_add_install_flatpakref ()</h3><a id="id10356" class="indexterm"></a><pre class="programlisting"><a class="link" href="#"><span class="returnvalue">gboolean</span></a>
flatpak_transaction_add_install_flatpakref
                               (<em class="parameter"><code><a class="link" href="#FlatpakTransaction" title="FlatpakTransaction"><span class="type">FlatpakTransaction</span></a> *self</code></em>,
                                <em class="parameter"><code><a class="link" href="#"><span class="type">GBytes</span></a> *flatpakref_data</code></em>,
                                <em class="parameter"><code><a class="link" href="#"><span class="type">GError</span></a> **error</code></em>);</pre><p>Adds installing the given flatpakref to this transaction.</p><div class="refsect3"><a id="flatpak-transaction-add-install-flatpakref.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakTransaction" title="FlatpakTransaction"><span class="type">FlatpakTransaction</span></a></p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>flatpakref_data</p></td><td class="parameter_description"><p>data from a flatpakref file</p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>error</p></td><td class="parameter_description"><p>return location for a <a class="link" href="#"><span class="type">GError</span></a></p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-transaction-add-install-flatpakref.returns"></a><h4>Returns</h4><p> <a class="link" href="#"><code class="literal">TRUE</code></a> on success; <a class="link" href="#"><code class="literal">FALSE</code></a> with <em class="parameter"><code>error</code></em>
set on failure.</p></div></div><div class="refsect2"><a id="flatpak-transaction-add-rebase"></a><h3>flatpak_transaction_add_rebase ()</h3><a id="id10410" class="indexterm"></a><pre class="programlisting"><a class="link" href="#"><span class="returnvalue">gboolean</span></a>
flatpak_transaction_add_rebase (<em class="parameter"><code><a class="link" href="#FlatpakTransaction" title="FlatpakTransaction"><span class="type">FlatpakTransaction</span></a> *self</code></em>,
                                <em class="parameter"><code>const <a class="link" href="#"><span class="type">char</span></a> *remote</code></em>,
                                <em class="parameter"><code>const <a class="link" href="#"><span class="type">char</span></a> *ref</code></em>,
                                <em class="parameter"><code>const <a class="link" href="#"><span class="type">char</span></a> **subpaths</code></em>,
                                <em class="parameter"><code>const <a class="link" href="#"><span class="type">char</span></a> **previous_ids</code></em>,
                                <em class="parameter"><code><a class="link" href="#"><span class="type">GError</span></a> **error</code></em>);</pre><p>Adds updating the <em class="parameter"><code>previous_ids</code></em>
 of the given ref to this transaction, via either
installing the <em class="parameter"><code>ref</code></em>
 if it was not already present or updating it. This will
treat <em class="parameter"><code>ref</code></em>
 as the result of following an eol-rebase, and data migration from
the refs in <em class="parameter"><code>previous_ids</code></em>
 will be set up.</p><p>If you want to rebase the ref and uninstall the old version of it, consider
using <a class="link" href="#flatpak-transaction-add-rebase-and-uninstall" title="flatpak_transaction_add_rebase_and_uninstall ()"><code class="function">flatpak_transaction_add_rebase_and_uninstall()</code></a> instead. It will add
appropriate dependencies between the rebase and uninstall operations.</p><p>See <a class="link" href="#flatpak-transaction-add-install" title="flatpak_transaction_add_install ()"><code class="function">flatpak_transaction_add_install()</code></a> for a description of <em class="parameter"><code>remote</code></em>
.</p><div class="refsect3"><a id="flatpak-transaction-add-rebase.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakTransaction" title="FlatpakTransaction"><span class="type">FlatpakTransaction</span></a></p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>remote</p></td><td class="parameter_description"><p>the name of the remote</p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>ref</p></td><td class="parameter_description"><p>the ref</p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>subpaths</p></td><td class="parameter_description"><p>the subpaths to include, or <a class="link" href="#"><code class="literal">NULL</code></a> to install the complete ref. </p></td><td class="parameter_annotations"><span class="annotation">[<acronym class="acronym">nullable</acronym>]</span></td></tr><tr><td class="parameter_name"><p>previous_ids</p></td><td class="parameter_description"><p>Previous ids to add to the
given ref. These should simply be the ids, not the full ref names (e.g. org.foo.Bar,
not org.foo.Bar/x86_64/master). </p></td><td class="parameter_annotations"><span class="annotation">[<acronym class="acronym">nullable</acronym>][<acronym class="acronym">array</acronym> zero-terminated=1]</span></td></tr><tr><td class="parameter_name"><p>error</p></td><td class="parameter_description"><p>return location for a <a class="link" href="#"><span class="type">GError</span></a></p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-transaction-add-rebase.returns"></a><h4>Returns</h4><p> <a class="link" href="#"><code class="literal">TRUE</code></a> on success; <a class="link" href="#"><code class="literal">FALSE</code></a> with <em class="parameter"><code>error</code></em>
set on failure.</p></div><p class="since">Since: <a class="link" href="#">1.3.3.</a></p></div><div class="refsect2"><a id="flatpak-transaction-add-rebase-and-uninstall"></a><h3>flatpak_transaction_add_rebase_and_uninstall ()</h3><a id="id10511" class="indexterm"></a><pre class="programlisting"><a class="link" href="#"><span class="returnvalue">gboolean</span></a>
flatpak_transaction_add_rebase_and_uninstall
                               (<em class="parameter"><code><a class="link" href="#FlatpakTransaction" title="FlatpakTransaction"><span class="type">FlatpakTransaction</span></a> *self</code></em>,
                                <em class="parameter"><code>const <a class="link" href="#"><span class="type">char</span></a> *remote</code></em>,
                                <em class="parameter"><code>const <a class="link" href="#"><span class="type">char</span></a> *new_ref</code></em>,
                                <em class="parameter"><code>const <a class="link" href="#"><span class="type">char</span></a> *old_ref</code></em>,
                                <em class="parameter"><code>const <a class="link" href="#"><span class="type">char</span></a> **subpaths</code></em>,
                                <em class="parameter"><code>const <a class="link" href="#"><span class="type">char</span></a> **previous_ids</code></em>,
                                <em class="parameter"><code><a class="link" href="#"><span class="type">GError</span></a> **error</code></em>);</pre><p>Adds updating the <em class="parameter"><code>previous_ids</code></em>
 of the given <em class="parameter"><code>new_ref</code></em>
 to this transaction,
via either installing the <em class="parameter"><code>new_ref</code></em>
 if it was not already present or updating
it. This will treat <em class="parameter"><code>new_ref</code></em>
 as the result of following an eol-rebase, and
data migration from the refs in <em class="parameter"><code>previous_ids</code></em>
 will be set up.</p><p>Also adds an operation to uninstall <em class="parameter"><code>old_ref</code></em>
 to this transaction. This
operation will only be run if the operation to install/update <em class="parameter"><code>new_ref</code></em>

succeeds.</p><p>If <em class="parameter"><code>old_ref</code></em>
 is not already installed (which can happen if requesting to
install an EOLed app, rather than update one which is already installed), the
uninstall operation will silently not be added, and this function will behave
similarly to <a class="link" href="#flatpak-transaction-add-rebase" title="flatpak_transaction_add_rebase ()"><code class="function">flatpak_transaction_add_rebase()</code></a>.</p><p>See <a class="link" href="#flatpak-transaction-add-install" title="flatpak_transaction_add_install ()"><code class="function">flatpak_transaction_add_install()</code></a> for a description of <em class="parameter"><code>remote</code></em>
.</p><div class="refsect3"><a id="flatpak-transaction-add-rebase-and-uninstall.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakTransaction" title="FlatpakTransaction"><span class="type">FlatpakTransaction</span></a></p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>remote</p></td><td class="parameter_description"><p>the name of the remote</p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>new_ref</p></td><td class="parameter_description"><p>the ref to rebase to</p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>old_ref</p></td><td class="parameter_description"><p>the ref to uninstall</p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>subpaths</p></td><td class="parameter_description"><p>the subpaths to include, or <a class="link" href="#"><code class="literal">NULL</code></a> to install the complete ref. </p></td><td class="parameter_annotations"><span class="annotation">[<acronym class="acronym">nullable</acronym>]</span></td></tr><tr><td class="parameter_name"><p>previous_ids</p></td><td class="parameter_description"><p>Previous ids to add to the
given ref. These should simply be the ids, not the full ref names (e.g. org.foo.Bar,
not org.foo.Bar/x86_64/master). </p></td><td class="parameter_annotations"><span class="annotation">[<acronym class="acronym">nullable</acronym>][<acronym class="acronym">array</acronym> zero-terminated=1]</span></td></tr><tr><td class="parameter_name"><p>error</p></td><td class="parameter_description"><p>return location for a <a class="link" href="#"><span class="type">GError</span></a></p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-transaction-add-rebase-and-uninstall.returns"></a><h4>Returns</h4><p> <a class="link" href="#"><code class="literal">TRUE</code></a> on success; <a class="link" href="#"><code class="literal">FALSE</code></a> with <em class="parameter"><code>error</code></em>
set on failure.</p></div><p class="since">Since: <a class="link" href="#">1.15.4</a></p></div><div class="refsect2"><a id="flatpak-transaction-add-update"></a><h3>flatpak_transaction_add_update ()</h3><a id="id10626" class="indexterm"></a><pre class="programlisting"><a class="link" href="#"><span class="returnvalue">gboolean</span></a>
flatpak_transaction_add_update (<em class="parameter"><code><a class="link" href="#FlatpakTransaction" title="FlatpakTransaction"><span class="type">FlatpakTransaction</span></a> *self</code></em>,
                                <em class="parameter"><code>const <a class="link" href="#"><span class="type">char</span></a> *ref</code></em>,
                                <em class="parameter"><code>const <a class="link" href="#"><span class="type">char</span></a> **subpaths</code></em>,
                                <em class="parameter"><code>const <a class="link" href="#"><span class="type">char</span></a> *commit</code></em>,
                                <em class="parameter"><code><a class="link" href="#"><span class="type">GError</span></a> **error</code></em>);</pre><p>Adds updating the given ref to this transaction.</p><div class="refsect3"><a id="flatpak-transaction-add-update.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakTransaction" title="FlatpakTransaction"><span class="type">FlatpakTransaction</span></a></p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>ref</p></td><td class="parameter_description"><p>the ref</p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>subpaths</p></td><td class="parameter_description"><p>subpaths to install; <a class="link" href="#"><code class="literal">NULL</code></a>
to use the current set plus the set of configured languages, or
<code class="literal">{ NULL }</code> or <code class="literal">{ "", NULL }</code> to pull all subpaths. </p></td><td class="parameter_annotations"><span class="annotation">[<acronym class="acronym">nullable</acronym>][<acronym class="acronym">array</acronym> zero-terminated=1]</span></td></tr><tr><td class="parameter_name"><p>commit</p></td><td class="parameter_description"><p>the commit to update to, or <a class="link" href="#"><code class="literal">NULL</code></a> to use the latest. </p></td><td class="parameter_annotations"><span class="annotation">[<acronym class="acronym">nullable</acronym>]</span></td></tr><tr><td class="parameter_name"><p>error</p></td><td class="parameter_description"><p>return location for a <a class="link" href="#"><span class="type">GError</span></a></p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-transaction-add-update.returns"></a><h4>Returns</h4><p> <a class="link" href="#"><code class="literal">TRUE</code></a> on success; <a class="link" href="#"><code class="literal">FALSE</code></a> with <em class="parameter"><code>error</code></em>
set on failure.</p></div></div><div class="refsect2"><a id="flatpak-transaction-add-uninstall"></a><h3>flatpak_transaction_add_uninstall ()</h3><a id="id10709" class="indexterm"></a><pre class="programlisting"><a class="link" href="#"><span class="returnvalue">gboolean</span></a>
flatpak_transaction_add_uninstall (<em class="parameter"><code><a class="link" href="#FlatpakTransaction" title="FlatpakTransaction"><span class="type">FlatpakTransaction</span></a> *self</code></em>,
                                   <em class="parameter"><code>const <a class="link" href="#"><span class="type">char</span></a> *ref</code></em>,
                                   <em class="parameter"><code><a class="link" href="#"><span class="type">GError</span></a> **error</code></em>);</pre><p>Adds uninstalling the given ref to this transaction. If the transaction is
set to not deploy updates, the request is ignored.</p><div class="refsect3"><a id="flatpak-transaction-add-uninstall.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakTransaction" title="FlatpakTransaction"><span class="type">FlatpakTransaction</span></a></p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>ref</p></td><td class="parameter_description"><p>the ref</p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>error</p></td><td class="parameter_description"><p>return location for a <a class="link" href="#"><span class="type">GError</span></a></p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-transaction-add-uninstall.returns"></a><h4>Returns</h4><p> <a class="link" href="#"><code class="literal">TRUE</code></a> on success; <a class="link" href="#"><code class="literal">FALSE</code></a> with <em class="parameter"><code>error</code></em>
set on failure.</p></div></div><div class="refsect2"><a id="flatpak-transaction-add-default-dependency-sources"></a><h3>flatpak_transaction_add_default_dependency_sources ()</h3><a id="id10763" class="indexterm"></a><pre class="programlisting"><a class="link" href="#"><span class="returnvalue">void</span></a>
flatpak_transaction_add_default_dependency_sources
                               (<em class="parameter"><code><a class="link" href="#FlatpakTransaction" title="FlatpakTransaction"><span class="type">FlatpakTransaction</span></a> *self</code></em>);</pre><p>Similar to <a class="link" href="#flatpak-transaction-add-dependency-source" title="flatpak_transaction_add_dependency_source ()"><code class="function">flatpak_transaction_add_dependency_source()</code></a>, but adds
all the default installations, which means all the defined system-wide
(but not per-user) installations.</p><div class="refsect3"><a id="flatpak-transaction-add-default-dependency-sources.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakTransaction" title="FlatpakTransaction"><span class="type">FlatpakTransaction</span></a></p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div></div><div class="refsect2"><a id="flatpak-transaction-add-dependency-source"></a><h3>flatpak_transaction_add_dependency_source ()</h3><a id="id10791" class="indexterm"></a><pre class="programlisting"><a class="link" href="#"><span class="returnvalue">void</span></a>
flatpak_transaction_add_dependency_source
                               (<em class="parameter"><code><a class="link" href="#FlatpakTransaction" title="FlatpakTransaction"><span class="type">FlatpakTransaction</span></a> *self</code></em>,
                                <em class="parameter"><code><a class="link" href="#FlatpakInstallation" title="FlatpakInstallation"><span class="type">FlatpakInstallation</span></a> *installation</code></em>);</pre><p>Adds an extra installation as a source for application dependencies.
This means that applications can be installed in this transaction relying
on runtimes from this additional installation (whereas it would normally
install required runtimes that are not installed in the installation
the transaction works on).</p><p>Also see <a class="link" href="#flatpak-transaction-add-default-dependency-sources" title="flatpak_transaction_add_default_dependency_sources ()"><code class="function">flatpak_transaction_add_default_dependency_sources()</code></a>.</p><div class="refsect3"><a id="flatpak-transaction-add-dependency-source.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakTransaction" title="FlatpakTransaction"><span class="type">FlatpakTransaction</span></a></p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>installation</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakInstallation" title="FlatpakInstallation"><span class="type">FlatpakInstallation</span></a></p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div></div><div class="refsect2"><a id="flatpak-transaction-run"></a><h3>flatpak_transaction_run ()</h3><a id="id10831" class="indexterm"></a><pre class="programlisting"><a class="link" href="#"><span class="returnvalue">gboolean</span></a>
flatpak_transaction_run (<em class="parameter"><code><a class="link" href="#FlatpakTransaction" title="FlatpakTransaction"><span class="type">FlatpakTransaction</span></a> *transaction</code></em>,
                         <em class="parameter"><code><a class="link" href="#"><span class="type">GCancellable</span></a> *cancellable</code></em>,
                         <em class="parameter"><code><a class="link" href="#"><span class="type">GError</span></a> **error</code></em>);</pre><p>Executes the transaction.</p><p>During the course of the execution, various signals will get emitted.
The FlatpakTransaction::choose-remote-for-ref  and
<a class="link" href="#FlatpakTransaction-add-new-remote" title="The “add-new-remote” signal"><span class="type">“add-new-remote”</span></a> signals may get emitted while
resolving operations. <a class="link" href="#FlatpakTransaction-ready" title="The “ready” signal"><span class="type">“ready”</span></a> is emitted when
the transaction has been fully resolved, and <a class="link" href="#FlatpakTransaction-new-operation" title="The “new-operation” signal"><span class="type">“new-operation”</span></a>
and <a class="link" href="#FlatpakTransaction-operation-done" title="The “operation-done” signal"><span class="type">“operation-done”</span></a> are emitted while the operations
are carried out. If an error occurs at any point during the execution,
<a class="link" href="#FlatpakTransaction-operation-error" title="The “operation-error” signal"><span class="type">“operation-error”</span></a> is emitted.</p><p>Note that this call blocks until the transaction is done.</p><div class="refsect3"><a id="flatpak-transaction-run.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>transaction</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakTransaction" title="FlatpakTransaction"><span class="type">FlatpakTransaction</span></a></p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>cancellable</p></td><td class="parameter_description"><p>a <a class="link" href="#"><span class="type">GCancellable</span></a>. </p></td><td class="parameter_annotations"><span class="annotation">[<acronym class="acronym">nullable</acronym>]</span></td></tr><tr><td class="parameter_name"><p>error</p></td><td class="parameter_description"><p>return location for an error</p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-transaction-run.returns"></a><h4>Returns</h4><p> <a class="link" href="#"><code class="literal">TRUE</code></a> on success, <a class="link" href="#"><code class="literal">FALSE</code></a> if an error occurred</p></div></div><div class="refsect2"><a id="flatpak-transaction-get-current-operation"></a><h3>flatpak_transaction_get_current_operation ()</h3><a id="id10898" class="indexterm"></a><pre class="programlisting"><a class="link" href="#FlatpakTransactionOperation" title="FlatpakTransactionOperation"><span class="returnvalue">FlatpakTransactionOperation</span></a> *
flatpak_transaction_get_current_operation
                               (<em class="parameter"><code><a class="link" href="#FlatpakTransaction" title="FlatpakTransaction"><span class="type">FlatpakTransaction</span></a> *self</code></em>);</pre><p>Gets the current operation.</p><div class="refsect3"><a id="flatpak-transaction-get-current-operation.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakTransaction" title="FlatpakTransaction"><span class="type">FlatpakTransaction</span></a></p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-transaction-get-current-operation.returns"></a><h4>Returns</h4><p>the current <a class="link" href="#FlatpakTransactionOperation" title="FlatpakTransactionOperation"><span class="type">FlatpakTransactionOperation</span></a>. </p><p><span class="annotation">[<acronym class="acronym">transfer full</acronym>]</span></p></div></div><div class="refsect2"><a id="flatpak-transaction-get-installation"></a><h3>flatpak_transaction_get_installation ()</h3><a id="id10932" class="indexterm"></a><pre class="programlisting"><a class="link" href="#FlatpakInstallation" title="FlatpakInstallation"><span class="returnvalue">FlatpakInstallation</span></a> *
flatpak_transaction_get_installation (<em class="parameter"><code><a class="link" href="#FlatpakTransaction" title="FlatpakTransaction"><span class="type">FlatpakTransaction</span></a> *self</code></em>);</pre><p>Gets the installation this transaction was created for.</p><div class="refsect3"><a id="flatpak-transaction-get-installation.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakTransactionOperation" title="FlatpakTransactionOperation"><span class="type">FlatpakTransactionOperation</span></a></p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-transaction-get-installation.returns"></a><h4>Returns</h4><p>a <a class="link" href="#FlatpakInstallation" title="FlatpakInstallation"><span class="type">FlatpakInstallation</span></a>. </p><p><span class="annotation">[<acronym class="acronym">transfer full</acronym>]</span></p></div></div><div class="refsect2"><a id="flatpak-transaction-get-operations"></a><h3>flatpak_transaction_get_operations ()</h3><a id="id10966" class="indexterm"></a><pre class="programlisting"><a class="link" href="#"><span class="returnvalue">GList</span></a> *
flatpak_transaction_get_operations (<em class="parameter"><code><a class="link" href="#FlatpakTransaction" title="FlatpakTransaction"><span class="type">FlatpakTransaction</span></a> *self</code></em>);</pre><p>Gets the list of operations. Skipped operations are not included. The order
of the list is the order in which the operations are executed.</p><div class="refsect3"><a id="flatpak-transaction-get-operations.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakTransaction" title="FlatpakTransaction"><span class="type">FlatpakTransaction</span></a></p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-transaction-get-operations.returns"></a><h4>Returns</h4><p>a <a class="link" href="#"><span class="type">GList</span></a> of operations. </p><p><span class="annotation">[<acronym class="acronym">transfer full</acronym>][<acronym class="acronym">element-type</acronym> FlatpakTransactionOperation]</span></p></div></div><div class="refsect2"><a id="flatpak-transaction-is-empty"></a><h3>flatpak_transaction_is_empty ()</h3><a id="id11001" class="indexterm"></a><pre class="programlisting"><a class="link" href="#"><span class="returnvalue">gboolean</span></a>
flatpak_transaction_is_empty (<em class="parameter"><code><a class="link" href="#FlatpakTransaction" title="FlatpakTransaction"><span class="type">FlatpakTransaction</span></a> *self</code></em>);</pre><p>Returns whether the transaction contains any non-skipped operations.</p><div class="refsect3"><a id="flatpak-transaction-is-empty.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakTransaction" title="FlatpakTransaction"><span class="type">FlatpakTransaction</span></a></p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-transaction-is-empty.returns"></a><h4>Returns</h4><p> <a class="link" href="#"><code class="literal">TRUE</code></a> if the transaction is empty</p></div></div><div class="refsect2"><a id="flatpak-transaction-set-disable-dependencies"></a><h3>flatpak_transaction_set_disable_dependencies ()</h3><a id="id11032" class="indexterm"></a><pre class="programlisting"><a class="link" href="#"><span class="returnvalue">void</span></a>
flatpak_transaction_set_disable_dependencies
                               (<em class="parameter"><code><a class="link" href="#FlatpakTransaction" title="FlatpakTransaction"><span class="type">FlatpakTransaction</span></a> *self</code></em>,
                                <em class="parameter"><code><a class="link" href="#"><span class="type">gboolean</span></a> disable_dependencies</code></em>);</pre><p>Sets whether the transaction should ignore runtime dependencies
when resolving operations for applications.</p><div class="refsect3"><a id="flatpak-transaction-set-disable-dependencies.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakTransaction" title="FlatpakTransaction"><span class="type">FlatpakTransaction</span></a></p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>disable_dependencies</p></td><td class="parameter_description"><p>whether to disable runtime dependencies</p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div></div><div class="refsect2"><a id="flatpak-transaction-set-disable-prune"></a><h3>flatpak_transaction_set_disable_prune ()</h3><a id="id11067" class="indexterm"></a><pre class="programlisting"><a class="link" href="#"><span class="returnvalue">void</span></a>
flatpak_transaction_set_disable_prune (<em class="parameter"><code><a class="link" href="#FlatpakTransaction" title="FlatpakTransaction"><span class="type">FlatpakTransaction</span></a> *self</code></em>,
                                       <em class="parameter"><code><a class="link" href="#"><span class="type">gboolean</span></a> disable_prune</code></em>);</pre><p>Sets whether the transaction should avoid pruning the local OSTree
repository after updating.</p><div class="refsect3"><a id="flatpak-transaction-set-disable-prune.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakTransaction" title="FlatpakTransaction"><span class="type">FlatpakTransaction</span></a></p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>disable_prune</p></td><td class="parameter_description"><p>whether to avoid pruning</p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div></div><div class="refsect2"><a id="flatpak-transaction-set-disable-related"></a><h3>flatpak_transaction_set_disable_related ()</h3><a id="id11102" class="indexterm"></a><pre class="programlisting"><a class="link" href="#"><span class="returnvalue">void</span></a>
flatpak_transaction_set_disable_related
                               (<em class="parameter"><code><a class="link" href="#FlatpakTransaction" title="FlatpakTransaction"><span class="type">FlatpakTransaction</span></a> *self</code></em>,
                                <em class="parameter"><code><a class="link" href="#"><span class="type">gboolean</span></a> disable_related</code></em>);</pre><p>Sets whether the transaction should avoid adding related refs
when resolving operations. Related refs are extensions that are
suggested by apps, such as locales.</p><div class="refsect3"><a id="flatpak-transaction-set-disable-related.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakTransaction" title="FlatpakTransaction"><span class="type">FlatpakTransaction</span></a></p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>disable_related</p></td><td class="parameter_description"><p>whether to avoid adding related refs</p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div></div><div class="refsect2"><a id="flatpak-transaction-set-disable-static-deltas"></a><h3>flatpak_transaction_set_disable_static_deltas ()</h3><a id="id11137" class="indexterm"></a><pre class="programlisting"><a class="link" href="#"><span class="returnvalue">void</span></a>
flatpak_transaction_set_disable_static_deltas
                               (<em class="parameter"><code><a class="link" href="#FlatpakTransaction" title="FlatpakTransaction"><span class="type">FlatpakTransaction</span></a> *self</code></em>,
                                <em class="parameter"><code><a class="link" href="#"><span class="type">gboolean</span></a> disable_static_deltas</code></em>);</pre><p>Sets whether the transaction should avoid using static
deltas when pulling.</p><div class="refsect3"><a id="flatpak-transaction-set-disable-static-deltas.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakTransaction" title="FlatpakTransaction"><span class="type">FlatpakTransaction</span></a></p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>disable_static_deltas</p></td><td class="parameter_description"><p>whether to avoid static deltas</p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div></div><div class="refsect2"><a id="flatpak-transaction-set-no-deploy"></a><h3>flatpak_transaction_set_no_deploy ()</h3><a id="id11172" class="indexterm"></a><pre class="programlisting"><a class="link" href="#"><span class="returnvalue">void</span></a>
flatpak_transaction_set_no_deploy (<em class="parameter"><code><a class="link" href="#FlatpakTransaction" title="FlatpakTransaction"><span class="type">FlatpakTransaction</span></a> *self</code></em>,
                                   <em class="parameter"><code><a class="link" href="#"><span class="type">gboolean</span></a> no_deploy</code></em>);</pre><p>Sets whether the transaction should download updates, but
not deploy them.</p><div class="refsect3"><a id="flatpak-transaction-set-no-deploy.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakTransaction" title="FlatpakTransaction"><span class="type">FlatpakTransaction</span></a></p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>no_deploy</p></td><td class="parameter_description"><p>whether to avoid deploying</p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div></div><div class="refsect2"><a id="flatpak-transaction-get-no-deploy"></a><h3>flatpak_transaction_get_no_deploy ()</h3><a id="id11207" class="indexterm"></a><pre class="programlisting"><a class="link" href="#"><span class="returnvalue">gboolean</span></a>
flatpak_transaction_get_no_deploy (<em class="parameter"><code><a class="link" href="#FlatpakTransaction" title="FlatpakTransaction"><span class="type">FlatpakTransaction</span></a> *self</code></em>);</pre><p>Gets whether the transaction is only downloading updates,
and not deploying them.</p><div class="refsect3"><a id="flatpak-transaction-get-no-deploy.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakTransaction" title="FlatpakTransaction"><span class="type">FlatpakTransaction</span></a></p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-transaction-get-no-deploy.returns"></a><h4>Returns</h4><p> <a class="link" href="#"><code class="literal">TRUE</code></a> if no_deploy is set, <a class="link" href="#"><code class="literal">FALSE</code></a> otherwise</p></div><p class="since">Since: <a class="link" href="#">1.5.1</a></p></div><div class="refsect2"><a id="flatpak-transaction-set-no-pull"></a><h3>flatpak_transaction_set_no_pull ()</h3><a id="id11242" class="indexterm"></a><pre class="programlisting"><a class="link" href="#"><span class="returnvalue">void</span></a>
flatpak_transaction_set_no_pull (<em class="parameter"><code><a class="link" href="#FlatpakTransaction" title="FlatpakTransaction"><span class="type">FlatpakTransaction</span></a> *self</code></em>,
                                 <em class="parameter"><code><a class="link" href="#"><span class="type">gboolean</span></a> no_pull</code></em>);</pre><p>Sets whether the transaction should operate only on locally
available data.</p><div class="refsect3"><a id="flatpak-transaction-set-no-pull.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakTransaction" title="FlatpakTransaction"><span class="type">FlatpakTransaction</span></a></p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>no_pull</p></td><td class="parameter_description"><p>whether to avoid pulls</p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div></div><div class="refsect2"><a id="flatpak-transaction-get-no-pull"></a><h3>flatpak_transaction_get_no_pull ()</h3><a id="id11277" class="indexterm"></a><pre class="programlisting"><a class="link" href="#"><span class="returnvalue">gboolean</span></a>
flatpak_transaction_get_no_pull (<em class="parameter"><code><a class="link" href="#FlatpakTransaction" title="FlatpakTransaction"><span class="type">FlatpakTransaction</span></a> *self</code></em>);</pre><p>Gets whether the transaction should operate only on locally
available data.</p><div class="refsect3"><a id="flatpak-transaction-get-no-pull.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakTransaction" title="FlatpakTransaction"><span class="type">FlatpakTransaction</span></a></p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-transaction-get-no-pull.returns"></a><h4>Returns</h4><p> <a class="link" href="#"><code class="literal">TRUE</code></a> if no_pull is set, <a class="link" href="#"><code class="literal">FALSE</code></a> otherwise</p></div><p class="since">Since: <a class="link" href="#">1.5.1</a></p></div><div class="refsect2"><a id="flatpak-transaction-set-reinstall"></a><h3>flatpak_transaction_set_reinstall ()</h3><a id="id11312" class="indexterm"></a><pre class="programlisting"><a class="link" href="#"><span class="returnvalue">void</span></a>
flatpak_transaction_set_reinstall (<em class="parameter"><code><a class="link" href="#FlatpakTransaction" title="FlatpakTransaction"><span class="type">FlatpakTransaction</span></a> *self</code></em>,
                                   <em class="parameter"><code><a class="link" href="#"><span class="type">gboolean</span></a> reinstall</code></em>);</pre><p>Sets whether the transaction should uninstall first if a
ref is already installed.</p><div class="refsect3"><a id="flatpak-transaction-set-reinstall.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakTransaction" title="FlatpakTransaction"><span class="type">FlatpakTransaction</span></a></p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>reinstall</p></td><td class="parameter_description"><p>whether to reinstall refs</p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div></div><div class="refsect2"><a id="flatpak-transaction-set-force-uninstall"></a><h3>flatpak_transaction_set_force_uninstall ()</h3><a id="id11347" class="indexterm"></a><pre class="programlisting"><a class="link" href="#"><span class="returnvalue">void</span></a>
flatpak_transaction_set_force_uninstall
                               (<em class="parameter"><code><a class="link" href="#FlatpakTransaction" title="FlatpakTransaction"><span class="type">FlatpakTransaction</span></a> *self</code></em>,
                                <em class="parameter"><code><a class="link" href="#"><span class="type">gboolean</span></a> force_uninstall</code></em>);</pre><p>Sets whether the transaction should uninstall files even
if they're used by a running application.</p><div class="refsect3"><a id="flatpak-transaction-set-force-uninstall.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakTransaction" title="FlatpakTransaction"><span class="type">FlatpakTransaction</span></a></p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>force_uninstall</p></td><td class="parameter_description"><p>whether to force-uninstall refs</p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div></div><div class="refsect2"><a id="flatpak-transaction-set-default-arch"></a><h3>flatpak_transaction_set_default_arch ()</h3><a id="id11382" class="indexterm"></a><pre class="programlisting"><a class="link" href="#"><span class="returnvalue">void</span></a>
flatpak_transaction_set_default_arch (<em class="parameter"><code><a class="link" href="#FlatpakTransaction" title="FlatpakTransaction"><span class="type">FlatpakTransaction</span></a> *self</code></em>,
                                      <em class="parameter"><code>const <a class="link" href="#"><span class="type">char</span></a> *arch</code></em>);</pre><p>Sets the architecture to default to where it is unspecified.</p><div class="refsect3"><a id="flatpak-transaction-set-default-arch.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakTransaction" title="FlatpakTransaction"><span class="type">FlatpakTransaction</span></a></p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>arch</p></td><td class="parameter_description"><p>the arch to make default</p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div></div><div class="refsect2"><a id="flatpak-transaction-set-parent-window"></a><h3>flatpak_transaction_set_parent_window ()</h3><a id="id11417" class="indexterm"></a><pre class="programlisting"><a class="link" href="#"><span class="returnvalue">void</span></a>
flatpak_transaction_set_parent_window (<em class="parameter"><code><a class="link" href="#FlatpakTransaction" title="FlatpakTransaction"><span class="type">FlatpakTransaction</span></a> *self</code></em>,
                                       <em class="parameter"><code>const <a class="link" href="#"><span class="type">char</span></a> *parent_window</code></em>);</pre><p>Sets the parent window (if any) to use for any UI show by this transaction.
This is used by authenticators if they need to interact with the user during
authentication.</p><p>The format of this string depends on the display system in use, and is the
same as used by xdg-desktop-portal.</p><p>On X11 it should be of the form x11:$xid where $xid is the hex
version of the xwindows id.</p><p>On wayland is should be wayland:$handle where handle is gotten by
using the export call of the xdg-foreign-unstable wayland extension.</p><div class="refsect3"><a id="flatpak-transaction-set-parent-window.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakTransaction" title="FlatpakTransaction"><span class="type">FlatpakTransaction</span></a></p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>parent_window</p></td><td class="parameter_description"><p>whether to avoid pulls</p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><p class="since">Since: <a class="link" href="#">1.5.1</a></p></div><div class="refsect2"><a id="flatpak-transaction-get-parent-window"></a><h3>flatpak_transaction_get_parent_window ()</h3><a id="id11457" class="indexterm"></a><pre class="programlisting">const <a class="link" href="#"><span class="returnvalue">char</span></a> *
flatpak_transaction_get_parent_window (<em class="parameter"><code><a class="link" href="#FlatpakTransaction" title="FlatpakTransaction"><span class="type">FlatpakTransaction</span></a> *self</code></em>);</pre><p>Gets the parent window set for this transaction, or <a class="link" href="#"><code class="literal">NULL</code></a> if unset. See
<a class="link" href="#flatpak-transaction-get-parent-window" title="flatpak_transaction_get_parent_window ()"><code class="function">flatpak_transaction_get_parent_window()</code></a>.</p><div class="refsect3"><a id="flatpak-transaction-get-parent-window.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakTransaction" title="FlatpakTransaction"><span class="type">FlatpakTransaction</span></a></p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-transaction-get-parent-window.returns"></a><h4>Returns</h4><p>a window name, or <a class="link" href="#"><code class="literal">NULL</code></a>. </p><p><span class="annotation">[<acronym class="acronym">transfer none</acronym>]</span></p></div><p class="since">Since: <a class="link" href="#">1.5.1</a></p></div><div class="refsect2"><a id="flatpak-transaction-abort-webflow"></a><h3>flatpak_transaction_abort_webflow ()</h3><a id="id11497" class="indexterm"></a><pre class="programlisting"><a class="link" href="#"><span class="returnvalue">void</span></a>
flatpak_transaction_abort_webflow (<em class="parameter"><code><a class="link" href="#FlatpakTransaction" title="FlatpakTransaction"><span class="type">FlatpakTransaction</span></a> *self</code></em>,
                                   <em class="parameter"><code><a class="link" href="#"><span class="type">guint</span></a> id</code></em>);</pre><p>Cancel an ongoing webflow authentication request. This can be call
in the time between <a class="link" href="#FlatpakTransaction-webflow-start" title="The “webflow-start” signal"><span class="type">“webflow-start”</span></a> returned
<a class="link" href="#"><code class="literal">TRUE</code></a>, and <a class="link" href="#FlatpakTransaction-webflow-done" title="The “webflow-done” signal"><span class="type">“webflow-done”</span></a> is emitted. It will
cancel the ongoing authentication operation.</p><p>This is useful for example if you're showing an authenticaion
window with a browser, but the user closed it before it was finished.</p><div class="refsect3"><a id="flatpak-transaction-abort-webflow.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakTransaction" title="FlatpakTransaction"><span class="type">FlatpakTransaction</span></a></p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>id</p></td><td class="parameter_description"><p>The webflow id, as passed into the webflow-start signal</p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><p class="since">Since: <a class="link" href="#">1.5.1</a></p></div></div><div class="refsect1"><a id="FlatpakTransaction.other_details"></a><h2>Types and Values</h2><div class="refsect2"><a id="FlatpakTransaction-struct"></a><h3>FlatpakTransaction</h3><a id="id11543" class="indexterm"></a><pre class="programlisting">typedef struct _FlatpakTransaction FlatpakTransaction;</pre></div><div class="refsect2"><a id="FlatpakTransactionOperationType"></a><h3>enum FlatpakTransactionOperationType</h3><a id="id11547" class="indexterm"></a><p>The type of a <a class="link" href="#FlatpakTransactionOperation" title="FlatpakTransactionOperation"><span class="type">FlatpakTransactionOperation</span></a>.</p><div class="refsect3"><a id="FlatpakTransactionOperationType.members"></a><h4>Members</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="300px" class="enum_members_name" /><col class="enum_members_description" /><col width="200px" class="enum_members_annotations" /></colgroup><tbody><tr><td class="enum_member_name"><p><a id="FLATPAK-TRANSACTION-OPERATION-INSTALL:CAPS"></a>FLATPAK_TRANSACTION_OPERATION_INSTALL</p></td><td class="enum_member_description"><p>Install a ref from a remote</p>
</td><td class="enum_member_annotations"> </td></tr><tr><td class="enum_member_name"><p><a id="FLATPAK-TRANSACTION-OPERATION-UPDATE:CAPS"></a>FLATPAK_TRANSACTION_OPERATION_UPDATE</p></td><td class="enum_member_description"><p>Update an installed ref</p>
</td><td class="enum_member_annotations"> </td></tr><tr><td class="enum_member_name"><p><a id="FLATPAK-TRANSACTION-OPERATION-INSTALL-BUNDLE:CAPS"></a>FLATPAK_TRANSACTION_OPERATION_INSTALL_BUNDLE</p></td><td class="enum_member_description"><p>Install a bundle from a file</p>
</td><td class="enum_member_annotations"> </td></tr><tr><td class="enum_member_name"><p><a id="FLATPAK-TRANSACTION-OPERATION-UNINSTALL:CAPS"></a>FLATPAK_TRANSACTION_OPERATION_UNINSTALL</p></td><td class="enum_member_description"><p>Uninstall a ref</p>
</td><td class="enum_member_annotations"> </td></tr><tr><td class="enum_member_name"><p><a id="FLATPAK-TRANSACTION-OPERATION-LAST-TYPE:CAPS"></a>FLATPAK_TRANSACTION_OPERATION_LAST_TYPE</p></td><td class="enum_member_description"><p>The (currently) last operation type</p>
</td><td class="enum_member_annotations"> </td></tr></tbody></table></div></div></div><div class="refsect2"><a id="FlatpakTransactionErrorDetails"></a><h3>enum FlatpakTransactionErrorDetails</h3><a id="id11591" class="indexterm"></a><p>The details for <a class="link" href="#FlatpakTransaction-operation-error" title="The “operation-error” signal"><span class="type">“operation-error”</span></a>.</p><div class="refsect3"><a id="FlatpakTransactionErrorDetails.members"></a><h4>Members</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="300px" class="enum_members_name" /><col class="enum_members_description" /><col width="200px" class="enum_members_annotations" /></colgroup><tbody><tr><td class="enum_member_name"><p><a id="FLATPAK-TRANSACTION-ERROR-DETAILS-NON-FATAL:CAPS"></a>FLATPAK_TRANSACTION_ERROR_DETAILS_NON_FATAL</p></td><td class="enum_member_description"><p>The operation failure was not fatal</p>
</td><td class="enum_member_annotations"> </td></tr></tbody></table></div></div></div><div class="refsect2"><a id="FlatpakTransactionRemoteReason"></a><h3>enum FlatpakTransactionRemoteReason</h3><a id="id11611" class="indexterm"></a><p>The reason for <a class="link" href="#FlatpakTransaction-add-new-remote" title="The “add-new-remote” signal"><span class="type">“add-new-remote”</span></a>.</p><div class="refsect3"><a id="FlatpakTransactionRemoteReason.members"></a><h4>Members</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="300px" class="enum_members_name" /><col class="enum_members_description" /><col width="200px" class="enum_members_annotations" /></colgroup><tbody><tr><td class="enum_member_name"><p><a id="FLATPAK-TRANSACTION-REMOTE-GENERIC-REPO:CAPS"></a>FLATPAK_TRANSACTION_REMOTE_GENERIC_REPO</p></td><td class="enum_member_description"><p>The remote specified in the flatpakref has other apps too</p>
</td><td class="enum_member_annotations"> </td></tr><tr><td class="enum_member_name"><p><a id="FLATPAK-TRANSACTION-REMOTE-RUNTIME-DEPS:CAPS"></a>FLATPAK_TRANSACTION_REMOTE_RUNTIME_DEPS</p></td><td class="enum_member_description"><p>The remote has runtimes needed for the app</p>
</td><td class="enum_member_annotations"> </td></tr></tbody></table></div></div></div><div class="refsect2"><a id="FlatpakTransactionResult"></a><h3>enum FlatpakTransactionResult</h3><a id="id11637" class="indexterm"></a><p>The details for <a class="link" href="#FlatpakTransaction-operation-done" title="The “operation-done” signal"><span class="type">“operation-done”</span></a>.</p><div class="refsect3"><a id="FlatpakTransactionResult.members"></a><h4>Members</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="300px" class="enum_members_name" /><col class="enum_members_description" /><col width="200px" class="enum_members_annotations" /></colgroup><tbody><tr><td class="enum_member_name"><p><a id="FLATPAK-TRANSACTION-RESULT-NO-CHANGE:CAPS"></a>FLATPAK_TRANSACTION_RESULT_NO_CHANGE</p></td><td class="enum_member_description"><p>The update caused no changes</p>
</td><td class="enum_member_annotations"> </td></tr></tbody></table></div></div></div></div><div class="refsect1"><a id="FlatpakTransaction.property-details"></a><h2>Property Details</h2><div class="refsect2"><a id="FlatpakTransaction--installation"></a><h3>The <code class="literal">“installation”</code> property</h3><a id="id11660" class="indexterm"></a><pre class="programlisting">  “installation”             <a class="link" href="#FlatpakInstallation" title="FlatpakInstallation"><span class="type">FlatpakInstallation</span></a> *</pre><p>The installation that the transaction operates on.</p><p>Owner: FlatpakTransaction</p><p>Flags: Read / Write / Construct Only</p></div><div class="refsect2"><a id="FlatpakTransaction--no-interaction"></a><h3>The <code class="literal">“no-interaction”</code> property</h3><a id="id11670" class="indexterm"></a><pre class="programlisting">  “no-interaction”           <a class="link" href="#"><span class="type">gboolean</span></a></pre><p><a class="link" href="#"><code class="literal">TRUE</code></a> if the transaction is not interactive, <a class="link" href="#"><code class="literal">FALSE</code></a> otherwise.</p><p>See <a class="link" href="#"><code class="function">flatpak_transaction_set_no_interaction()</code></a>.</p><p>Owner: FlatpakTransaction</p><p>Flags: Read / Write</p><p>Default value: FALSE</p><p class="since">Since: <a class="link" href="#">1.13.0</a></p></div></div><div class="refsect1"><a id="FlatpakTransaction.signal-details"></a><h2>Signal Details</h2><div class="refsect2"><a id="FlatpakTransaction-add-new-remote"></a><h3>The <code class="literal">“add-new-remote”</code> signal</h3><a id="id11692" class="indexterm"></a><pre class="programlisting"><a class="link" href="#"><span class="returnvalue">gboolean</span></a>
user_function (<a class="link" href="#FlatpakTransaction" title="FlatpakTransaction"><span class="type">FlatpakTransaction</span></a> *object,
               <a class="link" href="#"><span class="type">int</span></a>                 reason,
               <a class="link" href="#"><span class="type">char</span></a>               *from_id,
               <a class="link" href="#"><span class="type">char</span></a>               *suggested_remote_name,
               <a class="link" href="#"><span class="type">char</span></a>               *url,
               <a class="link" href="#"><span class="type">gpointer</span></a>            user_data)</pre><p>The ::add-new-remote signal gets emitted if, as part of the transaction,
it is required or recommended that a new remote is added, for the reason
described in <em class="parameter"><code>reason</code></em>
.</p><div class="refsect3"><a id="FlatpakTransaction-add-new-remote.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>object</p></td><td class="parameter_description"><p>A <a class="link" href="#FlatpakTransaction" title="FlatpakTransaction"><span class="type">FlatpakTransaction</span></a></p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>reason</p></td><td class="parameter_description"><p>A <a class="link" href="#FlatpakTransactionRemoteReason" title="enum FlatpakTransactionRemoteReason"><span class="type">FlatpakTransactionRemoteReason</span></a> for this suggestion. </p></td><td class="parameter_annotations"><span class="annotation">[<acronym class="acronym">type</acronym> FlatpakTransactionRemoteReason]</span></td></tr><tr><td class="parameter_name"><p>from_id</p></td><td class="parameter_description"><p>The id of the app/runtime</p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>suggested_remote_name</p></td><td class="parameter_description"><p>The suggested remote name</p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>url</p></td><td class="parameter_description"><p>The repo url</p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>user_data</p></td><td class="parameter_description"><p>user data set when the signal handler was connected.</p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="FlatpakTransaction-add-new-remote.returns"></a><h4>Returns</h4><p> <a class="link" href="#"><code class="literal">TRUE</code></a> to add the remote</p></div><p>Flags: <a class="link" href="#">Run Last</a></p></div><div class="refsect2"><a id="FlatpakTransaction-basic-auth-start"></a><h3>The <code class="literal">“basic-auth-start”</code> signal</h3><a id="id11770" class="indexterm"></a><pre class="programlisting"><a class="link" href="#"><span class="returnvalue">gboolean</span></a>
user_function (<a class="link" href="#FlatpakTransaction" title="FlatpakTransaction"><span class="type">FlatpakTransaction</span></a> *object,
               <a class="link" href="#"><span class="type">char</span></a>               *remote,
               <a class="link" href="#"><span class="type">char</span></a>               *realm,
               <a class="link" href="#"><span class="type">GVariant</span></a>           *options,
               <a class="link" href="#"><span class="type">int</span></a>                 id,
               <a class="link" href="#"><span class="type">gpointer</span></a>            user_data)</pre><p>The ::basic-auth-start signal gets emitted when a basic user/password
authentication is needed during the operation. If the caller handles this
it should ask the user for the user and password and return <a class="link" href="#"><code class="literal">TRUE</code></a>. Once
the information is gathered call <a class="link" href="#"><code class="function">flatpak_transaction_complete_basic_auth()</code></a>
with it.</p><p>If the client does not support basic auth then return <a class="link" href="#"><code class="literal">FALSE</code></a> from this signal
(or don't implement it). This will abort the authentication and likely
result in the transaction failing (unless the authentication was somehow
optional).</p><div class="refsect3"><a id="FlatpakTransaction-basic-auth-start.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>object</p></td><td class="parameter_description"><p>A <a class="link" href="#FlatpakTransaction" title="FlatpakTransaction"><span class="type">FlatpakTransaction</span></a></p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>remote</p></td><td class="parameter_description"><p>The remote we're authenticating with</p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>realm</p></td><td class="parameter_description"><p>The url to show</p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>options</p></td><td class="parameter_description"><p>Extra options, currently unused</p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>id</p></td><td class="parameter_description"><p>The id of the operation, can be used to finish it</p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>user_data</p></td><td class="parameter_description"><p>user data set when the signal handler was connected.</p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><p>Flags: <a class="link" href="#">Run Last</a></p><p class="since">Since: <a class="link" href="#">1.5.2</a></p></div><div class="refsect2"><a id="FlatpakTransaction-choose-remote-for-ref"></a><h3>The <code class="literal">“choose-remote-for-ref”</code> signal</h3><a id="id11847" class="indexterm"></a><pre class="programlisting"><a class="link" href="#"><span class="returnvalue">int</span></a>
user_function (<a class="link" href="#FlatpakTransaction" title="FlatpakTransaction"><span class="type">FlatpakTransaction</span></a> *object,
               <a class="link" href="#"><span class="type">char</span></a>               *for_ref,
               <a class="link" href="#"><span class="type">char</span></a>               *runtime_ref,
               <a class="link" href="#"><span class="type">GStrv</span></a>               remotes,
               <a class="link" href="#"><span class="type">gpointer</span></a>            user_data)</pre><p>The ::choose-remote-for-ref signal gets emitted when a
remote needs to be selected during the execution of the transaction.</p><div class="refsect3"><a id="FlatpakTransaction-choose-remote-for-ref.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>object</p></td><td class="parameter_description"><p>A <a class="link" href="#FlatpakTransaction" title="FlatpakTransaction"><span class="type">FlatpakTransaction</span></a></p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>for_ref</p></td><td class="parameter_description"><p>The ref we are installing</p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>runtime_ref</p></td><td class="parameter_description"><p>The ref we are looking for</p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>remotes</p></td><td class="parameter_description"><p>the remotes that has the ref, sorted in prio order</p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>user_data</p></td><td class="parameter_description"><p>user data set when the signal handler was connected.</p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="FlatpakTransaction-choose-remote-for-ref.returns"></a><h4>Returns</h4><p> the index of the remote to use, or -1 to not pick one (and fail)</p></div><p>Flags: <a class="link" href="#">Run Last</a></p></div><div class="refsect2"><a id="FlatpakTransaction-end-of-lifed"></a><h3>The <code class="literal">“end-of-lifed”</code> signal</h3><a id="id11910" class="indexterm"></a><pre class="programlisting"><a class="link" href="#"><span class="returnvalue">void</span></a>
user_function (<a class="link" href="#FlatpakTransaction" title="FlatpakTransaction"><span class="type">FlatpakTransaction</span></a> *object,
               <a class="link" href="#"><span class="type">char</span></a>               *ref,
               <a class="link" href="#"><span class="type">char</span></a>               *reason,
               <a class="link" href="#"><span class="type">char</span></a>               *rebase,
               <a class="link" href="#"><span class="type">gpointer</span></a>            user_data)</pre><p>The ::end-of-lifed signal gets emitted when a ref is found to
be marked as end-of-life during the execution of the transaction.</p><div class="refsect3"><a id="FlatpakTransaction-end-of-lifed.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>object</p></td><td class="parameter_description"><p>A <a class="link" href="#FlatpakTransaction" title="FlatpakTransaction"><span class="type">FlatpakTransaction</span></a></p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>ref</p></td><td class="parameter_description"><p>The ref we are installing</p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>reason</p></td><td class="parameter_description"><p>The eol reason, or <a class="link" href="#"><code class="literal">NULL</code></a></p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>rebase</p></td><td class="parameter_description"><p>The new name, if rebased, or <a class="link" href="#"><code class="literal">NULL</code></a></p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>user_data</p></td><td class="parameter_description"><p>user data set when the signal handler was connected.</p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><p>Flags: <a class="link" href="#">Run Last</a></p></div><div class="refsect2"><a id="FlatpakTransaction-end-of-lifed-with-rebase"></a><h3>The <code class="literal">“end-of-lifed-with-rebase”</code> signal</h3><a id="id11974" class="indexterm"></a><pre class="programlisting"><a class="link" href="#"><span class="returnvalue">gboolean</span></a>
user_function (<a class="link" href="#FlatpakTransaction" title="FlatpakTransaction"><span class="type">FlatpakTransaction</span></a> *object,
               <a class="link" href="#"><span class="type">char</span></a>               *remote,
               <a class="link" href="#"><span class="type">char</span></a>               *ref,
               <a class="link" href="#"><span class="type">char</span></a>               *reason,
               <a class="link" href="#"><span class="type">char</span></a>               *rebased_to_ref,
               <a class="link" href="#"><span class="type">GStrv</span></a>               previous_ids,
               <a class="link" href="#"><span class="type">gpointer</span></a>            user_data)</pre><p>The ::end-of-lifed-with-rebase signal gets emitted when a ref is found
to be marked as end-of-life before the transaction begins. Unlike
<a class="link" href="#FlatpakTransaction-end-of-lifed" title="The “end-of-lifed” signal"><span class="type">“end-of-lifed”</span></a>, this signal allows for the
transaction to be modified in order to e.g. install the rebased
ref.</p><p>If the caller wants to install the rebased ref, they should call
<a class="link" href="#flatpak-transaction-add-rebase-and-uninstall" title="flatpak_transaction_add_rebase_and_uninstall ()"><code class="function">flatpak_transaction_add_rebase_and_uninstall()</code></a> on <em class="parameter"><code>rebased_to_ref</code></em>
 and <em class="parameter"><code>ref</code></em>
,
and return <a class="link" href="#"><code class="literal">TRUE</code></a>. Otherwise <a class="link" href="#"><code class="literal">FALSE</code></a> may be returned.</p><div class="refsect3"><a id="FlatpakTransaction-end-of-lifed-with-rebase.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>object</p></td><td class="parameter_description"><p>A <a class="link" href="#FlatpakTransaction" title="FlatpakTransaction"><span class="type">FlatpakTransaction</span></a></p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>remote</p></td><td class="parameter_description"><p>The remote for the ref we are processing</p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>ref</p></td><td class="parameter_description"><p>The ref we are processing</p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>reason</p></td><td class="parameter_description"><p>The eol reason, or <a class="link" href="#"><code class="literal">NULL</code></a></p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>rebased_to_ref</p></td><td class="parameter_description"><p>The new name, if rebased, or <a class="link" href="#"><code class="literal">NULL</code></a></p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>previous_ids</p></td><td class="parameter_description"><p>The previous names for the rebased ref (if any), including the one from <em class="parameter"><code>ref</code></em>
</p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>user_data</p></td><td class="parameter_description"><p>user data set when the signal handler was connected.</p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="FlatpakTransaction-end-of-lifed-with-rebase.returns"></a><h4>Returns</h4><p> <a class="link" href="#"><code class="literal">TRUE</code></a> if the operation on this end-of-lifed ref should
be skipped (e.g. because the rebased ref has been added to the
transaction), <a class="link" href="#"><code class="literal">FALSE</code></a> if it should remain.</p></div><p>Flags: <a class="link" href="#">Run Last</a></p><p class="since">Since: <a class="link" href="#">1.3.2</a></p></div><div class="refsect2"><a id="FlatpakTransaction-install-authenticator"></a><h3>The <code class="literal">“install-authenticator”</code> signal</h3><a id="id12075" class="indexterm"></a><pre class="programlisting"><a class="link" href="#"><span class="returnvalue">void</span></a>
user_function (<a class="link" href="#FlatpakTransaction" title="FlatpakTransaction"><span class="type">FlatpakTransaction</span></a> *object,
               <a class="link" href="#"><span class="type">char</span></a>               *remote,
               <a class="link" href="#"><span class="type">char</span></a>               *authenticator_ref,
               <a class="link" href="#"><span class="type">gpointer</span></a>            user_data)</pre><p>The ::install-authenticator signal gets emitted if, as part of
resolving the transaction, we need to use an authenticator, but the authentication
is not installed, but is available to be installed from the ref.</p><p>The application can handle this signal, and if so create another transaction
to install the authenticator.</p><p>The default handler does nothing, and if the authenticator is not installed when
the signal handler fails the transaction will error out.</p><div class="refsect3"><a id="FlatpakTransaction-install-authenticator.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>object</p></td><td class="parameter_description"><p>A <a class="link" href="#FlatpakTransaction" title="FlatpakTransaction"><span class="type">FlatpakTransaction</span></a></p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>remote</p></td><td class="parameter_description"><p>The remote name</p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>authenticator_ref</p></td><td class="parameter_description"><p>The ref for the authenticator</p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>user_data</p></td><td class="parameter_description"><p>user data set when the signal handler was connected.</p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><p>Flags: <a class="link" href="#">Run Last</a></p><p class="since">Since: <a class="link" href="#">1.8.0</a></p></div><div class="refsect2"><a id="FlatpakTransaction-new-operation"></a><h3>The <code class="literal">“new-operation”</code> signal</h3><a id="id12131" class="indexterm"></a><pre class="programlisting"><a class="link" href="#"><span class="returnvalue">void</span></a>
user_function (<a class="link" href="#FlatpakTransaction" title="FlatpakTransaction"><span class="type">FlatpakTransaction</span></a>          *object,
               <a class="link" href="#FlatpakTransactionOperation" title="FlatpakTransactionOperation"><span class="type">FlatpakTransactionOperation</span></a> *operation,
               <a class="link" href="#FlatpakTransactionProgress" title="FlatpakTransactionProgress"><span class="type">FlatpakTransactionProgress</span></a>  *progress,
               <a class="link" href="#"><span class="type">gpointer</span></a>                     user_data)</pre><p>The ::new-operation signal gets emitted during the execution of
the transaction when a new operation is beginning.</p><div class="refsect3"><a id="FlatpakTransaction-new-operation.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>object</p></td><td class="parameter_description"><p>A <a class="link" href="#FlatpakTransaction" title="FlatpakTransaction"><span class="type">FlatpakTransaction</span></a></p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>operation</p></td><td class="parameter_description"><p>The new <a class="link" href="#FlatpakTransactionOperation" title="FlatpakTransactionOperation"><span class="type">FlatpakTransactionOperation</span></a></p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>progress</p></td><td class="parameter_description"><p>A <a class="link" href="#FlatpakTransactionProgress" title="FlatpakTransactionProgress"><span class="type">FlatpakTransactionProgress</span></a> for <em class="parameter"><code>operation</code></em>
</p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>user_data</p></td><td class="parameter_description"><p>user data set when the signal handler was connected.</p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><p>Flags: <a class="link" href="#">Run Last</a></p></div><div class="refsect2"><a id="FlatpakTransaction-operation-done"></a><h3>The <code class="literal">“operation-done”</code> signal</h3><a id="id12188" class="indexterm"></a><pre class="programlisting"><a class="link" href="#"><span class="returnvalue">void</span></a>
user_function (<a class="link" href="#FlatpakTransaction" title="FlatpakTransaction"><span class="type">FlatpakTransaction</span></a>          *object,
               <a class="link" href="#FlatpakTransactionOperation" title="FlatpakTransactionOperation"><span class="type">FlatpakTransactionOperation</span></a> *operation,
               <a class="link" href="#"><span class="type">char</span></a>                        *commit,
               <a class="link" href="#"><span class="type">int</span></a>                          result,
               <a class="link" href="#"><span class="type">gpointer</span></a>                     user_data)</pre><p>The ::operation-done signal gets emitted during the execution of
the transaction when an operation is finished.</p><div class="refsect3"><a id="FlatpakTransaction-operation-done.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>object</p></td><td class="parameter_description"><p>A <a class="link" href="#FlatpakTransaction" title="FlatpakTransaction"><span class="type">FlatpakTransaction</span></a></p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>operation</p></td><td class="parameter_description"><p>The <a class="link" href="#FlatpakTransactionOperation" title="FlatpakTransactionOperation"><span class="type">FlatpakTransactionOperation</span></a> which finished</p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>commit</p></td><td class="parameter_description"><p>The commit. </p></td><td class="parameter_annotations"><span class="annotation">[<acronym class="acronym">nullable</acronym>]</span></td></tr><tr><td class="parameter_name"><p>result</p></td><td class="parameter_description"><p>A <a class="link" href="#FlatpakTransactionResult" title="enum FlatpakTransactionResult"><span class="type">FlatpakTransactionResult</span></a> giving details about the result. </p></td><td class="parameter_annotations"><span class="annotation">[<acronym class="acronym">type</acronym> FlatpakTransactionResult]</span></td></tr><tr><td class="parameter_name"><p>user_data</p></td><td class="parameter_description"><p>user data set when the signal handler was connected.</p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><p>Flags: <a class="link" href="#">Run Last</a></p></div><div class="refsect2"><a id="FlatpakTransaction-operation-error"></a><h3>The <code class="literal">“operation-error”</code> signal</h3><a id="id12256" class="indexterm"></a><pre class="programlisting"><a class="link" href="#"><span class="returnvalue">gboolean</span></a>
user_function (<a class="link" href="#FlatpakTransaction" title="FlatpakTransaction"><span class="type">FlatpakTransaction</span></a>          *object,
               <a class="link" href="#FlatpakTransactionOperation" title="FlatpakTransactionOperation"><span class="type">FlatpakTransactionOperation</span></a> *operation,
               <a class="link" href="#"><span class="type">GError</span></a>                      *error,
               <a class="link" href="#"><span class="type">int</span></a>                          details,
               <a class="link" href="#"><span class="type">gpointer</span></a>                     user_data)</pre><p>The ::operation-error signal gets emitted when an error occurs during the
execution of the transaction.</p><div class="refsect3"><a id="FlatpakTransaction-operation-error.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>object</p></td><td class="parameter_description"><p>A <a class="link" href="#FlatpakTransaction" title="FlatpakTransaction"><span class="type">FlatpakTransaction</span></a></p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>operation</p></td><td class="parameter_description"><p>The <a class="link" href="#FlatpakTransactionOperation" title="FlatpakTransactionOperation"><span class="type">FlatpakTransactionOperation</span></a> which failed</p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>error</p></td><td class="parameter_description"><p>A <a class="link" href="#"><span class="type">GError</span></a></p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>details</p></td><td class="parameter_description"><p>A <a class="link" href="#FlatpakTransactionErrorDetails" title="enum FlatpakTransactionErrorDetails"><span class="type">FlatpakTransactionErrorDetails</span></a> with details about the error. </p></td><td class="parameter_annotations"><span class="annotation">[<acronym class="acronym">type</acronym> FlatpakTransactionErrorDetails]</span></td></tr><tr><td class="parameter_name"><p>user_data</p></td><td class="parameter_description"><p>user data set when the signal handler was connected.</p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="FlatpakTransaction-operation-error.returns"></a><h4>Returns</h4><p> the <a class="link" href="#"><code class="literal">TRUE</code></a> to continue transaction, <a class="link" href="#"><code class="literal">FALSE</code></a> to stop</p></div><p>Flags: <a class="link" href="#">Run Last</a></p></div><div class="refsect2"><a id="FlatpakTransaction-ready"></a><h3>The <code class="literal">“ready”</code> signal</h3><a id="id12331" class="indexterm"></a><pre class="programlisting"><a class="link" href="#"><span class="returnvalue">gboolean</span></a>
user_function (<a class="link" href="#FlatpakTransaction" title="FlatpakTransaction"><span class="type">FlatpakTransaction</span></a> *object,
               <a class="link" href="#"><span class="type">gpointer</span></a>            user_data)</pre><p>The ::ready signal is emitted when all the refs involved in the operation
have been resolved to commits, and the required authentication for all ops is gotten.
At this point <a class="link" href="#flatpak-transaction-get-operations" title="flatpak_transaction_get_operations ()"><code class="function">flatpak_transaction_get_operations()</code></a> will return all the operations
that will be executed as part of the transaction.</p><div class="refsect3"><a id="FlatpakTransaction-ready.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>object</p></td><td class="parameter_description"><p>A <a class="link" href="#FlatpakTransaction" title="FlatpakTransaction"><span class="type">FlatpakTransaction</span></a></p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>user_data</p></td><td class="parameter_description"><p>user data set when the signal handler was connected.</p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="FlatpakTransaction-ready.returns"></a><h4>Returns</h4><p> <a class="link" href="#"><code class="literal">TRUE</code></a> to carry on with the transaction, <a class="link" href="#"><code class="literal">FALSE</code></a> to abort</p></div><p>Flags: <a class="link" href="#">Run Last</a></p></div><div class="refsect2"><a id="FlatpakTransaction-ready-pre-auth"></a><h3>The <code class="literal">“ready-pre-auth”</code> signal</h3><a id="id12376" class="indexterm"></a><pre class="programlisting"><a class="link" href="#"><span class="returnvalue">gboolean</span></a>
user_function (<a class="link" href="#FlatpakTransaction" title="FlatpakTransaction"><span class="type">FlatpakTransaction</span></a> *object,
               <a class="link" href="#"><span class="type">gpointer</span></a>            user_data)</pre><p>The ::ready-pre-auth signal is emitted when all the refs involved in the
transaction have been resolved to commits, but we might not necessarily
have asked for authentication for all their required operations. This is
very similar to the ::ready signal, and you can choose which one (or both)
to use depending on how you want to handle authentication in your user
interface.</p><p>At this point <a class="link" href="#flatpak-transaction-get-operations" title="flatpak_transaction_get_operations ()"><code class="function">flatpak_transaction_get_operations()</code></a> will return all the
operations that will be executed as part of the transaction. You can call
<a class="link" href="#"><code class="function">flatpak_transaction_operation_get_requires_authentication()</code></a> to see which
will require authentication.</p><div class="refsect3"><a id="FlatpakTransaction-ready-pre-auth.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>object</p></td><td class="parameter_description"><p>A <a class="link" href="#FlatpakTransaction" title="FlatpakTransaction"><span class="type">FlatpakTransaction</span></a></p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>user_data</p></td><td class="parameter_description"><p>user data set when the signal handler was connected.</p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="FlatpakTransaction-ready-pre-auth.returns"></a><h4>Returns</h4><p> <a class="link" href="#"><code class="literal">TRUE</code></a> to carry on with the transaction, <a class="link" href="#"><code class="literal">FALSE</code></a> to abort</p></div><p>Flags: <a class="link" href="#">Run Last</a></p><p class="since">Since: <a class="link" href="#">1.9.1</a></p></div><div class="refsect2"><a id="FlatpakTransaction-webflow-done"></a><h3>The <code class="literal">“webflow-done”</code> signal</h3><a id="id12426" class="indexterm"></a><pre class="programlisting"><a class="link" href="#"><span class="returnvalue">void</span></a>
user_function (<a class="link" href="#FlatpakTransaction" title="FlatpakTransaction"><span class="type">FlatpakTransaction</span></a> *object,
               <a class="link" href="#"><span class="type">GVariant</span></a>           *options,
               <a class="link" href="#"><span class="type">int</span></a>                 id,
               <a class="link" href="#"><span class="type">gpointer</span></a>            user_data)</pre><p>The ::webflow-done signal gets emitted when the authentication
finished the webflow, independent of the reason and results.  If
you for were showing a web-browser window it can now be closed.</p><div class="refsect3"><a id="FlatpakTransaction-webflow-done.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>object</p></td><td class="parameter_description"><p>A <a class="link" href="#FlatpakTransaction" title="FlatpakTransaction"><span class="type">FlatpakTransaction</span></a></p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>options</p></td><td class="parameter_description"><p>Extra options, currently unused</p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>id</p></td><td class="parameter_description"><p>The id of the operation</p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>user_data</p></td><td class="parameter_description"><p>user data set when the signal handler was connected.</p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><p>Flags: <a class="link" href="#">Run Last</a></p><p class="since">Since: <a class="link" href="#">1.5.1</a></p></div><div class="refsect2"><a id="FlatpakTransaction-webflow-start"></a><h3>The <code class="literal">“webflow-start”</code> signal</h3><a id="id12480" class="indexterm"></a><pre class="programlisting"><a class="link" href="#"><span class="returnvalue">gboolean</span></a>
user_function (<a class="link" href="#FlatpakTransaction" title="FlatpakTransaction"><span class="type">FlatpakTransaction</span></a> *object,
               <a class="link" href="#"><span class="type">char</span></a>               *remote,
               <a class="link" href="#"><span class="type">char</span></a>               *url,
               <a class="link" href="#"><span class="type">GVariant</span></a>           *options,
               <a class="link" href="#"><span class="type">int</span></a>                 id,
               <a class="link" href="#"><span class="type">gpointer</span></a>            user_data)</pre><p>The ::webflow-start signal gets emitted when some kind of user
authentication is needed during the operation. If the caller handles this
it should show the url in a webbrowser and return <a class="link" href="#"><code class="literal">TRUE</code></a>. This will
eventually cause the webbrowser to finish the authentication operation and
operation will continue, as signaled by the webflow-done being emitted.</p><p>If the client does not support webflow then return <a class="link" href="#"><code class="literal">FALSE</code></a> from this signal
(or don't implement it). This will abort the authentication and likely
result in the transaction failing (unless the authentication was somehow
optional).</p><p>During the time between webflow-start and webflow-done the client can call
<a class="link" href="#flatpak-transaction-abort-webflow" title="flatpak_transaction_abort_webflow ()"><code class="function">flatpak_transaction_abort_webflow()</code></a> to manually abort the authentication.
This is useful if the user aborted the authentication operation some way,
like e.g. closing the browser window.</p><div class="refsect3"><a id="FlatpakTransaction-webflow-start.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>object</p></td><td class="parameter_description"><p>A <a class="link" href="#FlatpakTransaction" title="FlatpakTransaction"><span class="type">FlatpakTransaction</span></a></p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>remote</p></td><td class="parameter_description"><p>The remote we're authenticating with</p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>url</p></td><td class="parameter_description"><p>The url to show</p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>options</p></td><td class="parameter_description"><p>Extra options, currently unused</p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>id</p></td><td class="parameter_description"><p>The id of the operation, can be used to cancel it</p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>user_data</p></td><td class="parameter_description"><p>user data set when the signal handler was connected.</p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><p>Flags: <a class="link" href="#">Run Last</a></p><p class="since">Since: <a class="link" href="#">1.5.1</a></p></div></div></div><div class="refentry"><div class="refentry.separator"><hr /></div><a id="FlatpakRef"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>FlatpakRef — Application reference</p></div><div class="refsect1"><a id="FlatpakRef.functions"></a><h2>Functions</h2><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="functions_proto_type" /><col class="functions_proto_name" /></colgroup><tbody><tr><td class="function_type"><a class="link" href="#"><span class="returnvalue">char</span></a> *
</td><td class="function_name"><a class="link" href="#flatpak-ref-format-ref" title="flatpak_ref_format_ref ()">flatpak_ref_format_ref</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type">const <a class="link" href="#"><span class="returnvalue">char</span></a> *
</td><td class="function_name"><a class="link" href="#flatpak-ref-get-arch" title="flatpak_ref_get_arch ()">flatpak_ref_get_arch</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type">const <a class="link" href="#"><span class="returnvalue">char</span></a> *
</td><td class="function_name"><a class="link" href="#flatpak-ref-get-branch" title="flatpak_ref_get_branch ()">flatpak_ref_get_branch</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type">const <a class="link" href="#"><span class="returnvalue">char</span></a> *
</td><td class="function_name"><a class="link" href="#flatpak-ref-get-collection-id" title="flatpak_ref_get_collection_id ()">flatpak_ref_get_collection_id</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type">const <a class="link" href="#"><span class="returnvalue">char</span></a> *
</td><td class="function_name"><a class="link" href="#flatpak-ref-get-commit" title="flatpak_ref_get_commit ()">flatpak_ref_get_commit</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type"><a class="link" href="#FlatpakRefKind" title="enum FlatpakRefKind"><span class="returnvalue">FlatpakRefKind</span></a>
</td><td class="function_name"><a class="link" href="#flatpak-ref-get-kind" title="flatpak_ref_get_kind ()">flatpak_ref_get_kind</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type">const <a class="link" href="#"><span class="returnvalue">char</span></a> *
</td><td class="function_name"><a class="link" href="#flatpak-ref-get-name" title="flatpak_ref_get_name ()">flatpak_ref_get_name</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type"><a class="link" href="#FlatpakRef" title="FlatpakRef"><span class="returnvalue">FlatpakRef</span></a> *
</td><td class="function_name"><a class="link" href="#flatpak-ref-parse" title="flatpak_ref_parse ()">flatpak_ref_parse</a> <span class="c_punctuation">()</span></td></tr></tbody></table></div></div><div class="refsect1"><a id="FlatpakRef.properties"></a><h2>Properties</h2><div class="informaltable"><table class="informaltable" border="0"><colgroup><col width="150px" class="properties_type" /><col width="300px" class="properties_name" /><col width="200px" class="properties_flags" /></colgroup><tbody><tr><td class="property_type"><a class="link" href="#"><span class="type">char</span></a> *</td><td class="property_name"><a class="link" href="#FlatpakRef--arch" title="The “arch” property">arch</a></td><td class="property_flags">Read / Write / Construct Only</td></tr><tr><td class="property_type"><a class="link" href="#"><span class="type">char</span></a> *</td><td class="property_name"><a class="link" href="#FlatpakRef--branch" title="The “branch” property">branch</a></td><td class="property_flags">Read / Write / Construct Only</td></tr><tr><td class="property_type"><a class="link" href="#"><span class="type">char</span></a> *</td><td class="property_name"><a class="link" href="#FlatpakRef--collection-id" title="The “collection-id” property">collection-id</a></td><td class="property_flags">Read / Write / Construct Only</td></tr><tr><td class="property_type"><a class="link" href="#"><span class="type">char</span></a> *</td><td class="property_name"><a class="link" href="#FlatpakRef--commit" title="The “commit” property">commit</a></td><td class="property_flags">Read / Write / Construct Only</td></tr><tr><td class="property_type"><a class="link" href="#FlatpakRefKind" title="enum FlatpakRefKind"><span class="type">FlatpakRefKind</span></a></td><td class="property_name"><a class="link" href="#FlatpakRef--kind" title="The “kind” property">kind</a></td><td class="property_flags">Read / Write / Construct Only</td></tr><tr><td class="property_type"><a class="link" href="#"><span class="type">char</span></a> *</td><td class="property_name"><a class="link" href="#FlatpakRef--name" title="The “name” property">name</a></td><td class="property_flags">Read / Write / Construct Only</td></tr></tbody></table></div></div><div class="refsect1"><a id="FlatpakRef.other"></a><h2>Types and Values</h2><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="other_proto_type" /><col class="other_proto_name" /></colgroup><tbody><tr><td class="datatype_keyword">struct</td><td class="function_name"><a class="link" href="#FlatpakRef-struct" title="struct FlatpakRef">FlatpakRef</a></td></tr><tr><td class="datatype_keyword">enum</td><td class="function_name"><a class="link" href="#FlatpakRefKind" title="enum FlatpakRefKind">FlatpakRefKind</a></td></tr></tbody></table></div></div><div class="refsect1"><a id="FlatpakRef.object-hierarchy"></a><h2>Object Hierarchy</h2><pre class="screen">    <a class="link" href="#">GObject</a>
    <span class="lineart">╰──</span> FlatpakRef
        <span class="lineart">├──</span> <a class="link" href="#FlatpakBundleRef" title="FlatpakBundleRef">FlatpakBundleRef</a>
        <span class="lineart">├──</span> <a class="link" href="#FlatpakInstalledRef" title="FlatpakInstalledRef">FlatpakInstalledRef</a>
        <span class="lineart">├──</span> <a class="link" href="#FlatpakRelatedRef" title="FlatpakRelatedRef">FlatpakRelatedRef</a>
        <span class="lineart">╰──</span> <a class="link" href="#FlatpakRemoteRef" title="FlatpakRemoteRef">FlatpakRemoteRef</a>
</pre></div><div class="refsect1"><a id="FlatpakRef.description"></a><h2>Description</h2><p>Currently Flatpak manages two types of binary artifacts: applications, and
runtimes. Applications contain a program that desktop users can run, while
runtimes contain only libraries and data. An FlatpakRef object (or short: ref)
can refer to either of these.</p><p>Both applications and runtimes are identified by a 4-tuple of strings: kind,
name, arch and branch, e.g. app/org.gnome.evince/x86_64/master. The functions
<a class="link" href="#flatpak-ref-parse" title="flatpak_ref_parse ()"><code class="function">flatpak_ref_parse()</code></a> and <a class="link" href="#flatpak-ref-format-ref" title="flatpak_ref_format_ref ()"><code class="function">flatpak_ref_format_ref()</code></a> can be used to convert
FlatpakRef objects into this string representation and back.</p><p>Note that the identifiers must be unique within a repo (e.g. Flathub) based
only on the name, arch, and branch 3-tuple, without regard to the kind. In
other words if app/org.gnome.evince/x86_64/master exists,
runtime/org.gnome.evince/x86_64/master must not exist. This requirement is
not enforced by libflatpak but is enforced by GNOME Software's use of
libappstream, since Appstream IDs are assumed to be unique.</p><p>FlatpakRef objects are immutable and can be passed freely between threads.</p><p>To uniquely identify a particular version of an application or runtime, you
need a commit.</p><p>The subclasses <a class="link" href="#FlatpakInstalledRef" title="FlatpakInstalledRef"><span class="type">FlatpakInstalledRef</span></a> and <a class="link" href="#FlatpakRemoteRef" title="FlatpakRemoteRef"><span class="type">FlatpakRemoteRef</span></a> provide more information
for artifacts that are locally installed or available from a remote repository.</p></div><div class="refsect1"><a id="FlatpakRef.functions_details"></a><h2>Functions</h2><div class="refsect2"><a id="flatpak-ref-format-ref"></a><h3>flatpak_ref_format_ref ()</h3><a id="id12724" class="indexterm"></a><pre class="programlisting"><a class="link" href="#"><span class="returnvalue">char</span></a> *
flatpak_ref_format_ref (<em class="parameter"><code><a class="link" href="#FlatpakRef" title="FlatpakRef"><span class="type">FlatpakRef</span></a> *self</code></em>);</pre><p>Convert an FlatpakRef object into a string representation that
can be parsed by <a class="link" href="#flatpak-ref-parse" title="flatpak_ref_parse ()"><code class="function">flatpak_ref_parse()</code></a>.</p><div class="refsect3"><a id="flatpak-ref-format-ref.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakRef" title="FlatpakRef"><span class="type">FlatpakRef</span></a></p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-ref-format-ref.returns"></a><h4>Returns</h4><p>string representation. </p><p><span class="annotation">[<acronym class="acronym">transfer full</acronym>]</span></p></div></div><div class="refsect2"><a id="flatpak-ref-get-arch"></a><h3>flatpak_ref_get_arch ()</h3><a id="id12758" class="indexterm"></a><pre class="programlisting">const <a class="link" href="#"><span class="returnvalue">char</span></a> *
flatpak_ref_get_arch (<em class="parameter"><code><a class="link" href="#FlatpakRef" title="FlatpakRef"><span class="type">FlatpakRef</span></a> *self</code></em>);</pre><p>Gets the arch or the ref.</p><div class="refsect3"><a id="flatpak-ref-get-arch.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakRef" title="FlatpakRef"><span class="type">FlatpakRef</span></a></p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-ref-get-arch.returns"></a><h4>Returns</h4><p>the arch. </p><p><span class="annotation">[<acronym class="acronym">transfer none</acronym>]</span></p></div></div><div class="refsect2"><a id="flatpak-ref-get-branch"></a><h3>flatpak_ref_get_branch ()</h3><a id="id12790" class="indexterm"></a><pre class="programlisting">const <a class="link" href="#"><span class="returnvalue">char</span></a> *
flatpak_ref_get_branch (<em class="parameter"><code><a class="link" href="#FlatpakRef" title="FlatpakRef"><span class="type">FlatpakRef</span></a> *self</code></em>);</pre><p>Gets the branch of the ref.</p><div class="refsect3"><a id="flatpak-ref-get-branch.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakRef" title="FlatpakRef"><span class="type">FlatpakRef</span></a></p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-ref-get-branch.returns"></a><h4>Returns</h4><p>the branch. </p><p><span class="annotation">[<acronym class="acronym">transfer none</acronym>]</span></p></div></div><div class="refsect2"><a id="flatpak-ref-get-collection-id"></a><h3>flatpak_ref_get_collection_id ()</h3><a id="id12822" class="indexterm"></a><pre class="programlisting">const <a class="link" href="#"><span class="returnvalue">char</span></a> *
flatpak_ref_get_collection_id (<em class="parameter"><code><a class="link" href="#FlatpakRef" title="FlatpakRef"><span class="type">FlatpakRef</span></a> *self</code></em>);</pre><p>Gets the collection ID of the ref.</p><div class="refsect3"><a id="flatpak-ref-get-collection-id.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakRef" title="FlatpakRef"><span class="type">FlatpakRef</span></a></p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-ref-get-collection-id.returns"></a><h4>Returns</h4><p>the collection ID. </p><p><span class="annotation">[<acronym class="acronym">transfer none</acronym>]</span></p></div></div><div class="refsect2"><a id="flatpak-ref-get-commit"></a><h3>flatpak_ref_get_commit ()</h3><a id="id12854" class="indexterm"></a><pre class="programlisting">const <a class="link" href="#"><span class="returnvalue">char</span></a> *
flatpak_ref_get_commit (<em class="parameter"><code><a class="link" href="#FlatpakRef" title="FlatpakRef"><span class="type">FlatpakRef</span></a> *self</code></em>);</pre><p>Gets the commit of the ref.</p><div class="refsect3"><a id="flatpak-ref-get-commit.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakRef" title="FlatpakRef"><span class="type">FlatpakRef</span></a></p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-ref-get-commit.returns"></a><h4>Returns</h4><p>the commit. </p><p><span class="annotation">[<acronym class="acronym">transfer none</acronym>]</span></p></div></div><div class="refsect2"><a id="flatpak-ref-get-kind"></a><h3>flatpak_ref_get_kind ()</h3><a id="id12886" class="indexterm"></a><pre class="programlisting"><a class="link" href="#FlatpakRefKind" title="enum FlatpakRefKind"><span class="returnvalue">FlatpakRefKind</span></a>
flatpak_ref_get_kind (<em class="parameter"><code><a class="link" href="#FlatpakRef" title="FlatpakRef"><span class="type">FlatpakRef</span></a> *self</code></em>);</pre><p>Gets the kind of artifact that this ref refers to.</p><div class="refsect3"><a id="flatpak-ref-get-kind.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakRef" title="FlatpakRef"><span class="type">FlatpakRef</span></a></p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-ref-get-kind.returns"></a><h4>Returns</h4><p> the kind of artifact</p></div></div><div class="refsect2"><a id="flatpak-ref-get-name"></a><h3>flatpak_ref_get_name ()</h3><a id="id12915" class="indexterm"></a><pre class="programlisting">const <a class="link" href="#"><span class="returnvalue">char</span></a> *
flatpak_ref_get_name (<em class="parameter"><code><a class="link" href="#FlatpakRef" title="FlatpakRef"><span class="type">FlatpakRef</span></a> *self</code></em>);</pre><p>Gets the name of the ref.</p><div class="refsect3"><a id="flatpak-ref-get-name.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakRef" title="FlatpakRef"><span class="type">FlatpakRef</span></a></p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-ref-get-name.returns"></a><h4>Returns</h4><p>the name. </p><p><span class="annotation">[<acronym class="acronym">transfer none</acronym>]</span></p></div></div><div class="refsect2"><a id="flatpak-ref-parse"></a><h3>flatpak_ref_parse ()</h3><a id="id12947" class="indexterm"></a><pre class="programlisting"><a class="link" href="#FlatpakRef" title="FlatpakRef"><span class="returnvalue">FlatpakRef</span></a> *
flatpak_ref_parse (<em class="parameter"><code>const <a class="link" href="#"><span class="type">char</span></a> *ref</code></em>,
                   <em class="parameter"><code><a class="link" href="#"><span class="type">GError</span></a> **error</code></em>);</pre><p>Tries to parse a full ref name and return a <a class="link" href="#FlatpakRef" title="FlatpakRef"><span class="type">FlatpakRef</span></a> (without a
commit set) or fail if the ref is invalid somehow.</p><div class="refsect3"><a id="flatpak-ref-parse.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>ref</p></td><td class="parameter_description"><p>A string ref name, such as "app/org.test.App/x86_64/master"</p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>error</p></td><td class="parameter_description"><p>return location for a <a class="link" href="#"><span class="type">GError</span></a></p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-ref-parse.returns"></a><h4>Returns</h4><p>an <a class="link" href="#FlatpakRef" title="FlatpakRef"><span class="type">FlatpakRef</span></a>, or <a class="link" href="#"><code class="literal">NULL</code></a>. </p><p><span class="annotation">[<acronym class="acronym">transfer full</acronym>]</span></p></div></div></div><div class="refsect1"><a id="FlatpakRef.other_details"></a><h2>Types and Values</h2><div class="refsect2"><a id="FlatpakRef-struct"></a><h3>struct FlatpakRef</h3><a id="id12996" class="indexterm"></a><pre class="programlisting">struct FlatpakRef;</pre></div><div class="refsect2"><a id="FlatpakRefKind"></a><h3>enum FlatpakRefKind</h3><a id="id13000" class="indexterm"></a><p>The kind of artifact that a FlatpakRef refers to.</p><div class="refsect3"><a id="FlatpakRefKind.members"></a><h4>Members</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="300px" class="enum_members_name" /><col class="enum_members_description" /><col width="200px" class="enum_members_annotations" /></colgroup><tbody><tr><td class="enum_member_name"><p><a id="FLATPAK-REF-KIND-APP:CAPS"></a>FLATPAK_REF_KIND_APP</p></td><td class="enum_member_description"><p>An application</p>
</td><td class="enum_member_annotations"> </td></tr><tr><td class="enum_member_name"><p><a id="FLATPAK-REF-KIND-RUNTIME:CAPS"></a>FLATPAK_REF_KIND_RUNTIME</p></td><td class="enum_member_description"><p>A runtime that applications can use.</p>
</td><td class="enum_member_annotations"> </td></tr></tbody></table></div></div></div></div><div class="refsect1"><a id="FlatpakRef.property-details"></a><h2>Property Details</h2><div class="refsect2"><a id="FlatpakRef--arch"></a><h3>The <code class="literal">“arch”</code> property</h3><a id="id13027" class="indexterm"></a><pre class="programlisting">  “arch”                     <a class="link" href="#"><span class="type">char</span></a> *</pre><p>The architecture of the application or runtime.</p><p>Owner: FlatpakRef</p><p>Flags: Read / Write / Construct Only</p><p>Default value: NULL</p></div><div class="refsect2"><a id="FlatpakRef--branch"></a><h3>The <code class="literal">“branch”</code> property</h3><a id="id13038" class="indexterm"></a><pre class="programlisting">  “branch”                   <a class="link" href="#"><span class="type">char</span></a> *</pre><p>The branch of the application or runtime.</p><p>Owner: FlatpakRef</p><p>Flags: Read / Write / Construct Only</p><p>Default value: NULL</p></div><div class="refsect2"><a id="FlatpakRef--collection-id"></a><h3>The <code class="literal">“collection-id”</code> property</h3><a id="id13049" class="indexterm"></a><pre class="programlisting">  “collection-id”            <a class="link" href="#"><span class="type">char</span></a> *</pre><p>The collection ID.</p><p>Owner: FlatpakRef</p><p>Flags: Read / Write / Construct Only</p><p>Default value: NULL</p></div><div class="refsect2"><a id="FlatpakRef--commit"></a><h3>The <code class="literal">“commit”</code> property</h3><a id="id13060" class="indexterm"></a><pre class="programlisting">  “commit”                   <a class="link" href="#"><span class="type">char</span></a> *</pre><p>The commit.</p><p>Owner: FlatpakRef</p><p>Flags: Read / Write / Construct Only</p><p>Default value: NULL</p></div><div class="refsect2"><a id="FlatpakRef--kind"></a><h3>The <code class="literal">“kind”</code> property</h3><a id="id13071" class="indexterm"></a><pre class="programlisting">  “kind”                     <a class="link" href="#FlatpakRefKind" title="enum FlatpakRefKind"><span class="type">FlatpakRefKind</span></a></pre><p>The kind of artifact.</p><p>Owner: FlatpakRef</p><p>Flags: Read / Write / Construct Only</p><p>Default value: FLATPAK_REF_KIND_APP</p></div><div class="refsect2"><a id="FlatpakRef--name"></a><h3>The <code class="literal">“name”</code> property</h3><a id="id13082" class="indexterm"></a><pre class="programlisting">  “name”                     <a class="link" href="#"><span class="type">char</span></a> *</pre><p>The name of the application or runtime.</p><p>Owner: FlatpakRef</p><p>Flags: Read / Write / Construct Only</p><p>Default value: NULL</p></div></div></div><div class="refentry"><div class="refentry.separator"><hr /></div><a id="FlatpakInstalledRef"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>FlatpakInstalledRef — Installed application reference</p></div><div class="refsect1"><a id="FlatpakInstalledRef.functions"></a><h2>Functions</h2><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="functions_proto_type" /><col class="functions_proto_name" /></colgroup><tbody><tr><td class="function_type">const <a class="link" href="#"><span class="returnvalue">char</span></a> *
</td><td class="function_name"><a class="link" href="#flatpak-installed-ref-get-deploy-dir" title="flatpak_installed_ref_get_deploy_dir ()">flatpak_installed_ref_get_deploy_dir</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type"><a class="link" href="#"><span class="returnvalue">guint64</span></a>
</td><td class="function_name"><a class="link" href="#flatpak-installed-ref-get-installed-size" title="flatpak_installed_ref_get_installed_size ()">flatpak_installed_ref_get_installed_size</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type"><a class="link" href="#"><span class="returnvalue">gboolean</span></a>
</td><td class="function_name"><a class="link" href="#flatpak-installed-ref-get-is-current" title="flatpak_installed_ref_get_is_current ()">flatpak_installed_ref_get_is_current</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type">const <a class="link" href="#"><span class="returnvalue">char</span></a> *
</td><td class="function_name"><a class="link" href="#flatpak-installed-ref-get-latest-commit" title="flatpak_installed_ref_get_latest_commit ()">flatpak_installed_ref_get_latest_commit</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type">const <a class="link" href="#"><span class="returnvalue">char</span></a> *
</td><td class="function_name"><a class="link" href="#flatpak-installed-ref-get-origin" title="flatpak_installed_ref_get_origin ()">flatpak_installed_ref_get_origin</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type"><a class="link" href="#"><span class="returnvalue">GBytes</span></a> *
</td><td class="function_name"><a class="link" href="#flatpak-installed-ref-load-appdata" title="flatpak_installed_ref_load_appdata ()">flatpak_installed_ref_load_appdata</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type"><a class="link" href="#"><span class="returnvalue">GBytes</span></a> *
</td><td class="function_name"><a class="link" href="#flatpak-installed-ref-load-metadata" title="flatpak_installed_ref_load_metadata ()">flatpak_installed_ref_load_metadata</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type">const <a class="link" href="#"><span class="returnvalue">char</span></a> *
</td><td class="function_name"><a class="link" href="#flatpak-installed-ref-get-appdata-license" title="flatpak_installed_ref_get_appdata_license ()">flatpak_installed_ref_get_appdata_license</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type">const <a class="link" href="#"><span class="returnvalue">char</span></a> *
</td><td class="function_name"><a class="link" href="#flatpak-installed-ref-get-appdata-name" title="flatpak_installed_ref_get_appdata_name ()">flatpak_installed_ref_get_appdata_name</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type">const <a class="link" href="#"><span class="returnvalue">char</span></a> *
</td><td class="function_name"><a class="link" href="#flatpak-installed-ref-get-appdata-summary" title="flatpak_installed_ref_get_appdata_summary ()">flatpak_installed_ref_get_appdata_summary</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type">const <a class="link" href="#"><span class="returnvalue">char</span></a> *
</td><td class="function_name"><a class="link" href="#flatpak-installed-ref-get-appdata-version" title="flatpak_installed_ref_get_appdata_version ()">flatpak_installed_ref_get_appdata_version</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type"><a class="link" href="#"><span class="returnvalue">GHashTable</span></a> *
</td><td class="function_name"><a class="link" href="#flatpak-installed-ref-get-appdata-content-rating" title="flatpak_installed_ref_get_appdata_content_rating ()">flatpak_installed_ref_get_appdata_content_rating</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type">const <a class="link" href="#"><span class="returnvalue">char</span></a> *
</td><td class="function_name"><a class="link" href="#flatpak-installed-ref-get-appdata-content-rating-type" title="flatpak_installed_ref_get_appdata_content_rating_type ()">flatpak_installed_ref_get_appdata_content_rating_type</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type">const <a class="link" href="#"><span class="returnvalue">char</span></a> * const *
</td><td class="function_name"><a class="link" href="#flatpak-installed-ref-get-subpaths" title="flatpak_installed_ref_get_subpaths ()">flatpak_installed_ref_get_subpaths</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type">const <a class="link" href="#"><span class="returnvalue">char</span></a> *
</td><td class="function_name"><a class="link" href="#flatpak-installed-ref-get-eol" title="flatpak_installed_ref_get_eol ()">flatpak_installed_ref_get_eol</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type">const <a class="link" href="#"><span class="returnvalue">char</span></a> *
</td><td class="function_name"><a class="link" href="#flatpak-installed-ref-get-eol-rebase" title="flatpak_installed_ref_get_eol_rebase ()">flatpak_installed_ref_get_eol_rebase</a> <span class="c_punctuation">()</span></td></tr></tbody></table></div></div><div class="refsect1"><a id="FlatpakInstalledRef.properties"></a><h2>Properties</h2><div class="informaltable"><table class="informaltable" border="0"><colgroup><col width="150px" class="properties_type" /><col width="300px" class="properties_name" /><col width="200px" class="properties_flags" /></colgroup><tbody><tr><td class="property_type"><a class="link" href="#"><span class="type">GHashTable</span></a> *</td><td class="property_name"><a class="link" href="#FlatpakInstalledRef--appdata-content-rating" title="The “appdata-content-rating” property">appdata-content-rating</a></td><td class="property_flags">Read / Write / Construct Only</td></tr><tr><td class="property_type"><a class="link" href="#"><span class="type">char</span></a> *</td><td class="property_name"><a class="link" href="#FlatpakInstalledRef--appdata-content-rating-type" title="The “appdata-content-rating-type” property">appdata-content-rating-type</a></td><td class="property_flags">Read / Write / Construct Only</td></tr><tr><td class="property_type"><a class="link" href="#"><span class="type">char</span></a> *</td><td class="property_name"><a class="link" href="#FlatpakInstalledRef--appdata-license" title="The “appdata-license” property">appdata-license</a></td><td class="property_flags">Read / Write / Construct Only</td></tr><tr><td class="property_type"><a class="link" href="#"><span class="type">char</span></a> *</td><td class="property_name"><a class="link" href="#FlatpakInstalledRef--appdata-name" title="The “appdata-name” property">appdata-name</a></td><td class="property_flags">Read / Write / Construct Only</td></tr><tr><td class="property_type"><a class="link" href="#"><span class="type">char</span></a> *</td><td class="property_name"><a class="link" href="#FlatpakInstalledRef--appdata-summary" title="The “appdata-summary” property">appdata-summary</a></td><td class="property_flags">Read / Write / Construct Only</td></tr><tr><td class="property_type"><a class="link" href="#"><span class="type">char</span></a> *</td><td class="property_name"><a class="link" href="#FlatpakInstalledRef--appdata-version" title="The “appdata-version” property">appdata-version</a></td><td class="property_flags">Read / Write / Construct Only</td></tr><tr><td class="property_type"><a class="link" href="#"><span class="type">char</span></a> *</td><td class="property_name"><a class="link" href="#FlatpakInstalledRef--deploy-dir" title="The “deploy-dir” property">deploy-dir</a></td><td class="property_flags">Read / Write</td></tr><tr><td class="property_type"><a class="link" href="#"><span class="type">char</span></a> *</td><td class="property_name"><a class="link" href="#FlatpakInstalledRef--end-of-life" title="The “end-of-life” property">end-of-life</a></td><td class="property_flags">Read / Write / Construct Only</td></tr><tr><td class="property_type"><a class="link" href="#"><span class="type">char</span></a> *</td><td class="property_name"><a class="link" href="#FlatpakInstalledRef--end-of-life-rebase" title="The “end-of-life-rebase” property">end-of-life-rebase</a></td><td class="property_flags">Read / Write / Construct Only</td></tr><tr><td class="property_type"><a class="link" href="#"><span class="type">guint64</span></a></td><td class="property_name"><a class="link" href="#FlatpakInstalledRef--installed-size" title="The “installed-size” property">installed-size</a></td><td class="property_flags">Read / Write</td></tr><tr><td class="property_type"><a class="link" href="#"><span class="type">gboolean</span></a></td><td class="property_name"><a class="link" href="#FlatpakInstalledRef--is-current" title="The “is-current” property">is-current</a></td><td class="property_flags">Read / Write</td></tr><tr><td class="property_type"><a class="link" href="#"><span class="type">char</span></a> *</td><td class="property_name"><a class="link" href="#FlatpakInstalledRef--latest-commit" title="The “latest-commit” property">latest-commit</a></td><td class="property_flags">Read / Write</td></tr><tr><td class="property_type"><a class="link" href="#"><span class="type">char</span></a> *</td><td class="property_name"><a class="link" href="#FlatpakInstalledRef--origin" title="The “origin” property">origin</a></td><td class="property_flags">Read / Write</td></tr><tr><td class="property_type"><a class="link" href="#"><span class="type">GStrv</span></a></td><td class="property_name"><a class="link" href="#FlatpakInstalledRef--subpaths" title="The “subpaths” property">subpaths</a></td><td class="property_flags">Read / Write</td></tr></tbody></table></div></div><div class="refsect1"><a id="FlatpakInstalledRef.other"></a><h2>Types and Values</h2><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="other_proto_type" /><col class="other_proto_name" /></colgroup><tbody><tr><td class="datatype_keyword">struct</td><td class="function_name"><a class="link" href="#FlatpakInstalledRef-struct" title="struct FlatpakInstalledRef">FlatpakInstalledRef</a></td></tr></tbody></table></div></div><div class="refsect1"><a id="FlatpakInstalledRef.object-hierarchy"></a><h2>Object Hierarchy</h2><pre class="screen">    <a class="link" href="#">GObject</a>
    <span class="lineart">╰──</span> <a class="link" href="#FlatpakRef" title="FlatpakRef">FlatpakRef</a>
        <span class="lineart">╰──</span> FlatpakInstalledRef
</pre></div><div class="refsect1"><a id="FlatpakInstalledRef.description"></a><h2>Description</h2><p>A FlatpakInstalledRef provides information about an installed
application or runtime (in short: ref), such as the available
builds, its size, location, etc.</p></div><div class="refsect1"><a id="FlatpakInstalledRef.functions_details"></a><h2>Functions</h2><div class="refsect2"><a id="flatpak-installed-ref-get-deploy-dir"></a><h3>flatpak_installed_ref_get_deploy_dir ()</h3><a id="id13348" class="indexterm"></a><pre class="programlisting">const <a class="link" href="#"><span class="returnvalue">char</span></a> *
flatpak_installed_ref_get_deploy_dir (<em class="parameter"><code><a class="link" href="#FlatpakInstalledRef" title="FlatpakInstalledRef"><span class="type">FlatpakInstalledRef</span></a> *self</code></em>);</pre><p>Gets the deploy dir of the ref.</p><div class="refsect3"><a id="flatpak-installed-ref-get-deploy-dir.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakInstalledRef" title="FlatpakInstalledRef"><span class="type">FlatpakInstalledRef</span></a></p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-installed-ref-get-deploy-dir.returns"></a><h4>Returns</h4><p>the deploy dir. </p><p><span class="annotation">[<acronym class="acronym">transfer none</acronym>]</span></p></div></div><div class="refsect2"><a id="flatpak-installed-ref-get-installed-size"></a><h3>flatpak_installed_ref_get_installed_size ()</h3><a id="id13380" class="indexterm"></a><pre class="programlisting"><a class="link" href="#"><span class="returnvalue">guint64</span></a>
flatpak_installed_ref_get_installed_size
                               (<em class="parameter"><code><a class="link" href="#FlatpakInstalledRef" title="FlatpakInstalledRef"><span class="type">FlatpakInstalledRef</span></a> *self</code></em>);</pre><p>Returns the installed size of the ref.</p><div class="refsect3"><a id="flatpak-installed-ref-get-installed-size.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakInstalledRef" title="FlatpakInstalledRef"><span class="type">FlatpakInstalledRef</span></a></p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-installed-ref-get-installed-size.returns"></a><h4>Returns</h4><p> the installed size</p></div></div><div class="refsect2"><a id="flatpak-installed-ref-get-is-current"></a><h3>flatpak_installed_ref_get_is_current ()</h3><a id="id13409" class="indexterm"></a><pre class="programlisting"><a class="link" href="#"><span class="returnvalue">gboolean</span></a>
flatpak_installed_ref_get_is_current (<em class="parameter"><code><a class="link" href="#FlatpakInstalledRef" title="FlatpakInstalledRef"><span class="type">FlatpakInstalledRef</span></a> *self</code></em>);</pre><p>Returns whether the ref is current.</p><div class="refsect3"><a id="flatpak-installed-ref-get-is-current.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakInstalledRef" title="FlatpakInstalledRef"><span class="type">FlatpakInstalledRef</span></a></p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-installed-ref-get-is-current.returns"></a><h4>Returns</h4><p> <a class="link" href="#"><code class="literal">TRUE</code></a> if the ref is current</p></div></div><div class="refsect2"><a id="flatpak-installed-ref-get-latest-commit"></a><h3>flatpak_installed_ref_get_latest_commit ()</h3><a id="id13440" class="indexterm"></a><pre class="programlisting">const <a class="link" href="#"><span class="returnvalue">char</span></a> *
flatpak_installed_ref_get_latest_commit
                               (<em class="parameter"><code><a class="link" href="#FlatpakInstalledRef" title="FlatpakInstalledRef"><span class="type">FlatpakInstalledRef</span></a> *self</code></em>);</pre><p>Gets the latest commit of the ref.</p><div class="refsect3"><a id="flatpak-installed-ref-get-latest-commit.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakInstalledRef" title="FlatpakInstalledRef"><span class="type">FlatpakInstalledRef</span></a></p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-installed-ref-get-latest-commit.returns"></a><h4>Returns</h4><p>the latest commit. </p><p><span class="annotation">[<acronym class="acronym">transfer none</acronym>][<acronym class="acronym">nullable</acronym>]</span></p></div></div><div class="refsect2"><a id="flatpak-installed-ref-get-origin"></a><h3>flatpak_installed_ref_get_origin ()</h3><a id="id13473" class="indexterm"></a><pre class="programlisting">const <a class="link" href="#"><span class="returnvalue">char</span></a> *
flatpak_installed_ref_get_origin (<em class="parameter"><code><a class="link" href="#FlatpakInstalledRef" title="FlatpakInstalledRef"><span class="type">FlatpakInstalledRef</span></a> *self</code></em>);</pre><p>Gets the origin of the ref.</p><div class="refsect3"><a id="flatpak-installed-ref-get-origin.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakInstalledRef" title="FlatpakInstalledRef"><span class="type">FlatpakInstalledRef</span></a></p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-installed-ref-get-origin.returns"></a><h4>Returns</h4><p>the origin. </p><p><span class="annotation">[<acronym class="acronym">transfer none</acronym>]</span></p></div></div><div class="refsect2"><a id="flatpak-installed-ref-load-appdata"></a><h3>flatpak_installed_ref_load_appdata ()</h3><a id="id13505" class="indexterm"></a><pre class="programlisting"><a class="link" href="#"><span class="returnvalue">GBytes</span></a> *
flatpak_installed_ref_load_appdata (<em class="parameter"><code><a class="link" href="#FlatpakInstalledRef" title="FlatpakInstalledRef"><span class="type">FlatpakInstalledRef</span></a> *self</code></em>,
                                    <em class="parameter"><code><a class="link" href="#"><span class="type">GCancellable</span></a> *cancellable</code></em>,
                                    <em class="parameter"><code><a class="link" href="#"><span class="type">GError</span></a> **error</code></em>);</pre><p>Loads the compressed xml appdata for this ref (if it exists).</p><div class="refsect3"><a id="flatpak-installed-ref-load-appdata.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakInstalledRef" title="FlatpakInstalledRef"><span class="type">FlatpakInstalledRef</span></a></p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>cancellable</p></td><td class="parameter_description"><p>a <a class="link" href="#"><span class="type">GCancellable</span></a>. </p></td><td class="parameter_annotations"><span class="annotation">[<acronym class="acronym">nullable</acronym>]</span></td></tr><tr><td class="parameter_name"><p>error</p></td><td class="parameter_description"><p>a return location for a <a class="link" href="#"><span class="type">GError</span></a></p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-installed-ref-load-appdata.returns"></a><h4>Returns</h4><p>a <a class="link" href="#"><span class="type">GBytes</span></a> containing the compressed appdata file,
or <a class="link" href="#"><code class="literal">NULL</code></a> if an error occurred. </p><p><span class="annotation">[<acronym class="acronym">transfer full</acronym>]</span></p></div><p class="since">Since: <a class="link" href="#">1.1.2</a></p></div><div class="refsect2"><a id="flatpak-installed-ref-load-metadata"></a><h3>flatpak_installed_ref_load_metadata ()</h3><a id="id13567" class="indexterm"></a><pre class="programlisting"><a class="link" href="#"><span class="returnvalue">GBytes</span></a> *
flatpak_installed_ref_load_metadata (<em class="parameter"><code><a class="link" href="#FlatpakInstalledRef" title="FlatpakInstalledRef"><span class="type">FlatpakInstalledRef</span></a> *self</code></em>,
                                     <em class="parameter"><code><a class="link" href="#"><span class="type">GCancellable</span></a> *cancellable</code></em>,
                                     <em class="parameter"><code><a class="link" href="#"><span class="type">GError</span></a> **error</code></em>);</pre><p>Loads the metadata file for this ref.</p><div class="refsect3"><a id="flatpak-installed-ref-load-metadata.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakInstalledRef" title="FlatpakInstalledRef"><span class="type">FlatpakInstalledRef</span></a></p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>cancellable</p></td><td class="parameter_description"><p>a <a class="link" href="#"><span class="type">GCancellable</span></a>. </p></td><td class="parameter_annotations"><span class="annotation">[<acronym class="acronym">nullable</acronym>]</span></td></tr><tr><td class="parameter_name"><p>error</p></td><td class="parameter_description"><p>a return location for a <a class="link" href="#"><span class="type">GError</span></a></p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-installed-ref-load-metadata.returns"></a><h4>Returns</h4><p>a <a class="link" href="#"><span class="type">GBytes</span></a> containing the metadata file,
or <a class="link" href="#"><code class="literal">NULL</code></a> if an error occurred. </p><p><span class="annotation">[<acronym class="acronym">transfer full</acronym>]</span></p></div></div><div class="refsect2"><a id="flatpak-installed-ref-get-appdata-license"></a><h3>flatpak_installed_ref_get_appdata_license ()</h3><a id="id13627" class="indexterm"></a><pre class="programlisting">const <a class="link" href="#"><span class="returnvalue">char</span></a> *
flatpak_installed_ref_get_appdata_license
                               (<em class="parameter"><code><a class="link" href="#FlatpakInstalledRef" title="FlatpakInstalledRef"><span class="type">FlatpakInstalledRef</span></a> *self</code></em>);</pre><p>Returns the license field from the appdata.</p><div class="refsect3"><a id="flatpak-installed-ref-get-appdata-license.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakInstalledRef" title="FlatpakInstalledRef"><span class="type">FlatpakInstalledRef</span></a></p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-installed-ref-get-appdata-license.returns"></a><h4>Returns</h4><p>the license or <a class="link" href="#"><code class="literal">NULL</code></a>. </p><p><span class="annotation">[<acronym class="acronym">transfer none</acronym>]</span></p></div><p class="since">Since: <a class="link" href="#">1.1.2</a></p></div><div class="refsect2"><a id="flatpak-installed-ref-get-appdata-name"></a><h3>flatpak_installed_ref_get_appdata_name ()</h3><a id="id13663" class="indexterm"></a><pre class="programlisting">const <a class="link" href="#"><span class="returnvalue">char</span></a> *
flatpak_installed_ref_get_appdata_name
                               (<em class="parameter"><code><a class="link" href="#FlatpakInstalledRef" title="FlatpakInstalledRef"><span class="type">FlatpakInstalledRef</span></a> *self</code></em>);</pre><p>Returns the name field from the appdata.</p><p>The returned string is localized.</p><div class="refsect3"><a id="flatpak-installed-ref-get-appdata-name.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakInstalledRef" title="FlatpakInstalledRef"><span class="type">FlatpakInstalledRef</span></a></p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-installed-ref-get-appdata-name.returns"></a><h4>Returns</h4><p>the name or <a class="link" href="#"><code class="literal">NULL</code></a>. </p><p><span class="annotation">[<acronym class="acronym">transfer none</acronym>]</span></p></div><p class="since">Since: <a class="link" href="#">1.1.2</a></p></div><div class="refsect2"><a id="flatpak-installed-ref-get-appdata-summary"></a><h3>flatpak_installed_ref_get_appdata_summary ()</h3><a id="id13700" class="indexterm"></a><pre class="programlisting">const <a class="link" href="#"><span class="returnvalue">char</span></a> *
flatpak_installed_ref_get_appdata_summary
                               (<em class="parameter"><code><a class="link" href="#FlatpakInstalledRef" title="FlatpakInstalledRef"><span class="type">FlatpakInstalledRef</span></a> *self</code></em>);</pre><p>Returns the summary field from the appdata.</p><p>The returned string is localized.</p><div class="refsect3"><a id="flatpak-installed-ref-get-appdata-summary.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakInstalledRef" title="FlatpakInstalledRef"><span class="type">FlatpakInstalledRef</span></a></p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-installed-ref-get-appdata-summary.returns"></a><h4>Returns</h4><p>the summary or <a class="link" href="#"><code class="literal">NULL</code></a>. </p><p><span class="annotation">[<acronym class="acronym">transfer none</acronym>]</span></p></div><p class="since">Since: <a class="link" href="#">1.1.2</a></p></div><div class="refsect2"><a id="flatpak-installed-ref-get-appdata-version"></a><h3>flatpak_installed_ref_get_appdata_version ()</h3><a id="id13737" class="indexterm"></a><pre class="programlisting">const <a class="link" href="#"><span class="returnvalue">char</span></a> *
flatpak_installed_ref_get_appdata_version
                               (<em class="parameter"><code><a class="link" href="#FlatpakInstalledRef" title="FlatpakInstalledRef"><span class="type">FlatpakInstalledRef</span></a> *self</code></em>);</pre><p>Returns the default version field from the appdata.</p><div class="refsect3"><a id="flatpak-installed-ref-get-appdata-version.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakInstalledRef" title="FlatpakInstalledRef"><span class="type">FlatpakInstalledRef</span></a></p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-installed-ref-get-appdata-version.returns"></a><h4>Returns</h4><p>the version or <a class="link" href="#"><code class="literal">NULL</code></a>. </p><p><span class="annotation">[<acronym class="acronym">transfer none</acronym>]</span></p></div><p class="since">Since: <a class="link" href="#">1.1.2</a></p></div><div class="refsect2"><a id="flatpak-installed-ref-get-appdata-content-rating"></a><h3>flatpak_installed_ref_get_appdata_content_rating ()</h3><a id="id13773" class="indexterm"></a><pre class="programlisting"><a class="link" href="#"><span class="returnvalue">GHashTable</span></a> *
flatpak_installed_ref_get_appdata_content_rating
                               (<em class="parameter"><code><a class="link" href="#FlatpakInstalledRef" title="FlatpakInstalledRef"><span class="type">FlatpakInstalledRef</span></a> *self</code></em>);</pre><p>Returns the content rating field from the appdata. This is a potentially
empty mapping of content rating attribute IDs to values, to be interpreted
by the semantics of the content rating type (see
<a class="link" href="#flatpak-installed-ref-get-appdata-content-rating-type" title="flatpak_installed_ref_get_appdata_content_rating_type ()"><code class="function">flatpak_installed_ref_get_appdata_content_rating_type()</code></a>).</p><div class="refsect3"><a id="flatpak-installed-ref-get-appdata-content-rating.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakInstalledRef" title="FlatpakInstalledRef"><span class="type">FlatpakInstalledRef</span></a></p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-installed-ref-get-appdata-content-rating.returns"></a><h4>Returns</h4><p>the content
rating or <a class="link" href="#"><code class="literal">NULL</code></a>. </p><p><span class="annotation">[<acronym class="acronym">transfer none</acronym>][<acronym class="acronym">nullable</acronym>][<acronym class="acronym">element-type</acronym> utf8 utf8]</span></p></div><p class="since">Since: <a class="link" href="#">1.4.2</a></p></div><div class="refsect2"><a id="flatpak-installed-ref-get-appdata-content-rating-type"></a><h3>flatpak_installed_ref_get_appdata_content_rating_type ()</h3><a id="id13813" class="indexterm"></a><pre class="programlisting">const <a class="link" href="#"><span class="returnvalue">char</span></a> *
flatpak_installed_ref_get_appdata_content_rating_type
                               (<em class="parameter"><code><a class="link" href="#FlatpakInstalledRef" title="FlatpakInstalledRef"><span class="type">FlatpakInstalledRef</span></a> *self</code></em>);</pre><p>Returns the content rating type from the appdata. For example, <code class="literal">oars-1.0</code> or
<code class="literal">oars-1.1</code>.</p><div class="refsect3"><a id="flatpak-installed-ref-get-appdata-content-rating-type.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakInstalledRef" title="FlatpakInstalledRef"><span class="type">FlatpakInstalledRef</span></a></p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-installed-ref-get-appdata-content-rating-type.returns"></a><h4>Returns</h4><p>the content rating type or <a class="link" href="#"><code class="literal">NULL</code></a>. </p><p><span class="annotation">[<acronym class="acronym">transfer none</acronym>][<acronym class="acronym">nullable</acronym>]</span></p></div><p class="since">Since: <a class="link" href="#">1.4.2</a></p></div><div class="refsect2"><a id="flatpak-installed-ref-get-subpaths"></a><h3>flatpak_installed_ref_get_subpaths ()</h3><a id="id13852" class="indexterm"></a><pre class="programlisting">const <a class="link" href="#"><span class="returnvalue">char</span></a> * const *
flatpak_installed_ref_get_subpaths (<em class="parameter"><code><a class="link" href="#FlatpakInstalledRef" title="FlatpakInstalledRef"><span class="type">FlatpakInstalledRef</span></a> *self</code></em>);</pre><p>Returns the subpaths that are installed, or <a class="link" href="#"><code class="literal">NULL</code></a> if all files installed.</p><div class="refsect3"><a id="flatpak-installed-ref-get-subpaths.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakInstalledRef" title="FlatpakInstalledRef"><span class="type">FlatpakInstalledRef</span></a></p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-installed-ref-get-subpaths.returns"></a><h4>Returns</h4><p>A strv, or <a class="link" href="#"><code class="literal">NULL</code></a>. </p><p><span class="annotation">[<acronym class="acronym">transfer none</acronym>]</span></p></div></div><div class="refsect2"><a id="flatpak-installed-ref-get-eol"></a><h3>flatpak_installed_ref_get_eol ()</h3><a id="id13888" class="indexterm"></a><pre class="programlisting">const <a class="link" href="#"><span class="returnvalue">char</span></a> *
flatpak_installed_ref_get_eol (<em class="parameter"><code><a class="link" href="#FlatpakInstalledRef" title="FlatpakInstalledRef"><span class="type">FlatpakInstalledRef</span></a> *self</code></em>);</pre><p>Returns the end-of-life reason string, or <a class="link" href="#"><code class="literal">NULL</code></a> if the
ref is not end-of-lifed.</p><div class="refsect3"><a id="flatpak-installed-ref-get-eol.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakInstalledRef" title="FlatpakInstalledRef"><span class="type">FlatpakInstalledRef</span></a></p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-installed-ref-get-eol.returns"></a><h4>Returns</h4><p>the end-of-life reason or <a class="link" href="#"><code class="literal">NULL</code></a>. </p><p><span class="annotation">[<acronym class="acronym">transfer none</acronym>]</span></p></div></div><div class="refsect2"><a id="flatpak-installed-ref-get-eol-rebase"></a><h3>flatpak_installed_ref_get_eol_rebase ()</h3><a id="id13924" class="indexterm"></a><pre class="programlisting">const <a class="link" href="#"><span class="returnvalue">char</span></a> *
flatpak_installed_ref_get_eol_rebase (<em class="parameter"><code><a class="link" href="#FlatpakInstalledRef" title="FlatpakInstalledRef"><span class="type">FlatpakInstalledRef</span></a> *self</code></em>);</pre><p>Returns the end-of-life rebased ref, or <a class="link" href="#"><code class="literal">NULL</code></a> if the
ref is not end-of-lifed.</p><div class="refsect3"><a id="flatpak-installed-ref-get-eol-rebase.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakInstalledRef" title="FlatpakInstalledRef"><span class="type">FlatpakInstalledRef</span></a></p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-installed-ref-get-eol-rebase.returns"></a><h4>Returns</h4><p>the end-of-life rebased ref or <a class="link" href="#"><code class="literal">NULL</code></a>. </p><p><span class="annotation">[<acronym class="acronym">transfer none</acronym>]</span></p></div></div></div><div class="refsect1"><a id="FlatpakInstalledRef.other_details"></a><h2>Types and Values</h2><div class="refsect2"><a id="FlatpakInstalledRef-struct"></a><h3>struct FlatpakInstalledRef</h3><a id="id13962" class="indexterm"></a><pre class="programlisting">struct FlatpakInstalledRef;</pre></div></div><div class="refsect1"><a id="FlatpakInstalledRef.property-details"></a><h2>Property Details</h2><div class="refsect2"><a id="FlatpakInstalledRef--appdata-content-rating"></a><h3>The <code class="literal">“appdata-content-rating”</code> property</h3><a id="id13969" class="indexterm"></a><pre class="programlisting">  “appdata-content-rating”   <a class="link" href="#"><span class="type">GHashTable</span></a> *</pre><p>The content rating data from the appdata.</p><p>Owner: FlatpakInstalledRef</p><p>Flags: Read / Write / Construct Only</p></div><div class="refsect2"><a id="FlatpakInstalledRef--appdata-content-rating-type"></a><h3>The <code class="literal">“appdata-content-rating-type”</code> property</h3><a id="id13979" class="indexterm"></a><pre class="programlisting">  “appdata-content-rating-type” <a class="link" href="#"><span class="type">char</span></a> *</pre><p>The type of the content rating data from the appdata.</p><p>Owner: FlatpakInstalledRef</p><p>Flags: Read / Write / Construct Only</p><p>Default value: NULL</p></div><div class="refsect2"><a id="FlatpakInstalledRef--appdata-license"></a><h3>The <code class="literal">“appdata-license”</code> property</h3><a id="id13990" class="indexterm"></a><pre class="programlisting">  “appdata-license”          <a class="link" href="#"><span class="type">char</span></a> *</pre><p>The license from the appdata.</p><p>Owner: FlatpakInstalledRef</p><p>Flags: Read / Write / Construct Only</p><p>Default value: NULL</p></div><div class="refsect2"><a id="FlatpakInstalledRef--appdata-name"></a><h3>The <code class="literal">“appdata-name”</code> property</h3><a id="id14001" class="indexterm"></a><pre class="programlisting">  “appdata-name”             <a class="link" href="#"><span class="type">char</span></a> *</pre><p>The localized name field from the appdata.</p><p>Owner: FlatpakInstalledRef</p><p>Flags: Read / Write / Construct Only</p><p>Default value: NULL</p></div><div class="refsect2"><a id="FlatpakInstalledRef--appdata-summary"></a><h3>The <code class="literal">“appdata-summary”</code> property</h3><a id="id14012" class="indexterm"></a><pre class="programlisting">  “appdata-summary”          <a class="link" href="#"><span class="type">char</span></a> *</pre><p>The localized summary field from the appdata.</p><p>Owner: FlatpakInstalledRef</p><p>Flags: Read / Write / Construct Only</p><p>Default value: NULL</p></div><div class="refsect2"><a id="FlatpakInstalledRef--appdata-version"></a><h3>The <code class="literal">“appdata-version”</code> property</h3><a id="id14023" class="indexterm"></a><pre class="programlisting">  “appdata-version”          <a class="link" href="#"><span class="type">char</span></a> *</pre><p>The default version field from the appdata.</p><p>Owner: FlatpakInstalledRef</p><p>Flags: Read / Write / Construct Only</p><p>Default value: NULL</p></div><div class="refsect2"><a id="FlatpakInstalledRef--deploy-dir"></a><h3>The <code class="literal">“deploy-dir”</code> property</h3><a id="id14034" class="indexterm"></a><pre class="programlisting">  “deploy-dir”               <a class="link" href="#"><span class="type">char</span></a> *</pre><p>Where the application is installed.</p><p>Owner: FlatpakInstalledRef</p><p>Flags: Read / Write</p><p>Default value: NULL</p></div><div class="refsect2"><a id="FlatpakInstalledRef--end-of-life"></a><h3>The <code class="literal">“end-of-life”</code> property</h3><a id="id14045" class="indexterm"></a><pre class="programlisting">  “end-of-life”              <a class="link" href="#"><span class="type">char</span></a> *</pre><p>The reason for the ref to be end of life.</p><p>Owner: FlatpakInstalledRef</p><p>Flags: Read / Write / Construct Only</p><p>Default value: NULL</p></div><div class="refsect2"><a id="FlatpakInstalledRef--end-of-life-rebase"></a><h3>The <code class="literal">“end-of-life-rebase”</code> property</h3><a id="id14056" class="indexterm"></a><pre class="programlisting">  “end-of-life-rebase”       <a class="link" href="#"><span class="type">char</span></a> *</pre><p>The new ref for the end-of-lifed ref.</p><p>Owner: FlatpakInstalledRef</p><p>Flags: Read / Write / Construct Only</p><p>Default value: NULL</p></div><div class="refsect2"><a id="FlatpakInstalledRef--installed-size"></a><h3>The <code class="literal">“installed-size”</code> property</h3><a id="id14067" class="indexterm"></a><pre class="programlisting">  “installed-size”           <a class="link" href="#"><span class="type">guint64</span></a></pre><p>The installed size of the application.</p><p>Owner: FlatpakInstalledRef</p><p>Flags: Read / Write</p><p>Default value: 0</p></div><div class="refsect2"><a id="FlatpakInstalledRef--is-current"></a><h3>The <code class="literal">“is-current”</code> property</h3><a id="id14078" class="indexterm"></a><pre class="programlisting">  “is-current”               <a class="link" href="#"><span class="type">gboolean</span></a></pre><p>Whether the application is current.</p><p>Owner: FlatpakInstalledRef</p><p>Flags: Read / Write</p><p>Default value: FALSE</p></div><div class="refsect2"><a id="FlatpakInstalledRef--latest-commit"></a><h3>The <code class="literal">“latest-commit”</code> property</h3><a id="id14089" class="indexterm"></a><pre class="programlisting">  “latest-commit”            <a class="link" href="#"><span class="type">char</span></a> *</pre><p>The latest commit.</p><p>Owner: FlatpakInstalledRef</p><p>Flags: Read / Write</p><p>Default value: NULL</p></div><div class="refsect2"><a id="FlatpakInstalledRef--origin"></a><h3>The <code class="literal">“origin”</code> property</h3><a id="id14100" class="indexterm"></a><pre class="programlisting">  “origin”                   <a class="link" href="#"><span class="type">char</span></a> *</pre><p>The origin.</p><p>Owner: FlatpakInstalledRef</p><p>Flags: Read / Write</p><p>Default value: NULL</p></div><div class="refsect2"><a id="FlatpakInstalledRef--subpaths"></a><h3>The <code class="literal">“subpaths”</code> property</h3><a id="id14111" class="indexterm"></a><pre class="programlisting">  “subpaths”                 <a class="link" href="#"><span class="type">GStrv</span></a></pre><p>The subpaths for a partially installed ref.</p><p>Owner: FlatpakInstalledRef</p><p>Flags: Read / Write</p></div></div></div><div class="refentry"><div class="refentry.separator"><hr /></div><a id="FlatpakRelatedRef"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>FlatpakRelatedRef — Related application reference</p></div><div class="refsect1"><a id="FlatpakRelatedRef.functions"></a><h2>Functions</h2><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="functions_proto_type" /><col class="functions_proto_name" /></colgroup><tbody><tr><td class="function_type"><a class="link" href="#FlatpakRelatedRef" title="FlatpakRelatedRef"><span class="returnvalue">FlatpakRelatedRef</span></a> *
</td><td class="function_name"><a class="link" href="#flatpak-related-ref-new" title="flatpak_related_ref_new ()">flatpak_related_ref_new</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type">const <a class="link" href="#"><span class="returnvalue">char</span></a> * const *
</td><td class="function_name"><a class="link" href="#flatpak-related-ref-get-subpaths" title="flatpak_related_ref_get_subpaths ()">flatpak_related_ref_get_subpaths</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type"><a class="link" href="#"><span class="returnvalue">gboolean</span></a>
</td><td class="function_name"><a class="link" href="#flatpak-related-ref-should-download" title="flatpak_related_ref_should_download ()">flatpak_related_ref_should_download</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type"><a class="link" href="#"><span class="returnvalue">gboolean</span></a>
</td><td class="function_name"><a class="link" href="#flatpak-related-ref-should-delete" title="flatpak_related_ref_should_delete ()">flatpak_related_ref_should_delete</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type"><a class="link" href="#"><span class="returnvalue">gboolean</span></a>
</td><td class="function_name"><a class="link" href="#flatpak-related-ref-should-autoprune" title="flatpak_related_ref_should_autoprune ()">flatpak_related_ref_should_autoprune</a> <span class="c_punctuation">()</span></td></tr></tbody></table></div></div><div class="refsect1"><a id="FlatpakRelatedRef.properties"></a><h2>Properties</h2><div class="informaltable"><table class="informaltable" border="0"><colgroup><col width="150px" class="properties_type" /><col width="300px" class="properties_name" /><col width="200px" class="properties_flags" /></colgroup><tbody><tr><td class="property_type"><a class="link" href="#"><span class="type">gboolean</span></a></td><td class="property_name"><a class="link" href="#FlatpakRelatedRef--should-autoprune" title="The “should-autoprune” property">should-autoprune</a></td><td class="property_flags">Read / Write / Construct Only</td></tr><tr><td class="property_type"><a class="link" href="#"><span class="type">gboolean</span></a></td><td class="property_name"><a class="link" href="#FlatpakRelatedRef--should-delete" title="The “should-delete” property">should-delete</a></td><td class="property_flags">Read / Write / Construct Only</td></tr><tr><td class="property_type"><a class="link" href="#"><span class="type">gboolean</span></a></td><td class="property_name"><a class="link" href="#FlatpakRelatedRef--should-download" title="The “should-download” property">should-download</a></td><td class="property_flags">Read / Write / Construct Only</td></tr><tr><td class="property_type"><a class="link" href="#"><span class="type">GStrv</span></a></td><td class="property_name"><a class="link" href="#FlatpakRelatedRef--subpaths" title="The “subpaths” property">subpaths</a></td><td class="property_flags">Read / Write / Construct Only</td></tr></tbody></table></div></div><div class="refsect1"><a id="FlatpakRelatedRef.other"></a><h2>Types and Values</h2><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="other_proto_type" /><col class="other_proto_name" /></colgroup><tbody><tr><td class="datatype_keyword">struct</td><td class="function_name"><a class="link" href="#FlatpakRelatedRef-struct" title="struct FlatpakRelatedRef">FlatpakRelatedRef</a></td></tr></tbody></table></div></div><div class="refsect1"><a id="FlatpakRelatedRef.object-hierarchy"></a><h2>Object Hierarchy</h2><pre class="screen">    <a class="link" href="#">GObject</a>
    <span class="lineart">╰──</span> <a class="link" href="#FlatpakRef" title="FlatpakRef">FlatpakRef</a>
        <span class="lineart">╰──</span> FlatpakRelatedRef
</pre></div><div class="refsect1"><a id="FlatpakRelatedRef.description"></a><h2>Description</h2><p>A FlatpakRelatedRef provides information about a ref that is related
to another ref. For instance, the local extension ref of an app.</p></div><div class="refsect1"><a id="FlatpakRelatedRef.functions_details"></a><h2>Functions</h2><div class="refsect2"><a id="flatpak-related-ref-new"></a><h3>flatpak_related_ref_new ()</h3><a id="id14229" class="indexterm"></a><pre class="programlisting"><a class="link" href="#FlatpakRelatedRef" title="FlatpakRelatedRef"><span class="returnvalue">FlatpakRelatedRef</span></a> *
flatpak_related_ref_new (<em class="parameter"><code>const <a class="link" href="#"><span class="type">char</span></a> *full_ref</code></em>,
                         <em class="parameter"><code>const <a class="link" href="#"><span class="type">char</span></a> *commit</code></em>,
                         <em class="parameter"><code><a class="link" href="#"><span class="type">char</span></a> **subpaths</code></em>,
                         <em class="parameter"><code><a class="link" href="#"><span class="type">gboolean</span></a> download</code></em>,
                         <em class="parameter"><code><a class="link" href="#"><span class="type">gboolean</span></a> delete</code></em>);</pre><p>Creates a new FlatpakRelatedRef object.</p><div class="refsect3"><a id="flatpak-related-ref-new.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>full_ref</p></td><td class="parameter_description"><p>a full ref to refer to</p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>commit</p></td><td class="parameter_description"><p>a commit ID to refer to. </p></td><td class="parameter_annotations"><span class="annotation">[<acronym class="acronym">nullable</acronym>]</span></td></tr><tr><td class="parameter_name"><p>subpaths</p></td><td class="parameter_description"><p>a nul-terminated array of subpaths. </p></td><td class="parameter_annotations"><span class="annotation">[<acronym class="acronym">nullable</acronym>]</span></td></tr><tr><td class="parameter_name"><p>download</p></td><td class="parameter_description"><p>whether to auto-download the ref with the main ref</p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>delete</p></td><td class="parameter_description"><p>whether to auto-delete the ref with the main ref</p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-related-ref-new.returns"></a><h4>Returns</h4><p> a new ref</p></div></div><div class="refsect2"><a id="flatpak-related-ref-get-subpaths"></a><h3>flatpak_related_ref_get_subpaths ()</h3><a id="id14296" class="indexterm"></a><pre class="programlisting">const <a class="link" href="#"><span class="returnvalue">char</span></a> * const *
flatpak_related_ref_get_subpaths (<em class="parameter"><code><a class="link" href="#FlatpakRelatedRef" title="FlatpakRelatedRef"><span class="type">FlatpakRelatedRef</span></a> *self</code></em>);</pre><p>Returns the subpaths that should be installed/updated for the ref.
This returns <a class="link" href="#"><code class="literal">NULL</code></a> if all files should be installed.</p><div class="refsect3"><a id="flatpak-related-ref-get-subpaths.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakRelatedRef" title="FlatpakRelatedRef"><span class="type">FlatpakRelatedRef</span></a></p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-related-ref-get-subpaths.returns"></a><h4>Returns</h4><p>A strv, or <a class="link" href="#"><code class="literal">NULL</code></a>. </p><p><span class="annotation">[<acronym class="acronym">transfer none</acronym>]</span></p></div><p class="since">Since: <a class="link" href="#">0.6.7</a></p></div><div class="refsect2"><a id="flatpak-related-ref-should-download"></a><h3>flatpak_related_ref_should_download ()</h3><a id="id14334" class="indexterm"></a><pre class="programlisting"><a class="link" href="#"><span class="returnvalue">gboolean</span></a>
flatpak_related_ref_should_download (<em class="parameter"><code><a class="link" href="#FlatpakRelatedRef" title="FlatpakRelatedRef"><span class="type">FlatpakRelatedRef</span></a> *self</code></em>);</pre><p>Returns whether to auto-download the ref with the main ref.</p><div class="refsect3"><a id="flatpak-related-ref-should-download.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakRelatedRef" title="FlatpakRelatedRef"><span class="type">FlatpakRelatedRef</span></a></p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-related-ref-should-download.returns"></a><h4>Returns</h4><p> <a class="link" href="#"><code class="literal">TRUE</code></a> if the ref should be downloaded with the main ref.</p></div><p class="since">Since: <a class="link" href="#">0.6.7</a></p></div><div class="refsect2"><a id="flatpak-related-ref-should-delete"></a><h3>flatpak_related_ref_should_delete ()</h3><a id="id14367" class="indexterm"></a><pre class="programlisting"><a class="link" href="#"><span class="returnvalue">gboolean</span></a>
flatpak_related_ref_should_delete (<em class="parameter"><code><a class="link" href="#FlatpakRelatedRef" title="FlatpakRelatedRef"><span class="type">FlatpakRelatedRef</span></a> *self</code></em>);</pre><p>Returns whether to auto-delete the ref with the main ref.</p><div class="refsect3"><a id="flatpak-related-ref-should-delete.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakRelatedRef" title="FlatpakRelatedRef"><span class="type">FlatpakRelatedRef</span></a></p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-related-ref-should-delete.returns"></a><h4>Returns</h4><p> <a class="link" href="#"><code class="literal">TRUE</code></a> if the ref should be deleted with the main ref.</p></div><p class="since">Since: <a class="link" href="#">0.6.7</a></p></div><div class="refsect2"><a id="flatpak-related-ref-should-autoprune"></a><h3>flatpak_related_ref_should_autoprune ()</h3><a id="id14400" class="indexterm"></a><pre class="programlisting"><a class="link" href="#"><span class="returnvalue">gboolean</span></a>
flatpak_related_ref_should_autoprune (<em class="parameter"><code><a class="link" href="#FlatpakRelatedRef" title="FlatpakRelatedRef"><span class="type">FlatpakRelatedRef</span></a> *self</code></em>);</pre><p>Returns whether to delete when pruning unused refs.</p><div class="refsect3"><a id="flatpak-related-ref-should-autoprune.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakRelatedRef" title="FlatpakRelatedRef"><span class="type">FlatpakRelatedRef</span></a></p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-related-ref-should-autoprune.returns"></a><h4>Returns</h4><p> <a class="link" href="#"><code class="literal">TRUE</code></a> if the ref should be considered unused when pruning.</p></div><p class="since">Since: <a class="link" href="#">0.11.8</a></p></div></div><div class="refsect1"><a id="FlatpakRelatedRef.other_details"></a><h2>Types and Values</h2><div class="refsect2"><a id="FlatpakRelatedRef-struct"></a><h3>struct FlatpakRelatedRef</h3><a id="id14435" class="indexterm"></a><pre class="programlisting">struct FlatpakRelatedRef;</pre></div></div><div class="refsect1"><a id="FlatpakRelatedRef.property-details"></a><h2>Property Details</h2><div class="refsect2"><a id="FlatpakRelatedRef--should-autoprune"></a><h3>The <code class="literal">“should-autoprune”</code> property</h3><a id="id14442" class="indexterm"></a><pre class="programlisting">  “should-autoprune”         <a class="link" href="#"><span class="type">gboolean</span></a></pre><p>Whether to delete when pruning unused refs.</p><p>Owner: FlatpakRelatedRef</p><p>Flags: Read / Write / Construct Only</p><p>Default value: FALSE</p></div><div class="refsect2"><a id="FlatpakRelatedRef--should-delete"></a><h3>The <code class="literal">“should-delete”</code> property</h3><a id="id14453" class="indexterm"></a><pre class="programlisting">  “should-delete”            <a class="link" href="#"><span class="type">gboolean</span></a></pre><p>Whether to auto-delete the ref with the main ref.</p><p>Owner: FlatpakRelatedRef</p><p>Flags: Read / Write / Construct Only</p><p>Default value: FALSE</p></div><div class="refsect2"><a id="FlatpakRelatedRef--should-download"></a><h3>The <code class="literal">“should-download”</code> property</h3><a id="id14464" class="indexterm"></a><pre class="programlisting">  “should-download”          <a class="link" href="#"><span class="type">gboolean</span></a></pre><p>Whether to auto-download the ref with the main ref.</p><p>Owner: FlatpakRelatedRef</p><p>Flags: Read / Write / Construct Only</p><p>Default value: FALSE</p></div><div class="refsect2"><a id="FlatpakRelatedRef--subpaths"></a><h3>The <code class="literal">“subpaths”</code> property</h3><a id="id14475" class="indexterm"></a><pre class="programlisting">  “subpaths”                 <a class="link" href="#"><span class="type">GStrv</span></a></pre><p>The subpaths for a partially installed ref.</p><p>Owner: FlatpakRelatedRef</p><p>Flags: Read / Write / Construct Only</p></div></div></div><div class="refentry"><div class="refentry.separator"><hr /></div><a id="FlatpakRemoteRef"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>FlatpakRemoteRef — Remote application reference</p></div><div class="refsect1"><a id="FlatpakRemoteRef.functions"></a><h2>Functions</h2><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="functions_proto_type" /><col class="functions_proto_name" /></colgroup><tbody><tr><td class="function_type">const <a class="link" href="#"><span class="returnvalue">char</span></a> *
</td><td class="function_name"><a class="link" href="#flatpak-remote-ref-get-remote-name" title="flatpak_remote_ref_get_remote_name ()">flatpak_remote_ref_get_remote_name</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type"><a class="link" href="#"><span class="returnvalue">guint64</span></a>
</td><td class="function_name"><a class="link" href="#flatpak-remote-ref-get-download-size" title="flatpak_remote_ref_get_download_size ()">flatpak_remote_ref_get_download_size</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type">const <a class="link" href="#"><span class="returnvalue">char</span></a> *
</td><td class="function_name"><a class="link" href="#flatpak-remote-ref-get-eol" title="flatpak_remote_ref_get_eol ()">flatpak_remote_ref_get_eol</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type">const <a class="link" href="#"><span class="returnvalue">char</span></a> *
</td><td class="function_name"><a class="link" href="#flatpak-remote-ref-get-eol-rebase" title="flatpak_remote_ref_get_eol_rebase ()">flatpak_remote_ref_get_eol_rebase</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type"><a class="link" href="#"><span class="returnvalue">guint64</span></a>
</td><td class="function_name"><a class="link" href="#flatpak-remote-ref-get-installed-size" title="flatpak_remote_ref_get_installed_size ()">flatpak_remote_ref_get_installed_size</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type"><a class="link" href="#"><span class="returnvalue">GBytes</span></a> *
</td><td class="function_name"><a class="link" href="#flatpak-remote-ref-get-metadata" title="flatpak_remote_ref_get_metadata ()">flatpak_remote_ref_get_metadata</a> <span class="c_punctuation">()</span></td></tr></tbody></table></div></div><div class="refsect1"><a id="FlatpakRemoteRef.properties"></a><h2>Properties</h2><div class="informaltable"><table class="informaltable" border="0"><colgroup><col width="150px" class="properties_type" /><col width="300px" class="properties_name" /><col width="200px" class="properties_flags" /></colgroup><tbody><tr><td class="property_type"><a class="link" href="#"><span class="type">guint64</span></a></td><td class="property_name"><a class="link" href="#FlatpakRemoteRef--download-size" title="The “download-size” property">download-size</a></td><td class="property_flags">Read / Write / Construct Only</td></tr><tr><td class="property_type"><a class="link" href="#"><span class="type">char</span></a> *</td><td class="property_name"><a class="link" href="#FlatpakRemoteRef--end-of-life" title="The “end-of-life” property">end-of-life</a></td><td class="property_flags">Read / Write / Construct Only</td></tr><tr><td class="property_type"><a class="link" href="#"><span class="type">char</span></a> *</td><td class="property_name"><a class="link" href="#FlatpakRemoteRef--end-of-life-rebase" title="The “end-of-life-rebase” property">end-of-life-rebase</a></td><td class="property_flags">Read / Write / Construct Only</td></tr><tr><td class="property_type"><a class="link" href="#"><span class="type">guint64</span></a></td><td class="property_name"><a class="link" href="#FlatpakRemoteRef--installed-size" title="The “installed-size” property">installed-size</a></td><td class="property_flags">Read / Write / Construct Only</td></tr><tr><td class="property_type"><a class="link" href="#"><span class="type">GBytes</span></a> *</td><td class="property_name"><a class="link" href="#FlatpakRemoteRef--metadata" title="The “metadata” property">metadata</a></td><td class="property_flags">Read / Write / Construct Only</td></tr><tr><td class="property_type"><a class="link" href="#"><span class="type">char</span></a> *</td><td class="property_name"><a class="link" href="#FlatpakRemoteRef--remote-name" title="The “remote-name” property">remote-name</a></td><td class="property_flags">Read / Write / Construct Only</td></tr></tbody></table></div></div><div class="refsect1"><a id="FlatpakRemoteRef.other"></a><h2>Types and Values</h2><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="other_proto_type" /><col class="other_proto_name" /></colgroup><tbody><tr><td class="datatype_keyword">struct</td><td class="function_name"><a class="link" href="#FlatpakRemoteRef-struct" title="struct FlatpakRemoteRef">FlatpakRemoteRef</a></td></tr></tbody></table></div></div><div class="refsect1"><a id="FlatpakRemoteRef.object-hierarchy"></a><h2>Object Hierarchy</h2><pre class="screen">    <a class="link" href="#">GObject</a>
    <span class="lineart">╰──</span> <a class="link" href="#FlatpakRef" title="FlatpakRef">FlatpakRef</a>
        <span class="lineart">╰──</span> FlatpakRemoteRef
</pre></div><div class="refsect1"><a id="FlatpakRemoteRef.description"></a><h2>Description</h2><p>A FlatpakRemoteRef provides information about an application or runtime
(in short: ref) that is available from a remote repository.</p></div><div class="refsect1"><a id="FlatpakRemoteRef.functions_details"></a><h2>Functions</h2><div class="refsect2"><a id="flatpak-remote-ref-get-remote-name"></a><h3>flatpak_remote_ref_get_remote_name ()</h3><a id="id14614" class="indexterm"></a><pre class="programlisting">const <a class="link" href="#"><span class="returnvalue">char</span></a> *
flatpak_remote_ref_get_remote_name (<em class="parameter"><code><a class="link" href="#FlatpakRemoteRef" title="FlatpakRemoteRef"><span class="type">FlatpakRemoteRef</span></a> *self</code></em>);</pre><p>Gets the remote name of the ref.</p><div class="refsect3"><a id="flatpak-remote-ref-get-remote-name.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakRemoteRef" title="FlatpakRemoteRef"><span class="type">FlatpakRemoteRef</span></a></p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-remote-ref-get-remote-name.returns"></a><h4>Returns</h4><p>the remote name. </p><p><span class="annotation">[<acronym class="acronym">transfer none</acronym>]</span></p></div></div><div class="refsect2"><a id="flatpak-remote-ref-get-download-size"></a><h3>flatpak_remote_ref_get_download_size ()</h3><a id="id14646" class="indexterm"></a><pre class="programlisting"><a class="link" href="#"><span class="returnvalue">guint64</span></a>
flatpak_remote_ref_get_download_size (<em class="parameter"><code><a class="link" href="#FlatpakRemoteRef" title="FlatpakRemoteRef"><span class="type">FlatpakRemoteRef</span></a> *self</code></em>);</pre><p>Returns the download size of the ref.</p><div class="refsect3"><a id="flatpak-remote-ref-get-download-size.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakRemoteRef" title="FlatpakRemoteRef"><span class="type">FlatpakRemoteRef</span></a></p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-remote-ref-get-download-size.returns"></a><h4>Returns</h4><p> the download size</p></div></div><div class="refsect2"><a id="flatpak-remote-ref-get-eol"></a><h3>flatpak_remote_ref_get_eol ()</h3><a id="id14675" class="indexterm"></a><pre class="programlisting">const <a class="link" href="#"><span class="returnvalue">char</span></a> *
flatpak_remote_ref_get_eol (<em class="parameter"><code><a class="link" href="#FlatpakRemoteRef" title="FlatpakRemoteRef"><span class="type">FlatpakRemoteRef</span></a> *self</code></em>);</pre><p>Returns the end-of-life reason string, or <a class="link" href="#"><code class="literal">NULL</code></a> if the
ref is not end-of-lifed.</p><div class="refsect3"><a id="flatpak-remote-ref-get-eol.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakRemoteRef" title="FlatpakRemoteRef"><span class="type">FlatpakRemoteRef</span></a></p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-remote-ref-get-eol.returns"></a><h4>Returns</h4><p>the end-of-life reason or <a class="link" href="#"><code class="literal">NULL</code></a>. </p><p><span class="annotation">[<acronym class="acronym">transfer none</acronym>]</span></p></div></div><div class="refsect2"><a id="flatpak-remote-ref-get-eol-rebase"></a><h3>flatpak_remote_ref_get_eol_rebase ()</h3><a id="id14711" class="indexterm"></a><pre class="programlisting">const <a class="link" href="#"><span class="returnvalue">char</span></a> *
flatpak_remote_ref_get_eol_rebase (<em class="parameter"><code><a class="link" href="#FlatpakRemoteRef" title="FlatpakRemoteRef"><span class="type">FlatpakRemoteRef</span></a> *self</code></em>);</pre><p>Returns the end-of-life rebased ref, or <a class="link" href="#"><code class="literal">NULL</code></a> if the
ref is not end-of-lifed.</p><div class="refsect3"><a id="flatpak-remote-ref-get-eol-rebase.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakRemoteRef" title="FlatpakRemoteRef"><span class="type">FlatpakRemoteRef</span></a></p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-remote-ref-get-eol-rebase.returns"></a><h4>Returns</h4><p>the end-of-life rebased ref or <a class="link" href="#"><code class="literal">NULL</code></a>. </p><p><span class="annotation">[<acronym class="acronym">transfer none</acronym>]</span></p></div></div><div class="refsect2"><a id="flatpak-remote-ref-get-installed-size"></a><h3>flatpak_remote_ref_get_installed_size ()</h3><a id="id14747" class="indexterm"></a><pre class="programlisting"><a class="link" href="#"><span class="returnvalue">guint64</span></a>
flatpak_remote_ref_get_installed_size (<em class="parameter"><code><a class="link" href="#FlatpakRemoteRef" title="FlatpakRemoteRef"><span class="type">FlatpakRemoteRef</span></a> *self</code></em>);</pre><p>Returns the installed size of the ref.</p><div class="refsect3"><a id="flatpak-remote-ref-get-installed-size.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakRemoteRef" title="FlatpakRemoteRef"><span class="type">FlatpakRemoteRef</span></a></p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-remote-ref-get-installed-size.returns"></a><h4>Returns</h4><p> the installed size</p></div></div><div class="refsect2"><a id="flatpak-remote-ref-get-metadata"></a><h3>flatpak_remote_ref_get_metadata ()</h3><a id="id14776" class="indexterm"></a><pre class="programlisting"><a class="link" href="#"><span class="returnvalue">GBytes</span></a> *
flatpak_remote_ref_get_metadata (<em class="parameter"><code><a class="link" href="#FlatpakRemoteRef" title="FlatpakRemoteRef"><span class="type">FlatpakRemoteRef</span></a> *self</code></em>);</pre><p>Returns the app metadata from the metadata cache of the ref.</p><div class="refsect3"><a id="flatpak-remote-ref-get-metadata.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakRemoteRef" title="FlatpakRemoteRef"><span class="type">FlatpakRemoteRef</span></a></p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-remote-ref-get-metadata.returns"></a><h4>Returns</h4><p>a <a class="link" href="#"><span class="type">GBytes</span></a> with the metadata file
contents or <a class="link" href="#"><code class="literal">NULL</code></a>. </p><p><span class="annotation">[<acronym class="acronym">transfer none</acronym>][<acronym class="acronym">nullable</acronym>]</span></p></div></div></div><div class="refsect1"><a id="FlatpakRemoteRef.other_details"></a><h2>Types and Values</h2><div class="refsect2"><a id="FlatpakRemoteRef-struct"></a><h3>struct FlatpakRemoteRef</h3><a id="id14815" class="indexterm"></a><pre class="programlisting">struct FlatpakRemoteRef;</pre></div></div><div class="refsect1"><a id="FlatpakRemoteRef.property-details"></a><h2>Property Details</h2><div class="refsect2"><a id="FlatpakRemoteRef--download-size"></a><h3>The <code class="literal">“download-size”</code> property</h3><a id="id14822" class="indexterm"></a><pre class="programlisting">  “download-size”            <a class="link" href="#"><span class="type">guint64</span></a></pre><p>The download size of the application.</p><p>Owner: FlatpakRemoteRef</p><p>Flags: Read / Write / Construct Only</p><p>Default value: 0</p></div><div class="refsect2"><a id="FlatpakRemoteRef--end-of-life"></a><h3>The <code class="literal">“end-of-life”</code> property</h3><a id="id14833" class="indexterm"></a><pre class="programlisting">  “end-of-life”              <a class="link" href="#"><span class="type">char</span></a> *</pre><p>The reason for the ref to be end of life.</p><p>Owner: FlatpakRemoteRef</p><p>Flags: Read / Write / Construct Only</p><p>Default value: NULL</p></div><div class="refsect2"><a id="FlatpakRemoteRef--end-of-life-rebase"></a><h3>The <code class="literal">“end-of-life-rebase”</code> property</h3><a id="id14844" class="indexterm"></a><pre class="programlisting">  “end-of-life-rebase”       <a class="link" href="#"><span class="type">char</span></a> *</pre><p>The new ref for the end of lifeed ref.</p><p>Owner: FlatpakRemoteRef</p><p>Flags: Read / Write / Construct Only</p><p>Default value: NULL</p></div><div class="refsect2"><a id="FlatpakRemoteRef--installed-size"></a><h3>The <code class="literal">“installed-size”</code> property</h3><a id="id14855" class="indexterm"></a><pre class="programlisting">  “installed-size”           <a class="link" href="#"><span class="type">guint64</span></a></pre><p>The installed size of the application.</p><p>Owner: FlatpakRemoteRef</p><p>Flags: Read / Write / Construct Only</p><p>Default value: 0</p></div><div class="refsect2"><a id="FlatpakRemoteRef--metadata"></a><h3>The <code class="literal">“metadata”</code> property</h3><a id="id14866" class="indexterm"></a><pre class="programlisting">  “metadata”                 <a class="link" href="#"><span class="type">GBytes</span></a> *</pre><p>The metadata info for the application.</p><p>Owner: FlatpakRemoteRef</p><p>Flags: Read / Write / Construct Only</p></div><div class="refsect2"><a id="FlatpakRemoteRef--remote-name"></a><h3>The <code class="literal">“remote-name”</code> property</h3><a id="id14876" class="indexterm"></a><pre class="programlisting">  “remote-name”              <a class="link" href="#"><span class="type">char</span></a> *</pre><p>The name of the remote.</p><p>Owner: FlatpakRemoteRef</p><p>Flags: Read / Write / Construct Only</p><p>Default value: NULL</p></div></div></div><div class="refentry"><div class="refentry.separator"><hr /></div><a id="FlatpakBundleRef"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>FlatpakBundleRef — Application bundle reference</p></div><div class="refsect1"><a id="FlatpakBundleRef.functions"></a><h2>Functions</h2><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="functions_proto_type" /><col class="functions_proto_name" /></colgroup><tbody><tr><td class="function_type"><a class="link" href="#FlatpakBundleRef" title="FlatpakBundleRef"><span class="returnvalue">FlatpakBundleRef</span></a> *
</td><td class="function_name"><a class="link" href="#flatpak-bundle-ref-new" title="flatpak_bundle_ref_new ()">flatpak_bundle_ref_new</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type"><a class="link" href="#"><span class="returnvalue">GFile</span></a> *
</td><td class="function_name"><a class="link" href="#flatpak-bundle-ref-get-file" title="flatpak_bundle_ref_get_file ()">flatpak_bundle_ref_get_file</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type"><a class="link" href="#"><span class="returnvalue">GBytes</span></a> *
</td><td class="function_name"><a class="link" href="#flatpak-bundle-ref-get-metadata" title="flatpak_bundle_ref_get_metadata ()">flatpak_bundle_ref_get_metadata</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type"><a class="link" href="#"><span class="returnvalue">GBytes</span></a> *
</td><td class="function_name"><a class="link" href="#flatpak-bundle-ref-get-appstream" title="flatpak_bundle_ref_get_appstream ()">flatpak_bundle_ref_get_appstream</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type"><a class="link" href="#"><span class="returnvalue">GBytes</span></a> *
</td><td class="function_name"><a class="link" href="#flatpak-bundle-ref-get-icon" title="flatpak_bundle_ref_get_icon ()">flatpak_bundle_ref_get_icon</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type"><a class="link" href="#"><span class="returnvalue">char</span></a> *
</td><td class="function_name"><a class="link" href="#flatpak-bundle-ref-get-origin" title="flatpak_bundle_ref_get_origin ()">flatpak_bundle_ref_get_origin</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type"><a class="link" href="#"><span class="returnvalue">guint64</span></a>
</td><td class="function_name"><a class="link" href="#flatpak-bundle-ref-get-installed-size" title="flatpak_bundle_ref_get_installed_size ()">flatpak_bundle_ref_get_installed_size</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type"><a class="link" href="#"><span class="returnvalue">char</span></a> *
</td><td class="function_name"><a class="link" href="#flatpak-bundle-ref-get-runtime-repo-url" title="flatpak_bundle_ref_get_runtime_repo_url ()">flatpak_bundle_ref_get_runtime_repo_url</a> <span class="c_punctuation">()</span></td></tr></tbody></table></div></div><div class="refsect1"><a id="FlatpakBundleRef.properties"></a><h2>Properties</h2><div class="informaltable"><table class="informaltable" border="0"><colgroup><col width="150px" class="properties_type" /><col width="300px" class="properties_name" /><col width="200px" class="properties_flags" /></colgroup><tbody><tr><td class="property_type"><a class="link" href="#"><span class="type">GFile</span></a> *</td><td class="property_name"><a class="link" href="#FlatpakBundleRef--file" title="The “file” property">file</a></td><td class="property_flags">Read / Write / Construct Only</td></tr></tbody></table></div></div><div class="refsect1"><a id="FlatpakBundleRef.other"></a><h2>Types and Values</h2><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="other_proto_type" /><col class="other_proto_name" /></colgroup><tbody><tr><td class="datatype_keyword">struct</td><td class="function_name"><a class="link" href="#FlatpakBundleRef-struct" title="struct FlatpakBundleRef">FlatpakBundleRef</a></td></tr></tbody></table></div></div><div class="refsect1"><a id="FlatpakBundleRef.object-hierarchy"></a><h2>Object Hierarchy</h2><pre class="screen">    <a class="link" href="#">GObject</a>
    <span class="lineart">╰──</span> <a class="link" href="#FlatpakRef" title="FlatpakRef">FlatpakRef</a>
        <span class="lineart">╰──</span> FlatpakBundleRef
</pre></div><div class="refsect1"><a id="FlatpakBundleRef.description"></a><h2>Description</h2><p>A FlatpakBundleRef refers to a single-file bundle containing an
application or runtime.</p></div><div class="refsect1"><a id="FlatpakBundleRef.functions_details"></a><h2>Functions</h2><div class="refsect2"><a id="flatpak-bundle-ref-new"></a><h3>flatpak_bundle_ref_new ()</h3><a id="id14995" class="indexterm"></a><pre class="programlisting"><a class="link" href="#FlatpakBundleRef" title="FlatpakBundleRef"><span class="returnvalue">FlatpakBundleRef</span></a> *
flatpak_bundle_ref_new (<em class="parameter"><code><a class="link" href="#"><span class="type">GFile</span></a> *file</code></em>,
                        <em class="parameter"><code><a class="link" href="#"><span class="type">GError</span></a> **error</code></em>);</pre><p>Creates a new bundle ref for the given file.</p><div class="refsect3"><a id="flatpak-bundle-ref-new.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>file</p></td><td class="parameter_description"><p>a <a class="link" href="#"><span class="type">GFile</span></a></p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>error</p></td><td class="parameter_description"><p>return location for an error. </p></td><td class="parameter_annotations"><span class="annotation">[<acronym class="acronym">allow-none</acronym>]</span></td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-bundle-ref-new.returns"></a><h4>Returns</h4><p> a new bundle ref.</p></div></div><div class="refsect2"><a id="flatpak-bundle-ref-get-file"></a><h3>flatpak_bundle_ref_get_file ()</h3><a id="id15035" class="indexterm"></a><pre class="programlisting"><a class="link" href="#"><span class="returnvalue">GFile</span></a> *
flatpak_bundle_ref_get_file (<em class="parameter"><code><a class="link" href="#FlatpakBundleRef" title="FlatpakBundleRef"><span class="type">FlatpakBundleRef</span></a> *self</code></em>);</pre><p>Get the file this bundle is stored in.</p><div class="refsect3"><a id="flatpak-bundle-ref-get-file.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakBundleRef" title="FlatpakBundleRef"><span class="type">FlatpakBundleRef</span></a></p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-bundle-ref-get-file.returns"></a><h4>Returns</h4><p> (transfer full) : an <a class="link" href="#"><span class="type">GFile</span></a></p></div></div><div class="refsect2"><a id="flatpak-bundle-ref-get-metadata"></a><h3>flatpak_bundle_ref_get_metadata ()</h3><a id="id15066" class="indexterm"></a><pre class="programlisting"><a class="link" href="#"><span class="returnvalue">GBytes</span></a> *
flatpak_bundle_ref_get_metadata (<em class="parameter"><code><a class="link" href="#FlatpakBundleRef" title="FlatpakBundleRef"><span class="type">FlatpakBundleRef</span></a> *self</code></em>);</pre><p>Get the metadata for the app/runtime</p><div class="refsect3"><a id="flatpak-bundle-ref-get-metadata.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakBundleRef" title="FlatpakBundleRef"><span class="type">FlatpakBundleRef</span></a></p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-bundle-ref-get-metadata.returns"></a><h4>Returns</h4><p> (transfer full) : an <a class="link" href="#"><span class="type">GBytes</span></a> with the metadata contents, or <a class="link" href="#"><code class="literal">NULL</code></a></p></div></div><div class="refsect2"><a id="flatpak-bundle-ref-get-appstream"></a><h3>flatpak_bundle_ref_get_appstream ()</h3><a id="id15099" class="indexterm"></a><pre class="programlisting"><a class="link" href="#"><span class="returnvalue">GBytes</span></a> *
flatpak_bundle_ref_get_appstream (<em class="parameter"><code><a class="link" href="#FlatpakBundleRef" title="FlatpakBundleRef"><span class="type">FlatpakBundleRef</span></a> *self</code></em>);</pre><p>Get the compressed appstream for the app/runtime</p><div class="refsect3"><a id="flatpak-bundle-ref-get-appstream.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakBundleRef" title="FlatpakBundleRef"><span class="type">FlatpakBundleRef</span></a></p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-bundle-ref-get-appstream.returns"></a><h4>Returns</h4><p> (transfer full) : an <a class="link" href="#"><span class="type">GBytes</span></a> with the appstream contents, or <a class="link" href="#"><code class="literal">NULL</code></a></p></div></div><div class="refsect2"><a id="flatpak-bundle-ref-get-icon"></a><h3>flatpak_bundle_ref_get_icon ()</h3><a id="id15132" class="indexterm"></a><pre class="programlisting"><a class="link" href="#"><span class="returnvalue">GBytes</span></a> *
flatpak_bundle_ref_get_icon (<em class="parameter"><code><a class="link" href="#FlatpakBundleRef" title="FlatpakBundleRef"><span class="type">FlatpakBundleRef</span></a> *self</code></em>,
                             <em class="parameter"><code><a class="link" href="#"><span class="type">int</span></a> size</code></em>);</pre><p>Get the icon png data for the app/runtime</p><div class="refsect3"><a id="flatpak-bundle-ref-get-icon.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakBundleRef" title="FlatpakBundleRef"><span class="type">FlatpakBundleRef</span></a></p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>size</p></td><td class="parameter_description"><p>64 or 128</p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-bundle-ref-get-icon.returns"></a><h4>Returns</h4><p> (transfer full) : an <a class="link" href="#"><span class="type">GBytes</span></a> with png contents</p></div></div><div class="refsect2"><a id="flatpak-bundle-ref-get-origin"></a><h3>flatpak_bundle_ref_get_origin ()</h3><a id="id15172" class="indexterm"></a><pre class="programlisting"><a class="link" href="#"><span class="returnvalue">char</span></a> *
flatpak_bundle_ref_get_origin (<em class="parameter"><code><a class="link" href="#FlatpakBundleRef" title="FlatpakBundleRef"><span class="type">FlatpakBundleRef</span></a> *self</code></em>);</pre><p>Get the origin url stored in the bundle</p><div class="refsect3"><a id="flatpak-bundle-ref-get-origin.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakBundleRef" title="FlatpakBundleRef"><span class="type">FlatpakBundleRef</span></a></p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-bundle-ref-get-origin.returns"></a><h4>Returns</h4><p> (transfer full) : an url string, or <a class="link" href="#"><code class="literal">NULL</code></a></p></div></div><div class="refsect2"><a id="flatpak-bundle-ref-get-installed-size"></a><h3>flatpak_bundle_ref_get_installed_size ()</h3><a id="id15203" class="indexterm"></a><pre class="programlisting"><a class="link" href="#"><span class="returnvalue">guint64</span></a>
flatpak_bundle_ref_get_installed_size (<em class="parameter"><code><a class="link" href="#FlatpakBundleRef" title="FlatpakBundleRef"><span class="type">FlatpakBundleRef</span></a> *self</code></em>);</pre><p>Returns the installed size for the bundle.</p><div class="refsect3"><a id="flatpak-bundle-ref-get-installed-size.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a FlatpakBundleRef</p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-bundle-ref-get-installed-size.returns"></a><h4>Returns</h4><p> the installed size</p></div></div><div class="refsect2"><a id="flatpak-bundle-ref-get-runtime-repo-url"></a><h3>flatpak_bundle_ref_get_runtime_repo_url ()</h3><a id="id15230" class="indexterm"></a><pre class="programlisting"><a class="link" href="#"><span class="returnvalue">char</span></a> *
flatpak_bundle_ref_get_runtime_repo_url
                               (<em class="parameter"><code><a class="link" href="#FlatpakBundleRef" title="FlatpakBundleRef"><span class="type">FlatpakBundleRef</span></a> *self</code></em>);</pre><p>Get the runtime flatpakrepo url stored in the bundle (if any)</p><div class="refsect3"><a id="flatpak-bundle-ref-get-runtime-repo-url.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakBundleRef" title="FlatpakBundleRef"><span class="type">FlatpakBundleRef</span></a></p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-bundle-ref-get-runtime-repo-url.returns"></a><h4>Returns</h4><p> (transfer full) : an url string, or <a class="link" href="#"><code class="literal">NULL</code></a></p></div><p class="since">Since: <a class="link" href="#">0.8.0</a></p></div></div><div class="refsect1"><a id="FlatpakBundleRef.other_details"></a><h2>Types and Values</h2><div class="refsect2"><a id="FlatpakBundleRef-struct"></a><h3>struct FlatpakBundleRef</h3><a id="id15265" class="indexterm"></a><pre class="programlisting">struct FlatpakBundleRef;</pre></div></div><div class="refsect1"><a id="FlatpakBundleRef.property-details"></a><h2>Property Details</h2><div class="refsect2"><a id="FlatpakBundleRef--file"></a><h3>The <code class="literal">“file”</code> property</h3><a id="id15272" class="indexterm"></a><pre class="programlisting">  “file”                     <a class="link" href="#"><span class="type">GFile</span></a> *</pre><p>The bundle file that this ref refers to.</p><p>Owner: FlatpakBundleRef</p><p>Flags: Read / Write / Construct Only</p></div></div></div><div class="refentry"><div class="refentry.separator"><hr /></div><a id="FlatpakInstance"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>FlatpakInstance — Information about a running sandbox</p></div><div class="refsect1"><a id="FlatpakInstance.functions"></a><h2>Functions</h2><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="functions_proto_type" /><col class="functions_proto_name" /></colgroup><tbody><tr><td class="function_type"><a class="link" href="#"><span class="returnvalue">GPtrArray</span></a> *
</td><td class="function_name"><a class="link" href="#flatpak-instance-get-all" title="flatpak_instance_get_all ()">flatpak_instance_get_all</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type">const <a class="link" href="#"><span class="returnvalue">char</span></a> *
</td><td class="function_name"><a class="link" href="#flatpak-instance-get-id" title="flatpak_instance_get_id ()">flatpak_instance_get_id</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type">const <a class="link" href="#"><span class="returnvalue">char</span></a> *
</td><td class="function_name"><a class="link" href="#flatpak-instance-get-app" title="flatpak_instance_get_app ()">flatpak_instance_get_app</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type">const <a class="link" href="#"><span class="returnvalue">char</span></a> *
</td><td class="function_name"><a class="link" href="#flatpak-instance-get-arch" title="flatpak_instance_get_arch ()">flatpak_instance_get_arch</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type">const <a class="link" href="#"><span class="returnvalue">char</span></a> *
</td><td class="function_name"><a class="link" href="#flatpak-instance-get-branch" title="flatpak_instance_get_branch ()">flatpak_instance_get_branch</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type">const <a class="link" href="#"><span class="returnvalue">char</span></a> *
</td><td class="function_name"><a class="link" href="#flatpak-instance-get-commit" title="flatpak_instance_get_commit ()">flatpak_instance_get_commit</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type">const <a class="link" href="#"><span class="returnvalue">char</span></a> *
</td><td class="function_name"><a class="link" href="#flatpak-instance-get-runtime" title="flatpak_instance_get_runtime ()">flatpak_instance_get_runtime</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type">const <a class="link" href="#"><span class="returnvalue">char</span></a> *
</td><td class="function_name"><a class="link" href="#flatpak-instance-get-runtime-commit" title="flatpak_instance_get_runtime_commit ()">flatpak_instance_get_runtime_commit</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type"><a class="link" href="#"><span class="returnvalue">int</span></a>
</td><td class="function_name"><a class="link" href="#flatpak-instance-get-pid" title="flatpak_instance_get_pid ()">flatpak_instance_get_pid</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type"><a class="link" href="#"><span class="returnvalue">int</span></a>
</td><td class="function_name"><a class="link" href="#flatpak-instance-get-child-pid" title="flatpak_instance_get_child_pid ()">flatpak_instance_get_child_pid</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type"><a class="link" href="#"><span class="returnvalue">GKeyFile</span></a> *
</td><td class="function_name"><a class="link" href="#flatpak-instance-get-info" title="flatpak_instance_get_info ()">flatpak_instance_get_info</a> <span class="c_punctuation">()</span></td></tr><tr><td class="function_type"><a class="link" href="#"><span class="returnvalue">gboolean</span></a>
</td><td class="function_name"><a class="link" href="#flatpak-instance-is-running" title="flatpak_instance_is_running ()">flatpak_instance_is_running</a> <span class="c_punctuation">()</span></td></tr></tbody></table></div></div><div class="refsect1"><a id="FlatpakInstance.other"></a><h2>Types and Values</h2><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="other_proto_type" /><col class="other_proto_name" /></colgroup><tbody><tr><td class="datatype_keyword">struct</td><td class="function_name"><a class="link" href="#FlatpakInstance-struct" title="struct FlatpakInstance">FlatpakInstance</a></td></tr></tbody></table></div></div><div class="refsect1"><a id="FlatpakInstance.object-hierarchy"></a><h2>Object Hierarchy</h2><pre class="screen">    <a class="link" href="#">GObject</a>
    <span class="lineart">╰──</span> FlatpakInstance
</pre></div><div class="refsect1"><a id="FlatpakInstance.description"></a><h2>Description</h2><p>A FlatpakInstance refers to a running sandbox, and contains
some basic information about the sandbox setup, such as the
application and runtime used inside the sandbox.</p><p>Importantly, it also gives access to the PID of the main
processes in the sandbox.</p><p>One way to obtain FlatpakInstances is to use <a class="link" href="#flatpak-instance-get-all" title="flatpak_instance_get_all ()"><code class="function">flatpak_instance_get_all()</code></a>.
Another way is to use <a class="link" href="#flatpak-installation-launch-full" title="flatpak_installation_launch_full ()"><code class="function">flatpak_installation_launch_full()</code></a>.</p><p>Note that process lifecycle tracking is fundamentally racy.
You have to be prepared for the sandbox and the processes
represented by a FlatpakInstance to not be around anymore.</p><p>The FlatpakInstance api was added in Flatpak 1.1.</p></div><div class="refsect1"><a id="FlatpakInstance.functions_details"></a><h2>Functions</h2><div class="refsect2"><a id="flatpak-instance-get-all"></a><h3>flatpak_instance_get_all ()</h3><a id="id15409" class="indexterm"></a><pre class="programlisting"><a class="link" href="#"><span class="returnvalue">GPtrArray</span></a> *
flatpak_instance_get_all (<em class="parameter"><code><span class="type">void</span></code></em>);</pre><p>Gets FlatpakInstance objects for all running sandboxes in the current session.</p><div class="refsect3"><a id="flatpak-instance-get-all.returns"></a><h4>Returns</h4><p>a <a class="link" href="#"><span class="type">GPtrArray</span></a> of
<a class="link" href="#FlatpakInstance" title="FlatpakInstance"><span class="type">FlatpakInstance</span></a> objects. </p><p><span class="annotation">[<acronym class="acronym">transfer full</acronym>][<acronym class="acronym">element-type</acronym> FlatpakInstance]</span></p></div><p class="since">Since: <a class="link" href="#">1.1</a></p></div><div class="refsect2"><a id="flatpak-instance-get-id"></a><h3>flatpak_instance_get_id ()</h3><a id="id15431" class="indexterm"></a><pre class="programlisting">const <a class="link" href="#"><span class="returnvalue">char</span></a> *
flatpak_instance_get_id (<em class="parameter"><code><a class="link" href="#FlatpakInstance" title="FlatpakInstance"><span class="type">FlatpakInstance</span></a> *self</code></em>);</pre><p>Gets the instance ID. The ID is used by Flatpak for bookkeeping
purposes and has no further relevance.</p><div class="refsect3"><a id="flatpak-instance-get-id.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakInstance" title="FlatpakInstance"><span class="type">FlatpakInstance</span></a></p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-instance-get-id.returns"></a><h4>Returns</h4><p> the instance ID</p></div><p class="since">Since: <a class="link" href="#">1.1</a></p></div><div class="refsect2"><a id="flatpak-instance-get-app"></a><h3>flatpak_instance_get_app ()</h3><a id="id15462" class="indexterm"></a><pre class="programlisting">const <a class="link" href="#"><span class="returnvalue">char</span></a> *
flatpak_instance_get_app (<em class="parameter"><code><a class="link" href="#FlatpakInstance" title="FlatpakInstance"><span class="type">FlatpakInstance</span></a> *self</code></em>);</pre><p>Gets the application ID of the application running in the instance.</p><p>Note that this may return <a class="link" href="#"><code class="literal">NULL</code></a> for sandboxes that don't have an application.</p><div class="refsect3"><a id="flatpak-instance-get-app.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakInstance" title="FlatpakInstance"><span class="type">FlatpakInstance</span></a></p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-instance-get-app.returns"></a><h4>Returns</h4><p>the application ID or <a class="link" href="#"><code class="literal">NULL</code></a>. </p><p><span class="annotation">[<acronym class="acronym">nullable</acronym>]</span></p></div><p class="since">Since: <a class="link" href="#">1.1</a></p></div><div class="refsect2"><a id="flatpak-instance-get-arch"></a><h3>flatpak_instance_get_arch ()</h3><a id="id15501" class="indexterm"></a><pre class="programlisting">const <a class="link" href="#"><span class="returnvalue">char</span></a> *
flatpak_instance_get_arch (<em class="parameter"><code><a class="link" href="#FlatpakInstance" title="FlatpakInstance"><span class="type">FlatpakInstance</span></a> *self</code></em>);</pre><p>Gets the architecture of the application running in the instance.</p><div class="refsect3"><a id="flatpak-instance-get-arch.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakInstance" title="FlatpakInstance"><span class="type">FlatpakInstance</span></a></p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-instance-get-arch.returns"></a><h4>Returns</h4><p> the architecture</p></div><p class="since">Since: <a class="link" href="#">1.1</a></p></div><div class="refsect2"><a id="flatpak-instance-get-branch"></a><h3>flatpak_instance_get_branch ()</h3><a id="id15532" class="indexterm"></a><pre class="programlisting">const <a class="link" href="#"><span class="returnvalue">char</span></a> *
flatpak_instance_get_branch (<em class="parameter"><code><a class="link" href="#FlatpakInstance" title="FlatpakInstance"><span class="type">FlatpakInstance</span></a> *self</code></em>);</pre><p>Gets the branch of the application running in the instance.</p><div class="refsect3"><a id="flatpak-instance-get-branch.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakInstance" title="FlatpakInstance"><span class="type">FlatpakInstance</span></a></p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-instance-get-branch.returns"></a><h4>Returns</h4><p> the architecture</p></div><p class="since">Since: <a class="link" href="#">1.1</a></p></div><div class="refsect2"><a id="flatpak-instance-get-commit"></a><h3>flatpak_instance_get_commit ()</h3><a id="id15563" class="indexterm"></a><pre class="programlisting">const <a class="link" href="#"><span class="returnvalue">char</span></a> *
flatpak_instance_get_commit (<em class="parameter"><code><a class="link" href="#FlatpakInstance" title="FlatpakInstance"><span class="type">FlatpakInstance</span></a> *self</code></em>);</pre><p>Gets the commit of the application running in the instance.</p><div class="refsect3"><a id="flatpak-instance-get-commit.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakInstance" title="FlatpakInstance"><span class="type">FlatpakInstance</span></a></p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-instance-get-commit.returns"></a><h4>Returns</h4><p> the commit</p></div><p class="since">Since: <a class="link" href="#">1.1</a></p></div><div class="refsect2"><a id="flatpak-instance-get-runtime"></a><h3>flatpak_instance_get_runtime ()</h3><a id="id15594" class="indexterm"></a><pre class="programlisting">const <a class="link" href="#"><span class="returnvalue">char</span></a> *
flatpak_instance_get_runtime (<em class="parameter"><code><a class="link" href="#FlatpakInstance" title="FlatpakInstance"><span class="type">FlatpakInstance</span></a> *self</code></em>);</pre><p>Gets the ref of the runtime used in the instance.</p><div class="refsect3"><a id="flatpak-instance-get-runtime.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakInstance" title="FlatpakInstance"><span class="type">FlatpakInstance</span></a></p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-instance-get-runtime.returns"></a><h4>Returns</h4><p> the runtime ref</p></div><p class="since">Since: <a class="link" href="#">1.1</a></p></div><div class="refsect2"><a id="flatpak-instance-get-runtime-commit"></a><h3>flatpak_instance_get_runtime_commit ()</h3><a id="id15625" class="indexterm"></a><pre class="programlisting">const <a class="link" href="#"><span class="returnvalue">char</span></a> *
flatpak_instance_get_runtime_commit (<em class="parameter"><code><a class="link" href="#FlatpakInstance" title="FlatpakInstance"><span class="type">FlatpakInstance</span></a> *self</code></em>);</pre><p>Gets the commit of the runtime used in the instance.</p><div class="refsect3"><a id="flatpak-instance-get-runtime-commit.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakInstance" title="FlatpakInstance"><span class="type">FlatpakInstance</span></a></p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-instance-get-runtime-commit.returns"></a><h4>Returns</h4><p> the runtime commit</p></div><p class="since">Since: <a class="link" href="#">1.1</a></p></div><div class="refsect2"><a id="flatpak-instance-get-pid"></a><h3>flatpak_instance_get_pid ()</h3><a id="id15656" class="indexterm"></a><pre class="programlisting"><a class="link" href="#"><span class="returnvalue">int</span></a>
flatpak_instance_get_pid (<em class="parameter"><code><a class="link" href="#FlatpakInstance" title="FlatpakInstance"><span class="type">FlatpakInstance</span></a> *self</code></em>);</pre><p>Gets the PID of the outermost process in the sandbox. This is not the
application process itself, but a bubblewrap 'babysitter' process.</p><p>See <a class="link" href="#flatpak-instance-get-child-pid" title="flatpak_instance_get_child_pid ()"><code class="function">flatpak_instance_get_child_pid()</code></a>.</p><div class="refsect3"><a id="flatpak-instance-get-pid.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakInstance" title="FlatpakInstance"><span class="type">FlatpakInstance</span></a></p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-instance-get-pid.returns"></a><h4>Returns</h4><p> the outermost process PID</p></div><p class="since">Since: <a class="link" href="#">1.1</a></p></div><div class="refsect2"><a id="flatpak-instance-get-child-pid"></a><h3>flatpak_instance_get_child_pid ()</h3><a id="id15690" class="indexterm"></a><pre class="programlisting"><a class="link" href="#"><span class="returnvalue">int</span></a>
flatpak_instance_get_child_pid (<em class="parameter"><code><a class="link" href="#FlatpakInstance" title="FlatpakInstance"><span class="type">FlatpakInstance</span></a> *self</code></em>);</pre><p>Gets the PID of the application process in the sandbox.</p><p>See <a class="link" href="#flatpak-instance-get-pid" title="flatpak_instance_get_pid ()"><code class="function">flatpak_instance_get_pid()</code></a>.</p><p>Note that this function may return 0 immediately after launching
a sandbox, for a short amount of time.</p><div class="refsect3"><a id="flatpak-instance-get-child-pid.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakInstance" title="FlatpakInstance"><span class="type">FlatpakInstance</span></a></p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-instance-get-child-pid.returns"></a><h4>Returns</h4><p> the application process PID</p></div><p class="since">Since: <a class="link" href="#">1.1</a></p></div><div class="refsect2"><a id="flatpak-instance-get-info"></a><h3>flatpak_instance_get_info ()</h3><a id="id15725" class="indexterm"></a><pre class="programlisting"><a class="link" href="#"><span class="returnvalue">GKeyFile</span></a> *
flatpak_instance_get_info (<em class="parameter"><code><a class="link" href="#FlatpakInstance" title="FlatpakInstance"><span class="type">FlatpakInstance</span></a> *self</code></em>);</pre><p>Gets a keyfile that holds information about the running sandbox.</p><p>This file is available as /.flatpak-info inside the sandbox as well.</p><p>The most important data in the keyfile is available with separate getters,
but there may be more information in the keyfile.</p><div class="refsect3"><a id="flatpak-instance-get-info.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakInstance" title="FlatpakInstance"><span class="type">FlatpakInstance</span></a></p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-instance-get-info.returns"></a><h4>Returns</h4><p> the flatpak-info keyfile</p></div><p class="since">Since: <a class="link" href="#">1.1</a></p></div><div class="refsect2"><a id="flatpak-instance-is-running"></a><h3>flatpak_instance_is_running ()</h3><a id="id15758" class="indexterm"></a><pre class="programlisting"><a class="link" href="#"><span class="returnvalue">gboolean</span></a>
flatpak_instance_is_running (<em class="parameter"><code><a class="link" href="#FlatpakInstance" title="FlatpakInstance"><span class="type">FlatpakInstance</span></a> *self</code></em>);</pre><p>Finds out if the sandbox represented by <em class="parameter"><code>self</code></em>
 is still running.</p><div class="refsect3"><a id="flatpak-instance-is-running.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>self</p></td><td class="parameter_description"><p>a <a class="link" href="#FlatpakInstance" title="FlatpakInstance"><span class="type">FlatpakInstance</span></a></p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div><div class="refsect3"><a id="flatpak-instance-is-running.returns"></a><h4>Returns</h4><p> <a class="link" href="#"><code class="literal">TRUE</code></a> if the sandbox is still running</p></div></div></div><div class="refsect1"><a id="FlatpakInstance.other_details"></a><h2>Types and Values</h2><div class="refsect2"><a id="FlatpakInstance-struct"></a><h3>struct FlatpakInstance</h3><a id="id15792" class="indexterm"></a><pre class="programlisting">struct FlatpakInstance;</pre></div></div></div><div class="refentry"><div class="refentry.separator"><hr /></div><a id="flatpak-Error-codes"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>Error codes</p></div><div class="refsect1"><a id="flatpak-Error-codes.other"></a><h2>Types and Values</h2><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="other_proto_type" /><col class="other_proto_name" /></colgroup><tbody><tr><td class="define_keyword">#define</td><td class="function_name"><a class="link" href="#FLATPAK-ERROR:CAPS" title="FLATPAK_ERROR">FLATPAK_ERROR</a></td></tr><tr><td class="datatype_keyword">enum</td><td class="function_name"><a class="link" href="#FlatpakError" title="enum FlatpakError">FlatpakError</a></td></tr><tr><td class="define_keyword">#define</td><td class="function_name"><a class="link" href="#FLATPAK-PORTAL-ERROR:CAPS" title="FLATPAK_PORTAL_ERROR">FLATPAK_PORTAL_ERROR</a></td></tr><tr><td class="datatype_keyword">enum</td><td class="function_name"><a class="link" href="#FlatpakPortalError" title="enum FlatpakPortalError">FlatpakPortalError</a></td></tr></tbody></table></div></div><div class="refsect1"><a id="flatpak-Error-codes.description"></a><h2>Description</h2><p>The FlatpakError and FlatpakPortalError enumerations contain error codes
for some common errors.</p></div><div class="refsect1"><a id="flatpak-Error-codes.functions_details"></a><h2>Functions</h2><p></p></div><div class="refsect1"><a id="flatpak-Error-codes.other_details"></a><h2>Types and Values</h2><div class="refsect2"><a id="FLATPAK-ERROR:CAPS"></a><h3>FLATPAK_ERROR</h3><a id="id15835" class="indexterm"></a><pre class="programlisting">#define FLATPAK_ERROR flatpak_error_quark ()
</pre><p>The error domain for <a class="link" href="#FlatpakError" title="enum FlatpakError"><span class="type">FlatpakError</span></a> errors.</p></div><div class="refsect2"><a id="FlatpakError"></a><h3>enum FlatpakError</h3><a id="id15842" class="indexterm"></a><p>Error codes for library functions.</p><div class="refsect3"><a id="FlatpakError.members"></a><h4>Members</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="300px" class="enum_members_name" /><col class="enum_members_description" /><col width="200px" class="enum_members_annotations" /></colgroup><tbody><tr><td class="enum_member_name"><p><a id="FLATPAK-ERROR-ALREADY-INSTALLED:CAPS"></a>FLATPAK_ERROR_ALREADY_INSTALLED</p></td><td class="enum_member_description"><p>App/runtime/remote is already installed</p>
</td><td class="enum_member_annotations"> </td></tr><tr><td class="enum_member_name"><p><a id="FLATPAK-ERROR-NOT-INSTALLED:CAPS"></a>FLATPAK_ERROR_NOT_INSTALLED</p></td><td class="enum_member_description"><p>App/runtime is not installed</p>
</td><td class="enum_member_annotations"> </td></tr><tr><td class="enum_member_name"><p><a id="FLATPAK-ERROR-ONLY-PULLED:CAPS"></a>FLATPAK_ERROR_ONLY_PULLED</p></td><td class="enum_member_description"><p>App/runtime was only pulled into the local
repository but not installed.</p>
</td><td class="enum_member_annotations"> </td></tr><tr><td class="enum_member_name"><p><a id="FLATPAK-ERROR-DIFFERENT-REMOTE:CAPS"></a>FLATPAK_ERROR_DIFFERENT_REMOTE</p></td><td class="enum_member_description"><p>The App/Runtime is already installed, but from a different remote.</p>
</td><td class="enum_member_annotations"> </td></tr><tr><td class="enum_member_name"><p><a id="FLATPAK-ERROR-ABORTED:CAPS"></a>FLATPAK_ERROR_ABORTED</p></td><td class="enum_member_description"><p>The transaction was aborted (returned <a class="link" href="#"><code class="literal">TRUE</code></a> in operation-error signal).</p>
</td><td class="enum_member_annotations"> </td></tr><tr><td class="enum_member_name"><p><a id="FLATPAK-ERROR-SKIPPED:CAPS"></a>FLATPAK_ERROR_SKIPPED</p></td><td class="enum_member_description"><p>The App/Runtime install was skipped due to earlier errors.</p>
</td><td class="enum_member_annotations"> </td></tr><tr><td class="enum_member_name"><p><a id="FLATPAK-ERROR-NEED-NEW-FLATPAK:CAPS"></a>FLATPAK_ERROR_NEED_NEW_FLATPAK</p></td><td class="enum_member_description"><p>The App/Runtime needs a more recent version of flatpak.</p>
</td><td class="enum_member_annotations"> </td></tr><tr><td class="enum_member_name"><p><a id="FLATPAK-ERROR-REMOTE-NOT-FOUND:CAPS"></a>FLATPAK_ERROR_REMOTE_NOT_FOUND</p></td><td class="enum_member_description"><p>The specified remote was not found.</p>
</td><td class="enum_member_annotations"> </td></tr><tr><td class="enum_member_name"><p><a id="FLATPAK-ERROR-RUNTIME-NOT-FOUND:CAPS"></a>FLATPAK_ERROR_RUNTIME_NOT_FOUND</p></td><td class="enum_member_description"><p>A runtime needed for the app was not found.</p>
</td><td class="enum_member_annotations"> </td></tr><tr><td class="enum_member_name"><p><a id="FLATPAK-ERROR-DOWNGRADE:CAPS"></a>FLATPAK_ERROR_DOWNGRADE</p></td><td class="enum_member_description"><p>The pulled commit is a downgrade, and a downgrade wasn't
specifically allowed. (Since: 1.0)</p>
</td><td class="enum_member_annotations"> </td></tr><tr><td class="enum_member_name"><p><a id="FLATPAK-ERROR-INVALID-REF:CAPS"></a>FLATPAK_ERROR_INVALID_REF</p></td><td class="enum_member_description"><p>A ref could not be parsed. (Since: 1.0.3)</p>
</td><td class="enum_member_annotations"> </td></tr><tr><td class="enum_member_name"><p><a id="FLATPAK-ERROR-INVALID-DATA:CAPS"></a>FLATPAK_ERROR_INVALID_DATA</p></td><td class="enum_member_description"><p>Invalid data. (Since: 1.0.3)</p>
</td><td class="enum_member_annotations"> </td></tr><tr><td class="enum_member_name"><p><a id="FLATPAK-ERROR-UNTRUSTED:CAPS"></a>FLATPAK_ERROR_UNTRUSTED</p></td><td class="enum_member_description"><p>Missing GPG key or signature. (Since: 1.0.3)</p>
</td><td class="enum_member_annotations"> </td></tr><tr><td class="enum_member_name"><p><a id="FLATPAK-ERROR-SETUP-FAILED:CAPS"></a>FLATPAK_ERROR_SETUP_FAILED</p></td><td class="enum_member_description"><p>Sandbox setup failed. (Since: 1.0.3)</p>
</td><td class="enum_member_annotations"> </td></tr><tr><td class="enum_member_name"><p><a id="FLATPAK-ERROR-EXPORT-FAILED:CAPS"></a>FLATPAK_ERROR_EXPORT_FAILED</p></td><td class="enum_member_description"><p>Exporting data failed. (Since: 1.0.3)</p>
</td><td class="enum_member_annotations"> </td></tr><tr><td class="enum_member_name"><p><a id="FLATPAK-ERROR-REMOTE-USED:CAPS"></a>FLATPAK_ERROR_REMOTE_USED</p></td><td class="enum_member_description"><p>Remote can't be uninstalled. (Since: 1.0.3)</p>
</td><td class="enum_member_annotations"> </td></tr><tr><td class="enum_member_name"><p><a id="FLATPAK-ERROR-RUNTIME-USED:CAPS"></a>FLATPAK_ERROR_RUNTIME_USED</p></td><td class="enum_member_description"><p>Runtime can't be uninstalled. (Since: 1.0.3)</p>
</td><td class="enum_member_annotations"> </td></tr><tr><td class="enum_member_name"><p><a id="FLATPAK-ERROR-INVALID-NAME:CAPS"></a>FLATPAK_ERROR_INVALID_NAME</p></td><td class="enum_member_description"><p>Application, runtime or remote name is invalid. (Since: 1.0.3)</p>
</td><td class="enum_member_annotations"> </td></tr><tr><td class="enum_member_name"><p><a id="FLATPAK-ERROR-OUT-OF-SPACE:CAPS"></a>FLATPAK_ERROR_OUT_OF_SPACE</p></td><td class="enum_member_description"><p>More disk space needed. (Since: 1.2.0)</p>
</td><td class="enum_member_annotations"> </td></tr><tr><td class="enum_member_name"><p><a id="FLATPAK-ERROR-WRONG-USER:CAPS"></a>FLATPAK_ERROR_WRONG_USER</p></td><td class="enum_member_description"><p>An operation is being attempted by the wrong user (such as
root operating on a user installation). (Since: 1.2.0)</p>
</td><td class="enum_member_annotations"> </td></tr><tr><td class="enum_member_name"><p><a id="FLATPAK-ERROR-NOT-CACHED:CAPS"></a>FLATPAK_ERROR_NOT_CACHED</p></td><td class="enum_member_description"><p>Cached data was requested, but it was not available. (Since: 1.4.0)</p>
</td><td class="enum_member_annotations"> </td></tr><tr><td class="enum_member_name"><p><a id="FLATPAK-ERROR-REF-NOT-FOUND:CAPS"></a>FLATPAK_ERROR_REF_NOT_FOUND</p></td><td class="enum_member_description"><p>The specified ref was not found. (Since: 1.4.0)</p>
</td><td class="enum_member_annotations"> </td></tr><tr><td class="enum_member_name"><p><a id="FLATPAK-ERROR-PERMISSION-DENIED:CAPS"></a>FLATPAK_ERROR_PERMISSION_DENIED</p></td><td class="enum_member_description"><p>An operation was not allowed by the administrative policy.
For example, an app is not allowed to be installed due
to not complying with the parental controls policy. (Since: 1.5.1)</p>
</td><td class="enum_member_annotations"> </td></tr><tr><td class="enum_member_name"><p><a id="FLATPAK-ERROR-AUTHENTICATION-FAILED:CAPS"></a>FLATPAK_ERROR_AUTHENTICATION_FAILED</p></td><td class="enum_member_description"><p>An authentication operation failed, for example, no
correct password was supplied. (Since: 1.7.3)</p>
</td><td class="enum_member_annotations"> </td></tr><tr><td class="enum_member_name"><p><a id="FLATPAK-ERROR-NOT-AUTHORIZED:CAPS"></a>FLATPAK_ERROR_NOT_AUTHORIZED</p></td><td class="enum_member_description"><p>An operation tried to access a ref, or information about it that it
was not authorized. For example, when succesfully authenticating with a
server but the user doesn't have permissions for a private ref. (Since: 1.7.3)</p>
</td><td class="enum_member_annotations"> </td></tr></tbody></table></div></div></div><div class="refsect2"><a id="FLATPAK-PORTAL-ERROR:CAPS"></a><h3>FLATPAK_PORTAL_ERROR</h3><a id="id16006" class="indexterm"></a><pre class="programlisting">#define FLATPAK_PORTAL_ERROR flatpak_portal_error_quark ()
</pre><p>The error domain for <a class="link" href="#FlatpakPortalError" title="enum FlatpakPortalError"><span class="type">FlatpakPortalError</span></a> errors.</p></div><div class="refsect2"><a id="FlatpakPortalError"></a><h3>enum FlatpakPortalError</h3><a id="id16013" class="indexterm"></a><p>Error codes returned by portal calls.</p><div class="refsect3"><a id="FlatpakPortalError.members"></a><h4>Members</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="300px" class="enum_members_name" /><col class="enum_members_description" /><col width="200px" class="enum_members_annotations" /></colgroup><tbody><tr><td class="enum_member_name"><p><a id="FLATPAK-PORTAL-ERROR-FAILED:CAPS"></a>FLATPAK_PORTAL_ERROR_FAILED</p></td><td class="enum_member_description"><p>General portal failure</p>
</td><td class="enum_member_annotations"> </td></tr><tr><td class="enum_member_name"><p><a id="FLATPAK-PORTAL-ERROR-INVALID-ARGUMENT:CAPS"></a>FLATPAK_PORTAL_ERROR_INVALID_ARGUMENT</p></td><td class="enum_member_description"><p>An argument was invalid</p>
</td><td class="enum_member_annotations"> </td></tr><tr><td class="enum_member_name"><p><a id="FLATPAK-PORTAL-ERROR-NOT-FOUND:CAPS"></a>FLATPAK_PORTAL_ERROR_NOT_FOUND</p></td><td class="enum_member_description"><p>The object was not found</p>
</td><td class="enum_member_annotations"> </td></tr><tr><td class="enum_member_name"><p><a id="FLATPAK-PORTAL-ERROR-EXISTS:CAPS"></a>FLATPAK_PORTAL_ERROR_EXISTS</p></td><td class="enum_member_description"><p>The object already exists</p>
</td><td class="enum_member_annotations"> </td></tr><tr><td class="enum_member_name"><p><a id="FLATPAK-PORTAL-ERROR-NOT-ALLOWED:CAPS"></a>FLATPAK_PORTAL_ERROR_NOT_ALLOWED</p></td><td class="enum_member_description"><p>The call was not allowed</p>
</td><td class="enum_member_annotations"> </td></tr><tr><td class="enum_member_name"><p><a id="FLATPAK-PORTAL-ERROR-CANCELLED:CAPS"></a>FLATPAK_PORTAL_ERROR_CANCELLED</p></td><td class="enum_member_description"><p>The call was cancelled by the user</p>
</td><td class="enum_member_annotations"> </td></tr><tr><td class="enum_member_name"><p><a id="FLATPAK-PORTAL-ERROR-WINDOW-DESTROYED:CAPS"></a>FLATPAK_PORTAL_ERROR_WINDOW_DESTROYED</p></td><td class="enum_member_description"><p>The window was destroyed by the user</p>
</td><td class="enum_member_annotations"> </td></tr></tbody></table></div></div></div></div></div><div class="refentry"><div class="refentry.separator"><hr /></div><a id="flatpak-Version-information"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>Version information</p></div><div class="refsect1"><a id="flatpak-Version-information.functions"></a><h2>Functions</h2><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="functions_proto_type" /><col class="functions_proto_name" /></colgroup><tbody><tr><td class="define_keyword">#define</td><td class="function_name"><a class="link" href="#FLATPAK-CHECK-VERSION:CAPS" title="FLATPAK_CHECK_VERSION()">FLATPAK_CHECK_VERSION</a><span class="c_punctuation">()</span></td></tr></tbody></table></div></div><div class="refsect1"><a id="flatpak-Version-information.other"></a><h2>Types and Values</h2><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="other_proto_type" /><col class="other_proto_name" /></colgroup><tbody><tr><td class="define_keyword">#define</td><td class="function_name"><a class="link" href="#FLATPAK-MAJOR-VERSION:CAPS" title="FLATPAK_MAJOR_VERSION">FLATPAK_MAJOR_VERSION</a></td></tr><tr><td class="define_keyword">#define</td><td class="function_name"><a class="link" href="#FLATPAK-MINOR-VERSION:CAPS" title="FLATPAK_MINOR_VERSION">FLATPAK_MINOR_VERSION</a></td></tr><tr><td class="define_keyword">#define</td><td class="function_name"><a class="link" href="#FLATPAK-MICRO-VERSION:CAPS" title="FLATPAK_MICRO_VERSION">FLATPAK_MICRO_VERSION</a></td></tr></tbody></table></div></div><div class="refsect1"><a id="flatpak-Version-information.description"></a><h2>Description</h2><p>These macros can be used to check the library version in use.</p></div><div class="refsect1"><a id="flatpak-Version-information.functions_details"></a><h2>Functions</h2><div class="refsect2"><a id="FLATPAK-CHECK-VERSION:CAPS"></a><h3>FLATPAK_CHECK_VERSION()</h3><a id="id16111" class="indexterm"></a><pre class="programlisting">#define             FLATPAK_CHECK_VERSION(major,minor,micro)</pre><p>Check that the current version is at least <em class="parameter"><code>major</code></em>
.<em class="parameter"><code>minor</code></em>
.<em class="parameter"><code>micro</code></em>
.</p><div class="refsect3"><a id="FLATPAK-CHECK-VERSION.parameters"></a><h4>Parameters</h4><div class="informaltable"><table class="informaltable" width="100%" border="0"><colgroup><col width="150px" class="parameters_name" /><col class="parameters_description" /><col width="200px" class="parameters_annotations" /></colgroup><tbody><tr><td class="parameter_name"><p>major</p></td><td class="parameter_description"><p>major version to compare against</p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>minor</p></td><td class="parameter_description"><p>minor version to compare against</p></td><td class="parameter_annotations"> </td></tr><tr><td class="parameter_name"><p>micro</p></td><td class="parameter_description"><p>micro version to compare against</p></td><td class="parameter_annotations"> </td></tr></tbody></table></div></div></div></div><div class="refsect1"><a id="flatpak-Version-information.other_details"></a><h2>Types and Values</h2><div class="refsect2"><a id="FLATPAK-MAJOR-VERSION:CAPS"></a><h3>FLATPAK_MAJOR_VERSION</h3><a id="id16147" class="indexterm"></a><pre class="programlisting">#define FLATPAK_MAJOR_VERSION (1)
</pre><p>The major version.</p></div><div class="refsect2"><a id="FLATPAK-MINOR-VERSION:CAPS"></a><h3>FLATPAK_MINOR_VERSION</h3><a id="id16152" class="indexterm"></a><pre class="programlisting">#define FLATPAK_MINOR_VERSION (16)
</pre><p>The minor version.</p></div><div class="refsect2"><a id="FLATPAK-MICRO-VERSION:CAPS"></a><h3>FLATPAK_MICRO_VERSION</h3><a id="id16157" class="indexterm"></a><pre class="programlisting">#define FLATPAK_MICRO_VERSION (6)
</pre><p>The micro version.</p></div></div></div></div><div class="chapter"><div class="titlepage"><div><div><h1 class="title"><a id="id1338"></a>D-Bus APIs</h1></div></div></div><div class="toc"><p><strong>Table of Contents</strong></p><dl class="toc"><dt><span class="refentrytitle"><a href="#gdbus-org.freedesktop.Flatpak.Authenticator">org.freedesktop.Flatpak.Authenticator</a></span><span class="refpurpose"></span></dt><dt><span class="refentrytitle"><a href="#gdbus-org.freedesktop.Flatpak.AuthenticatorRequest">org.freedesktop.Flatpak.AuthenticatorRequest</a></span><span class="refpurpose"></span></dt><dt><span class="refentrytitle"><a href="#gdbus-org.freedesktop.Flatpak.Development">org.freedesktop.Flatpak.Development</a></span><span class="refpurpose"> — Flatpak development interface</span></dt><dt><span class="refentrytitle"><a href="#gdbus-org.freedesktop.Flatpak.SessionHelper">org.freedesktop.Flatpak.SessionHelper</a></span><span class="refpurpose"> — Flatpak session service</span></dt><dt><span class="refentrytitle"><a href="#gdbus-org.freedesktop.Flatpak.SystemHelper">org.freedesktop.Flatpak.SystemHelper</a></span><span class="refpurpose"> — Flatpak system service</span></dt><dt><span class="refentrytitle"><a href="#gdbus-org.freedesktop.impl.portal.PermissionStore">org.freedesktop.impl.portal.PermissionStore</a></span><span class="refpurpose"> — Database to store permissions</span></dt><dt><span class="refentrytitle"><a href="#gdbus-org.freedesktop.portal.Documents">org.freedesktop.portal.Documents</a></span><span class="refpurpose"> — Document portal</span></dt><dt><span class="refentrytitle"><a href="#gdbus-org.freedesktop.portal.Flatpak">org.freedesktop.portal.Flatpak</a></span><span class="refpurpose"> — Flatpak portal</span></dt><dt><span class="refentrytitle"><a href="#gdbus-org.freedesktop.portal.Flatpak.UpdateMonitor">org.freedesktop.portal.Flatpak.UpdateMonitor</a></span><span class="refpurpose"></span></dt></dl></div><div class="refentry"><a id="gdbus-org.freedesktop.Flatpak.Authenticator"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>org.freedesktop.Flatpak.Authenticator</p></div><div class="refsynopsisdiv"><h2>Methods</h2><pre class="synopsis">
<a class="link" href="#gdbus-method-org-freedesktop-Flatpak-Authenticator.RequestRefTokens" title="The RequestRefTokens() method">RequestRefTokens</a> (IN  s           handle_token,
                  IN  a{sv}       authenticator_options,
                  IN  s           remote,
                  IN  s           remote_uri,
                  IN  a(ssia{sv}) refs,
                  IN  a{sv}       options,
                  IN  s           parent_window,
                  OUT o           handle);
</pre></div><div class="refsect1"><a id="id16173"></a><h2>Properties</h2><pre class="synopsis">
<a class="link" href="#gdbus-property-org-freedesktop-Flatpak-Authenticator.version" title="The &quot;version&quot; property">version</a>  readable   u
</pre></div><div class="refsect1"><a id="gdbus-interface-org-freedesktop-Flatpak-Authenticator"></a><h2>Description</h2><p>
</p><p>
</p></div><div class="refsect1"><a id="gdbus-methods-org.freedesktop.Flatpak.Authenticator"></a><h2>Method Details</h2><div class="refsect2"><a id="gdbus-method-org-freedesktop-Flatpak-Authenticator.RequestRefTokens"></a><h3>The RequestRefTokens() method</h3><a id="id16184" class="indexterm"></a><pre class="programlisting">
RequestRefTokens (IN  s           handle_token,
                  IN  a{sv}       authenticator_options,
                  IN  s           remote,
                  IN  s           remote_uri,
                  IN  a(ssia{sv}) refs,
                  IN  a{sv}       options,
                  IN  s           parent_window,
                  OUT o           handle);
</pre><p>
</p><p>
      object path element. See the <a class="link" href="#gdbus-interface-org-freedesktop-Flatpak-AuthenticatorRequest.top_of_page">org.freedesktop.Flatpak.AuthenticatorRequest</a> documentation for
      more information about the <em class="parameter"><code>handle</code></em>.
<em class="parameter"><code>authenticator_options</code></em>: Data from the xa.authenticator-options key in the configuration for the remote, it is up to the authenticator to interpret this how it wants.
<em class="parameter"><code>remote</code></em>: The name of the remote we're pulling from.
<em class="parameter"><code>remote_uri</code></em>: The uri of the remote we're pulling from.
<em class="parameter"><code>refs</code></em>: An array of ref that flatpak wants to pull and info about each ref.
<em class="parameter"><code>options</code></em>: An extensible  dict with extra options.
<em class="parameter"><code>parent_window</code></em>: Identifier for the application window, see <a class="link" href="#">xdg-desktop-portal docs</a> for details on its format.
<em class="parameter"><code>handle</code></em>: Object path for the <a class="link" href="#gdbus-interface-org-freedesktop-Flatpak-AuthenticatorRequest.top_of_page">org.freedesktop.Flatpak.AuthenticatorRequest</a> object representing this call.
</p><p>
Starts a request for resolving the tokens to use for <em class="parameter"><code>refs</code></em> from the <em class="parameter"><code>remote</code></em> (with uri <em class="parameter"><code>remote_uri</code></em>).
</p><p>
This is not a regular dbus call that blocks until the result is done, instead it creates
a org.freedesktop.Flatpak.AuthenticatorRequest object representing the ongoing operation and
returns an object path <em class="parameter"><code>handle</code></em> to it. When the operation succeds the Response signal is emitted
on the request with a response status and a dict with details.
</p><p>
The <em class="parameter"><code>refs</code></em> array elements are of type (ssia{sv}) where the items are:
</p><table border="0" summary="Simple list" class="simplelist"><tr><td>s: The ref being pulled</td></tr><tr><td>s: The exact commit being pulled</td></tr><tr><td>i: The token-type of the commit</td></tr><tr><td>a{sv}: Extra per-ref metadata, currenlty only has summary.* fields which are copied from the summary per-commit metadata.</td></tr></table><p>
</p><p>
On success (response 0) the returned details should have:
</p><div class="variablelist"><dl class="variablelist"><dt><span class="term">tokens a{sas}</span></dt><dd><p>
      A list of tokens (the first element of the struct), and the refs (the second).
    </p></dd></dl></div><p>
</p><p>
For other response types, see the <a class="link" href="#gdbus-interface-org-freedesktop-Flatpak-AuthenticatorRequest.top_of_page">org.freedesktop.Flatpak.AuthenticatorRequest</a> docs.
</p><p>
Exactly how the authenticator decides on what token to use is up to each implementation, but typically it needs to talk to
some kind of network service which in turn may need interaction such as login or entering credit card details.
This can be done in two ways:
</p><p>
The authenticator can use a native ui toolkit directly (as its running in the session). To make this work well the
flatpak client can (if its has a UI) pass in the <em class="parameter"><code>parent_window</code></em> argument, allowing the authenticator to open its
dialog in a way that is correctly parented.
</p><p>
Alternatively, if the interaction is web-based, then rather than showing a web browser itself it can emit
the WebFlow signal on the request object, which lets the flatpak client show a webview embedded in its ui in a
way that works best with its user interface.
</p><p>
For simple user/password authentication (such as http basic authentication systems) there is also a BasicAuth signal
that can be used to get the user to interactively authenticate. This kind of authentication is quite limited, but
if used it can allow nice interactive authentication even in the command line case.
</p><p>
Currently used keys in the <em class="parameter"><code>options</code></em> argument:
</p><div class="variablelist"><dl class="variablelist"><dt><span class="term">xa.oci-registry-uri s</span></dt><dd><p>
      For OCI remotes this is extracted from the summary file and contains the uri to the OCI registry that
      contains the images.
    </p></dd><dt><span class="term">no-interation b</span></dt><dd><p>
      If true, the authenticator should not do any interaction (and fail instead if it needs to). This can be enabled by
      clients that want to run in the background.
    </p></dd></dl></div><p>
</p><div class="variablelist"><dl class="variablelist"><dt><span class="term"><code class="literal">IN s <em class="parameter"><code>handle_token</code></em></code>:</span></dt><dd><p>
A string that will be used as the last element of the <em class="parameter"><code>handle</code></em>. Must be a valid
</p></dd><dt><span class="term"><code class="literal">IN a{sv} <em class="parameter"><code>authenticator_options</code></em></code>:</span></dt><dd><p>
</p><p>
</p></dd><dt><span class="term"><code class="literal">IN s <em class="parameter"><code>remote</code></em></code>:</span></dt><dd><p>
</p><p>
</p></dd><dt><span class="term"><code class="literal">IN s <em class="parameter"><code>remote_uri</code></em></code>:</span></dt><dd><p>
</p><p>
</p></dd><dt><span class="term"><code class="literal">IN a(ssia{sv}) <em class="parameter"><code>refs</code></em></code>:</span></dt><dd><p>
</p><p>
</p></dd><dt><span class="term"><code class="literal">IN a{sv} <em class="parameter"><code>options</code></em></code>:</span></dt><dd><p>
</p><p>
</p></dd><dt><span class="term"><code class="literal">IN s <em class="parameter"><code>parent_window</code></em></code>:</span></dt><dd><p>
</p><p>
</p></dd><dt><span class="term"><code class="literal">OUT o <em class="parameter"><code>handle</code></em></code>:</span></dt><dd><p>
</p><p>
</p></dd></dl></div></div></div><div class="refsect1"><a id="gdbus-properties-org.freedesktop.Flatpak.Authenticator"></a><h2>Property Details</h2><div class="refsect2"><a id="gdbus-property-org-freedesktop-Flatpak-Authenticator.version"></a><h3>The "version" property</h3><a id="id16297" class="indexterm"></a><pre class="programlisting">
version  readable   u
</pre><p>
</p><p>
</p></div></div></div><div class="refentry"><div class="refentry.separator"><hr /></div><a id="gdbus-org.freedesktop.Flatpak.AuthenticatorRequest"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>org.freedesktop.Flatpak.AuthenticatorRequest</p></div><div class="refsynopsisdiv"><h2>Methods</h2><pre class="synopsis">
<a class="link" href="#gdbus-method-org-freedesktop-Flatpak-AuthenticatorRequest.Close" title="The Close() method">Close</a>          ();
<a class="link" href="#gdbus-method-org-freedesktop-Flatpak-AuthenticatorRequest.BasicAuthReply" title="The BasicAuthReply() method">BasicAuthReply</a> (IN  s     user,
                IN  s     password,
                IN  a{sv} options);
</pre></div><div class="refsect1"><a id="id16314"></a><h2>Signals</h2><pre class="synopsis">
<a class="link" href="#gdbus-signal-org-freedesktop-Flatpak-AuthenticatorRequest.Webflow" title="The &quot;Webflow&quot; signal">Webflow</a>     (s     uri,
             a{sv} options);
<a class="link" href="#gdbus-signal-org-freedesktop-Flatpak-AuthenticatorRequest.WebflowDone" title="The &quot;WebflowDone&quot; signal">WebflowDone</a> (a{sv} options);
<a class="link" href="#gdbus-signal-org-freedesktop-Flatpak-AuthenticatorRequest.BasicAuth" title="The &quot;BasicAuth&quot; signal">BasicAuth</a>   (s     realm,
             a{sv} options);
<a class="link" href="#gdbus-signal-org-freedesktop-Flatpak-AuthenticatorRequest.Response" title="The &quot;Response&quot; signal">Response</a>    (u     response,
             a{sv} results);
</pre></div><div class="refsect1"><a id="gdbus-interface-org-freedesktop-Flatpak-AuthenticatorRequest"></a><h2>Description</h2><p>
</p><p>
</p></div><div class="refsect1"><a id="gdbus-methods-org.freedesktop.Flatpak.AuthenticatorRequest"></a><h2>Method Details</h2><div class="refsect2"><a id="gdbus-method-org-freedesktop-Flatpak-AuthenticatorRequest.Close"></a><h3>The Close() method</h3><a id="id16328" class="indexterm"></a><pre class="programlisting">
Close ();
</pre><p>
Closes the authenticator request to which this object refers and ends all
related user interaction (dialogs, webflows etc).
</p><p>
A Response signal with the cancelled response will be emitted if the operation
was cancelled. There is still a posibility of a race, so the operation might succeed
or fail before processing the close request, so there is no guarantee that the
operation will be cancelled.
</p></div><div class="refsect2"><a id="gdbus-method-org-freedesktop-Flatpak-AuthenticatorRequest.BasicAuthReply"></a><h3>The BasicAuthReply() method</h3><a id="id16334" class="indexterm"></a><pre class="programlisting">
BasicAuthReply (IN  s     user,
                IN  s     password,
                IN  a{sv} options);
</pre><p>
Call to finish the request started with the BasicAuth signal.
</p><div class="variablelist"><dl class="variablelist"><dt><span class="term"><code class="literal">IN s <em class="parameter"><code>user</code></em></code>:</span></dt><dd><p>
The user
</p></dd><dt><span class="term"><code class="literal">IN s <em class="parameter"><code>password</code></em></code>:</span></dt><dd><p>
The password
</p></dd><dt><span class="term"><code class="literal">IN a{sv} <em class="parameter"><code>options</code></em></code>:</span></dt><dd><p>
An extensible dict with extra options.
</p></dd></dl></div></div></div><div class="refsect1"><a id="gdbus-signals-org.freedesktop.Flatpak.AuthenticatorRequest"></a><h2>Signal Details</h2><div class="refsect2"><a id="gdbus-signal-org-freedesktop-Flatpak-AuthenticatorRequest.Webflow"></a><h3>The "Webflow" signal</h3><a id="id16360" class="indexterm"></a><pre class="programlisting">
Webflow (s     uri,
         a{sv} options);
</pre><p>
Emitted by the authenticator when it needs to do web-based interaction. The
client handles this by showing the URI in a graphical web view. Typically the uri
includes information about a final redirect to a localhost uri that will happen
when the operation is finished allowing the authenticator to get the result of
the operation. This is similar to how OAUTH2 webflows typically work.
</p><p>
If at any point the user closes or otherwise dismisses the web view the client
should call the org.freedesktop.Flatpak.AuthenticatorRequest.Close method to
tell the authenticator that the operation is aborted.
</p><div class="variablelist"><dl class="variablelist"><dt><span class="term"><code class="literal">s <em class="parameter"><code>uri</code></em></code>:</span></dt><dd><p>
The uri to show
</p></dd><dt><span class="term"><code class="literal">a{sv} <em class="parameter"><code>options</code></em></code>:</span></dt><dd><p>
An extensible dict with extra options.
</p></dd></dl></div></div><div class="refsect2"><a id="gdbus-signal-org-freedesktop-Flatpak-AuthenticatorRequest.WebflowDone"></a><h3>The "WebflowDone" signal</h3><a id="id16379" class="indexterm"></a><pre class="programlisting">
WebflowDone (a{sv} options);
</pre><p>
Emitted by the authenticator when the web view is done, at this point the client
can close the WebView.
</p><div class="variablelist"><dl class="variablelist"><dt><span class="term"><code class="literal">a{sv} <em class="parameter"><code>options</code></em></code>:</span></dt><dd><p>
An extensible dict with extra options.
</p></dd></dl></div></div><div class="refsect2"><a id="gdbus-signal-org-freedesktop-Flatpak-AuthenticatorRequest.BasicAuth"></a><h3>The "BasicAuth" signal</h3><a id="id16391" class="indexterm"></a><pre class="programlisting">
BasicAuth (s     realm,
           a{sv} options);
</pre><p>
Emitted by the authenticator when it needs to do a simple user + password authentication.
This is only useful for very simple authentication interaction, but this is still used (for
instance for http basic access authentication), and for those cases this allows a nicely
integrated UI and CLI experience.
</p><div class="variablelist"><dl class="variablelist"><dt><span class="term"><code class="literal">s <em class="parameter"><code>realm</code></em></code>:</span></dt><dd><p>
String showing what the auth is for, similar to http basic auth realm.
</p></dd><dt><span class="term"><code class="literal">a{sv} <em class="parameter"><code>options</code></em></code>:</span></dt><dd><p>
An extensible dict with extra options.
</p></dd></dl></div></div><div class="refsect2"><a id="gdbus-signal-org-freedesktop-Flatpak-AuthenticatorRequest.Response"></a><h3>The "Response" signal</h3><a id="id16409" class="indexterm"></a><pre class="programlisting">
Response (u     response,
          a{sv} results);
</pre><p>
</p><p>
Emitted when the user interaction for a portal request is over.
The <em class="parameter"><code>response</code></em> indicates how the user interaction ended:
    </p><table border="0" summary="Simple list" class="simplelist"><tr><td>0: Success, the request is carried out</td></tr><tr><td>1: The user cancelled the interaction</td></tr><tr><td>2: The user interaction was ended in some other way</td></tr></table><p>
In the case of an error (response 2) <em class="parameter"><code>results</code></em> can contain a error-message value
describing what went wrong.
</p><div class="variablelist"><dl class="variablelist"><dt><span class="term"><code class="literal">u <em class="parameter"><code>response</code></em></code>:</span></dt><dd><p>
Numeric response
</p></dd><dt><span class="term"><code class="literal">a{sv} <em class="parameter"><code>results</code></em></code>:</span></dt><dd><p>
Vardict with results. The keys and values in the vardict depend on the request.
</p></dd></dl></div></div></div></div><div class="refentry"><div class="refentry.separator"><hr /></div><a id="gdbus-org.freedesktop.Flatpak.Development"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>org.freedesktop.Flatpak.Development — Flatpak development interface</p></div><div class="refsynopsisdiv"><h2>Methods</h2><pre class="synopsis">
<a class="link" href="#gdbus-method-org-freedesktop-Flatpak-Development.HostCommand" title="The HostCommand() method">HostCommand</a>       (IN  ay    cwd_path,
                   IN  aay   argv,
                   IN  a{uh} fds,
                   IN  a{ss} envs,
                   IN  u     flags,
                   OUT u     pid);
<a class="link" href="#gdbus-method-org-freedesktop-Flatpak-Development.HostCommandSignal" title="The HostCommandSignal() method">HostCommandSignal</a> (IN  u     pid,
                   IN  u     signal,
                   IN  b     to_process_group);
</pre></div><div class="refsect1"><a id="id16445"></a><h2>Signals</h2><pre class="synopsis">
<a class="link" href="#gdbus-signal-org-freedesktop-Flatpak-Development.HostCommandExited" title="The &quot;HostCommandExited&quot; signal">HostCommandExited</a> (u pid,
                   u exit_status);
</pre></div><div class="refsect1"><a id="id16449"></a><h2>Properties</h2><pre class="synopsis">
<a class="link" href="#gdbus-property-org-freedesktop-Flatpak-Development.version" title="The &quot;version&quot; property">version</a>  readable   u
</pre></div><div class="refsect1"><a id="gdbus-interface-org-freedesktop-Flatpak-Development"></a><h2>Description</h2><p>
The Development interface lets any client, possibly in a sandbox if
it has access to the session helper, spawn a process on the host,
outside any sandbox.
</p><p>
Clearly this is not something you typically want a sandboxed app to
do: it is a sandbox escape allowing arbitrary code execution,
and must not be allowed for applications where sandboxing is
intended to be a security boundary.
</p><p>
However, it is very useful when using Flatpak for distribution and
choice of runtime library stack, without intending to create a
security boundary. For instance, if an IDE like GNOME Builder is
distributed as a trusted Flatpak app and will be used to build other
Flatpak apps, it needs to use this facility to launch a Flatpak
build operation inside the sandbox, because otherwise recursive
calls to flatpak will not work.
</p><p>
This interface is provided on the D-Bus session bus by the
well-known D-Bus name org.freedesktop.Flatpak,
at the object path /org/freedesktop/Flatpak/Development.
</p><p>
This documentation describes version 1 of this interface.
</p></div><div class="refsect1"><a id="gdbus-methods-org.freedesktop.Flatpak.Development"></a><h2>Method Details</h2><div class="refsect2"><a id="gdbus-method-org-freedesktop-Flatpak-Development.HostCommand"></a><h3>The HostCommand() method</h3><a id="id16463" class="indexterm"></a><pre class="programlisting">
HostCommand (IN  ay    cwd_path,
             IN  aay   argv,
             IN  a{uh} fds,
             IN  a{ss} envs,
             IN  u     flags,
             OUT u     pid);
</pre><p>
This method lets trusted applications (insider or outside a
sandbox) run arbitrary commands in the user's session, outside
any sandbox.
</p><p>
The following flags values are supported:
</p><p>
</p><div class="variablelist"><dl class="variablelist"><dt><span class="term">1 (FLATPAK_HOST_COMMAND_FLAGS_CLEAR_ENV)</span></dt><dd><p>
      Clear the environment.
    </p></dd><dt><span class="term">2 (FLATPAK_HOST_COMMAND_FLAGS_WATCH_BUS)</span></dt><dd><p>
      Kill the sandbox when the caller disappears from the session bus.
    </p></dd></dl></div><p>
</p><p>
Unknown (unsupported) flags are an error and will cause HostCommand()
to fail.
</p><p>
Note that unlike <a class="link" href="#gdbus-method-org-freedesktop-portal-Flatpak.Spawn" title="The Spawn() method">Spawn()</a>, there
is no options parameter here.
</p><div class="variablelist"><dl class="variablelist"><dt><span class="term"><code class="literal">IN ay <em class="parameter"><code>cwd_path</code></em></code>:</span></dt><dd><p>
the working directory for the new process
</p></dd><dt><span class="term"><code class="literal">IN aay <em class="parameter"><code>argv</code></em></code>:</span></dt><dd><p>
the argv for the new process, starting with the executable to launch
</p></dd><dt><span class="term"><code class="literal">IN a{uh} <em class="parameter"><code>fds</code></em></code>:</span></dt><dd><p>
an array of file descriptors to pass to the new process
</p></dd><dt><span class="term"><code class="literal">IN a{ss} <em class="parameter"><code>envs</code></em></code>:</span></dt><dd><p>
an array of variable/value pairs for the environment of the new process
</p></dd><dt><span class="term"><code class="literal">IN u <em class="parameter"><code>flags</code></em></code>:</span></dt><dd><p>
flags
</p></dd><dt><span class="term"><code class="literal">OUT u <em class="parameter"><code>pid</code></em></code>:</span></dt><dd><p>
the PID of the new process
</p></dd></dl></div></div><div class="refsect2"><a id="gdbus-method-org-freedesktop-Flatpak-Development.HostCommandSignal"></a><h3>The HostCommandSignal() method</h3><a id="id16519" class="indexterm"></a><pre class="programlisting">
HostCommandSignal (IN  u pid,
                   IN  u signal,
                   IN  b to_process_group);
</pre><p>
This method lets you send a Unix signal to a process
that was started with <a class="link" href="#gdbus-method-org-freedesktop-Flatpak-Development.HostCommand" title="The HostCommand() method">HostCommand()</a>.
The <em class="parameter"><code>pid</code></em> argument here must be a PID that was returned by a
call to HostCommand() from the same sender: terminating unrelated
processes is not allowed.
</p><div class="variablelist"><dl class="variablelist"><dt><span class="term"><code class="literal">IN u <em class="parameter"><code>pid</code></em></code>:</span></dt><dd><p>
the process ID on the host system
</p></dd><dt><span class="term"><code class="literal">IN u <em class="parameter"><code>signal</code></em></code>:</span></dt><dd><p>
the signal to send (see <a class="citerefentry" href="#signal"><span class="citerefentry"><span class="refentrytitle">signal</span>(7)</span></a>)
</p></dd><dt><span class="term"><code class="literal">IN b <em class="parameter"><code>to_process_group</code></em></code>:</span></dt><dd><p>
whether to send the signal to the process group
</p></dd></dl></div></div></div><div class="refsect1"><a id="gdbus-signals-org.freedesktop.Flatpak.Development"></a><h2>Signal Details</h2><div class="refsect2"><a id="gdbus-signal-org-freedesktop-Flatpak-Development.HostCommandExited"></a><h3>The "HostCommandExited" signal</h3><a id="id16550" class="indexterm"></a><pre class="programlisting">
HostCommandExited (u pid,
                   u exit_status);
</pre><p>
Emitted when a process started by
<a class="link" href="#gdbus-method-org-freedesktop-Flatpak-Development.HostCommand" title="The HostCommand() method">HostCommand()</a> exits.
Use g_spawn_check_exit_status(), or the macros such as
WIFEXITED documented in
<a class="citerefentry" href="#waitpid"><span class="citerefentry"><span class="refentrytitle">waitpid</span>(2)</span></a>,
to interpret the <em class="parameter"><code>exit_status</code></em>.
</p><p>
This signal is not emitted for processes that were not launched
directly by HostCommand(), for example if a process launched by
HostCommand() runs foreground or background child processes.
</p><div class="variablelist"><dl class="variablelist"><dt><span class="term"><code class="literal">u <em class="parameter"><code>pid</code></em></code>:</span></dt><dd><p>
the PID of the process that has ended
</p></dd><dt><span class="term"><code class="literal">u <em class="parameter"><code>exit_status</code></em></code>:</span></dt><dd><p>
the wait status (see <a class="citerefentry" href="#waitpid"><span class="citerefentry"><span class="refentrytitle">waitpid</span>(2)</span></a>)
</p></dd></dl></div></div></div><div class="refsect1"><a id="gdbus-properties-org.freedesktop.Flatpak.Development"></a><h2>Property Details</h2><div class="refsect2"><a id="gdbus-property-org-freedesktop-Flatpak-Development.version"></a><h3>The "version" property</h3><a id="id16579" class="indexterm"></a><pre class="programlisting">
version  readable   u
</pre><p>
The API version number.
This documentation describes version 1 of this interface.
</p></div></div></div><div class="refentry"><div class="refentry.separator"><hr /></div><a id="gdbus-org.freedesktop.Flatpak.SessionHelper"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>org.freedesktop.Flatpak.SessionHelper — Flatpak session service</p></div><div class="refsynopsisdiv"><h2>Methods</h2><pre class="synopsis">
<a class="link" href="#gdbus-method-org-freedesktop-Flatpak-SessionHelper.RequestSession" title="The RequestSession() method">RequestSession</a> (OUT a{sv} data);
</pre></div><div class="refsect1"><a id="id16594"></a><h2>Properties</h2><pre class="synopsis">
<a class="link" href="#gdbus-property-org-freedesktop-Flatpak-SessionHelper.version" title="The &quot;version&quot; property">version</a>  readable   u
</pre></div><div class="refsect1"><a id="gdbus-interface-org-freedesktop-Flatpak-SessionHelper"></a><h2>Description</h2><p>
The Flatpak session service is used by the
<span class="command"><strong>flatpak run</strong></span> command
to bridge various resources from the host system into Flatpak
sandboxes. It is not intended to be contacted by third-party
applications or libraries.
</p><p>
This interface is provided on the D-Bus session bus by the
well-known D-Bus name org.freedesktop.Flatpak,
at the object path /org/freedesktop/Flatpak/SessionHelper.
</p><p>
Note that the service owning the org.freedesktop.Flatpak
well-known name also exports the
org.freedesktop.Flatpak.Development interface. As a result,
letting a sandboxed application contact that well-known name
is a sandbox escape, which must only be allowed for trusted
applications where there is not intended to be any security
boundary between sandbox and host system.
</p><p>
This documentation describes version 1 of this interface.
</p></div><div class="refsect1"><a id="gdbus-methods-org.freedesktop.Flatpak.SessionHelper"></a><h2>Method Details</h2><div class="refsect2"><a id="gdbus-method-org-freedesktop-Flatpak-SessionHelper.RequestSession"></a><h3>The RequestSession() method</h3><a id="id16608" class="indexterm"></a><pre class="programlisting">
RequestSession (OUT a{sv} data);
</pre><p>
Set up monitoring and resources for a
<span class="command"><strong>flatpak run</strong></span> session.
See the Flatpak source code for details.
</p><div class="variablelist"><dl class="variablelist"><dt><span class="term"><code class="literal">OUT a{sv} <em class="parameter"><code>data</code></em></code>:</span></dt><dd><p>
Information about the new session
</p></dd></dl></div></div></div><div class="refsect1"><a id="gdbus-properties-org.freedesktop.Flatpak.SessionHelper"></a><h2>Property Details</h2><div class="refsect2"><a id="gdbus-property-org-freedesktop-Flatpak-SessionHelper.version"></a><h3>The "version" property</h3><a id="id16623" class="indexterm"></a><pre class="programlisting">
version  readable   u
</pre><p>
The API version number.
This documentation describes version 1 of this interface.
</p></div></div></div><div class="refentry"><div class="refentry.separator"><hr /></div><a id="gdbus-org.freedesktop.Flatpak.SystemHelper"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>org.freedesktop.Flatpak.SystemHelper — Flatpak system service</p></div><div class="refsynopsisdiv"><h2>Methods</h2><pre class="synopsis">
<a class="link" href="#gdbus-method-org-freedesktop-Flatpak-SystemHelper.Deploy" title="The Deploy() method">Deploy</a>             (IN  ay repo_path,
                    IN  u  flags,
                    IN  s  ref,
                    IN  s  origin,
                    IN  as subpaths,
                    IN  as previous_ids,
                    IN  s  installation);
<a class="link" href="#gdbus-method-org-freedesktop-Flatpak-SystemHelper.DeployAppstream" title="The DeployAppstream() method">DeployAppstream</a>    (IN  ay repo_path,
                    IN  u  flags,
                    IN  s  origin,
                    IN  s  arch,
                    IN  s  installation);
<a class="link" href="#gdbus-method-org-freedesktop-Flatpak-SystemHelper.Uninstall" title="The Uninstall() method">Uninstall</a>          (IN  u  flags,
                    IN  s  ref,
                    IN  s  installation);
<a class="link" href="#gdbus-method-org-freedesktop-Flatpak-SystemHelper.InstallBundle" title="The InstallBundle() method">InstallBundle</a>      (IN  ay bundle_path,
                    IN  u  flags,
                    IN  s  remote,
                    IN  s  installation,
                    OUT s  ref);
<a class="link" href="#gdbus-method-org-freedesktop-Flatpak-SystemHelper.ConfigureRemote" title="The ConfigureRemote() method">ConfigureRemote</a>    (IN  u  flags,
                    IN  s  remote,
                    IN  s  config,
                    IN  ay gpg_key,
                    IN  s  installation);
<a class="link" href="#gdbus-method-org-freedesktop-Flatpak-SystemHelper.Configure" title="The Configure() method">Configure</a>          (IN  u  flags,
                    IN  s  key,
                    IN  s  value,
                    IN  s  installation);
<a class="link" href="#gdbus-method-org-freedesktop-Flatpak-SystemHelper.UpdateRemote" title="The UpdateRemote() method">UpdateRemote</a>       (IN  u  flags,
                    IN  s  remote,
                    IN  s  installation,
                    IN  ay summary_path,
                    IN  ay summary_sig_path);
<a class="link" href="#gdbus-method-org-freedesktop-Flatpak-SystemHelper.RemoveLocalRef" title="The RemoveLocalRef() method">RemoveLocalRef</a>     (IN  u  flags,
                    IN  s  remote,
                    IN  s  ref,
                    IN  s  installation);
<a class="link" href="#gdbus-method-org-freedesktop-Flatpak-SystemHelper.PruneLocalRepo" title="The PruneLocalRepo() method">PruneLocalRepo</a>     (IN  u  flags,
                    IN  s  installation);
<a class="link" href="#gdbus-method-org-freedesktop-Flatpak-SystemHelper.RunTriggers" title="The RunTriggers() method">RunTriggers</a>        (IN  u  flags,
                    IN  s  installation);
<a class="link" href="#gdbus-method-org-freedesktop-Flatpak-SystemHelper.EnsureRepo" title="The EnsureRepo() method">EnsureRepo</a>         (IN  u  flags,
                    IN  s  installation);
<a class="link" href="#gdbus-method-org-freedesktop-Flatpak-SystemHelper.UpdateSummary" title="The UpdateSummary() method">UpdateSummary</a>      (IN  u  flags,
                    IN  s  installation);
<a class="link" href="#gdbus-method-org-freedesktop-Flatpak-SystemHelper.GenerateOciSummary" title="The GenerateOciSummary() method">GenerateOciSummary</a> (IN  u  flags,
                    IN  s  origin,
                    IN  s  installation);
<a class="link" href="#gdbus-method-org-freedesktop-Flatpak-SystemHelper.CancelPull" title="The CancelPull() method">CancelPull</a>         (IN  u  flags,
                    IN  s  installation,
                    IN  s  src_dir);
<a class="link" href="#gdbus-method-org-freedesktop-Flatpak-SystemHelper.GetRevokefsFd" title="The GetRevokefsFd() method">GetRevokefsFd</a>      (IN  u  flags,
                    IN  s  installation,
                    OUT h  fd_index,
                    OUT s  src_dir);
</pre></div><div class="refsect1"><a id="id16652"></a><h2>Properties</h2><pre class="synopsis">
<a class="link" href="#gdbus-property-org-freedesktop-Flatpak-SystemHelper.version" title="The &quot;version&quot; property">version</a>  readable   u
</pre></div><div class="refsect1"><a id="gdbus-interface-org-freedesktop-Flatpak-SystemHelper"></a><h2>Description</h2><p>
The Flatpak system service is used by the libflatpak library
to manipulate Flatpak applications and runtimes that are installed
system-wide, for example when implementing
<span class="command"><strong>flatpak install</strong></span>.
It is not intended to be contacted by third-party applications
or libraries. See the Flatpak source code for more
details of this interface's methods.
</p><p>
This interface is provided on the D-Bus system bus by the
well-known D-Bus name org.freedesktop.Flatpak.SystemHelper,
at the object path /org/freedesktop/Flatpak/SystemHelper.
</p><p>
The system helper runs as a privileged user at the system level,
and receives method calls from less-privileged users.
Authorization for method calls on this interface is mediated by
polkit (formerly PolicyKit) using the policy configuration
org.freedesktop.Flatpak.policy, and can be configured by
system administrators in the same way as for any other system service
that uses polkit.
</p></div><div class="refsect1"><a id="gdbus-methods-org.freedesktop.Flatpak.SystemHelper"></a><h2>Method Details</h2><div class="refsect2"><a id="gdbus-method-org-freedesktop-Flatpak-SystemHelper.Deploy"></a><h3>The Deploy() method</h3><a id="id16665" class="indexterm"></a><pre class="programlisting">
Deploy (IN  ay repo_path,
        IN  u  flags,
        IN  s  ref,
        IN  s  origin,
        IN  as subpaths,
        IN  as previous_ids,
        IN  s  installation);
</pre><p>
</p><p>
</p><div class="variablelist"><dl class="variablelist"><dt><span class="term"><code class="literal">IN ay <em class="parameter"><code>repo_path</code></em></code>:</span></dt><dd><p>
</p><p>
</p></dd><dt><span class="term"><code class="literal">IN u <em class="parameter"><code>flags</code></em></code>:</span></dt><dd><p>
</p><p>
</p></dd><dt><span class="term"><code class="literal">IN s <em class="parameter"><code>ref</code></em></code>:</span></dt><dd><p>
</p><p>
</p></dd><dt><span class="term"><code class="literal">IN s <em class="parameter"><code>origin</code></em></code>:</span></dt><dd><p>
</p><p>
</p></dd><dt><span class="term"><code class="literal">IN as <em class="parameter"><code>subpaths</code></em></code>:</span></dt><dd><p>
</p><p>
</p></dd><dt><span class="term"><code class="literal">IN as <em class="parameter"><code>previous_ids</code></em></code>:</span></dt><dd><p>
</p><p>
</p></dd><dt><span class="term"><code class="literal">IN s <em class="parameter"><code>installation</code></em></code>:</span></dt><dd><p>
</p><p>
</p></dd></dl></div></div><div class="refsect2"><a id="gdbus-method-org-freedesktop-Flatpak-SystemHelper.DeployAppstream"></a><h3>The DeployAppstream() method</h3><a id="id16721" class="indexterm"></a><pre class="programlisting">
DeployAppstream (IN  ay repo_path,
                 IN  u  flags,
                 IN  s  origin,
                 IN  s  arch,
                 IN  s  installation);
</pre><p>
</p><p>
</p><div class="variablelist"><dl class="variablelist"><dt><span class="term"><code class="literal">IN ay <em class="parameter"><code>repo_path</code></em></code>:</span></dt><dd><p>
</p><p>
</p></dd><dt><span class="term"><code class="literal">IN u <em class="parameter"><code>flags</code></em></code>:</span></dt><dd><p>
</p><p>
</p></dd><dt><span class="term"><code class="literal">IN s <em class="parameter"><code>origin</code></em></code>:</span></dt><dd><p>
</p><p>
</p></dd><dt><span class="term"><code class="literal">IN s <em class="parameter"><code>arch</code></em></code>:</span></dt><dd><p>
</p><p>
</p></dd><dt><span class="term"><code class="literal">IN s <em class="parameter"><code>installation</code></em></code>:</span></dt><dd><p>
</p><p>
</p></dd></dl></div></div><div class="refsect2"><a id="gdbus-method-org-freedesktop-Flatpak-SystemHelper.Uninstall"></a><h3>The Uninstall() method</h3><a id="id16763" class="indexterm"></a><pre class="programlisting">
Uninstall (IN  u flags,
           IN  s ref,
           IN  s installation);
</pre><p>
</p><p>
</p><div class="variablelist"><dl class="variablelist"><dt><span class="term"><code class="literal">IN u <em class="parameter"><code>flags</code></em></code>:</span></dt><dd><p>
</p><p>
</p></dd><dt><span class="term"><code class="literal">IN s <em class="parameter"><code>ref</code></em></code>:</span></dt><dd><p>
</p><p>
</p></dd><dt><span class="term"><code class="literal">IN s <em class="parameter"><code>installation</code></em></code>:</span></dt><dd><p>
</p><p>
</p></dd></dl></div></div><div class="refsect2"><a id="gdbus-method-org-freedesktop-Flatpak-SystemHelper.InstallBundle"></a><h3>The InstallBundle() method</h3><a id="id16791" class="indexterm"></a><pre class="programlisting">
InstallBundle (IN  ay bundle_path,
               IN  u  flags,
               IN  s  remote,
               IN  s  installation,
               OUT s  ref);
</pre><p>
</p><p>
</p><div class="variablelist"><dl class="variablelist"><dt><span class="term"><code class="literal">IN ay <em class="parameter"><code>bundle_path</code></em></code>:</span></dt><dd><p>
</p><p>
</p></dd><dt><span class="term"><code class="literal">IN u <em class="parameter"><code>flags</code></em></code>:</span></dt><dd><p>
</p><p>
</p></dd><dt><span class="term"><code class="literal">IN s <em class="parameter"><code>remote</code></em></code>:</span></dt><dd><p>
</p><p>
</p></dd><dt><span class="term"><code class="literal">IN s <em class="parameter"><code>installation</code></em></code>:</span></dt><dd><p>
</p><p>
</p></dd><dt><span class="term"><code class="literal">OUT s <em class="parameter"><code>ref</code></em></code>:</span></dt><dd><p>
</p><p>
</p></dd></dl></div></div><div class="refsect2"><a id="gdbus-method-org-freedesktop-Flatpak-SystemHelper.ConfigureRemote"></a><h3>The ConfigureRemote() method</h3><a id="id16833" class="indexterm"></a><pre class="programlisting">
ConfigureRemote (IN  u  flags,
                 IN  s  remote,
                 IN  s  config,
                 IN  ay gpg_key,
                 IN  s  installation);
</pre><p>
</p><p>
</p><div class="variablelist"><dl class="variablelist"><dt><span class="term"><code class="literal">IN u <em class="parameter"><code>flags</code></em></code>:</span></dt><dd><p>
</p><p>
</p></dd><dt><span class="term"><code class="literal">IN s <em class="parameter"><code>remote</code></em></code>:</span></dt><dd><p>
</p><p>
</p></dd><dt><span class="term"><code class="literal">IN s <em class="parameter"><code>config</code></em></code>:</span></dt><dd><p>
</p><p>
</p></dd><dt><span class="term"><code class="literal">IN ay <em class="parameter"><code>gpg_key</code></em></code>:</span></dt><dd><p>
</p><p>
</p></dd><dt><span class="term"><code class="literal">IN s <em class="parameter"><code>installation</code></em></code>:</span></dt><dd><p>
</p><p>
</p></dd></dl></div></div><div class="refsect2"><a id="gdbus-method-org-freedesktop-Flatpak-SystemHelper.Configure"></a><h3>The Configure() method</h3><a id="id16875" class="indexterm"></a><pre class="programlisting">
Configure (IN  u flags,
           IN  s key,
           IN  s value,
           IN  s installation);
</pre><p>
</p><p>
</p><div class="variablelist"><dl class="variablelist"><dt><span class="term"><code class="literal">IN u <em class="parameter"><code>flags</code></em></code>:</span></dt><dd><p>
</p><p>
</p></dd><dt><span class="term"><code class="literal">IN s <em class="parameter"><code>key</code></em></code>:</span></dt><dd><p>
</p><p>
</p></dd><dt><span class="term"><code class="literal">IN s <em class="parameter"><code>value</code></em></code>:</span></dt><dd><p>
</p><p>
</p></dd><dt><span class="term"><code class="literal">IN s <em class="parameter"><code>installation</code></em></code>:</span></dt><dd><p>
</p><p>
</p></dd></dl></div></div><div class="refsect2"><a id="gdbus-method-org-freedesktop-Flatpak-SystemHelper.UpdateRemote"></a><h3>The UpdateRemote() method</h3><a id="id16910" class="indexterm"></a><pre class="programlisting">
UpdateRemote (IN  u  flags,
              IN  s  remote,
              IN  s  installation,
              IN  ay summary_path,
              IN  ay summary_sig_path);
</pre><p>
</p><p>
</p><div class="variablelist"><dl class="variablelist"><dt><span class="term"><code class="literal">IN u <em class="parameter"><code>flags</code></em></code>:</span></dt><dd><p>
</p><p>
</p></dd><dt><span class="term"><code class="literal">IN s <em class="parameter"><code>remote</code></em></code>:</span></dt><dd><p>
</p><p>
</p></dd><dt><span class="term"><code class="literal">IN s <em class="parameter"><code>installation</code></em></code>:</span></dt><dd><p>
</p><p>
</p></dd><dt><span class="term"><code class="literal">IN ay <em class="parameter"><code>summary_path</code></em></code>:</span></dt><dd><p>
</p><p>
</p></dd><dt><span class="term"><code class="literal">IN ay <em class="parameter"><code>summary_sig_path</code></em></code>:</span></dt><dd><p>
</p><p>
</p></dd></dl></div></div><div class="refsect2"><a id="gdbus-method-org-freedesktop-Flatpak-SystemHelper.RemoveLocalRef"></a><h3>The RemoveLocalRef() method</h3><a id="id16952" class="indexterm"></a><pre class="programlisting">
RemoveLocalRef (IN  u flags,
                IN  s remote,
                IN  s ref,
                IN  s installation);
</pre><p>
</p><p>
</p><div class="variablelist"><dl class="variablelist"><dt><span class="term"><code class="literal">IN u <em class="parameter"><code>flags</code></em></code>:</span></dt><dd><p>
</p><p>
</p></dd><dt><span class="term"><code class="literal">IN s <em class="parameter"><code>remote</code></em></code>:</span></dt><dd><p>
</p><p>
</p></dd><dt><span class="term"><code class="literal">IN s <em class="parameter"><code>ref</code></em></code>:</span></dt><dd><p>
</p><p>
</p></dd><dt><span class="term"><code class="literal">IN s <em class="parameter"><code>installation</code></em></code>:</span></dt><dd><p>
</p><p>
</p></dd></dl></div></div><div class="refsect2"><a id="gdbus-method-org-freedesktop-Flatpak-SystemHelper.PruneLocalRepo"></a><h3>The PruneLocalRepo() method</h3><a id="id16987" class="indexterm"></a><pre class="programlisting">
PruneLocalRepo (IN  u flags,
                IN  s installation);
</pre><p>
</p><p>
</p><div class="variablelist"><dl class="variablelist"><dt><span class="term"><code class="literal">IN u <em class="parameter"><code>flags</code></em></code>:</span></dt><dd><p>
</p><p>
</p></dd><dt><span class="term"><code class="literal">IN s <em class="parameter"><code>installation</code></em></code>:</span></dt><dd><p>
</p><p>
</p></dd></dl></div></div><div class="refsect2"><a id="gdbus-method-org-freedesktop-Flatpak-SystemHelper.RunTriggers"></a><h3>The RunTriggers() method</h3><a id="id17008" class="indexterm"></a><pre class="programlisting">
RunTriggers (IN  u flags,
             IN  s installation);
</pre><p>
</p><p>
</p><div class="variablelist"><dl class="variablelist"><dt><span class="term"><code class="literal">IN u <em class="parameter"><code>flags</code></em></code>:</span></dt><dd><p>
</p><p>
</p></dd><dt><span class="term"><code class="literal">IN s <em class="parameter"><code>installation</code></em></code>:</span></dt><dd><p>
</p><p>
</p></dd></dl></div></div><div class="refsect2"><a id="gdbus-method-org-freedesktop-Flatpak-SystemHelper.EnsureRepo"></a><h3>The EnsureRepo() method</h3><a id="id17029" class="indexterm"></a><pre class="programlisting">
EnsureRepo (IN  u flags,
            IN  s installation);
</pre><p>
</p><p>
</p><div class="variablelist"><dl class="variablelist"><dt><span class="term"><code class="literal">IN u <em class="parameter"><code>flags</code></em></code>:</span></dt><dd><p>
</p><p>
</p></dd><dt><span class="term"><code class="literal">IN s <em class="parameter"><code>installation</code></em></code>:</span></dt><dd><p>
</p><p>
</p></dd></dl></div></div><div class="refsect2"><a id="gdbus-method-org-freedesktop-Flatpak-SystemHelper.UpdateSummary"></a><h3>The UpdateSummary() method</h3><a id="id17050" class="indexterm"></a><pre class="programlisting">
UpdateSummary (IN  u flags,
               IN  s installation);
</pre><p>
</p><p>
</p><div class="variablelist"><dl class="variablelist"><dt><span class="term"><code class="literal">IN u <em class="parameter"><code>flags</code></em></code>:</span></dt><dd><p>
</p><p>
</p></dd><dt><span class="term"><code class="literal">IN s <em class="parameter"><code>installation</code></em></code>:</span></dt><dd><p>
</p><p>
</p></dd></dl></div></div><div class="refsect2"><a id="gdbus-method-org-freedesktop-Flatpak-SystemHelper.GenerateOciSummary"></a><h3>The GenerateOciSummary() method</h3><a id="id17071" class="indexterm"></a><pre class="programlisting">
GenerateOciSummary (IN  u flags,
                    IN  s origin,
                    IN  s installation);
</pre><p>
</p><p>
</p><div class="variablelist"><dl class="variablelist"><dt><span class="term"><code class="literal">IN u <em class="parameter"><code>flags</code></em></code>:</span></dt><dd><p>
</p><p>
</p></dd><dt><span class="term"><code class="literal">IN s <em class="parameter"><code>origin</code></em></code>:</span></dt><dd><p>
</p><p>
</p></dd><dt><span class="term"><code class="literal">IN s <em class="parameter"><code>installation</code></em></code>:</span></dt><dd><p>
</p><p>
</p></dd></dl></div></div><div class="refsect2"><a id="gdbus-method-org-freedesktop-Flatpak-SystemHelper.CancelPull"></a><h3>The CancelPull() method</h3><a id="id17099" class="indexterm"></a><pre class="programlisting">
CancelPull (IN  u flags,
            IN  s installation,
            IN  s src_dir);
</pre><p>
</p><p>
</p><div class="variablelist"><dl class="variablelist"><dt><span class="term"><code class="literal">IN u <em class="parameter"><code>flags</code></em></code>:</span></dt><dd><p>
</p><p>
</p></dd><dt><span class="term"><code class="literal">IN s <em class="parameter"><code>installation</code></em></code>:</span></dt><dd><p>
</p><p>
</p></dd><dt><span class="term"><code class="literal">IN s <em class="parameter"><code>src_dir</code></em></code>:</span></dt><dd><p>
</p><p>
</p></dd></dl></div></div><div class="refsect2"><a id="gdbus-method-org-freedesktop-Flatpak-SystemHelper.GetRevokefsFd"></a><h3>The GetRevokefsFd() method</h3><a id="id17127" class="indexterm"></a><pre class="programlisting">
GetRevokefsFd (IN  u flags,
               IN  s installation,
               OUT h fd_index,
               OUT s src_dir);
</pre><p>
</p><p>
</p><div class="variablelist"><dl class="variablelist"><dt><span class="term"><code class="literal">IN u <em class="parameter"><code>flags</code></em></code>:</span></dt><dd><p>
</p><p>
</p></dd><dt><span class="term"><code class="literal">IN s <em class="parameter"><code>installation</code></em></code>:</span></dt><dd><p>
</p><p>
</p></dd><dt><span class="term"><code class="literal">OUT h <em class="parameter"><code>fd_index</code></em></code>:</span></dt><dd><p>
</p><p>
</p></dd><dt><span class="term"><code class="literal">OUT s <em class="parameter"><code>src_dir</code></em></code>:</span></dt><dd><p>
</p><p>
</p></dd></dl></div></div></div><div class="refsect1"><a id="gdbus-properties-org.freedesktop.Flatpak.SystemHelper"></a><h2>Property Details</h2><div class="refsect2"><a id="gdbus-property-org-freedesktop-Flatpak-SystemHelper.version"></a><h3>The "version" property</h3><a id="id17164" class="indexterm"></a><pre class="programlisting">
version  readable   u
</pre><p>
</p><p>
</p></div></div></div><div class="refentry"><div class="refentry.separator"><hr /></div><a id="gdbus-org.freedesktop.impl.portal.PermissionStore"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>org.freedesktop.impl.portal.PermissionStore — Database to store permissions</p></div><div class="refsynopsisdiv"><h2>Methods</h2><pre class="synopsis">
<a class="link" href="#gdbus-method-org-freedesktop-impl-portal-PermissionStore.Lookup" title="The Lookup() method">Lookup</a>           (IN  s      table,
                  IN  s      id,
                  OUT a{sas} permissions,
                  OUT v      data);
<a class="link" href="#gdbus-method-org-freedesktop-impl-portal-PermissionStore.Set" title="The Set() method">Set</a>              (IN  s      table,
                  IN  b      create,
                  IN  s      id,
                  IN  a{sas} app_permissions,
                  IN  v      data);
<a class="link" href="#gdbus-method-org-freedesktop-impl-portal-PermissionStore.Delete" title="The Delete() method">Delete</a>           (IN  s      table,
                  IN  s      id);
<a class="link" href="#gdbus-method-org-freedesktop-impl-portal-PermissionStore.SetValue" title="The SetValue() method">SetValue</a>         (IN  s      table,
                  IN  b      create,
                  IN  s      id,
                  IN  v      data);
<a class="link" href="#gdbus-method-org-freedesktop-impl-portal-PermissionStore.SetPermission" title="The SetPermission() method">SetPermission</a>    (IN  s      table,
                  IN  b      create,
                  IN  s      id,
                  IN  s      app,
                  IN  as     permissions);
<a class="link" href="#gdbus-method-org-freedesktop-impl-portal-PermissionStore.DeletePermission" title="The DeletePermission() method">DeletePermission</a> (IN  s      table,
                  IN  s      id,
                  IN  s      app);
<a class="link" href="#gdbus-method-org-freedesktop-impl-portal-PermissionStore.List" title="The List() method">List</a>             (IN  s      table,
                  OUT as     ids);
</pre></div><div class="refsect1"><a id="id17186"></a><h2>Signals</h2><pre class="synopsis">
<a class="link" href="#gdbus-signal-org-freedesktop-impl-portal-PermissionStore.Changed" title="The &quot;Changed&quot; signal">Changed</a> (s      table,
         s      id,
         b      deleted,
         v      data,
         a{sas} permissions);
</pre></div><div class="refsect1"><a id="id17190"></a><h2>Properties</h2><pre class="synopsis">
<a class="link" href="#gdbus-property-org-freedesktop-impl-portal-PermissionStore.version" title="The &quot;version&quot; property">version</a>  readable   u
</pre></div><div class="refsect1"><a id="gdbus-interface-org-freedesktop-impl-portal-PermissionStore"></a><h2>Description</h2><p>
The permission store can be used by portals to store permissions
that sandboxed applications have to various resources, such as
files outside the sandbox.
</p><p>
Since the resources managed by portals can be varied, the permission
store is fairly free-form: there can be multiple tables; resources are
identified by an ID, as are applications, and permissions are stored as
string arrays. None of these strings are interpreted by the permission
store in any way.
</p><p>
In addition, the permission store allows to associate extra data
(in the form of a GVariant) with each resource.
</p><p>
This document describes version 2 of the permission store interface.
</p></div><div class="refsect1"><a id="gdbus-methods-org.freedesktop.impl.portal.PermissionStore"></a><h2>Method Details</h2><div class="refsect2"><a id="gdbus-method-org-freedesktop-impl-portal-PermissionStore.Lookup"></a><h3>The Lookup() method</h3><a id="id17203" class="indexterm"></a><pre class="programlisting">
Lookup (IN  s      table,
        IN  s      id,
        OUT a{sas} permissions,
        OUT v      data);
</pre><p>
Looks up the entry for a resource in one of the tables and returns
all associated application permissions and data.
</p><div class="variablelist"><dl class="variablelist"><dt><span class="term"><code class="literal">IN s <em class="parameter"><code>table</code></em></code>:</span></dt><dd><p>
the name of the table to use
</p></dd><dt><span class="term"><code class="literal">IN s <em class="parameter"><code>id</code></em></code>:</span></dt><dd><p>
the resource ID to look up
</p></dd><dt><span class="term"><code class="literal">OUT a{sas} <em class="parameter"><code>permissions</code></em></code>:</span></dt><dd><p>
map from application ID to permissions
</p></dd><dt><span class="term"><code class="literal">OUT v <em class="parameter"><code>data</code></em></code>:</span></dt><dd><p>
data that is associated with the resource
</p></dd></dl></div></div><div class="refsect2"><a id="gdbus-method-org-freedesktop-impl-portal-PermissionStore.Set"></a><h3>The Set() method</h3><a id="id17233" class="indexterm"></a><pre class="programlisting">
Set (IN  s      table,
     IN  b      create,
     IN  s      id,
     IN  a{sas} app_permissions,
     IN  v      data);
</pre><p>
Writes the entry for a resource in the given table.
</p><div class="variablelist"><dl class="variablelist"><dt><span class="term"><code class="literal">IN s <em class="parameter"><code>table</code></em></code>:</span></dt><dd><p>
the name of the table to use
</p></dd><dt><span class="term"><code class="literal">IN b <em class="parameter"><code>create</code></em></code>:</span></dt><dd><p>
whether to create the table if it does not exist
</p></dd><dt><span class="term"><code class="literal">IN s <em class="parameter"><code>id</code></em></code>:</span></dt><dd><p>
the resource ID to modify
</p></dd><dt><span class="term"><code class="literal">IN a{sas} <em class="parameter"><code>app_permissions</code></em></code>:</span></dt><dd><p>
map from application ID to permissions
</p></dd><dt><span class="term"><code class="literal">IN v <em class="parameter"><code>data</code></em></code>:</span></dt><dd><p>
data to associate with the resource
</p></dd></dl></div></div><div class="refsect2"><a id="gdbus-method-org-freedesktop-impl-portal-PermissionStore.Delete"></a><h3>The Delete() method</h3><a id="id17269" class="indexterm"></a><pre class="programlisting">
Delete (IN  s table,
        IN  s id);
</pre><p>
Removes the entry for a resource in the given table.
</p><div class="variablelist"><dl class="variablelist"><dt><span class="term"><code class="literal">IN s <em class="parameter"><code>table</code></em></code>:</span></dt><dd><p>
the name of the table to use
</p></dd><dt><span class="term"><code class="literal">IN s <em class="parameter"><code>id</code></em></code>:</span></dt><dd><p>
the resource ID to delete
</p></dd></dl></div></div><div class="refsect2"><a id="gdbus-method-org-freedesktop-impl-portal-PermissionStore.SetValue"></a><h3>The SetValue() method</h3><a id="id17287" class="indexterm"></a><pre class="programlisting">
SetValue (IN  s table,
          IN  b create,
          IN  s id,
          IN  v data);
</pre><p>
Sets just the data for a resource in the given table.
</p><div class="variablelist"><dl class="variablelist"><dt><span class="term"><code class="literal">IN s <em class="parameter"><code>table</code></em></code>:</span></dt><dd><p>
the name of the table to use
</p></dd><dt><span class="term"><code class="literal">IN b <em class="parameter"><code>create</code></em></code>:</span></dt><dd><p>
whether to create the table if it does not exist
</p></dd><dt><span class="term"><code class="literal">IN s <em class="parameter"><code>id</code></em></code>:</span></dt><dd><p>
the resource ID to modify
</p></dd><dt><span class="term"><code class="literal">IN v <em class="parameter"><code>data</code></em></code>:</span></dt><dd><p>
data to associate with the resource
</p></dd></dl></div></div><div class="refsect2"><a id="gdbus-method-org-freedesktop-impl-portal-PermissionStore.SetPermission"></a><h3>The SetPermission() method</h3><a id="id17317" class="indexterm"></a><pre class="programlisting">
SetPermission (IN  s  table,
               IN  b  create,
               IN  s  id,
               IN  s  app,
               IN  as permissions);
</pre><p>
Sets the permissions for an application and a resource
in the given table.
</p><div class="variablelist"><dl class="variablelist"><dt><span class="term"><code class="literal">IN s <em class="parameter"><code>table</code></em></code>:</span></dt><dd><p>
the name of the table to use
</p></dd><dt><span class="term"><code class="literal">IN b <em class="parameter"><code>create</code></em></code>:</span></dt><dd><p>
whether to create the table if it does not exist
</p></dd><dt><span class="term"><code class="literal">IN s <em class="parameter"><code>id</code></em></code>:</span></dt><dd><p>
the resource ID to modify
</p></dd><dt><span class="term"><code class="literal">IN s <em class="parameter"><code>app</code></em></code>:</span></dt><dd><p>
the application ID to modify
</p></dd><dt><span class="term"><code class="literal">IN as <em class="parameter"><code>permissions</code></em></code>:</span></dt><dd><p>
permissions to set
</p></dd></dl></div></div><div class="refsect2"><a id="gdbus-method-org-freedesktop-impl-portal-PermissionStore.DeletePermission"></a><h3>The DeletePermission() method</h3><a id="id17353" class="indexterm"></a><pre class="programlisting">
DeletePermission (IN  s table,
                  IN  s id,
                  IN  s app);
</pre><p>
Removes the entry for an application and a resource
in the given table.
</p><p>
This method was added in version 2.
</p><div class="variablelist"><dl class="variablelist"><dt><span class="term"><code class="literal">IN s <em class="parameter"><code>table</code></em></code>:</span></dt><dd><p>
the name of the table to use
</p></dd><dt><span class="term"><code class="literal">IN s <em class="parameter"><code>id</code></em></code>:</span></dt><dd><p>
the resource ID to modify
</p></dd><dt><span class="term"><code class="literal">IN s <em class="parameter"><code>app</code></em></code>:</span></dt><dd><p>
the application ID to modify
</p></dd></dl></div></div><div class="refsect2"><a id="gdbus-method-org-freedesktop-impl-portal-PermissionStore.List"></a><h3>The List() method</h3><a id="id17378" class="indexterm"></a><pre class="programlisting">
List (IN  s  table,
      OUT as ids);
</pre><p>
Returns all the resources that are present in the table.
</p><div class="variablelist"><dl class="variablelist"><dt><span class="term"><code class="literal">IN s <em class="parameter"><code>table</code></em></code>:</span></dt><dd><p>
the name of the table to use
</p></dd><dt><span class="term"><code class="literal">OUT as <em class="parameter"><code>ids</code></em></code>:</span></dt><dd><p>
IDs of all resources that are present in the table
</p></dd></dl></div></div></div><div class="refsect1"><a id="gdbus-signals-org.freedesktop.impl.portal.PermissionStore"></a><h2>Signal Details</h2><div class="refsect2"><a id="gdbus-signal-org-freedesktop-impl-portal-PermissionStore.Changed"></a><h3>The "Changed" signal</h3><a id="id17398" class="indexterm"></a><pre class="programlisting">
Changed (s      table,
         s      id,
         b      deleted,
         v      data,
         a{sas} permissions);
</pre><p>
The Changed signal is emitted when the entry for a resource
is modified or deleted. If the entry was deleted, then <em class="parameter"><code>data</code></em>
and <em class="parameter"><code>permissions</code></em> contain the last values that were found in the
database. If the entry was modified, they contain the new values.
</p><div class="variablelist"><dl class="variablelist"><dt><span class="term"><code class="literal">s <em class="parameter"><code>table</code></em></code>:</span></dt><dd><p>
the name of the table
</p></dd><dt><span class="term"><code class="literal">s <em class="parameter"><code>id</code></em></code>:</span></dt><dd><p>
</p><p>
</p></dd><dt><span class="term"><code class="literal">b <em class="parameter"><code>deleted</code></em></code>:</span></dt><dd><p>
whether the resource was deleted
</p></dd><dt><span class="term"><code class="literal">v <em class="parameter"><code>data</code></em></code>:</span></dt><dd><p>
the data that is associated the resource
</p></dd><dt><span class="term"><code class="literal">a{sas} <em class="parameter"><code>permissions</code></em></code>:</span></dt><dd><p>
the permissions that are associated with the resource
</p></dd></dl></div></div></div><div class="refsect1"><a id="gdbus-properties-org.freedesktop.impl.portal.PermissionStore"></a><h2>Property Details</h2><div class="refsect2"><a id="gdbus-property-org-freedesktop-impl-portal-PermissionStore.version"></a><h3>The "version" property</h3><a id="id17439" class="indexterm"></a><pre class="programlisting">
version  readable   u
</pre><p>
</p><p>
</p></div></div></div><div class="refentry"><div class="refentry.separator"><hr /></div><a id="gdbus-org.freedesktop.portal.Documents"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>org.freedesktop.portal.Documents — Document portal</p></div><div class="refsynopsisdiv"><h2>Methods</h2><pre class="synopsis">
<a class="link" href="#gdbus-method-org-freedesktop-portal-Documents.GetMountPoint" title="The GetMountPoint() method">GetMountPoint</a>     (OUT ay     path);
<a class="link" href="#gdbus-method-org-freedesktop-portal-Documents.Add" title="The Add() method">Add</a>               (IN  h      o_path_fd,
                   IN  b      reuse_existing,
                   IN  b      persistent,
                   OUT s      doc_id);
<a class="link" href="#gdbus-method-org-freedesktop-portal-Documents.AddNamed" title="The AddNamed() method">AddNamed</a>          (IN  h      o_path_parent_fd,
                   IN  ay     filename,
                   IN  b      reuse_existing,
                   IN  b      persistent,
                   OUT s      doc_id);
<a class="link" href="#gdbus-method-org-freedesktop-portal-Documents.AddFull" title="The AddFull() method">AddFull</a>           (IN  ah     o_path_fds,
                   IN  u      flags,
                   IN  s      app_id,
                   IN  as     permissions,
                   OUT as     doc_ids,
                   OUT a{sv}  extra_out);
<a class="link" href="#gdbus-method-org-freedesktop-portal-Documents.AddNamedFull" title="The AddNamedFull() method">AddNamedFull</a>      (IN  h      o_path_fd,
                   IN  ay     filename,
                   IN  u      flags,
                   IN  s      app_id,
                   IN  as     permissions,
                   OUT s      doc_id,
                   OUT a{sv}  extra_out);
<a class="link" href="#gdbus-method-org-freedesktop-portal-Documents.GrantPermissions" title="The GrantPermissions() method">GrantPermissions</a>  (IN  s      doc_id,
                   IN  s      app_id,
                   IN  as     permissions);
<a class="link" href="#gdbus-method-org-freedesktop-portal-Documents.RevokePermissions" title="The RevokePermissions() method">RevokePermissions</a> (IN  s      doc_id,
                   IN  s      app_id,
                   IN  as     permissions);
<a class="link" href="#gdbus-method-org-freedesktop-portal-Documents.Delete" title="The Delete() method">Delete</a>            (IN  s      doc_id);
<a class="link" href="#gdbus-method-org-freedesktop-portal-Documents.Lookup" title="The Lookup() method">Lookup</a>            (IN  ay     filename,
                   OUT s      doc_id);
<a class="link" href="#gdbus-method-org-freedesktop-portal-Documents.Info" title="The Info() method">Info</a>              (IN  s      doc_id,
                   OUT ay     path,
                   OUT a{sas} apps);
<a class="link" href="#gdbus-method-org-freedesktop-portal-Documents.List" title="The List() method">List</a>              (IN  s      app_id,
                   OUT a{say} docs);
</pre></div><div class="refsect1"><a id="id17465"></a><h2>Properties</h2><pre class="synopsis">
<a class="link" href="#gdbus-property-org-freedesktop-portal-Documents.version" title="The &quot;version&quot; property">version</a>  readable   u
</pre></div><div class="refsect1"><a id="gdbus-interface-org-freedesktop-portal-Documents"></a><h2>Description</h2><p>
The document portal allows to make files from the outside world
available to sandboxed applications in a controlled way.
</p><p>
Exported files will be made accessible to the application via
a fuse filesystem that gets mounted at /run/user/$UID/doc/. The
filesystem gets mounted both outside and inside the sandbox, but
the view inside the sandbox is restricted to just those files
that the application is allowed to access.
</p><p>
Individual files will appear at /run/user/$UID/doc/$DOC_ID/filename,
where $DOC_ID is the ID of the file in the document store. It is
returned by the <a class="link" href="#gdbus-method-org-freedesktop-portal-Documents.Add" title="The Add() method">Add()</a> and
<a class="link" href="#gdbus-method-org-freedesktop-portal-Documents.AddNamed" title="The AddNamed() method">AddNamed()</a> calls.
</p><p>
The permissions that the application has for a document store entry
(see <a class="link" href="#gdbus-method-org-freedesktop-portal-Documents.GrantPermissions" title="The GrantPermissions() method">GrantPermissions()</a>) are reflected
in the POSIX mode bits in the fuse filesystem.
</p><p>
The D-Bus interface for the document portal is available under the
bus name org.freedesktop.portal.Documents and the object path
/org/freedesktop/portal/documents.
</p><p>
This documentation describes version 3 of this interface.
</p></div><div class="refsect1"><a id="gdbus-methods-org.freedesktop.portal.Documents"></a><h2>Method Details</h2><div class="refsect2"><a id="gdbus-method-org-freedesktop-portal-Documents.GetMountPoint"></a><h3>The GetMountPoint() method</h3><a id="id17483" class="indexterm"></a><pre class="programlisting">
GetMountPoint (OUT ay path);
</pre><p>
Returns the path at which the document store fuse filesystem
is mounted. This will typically be /run/user/$UID/doc/.
</p><div class="variablelist"><dl class="variablelist"><dt><span class="term"><code class="literal">OUT ay <em class="parameter"><code>path</code></em></code>:</span></dt><dd><p>
the path at which the fuse filesystem is mounted
</p></dd></dl></div></div><div class="refsect2"><a id="gdbus-method-org-freedesktop-portal-Documents.Add"></a><h3>The Add() method</h3><a id="id17495" class="indexterm"></a><pre class="programlisting">
Add (IN  h o_path_fd,
     IN  b reuse_existing,
     IN  b persistent,
     OUT s doc_id);
</pre><p>
Adds a file to the document store. The file is passed in the
form of an open file descriptor to prove that the caller has
access to the file.
</p><div class="variablelist"><dl class="variablelist"><dt><span class="term"><code class="literal">IN h <em class="parameter"><code>o_path_fd</code></em></code>:</span></dt><dd><p>
open file descriptor for the file to add
</p></dd><dt><span class="term"><code class="literal">IN b <em class="parameter"><code>reuse_existing</code></em></code>:</span></dt><dd><p>
whether to reuse an existing document store entry for the file
</p></dd><dt><span class="term"><code class="literal">IN b <em class="parameter"><code>persistent</code></em></code>:</span></dt><dd><p>
whether to add the file only for this session or permanently
</p></dd><dt><span class="term"><code class="literal">OUT s <em class="parameter"><code>doc_id</code></em></code>:</span></dt><dd><p>
the ID of the file in the document store
</p></dd></dl></div></div><div class="refsect2"><a id="gdbus-method-org-freedesktop-portal-Documents.AddNamed"></a><h3>The AddNamed() method</h3><a id="id17525" class="indexterm"></a><pre class="programlisting">
AddNamed (IN  h  o_path_parent_fd,
          IN  ay filename,
          IN  b  reuse_existing,
          IN  b  persistent,
          OUT s  doc_id);
</pre><p>
Creates an entry in the document store for writing a new file.
</p><div class="variablelist"><dl class="variablelist"><dt><span class="term"><code class="literal">IN h <em class="parameter"><code>o_path_parent_fd</code></em></code>:</span></dt><dd><p>
open file descriptor for the parent directory
</p></dd><dt><span class="term"><code class="literal">IN ay <em class="parameter"><code>filename</code></em></code>:</span></dt><dd><p>
the basename for the file
</p></dd><dt><span class="term"><code class="literal">IN b <em class="parameter"><code>reuse_existing</code></em></code>:</span></dt><dd><p>
whether to reuse an existing document store entry for the file
</p></dd><dt><span class="term"><code class="literal">IN b <em class="parameter"><code>persistent</code></em></code>:</span></dt><dd><p>
whether to add the file only for this session or permanently
</p></dd><dt><span class="term"><code class="literal">OUT s <em class="parameter"><code>doc_id</code></em></code>:</span></dt><dd><p>
the ID of the file in the document store
</p></dd></dl></div></div><div class="refsect2"><a id="gdbus-method-org-freedesktop-portal-Documents.AddFull"></a><h3>The AddFull() method</h3><a id="id17561" class="indexterm"></a><pre class="programlisting">
AddFull (IN  ah    o_path_fds,
         IN  u     flags,
         IN  s     app_id,
         IN  as    permissions,
         OUT as    doc_ids,
         OUT a{sv} extra_out);
</pre><p>
Adds multiple files to the document store. The file is passed in the
form of an open file descriptor to prove that the caller has
access to the file.
</p><p>
If the as-needed-by-app flag is given, files will only be added to
the document store if the application does not already have access to them.
For files that are not added to the document store, the doc_ids array will
contain an empty string.
</p><p>
Additionally, if app_id is specified, it will be given the permissions
listed in GrantPermission.
</p><p>
The method also returns some extra info that can be used to avoid
multiple roundtrips. For now it only contains as "mountpoint", the
fuse mountpoint of the document portal.
</p><p>
This method was added in version 2 of the org.freedesktop.portal.Documents interface.
</p><div class="variablelist"><dl class="variablelist"><dt><span class="term"><code class="literal">IN ah <em class="parameter"><code>o_path_fds</code></em></code>:</span></dt><dd><p>
open file descriptors for the files to export
</p></dd><dt><span class="term"><code class="literal">IN u <em class="parameter"><code>flags</code></em></code>:</span></dt><dd><p>
flags, 1 == reuse_existing, 2 == persistent, 4 == as-needed-by-app
</p></dd><dt><span class="term"><code class="literal">IN s <em class="parameter"><code>app_id</code></em></code>:</span></dt><dd><p>
an application ID, or empty string
</p></dd><dt><span class="term"><code class="literal">IN as <em class="parameter"><code>permissions</code></em></code>:</span></dt><dd><p>
the permissions to grant, possible values are 'read', 'write', 'grant-permissions' and 'delete'
</p></dd><dt><span class="term"><code class="literal">OUT as <em class="parameter"><code>doc_ids</code></em></code>:</span></dt><dd><p>
the IDs of the files in the document store
</p></dd><dt><span class="term"><code class="literal">OUT a{sv} <em class="parameter"><code>extra_out</code></em></code>:</span></dt><dd><p>
</p><p>
</p></dd></dl></div></div><div class="refsect2"><a id="gdbus-method-org-freedesktop-portal-Documents.AddNamedFull"></a><h3>The AddNamedFull() method</h3><a id="id17608" class="indexterm"></a><pre class="programlisting">
AddNamedFull (IN  h     o_path_fd,
              IN  ay    filename,
              IN  u     flags,
              IN  s     app_id,
              IN  as    permissions,
              OUT s     doc_id,
              OUT a{sv} extra_out);
</pre><p>
Creates an entry in the document store for writing a new file.
</p><p>
If the as-needed-by-app flag is given, file will only be added to
the document store if the application does not already have access to it.
For file that is not added to the document store, the doc_id will
contain an empty string.
</p><p>
Additionally, if app_id is specified, it will be given the permissions
listed in GrantPermission.
</p><p>
The method also returns some extra info that can be used to avoid
multiple roundtrips. For now it only contains as "mountpoint", the
fuse mountpoint of the document portal.
</p><p>
This method was added in version 3 of the org.freedesktop.portal.Documents interface.
</p><div class="variablelist"><dl class="variablelist"><dt><span class="term"><code class="literal">IN h <em class="parameter"><code>o_path_fd</code></em></code>:</span></dt><dd><p>
</p><p>
</p></dd><dt><span class="term"><code class="literal">IN ay <em class="parameter"><code>filename</code></em></code>:</span></dt><dd><p>
the basename for the file
</p></dd><dt><span class="term"><code class="literal">IN u <em class="parameter"><code>flags</code></em></code>:</span></dt><dd><p>
flags, 1 == reuse_existing, 2 == persistent, 4 == as-needed-by-app
</p></dd><dt><span class="term"><code class="literal">IN s <em class="parameter"><code>app_id</code></em></code>:</span></dt><dd><p>
an application ID, or empty string
</p></dd><dt><span class="term"><code class="literal">IN as <em class="parameter"><code>permissions</code></em></code>:</span></dt><dd><p>
the permissions to grant, possible values are 'read', 'write', 'grant-permissions' and 'delete'
</p></dd><dt><span class="term"><code class="literal">OUT s <em class="parameter"><code>doc_id</code></em></code>:</span></dt><dd><p>
the ID of the file in the document store
</p></dd><dt><span class="term"><code class="literal">OUT a{sv} <em class="parameter"><code>extra_out</code></em></code>:</span></dt><dd><p>
</p><p>
</p></dd></dl></div></div><div class="refsect2"><a id="gdbus-method-org-freedesktop-portal-Documents.GrantPermissions"></a><h3>The GrantPermissions() method</h3><a id="id17662" class="indexterm"></a><pre class="programlisting">
GrantPermissions (IN  s  doc_id,
                  IN  s  app_id,
                  IN  as permissions);
</pre><p>
Grants access permissions for a file in the document store
to an application.
</p><p>
This call is available inside the sandbox if the application
has the 'grant-permissions' permission for the document.
</p><div class="variablelist"><dl class="variablelist"><dt><span class="term"><code class="literal">IN s <em class="parameter"><code>doc_id</code></em></code>:</span></dt><dd><p>
the ID of the file in the document store
</p></dd><dt><span class="term"><code class="literal">IN s <em class="parameter"><code>app_id</code></em></code>:</span></dt><dd><p>
the ID of the application to which permissions are granted
</p></dd><dt><span class="term"><code class="literal">IN as <em class="parameter"><code>permissions</code></em></code>:</span></dt><dd><p>
the permissions to grant, possible values are 'read', 'write', 'grant-permissions' and 'delete'
</p></dd></dl></div></div><div class="refsect2"><a id="gdbus-method-org-freedesktop-portal-Documents.RevokePermissions"></a><h3>The RevokePermissions() method</h3><a id="id17687" class="indexterm"></a><pre class="programlisting">
RevokePermissions (IN  s  doc_id,
                   IN  s  app_id,
                   IN  as permissions);
</pre><p>
Revokes access permissions for a file in the document store
from an application.
</p><p>
This call is available inside the sandbox if the application
has the 'grant-permissions' permission for the document.
</p><div class="variablelist"><dl class="variablelist"><dt><span class="term"><code class="literal">IN s <em class="parameter"><code>doc_id</code></em></code>:</span></dt><dd><p>
the ID of the file in the document store
</p></dd><dt><span class="term"><code class="literal">IN s <em class="parameter"><code>app_id</code></em></code>:</span></dt><dd><p>
the ID of the application from which permissions are revoked
</p></dd><dt><span class="term"><code class="literal">IN as <em class="parameter"><code>permissions</code></em></code>:</span></dt><dd><p>
the permissions to revoke, possible values are 'read', 'write', 'grant-permissions' and 'delete'
</p></dd></dl></div></div><div class="refsect2"><a id="gdbus-method-org-freedesktop-portal-Documents.Delete"></a><h3>The Delete() method</h3><a id="id17712" class="indexterm"></a><pre class="programlisting">
Delete (IN  s doc_id);
</pre><p>
Removes an entry from the document store. The file itself is
not deleted.
</p><p>
This call is available inside the sandbox if the application
has the 'delete' permission for the document.
</p><div class="variablelist"><dl class="variablelist"><dt><span class="term"><code class="literal">IN s <em class="parameter"><code>doc_id</code></em></code>:</span></dt><dd><p>
the ID of the file in the document store
</p></dd></dl></div></div><div class="refsect2"><a id="gdbus-method-org-freedesktop-portal-Documents.Lookup"></a><h3>The Lookup() method</h3><a id="id17725" class="indexterm"></a><pre class="programlisting">
Lookup (IN  ay filename,
        OUT s  doc_id);
</pre><p>
Looks up the document ID for a file.
</p><p>
This call is not available inside the sandbox.
</p><div class="variablelist"><dl class="variablelist"><dt><span class="term"><code class="literal">IN ay <em class="parameter"><code>filename</code></em></code>:</span></dt><dd><p>
a path in the host filesystem
</p></dd><dt><span class="term"><code class="literal">OUT s <em class="parameter"><code>doc_id</code></em></code>:</span></dt><dd><p>
the ID of the file in the document store, or '' if the file is not in the document store
</p></dd></dl></div></div><div class="refsect2"><a id="gdbus-method-org-freedesktop-portal-Documents.Info"></a><h3>The Info() method</h3><a id="id17744" class="indexterm"></a><pre class="programlisting">
Info (IN  s      doc_id,
      OUT ay     path,
      OUT a{sas} apps);
</pre><p>
Gets the filesystem path and application permissions for a document store
entry.
</p><p>
This call is not available inside the sandbox.
</p><div class="variablelist"><dl class="variablelist"><dt><span class="term"><code class="literal">IN s <em class="parameter"><code>doc_id</code></em></code>:</span></dt><dd><p>
the ID of the file in the document store
</p></dd><dt><span class="term"><code class="literal">OUT ay <em class="parameter"><code>path</code></em></code>:</span></dt><dd><p>
the path for the file in the host filesystem
</p></dd><dt><span class="term"><code class="literal">OUT a{sas} <em class="parameter"><code>apps</code></em></code>:</span></dt><dd><p>
a dictionary mapping application IDs to the permissions for that application
</p></dd></dl></div></div><div class="refsect2"><a id="gdbus-method-org-freedesktop-portal-Documents.List"></a><h3>The List() method</h3><a id="id17769" class="indexterm"></a><pre class="programlisting">
List (IN  s      app_id,
      OUT a{say} docs);
</pre><p>
Lists documents in the document store for an application (or for
all applications).
</p><p>
This call is not available inside the sandbox.
</p><div class="variablelist"><dl class="variablelist"><dt><span class="term"><code class="literal">IN s <em class="parameter"><code>app_id</code></em></code>:</span></dt><dd><p>
an application ID, or '' to list all documents
</p></dd><dt><span class="term"><code class="literal">OUT a{say} <em class="parameter"><code>docs</code></em></code>:</span></dt><dd><p>
a dictonary mapping document IDs to their filesystem path
</p></dd></dl></div></div></div><div class="refsect1"><a id="gdbus-properties-org.freedesktop.portal.Documents"></a><h2>Property Details</h2><div class="refsect2"><a id="gdbus-property-org-freedesktop-portal-Documents.version"></a><h3>The "version" property</h3><a id="id17790" class="indexterm"></a><pre class="programlisting">
version  readable   u
</pre><p>
</p><p>
</p></div></div></div><div class="refentry"><div class="refentry.separator"><hr /></div><a id="gdbus-org.freedesktop.portal.Flatpak"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>org.freedesktop.portal.Flatpak — Flatpak portal</p></div><div class="refsynopsisdiv"><h2>Methods</h2><pre class="synopsis">
<a class="link" href="#gdbus-method-org-freedesktop-portal-Flatpak.Spawn" title="The Spawn() method">Spawn</a>               (IN  ay    cwd_path,
                     IN  aay   argv,
                     IN  a{uh} fds,
                     IN  a{ss} envs,
                     IN  u     flags,
                     IN  a{sv} options,
                     OUT u     pid);
<a class="link" href="#gdbus-method-org-freedesktop-portal-Flatpak.SpawnSignal" title="The SpawnSignal() method">SpawnSignal</a>         (IN  u     pid,
                     IN  u     signal,
                     IN  b     to_process_group);
<a class="link" href="#gdbus-method-org-freedesktop-portal-Flatpak.CreateUpdateMonitor" title="The CreateUpdateMonitor() method">CreateUpdateMonitor</a> (IN  a{sv} options,
                     OUT o     handle);
</pre></div><div class="refsect1"><a id="id17808"></a><h2>Signals</h2><pre class="synopsis">
<a class="link" href="#gdbus-signal-org-freedesktop-portal-Flatpak.SpawnStarted" title="The &quot;SpawnStarted&quot; signal">SpawnStarted</a> (u pid,
              u relpid);
<a class="link" href="#gdbus-signal-org-freedesktop-portal-Flatpak.SpawnExited" title="The &quot;SpawnExited&quot; signal">SpawnExited</a>  (u pid,
              u exit_status);
</pre></div><div class="refsect1"><a id="id17813"></a><h2>Properties</h2><pre class="synopsis">
<a class="link" href="#gdbus-property-org-freedesktop-portal-Flatpak.version" title="The &quot;version&quot; property">version</a>   readable   u
<a class="link" href="#gdbus-property-org-freedesktop-portal-Flatpak.supports" title="The &quot;supports&quot; property">supports</a>  readable   u
</pre></div><div class="refsect1"><a id="gdbus-interface-org-freedesktop-portal-Flatpak"></a><h2>Description</h2><p>
The flatpak portal exposes some interactions with flatpak on the
host to the sandbox. For example, it allows you to restart the
applications or start a more sandboxed instance.
</p><p>
This portal is available on the D-Bus session bus under the
bus name org.freedesktop.portal.Flatpak and the object path
/org/freedesktop/portal/Flatpak.
</p><p>
This documentation describes version 7 of this interface.
</p></div><div class="refsect1"><a id="gdbus-methods-org.freedesktop.portal.Flatpak"></a><h2>Method Details</h2><div class="refsect2"><a id="gdbus-method-org-freedesktop-portal-Flatpak.Spawn"></a><h3>The Spawn() method</h3><a id="id17826" class="indexterm"></a><pre class="programlisting">
Spawn (IN  ay    cwd_path,
       IN  aay   argv,
       IN  a{uh} fds,
       IN  a{ss} envs,
       IN  u     flags,
       IN  a{sv} options,
       OUT u     pid);
</pre><p>
</p><p>
</p><div class="variablelist"><dl class="variablelist"><dt><span class="term"><code class="literal">IN ay <em class="parameter"><code>cwd_path</code></em></code>:</span></dt><dd><p>
</p><p>
</p></dd><dt><span class="term"><code class="literal">IN aay <em class="parameter"><code>argv</code></em></code>:</span></dt><dd><p>
</p><p>
</p></dd><dt><span class="term"><code class="literal">IN a{uh} <em class="parameter"><code>fds</code></em></code>:</span></dt><dd><p>
</p><p>
</p></dd><dt><span class="term"><code class="literal">IN a{ss} <em class="parameter"><code>envs</code></em></code>:</span></dt><dd><p>
</p><p>
</p></dd><dt><span class="term"><code class="literal">IN u <em class="parameter"><code>flags</code></em></code>:</span></dt><dd><p>
</p><p>
</p></dd><dt><span class="term"><code class="literal">IN a{sv} <em class="parameter"><code>options</code></em></code>:</span></dt><dd><p>
</p><p>
</p></dd><dt><span class="term"><code class="literal">OUT u <em class="parameter"><code>pid</code></em></code>:</span></dt><dd><p>
</p><p>
</p></dd></dl></div></div><div class="refsect2"><a id="gdbus-method-org-freedesktop-portal-Flatpak.SpawnSignal"></a><h3>The SpawnSignal() method</h3><a id="id17882" class="indexterm"></a><pre class="programlisting">
SpawnSignal (IN  u pid,
             IN  u signal,
             IN  b to_process_group);
</pre><p>
This method lets you send a Unix signal to a process
that was started with <a class="link" href="#gdbus-method-org-freedesktop-portal-Flatpak.Spawn" title="The Spawn() method">Spawn()</a>.
The <em class="parameter"><code>pid</code></em> argument here should be the PID that is returned
by the Spawn() call: it is not necessarily valid in the caller's
PID namespace.
</p><div class="variablelist"><dl class="variablelist"><dt><span class="term"><code class="literal">IN u <em class="parameter"><code>pid</code></em></code>:</span></dt><dd><p>
the PID inside the container to signal
</p></dd><dt><span class="term"><code class="literal">IN u <em class="parameter"><code>signal</code></em></code>:</span></dt><dd><p>
the signal to send (see <a class="citerefentry" href="#signal"><span class="citerefentry"><span class="refentrytitle">signal</span>(7)</span></a>)
</p></dd><dt><span class="term"><code class="literal">IN b <em class="parameter"><code>to_process_group</code></em></code>:</span></dt><dd><p>
whether to send the signal to the process group
</p></dd></dl></div></div><div class="refsect2"><a id="gdbus-method-org-freedesktop-portal-Flatpak.CreateUpdateMonitor"></a><h3>The CreateUpdateMonitor() method</h3><a id="id17911" class="indexterm"></a><pre class="programlisting">
CreateUpdateMonitor (IN  a{sv} options,
                     OUT o     handle);
</pre><p>
Creates an update monitor object that will emit
signals when an update for the caller becomes
available, and can be used to install it.
</p><p>
The handle will be of the form /org/freedesktop/portal/Flatpak/update_monitor/SENDER/TOKEN,
where SENDER is the caller's unique name, with the initial ':' removed and
all '.' replaced by '_', and TOKEN is a unique token that the caller can optionally provide
with the 'handle_token' key in the options vardict.
</p><p>
Currently, no other options are accepted.
</p><p>
This was added in version 2 of this interface (available from flatpak 1.5.0 and later).
</p><div class="variablelist"><dl class="variablelist"><dt><span class="term"><code class="literal">IN a{sv} <em class="parameter"><code>options</code></em></code>:</span></dt><dd><p>
Vardict with optional further information
</p></dd><dt><span class="term"><code class="literal">OUT o <em class="parameter"><code>handle</code></em></code>:</span></dt><dd><p>
Object path for the <a class="link" href="#gdbus-interface-org-freedesktop-portal-Flatpak-UpdateMonitor.top_of_page">org.freedesktop.portal.Flatpak.UpdateMonitor</a> object
</p></dd></dl></div></div></div><div class="refsect1"><a id="gdbus-signals-org.freedesktop.portal.Flatpak"></a><h2>Signal Details</h2><div class="refsect2"><a id="gdbus-signal-org-freedesktop-portal-Flatpak.SpawnStarted"></a><h3>The "SpawnStarted" signal</h3><a id="id17935" class="indexterm"></a><pre class="programlisting">
SpawnStarted (u pid,
              u relpid);
</pre><p>
</p><p>
This is only non-zero if the expose PIDs flag (32) or the share
PIDs flag (128) was passed to
<a class="link" href="#gdbus-method-org-freedesktop-portal-Flatpak.Spawn" title="The Spawn() method">Spawn()</a>, and it may still be zero if
the process exits before its relative PID could be read.
</p><p>
Emitted when a process started by <a class="link" href="#gdbus-method-org-freedesktop-portal-Flatpak.Spawn" title="The Spawn() method">Spawn()</a>
has fully started. In other words, <a class="link" href="#gdbus-method-org-freedesktop-portal-Flatpak.Spawn" title="The Spawn() method">Spawn()</a> returns once the sandbox
has been started, and this signal is emitted once the process inside
itself is started.
</p><p>
Only emitted by version 4 of this interface (available from flatpak
1.8.0 and later) and if the notify start flag (64) was passed to
<a class="link" href="#gdbus-method-org-freedesktop-portal-Flatpak.Spawn" title="The Spawn() method">Spawn()</a>.
</p><div class="variablelist"><dl class="variablelist"><dt><span class="term"><code class="literal">u <em class="parameter"><code>pid</code></em></code>:</span></dt><dd><p>
the PID of the process that has been started
</p></dd><dt><span class="term"><code class="literal">u <em class="parameter"><code>relpid</code></em></code>:</span></dt><dd><p>
the PID of the process relative to the current namespace.
</p></dd></dl></div></div><div class="refsect2"><a id="gdbus-signal-org-freedesktop-portal-Flatpak.SpawnExited"></a><h3>The "SpawnExited" signal</h3><a id="id17960" class="indexterm"></a><pre class="programlisting">
SpawnExited (u pid,
             u exit_status);
</pre><p>
Emitted when a process started by <a class="link" href="#gdbus-method-org-freedesktop-portal-Flatpak.Spawn" title="The Spawn() method">Spawn()</a>
exits.
Use g_spawn_check_exit_status(), or the macros such as
WIFEXITED documented in
<a class="citerefentry" href="#waitpid"><span class="citerefentry"><span class="refentrytitle">waitpid</span>(2)</span></a>,
to interpret the <em class="parameter"><code>exit_status</code></em>.
</p><p>
This signal is not emitted for processes that were not launched
directly by Spawn(), for example if a process launched by
Spawn() runs foreground or background child processes.
</p><div class="variablelist"><dl class="variablelist"><dt><span class="term"><code class="literal">u <em class="parameter"><code>pid</code></em></code>:</span></dt><dd><p>
the PID of the process that has ended
</p></dd><dt><span class="term"><code class="literal">u <em class="parameter"><code>exit_status</code></em></code>:</span></dt><dd><p>
the wait status (see <a class="citerefentry" href="#waitpid"><span class="citerefentry"><span class="refentrytitle">waitpid</span>(2)</span></a>)
</p></dd></dl></div></div></div><div class="refsect1"><a id="gdbus-properties-org.freedesktop.portal.Flatpak"></a><h2>Property Details</h2><div class="refsect2"><a id="gdbus-property-org-freedesktop-portal-Flatpak.version"></a><h3>The "version" property</h3><a id="id17989" class="indexterm"></a><pre class="programlisting">
version  readable   u
</pre><p>
</p><p>
</p></div><div class="refsect2"><a id="gdbus-property-org-freedesktop-portal-Flatpak.supports"></a><h3>The "supports" property</h3><a id="id17995" class="indexterm"></a><pre class="programlisting">
supports  readable   u
</pre><p>
Flags marking what optional features are available.
 The following flags values are supported:
 </p><div class="variablelist"><dl class="variablelist"><dt><span class="term">1 (FLATPAK_SPAWN_SUPPORT_FLAGS_EXPOSE_PIDS)</span></dt><dd><p>
      Supports the expose sandbox pids flag of Spawn.
      If the version of this interface is 5 or later, this also
      indicates that the share sandbox pids flag is available.
     </p></dd></dl></div><p>
</p><p>
 This was added in version 3 of this interface (available from flatpak 1.6.0 and later).
</p></div></div></div><div class="refentry"><div class="refentry.separator"><hr /></div><a id="gdbus-org.freedesktop.portal.Flatpak.UpdateMonitor"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>org.freedesktop.portal.Flatpak.UpdateMonitor</p></div><div class="refsynopsisdiv"><h2>Methods</h2><pre class="synopsis">
<a class="link" href="#gdbus-method-org-freedesktop-portal-Flatpak-UpdateMonitor.Close" title="The Close() method">Close</a>  ();
<a class="link" href="#gdbus-method-org-freedesktop-portal-Flatpak-UpdateMonitor.Update" title="The Update() method">Update</a> (IN  s     parent_window,
        IN  a{sv} options);
</pre></div><div class="refsect1"><a id="id18017"></a><h2>Signals</h2><pre class="synopsis">
<a class="link" href="#gdbus-signal-org-freedesktop-portal-Flatpak-UpdateMonitor.UpdateAvailable" title="The &quot;UpdateAvailable&quot; signal">UpdateAvailable</a> (a{sv} update_info);
<a class="link" href="#gdbus-signal-org-freedesktop-portal-Flatpak-UpdateMonitor.Progress" title="The &quot;Progress&quot; signal">Progress</a>        (a{sv} info);
</pre></div><div class="refsect1"><a id="gdbus-interface-org-freedesktop-portal-Flatpak-UpdateMonitor"></a><h2>Description</h2><p>
</p><p>
</p></div><div class="refsect1"><a id="gdbus-methods-org.freedesktop.portal.Flatpak.UpdateMonitor"></a><h2>Method Details</h2><div class="refsect2"><a id="gdbus-method-org-freedesktop-portal-Flatpak-UpdateMonitor.Close"></a><h3>The Close() method</h3><a id="id18029" class="indexterm"></a><pre class="programlisting">
Close ();
</pre><p>
Ends the update monitoring and cancels any ongoing
installation.
</p></div><div class="refsect2"><a id="gdbus-method-org-freedesktop-portal-Flatpak-UpdateMonitor.Update"></a><h3>The Update() method</h3><a id="id18034" class="indexterm"></a><pre class="programlisting">
Update (IN  s     parent_window,
        IN  a{sv} options);
</pre><p>
</p><p>
  see <a class="link" href="#">Common Conventions</a>
<em class="parameter"><code>options</code></em>: Vardict with optional further information
</p><p>
Asks to install an update of the calling app.
During the installation,
<a class="link" href="#gdbus-signal-org-freedesktop-portal-Flatpak-UpdateMonitor.Progress" title="The &quot;Progress&quot; signal">"Progress"</a>
signals will be emitted to communicate the status
and progress.
</p><p>
Note that updates are only allowed if the new version
has the same permissions (or less) than the currently installed
version. If the new version requires a new permission then the
operation will fail with the error org.freedesktop.DBus.Error.NotSupported
and updates has to be done with the system tools.
</p><p>
Currently, no options are accepted.
</p><div class="variablelist"><dl class="variablelist"><dt><span class="term"><code class="literal">IN s <em class="parameter"><code>parent_window</code></em></code>:</span></dt><dd><p>
Identifier for the application window,
</p></dd><dt><span class="term"><code class="literal">IN a{sv} <em class="parameter"><code>options</code></em></code>:</span></dt><dd><p>
</p><p>
</p></dd></dl></div></div></div><div class="refsect1"><a id="gdbus-signals-org.freedesktop.portal.Flatpak.UpdateMonitor"></a><h2>Signal Details</h2><div class="refsect2"><a id="gdbus-signal-org-freedesktop-portal-Flatpak-UpdateMonitor.UpdateAvailable"></a><h3>The "UpdateAvailable" signal</h3><a id="id18062" class="indexterm"></a><pre class="programlisting">
UpdateAvailable (a{sv} update_info);
</pre><p>
Gets emitted when a new update is available. This is only
sent once with the same information, but can be sent many
times if new updates appear.
</p><p>
The following information may be included in the
<em class="parameter"><code>update_info</code></em> dictionary:
</p><div class="variablelist"><dl class="variablelist"><dt><span class="term">running-commit s</span></dt><dd><p>
      The commit of the currently running instance.
    </p></dd><dt><span class="term">local-commit s</span></dt><dd><p>
      The commit that is currently installed. Restarting
      the application will cause this commit to be used.
    </p></dd><dt><span class="term">remote-commit s</span></dt><dd><p>
      The commit that is available as an update from the
      remote. Updating the application will deploy this
      commit.
    </p></dd></dl></div><p>
</p><div class="variablelist"><dl class="variablelist"><dt><span class="term"><code class="literal">a{sv} <em class="parameter"><code>update_info</code></em></code>:</span></dt><dd><p>
More information about the available update
</p></dd></dl></div></div><div class="refsect2"><a id="gdbus-signal-org-freedesktop-portal-Flatpak-UpdateMonitor.Progress"></a><h3>The "Progress" signal</h3><a id="id18089" class="indexterm"></a><pre class="programlisting">
Progress (a{sv} info);
</pre><p>
Gets emitted to indicate progress of the installation.  It's
undefined exactly how often this is sent, but it will be emitted
at least once at the end with non-zero status field. For each
successful operation in the update we're also guaranteed to send
one (and only one) signal with progress 100.
</p><p>
The following fields may be included in the info:
   </p><div class="variablelist"><dl class="variablelist"><dt><span class="term">n_ops u</span></dt><dd><p>
         The number of operations that the update
         consists of.
       </p></dd><dt><span class="term">op u</span></dt><dd><p>
         The position of the currently active
         operation.
       </p></dd><dt><span class="term">progress u</span></dt><dd><p>
         The progress of the currently active
         operation, as a number between 0 and 100.
       </p></dd><dt><span class="term">status u</span></dt><dd><p>
         The overall status of the update.
         </p><table border="0" summary="Simple list" class="simplelist"><tr><td>0: Running</td></tr><tr><td>1: Empty. No update to install</td></tr><tr><td>2: Done</td></tr><tr><td>3: Failed</td></tr></table><p>
       </p></dd><dt><span class="term">error s</span></dt><dd><p>
         The error name, sent when status is Failed
       </p></dd><dt><span class="term">error_message s</span></dt><dd><p>
         The error message, sent when status is Failed
       </p></dd></dl></div><p>
</p><div class="variablelist"><dl class="variablelist"><dt><span class="term"><code class="literal">a{sv} <em class="parameter"><code>info</code></em></code>:</span></dt><dd><p>
More information about the update progress
</p></dd></dl></div></div></div></div></div><div class="chapter"><div class="titlepage"><div><div><h1 class="title"><a id="object-tree"></a>Object Hierarchy</h1></div></div></div><pre class="screen">
    <a class="link" href="#">GObject</a>
    <span class="lineart">├──</span> <a class="link" href="#FlatpakRef" title="FlatpakRef">FlatpakRef</a>
    <span class="lineart">│</span>   <span class="lineart">├──</span> <a class="link" href="#FlatpakBundleRef" title="FlatpakBundleRef">FlatpakBundleRef</a>
    <span class="lineart">│</span>   <span class="lineart">├──</span> <a class="link" href="#FlatpakInstalledRef" title="FlatpakInstalledRef">FlatpakInstalledRef</a>
    <span class="lineart">│</span>   <span class="lineart">├──</span> <a class="link" href="#FlatpakRelatedRef" title="FlatpakRelatedRef">FlatpakRelatedRef</a>
    <span class="lineart">│</span>   <span class="lineart">╰──</span> <a class="link" href="#FlatpakRemoteRef" title="FlatpakRemoteRef">FlatpakRemoteRef</a>
    <span class="lineart">├──</span> <a class="link" href="#FlatpakInstallation" title="FlatpakInstallation">FlatpakInstallation</a>
    <span class="lineart">├──</span> <a class="link" href="#FlatpakInstance" title="FlatpakInstance">FlatpakInstance</a>
    <span class="lineart">├──</span> <a class="link" href="#FlatpakRemote" title="FlatpakRemote">FlatpakRemote</a>
    <span class="lineart">├──</span> <a class="link" href="#FlatpakTransaction" title="FlatpakTransaction">FlatpakTransaction</a>
    <span class="lineart">├──</span> <a class="link" href="#FlatpakTransactionOperation" title="FlatpakTransactionOperation">FlatpakTransactionOperation</a>
    <span class="lineart">╰──</span> <a class="link" href="#FlatpakTransactionProgress" title="FlatpakTransactionProgress">FlatpakTransactionProgress</a>
</pre></div><div class="index"><div class="titlepage"><div><div><h1 class="title"><a id="full-api-index"></a>API Index</h1></div></div></div><div class="indexdiv"><a id="api-index-full"></a><div class="indexdiv"><h3 class="title">B</h3><dl><dt><a class="link" href="#FlatpakBundleRef-struct" title="struct FlatpakBundleRef">FlatpakBundleRef</a>, struct in <a class="link" href="#FlatpakBundleRef" title="FlatpakBundleRef">FlatpakBundleRef</a></dt><dd></dd><dt><a class="link" href="#FlatpakBundleRef--file" title="The “file” property">FlatpakBundleRef:file</a>, object property in <a class="link" href="#FlatpakBundleRef" title="FlatpakBundleRef">FlatpakBundleRef</a></dt><dd></dd><dt><a class="link" href="#flatpak-bundle-ref-get-appstream" title="flatpak_bundle_ref_get_appstream ()">flatpak_bundle_ref_get_appstream</a>, function in <a class="link" href="#FlatpakBundleRef" title="FlatpakBundleRef">FlatpakBundleRef</a></dt><dd></dd><dt><a class="link" href="#flatpak-bundle-ref-get-file" title="flatpak_bundle_ref_get_file ()">flatpak_bundle_ref_get_file</a>, function in <a class="link" href="#FlatpakBundleRef" title="FlatpakBundleRef">FlatpakBundleRef</a></dt><dd></dd><dt><a class="link" href="#flatpak-bundle-ref-get-icon" title="flatpak_bundle_ref_get_icon ()">flatpak_bundle_ref_get_icon</a>, function in <a class="link" href="#FlatpakBundleRef" title="FlatpakBundleRef">FlatpakBundleRef</a></dt><dd></dd><dt><a class="link" href="#flatpak-bundle-ref-get-installed-size" title="flatpak_bundle_ref_get_installed_size ()">flatpak_bundle_ref_get_installed_size</a>, function in <a class="link" href="#FlatpakBundleRef" title="FlatpakBundleRef">FlatpakBundleRef</a></dt><dd></dd><dt><a class="link" href="#flatpak-bundle-ref-get-metadata" title="flatpak_bundle_ref_get_metadata ()">flatpak_bundle_ref_get_metadata</a>, function in <a class="link" href="#FlatpakBundleRef" title="FlatpakBundleRef">FlatpakBundleRef</a></dt><dd></dd><dt><a class="link" href="#flatpak-bundle-ref-get-origin" title="flatpak_bundle_ref_get_origin ()">flatpak_bundle_ref_get_origin</a>, function in <a class="link" href="#FlatpakBundleRef" title="FlatpakBundleRef">FlatpakBundleRef</a></dt><dd></dd><dt><a class="link" href="#flatpak-bundle-ref-get-runtime-repo-url" title="flatpak_bundle_ref_get_runtime_repo_url ()">flatpak_bundle_ref_get_runtime_repo_url</a>, function in <a class="link" href="#FlatpakBundleRef" title="FlatpakBundleRef">FlatpakBundleRef</a></dt><dd></dd><dt><a class="link" href="#flatpak-bundle-ref-new" title="flatpak_bundle_ref_new ()">flatpak_bundle_ref_new</a>, function in <a class="link" href="#FlatpakBundleRef" title="FlatpakBundleRef">FlatpakBundleRef</a></dt><dd></dd></dl></div><div class="indexdiv"><h3 class="title">C</h3><dl><dt><a class="link" href="#FLATPAK-CHECK-VERSION:CAPS" title="FLATPAK_CHECK_VERSION()">FLATPAK_CHECK_VERSION</a>, macro in <a class="link" href="#flatpak-Version-information" title="Version information">Version information</a></dt><dd></dd></dl></div><div class="indexdiv"><h3 class="title">E</h3><dl><dt><a class="link" href="#FLATPAK-ERROR:CAPS" title="FLATPAK_ERROR">FLATPAK_ERROR</a>, macro in <a class="link" href="#flatpak-Error-codes" title="Error codes">Error codes</a></dt><dd></dd><dt><a class="link" href="#FlatpakError" title="enum FlatpakError">FlatpakError</a>, enum in <a class="link" href="#flatpak-Error-codes" title="Error codes">Error codes</a></dt><dd></dd></dl></div><div class="indexdiv"><h3 class="title">G</h3><dl><dt><a class="link" href="#flatpak-get-default-arch" title="flatpak_get_default_arch ()">flatpak_get_default_arch</a>, function in <a class="link" href="#FlatpakInstallation" title="FlatpakInstallation">FlatpakInstallation</a></dt><dd></dd><dt><a class="link" href="#flatpak-get-supported-arches" title="flatpak_get_supported_arches ()">flatpak_get_supported_arches</a>, function in <a class="link" href="#FlatpakInstallation" title="FlatpakInstallation">FlatpakInstallation</a></dt><dd></dd><dt><a class="link" href="#flatpak-get-system-installations" title="flatpak_get_system_installations ()">flatpak_get_system_installations</a>, function in <a class="link" href="#FlatpakInstallation" title="FlatpakInstallation">FlatpakInstallation</a></dt><dd></dd></dl></div><div class="indexdiv"><h3 class="title">I</h3><dl><dt><a class="link" href="#FlatpakInstallation-struct" title="struct FlatpakInstallation">FlatpakInstallation</a>, struct in <a class="link" href="#FlatpakInstallation" title="FlatpakInstallation">FlatpakInstallation</a></dt><dd></dd><dt><a class="link" href="#flatpak-installation-add-remote" title="flatpak_installation_add_remote ()">flatpak_installation_add_remote</a>, function in <a class="link" href="#FlatpakInstallation" title="FlatpakInstallation">FlatpakInstallation</a></dt><dd></dd><dt><a class="link" href="#flatpak-installation-cleanup-local-refs-sync" title="flatpak_installation_cleanup_local_refs_sync ()">flatpak_installation_cleanup_local_refs_sync</a>, function in <a class="link" href="#FlatpakInstallation" title="FlatpakInstallation">FlatpakInstallation</a></dt><dd></dd><dt><a class="link" href="#flatpak-installation-create-monitor" title="flatpak_installation_create_monitor ()">flatpak_installation_create_monitor</a>, function in <a class="link" href="#FlatpakInstallation" title="FlatpakInstallation">FlatpakInstallation</a></dt><dd></dd><dt><a class="link" href="#flatpak-installation-drop-caches" title="flatpak_installation_drop_caches ()">flatpak_installation_drop_caches</a>, function in <a class="link" href="#FlatpakInstallation" title="FlatpakInstallation">FlatpakInstallation</a></dt><dd></dd><dt><a class="link" href="#flatpak-installation-fetch-remote-metadata-sync" title="flatpak_installation_fetch_remote_metadata_sync ()">flatpak_installation_fetch_remote_metadata_sync</a>, function in <a class="link" href="#FlatpakInstallation" title="FlatpakInstallation">FlatpakInstallation</a></dt><dd></dd><dt><a class="link" href="#flatpak-installation-fetch-remote-ref-sync" title="flatpak_installation_fetch_remote_ref_sync ()">flatpak_installation_fetch_remote_ref_sync</a>, function in <a class="link" href="#FlatpakInstallation" title="FlatpakInstallation">FlatpakInstallation</a></dt><dd></dd><dt><a class="link" href="#flatpak-installation-fetch-remote-ref-sync-full" title="flatpak_installation_fetch_remote_ref_sync_full ()">flatpak_installation_fetch_remote_ref_sync_full</a>, function in <a class="link" href="#FlatpakInstallation" title="FlatpakInstallation">FlatpakInstallation</a></dt><dd></dd><dt><a class="link" href="#flatpak-installation-fetch-remote-size-sync" title="flatpak_installation_fetch_remote_size_sync ()">flatpak_installation_fetch_remote_size_sync</a>, function in <a class="link" href="#FlatpakInstallation" title="FlatpakInstallation">FlatpakInstallation</a></dt><dd></dd><dt><a class="link" href="#flatpak-installation-get-config" title="flatpak_installation_get_config ()">flatpak_installation_get_config</a>, function in <a class="link" href="#FlatpakInstallation" title="FlatpakInstallation">FlatpakInstallation</a></dt><dd></dd><dt><a class="link" href="#flatpak-installation-get-current-installed-app" title="flatpak_installation_get_current_installed_app ()">flatpak_installation_get_current_installed_app</a>, function in <a class="link" href="#FlatpakInstallation" title="FlatpakInstallation">FlatpakInstallation</a></dt><dd></dd><dt><a class="link" href="#flatpak-installation-get-default-languages" title="flatpak_installation_get_default_languages ()">flatpak_installation_get_default_languages</a>, function in <a class="link" href="#FlatpakInstallation" title="FlatpakInstallation">FlatpakInstallation</a></dt><dd></dd><dt><a class="link" href="#flatpak-installation-get-default-locales" title="flatpak_installation_get_default_locales ()">flatpak_installation_get_default_locales</a>, function in <a class="link" href="#FlatpakInstallation" title="FlatpakInstallation">FlatpakInstallation</a></dt><dd></dd><dt><a class="link" href="#flatpak-installation-get-display-name" title="flatpak_installation_get_display_name ()">flatpak_installation_get_display_name</a>, function in <a class="link" href="#FlatpakInstallation" title="FlatpakInstallation">FlatpakInstallation</a></dt><dd></dd><dt><a class="link" href="#flatpak-installation-get-id" title="flatpak_installation_get_id ()">flatpak_installation_get_id</a>, function in <a class="link" href="#FlatpakInstallation" title="FlatpakInstallation">FlatpakInstallation</a></dt><dd></dd><dt><a class="link" href="#flatpak-installation-get-installed-ref" title="flatpak_installation_get_installed_ref ()">flatpak_installation_get_installed_ref</a>, function in <a class="link" href="#FlatpakInstallation" title="FlatpakInstallation">FlatpakInstallation</a></dt><dd></dd><dt><a class="link" href="#flatpak-installation-get-is-user" title="flatpak_installation_get_is_user ()">flatpak_installation_get_is_user</a>, function in <a class="link" href="#FlatpakInstallation" title="FlatpakInstallation">FlatpakInstallation</a></dt><dd></dd><dt><a class="link" href="#flatpak-installation-get-min-free-space-bytes" title="flatpak_installation_get_min_free_space_bytes ()">flatpak_installation_get_min_free_space_bytes</a>, function in <a class="link" href="#FlatpakInstallation" title="FlatpakInstallation">FlatpakInstallation</a></dt><dd></dd><dt><a class="link" href="#flatpak-installation-get-no-interaction" title="flatpak_installation_get_no_interaction ()">flatpak_installation_get_no_interaction</a>, function in <a class="link" href="#FlatpakInstallation" title="FlatpakInstallation">FlatpakInstallation</a></dt><dd></dd><dt><a class="link" href="#flatpak-installation-get-path" title="flatpak_installation_get_path ()">flatpak_installation_get_path</a>, function in <a class="link" href="#FlatpakInstallation" title="FlatpakInstallation">FlatpakInstallation</a></dt><dd></dd><dt><a class="link" href="#flatpak-installation-get-priority" title="flatpak_installation_get_priority ()">flatpak_installation_get_priority</a>, function in <a class="link" href="#FlatpakInstallation" title="FlatpakInstallation">FlatpakInstallation</a></dt><dd></dd><dt><a class="link" href="#flatpak-installation-get-remote-by-name" title="flatpak_installation_get_remote_by_name ()">flatpak_installation_get_remote_by_name</a>, function in <a class="link" href="#FlatpakInstallation" title="FlatpakInstallation">FlatpakInstallation</a></dt><dd></dd><dt><a class="link" href="#flatpak-installation-get-storage-type" title="flatpak_installation_get_storage_type ()">flatpak_installation_get_storage_type</a>, function in <a class="link" href="#FlatpakInstallation" title="FlatpakInstallation">FlatpakInstallation</a></dt><dd></dd><dt><a class="link" href="#flatpak-installation-install" title="flatpak_installation_install ()">flatpak_installation_install</a>, function in <a class="link" href="#FlatpakInstallation" title="FlatpakInstallation">FlatpakInstallation</a></dt><dd></dd><dt><a class="link" href="#flatpak-installation-install-bundle" title="flatpak_installation_install_bundle ()">flatpak_installation_install_bundle</a>, function in <a class="link" href="#FlatpakInstallation" title="FlatpakInstallation">FlatpakInstallation</a></dt><dd></dd><dt><a class="link" href="#flatpak-installation-install-full" title="flatpak_installation_install_full ()">flatpak_installation_install_full</a>, function in <a class="link" href="#FlatpakInstallation" title="FlatpakInstallation">FlatpakInstallation</a></dt><dd></dd><dt><a class="link" href="#flatpak-installation-install-ref-file" title="flatpak_installation_install_ref_file ()">flatpak_installation_install_ref_file</a>, function in <a class="link" href="#FlatpakInstallation" title="FlatpakInstallation">FlatpakInstallation</a></dt><dd></dd><dt><a class="link" href="#flatpak-installation-launch" title="flatpak_installation_launch ()">flatpak_installation_launch</a>, function in <a class="link" href="#FlatpakInstallation" title="FlatpakInstallation">FlatpakInstallation</a></dt><dd></dd><dt><a class="link" href="#flatpak-installation-launch-full" title="flatpak_installation_launch_full ()">flatpak_installation_launch_full</a>, function in <a class="link" href="#FlatpakInstallation" title="FlatpakInstallation">FlatpakInstallation</a></dt><dd></dd><dt><a class="link" href="#flatpak-installation-list-installed-refs" title="flatpak_installation_list_installed_refs ()">flatpak_installation_list_installed_refs</a>, function in <a class="link" href="#FlatpakInstallation" title="FlatpakInstallation">FlatpakInstallation</a></dt><dd></dd><dt><a class="link" href="#flatpak-installation-list-installed-refs-by-kind" title="flatpak_installation_list_installed_refs_by_kind ()">flatpak_installation_list_installed_refs_by_kind</a>, function in <a class="link" href="#FlatpakInstallation" title="FlatpakInstallation">FlatpakInstallation</a></dt><dd></dd><dt><a class="link" href="#flatpak-installation-list-installed-refs-for-update" title="flatpak_installation_list_installed_refs_for_update ()">flatpak_installation_list_installed_refs_for_update</a>, function in <a class="link" href="#FlatpakInstallation" title="FlatpakInstallation">FlatpakInstallation</a></dt><dd></dd><dt><a class="link" href="#flatpak-installation-list-installed-related-refs-sync" title="flatpak_installation_list_installed_related_refs_sync ()">flatpak_installation_list_installed_related_refs_sync</a>, function in <a class="link" href="#FlatpakInstallation" title="FlatpakInstallation">FlatpakInstallation</a></dt><dd></dd><dt><a class="link" href="#flatpak-installation-list-remotes" title="flatpak_installation_list_remotes ()">flatpak_installation_list_remotes</a>, function in <a class="link" href="#FlatpakInstallation" title="FlatpakInstallation">FlatpakInstallation</a></dt><dd></dd><dt><a class="link" href="#flatpak-installation-list-remotes-by-type" title="flatpak_installation_list_remotes_by_type ()">flatpak_installation_list_remotes_by_type</a>, function in <a class="link" href="#FlatpakInstallation" title="FlatpakInstallation">FlatpakInstallation</a></dt><dd></dd><dt><a class="link" href="#flatpak-installation-list-remote-refs-sync" title="flatpak_installation_list_remote_refs_sync ()">flatpak_installation_list_remote_refs_sync</a>, function in <a class="link" href="#FlatpakInstallation" title="FlatpakInstallation">FlatpakInstallation</a></dt><dd></dd><dt><a class="link" href="#flatpak-installation-list-remote-refs-sync-full" title="flatpak_installation_list_remote_refs_sync_full ()">flatpak_installation_list_remote_refs_sync_full</a>, function in <a class="link" href="#FlatpakInstallation" title="FlatpakInstallation">FlatpakInstallation</a></dt><dd></dd><dt><a class="link" href="#flatpak-installation-list-remote-related-refs-sync" title="flatpak_installation_list_remote_related_refs_sync ()">flatpak_installation_list_remote_related_refs_sync</a>, function in <a class="link" href="#FlatpakInstallation" title="FlatpakInstallation">FlatpakInstallation</a></dt><dd></dd><dt><a class="link" href="#flatpak-installation-list-unused-refs" title="flatpak_installation_list_unused_refs ()">flatpak_installation_list_unused_refs</a>, function in <a class="link" href="#FlatpakInstallation" title="FlatpakInstallation">FlatpakInstallation</a></dt><dd></dd><dt><a class="link" href="#flatpak-installation-load-app-overrides" title="flatpak_installation_load_app_overrides ()">flatpak_installation_load_app_overrides</a>, function in <a class="link" href="#FlatpakInstallation" title="FlatpakInstallation">FlatpakInstallation</a></dt><dd></dd><dt><a class="link" href="#flatpak-installation-modify-remote" title="flatpak_installation_modify_remote ()">flatpak_installation_modify_remote</a>, function in <a class="link" href="#FlatpakInstallation" title="FlatpakInstallation">FlatpakInstallation</a></dt><dd></dd><dt><a class="link" href="#flatpak-installation-new-for-path" title="flatpak_installation_new_for_path ()">flatpak_installation_new_for_path</a>, function in <a class="link" href="#FlatpakInstallation" title="FlatpakInstallation">FlatpakInstallation</a></dt><dd></dd><dt><a class="link" href="#flatpak-installation-new-system" title="flatpak_installation_new_system ()">flatpak_installation_new_system</a>, function in <a class="link" href="#FlatpakInstallation" title="FlatpakInstallation">FlatpakInstallation</a></dt><dd></dd><dt><a class="link" href="#flatpak-installation-new-system-with-id" title="flatpak_installation_new_system_with_id ()">flatpak_installation_new_system_with_id</a>, function in <a class="link" href="#FlatpakInstallation" title="FlatpakInstallation">FlatpakInstallation</a></dt><dd></dd><dt><a class="link" href="#flatpak-installation-new-user" title="flatpak_installation_new_user ()">flatpak_installation_new_user</a>, function in <a class="link" href="#FlatpakInstallation" title="FlatpakInstallation">FlatpakInstallation</a></dt><dd></dd><dt><a class="link" href="#flatpak-installation-prune-local-repo" title="flatpak_installation_prune_local_repo ()">flatpak_installation_prune_local_repo</a>, function in <a class="link" href="#FlatpakInstallation" title="FlatpakInstallation">FlatpakInstallation</a></dt><dd></dd><dt><a class="link" href="#flatpak-installation-remove-local-ref-sync" title="flatpak_installation_remove_local_ref_sync ()">flatpak_installation_remove_local_ref_sync</a>, function in <a class="link" href="#FlatpakInstallation" title="FlatpakInstallation">FlatpakInstallation</a></dt><dd></dd><dt><a class="link" href="#flatpak-installation-remove-remote" title="flatpak_installation_remove_remote ()">flatpak_installation_remove_remote</a>, function in <a class="link" href="#FlatpakInstallation" title="FlatpakInstallation">FlatpakInstallation</a></dt><dd></dd><dt><a class="link" href="#flatpak-installation-run-triggers" title="flatpak_installation_run_triggers ()">flatpak_installation_run_triggers</a>, function in <a class="link" href="#FlatpakInstallation" title="FlatpakInstallation">FlatpakInstallation</a></dt><dd></dd><dt><a class="link" href="#flatpak-installation-set-config-sync" title="flatpak_installation_set_config_sync ()">flatpak_installation_set_config_sync</a>, function in <a class="link" href="#FlatpakInstallation" title="FlatpakInstallation">FlatpakInstallation</a></dt><dd></dd><dt><a class="link" href="#flatpak-installation-set-no-interaction" title="flatpak_installation_set_no_interaction ()">flatpak_installation_set_no_interaction</a>, function in <a class="link" href="#FlatpakInstallation" title="FlatpakInstallation">FlatpakInstallation</a></dt><dd></dd><dt><a class="link" href="#flatpak-installation-uninstall" title="flatpak_installation_uninstall ()">flatpak_installation_uninstall</a>, function in <a class="link" href="#FlatpakInstallation" title="FlatpakInstallation">FlatpakInstallation</a></dt><dd></dd><dt><a class="link" href="#flatpak-installation-uninstall-full" title="flatpak_installation_uninstall_full ()">flatpak_installation_uninstall_full</a>, function in <a class="link" href="#FlatpakInstallation" title="FlatpakInstallation">FlatpakInstallation</a></dt><dd></dd><dt><a class="link" href="#flatpak-installation-update" title="flatpak_installation_update ()">flatpak_installation_update</a>, function in <a class="link" href="#FlatpakInstallation" title="FlatpakInstallation">FlatpakInstallation</a></dt><dd></dd><dt><a class="link" href="#flatpak-installation-update-appstream-full-sync" title="flatpak_installation_update_appstream_full_sync ()">flatpak_installation_update_appstream_full_sync</a>, function in <a class="link" href="#FlatpakInstallation" title="FlatpakInstallation">FlatpakInstallation</a></dt><dd></dd><dt><a class="link" href="#flatpak-installation-update-appstream-sync" title="flatpak_installation_update_appstream_sync ()">flatpak_installation_update_appstream_sync</a>, function in <a class="link" href="#FlatpakInstallation" title="FlatpakInstallation">FlatpakInstallation</a></dt><dd></dd><dt><a class="link" href="#flatpak-installation-update-full" title="flatpak_installation_update_full ()">flatpak_installation_update_full</a>, function in <a class="link" href="#FlatpakInstallation" title="FlatpakInstallation">FlatpakInstallation</a></dt><dd></dd><dt><a class="link" href="#flatpak-installation-update-remote-sync" title="flatpak_installation_update_remote_sync ()">flatpak_installation_update_remote_sync</a>, function in <a class="link" href="#FlatpakInstallation" title="FlatpakInstallation">FlatpakInstallation</a></dt><dd></dd><dt><a class="link" href="#FlatpakInstalledRef-struct" title="struct FlatpakInstalledRef">FlatpakInstalledRef</a>, struct in <a class="link" href="#FlatpakInstalledRef" title="FlatpakInstalledRef">FlatpakInstalledRef</a></dt><dd></dd><dt><a class="link" href="#FlatpakInstalledRef--appdata-content-rating" title="The “appdata-content-rating” property">FlatpakInstalledRef:appdata-content-rating</a>, object property in <a class="link" href="#FlatpakInstalledRef" title="FlatpakInstalledRef">FlatpakInstalledRef</a></dt><dd></dd><dt><a class="link" href="#FlatpakInstalledRef--appdata-content-rating-type" title="The “appdata-content-rating-type” property">FlatpakInstalledRef:appdata-content-rating-type</a>, object property in <a class="link" href="#FlatpakInstalledRef" title="FlatpakInstalledRef">FlatpakInstalledRef</a></dt><dd></dd><dt><a class="link" href="#FlatpakInstalledRef--appdata-license" title="The “appdata-license” property">FlatpakInstalledRef:appdata-license</a>, object property in <a class="link" href="#FlatpakInstalledRef" title="FlatpakInstalledRef">FlatpakInstalledRef</a></dt><dd></dd><dt><a class="link" href="#FlatpakInstalledRef--appdata-name" title="The “appdata-name” property">FlatpakInstalledRef:appdata-name</a>, object property in <a class="link" href="#FlatpakInstalledRef" title="FlatpakInstalledRef">FlatpakInstalledRef</a></dt><dd></dd><dt><a class="link" href="#FlatpakInstalledRef--appdata-summary" title="The “appdata-summary” property">FlatpakInstalledRef:appdata-summary</a>, object property in <a class="link" href="#FlatpakInstalledRef" title="FlatpakInstalledRef">FlatpakInstalledRef</a></dt><dd></dd><dt><a class="link" href="#FlatpakInstalledRef--appdata-version" title="The “appdata-version” property">FlatpakInstalledRef:appdata-version</a>, object property in <a class="link" href="#FlatpakInstalledRef" title="FlatpakInstalledRef">FlatpakInstalledRef</a></dt><dd></dd><dt><a class="link" href="#FlatpakInstalledRef--deploy-dir" title="The “deploy-dir” property">FlatpakInstalledRef:deploy-dir</a>, object property in <a class="link" href="#FlatpakInstalledRef" title="FlatpakInstalledRef">FlatpakInstalledRef</a></dt><dd></dd><dt><a class="link" href="#FlatpakInstalledRef--end-of-life" title="The “end-of-life” property">FlatpakInstalledRef:end-of-life</a>, object property in <a class="link" href="#FlatpakInstalledRef" title="FlatpakInstalledRef">FlatpakInstalledRef</a></dt><dd></dd><dt><a class="link" href="#FlatpakInstalledRef--end-of-life-rebase" title="The “end-of-life-rebase” property">FlatpakInstalledRef:end-of-life-rebase</a>, object property in <a class="link" href="#FlatpakInstalledRef" title="FlatpakInstalledRef">FlatpakInstalledRef</a></dt><dd></dd><dt><a class="link" href="#FlatpakInstalledRef--installed-size" title="The “installed-size” property">FlatpakInstalledRef:installed-size</a>, object property in <a class="link" href="#FlatpakInstalledRef" title="FlatpakInstalledRef">FlatpakInstalledRef</a></dt><dd></dd><dt><a class="link" href="#FlatpakInstalledRef--is-current" title="The “is-current” property">FlatpakInstalledRef:is-current</a>, object property in <a class="link" href="#FlatpakInstalledRef" title="FlatpakInstalledRef">FlatpakInstalledRef</a></dt><dd></dd><dt><a class="link" href="#FlatpakInstalledRef--latest-commit" title="The “latest-commit” property">FlatpakInstalledRef:latest-commit</a>, object property in <a class="link" href="#FlatpakInstalledRef" title="FlatpakInstalledRef">FlatpakInstalledRef</a></dt><dd></dd><dt><a class="link" href="#FlatpakInstalledRef--origin" title="The “origin” property">FlatpakInstalledRef:origin</a>, object property in <a class="link" href="#FlatpakInstalledRef" title="FlatpakInstalledRef">FlatpakInstalledRef</a></dt><dd></dd><dt><a class="link" href="#FlatpakInstalledRef--subpaths" title="The “subpaths” property">FlatpakInstalledRef:subpaths</a>, object property in <a class="link" href="#FlatpakInstalledRef" title="FlatpakInstalledRef">FlatpakInstalledRef</a></dt><dd></dd><dt><a class="link" href="#flatpak-installed-ref-get-appdata-content-rating" title="flatpak_installed_ref_get_appdata_content_rating ()">flatpak_installed_ref_get_appdata_content_rating</a>, function in <a class="link" href="#FlatpakInstalledRef" title="FlatpakInstalledRef">FlatpakInstalledRef</a></dt><dd></dd><dt><a class="link" href="#flatpak-installed-ref-get-appdata-content-rating-type" title="flatpak_installed_ref_get_appdata_content_rating_type ()">flatpak_installed_ref_get_appdata_content_rating_type</a>, function in <a class="link" href="#FlatpakInstalledRef" title="FlatpakInstalledRef">FlatpakInstalledRef</a></dt><dd></dd><dt><a class="link" href="#flatpak-installed-ref-get-appdata-license" title="flatpak_installed_ref_get_appdata_license ()">flatpak_installed_ref_get_appdata_license</a>, function in <a class="link" href="#FlatpakInstalledRef" title="FlatpakInstalledRef">FlatpakInstalledRef</a></dt><dd></dd><dt><a class="link" href="#flatpak-installed-ref-get-appdata-name" title="flatpak_installed_ref_get_appdata_name ()">flatpak_installed_ref_get_appdata_name</a>, function in <a class="link" href="#FlatpakInstalledRef" title="FlatpakInstalledRef">FlatpakInstalledRef</a></dt><dd></dd><dt><a class="link" href="#flatpak-installed-ref-get-appdata-summary" title="flatpak_installed_ref_get_appdata_summary ()">flatpak_installed_ref_get_appdata_summary</a>, function in <a class="link" href="#FlatpakInstalledRef" title="FlatpakInstalledRef">FlatpakInstalledRef</a></dt><dd></dd><dt><a class="link" href="#flatpak-installed-ref-get-appdata-version" title="flatpak_installed_ref_get_appdata_version ()">flatpak_installed_ref_get_appdata_version</a>, function in <a class="link" href="#FlatpakInstalledRef" title="FlatpakInstalledRef">FlatpakInstalledRef</a></dt><dd></dd><dt><a class="link" href="#flatpak-installed-ref-get-deploy-dir" title="flatpak_installed_ref_get_deploy_dir ()">flatpak_installed_ref_get_deploy_dir</a>, function in <a class="link" href="#FlatpakInstalledRef" title="FlatpakInstalledRef">FlatpakInstalledRef</a></dt><dd></dd><dt><a class="link" href="#flatpak-installed-ref-get-eol" title="flatpak_installed_ref_get_eol ()">flatpak_installed_ref_get_eol</a>, function in <a class="link" href="#FlatpakInstalledRef" title="FlatpakInstalledRef">FlatpakInstalledRef</a></dt><dd></dd><dt><a class="link" href="#flatpak-installed-ref-get-eol-rebase" title="flatpak_installed_ref_get_eol_rebase ()">flatpak_installed_ref_get_eol_rebase</a>, function in <a class="link" href="#FlatpakInstalledRef" title="FlatpakInstalledRef">FlatpakInstalledRef</a></dt><dd></dd><dt><a class="link" href="#flatpak-installed-ref-get-installed-size" title="flatpak_installed_ref_get_installed_size ()">flatpak_installed_ref_get_installed_size</a>, function in <a class="link" href="#FlatpakInstalledRef" title="FlatpakInstalledRef">FlatpakInstalledRef</a></dt><dd></dd><dt><a class="link" href="#flatpak-installed-ref-get-is-current" title="flatpak_installed_ref_get_is_current ()">flatpak_installed_ref_get_is_current</a>, function in <a class="link" href="#FlatpakInstalledRef" title="FlatpakInstalledRef">FlatpakInstalledRef</a></dt><dd></dd><dt><a class="link" href="#flatpak-installed-ref-get-latest-commit" title="flatpak_installed_ref_get_latest_commit ()">flatpak_installed_ref_get_latest_commit</a>, function in <a class="link" href="#FlatpakInstalledRef" title="FlatpakInstalledRef">FlatpakInstalledRef</a></dt><dd></dd><dt><a class="link" href="#flatpak-installed-ref-get-origin" title="flatpak_installed_ref_get_origin ()">flatpak_installed_ref_get_origin</a>, function in <a class="link" href="#FlatpakInstalledRef" title="FlatpakInstalledRef">FlatpakInstalledRef</a></dt><dd></dd><dt><a class="link" href="#flatpak-installed-ref-get-subpaths" title="flatpak_installed_ref_get_subpaths ()">flatpak_installed_ref_get_subpaths</a>, function in <a class="link" href="#FlatpakInstalledRef" title="FlatpakInstalledRef">FlatpakInstalledRef</a></dt><dd></dd><dt><a class="link" href="#flatpak-installed-ref-load-appdata" title="flatpak_installed_ref_load_appdata ()">flatpak_installed_ref_load_appdata</a>, function in <a class="link" href="#FlatpakInstalledRef" title="FlatpakInstalledRef">FlatpakInstalledRef</a></dt><dd></dd><dt><a class="link" href="#flatpak-installed-ref-load-metadata" title="flatpak_installed_ref_load_metadata ()">flatpak_installed_ref_load_metadata</a>, function in <a class="link" href="#FlatpakInstalledRef" title="FlatpakInstalledRef">FlatpakInstalledRef</a></dt><dd></dd><dt><a class="link" href="#FlatpakInstallFlags" title="enum FlatpakInstallFlags">FlatpakInstallFlags</a>, enum in <a class="link" href="#FlatpakInstallation" title="FlatpakInstallation">FlatpakInstallation</a></dt><dd></dd><dt><a class="link" href="#FlatpakInstance-struct" title="struct FlatpakInstance">FlatpakInstance</a>, struct in <a class="link" href="#FlatpakInstance" title="FlatpakInstance">FlatpakInstance</a></dt><dd></dd><dt><a class="link" href="#flatpak-instance-get-all" title="flatpak_instance_get_all ()">flatpak_instance_get_all</a>, function in <a class="link" href="#FlatpakInstance" title="FlatpakInstance">FlatpakInstance</a></dt><dd></dd><dt><a class="link" href="#flatpak-instance-get-app" title="flatpak_instance_get_app ()">flatpak_instance_get_app</a>, function in <a class="link" href="#FlatpakInstance" title="FlatpakInstance">FlatpakInstance</a></dt><dd></dd><dt><a class="link" href="#flatpak-instance-get-arch" title="flatpak_instance_get_arch ()">flatpak_instance_get_arch</a>, function in <a class="link" href="#FlatpakInstance" title="FlatpakInstance">FlatpakInstance</a></dt><dd></dd><dt><a class="link" href="#flatpak-instance-get-branch" title="flatpak_instance_get_branch ()">flatpak_instance_get_branch</a>, function in <a class="link" href="#FlatpakInstance" title="FlatpakInstance">FlatpakInstance</a></dt><dd></dd><dt><a class="link" href="#flatpak-instance-get-child-pid" title="flatpak_instance_get_child_pid ()">flatpak_instance_get_child_pid</a>, function in <a class="link" href="#FlatpakInstance" title="FlatpakInstance">FlatpakInstance</a></dt><dd></dd><dt><a class="link" href="#flatpak-instance-get-commit" title="flatpak_instance_get_commit ()">flatpak_instance_get_commit</a>, function in <a class="link" href="#FlatpakInstance" title="FlatpakInstance">FlatpakInstance</a></dt><dd></dd><dt><a class="link" href="#flatpak-instance-get-id" title="flatpak_instance_get_id ()">flatpak_instance_get_id</a>, function in <a class="link" href="#FlatpakInstance" title="FlatpakInstance">FlatpakInstance</a></dt><dd></dd><dt><a class="link" href="#flatpak-instance-get-info" title="flatpak_instance_get_info ()">flatpak_instance_get_info</a>, function in <a class="link" href="#FlatpakInstance" title="FlatpakInstance">FlatpakInstance</a></dt><dd></dd><dt><a class="link" href="#flatpak-instance-get-pid" title="flatpak_instance_get_pid ()">flatpak_instance_get_pid</a>, function in <a class="link" href="#FlatpakInstance" title="FlatpakInstance">FlatpakInstance</a></dt><dd></dd><dt><a class="link" href="#flatpak-instance-get-runtime" title="flatpak_instance_get_runtime ()">flatpak_instance_get_runtime</a>, function in <a class="link" href="#FlatpakInstance" title="FlatpakInstance">FlatpakInstance</a></dt><dd></dd><dt><a class="link" href="#flatpak-instance-get-runtime-commit" title="flatpak_instance_get_runtime_commit ()">flatpak_instance_get_runtime_commit</a>, function in <a class="link" href="#FlatpakInstance" title="FlatpakInstance">FlatpakInstance</a></dt><dd></dd><dt><a class="link" href="#flatpak-instance-is-running" title="flatpak_instance_is_running ()">flatpak_instance_is_running</a>, function in <a class="link" href="#FlatpakInstance" title="FlatpakInstance">FlatpakInstance</a></dt><dd></dd></dl></div><div class="indexdiv"><h3 class="title">L</h3><dl><dt><a class="link" href="#FlatpakLaunchFlags" title="enum FlatpakLaunchFlags">FlatpakLaunchFlags</a>, enum in <a class="link" href="#FlatpakInstallation" title="FlatpakInstallation">FlatpakInstallation</a></dt><dd></dd></dl></div><div class="indexdiv"><h3 class="title">M</h3><dl><dt><a class="link" href="#FLATPAK-MAJOR-VERSION:CAPS" title="FLATPAK_MAJOR_VERSION">FLATPAK_MAJOR_VERSION</a>, macro in <a class="link" href="#flatpak-Version-information" title="Version information">Version information</a></dt><dd></dd><dt><a class="link" href="#FLATPAK-MICRO-VERSION:CAPS" title="FLATPAK_MICRO_VERSION">FLATPAK_MICRO_VERSION</a>, macro in <a class="link" href="#flatpak-Version-information" title="Version information">Version information</a></dt><dd></dd><dt><a class="link" href="#FLATPAK-MINOR-VERSION:CAPS" title="FLATPAK_MINOR_VERSION">FLATPAK_MINOR_VERSION</a>, macro in <a class="link" href="#flatpak-Version-information" title="Version information">Version information</a></dt><dd></dd></dl></div><div class="indexdiv"><h3 class="title">P</h3><dl><dt><a class="link" href="#FlatpakPortalError" title="enum FlatpakPortalError">FlatpakPortalError</a>, enum in <a class="link" href="#flatpak-Error-codes" title="Error codes">Error codes</a></dt><dd></dd><dt><a class="link" href="#FLATPAK-PORTAL-ERROR:CAPS" title="FLATPAK_PORTAL_ERROR">FLATPAK_PORTAL_ERROR</a>, macro in <a class="link" href="#flatpak-Error-codes" title="Error codes">Error codes</a></dt><dd></dd><dt><a class="link" href="#FlatpakProgressCallback" title="FlatpakProgressCallback ()">FlatpakProgressCallback</a>, user_function in <a class="link" href="#FlatpakInstallation" title="FlatpakInstallation">FlatpakInstallation</a></dt><dd></dd></dl></div><div class="indexdiv"><h3 class="title">Q</h3><dl><dt><a class="link" href="#FlatpakQueryFlags" title="enum FlatpakQueryFlags">FlatpakQueryFlags</a>, enum in <a class="link" href="#FlatpakInstallation" title="FlatpakInstallation">FlatpakInstallation</a></dt><dd></dd></dl></div><div class="indexdiv"><h3 class="title">R</h3><dl><dt><a class="link" href="#FlatpakRef-struct" title="struct FlatpakRef">FlatpakRef</a>, struct in <a class="link" href="#FlatpakRef" title="FlatpakRef">FlatpakRef</a></dt><dd></dd><dt><a class="link" href="#FlatpakRef--arch" title="The “arch” property">FlatpakRef:arch</a>, object property in <a class="link" href="#FlatpakRef" title="FlatpakRef">FlatpakRef</a></dt><dd></dd><dt><a class="link" href="#FlatpakRef--branch" title="The “branch” property">FlatpakRef:branch</a>, object property in <a class="link" href="#FlatpakRef" title="FlatpakRef">FlatpakRef</a></dt><dd></dd><dt><a class="link" href="#FlatpakRef--collection-id" title="The “collection-id” property">FlatpakRef:collection-id</a>, object property in <a class="link" href="#FlatpakRef" title="FlatpakRef">FlatpakRef</a></dt><dd></dd><dt><a class="link" href="#FlatpakRef--commit" title="The “commit” property">FlatpakRef:commit</a>, object property in <a class="link" href="#FlatpakRef" title="FlatpakRef">FlatpakRef</a></dt><dd></dd><dt><a class="link" href="#FlatpakRef--kind" title="The “kind” property">FlatpakRef:kind</a>, object property in <a class="link" href="#FlatpakRef" title="FlatpakRef">FlatpakRef</a></dt><dd></dd><dt><a class="link" href="#FlatpakRef--name" title="The “name” property">FlatpakRef:name</a>, object property in <a class="link" href="#FlatpakRef" title="FlatpakRef">FlatpakRef</a></dt><dd></dd><dt><a class="link" href="#FlatpakRefKind" title="enum FlatpakRefKind">FlatpakRefKind</a>, enum in <a class="link" href="#FlatpakRef" title="FlatpakRef">FlatpakRef</a></dt><dd></dd><dt><a class="link" href="#flatpak-ref-format-ref" title="flatpak_ref_format_ref ()">flatpak_ref_format_ref</a>, function in <a class="link" href="#FlatpakRef" title="FlatpakRef">FlatpakRef</a></dt><dd></dd><dt><a class="link" href="#flatpak-ref-get-arch" title="flatpak_ref_get_arch ()">flatpak_ref_get_arch</a>, function in <a class="link" href="#FlatpakRef" title="FlatpakRef">FlatpakRef</a></dt><dd></dd><dt><a class="link" href="#flatpak-ref-get-branch" title="flatpak_ref_get_branch ()">flatpak_ref_get_branch</a>, function in <a class="link" href="#FlatpakRef" title="FlatpakRef">FlatpakRef</a></dt><dd></dd><dt><a class="link" href="#flatpak-ref-get-collection-id" title="flatpak_ref_get_collection_id ()">flatpak_ref_get_collection_id</a>, function in <a class="link" href="#FlatpakRef" title="FlatpakRef">FlatpakRef</a></dt><dd></dd><dt><a class="link" href="#flatpak-ref-get-commit" title="flatpak_ref_get_commit ()">flatpak_ref_get_commit</a>, function in <a class="link" href="#FlatpakRef" title="FlatpakRef">FlatpakRef</a></dt><dd></dd><dt><a class="link" href="#flatpak-ref-get-kind" title="flatpak_ref_get_kind ()">flatpak_ref_get_kind</a>, function in <a class="link" href="#FlatpakRef" title="FlatpakRef">FlatpakRef</a></dt><dd></dd><dt><a class="link" href="#flatpak-ref-get-name" title="flatpak_ref_get_name ()">flatpak_ref_get_name</a>, function in <a class="link" href="#FlatpakRef" title="FlatpakRef">FlatpakRef</a></dt><dd></dd><dt><a class="link" href="#flatpak-ref-parse" title="flatpak_ref_parse ()">flatpak_ref_parse</a>, function in <a class="link" href="#FlatpakRef" title="FlatpakRef">FlatpakRef</a></dt><dd></dd><dt><a class="link" href="#FlatpakRelatedRef-struct" title="struct FlatpakRelatedRef">FlatpakRelatedRef</a>, struct in <a class="link" href="#FlatpakRelatedRef" title="FlatpakRelatedRef">FlatpakRelatedRef</a></dt><dd></dd><dt><a class="link" href="#FlatpakRelatedRef--should-autoprune" title="The “should-autoprune” property">FlatpakRelatedRef:should-autoprune</a>, object property in <a class="link" href="#FlatpakRelatedRef" title="FlatpakRelatedRef">FlatpakRelatedRef</a></dt><dd></dd><dt><a class="link" href="#FlatpakRelatedRef--should-delete" title="The “should-delete” property">FlatpakRelatedRef:should-delete</a>, object property in <a class="link" href="#FlatpakRelatedRef" title="FlatpakRelatedRef">FlatpakRelatedRef</a></dt><dd></dd><dt><a class="link" href="#FlatpakRelatedRef--should-download" title="The “should-download” property">FlatpakRelatedRef:should-download</a>, object property in <a class="link" href="#FlatpakRelatedRef" title="FlatpakRelatedRef">FlatpakRelatedRef</a></dt><dd></dd><dt><a class="link" href="#FlatpakRelatedRef--subpaths" title="The “subpaths” property">FlatpakRelatedRef:subpaths</a>, object property in <a class="link" href="#FlatpakRelatedRef" title="FlatpakRelatedRef">FlatpakRelatedRef</a></dt><dd></dd><dt><a class="link" href="#flatpak-related-ref-get-subpaths" title="flatpak_related_ref_get_subpaths ()">flatpak_related_ref_get_subpaths</a>, function in <a class="link" href="#FlatpakRelatedRef" title="FlatpakRelatedRef">FlatpakRelatedRef</a></dt><dd></dd><dt><a class="link" href="#flatpak-related-ref-new" title="flatpak_related_ref_new ()">flatpak_related_ref_new</a>, function in <a class="link" href="#FlatpakRelatedRef" title="FlatpakRelatedRef">FlatpakRelatedRef</a></dt><dd></dd><dt><a class="link" href="#flatpak-related-ref-should-autoprune" title="flatpak_related_ref_should_autoprune ()">flatpak_related_ref_should_autoprune</a>, function in <a class="link" href="#FlatpakRelatedRef" title="FlatpakRelatedRef">FlatpakRelatedRef</a></dt><dd></dd><dt><a class="link" href="#flatpak-related-ref-should-delete" title="flatpak_related_ref_should_delete ()">flatpak_related_ref_should_delete</a>, function in <a class="link" href="#FlatpakRelatedRef" title="FlatpakRelatedRef">FlatpakRelatedRef</a></dt><dd></dd><dt><a class="link" href="#flatpak-related-ref-should-download" title="flatpak_related_ref_should_download ()">flatpak_related_ref_should_download</a>, function in <a class="link" href="#FlatpakRelatedRef" title="FlatpakRelatedRef">FlatpakRelatedRef</a></dt><dd></dd><dt><a class="link" href="#FlatpakRemote-struct" title="struct FlatpakRemote">FlatpakRemote</a>, struct in <a class="link" href="#FlatpakRemote" title="FlatpakRemote">FlatpakRemote</a></dt><dd></dd><dt><a class="link" href="#FlatpakRemote--name" title="The “name” property">FlatpakRemote:name</a>, object property in <a class="link" href="#FlatpakRemote" title="FlatpakRemote">FlatpakRemote</a></dt><dd></dd><dt><a class="link" href="#FlatpakRemote--type" title="The “type” property">FlatpakRemote:type</a>, object property in <a class="link" href="#FlatpakRemote" title="FlatpakRemote">FlatpakRemote</a></dt><dd></dd><dt><a class="link" href="#FlatpakRemoteRef-struct" title="struct FlatpakRemoteRef">FlatpakRemoteRef</a>, struct in <a class="link" href="#FlatpakRemoteRef" title="FlatpakRemoteRef">FlatpakRemoteRef</a></dt><dd></dd><dt><a class="link" href="#FlatpakRemoteRef--download-size" title="The “download-size” property">FlatpakRemoteRef:download-size</a>, object property in <a class="link" href="#FlatpakRemoteRef" title="FlatpakRemoteRef">FlatpakRemoteRef</a></dt><dd></dd><dt><a class="link" href="#FlatpakRemoteRef--end-of-life" title="The “end-of-life” property">FlatpakRemoteRef:end-of-life</a>, object property in <a class="link" href="#FlatpakRemoteRef" title="FlatpakRemoteRef">FlatpakRemoteRef</a></dt><dd></dd><dt><a class="link" href="#FlatpakRemoteRef--end-of-life-rebase" title="The “end-of-life-rebase” property">FlatpakRemoteRef:end-of-life-rebase</a>, object property in <a class="link" href="#FlatpakRemoteRef" title="FlatpakRemoteRef">FlatpakRemoteRef</a></dt><dd></dd><dt><a class="link" href="#FlatpakRemoteRef--installed-size" title="The “installed-size” property">FlatpakRemoteRef:installed-size</a>, object property in <a class="link" href="#FlatpakRemoteRef" title="FlatpakRemoteRef">FlatpakRemoteRef</a></dt><dd></dd><dt><a class="link" href="#FlatpakRemoteRef--metadata" title="The “metadata” property">FlatpakRemoteRef:metadata</a>, object property in <a class="link" href="#FlatpakRemoteRef" title="FlatpakRemoteRef">FlatpakRemoteRef</a></dt><dd></dd><dt><a class="link" href="#FlatpakRemoteRef--remote-name" title="The “remote-name” property">FlatpakRemoteRef:remote-name</a>, object property in <a class="link" href="#FlatpakRemoteRef" title="FlatpakRemoteRef">FlatpakRemoteRef</a></dt><dd></dd><dt><a class="link" href="#FlatpakRemoteType" title="enum FlatpakRemoteType">FlatpakRemoteType</a>, enum in <a class="link" href="#FlatpakRemote" title="FlatpakRemote">FlatpakRemote</a></dt><dd></dd><dt><a class="link" href="#flatpak-remote-get-appstream-dir" title="flatpak_remote_get_appstream_dir ()">flatpak_remote_get_appstream_dir</a>, function in <a class="link" href="#FlatpakRemote" title="FlatpakRemote">FlatpakRemote</a></dt><dd></dd><dt><a class="link" href="#flatpak-remote-get-appstream-timestamp" title="flatpak_remote_get_appstream_timestamp ()">flatpak_remote_get_appstream_timestamp</a>, function in <a class="link" href="#FlatpakRemote" title="FlatpakRemote">FlatpakRemote</a></dt><dd></dd><dt><a class="link" href="#flatpak-remote-get-collection-id" title="flatpak_remote_get_collection_id ()">flatpak_remote_get_collection_id</a>, function in <a class="link" href="#FlatpakRemote" title="FlatpakRemote">FlatpakRemote</a></dt><dd></dd><dt><a class="link" href="#flatpak-remote-get-comment" title="flatpak_remote_get_comment ()">flatpak_remote_get_comment</a>, function in <a class="link" href="#FlatpakRemote" title="FlatpakRemote">FlatpakRemote</a></dt><dd></dd><dt><a class="link" href="#flatpak-remote-get-default-branch" title="flatpak_remote_get_default_branch ()">flatpak_remote_get_default_branch</a>, function in <a class="link" href="#FlatpakRemote" title="FlatpakRemote">FlatpakRemote</a></dt><dd></dd><dt><a class="link" href="#flatpak-remote-get-description" title="flatpak_remote_get_description ()">flatpak_remote_get_description</a>, function in <a class="link" href="#FlatpakRemote" title="FlatpakRemote">FlatpakRemote</a></dt><dd></dd><dt><a class="link" href="#flatpak-remote-get-disabled" title="flatpak_remote_get_disabled ()">flatpak_remote_get_disabled</a>, function in <a class="link" href="#FlatpakRemote" title="FlatpakRemote">FlatpakRemote</a></dt><dd></dd><dt><a class="link" href="#flatpak-remote-get-filter" title="flatpak_remote_get_filter ()">flatpak_remote_get_filter</a>, function in <a class="link" href="#FlatpakRemote" title="FlatpakRemote">FlatpakRemote</a></dt><dd></dd><dt><a class="link" href="#flatpak-remote-get-gpg-verify" title="flatpak_remote_get_gpg_verify ()">flatpak_remote_get_gpg_verify</a>, function in <a class="link" href="#FlatpakRemote" title="FlatpakRemote">FlatpakRemote</a></dt><dd></dd><dt><a class="link" href="#flatpak-remote-get-homepage" title="flatpak_remote_get_homepage ()">flatpak_remote_get_homepage</a>, function in <a class="link" href="#FlatpakRemote" title="FlatpakRemote">FlatpakRemote</a></dt><dd></dd><dt><a class="link" href="#flatpak-remote-get-icon" title="flatpak_remote_get_icon ()">flatpak_remote_get_icon</a>, function in <a class="link" href="#FlatpakRemote" title="FlatpakRemote">FlatpakRemote</a></dt><dd></dd><dt><a class="link" href="#flatpak-remote-get-main-ref" title="flatpak_remote_get_main_ref ()">flatpak_remote_get_main_ref</a>, function in <a class="link" href="#FlatpakRemote" title="FlatpakRemote">FlatpakRemote</a></dt><dd></dd><dt><a class="link" href="#flatpak-remote-get-name" title="flatpak_remote_get_name ()">flatpak_remote_get_name</a>, function in <a class="link" href="#FlatpakRemote" title="FlatpakRemote">FlatpakRemote</a></dt><dd></dd><dt><a class="link" href="#flatpak-remote-get-nodeps" title="flatpak_remote_get_nodeps ()">flatpak_remote_get_nodeps</a>, function in <a class="link" href="#FlatpakRemote" title="FlatpakRemote">FlatpakRemote</a></dt><dd></dd><dt><a class="link" href="#flatpak-remote-get-noenumerate" title="flatpak_remote_get_noenumerate ()">flatpak_remote_get_noenumerate</a>, function in <a class="link" href="#FlatpakRemote" title="FlatpakRemote">FlatpakRemote</a></dt><dd></dd><dt><a class="link" href="#flatpak-remote-get-prio" title="flatpak_remote_get_prio ()">flatpak_remote_get_prio</a>, function in <a class="link" href="#FlatpakRemote" title="FlatpakRemote">FlatpakRemote</a></dt><dd></dd><dt><a class="link" href="#flatpak-remote-get-remote-type" title="flatpak_remote_get_remote_type ()">flatpak_remote_get_remote_type</a>, function in <a class="link" href="#FlatpakRemote" title="FlatpakRemote">FlatpakRemote</a></dt><dd></dd><dt><a class="link" href="#flatpak-remote-get-title" title="flatpak_remote_get_title ()">flatpak_remote_get_title</a>, function in <a class="link" href="#FlatpakRemote" title="FlatpakRemote">FlatpakRemote</a></dt><dd></dd><dt><a class="link" href="#flatpak-remote-get-url" title="flatpak_remote_get_url ()">flatpak_remote_get_url</a>, function in <a class="link" href="#FlatpakRemote" title="FlatpakRemote">FlatpakRemote</a></dt><dd></dd><dt><a class="link" href="#flatpak-remote-new" title="flatpak_remote_new ()">flatpak_remote_new</a>, function in <a class="link" href="#FlatpakRemote" title="FlatpakRemote">FlatpakRemote</a></dt><dd></dd><dt><a class="link" href="#flatpak-remote-new-from-file" title="flatpak_remote_new_from_file ()">flatpak_remote_new_from_file</a>, function in <a class="link" href="#FlatpakRemote" title="FlatpakRemote">FlatpakRemote</a></dt><dd></dd><dt><a class="link" href="#flatpak-remote-ref-get-download-size" title="flatpak_remote_ref_get_download_size ()">flatpak_remote_ref_get_download_size</a>, function in <a class="link" href="#FlatpakRemoteRef" title="FlatpakRemoteRef">FlatpakRemoteRef</a></dt><dd></dd><dt><a class="link" href="#flatpak-remote-ref-get-eol" title="flatpak_remote_ref_get_eol ()">flatpak_remote_ref_get_eol</a>, function in <a class="link" href="#FlatpakRemoteRef" title="FlatpakRemoteRef">FlatpakRemoteRef</a></dt><dd></dd><dt><a class="link" href="#flatpak-remote-ref-get-eol-rebase" title="flatpak_remote_ref_get_eol_rebase ()">flatpak_remote_ref_get_eol_rebase</a>, function in <a class="link" href="#FlatpakRemoteRef" title="FlatpakRemoteRef">FlatpakRemoteRef</a></dt><dd></dd><dt><a class="link" href="#flatpak-remote-ref-get-installed-size" title="flatpak_remote_ref_get_installed_size ()">flatpak_remote_ref_get_installed_size</a>, function in <a class="link" href="#FlatpakRemoteRef" title="FlatpakRemoteRef">FlatpakRemoteRef</a></dt><dd></dd><dt><a class="link" href="#flatpak-remote-ref-get-metadata" title="flatpak_remote_ref_get_metadata ()">flatpak_remote_ref_get_metadata</a>, function in <a class="link" href="#FlatpakRemoteRef" title="FlatpakRemoteRef">FlatpakRemoteRef</a></dt><dd></dd><dt><a class="link" href="#flatpak-remote-ref-get-remote-name" title="flatpak_remote_ref_get_remote_name ()">flatpak_remote_ref_get_remote_name</a>, function in <a class="link" href="#FlatpakRemoteRef" title="FlatpakRemoteRef">FlatpakRemoteRef</a></dt><dd></dd><dt><a class="link" href="#flatpak-remote-set-collection-id" title="flatpak_remote_set_collection_id ()">flatpak_remote_set_collection_id</a>, function in <a class="link" href="#FlatpakRemote" title="FlatpakRemote">FlatpakRemote</a></dt><dd></dd><dt><a class="link" href="#flatpak-remote-set-comment" title="flatpak_remote_set_comment ()">flatpak_remote_set_comment</a>, function in <a class="link" href="#FlatpakRemote" title="FlatpakRemote">FlatpakRemote</a></dt><dd></dd><dt><a class="link" href="#flatpak-remote-set-default-branch" title="flatpak_remote_set_default_branch ()">flatpak_remote_set_default_branch</a>, function in <a class="link" href="#FlatpakRemote" title="FlatpakRemote">FlatpakRemote</a></dt><dd></dd><dt><a class="link" href="#flatpak-remote-set-description" title="flatpak_remote_set_description ()">flatpak_remote_set_description</a>, function in <a class="link" href="#FlatpakRemote" title="FlatpakRemote">FlatpakRemote</a></dt><dd></dd><dt><a class="link" href="#flatpak-remote-set-disabled" title="flatpak_remote_set_disabled ()">flatpak_remote_set_disabled</a>, function in <a class="link" href="#FlatpakRemote" title="FlatpakRemote">FlatpakRemote</a></dt><dd></dd><dt><a class="link" href="#flatpak-remote-set-filter" title="flatpak_remote_set_filter ()">flatpak_remote_set_filter</a>, function in <a class="link" href="#FlatpakRemote" title="FlatpakRemote">FlatpakRemote</a></dt><dd></dd><dt><a class="link" href="#flatpak-remote-set-gpg-key" title="flatpak_remote_set_gpg_key ()">flatpak_remote_set_gpg_key</a>, function in <a class="link" href="#FlatpakRemote" title="FlatpakRemote">FlatpakRemote</a></dt><dd></dd><dt><a class="link" href="#flatpak-remote-set-gpg-verify" title="flatpak_remote_set_gpg_verify ()">flatpak_remote_set_gpg_verify</a>, function in <a class="link" href="#FlatpakRemote" title="FlatpakRemote">FlatpakRemote</a></dt><dd></dd><dt><a class="link" href="#flatpak-remote-set-homepage" title="flatpak_remote_set_homepage ()">flatpak_remote_set_homepage</a>, function in <a class="link" href="#FlatpakRemote" title="FlatpakRemote">FlatpakRemote</a></dt><dd></dd><dt><a class="link" href="#flatpak-remote-set-icon" title="flatpak_remote_set_icon ()">flatpak_remote_set_icon</a>, function in <a class="link" href="#FlatpakRemote" title="FlatpakRemote">FlatpakRemote</a></dt><dd></dd><dt><a class="link" href="#flatpak-remote-set-main-ref" title="flatpak_remote_set_main_ref ()">flatpak_remote_set_main_ref</a>, function in <a class="link" href="#FlatpakRemote" title="FlatpakRemote">FlatpakRemote</a></dt><dd></dd><dt><a class="link" href="#flatpak-remote-set-nodeps" title="flatpak_remote_set_nodeps ()">flatpak_remote_set_nodeps</a>, function in <a class="link" href="#FlatpakRemote" title="FlatpakRemote">FlatpakRemote</a></dt><dd></dd><dt><a class="link" href="#flatpak-remote-set-noenumerate" title="flatpak_remote_set_noenumerate ()">flatpak_remote_set_noenumerate</a>, function in <a class="link" href="#FlatpakRemote" title="FlatpakRemote">FlatpakRemote</a></dt><dd></dd><dt><a class="link" href="#flatpak-remote-set-prio" title="flatpak_remote_set_prio ()">flatpak_remote_set_prio</a>, function in <a class="link" href="#FlatpakRemote" title="FlatpakRemote">FlatpakRemote</a></dt><dd></dd><dt><a class="link" href="#flatpak-remote-set-title" title="flatpak_remote_set_title ()">flatpak_remote_set_title</a>, function in <a class="link" href="#FlatpakRemote" title="FlatpakRemote">FlatpakRemote</a></dt><dd></dd><dt><a class="link" href="#flatpak-remote-set-url" title="flatpak_remote_set_url ()">flatpak_remote_set_url</a>, function in <a class="link" href="#FlatpakRemote" title="FlatpakRemote">FlatpakRemote</a></dt><dd></dd></dl></div><div class="indexdiv"><h3 class="title">S</h3><dl><dt><a class="link" href="#FlatpakStorageType" title="enum FlatpakStorageType">FlatpakStorageType</a>, enum in <a class="link" href="#FlatpakInstallation" title="FlatpakInstallation">FlatpakInstallation</a></dt><dd></dd></dl></div><div class="indexdiv"><h3 class="title">T</h3><dl><dt><a class="link" href="#FlatpakTransaction-struct" title="FlatpakTransaction">FlatpakTransaction</a>, struct in <a class="link" href="#FlatpakTransaction" title="FlatpakTransaction">FlatpakTransaction</a></dt><dd></dd><dt><a class="link" href="#FlatpakTransaction-add-new-remote" title="The “add-new-remote” signal">FlatpakTransaction::add-new-remote</a>, object signal in <a class="link" href="#FlatpakTransaction" title="FlatpakTransaction">FlatpakTransaction</a></dt><dd></dd><dt><a class="link" href="#FlatpakTransaction-basic-auth-start" title="The “basic-auth-start” signal">FlatpakTransaction::basic-auth-start</a>, object signal in <a class="link" href="#FlatpakTransaction" title="FlatpakTransaction">FlatpakTransaction</a></dt><dd></dd><dt><a class="link" href="#FlatpakTransaction-choose-remote-for-ref" title="The “choose-remote-for-ref” signal">FlatpakTransaction::choose-remote-for-ref</a>, object signal in <a class="link" href="#FlatpakTransaction" title="FlatpakTransaction">FlatpakTransaction</a></dt><dd></dd><dt><a class="link" href="#FlatpakTransaction-end-of-lifed" title="The “end-of-lifed” signal">FlatpakTransaction::end-of-lifed</a>, object signal in <a class="link" href="#FlatpakTransaction" title="FlatpakTransaction">FlatpakTransaction</a></dt><dd></dd><dt><a class="link" href="#FlatpakTransaction-end-of-lifed-with-rebase" title="The “end-of-lifed-with-rebase” signal">FlatpakTransaction::end-of-lifed-with-rebase</a>, object signal in <a class="link" href="#FlatpakTransaction" title="FlatpakTransaction">FlatpakTransaction</a></dt><dd></dd><dt><a class="link" href="#FlatpakTransaction-install-authenticator" title="The “install-authenticator” signal">FlatpakTransaction::install-authenticator</a>, object signal in <a class="link" href="#FlatpakTransaction" title="FlatpakTransaction">FlatpakTransaction</a></dt><dd></dd><dt><a class="link" href="#FlatpakTransaction-new-operation" title="The “new-operation” signal">FlatpakTransaction::new-operation</a>, object signal in <a class="link" href="#FlatpakTransaction" title="FlatpakTransaction">FlatpakTransaction</a></dt><dd></dd><dt><a class="link" href="#FlatpakTransaction-operation-done" title="The “operation-done” signal">FlatpakTransaction::operation-done</a>, object signal in <a class="link" href="#FlatpakTransaction" title="FlatpakTransaction">FlatpakTransaction</a></dt><dd></dd><dt><a class="link" href="#FlatpakTransaction-operation-error" title="The “operation-error” signal">FlatpakTransaction::operation-error</a>, object signal in <a class="link" href="#FlatpakTransaction" title="FlatpakTransaction">FlatpakTransaction</a></dt><dd></dd><dt><a class="link" href="#FlatpakTransaction-ready" title="The “ready” signal">FlatpakTransaction::ready</a>, object signal in <a class="link" href="#FlatpakTransaction" title="FlatpakTransaction">FlatpakTransaction</a></dt><dd></dd><dt><a class="link" href="#FlatpakTransaction-ready-pre-auth" title="The “ready-pre-auth” signal">FlatpakTransaction::ready-pre-auth</a>, object signal in <a class="link" href="#FlatpakTransaction" title="FlatpakTransaction">FlatpakTransaction</a></dt><dd></dd><dt><a class="link" href="#FlatpakTransaction-webflow-done" title="The “webflow-done” signal">FlatpakTransaction::webflow-done</a>, object signal in <a class="link" href="#FlatpakTransaction" title="FlatpakTransaction">FlatpakTransaction</a></dt><dd></dd><dt><a class="link" href="#FlatpakTransaction-webflow-start" title="The “webflow-start” signal">FlatpakTransaction::webflow-start</a>, object signal in <a class="link" href="#FlatpakTransaction" title="FlatpakTransaction">FlatpakTransaction</a></dt><dd></dd><dt><a class="link" href="#FlatpakTransaction--installation" title="The “installation” property">FlatpakTransaction:installation</a>, object property in <a class="link" href="#FlatpakTransaction" title="FlatpakTransaction">FlatpakTransaction</a></dt><dd></dd><dt><a class="link" href="#FlatpakTransaction--no-interaction" title="The “no-interaction” property">FlatpakTransaction:no-interaction</a>, object property in <a class="link" href="#FlatpakTransaction" title="FlatpakTransaction">FlatpakTransaction</a></dt><dd></dd><dt><a class="link" href="#FlatpakTransactionErrorDetails" title="enum FlatpakTransactionErrorDetails">FlatpakTransactionErrorDetails</a>, enum in <a class="link" href="#FlatpakTransaction" title="FlatpakTransaction">FlatpakTransaction</a></dt><dd></dd><dt><a class="link" href="#FlatpakTransactionOperation-struct" title="FlatpakTransactionOperation">FlatpakTransactionOperation</a>, struct in <a class="link" href="#FlatpakTransactionOperation" title="FlatpakTransactionOperation">FlatpakTransactionOperation</a></dt><dd></dd><dt><a class="link" href="#FlatpakTransactionOperationType" title="enum FlatpakTransactionOperationType">FlatpakTransactionOperationType</a>, enum in <a class="link" href="#FlatpakTransaction" title="FlatpakTransaction">FlatpakTransaction</a></dt><dd></dd><dt><a class="link" href="#FlatpakTransactionProgress-struct" title="FlatpakTransactionProgress">FlatpakTransactionProgress</a>, struct in <a class="link" href="#FlatpakTransactionProgress" title="FlatpakTransactionProgress">FlatpakTransactionProgress</a></dt><dd></dd><dt><a class="link" href="#FlatpakTransactionProgress-changed" title="The “changed” signal">FlatpakTransactionProgress::changed</a>, object signal in <a class="link" href="#FlatpakTransactionProgress" title="FlatpakTransactionProgress">FlatpakTransactionProgress</a></dt><dd></dd><dt><a class="link" href="#FlatpakTransactionRemoteReason" title="enum FlatpakTransactionRemoteReason">FlatpakTransactionRemoteReason</a>, enum in <a class="link" href="#FlatpakTransaction" title="FlatpakTransaction">FlatpakTransaction</a></dt><dd></dd><dt><a class="link" href="#FlatpakTransactionResult" title="enum FlatpakTransactionResult">FlatpakTransactionResult</a>, enum in <a class="link" href="#FlatpakTransaction" title="FlatpakTransaction">FlatpakTransaction</a></dt><dd></dd><dt><a class="link" href="#flatpak-transaction-abort-webflow" title="flatpak_transaction_abort_webflow ()">flatpak_transaction_abort_webflow</a>, function in <a class="link" href="#FlatpakTransaction" title="FlatpakTransaction">FlatpakTransaction</a></dt><dd></dd><dt><a class="link" href="#flatpak-transaction-add-default-dependency-sources" title="flatpak_transaction_add_default_dependency_sources ()">flatpak_transaction_add_default_dependency_sources</a>, function in <a class="link" href="#FlatpakTransaction" title="FlatpakTransaction">FlatpakTransaction</a></dt><dd></dd><dt><a class="link" href="#flatpak-transaction-add-dependency-source" title="flatpak_transaction_add_dependency_source ()">flatpak_transaction_add_dependency_source</a>, function in <a class="link" href="#FlatpakTransaction" title="FlatpakTransaction">FlatpakTransaction</a></dt><dd></dd><dt><a class="link" href="#flatpak-transaction-add-install" title="flatpak_transaction_add_install ()">flatpak_transaction_add_install</a>, function in <a class="link" href="#FlatpakTransaction" title="FlatpakTransaction">FlatpakTransaction</a></dt><dd></dd><dt><a class="link" href="#flatpak-transaction-add-install-bundle" title="flatpak_transaction_add_install_bundle ()">flatpak_transaction_add_install_bundle</a>, function in <a class="link" href="#FlatpakTransaction" title="FlatpakTransaction">FlatpakTransaction</a></dt><dd></dd><dt><a class="link" href="#flatpak-transaction-add-install-flatpakref" title="flatpak_transaction_add_install_flatpakref ()">flatpak_transaction_add_install_flatpakref</a>, function in <a class="link" href="#FlatpakTransaction" title="FlatpakTransaction">FlatpakTransaction</a></dt><dd></dd><dt><a class="link" href="#flatpak-transaction-add-rebase" title="flatpak_transaction_add_rebase ()">flatpak_transaction_add_rebase</a>, function in <a class="link" href="#FlatpakTransaction" title="FlatpakTransaction">FlatpakTransaction</a></dt><dd></dd><dt><a class="link" href="#flatpak-transaction-add-rebase-and-uninstall" title="flatpak_transaction_add_rebase_and_uninstall ()">flatpak_transaction_add_rebase_and_uninstall</a>, function in <a class="link" href="#FlatpakTransaction" title="FlatpakTransaction">FlatpakTransaction</a></dt><dd></dd><dt><a class="link" href="#flatpak-transaction-add-uninstall" title="flatpak_transaction_add_uninstall ()">flatpak_transaction_add_uninstall</a>, function in <a class="link" href="#FlatpakTransaction" title="FlatpakTransaction">FlatpakTransaction</a></dt><dd></dd><dt><a class="link" href="#flatpak-transaction-add-update" title="flatpak_transaction_add_update ()">flatpak_transaction_add_update</a>, function in <a class="link" href="#FlatpakTransaction" title="FlatpakTransaction">FlatpakTransaction</a></dt><dd></dd><dt><a class="link" href="#flatpak-transaction-get-current-operation" title="flatpak_transaction_get_current_operation ()">flatpak_transaction_get_current_operation</a>, function in <a class="link" href="#FlatpakTransaction" title="FlatpakTransaction">FlatpakTransaction</a></dt><dd></dd><dt><a class="link" href="#flatpak-transaction-get-installation" title="flatpak_transaction_get_installation ()">flatpak_transaction_get_installation</a>, function in <a class="link" href="#FlatpakTransaction" title="FlatpakTransaction">FlatpakTransaction</a></dt><dd></dd><dt><a class="link" href="#flatpak-transaction-get-no-deploy" title="flatpak_transaction_get_no_deploy ()">flatpak_transaction_get_no_deploy</a>, function in <a class="link" href="#FlatpakTransaction" title="FlatpakTransaction">FlatpakTransaction</a></dt><dd></dd><dt><a class="link" href="#flatpak-transaction-get-no-pull" title="flatpak_transaction_get_no_pull ()">flatpak_transaction_get_no_pull</a>, function in <a class="link" href="#FlatpakTransaction" title="FlatpakTransaction">FlatpakTransaction</a></dt><dd></dd><dt><a class="link" href="#flatpak-transaction-get-operations" title="flatpak_transaction_get_operations ()">flatpak_transaction_get_operations</a>, function in <a class="link" href="#FlatpakTransaction" title="FlatpakTransaction">FlatpakTransaction</a></dt><dd></dd><dt><a class="link" href="#flatpak-transaction-get-parent-window" title="flatpak_transaction_get_parent_window ()">flatpak_transaction_get_parent_window</a>, function in <a class="link" href="#FlatpakTransaction" title="FlatpakTransaction">FlatpakTransaction</a></dt><dd></dd><dt><a class="link" href="#flatpak-transaction-is-empty" title="flatpak_transaction_is_empty ()">flatpak_transaction_is_empty</a>, function in <a class="link" href="#FlatpakTransaction" title="FlatpakTransaction">FlatpakTransaction</a></dt><dd></dd><dt><a class="link" href="#flatpak-transaction-new-for-installation" title="flatpak_transaction_new_for_installation ()">flatpak_transaction_new_for_installation</a>, function in <a class="link" href="#FlatpakTransaction" title="FlatpakTransaction">FlatpakTransaction</a></dt><dd></dd><dt><a class="link" href="#flatpak-transaction-operation-get-bundle-path" title="flatpak_transaction_operation_get_bundle_path ()">flatpak_transaction_operation_get_bundle_path</a>, function in <a class="link" href="#FlatpakTransactionOperation" title="FlatpakTransactionOperation">FlatpakTransactionOperation</a></dt><dd></dd><dt><a class="link" href="#flatpak-transaction-operation-get-commit" title="flatpak_transaction_operation_get_commit ()">flatpak_transaction_operation_get_commit</a>, function in <a class="link" href="#FlatpakTransactionOperation" title="FlatpakTransactionOperation">FlatpakTransactionOperation</a></dt><dd></dd><dt><a class="link" href="#flatpak-transaction-operation-get-download-size" title="flatpak_transaction_operation_get_download_size ()">flatpak_transaction_operation_get_download_size</a>, function in <a class="link" href="#FlatpakTransactionOperation" title="FlatpakTransactionOperation">FlatpakTransactionOperation</a></dt><dd></dd><dt><a class="link" href="#flatpak-transaction-operation-get-installed-size" title="flatpak_transaction_operation_get_installed_size ()">flatpak_transaction_operation_get_installed_size</a>, function in <a class="link" href="#FlatpakTransactionOperation" title="FlatpakTransactionOperation">FlatpakTransactionOperation</a></dt><dd></dd><dt><a class="link" href="#flatpak-transaction-operation-get-metadata" title="flatpak_transaction_operation_get_metadata ()">flatpak_transaction_operation_get_metadata</a>, function in <a class="link" href="#FlatpakTransactionOperation" title="FlatpakTransactionOperation">FlatpakTransactionOperation</a></dt><dd></dd><dt><a class="link" href="#flatpak-transaction-operation-get-old-metadata" title="flatpak_transaction_operation_get_old_metadata ()">flatpak_transaction_operation_get_old_metadata</a>, function in <a class="link" href="#FlatpakTransactionOperation" title="FlatpakTransactionOperation">FlatpakTransactionOperation</a></dt><dd></dd><dt><a class="link" href="#flatpak-transaction-operation-get-operation-type" title="flatpak_transaction_operation_get_operation_type ()">flatpak_transaction_operation_get_operation_type</a>, function in <a class="link" href="#FlatpakTransactionOperation" title="FlatpakTransactionOperation">FlatpakTransactionOperation</a></dt><dd></dd><dt><a class="link" href="#flatpak-transaction-operation-get-ref" title="flatpak_transaction_operation_get_ref ()">flatpak_transaction_operation_get_ref</a>, function in <a class="link" href="#FlatpakTransactionOperation" title="FlatpakTransactionOperation">FlatpakTransactionOperation</a></dt><dd></dd><dt><a class="link" href="#flatpak-transaction-operation-get-remote" title="flatpak_transaction_operation_get_remote ()">flatpak_transaction_operation_get_remote</a>, function in <a class="link" href="#FlatpakTransactionOperation" title="FlatpakTransactionOperation">FlatpakTransactionOperation</a></dt><dd></dd><dt><a class="link" href="#flatpak-transaction-operation-type-to-string" title="flatpak_transaction_operation_type_to_string ()">flatpak_transaction_operation_type_to_string</a>, function in <a class="link" href="#FlatpakTransactionOperation" title="FlatpakTransactionOperation">FlatpakTransactionOperation</a></dt><dd></dd><dt><a class="link" href="#flatpak-transaction-progress-get-bytes-transferred" title="flatpak_transaction_progress_get_bytes_transferred ()">flatpak_transaction_progress_get_bytes_transferred</a>, function in <a class="link" href="#FlatpakTransactionProgress" title="FlatpakTransactionProgress">FlatpakTransactionProgress</a></dt><dd></dd><dt><a class="link" href="#flatpak-transaction-progress-get-is-estimating" title="flatpak_transaction_progress_get_is_estimating ()">flatpak_transaction_progress_get_is_estimating</a>, function in <a class="link" href="#FlatpakTransactionProgress" title="FlatpakTransactionProgress">FlatpakTransactionProgress</a></dt><dd></dd><dt><a class="link" href="#flatpak-transaction-progress-get-progress" title="flatpak_transaction_progress_get_progress ()">flatpak_transaction_progress_get_progress</a>, function in <a class="link" href="#FlatpakTransactionProgress" title="FlatpakTransactionProgress">FlatpakTransactionProgress</a></dt><dd></dd><dt><a class="link" href="#flatpak-transaction-progress-get-start-time" title="flatpak_transaction_progress_get_start_time ()">flatpak_transaction_progress_get_start_time</a>, function in <a class="link" href="#FlatpakTransactionProgress" title="FlatpakTransactionProgress">FlatpakTransactionProgress</a></dt><dd></dd><dt><a class="link" href="#flatpak-transaction-progress-get-status" title="flatpak_transaction_progress_get_status ()">flatpak_transaction_progress_get_status</a>, function in <a class="link" href="#FlatpakTransactionProgress" title="FlatpakTransactionProgress">FlatpakTransactionProgress</a></dt><dd></dd><dt><a class="link" href="#flatpak-transaction-progress-set-update-frequency" title="flatpak_transaction_progress_set_update_frequency ()">flatpak_transaction_progress_set_update_frequency</a>, function in <a class="link" href="#FlatpakTransactionProgress" title="FlatpakTransactionProgress">FlatpakTransactionProgress</a></dt><dd></dd><dt><a class="link" href="#flatpak-transaction-run" title="flatpak_transaction_run ()">flatpak_transaction_run</a>, function in <a class="link" href="#FlatpakTransaction" title="FlatpakTransaction">FlatpakTransaction</a></dt><dd></dd><dt><a class="link" href="#flatpak-transaction-set-default-arch" title="flatpak_transaction_set_default_arch ()">flatpak_transaction_set_default_arch</a>, function in <a class="link" href="#FlatpakTransaction" title="FlatpakTransaction">FlatpakTransaction</a></dt><dd></dd><dt><a class="link" href="#flatpak-transaction-set-disable-dependencies" title="flatpak_transaction_set_disable_dependencies ()">flatpak_transaction_set_disable_dependencies</a>, function in <a class="link" href="#FlatpakTransaction" title="FlatpakTransaction">FlatpakTransaction</a></dt><dd></dd><dt><a class="link" href="#flatpak-transaction-set-disable-prune" title="flatpak_transaction_set_disable_prune ()">flatpak_transaction_set_disable_prune</a>, function in <a class="link" href="#FlatpakTransaction" title="FlatpakTransaction">FlatpakTransaction</a></dt><dd></dd><dt><a class="link" href="#flatpak-transaction-set-disable-related" title="flatpak_transaction_set_disable_related ()">flatpak_transaction_set_disable_related</a>, function in <a class="link" href="#FlatpakTransaction" title="FlatpakTransaction">FlatpakTransaction</a></dt><dd></dd><dt><a class="link" href="#flatpak-transaction-set-disable-static-deltas" title="flatpak_transaction_set_disable_static_deltas ()">flatpak_transaction_set_disable_static_deltas</a>, function in <a class="link" href="#FlatpakTransaction" title="FlatpakTransaction">FlatpakTransaction</a></dt><dd></dd><dt><a class="link" href="#flatpak-transaction-set-force-uninstall" title="flatpak_transaction_set_force_uninstall ()">flatpak_transaction_set_force_uninstall</a>, function in <a class="link" href="#FlatpakTransaction" title="FlatpakTransaction">FlatpakTransaction</a></dt><dd></dd><dt><a class="link" href="#flatpak-transaction-set-no-deploy" title="flatpak_transaction_set_no_deploy ()">flatpak_transaction_set_no_deploy</a>, function in <a class="link" href="#FlatpakTransaction" title="FlatpakTransaction">FlatpakTransaction</a></dt><dd></dd><dt><a class="link" href="#flatpak-transaction-set-no-pull" title="flatpak_transaction_set_no_pull ()">flatpak_transaction_set_no_pull</a>, function in <a class="link" href="#FlatpakTransaction" title="FlatpakTransaction">FlatpakTransaction</a></dt><dd></dd><dt><a class="link" href="#flatpak-transaction-set-parent-window" title="flatpak_transaction_set_parent_window ()">flatpak_transaction_set_parent_window</a>, function in <a class="link" href="#FlatpakTransaction" title="FlatpakTransaction">FlatpakTransaction</a></dt><dd></dd><dt><a class="link" href="#flatpak-transaction-set-reinstall" title="flatpak_transaction_set_reinstall ()">flatpak_transaction_set_reinstall</a>, function in <a class="link" href="#FlatpakTransaction" title="FlatpakTransaction">FlatpakTransaction</a></dt><dd></dd></dl></div><div class="indexdiv"><h3 class="title">U</h3><dl><dt><a class="link" href="#FlatpakUninstallFlags" title="enum FlatpakUninstallFlags">FlatpakUninstallFlags</a>, enum in <a class="link" href="#FlatpakInstallation" title="FlatpakInstallation">FlatpakInstallation</a></dt><dd></dd><dt><a class="link" href="#FlatpakUpdateFlags" title="enum FlatpakUpdateFlags">FlatpakUpdateFlags</a>, enum in <a class="link" href="#FlatpakInstallation" title="FlatpakInstallation">FlatpakInstallation</a></dt><dd></dd></dl></div><dl></dl></div></div><div class="index"><div class="titlepage"><div><div><h1 class="title"><a id="deprecated-api-index"></a>Index of deprecated API</h1></div></div></div><div class="indexdiv"><a id="api-index-deprecated"></a><div class="indexdiv"><h3 class="title">I</h3><dl><dt><a class="link" href="#flatpak-installation-install" title="flatpak_installation_install ()">flatpak_installation_install</a>, function in <a class="link" href="#FlatpakInstallation" title="FlatpakInstallation">FlatpakInstallation</a></dt><dd></dd><dt><a class="link" href="#flatpak-installation-install-bundle" title="flatpak_installation_install_bundle ()">flatpak_installation_install_bundle</a>, function in <a class="link" href="#FlatpakInstallation" title="FlatpakInstallation">FlatpakInstallation</a></dt><dd></dd><dt><a class="link" href="#flatpak-installation-install-full" title="flatpak_installation_install_full ()">flatpak_installation_install_full</a>, function in <a class="link" href="#FlatpakInstallation" title="FlatpakInstallation">FlatpakInstallation</a></dt><dd></dd><dt><a class="link" href="#flatpak-installation-install-ref-file" title="flatpak_installation_install_ref_file ()">flatpak_installation_install_ref_file</a>, function in <a class="link" href="#FlatpakInstallation" title="FlatpakInstallation">FlatpakInstallation</a></dt><dd></dd><dt><a class="link" href="#flatpak-installation-uninstall" title="flatpak_installation_uninstall ()">flatpak_installation_uninstall</a>, function in <a class="link" href="#FlatpakInstallation" title="FlatpakInstallation">FlatpakInstallation</a></dt><dd></dd><dt><a class="link" href="#flatpak-installation-uninstall-full" title="flatpak_installation_uninstall_full ()">flatpak_installation_uninstall_full</a>, function in <a class="link" href="#FlatpakInstallation" title="FlatpakInstallation">FlatpakInstallation</a></dt><dd></dd><dt><a class="link" href="#flatpak-installation-update" title="flatpak_installation_update ()">flatpak_installation_update</a>, function in <a class="link" href="#FlatpakInstallation" title="FlatpakInstallation">FlatpakInstallation</a></dt><dd></dd><dt><a class="link" href="#flatpak-installation-update-full" title="flatpak_installation_update_full ()">flatpak_installation_update_full</a>, function in <a class="link" href="#FlatpakInstallation" title="FlatpakInstallation">FlatpakInstallation</a></dt><dd></dd></dl></div><dl></dl></div></div><div class="glossary"><div class="titlepage"><div><div><h1 class="title"><a id="annotation-glossary"></a>Annotation Glossary</h1></div></div></div><div class="glossdiv"><h3 class="title">A</h3><dl><dt><span class="glossterm"><a id="annotation-glossterm-allow-none"></a>allow-none</span></dt><dd class="glossdef"><p>NULL is OK, both for passing and for returning.</p></dd><dt><span class="glossterm"><a id="annotation-glossterm-array"></a>array</span></dt><dd class="glossdef"><p>Parameter points to an array of items.</p></dd></dl></div><div class="glossdiv"><h3 class="title">C</h3><dl><dt><span class="glossterm"><a id="annotation-glossterm-closure"></a>closure</span></dt><dd class="glossdef"><p>This parameter is a 'user_data', for callbacks; many bindings can pass NULL here.</p></dd></dl></div><div class="glossdiv"><h3 class="title">E</h3><dl><dt><span class="glossterm"><a id="annotation-glossterm-element-type"></a>element-type</span></dt><dd class="glossdef"><p>Generics and defining elements of containers and arrays.</p></dd></dl></div><div class="glossdiv"><h3 class="title">N</h3><dl><dt><span class="glossterm"><a id="annotation-glossterm-nullable"></a>nullable</span></dt><dd class="glossdef"><p>NULL may be passed as the value in, out, in-out; or as a return value.</p></dd></dl></div><div class="glossdiv"><h3 class="title">O</h3><dl><dt><span class="glossterm"><a id="annotation-glossterm-out"></a>out</span></dt><dd class="glossdef"><p>Parameter for returning results. Default is <acronym class="acronym">transfer full</acronym>.</p></dd></dl></div><div class="glossdiv"><h3 class="title">S</h3><dl><dt><span class="glossterm"><a id="annotation-glossterm-scope call"></a>scope call</span></dt><dd class="glossdef"><p>The callback is valid only during the call to the method.</p></dd></dl></div><div class="glossdiv"><h3 class="title">T</h3><dl><dt><span class="glossterm"><a id="annotation-glossterm-transfer container"></a>transfer container</span></dt><dd class="glossdef"><p>The caller owns the data container, but not the data inside it.</p></dd><dt><span class="glossterm"><a id="annotation-glossterm-transfer full"></a>transfer full</span></dt><dd class="glossdef"><p>The caller owns the data, and is responsible for free it.</p></dd><dt><span class="glossterm"><a id="annotation-glossterm-transfer none"></a>transfer none</span></dt><dd class="glossdef"><p>The data is owned by the callee, which is responsible of freeing it.</p></dd><dt><span class="glossterm"><a id="annotation-glossterm-type"></a>type</span></dt><dd class="glossdef"><p>Override the parsed C type with given type.</p></dd></dl></div></div></div></body></html>