summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAurelien Foret <aurelien@archlinux.org>2005-03-16 20:59:14 +0000
committerAurelien Foret <aurelien@archlinux.org>2005-03-16 20:59:14 +0000
commit2ce1105900fcbb1fa2ad176dae74e5f5290af4a4 (patch)
treee86b82ced934b5d94837a6ef27d018552b6664ac /lib
parentd8cdd54a206a87a41ce66360f132e2d854a45af2 (diff)
downloadpacman-2ce1105900fcbb1fa2ad176dae74e5f5290af4a4.tar.xz
- added PM_EXT_PKG and PM_EXT_DB defines to alpm.h (taken from pacman 2.9.3)
- renamed ALPM_VERSION to PM_VERSION
Diffstat (limited to 'lib')
-rw-r--r--lib/libalpm/alpm.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/libalpm/alpm.h b/lib/libalpm/alpm.h
index a2337576..8eb1ece0 100644
--- a/lib/libalpm/alpm.h
+++ b/lib/libalpm/alpm.h
@@ -25,6 +25,9 @@
* Arch Linux Package Management library
*/
+#define PM_EXT_PKG ".pkg.tar.gz"
+#define PM_EXT_DB ".db.tar.gz"
+
/*
* Structures (opaque)
*/
@@ -44,7 +47,7 @@ typedef struct __pmdepmissing_t PM_DEPMISS; */
*/
/* Version */
-#define ALPM_VERSION "0.1.0"
+#define PM_VERSION "0.1.0"
int alpm_initialize(char *root);
int alpm_release();