summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/alpm.h
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2011-08-13 20:40:41 +0200
committerDan McGee <dan@archlinux.org>2011-08-15 14:06:23 +0200
commit20b5cc96be546db4e86b2216de3fccaeb7b2a4b2 (patch)
treec204a2a7428a042d219a6e2f0e5beca9313952e5 /lib/libalpm/alpm.h
parentea79de21d82369e799fcdc6e71b45d9580a75099 (diff)
downloadpacman-20b5cc96be546db4e86b2216de3fccaeb7b2a4b2.tar.gz
pacman-20b5cc96be546db4e86b2216de3fccaeb7b2a4b2.tar.xz
pacman/package: show presence of signature in in -Si
adds a new API method: alpm_pkg_get_base64_sig [Dan: don't use a new header string in frontend] Signed-off-by: Dave Reisner <dreisner@archlinux.org> Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/alpm.h')
-rw-r--r--lib/libalpm/alpm.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/libalpm/alpm.h b/lib/libalpm/alpm.h
index 6ed82e40..3bbef0ab 100644
--- a/lib/libalpm/alpm.h
+++ b/lib/libalpm/alpm.h
@@ -713,6 +713,12 @@ alpm_list_t *alpm_pkg_get_backup(alpm_pkg_t *pkg);
*/
alpm_db_t *alpm_pkg_get_db(alpm_pkg_t *pkg);
+/** Retuns the base64 encoded package signature.
+ * @param pkg a pointer to package
+ * @return a reference to an internal string
+ */
+const char *alpm_pkg_get_base64_sig(alpm_pkg_t *pkg);
+
/* End of alpm_pkg_t accessors */
/* @} */