diff options
author | morganamilo <morganamilo@archlinux.org> | 2020-01-26 08:01:42 +0100 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2020-01-28 01:46:27 +0100 |
commit | d0c487d4dcc6fec6f4bd8e1cefa1de9ffbe0e460 (patch) | |
tree | a93e22ff2ae481767df86a651352c424f57cc850 /lib/libalpm/util.c | |
parent | 0a25548cd0910f66dea2dfab21f75a6d15366d64 (diff) | |
download | pacman-d0c487d4dcc6fec6f4bd8e1cefa1de9ffbe0e460.tar.gz pacman-d0c487d4dcc6fec6f4bd8e1cefa1de9ffbe0e460.tar.xz |
Docs docs docs
libalpm: move docs from .c files into alpm.h And fix/expand some
along the way.
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'lib/libalpm/util.c')
-rw-r--r-- | lib/libalpm/util.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/lib/libalpm/util.c b/lib/libalpm/util.c index d12a4403..128d3cd7 100644 --- a/lib/libalpm/util.c +++ b/lib/libalpm/util.c @@ -1023,11 +1023,6 @@ static char *hex_representation(unsigned char *bytes, size_t size) return str; } -/** Get the md5 sum of file. - * @param filename name of the file - * @return the checksum on success, NULL on error - * @addtogroup alpm_misc - */ char SYMEXPORT *alpm_compute_md5sum(const char *filename) { unsigned char output[16]; @@ -1041,11 +1036,6 @@ char SYMEXPORT *alpm_compute_md5sum(const char *filename) return hex_representation(output, 16); } -/** Get the sha256 sum of file. - * @param filename name of the file - * @return the checksum on success, NULL on error - * @addtogroup alpm_misc - */ char SYMEXPORT *alpm_compute_sha256sum(const char *filename) { unsigned char output[32]; |