X-Git-Url: https://git.distorted.org.uk/~mdw/disorder/blobdiff_plain/763d5e6ad88ef3ba1cd1d7742d060e4f1e54c6b8..ab29cd16e4e09767e955896c9c92c9ef6e649a9a:/lib/kvp.h diff --git a/lib/kvp.h b/lib/kvp.h index db6d177..5240526 100644 --- a/lib/kvp.h +++ b/lib/kvp.h @@ -52,9 +52,11 @@ int urlencode(struct sink *sink, const char *s, size_t n); /* url-encode the @n@ bytes at @s@, writing to @sink@. Return 0 on * success, -1 on error. */ -const char *urlencodestring(const char *s); +char *urlencodestring(const char *s); /* return the url-encoded form of @s@ */ +char *urldecodestring(const char *s, size_t ns); + #endif /* KVP_H */ /*