summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/alpm.h
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-08-11 22:46:18 +0200
committerDan McGee <dan@archlinux.org>2011-08-15 14:07:13 +0200
commit31f2e0cba3281660a2a3ffc6f902a7019cb4699b (patch)
tree285ace09e573a6b214045fdccf4c4bb91ac0a606 /lib/libalpm/alpm.h
parentff88228abde9c288b3e08f5090a1ff3941fdc018 (diff)
downloadpacman-31f2e0cba3281660a2a3ffc6f902a7019cb4699b.tar.gz
pacman-31f2e0cba3281660a2a3ffc6f902a7019cb4699b.tar.xz
Add ALPM sha256sum routines
These mirror ones we already have for md5sums. 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 3bbef0ab..6d696ec8 100644
--- a/lib/libalpm/alpm.h
+++ b/lib/libalpm/alpm.h
@@ -1058,6 +1058,7 @@ char *alpm_dep_compute_string(const alpm_depend_t *dep);
/* checksums */
char *alpm_compute_md5sum(const char *name);
+char *alpm_compute_sha256sum(const char *filename);
/** @addtogroup alpm_api_errors Error Codes
* @{