aboutsummaryrefslogtreecommitdiff
path: root/src/include/microhttpd2.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2018-02-14 04:46:37 +0100
committerChristian Grothoff <christian@grothoff.org>2018-02-14 04:46:37 +0100
commitb14541751ff614f00867ceaf4c0fa21f7c484c58 (patch)
treed86b4a1237bf444ba6f5aa163586c3d2641283cb /src/include/microhttpd2.h
parent0849d359802d7b02d188230bcda269b330b3b1f0 (diff)
downloadlibmicrohttpd-b14541751ff614f00867ceaf4c0fa21f7c484c58.tar.gz
libmicrohttpd-b14541751ff614f00867ceaf4c0fa21f7c484c58.zip
more work on new src/lib/
Diffstat (limited to 'src/include/microhttpd2.h')
-rw-r--r--src/include/microhttpd2.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/include/microhttpd2.h b/src/include/microhttpd2.h
index 4302d8ae..aa0fa0ae 100644
--- a/src/include/microhttpd2.h
+++ b/src/include/microhttpd2.h
@@ -2969,6 +2969,18 @@ MHD_set_panic_func (MHD_PanicCallback cb,
2969 void *cls); 2969 void *cls);
2970 2970
2971 2971
2972/**
2973 * Process escape sequences ('%HH') Updates val in place; the
2974 * result should be UTF-8 encoded and cannot be larger than the input.
2975 * The result must also still be 0-terminated.
2976 *
2977 * @param val value to unescape (modified in the process)
2978 * @return length of the resulting val (`strlen(val)` may be
2979 * shorter afterwards due to elimination of escape sequences)
2980 */
2981_MHD_EXTERN size_t
2982MHD_http_unescape (char *val);
2983
2972 2984
2973/** 2985/**
2974 * Types of information about MHD features, 2986 * Types of information about MHD features,