aboutsummaryrefslogtreecommitdiff
path: root/query.c
diff options
context:
space:
mode:
Diffstat (limited to 'query.c')
-rw-r--r--query.c11
1 files changed, 9 insertions, 2 deletions
diff --git a/query.c b/query.c
index 7947d59..370fa54 100644
--- a/query.c
+++ b/query.c
@@ -6,8 +6,9 @@
/*
* Return an allocated string containing the next query string parameter
- * ("key=value"). The string is truncated to max characters. If truncation
- * occurred, the -1th character of the string is set to 1.
+ * ("key=value"). The string is truncated to max characters (but is always
+ * NUL-terminated). If truncation occurred, the -1th character of the string
+ * is set to 1.
*/
char *
nextparam(enum method method, int max)
@@ -104,4 +105,10 @@ split(char *param)
return NULL;
param[n] = 0;
return param+n+1;
+}
+
+void
+urldecode(char *s)
+{
+
} \ No newline at end of file