summaryrefslogtreecommitdiff
path: root/common/flatpak-installation.h
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2021-05-04 10:19:17 +0200
committerAlexander Larsson <alexl@redhat.com>2021-05-19 09:49:25 +0200
commitce9a1c4f6c97a72c48a837ed45d705d09709d50f (patch)
treec44a2ef0a223b3b30bd5ea80b8f7c92ea941e416 /common/flatpak-installation.h
parent4c7d74ac57e9a6d632fce7ae71450df208128592 (diff)
downloadflatpak-ce9a1c4f6c97a72c48a837ed45d705d09709d50f.tar.gz
Add FLATPAK_QUERY_FLAGS_ALL_ARCHES for list_remote_refs()
This allows flatpak_installation_list_remote_refs_sync_full() to list refs for all arches on remotes that use the new subsummary format. Fixes #4252
Diffstat (limited to 'common/flatpak-installation.h')
-rw-r--r--common/flatpak-installation.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/common/flatpak-installation.h b/common/flatpak-installation.h
index 899163e5..2fb0fd59 100644
--- a/common/flatpak-installation.h
+++ b/common/flatpak-installation.h
@@ -131,6 +131,7 @@ typedef enum {
* lot more efficient if you're doing many requests.
* @FLATPAK_QUERY_FLAGS_ONLY_SIDELOADED: Only list refs available from sideload
* repos; see flatpak(1). (Snce: 1.7)
+ * @FLATPAK_QUERY_FLAGS_ALL_ARCHES: Include refs from all arches, not just the primary ones. (Snce: 1.11.2)
*
* Flags to alter the behavior of e.g flatpak_installation_list_remote_refs_sync_full().
*
@@ -140,6 +141,7 @@ typedef enum {
FLATPAK_QUERY_FLAGS_NONE = 0,
FLATPAK_QUERY_FLAGS_ONLY_CACHED = (1 << 0),
FLATPAK_QUERY_FLAGS_ONLY_SIDELOADED = (1 << 1),
+ FLATPAK_QUERY_FLAGS_ALL_ARCHES = (1 << 2),
} FlatpakQueryFlags;
/**