diff options
author | John Ankarström <john@ankarstrom.se> | 2021-09-18 22:51:30 +0200 |
---|---|---|
committer | John Ankarström <john@ankarstrom.se> | 2021-09-18 22:51:44 +0200 |
commit | 9ff1b81d65c370a938cd9d9c033e04e395f00704 (patch) | |
tree | 3f507a48d8d39f27a36b3fab32b0a230abe512f4 /query.c | |
parent | 2b915a42f6665b4110338cfde30eedc55abe7f3c (diff) | |
download | cforum-9ff1b81d65c370a938cd9d9c033e04e395f00704.tar.gz |
New user
Diffstat (limited to 'query.c')
-rw-r--r-- | query.c | 11 |
1 files changed, 9 insertions, 2 deletions
@@ -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 |