summaryrefslogtreecommitdiff
path: root/src/apk_database.h
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2023-03-23 13:12:34 +0200
committerTimo Teräs <timo.teras@iki.fi>2023-04-11 20:55:13 +0300
commit4d8a920366143c38d5bc521470e353c11e788b04 (patch)
treecccb6d820a9bab4a0e57d030bef67c3576f36c95 /src/apk_database.h
parent6c2af0f0d3381f1a2d12105e310ae47e120f5d4d (diff)
downloadapk-tools-4d8a920366143c38d5bc521470e353c11e788b04.tar.gz
apk-tools-4d8a920366143c38d5bc521470e353c11e788b04.tar.bz2
apk-tools-4d8a920366143c38d5bc521470e353c11e788b04.tar.xz
apk-tools-4d8a920366143c38d5bc521470e353c11e788b04.zip
db, dot, fetch, info, list, search: support --from=FROMSPEC
Allow omitting loading of system installed database and system repositories for the commands that operate on package indexes only.
Diffstat (limited to 'src/apk_database.h')
-rw-r--r--src/apk_database.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/apk_database.h b/src/apk_database.h
index 5818eb4..f70ae1c 100644
--- a/src/apk_database.h
+++ b/src/apk_database.h
@@ -229,6 +229,7 @@ struct apk_db_file *apk_db_file_query(struct apk_database *db,
#define APK_OPENF_NO_INSTALLED_REPO 0x0200
#define APK_OPENF_CACHE_WRITE 0x0400
#define APK_OPENF_NO_AUTOUPDATE 0x0800
+#define APK_OPENF_NO_CMDLINE_REPOS 0x1000
#define APK_OPENF_NO_REPOS (APK_OPENF_NO_SYS_REPOS | \
APK_OPENF_NO_INSTALLED_REPO)