General utility functions. More...

Go to the source code of this file.
Functions | |
| void | hex_encode (unsigned char *bin, char *hex, size_t len) |
| Convert a binary buffer to a hexadecimal string. The len parameter is the length of the binary buffer. The string will not be null terminated. | |
| char * | http_escape (const char *str, const char *prepend) |
| Escape a string according to HTTP/1.1. A string can be prepended as well, which won't be escaped. | |
| char * | url_escape (const char *str) |
| Escape an URL when needed. If it's a local filename, file:// will be prepended. | |
| char * | url_unescape (char *str) |
| Unescape an URL to a local filename where possible (file://foo -> foo). | |
General utility functions.
Definition in file util.h.
1.6.3