aboutsummaryrefslogtreecommitdiffstats
path: root/src/apk_defines.h
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2011-02-26 12:31:48 +0200
committerTimo Teräs <timo.teras@iki.fi>2011-02-26 12:31:48 +0200
commit076ce1876b8d530e0777472637d432f1e2b9459c (patch)
tree56f17e24beedd195c9076761883445d6315018c2 /src/apk_defines.h
parent0c17ba515c8d76f256dec1f8862024c7d19a0b54 (diff)
downloadapk-tools-076ce1876b8d530e0777472637d432f1e2b9459c.tar.gz
apk-tools-076ce1876b8d530e0777472637d432f1e2b9459c.tar.bz2
apk-tools-076ce1876b8d530e0777472637d432f1e2b9459c.tar.xz
pkg, db: add preliminary mini support for arch field
Parse arch from .PKGINFO and index; write it to index and installed database. Contains conservative parts from master branch commit fca1c30b801537ce35c1e4aa50331ae52c9bf567. We'll add the repository URL related changes when we have a migration plan.
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