chiark
/
gitweb
/
~mdw
/
disorder
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Leave a comment about iffy icon sensivity; it's definitely setting the
[disorder]
/
lib
/
kvp.h
diff --git
a/lib/kvp.h
b/lib/kvp.h
index db6d17756bfb3e4dad4daf3de6b72083a167b577..dcdca5f89df80136370ef07a6887d0cb8e94a04d 100644
(file)
--- a/
lib/kvp.h
+++ b/
lib/kvp.h
@@
-1,6
+1,6
@@
/*
* This file is part of DisOrder.
/*
* This file is part of DisOrder.
- * Copyright (C) 2004, 2005 Richard Kettlewell
+ * Copyright (C) 2004, 2005
, 2007, 2008
Richard Kettlewell
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@
-52,9
+52,12
@@
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. */
/* url-encode the @n@ bytes at @s@, writing to @sink@. Return 0 on
* success, -1 on error. */
-c
onst c
har *urlencodestring(const char *s);
+char *urlencodestring(const char *s);
/* return the url-encoded form of @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 */
/*
#endif /* KVP_H */
/*