projects
/
oweals
/
opkg-lede.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
file_util: implement urlencode_path() helper
[oweals/opkg-lede.git]
/
libopkg
/
file_util.h
diff --git
a/libopkg/file_util.h
b/libopkg/file_util.h
index a7e2a3812d873c4efc8f76da9203dcc4245ec245..e078f41fd63143fc118077cb0798c33e34bc69f4 100644
(file)
--- a/
libopkg/file_util.h
+++ b/
libopkg/file_util.h
@@
-28,4
+28,9
@@
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);
+
+char *urlencode_path(const char *filename);
+
#endif