From 95456b8e78d3dcee0c1d79760bcb2dfcb0d7db09 Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Wed, 8 Oct 2008 01:17:51 +0000 Subject: Added const to some pointer variables --- lib/escape.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'lib/escape.c') diff --git a/lib/escape.c b/lib/escape.c index 24134c8e8..626581819 100644 --- a/lib/escape.c +++ b/lib/escape.c @@ -138,6 +138,12 @@ char *curl_easy_escape(CURL *handle, const char *string, int inlength) return ns; } +/* + * Unescapes the given URL escaped string of given length. Returns a + * pointer to a malloced string with length given in *olen. + * If length == 0, the length is assumed to be strlen(string). + * If olen == NULL, no output length is stored. + */ char *curl_easy_unescape(CURL *handle, const char *string, int length, int *olen) { -- cgit v1.2.3