summaryrefslogtreecommitdiff
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-06 19:05:14 -0600
commit54af52f87d6d9547629bb336c365943ff9bb4876 (patch)
tree514595bd81a91fc6767f2b4b397407bbea094eea /lib/libalpm/alpm.h
parent7c3f6feb41ef5ea99b1d0c94771210bf77d90c6d (diff)
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> (cherry picked from commit 49197b7492d61bf1fc6bef59a708f4f586f32edb)
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 4797fcfa..96b63ca6 100644
--- a/lib/libalpm/alpm.h
+++ b/lib/libalpm/alpm.h
@@ -60,6 +60,7 @@ typedef struct __pmgraph_t pmgraph_t;
int alpm_initialize(void);
int alpm_release(void);
+const char *alpm_version(void);
/*
* Logging facilities