chiark / gitweb /
Move the plist file to examples/ along with the other startup files.
[disorder] / lib / kvp.h
index 52d9e49272f0c8e9d001bcd9ccab263a637aa1c5..5240526a270159b72ae93f907e65c54a65d38107 100644 (file)
--- 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 */
 
 /*
@@ -63,4 +65,3 @@ c-basic-offset:2
 comment-column:40
 End:
 */
-/* arch-tag:edb5787b529ef7b694efa4ce2c44ff3f */