libopkg: store checksums in binary form, use integer index for architecture
[oweals/opkg-lede.git] / libopkg / file_util.h
index a7e2a3812d873c4efc8f76da9203dcc4245ec245..d8e676790aaa16c8917920fadacef4bdc781a56d 100644 (file)
@@ -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