summaryrefslogtreecommitdiff
path: root/src/apk_package.h
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2011-10-19 15:26:55 -0400
committerTimo Teräs <timo.teras@iki.fi>2011-10-19 15:26:55 -0400
commit8d4d68d8187abc52bad0549f9edafbd8cba2e358 (patch)
treed6c82096abb06e8822cf801470c0d7aa924466a3 /src/apk_package.h
parent89d003f8c2e5a92655ee778f7bfa5c0e85ddbed4 (diff)
downloadapk-tools-8d4d68d8187abc52bad0549f9edafbd8cba2e358.tar.gz
apk-tools-8d4d68d8187abc52bad0549f9edafbd8cba2e358.tar.bz2
apk-tools-8d4d68d8187abc52bad0549f9edafbd8cba2e358.tar.xz
apk-tools-8d4d68d8187abc52bad0549f9edafbd8cba2e358.zip
pkg: convert struct apk_install_package flags to bitfield
Diffstat (limited to 'src/apk_package.h')
-rw-r--r--src/apk_package.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/apk_package.h b/src/apk_package.h
index 83bbd70..41d65cb 100644
--- a/src/apk_package.h
+++ b/src/apk_package.h
@@ -63,11 +63,9 @@ struct apk_dependency {
};
APK_ARRAY(apk_dependency_array, struct apk_dependency);
-#define APK_IPKGF_RUN_ALL_TRIGGERS 0x00000001
-
struct apk_installed_package {
struct apk_package *pkg;
- unsigned int flags;
+ unsigned int run_all_triggers : 1;
unsigned short replaces_priority;
struct list_head installed_pkgs_list;
struct list_head trigger_pkgs_list;