summaryrefslogtreecommitdiff
path: root/lib/libalpm/alpm.h
diff options
context:
space:
mode:
authorAurelien Foret <aurelien@archlinux.org>2005-10-10 20:41:35 +0000
committerAurelien Foret <aurelien@archlinux.org>2005-10-10 20:41:35 +0000
commit609466fdeb614c8a7a7bb6b5e9921d2fd2fde17f (patch)
tree95dca1525ffc5ab45ca877f6f6c78f51c9f31efd /lib/libalpm/alpm.h
parentb817883cddb8817f49e234d321af289c1e4f68b8 (diff)
downloadpacman-609466fdeb614c8a7a7bb6b5e9921d2fd2fde17f.tar.xz
added PM_OPT_CACHEDIR library option
Diffstat (limited to 'lib/libalpm/alpm.h')
-rw-r--r--lib/libalpm/alpm.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/libalpm/alpm.h b/lib/libalpm/alpm.h
index a6bdf384..b12defee 100644
--- a/lib/libalpm/alpm.h
+++ b/lib/libalpm/alpm.h
@@ -27,8 +27,9 @@
#define PM_VERSION "0.1.0"
-#define PM_ROOT "/"
-#define PM_DBPATH "var/lib/pacman"
+#define PM_ROOT "/"
+#define PM_DBPATH "var/lib/pacman"
+#define PM_CACHEDIR "var/cache/pacman/pkg"
#define PM_EXT_PKG ".pkg.tar.gz"
#define PM_EXT_DB ".db.tar.gz"
@@ -80,6 +81,7 @@ enum {
PM_OPT_USESYSLOG,
PM_OPT_ROOT,
PM_OPT_DBPATH,
+ PM_OPT_CACHEDIR,
PM_OPT_LOGFILE,
PM_OPT_LOCALDB,
PM_OPT_SYNCDB,