chiark
/
gitweb
/
~mdw
/
disorder
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add kvp_make(), to make a kvp list in a single function call.
[disorder]
/
lib
/
kvp.h
diff --git
a/lib/kvp.h
b/lib/kvp.h
index 0daa9d2fb04aa8c884ac889f3cf0bfec9c7ffb49..dcdca5f89df80136370ef07a6887d0cb8e94a04d 100644
(file)
--- a/
lib/kvp.h
+++ b/
lib/kvp.h
@@
-56,6
+56,7
@@
char *urlencodestring(const char *s);
/* return the url-encoded form of @s@ */
char *urldecodestring(const char *s, size_t ns);
+struct kvp *kvp_make(const char *key, ...);
#endif /* KVP_H */