projects
/
oweals
/
opkg-lede.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
libopkg: store checksums in binary form, use integer index for architecture
[oweals/opkg-lede.git]
/
libopkg
/
file_util.h
diff --git
a/libopkg/file_util.h
b/libopkg/file_util.h
index a7e2a3812d873c4efc8f76da9203dcc4245ec245..d8e676790aaa16c8917920fadacef4bdc781a56d 100644
(file)
--- a/
libopkg/file_util.h
+++ b/
libopkg/file_util.h
@@
-28,4
+28,7
@@
char *file_md5sum_alloc(const char *file_name);
char *file_sha256sum_alloc(const char *file_name);
int rm_r(const char *path);
+char *checksum_bin2hex(const char *src, size_t len);
+char *checksum_hex2bin(const char *src, size_t *len);
+
#endif