summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/alpm.h
diff options
context:
space:
mode:
authorNagy Gabor <ngaba@bibl.u-szeged.hu>2008-02-29 21:52:57 +0100
committerDan McGee <dan@archlinux.org>2008-03-01 17:02:05 -0600
commit49197b7492d61bf1fc6bef59a708f4f586f32edb (patch)
tree2d886ebbd3fca56d14ceecba0af4c05f79e803e2 /lib/libalpm/alpm.h
parent73ac9f7b27c3da538dad0f59c28f67badbb43a64 (diff)
downloadpacman-49197b7492d61bf1fc6bef59a708f4f586f32edb.tar.xz
New alpm_version function
Now pacman frontend uses this function instead of the compile-time libalpm version number. Signed-off-by: Nagy Gabor <ngaba@bibl.u-szeged.hu> [Dan: fix one more spot where LIB_VERSION was used] Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/alpm.h')
-rw-r--r--lib/libalpm/alpm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libalpm/alpm.h b/lib/libalpm/alpm.h
index 4e2c2219..7a16772a 100644
--- a/lib/libalpm/alpm.h
+++ b/lib/libalpm/alpm.h
@@ -58,6 +58,7 @@ typedef struct __pmfileconflict_t pmfileconflict_t;
int alpm_initialize(void);
int alpm_release(void);
+const char *alpm_version(void);
/*
* Logging facilities