diff options
Diffstat (limited to 'src/include/microhttpd2.h')
-rw-r--r-- | src/include/microhttpd2.h | 12 |
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 | ||
2982 | MHD_http_unescape (char *val); | ||
2983 | |||
2972 | 2984 | ||
2973 | /** | 2985 | /** |
2974 | * Types of information about MHD features, | 2986 | * Types of information about MHD features, |