summaryrefslogtreecommitdiff
path: root/src/apk_package.h
diff options
context:
space:
mode:
authorTimo Teras <timo.teras@iki.fi>2009-01-16 13:59:36 +0200
committerTimo Teras <timo.teras@iki.fi>2009-01-16 13:59:36 +0200
commit3e6fc1389f1cdd06bf18b8fd6cd741c8b9e3e1f2 (patch)
treec152bd82b0fbb5e573a944534d670a54a5a3bbc6 /src/apk_package.h
parent6354a278883161704c7f8650a3bdde77f163c6ad (diff)
downloadapk-tools-3e6fc1389f1cdd06bf18b8fd6cd741c8b9e3e1f2.tar.gz
apk-tools-3e6fc1389f1cdd06bf18b8fd6cd741c8b9e3e1f2.tar.bz2
apk-tools-3e6fc1389f1cdd06bf18b8fd6cd741c8b9e3e1f2.tar.xz
apk-tools-3e6fc1389f1cdd06bf18b8fd6cd741c8b9e3e1f2.zip
add: --upgrade|-u to control if upgrading is preferred or not
Diffstat (limited to 'src/apk_package.h')
-rw-r--r--src/apk_package.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/apk_package.h b/src/apk_package.h
index 1978aca..c6eaa1c 100644
--- a/src/apk_package.h
+++ b/src/apk_package.h
@@ -36,12 +36,9 @@ struct apk_script {
};
struct apk_dependency {
- unsigned conflict : 1;
- unsigned prefer_upgrade : 1;
- unsigned version_mask : 3;
-
struct apk_name *name;
- char *version;
+ char *min_version;
+ char *max_version;
};
APK_ARRAY(apk_dependency_array, struct apk_dependency);