summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/alpm.h
diff options
context:
space:
mode:
authorNagy Gabor <ngaba@bibl.u-szeged.hu>2007-10-25 02:31:28 +0200
committerDan McGee <dan@archlinux.org>2007-10-25 14:10:08 +0200
commit0cff7c6bdf5461c3286edc940aabb88d63345381 (patch)
tree18f5a1febd6c25155c2680e77767b62634b50bf9 /lib/libalpm/alpm.h
parent89ac8aa9c45486aa4f4b9599bb094f1d54ff1b66 (diff)
downloadpacman-0cff7c6bdf5461c3286edc940aabb88d63345381.tar.gz
pacman-0cff7c6bdf5461c3286edc940aabb88d63345381.tar.xz
Add alpm_dep_get_string method
Public alpm_dep_get_string function is introduced, which converts a pmdepend_t structure to printable string in %DEPENDS% format. This function is now used in pacman to print dependency error messages. 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 880bbeb0..2000db4a 100644
--- a/lib/libalpm/alpm.h
+++ b/lib/libalpm/alpm.h
@@ -379,6 +379,7 @@ pmdepend_t *alpm_miss_get_dep(pmdepmissing_t *miss);
pmdepmod_t alpm_dep_get_mod(pmdepend_t *dep);
const char *alpm_dep_get_name(pmdepend_t *dep);
const char *alpm_dep_get_version(pmdepend_t *dep);
+char *alpm_dep_get_string(pmdepend_t *dep);
/*
* File conflicts