diff options
author | Timo Teras <timo.teras@iki.fi> | 2010-03-04 14:01:37 +0200 |
---|---|---|
committer | Timo Teras <timo.teras@iki.fi> | 2010-03-04 14:01:37 +0200 |
commit | ef7d467083f88e2473c697b111eeea9ca5649bda (patch) | |
tree | 81ce6aa0bcba18ca4583dcf3e6dda0b604a77f2f /src/apk_database.h | |
parent | 4b29ea2a081d4002b7fea7e4caa0be760b3731af (diff) | |
download | apk-tools-ef7d467083f88e2473c697b111eeea9ca5649bda.tar.gz apk-tools-ef7d467083f88e2473c697b111eeea9ca5649bda.tar.bz2 apk-tools-ef7d467083f88e2473c697b111eeea9ca5649bda.tar.xz apk-tools-ef7d467083f88e2473c697b111eeea9ca5649bda.zip |
fetch: do not include installed non-repository files in search
we do not create mirror repositories from other valid repositories,
not from what was installed locally.
Diffstat (limited to 'src/apk_database.h')
-rw-r--r-- | src/apk_database.h | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/src/apk_database.h b/src/apk_database.h index 8ec7bac..da3b0ae 100644 --- a/src/apk_database.h +++ b/src/apk_database.h @@ -140,14 +140,17 @@ struct apk_db_file *apk_db_file_query(struct apk_database *db, apk_blob_t dir, apk_blob_t name); -#define APK_OPENF_READ 0x0001 -#define APK_OPENF_WRITE 0x0002 -#define APK_OPENF_CREATE 0x0004 -#define APK_OPENF_NO_INSTALLED 0x0010 -#define APK_OPENF_NO_SCRIPTS 0x0020 -#define APK_OPENF_NO_WORLD 0x0040 -#define APK_OPENF_NO_REPOS 0x0080 - +#define APK_OPENF_READ 0x0001 +#define APK_OPENF_WRITE 0x0002 +#define APK_OPENF_CREATE 0x0004 +#define APK_OPENF_NO_INSTALLED 0x0010 +#define APK_OPENF_NO_SCRIPTS 0x0020 +#define APK_OPENF_NO_WORLD 0x0040 +#define APK_OPENF_NO_SYS_REPOS 0x0100 +#define APK_OPENF_NO_INSTALLED_REPO 0x0200 + +#define APK_OPENF_NO_REPOS (APK_OPENF_NO_SYS_REPOS | \ + APK_OPENF_NO_INSTALLED_REPO) #define APK_OPENF_NO_STATE (APK_OPENF_NO_INSTALLED | \ APK_OPENF_NO_SCRIPTS | \ APK_OPENF_NO_WORLD) |