summaryrefslogtreecommitdiff
path: root/common/flatpak-installation.h
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2020-03-24 20:16:50 +0100
committerAlexander Larsson <alexl@redhat.com>2020-03-24 20:18:57 +0100
commit1117f0d872e538e094d841a5d4e5ae6cc4e70398 (patch)
treec328318d4902aadcdf116eb23ebb3c4b0ccaef64 /common/flatpak-installation.h
parent9648cc5eaac04b038db486efc865dce1b5286931 (diff)
downloadflatpak-1117f0d872e538e094d841a5d4e5ae6cc4e70398.tar.gz
lib: Add new FLATPAK_QUERY_FLAGS_ONLY_SIDELOADED option
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 644434a7..13052fd9 100644
--- a/common/flatpak-installation.h
+++ b/common/flatpak-installation.h
@@ -127,6 +127,7 @@ typedef enum {
* @FLATPAK_QUERY_FLAGS_ONLY_CACHED: Don't do any network i/o, but only return cached data.
* This can return stale data, or a #FLATPAK_ERROR_NOT_CACHED error, however it is a
* lot more efficient if you're doing many requests.
+ * @FLATPAK_QUERY_FLAGS_ONLY_SIDELOADED: Only list refs available from any eventuall sideload repos. (Snce: 1.7)
*
* Flags to alter the behavior of e.g flatpak_installation_list_remote_refs_sync_full().
*
@@ -135,6 +136,7 @@ typedef enum {
typedef enum {
FLATPAK_QUERY_FLAGS_NONE = 0,
FLATPAK_QUERY_FLAGS_ONLY_CACHED = (1 << 0),
+ FLATPAK_QUERY_FLAGS_ONLY_SIDELOADED = (1 << 1),
} FlatpakQueryFlags;
/**