summaryrefslogtreecommitdiff
path: root/src/apk_defines.h
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2010-12-14 17:04:26 +0200
committerTimo Teräs <timo.teras@iki.fi>2010-12-14 17:06:29 +0200
commitfca1c30b801537ce35c1e4aa50331ae52c9bf567 (patch)
treecc672d5bf3e1b6811aaff7d00ec49e14eae954c3 /src/apk_defines.h
parent6e34f048c7e200a56761e19fea7801dbfa4b0e27 (diff)
downloadapk-tools-fca1c30b801537ce35c1e4aa50331ae52c9bf567.tar.gz
apk-tools-fca1c30b801537ce35c1e4aa50331ae52c9bf567.tar.bz2
apk-tools-fca1c30b801537ce35c1e4aa50331ae52c9bf567.tar.xz
apk-tools-fca1c30b801537ce35c1e4aa50331ae52c9bf567.zip
pkg, db: add preliminary support for arch field
Architecture is now: - parsed from .PKGINFO - written to index and installed db - appended to repository URL when fetching files
Diffstat (limited to 'src/apk_defines.h')
-rw-r--r--src/apk_defines.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/apk_defines.h b/src/apk_defines.h
index 30927bd..6d5f49c 100644
--- a/src/apk_defines.h
+++ b/src/apk_defines.h
@@ -49,6 +49,7 @@
extern int apk_verbosity;
extern unsigned int apk_flags;
+extern const char *apk_arch;
#define APK_FORCE 0x0001
#define APK_SIMULATE 0x0002