summaryrefslogtreecommitdiff
path: root/src/apk_package.h
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2013-06-19 20:55:01 +0300
committerTimo Teräs <timo.teras@iki.fi>2013-06-19 20:56:18 +0300
commit6da083fc24e4f1ef0363957074148d1bc11cef83 (patch)
tree7c6e6e08c7f1506dbdcc3404ac6f03e2bd498a76 /src/apk_package.h
parente4c65886dd1758657ccf58e14523c2da57f2c98a (diff)
downloadapk-tools-6da083fc24e4f1ef0363957074148d1bc11cef83.tar.gz
apk-tools-6da083fc24e4f1ef0363957074148d1bc11cef83.tar.bz2
apk-tools-6da083fc24e4f1ef0363957074148d1bc11cef83.tar.xz
apk-tools-6da083fc24e4f1ef0363957074148d1bc11cef83.zip
all: few behavioural regression fixes
Wildcard matching with no names should match all packages only for info and search applet. "apk del" would otherwise try to delete everything, etc. Fix also interactive mode to ask questions only if we are actually changing something.
Diffstat (limited to 'src/apk_package.h')
-rw-r--r--src/apk_package.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/apk_package.h b/src/apk_package.h
index db3965b..2d8a431 100644
--- a/src/apk_package.h
+++ b/src/apk_package.h
@@ -42,6 +42,7 @@ struct apk_provider;
#define APK_DEP_CONFLICTS 0x04
#define APK_FOREACH_INSTALLED 0x10
#define APK_FOREACH_MARKED 0x20
+#define APK_FOREACH_NULL_MATCHES_ALL 0x40
#define APK_FOREACH_GENID_MASK 0xffffff00
struct apk_sign_ctx {