summaryrefslogtreecommitdiff
path: root/lib/libalpm/alpm.h
diff options
context:
space:
mode:
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,