index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Dan McGee <dan@archlinux.org> | 2011-08-11 20:15:15 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-08-15 12:11:55 -0500 |
commit | ebb2e36cc4c40d11689a44a2503df40fa96e8fc1 (patch) | |
tree | aa75da8cd9fc082b7b5278ed783bb8ff98f818f9 /lib/libalpm/alpm.h | |
parent | 31f2e0cba3281660a2a3ffc6f902a7019cb4699b (diff) |
-rw-r--r-- | lib/libalpm/alpm.h | 9 |
diff --git a/lib/libalpm/alpm.h b/lib/libalpm/alpm.h index 6d696ec8..3febd0ec 100644 --- a/lib/libalpm/alpm.h +++ b/lib/libalpm/alpm.h @@ -609,12 +609,19 @@ time_t alpm_pkg_get_installdate(alpm_pkg_t *pkg); const char *alpm_pkg_get_packager(alpm_pkg_t *pkg); /** Returns the package's MD5 checksum as a string. - * The returned string is a sequence of lowercase hexadecimal digits. + * The returned string is a sequence of 32 lowercase hexadecimal digits. * @param pkg a pointer to package * @return a reference to an internal string */ const char *alpm_pkg_get_md5sum(alpm_pkg_t *pkg); +/** Returns the package's SHA256 checksum as a string. + * The returned string is a sequence of 64 lowercase hexadecimal digits. + * @param pkg a pointer to package + * @return a reference to an internal string + */ +const char *alpm_pkg_get_sha256sum(alpm_pkg_t *pkg); + /** Returns the architecture for which the package was built. * @param pkg a pointer to package * @return a reference to an internal string |